goalmarketing / vigor2130

Automatically exported from code.google.com/p/vigor2130
0 stars 0 forks source link

Lose internet connectivity when using PPPoE and Vigor 120 #50

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. ADSL resync on Vigor 120
2.
3.

What is the expected output? What do you see instead?
Expect 2130 to reconnect to ISP. Instead router loses internet connectivity 
although online statistics still show a connection.

What version of the product are you using? On what operating system?
Vigor 2130 Firmware 1.5.1 and 1.5.2RC Win7 

Please provide any additional information below.
Have tried disabling hadware NAT, port energy saving etc. Router still loses 
internet connectivity on modem resync (have had to re-instate a 2910 to keep 
connection up).  Dial PPoE button inoperative in hung state although local 
routing works OK.  Router warm reboot solves problem.

Original issue reported on code.google.com by paul.bij...@gmail.com on 28 Sep 2011 at 5:44

GoogleCodeExporter commented 8 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

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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:

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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