ADSL modem PPPoE Failure

Hi All,

I’m looking for some advice on a strange ADSL modem problem I’m having, and i thought perhaps Arby or the like would be able to shed some light.

I have a Netgear DGN2200v3 it works fine most of the time, except when it looses connection, or is restarted etc.

It starts up fine, syncs on the on the DSL fine (about 7mbps) but then fails to connect on the PPPoE side. Sometimes it takes over 30 mins to connect. If I set the modem into bridge mode I can connect via PPPoE from my PC instantly but turning it back to router mode and it still can’t connect via PPPoE.

I’ve looked to see if there are some hacks around to change some timeouts or such but I just don’t know enough about embedded linux and the rp-pppoe client to fiddle.

Any advice is welcome even if its get another modem…

Most likely issues with the edge router in the exchange.

I used to get that sometimes. Line would sync, but then it couldn’t locate the authentication gateway. Not much you can do but wait for them to resolve it. I wouldn’t bother with the help desk, as they’re useless if the line still syncs.

I haven’t had the issue for quite a long time now.

1 Like

Can you post router logs?

I have custom firmware for that router too.

http://1drv.ms/SClgwc

Thanks Flea, what’s custom about your firmware?

The logs give a huge amount of information…

[Internet connected] IP address: 105.184.170.135, Saturday, June 07,2014 09:32:51
[DSL: Up] Saturday, June 07,2014 09:21:44
[Internet disconnected] Saturday, June 07,2014 09:21:28
[DSL: Down] Saturday, June 07,2014 09:21:23

Unless there’s another log somewhere?

I did an strace on the pppd_1 process when its trying to connect but all i get is a lot of this…

_newselect(15, [10 14], NULL, [10 14], {1, 739587}) = 0 (Timeout)
sysinfo({uptime=35504, loads=[37120, 41888, 34304] totalram=61153280, freeram=17432576, sharedram=0, bufferram=0} totalswap=0, freeswap=0, procs=61}) = 0
write(14, "\300!\1\1\0\16\1\4\5\324\5\6\363\200\201\312\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 64) = 64
sysinfo({uptime=35504, loads=[37120, 41888, 34304] totalram=61153280, freeram=17432576, sharedram=0, bufferram=0} totalswap=0, freeswap=0, procs=61}) = 0
sysinfo({uptime=35504, loads=[37120, 41888, 34304] totalram=61153280, freeram=17432576, sharedram=0, bufferram=0} totalswap=0, freeswap=0, procs=61}) = 0
read(14, 0x44c6a2, 1502)                = -1 EAGAIN (Resource temporarily unavailable)
read(10, 0x44c6a2, 1502)                = -1 EAGAIN (Resource temporarily unavailable)
rt_sigprocmask(SIG_BLOCK, NULL, [], 16) = 0
rt_sigprocmask(SIG_BLOCK, ~[HUP INT QUIT ILL IOT EMT FPE KILL BUS SEGV SYS PIPETERM USR1 USR2 CHLD PWR WINCH URG IO STOP TSTP CONT TTIN TTOU VTALRM PROF XCPU XFSZ RT_0 RT_1 RT_2 RT_3 RT_7 RT_9 RT_10 RT_12 RT_13 RT_15 RT_17 RT_19 RT_20 RT_23 RT_32 RT_33 RT_34 RT_35 RT_36 RT_37 RT_40 RT_42 RT_44 RT_45 RT_48 RT_55 RT_57RT_59 RT_61 RT_63 RT_64 RT_65 RT_66 RT_67 RT_68 RT_69 RT_70 RT_73 RT_74 RT_76 RT_77 RT_79 RT_81 RT_83 RT_84 RT_87], NULL, 16) = 0
rt_sigprocmask(SIG_UNBLOCK, ~[HUP INT QUIT ILL IOT EMT FPE KILL BUS SEGV SYS PIPE TERM USR1 USR2 CHLD PWR WINCH URG IO STOP TSTP CONT TTIN TTOU VTALRM PROF XCPU XFSZ RT_0 RT_1 RT_2 RT_3 RT_7 RT_9 RT_10 RT_12 RT_13 RT_15 RT_17 RT_19 RT_20 RT_23 RT_32 RT_33 RT_34 RT_35 RT_36 RT_37 RT_40 RT_42 RT_44 RT_45 RT_48 RT_55 RT_57 RT_59 RT_61 RT_63 RT_64 RT_65 RT_66 RT_67 RT_68 RT_69 RT_70 RT_73 RT_74 RT_76RT_77 RT_79 RT_81 RT_83 RT_84 RT_87], NULL, 16) = 0
sysinfo({uptime=35504, loads=[37120, 41888, 34304] totalram=61153280, freeram=17432576, sharedram=0, bufferram=0} totalswap=0, freeswap=0, procs=61}) = 0

and then this…

