BackupGGCode / wl500g

ASUS WL-5xx RT-N1x Oleg's based custom firmware
0 stars 0 forks source link

IPV6: in case of disabled IPV6 it still enabled on lo, eth0, eth1 interfaces #199

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
wl-500gp, wl-500gpv2
прошивка rt-n build 2532

в /proc/sys/net/ipv6/conf/all/disable_ipv6 стоит "1"

но 
/proc/sys/net/ipv6/conf/lo/disable_ipv6
/proc/sys/net/ipv6/conf/eth0/disable_ipv6
/proc/sys/net/ipv6/conf/eth1/disable_ipv6
почему-то стоит "0"

и если на lo это лечится посыланием echo "1" в 
/proc/sys/net/ipv6/conf/lo/disable_ipv6 в preboot

то для eth0 и eth1 этот номер не проходит.
надо послать в disable_ipv6 "1" , а потом делать 
ifconfig down/up

или ловить назначенный ipv6 фдреси делать 
ifconfig del <ipv6_address>

Original issue reported on code.google.com by ad...@csa.dp.ua on 3 Feb 2011 at 12:18

GoogleCodeExporter commented 9 years ago
Use English.

Original comment by themiron.ru on 3 Feb 2011 at 1:12

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
wl-500gp, wl-500gpv2
firmware rt-n build 2532
IPV6 disabled in WEb GUI

in /proc/sys/net/ipv6/conf/all/disable_ipv6 set to "1"

but
/proc/sys/net/ipv6/conf/lo/disable_ipv6
/proc/sys/net/ipv6/conf/eth0/disable_ipv6
/proc/sys/net/ipv6/conf/eth1/disable_ipv6
set to "0"

and if on lo interface we can fix this by sending echo "1" to 
/proc/sys/net/ipv6/conf/lo/disable_ipv6 in preboot

than for eth0 and eth1 interfaces this way not suitable.
I must send in disable_ipv6 "1" and then make ifconfig down/up

or catch appointed ipv6 address and make ifconfig del <ipv6_address>

Original comment by ad...@csa.dp.ua on 3 Feb 2011 at 1:43

GoogleCodeExporter commented 9 years ago
conf/all works for current interfaces, but conf/default for new.
is that behaviour observed after boot (with disabled ipv6 via WebUI), or with 
manual changing conf/all/disable_ipv6?

Original comment by themiron.ru on 3 Feb 2011 at 2:20

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
1. IPV6 disabled in Web GUI
2. in conf/default also sets to "1" like in conf/all

after IPV6 disabled in Web GUI and reboot disable_ipv6 sets to "1":
all
default
br0
vlan0
vlan1

sets to "0":
lo
eth0
eth1
sit0

Original comment by ad...@csa.dp.ua on 3 Feb 2011 at 2:35

GoogleCodeExporter commented 9 years ago
Got it, will check.
Lly, please, confirm too

Original comment by themiron.ru on 3 Feb 2011 at 3:56

GoogleCodeExporter commented 9 years ago

Original comment by lly.dev on 3 Feb 2011 at 4:57

GoogleCodeExporter commented 9 years ago
Fixed in r2665, please test.

Original comment by lly.dev on 22 Feb 2011 at 9:13

GoogleCodeExporter commented 9 years ago
test on wl-500gp and wl-500gpv2. now when disable ipv6 in web than anywhere 
disable_ipv6 sets to 1.

Original comment by ad...@csa.dp.ua on 24 Feb 2011 at 2:57

GoogleCodeExporter commented 9 years ago

Original comment by lly.dev on 26 Feb 2011 at 9:02