Open GoogleCodeExporter opened 9 years ago
I report this on Issue 49, you change WAN you lose DNS. paul.bij...@gmail.com
try ping with IP and host name, you have connection but you can't use name.
Original comment by raulmigu...@gmail.com
on 28 Sep 2011 at 10:12
When disconnect.
please check the routing table by "route" command.
and also check the ppp interface by "ifconfig ppp0"
Don't reboot the router, you can do "ifup wan"
capture the log and upload here by "logread"
We need more information for this issue.
Original comment by jht...@gmail.com
on 29 Sep 2011 at 1:39
Please see attached file for info requested.
Router still required a reboot to reconnect to ISP.
Have done "route" and "ifconfig ppp0" before and after "ifup wan" for
completeness.
Original comment by paul.bij...@gmail.com
on 30 Sep 2011 at 3:22
Attachments:
The route and ifconfig result looks fine when disconnected.
The reconnect fail reason is shown in the log:
Sep 30 15:04:27 Vigor2130 local4.err pppd[1028]: unrecognized option 'nic-ppp0'
Can you try to reboot the vigor 120 ?
I also want to check your config file by "cat /etc/config/network"
Original comment by jht...@gmail.com
on 1 Oct 2011 at 12:49
refer to
https://dev.openwrt.org/ticket/2439
It seems you have wrong config in your wan ifname
It should be eth1.2 instead of ppp0
root@Vigor2130:~# cat /etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname 'eth0.1'
option proto static
option ipaddr '172.17.3.6'
option netmask '255.255.255.0'
option detect 0
option type 'bridge'
option pppoe_pass 0
config interface wan
option ifname eth1.2
option proto pppoe
option disable 0
option unit 0
option detect 0
...
Original comment by jht...@gmail.com
on 1 Oct 2011 at 12:56
Rebooted Vigor 120. Same result.
Config below, as requested.
root@Vigor2130:~# cat /etc/config/network
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname 'eth0.1'
option proto static
option ipaddr '10.0.0.1'
option netmask '255.255.255.0'
option detect 0
option type 'bridge'
option pppoe_pass 0
config interface wan
option ifname 'eth1.2'
option proto pppoe
option detect 0
option username 'bijxxxxx.uk@fxxxx'
option password 'xxxxxxx'
option keepalive 5
option mtu 1478
option defaultroute 1
option fixed 0
option fixipaddr '0.0.0.0'
option disable 0
config interface 3gwan
option ifname ppp1
option proto 3g
option netmask '0.0.0.0'
option device '/dev/ttyUSB0'
option pincode ''
option apn 'internet'
option init_string1 'AT&F'
option init_string2 'ATE0V1X1&D2&C1S0=0'
option dial_string 'ATDT*99#'
option username ''
option password ''
option backup '0'
Original comment by paul.bij...@gmail.com
on 1 Oct 2011 at 11:33
Checked online stats after disconnect again.
Disconnects happen after dynamic IP address change.
Router is logging into ISP but is not renewing external WAN IP address. Satus
shows as connected but with old IP address.
Drop/Dial PPPoE drops connection but will not redial.
ifup wan has same effect.
Logread and cofig etc. as before.
Original comment by paul.bij...@gmail.com
on 2 Oct 2011 at 9:35
Original issue reported on code.google.com by
paul.bij...@gmail.com
on 28 Sep 2011 at 5:44