_newselect(15, [10 14], NULL, [10 14], {3, 0}) = 0 (Timeout)
sysinfo({uptime=35528, loads=[43008, 42720, 34752] totalram=61153280, freeram=17526784, sharedram=0, bufferram=0} totalswap=0, freeswap=0, procs=61}) = 0
rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_STACK|SA_INTERRUPT|0x2ba2100}, {0x10000000, [RT_68 RT_69 RT_70 RT_71 RT_72 RT_76 RT_77 RT_80 RT_82 RT_85 RT_86 RT_88 RT_89 RT_90 RT_91 RT_92 RT_93 RT_94], SA_NOCLDSTOP}, 16) = 0
socket(PF_FILE, SOCK_DGRAM, 0)          = 8
connect(8, {sa_family=AF_FILE, sun_path="/dev/log"}, 10) = 0
time([1402084179])                      = 1402084179
open("/etc/TZ", O_RDONLY)               = 15
read(15, "GMT+0BST-1,M3.5.0/01:00:00,M10.5"..., 68) = 44
read(15, "", 24)                        = 0
close(15)                               = 0
write(8, "<12>Jun  6 20:49:39 syslog: LCP:"..., 66) = 66
rt_sigaction(SIGPIPE, {0x10000000, [RT_68 RT_69 RT_70 RT_71 RT_72 RT_76 RT_77 RT_80 RT_82 RT_85 RT_86 RT_88 RT_89 RT_90 RT_91 RT_92 RT_93 RT_94], SA_NOCLDSTOP}, NULL, 16) = 0
write(1, "LCP: timeout sending Config-Requ"..., 36) = 36
write(1, "\n", 1)                       = 1
rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_STACK|SA_INTERRUPT|0x2ba2100}, {0x10000000, [RT_70 RT_71 RT_73 RT_75 RT_78 RT_79 RT_81 RT_82 RT_83 RT_84 RT_85 RT_86 RT_88 RT_90 RT_92 RT_94], SA_NOCLDSTOP}, 16) = 0
time([1402084179])                      = 1402084179
open("/etc/TZ", O_RDONLY)               = 15
read(15, "GMT+0BST-1,M3.5.0/01:00:00,M10.5"..., 68) = 44
read(15, "", 24)                        = 0
close(15)                               = 0
write(8, "<13>Jun  6 20:49:39 syslog: Conn"..., 51) = 51
rt_sigaction(SIGPIPE, {0x10000000, [RT_70 RT_71 RT_73 RT_75 RT_78 RT_79 RT_81 RT_82 RT_83 RT_84 RT_85 RT_86 RT_88 RT_90 RT_92 RT_94], SA_NOCLDSTOP}, NULL, 16) = 0
write(1, "Connection terminated.", 22)  = 22
write(1, "\n", 1)                       = 1
read(14, 0x44c6a2, 1502)                = -1 EAGAIN (Resource temporarily unavailable)
read(10, 0x44c6a2, 1502)                = -1 EAGAIN (Resource temporarily unavailable)
unlink("/var/run/ppp1.pid")             = 0
ioctl(14, PPPIOCGFLAGS, 0x7fb2a530)     = -1 ENOTTY (Inappropriate ioctl for device)
close(14)                               = 0
ioctl(10, PPPIOCDETACH, 0x7fb2a530)     = 0
rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_STACK|SA_INTERRUPT|0x2ba2100}, {0x10000000, [], SA_NOCLDSTOP}, 16) = 0
time([1402084179])                      = 1402084179
open("/etc/TZ", O_RDONLY)               = 14
read(14, "GMT+0BST-1,M3.5.0/01:00:00,M10.5"..., 68) = 44
read(14, "", 24)                        = 0
close(14)                               = 0
write(8, "<12>Jun  6 20:49:39 syslog: Doin"..., 45) = 45
rt_sigaction(SIGPIPE, {0x10000000, [], SA_NOCLDSTOP}, NULL, 16) = 0
write(1, "Doing disconnect", 16)        = 16
write(1, "\n", 1)                       = 1
sendto(9, "\21\247\v\306\0\f\1\3\0\4\0I\21(\1\1\0\0", 18, 0, {sa_family=AF_PACKET, proto=0x8863, if33, pkttype=PACKET_HOST, addr(6)={1, c84c75a9ba24}, 20) = 18
connect(13, {sa_family=AF_PPPOX, sa_data="\0\0\0\0\0\0\310Lu\251\272$na"}, 30) = 0
close(13)                               = 0
close(9)                                = 0
rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_STACK|SA_INTERRUPT|0x2ba2100}, {0x10000000, [], SA_NOCLDSTOP}, 16) = 0
time([1402084179])                      = 1402084179
open("/etc/TZ", O_RDONLY)               = 9
read(9, "GMT+0BST-1,M3.5.0/01:00:00,M10.5"..., 68) = 44
read(9, "", 24)                         = 0
close(9)                                = 0
write(8, "<14>Jun  6 20:49:39 syslog: Exit"..., 34) = 34
rt_sigaction(SIGPIPE, {0x10000000, [], SA_NOCLDSTOP}, NULL, 16) = 0
exit(10)                                = ?
+++ exited with 10 +++

TG I don’t think it’s the exchange because I can connect every time from windows if the modem is in Bridge mode.

Thanks again for the expertise.

My biggest concern would be the 7mb part, any line that syncs between full profiles normally has SNR or attenuation issues. It might be worth your while to have it dropped to 6mb.
A pppoe connection from your pc is a little more stable which is probably why it works like that for a while.
I found those netgears to be a bit iffy if the line wasnt great. You could try flashing the custom firmware to it but Im not sure if that will help much.

1 Like

With that firmware you can adjust a lot of values normally hard locked, like your SNR ratio, which can increase stability or increase throughput.

1 Like