OpenWrt Forum Archive

Topic: DG834v2 DSL 8.09 RC1: Timeout waiting for PADO packets

The content of this topic has been archived on 1 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I'm trying to get 8.09 running on my dg834v2. Everything works great except for the DSL. If anyone has any thoughts about how I might get this running I'd really appreciate it.

This is the problem:

Oct 23 08:30:58 OpenWrt daemon.warn pppd[781]: Timeout waiting for PADO packets
Oct 23 08:30:58 OpenWrt daemon.err pppd[781]: Unable to complete PPPoE Discovery

I've installed kmod-sangam-atm-annex-a (definitely the correct annex) and br2684ctl (and I've enabled br268ctl).

Here's my opkg list:

root@OpenWrt:~# opkg list
base-files-ar7 - 13-r13118 - 
br2684ctl - 20040226-1 - 
bridge - 1.4-1 - 
busybox - 1.11.2-1 - 
dnsmasq - 2.45-1 - 
dropbear - 0.51-2 - 
firewall - 1-1 - 
hotplug2 - 0.9+r102-2 - 
iptables - 1.4.0-1 - 
iptables-mod-conntrack - 1.4.0-1 - 
iptables-mod-conntrack-extra - 1.4.0-1 - 
iptables-mod-filter - 1.4.0-1 - 
iptables-mod-imq - 1.4.0-1 - 
iptables-mod-ipopt - 1.4.0-1 - 
iptables-mod-nat - 1.4.0-1 - 
kernel - 2.6.26.5-ar7-1 - 
kmod-atm - 2.6.26.5-ar7-1 - 
kmod-ipt-conntrack - 2.6.26.5-ar7-1 - 
kmod-ipt-conntrack-extra - 2.6.26.5-ar7-1 - 
kmod-ipt-core - 2.6.26.5-ar7-1 - 
kmod-ipt-filter - 2.6.26.5-ar7-1 - 
kmod-ipt-imq - 2.6.26.5-ar7-1 - 
kmod-ipt-ipopt - 2.6.26.5-ar7-1 - 
kmod-ipt-nat - 2.6.26.5-ar7-1 - 
kmod-ipt-nathelper - 2.6.26.5-ar7-1 - 
kmod-ppp - 2.6.26.5-ar7-1 - 
kmod-pppoe - 2.6.26.5-ar7-1 - 
kmod-sangam-atm-annex-a - 2.6.26.5+D7.03.01.00-ar7-R2 - 
kmod-sched - 2.6.26.5-ar7-1 - 
libgcc - 4.1.2-13 - 
liblua - 5.1.4-2 - 
libncurses - 5.6-1 - 
libuci - 0.6.2-1 - 
libuci-lua - 0.6.2-1 - 
linux-atm - 2.4.1-1 - 
lua - 5.1.4-2 - 
luci-admin-core - 0.8.1-1 - 
luci-admin-full - 0.8.1-1 - 
luci-app-firewall - 0.8.1-1 - 
luci-app-qos - 0.8.1-1 - 
luci-cbi - 0.8.1-1 - 
luci-core - 0.8.1-1 - 
luci-http - 0.8.1-1 - 
luci-i18n-english - 0.8.1-1 - 
luci-ipkg - 0.8.1-1 - 
luci-sgi-cgi - 0.8.1-1 - 
luci-sys - 0.8.1-1 - 
luci-theme-openwrt - 0.8.1-1 - 
luci-uci - 0.8.1-1 - 
luci-uvl - 0.8.1-1 - 
luci-web - 0.8.1-1 - 
minicom - 2.3-1 - 
mtd - 8 - 
opkg - 4564-1 - 
ppp - 2.4.3-10 - 
ppp-mod-pppoe - 2.4.3-10 - 
qos-scripts - 1.2.1-2 - 
tc - 2.6.25-1 - 
uci - 0.6.2-1 - 
uclibc - 0.9.29-13 - 
udevtrigger - 106-1 -

And here's my /etc/config/network (note that the gateway and dns options are to enable connecting through a second dg834 that has the original firmware so that I can download packages with opkg):

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 'type' 'bridge'
    option 'ifname' 'eth0'
    option 'proto' 'static'
    option 'ipaddr' '192.168.0.8'
    option 'netmask' '255.255.255.0'
    option 'gateway' '192.168.0.1'
    option 'dns' '208.67.222.222' 
    option 'nat' '1'

config 'atm-bridge'
    option 'unit' '0'
    option 'encaps' 'llc'
    option 'vpi' '8'
    option 'vci' '35'

config 'interface' 'wan'
    option 'ifname' 'nas0'
    option 'proto' 'pppoe'
    option 'username' 'loginname'
    option 'password' 'password'
    option 'keepalive' '10'

Here's the output of logread:

root@OpenWrt:~# logread
Oct 23 07:46:00 OpenWrt syslog.info syslogd started: BusyBox v1.11.2
Oct 23 07:46:00 OpenWrt user.notice kernel: klogd started: BusyBox v1.11.2 (2008-10-07 00:58:35 UTC)
Oct 23 07:46:00 OpenWrt user.notice kernel: Linux version 2.6.26.5 (nbd@baustelle) (gcc version 4.1.2) #1 Tue Oct 7 07:27:27 UTC 2008
Oct 23 07:46:00 OpenWrt user.info kernel: console [early0] enabled
Oct 23 07:46:00 OpenWrt user.info kernel: CPU revision is: 00018448 (MIPS 4KEc)
Oct 23 07:46:00 OpenWrt user.debug kernel: Clocks: prediv: 1, postdiv: 1, mul: 10
Oct 23 07:46:00 OpenWrt user.info kernel: TI AR7 (TNETD7300), ID: 0x0005, Revision: 0x02
Oct 23 07:46:00 OpenWrt user.warn kernel: Determined physical RAM map:
Oct 23 07:46:00 OpenWrt user.warn kernel:  memory: 01000000 @ 14000000 (usable)
Oct 23 07:46:00 OpenWrt user.debug kernel: Entering add_active_range(0, 81920, 86016) 0 entries of 256 used
Oct 23 07:46:00 OpenWrt user.info kernel: Initrd not found or empty - disabling initrd
Oct 23 07:46:00 OpenWrt user.warn kernel: Zone PFN ranges:
Oct 23 07:46:00 OpenWrt user.warn kernel:   Normal      81920 ->    86016
Oct 23 07:46:00 OpenWrt user.warn kernel: Movable zone start PFN for each node
Oct 23 07:46:00 OpenWrt user.warn kernel: early_node_map[1] active PFN ranges
Oct 23 07:46:00 OpenWrt user.warn kernel:     0:    81920 ->    86016
Oct 23 07:46:00 OpenWrt user.debug kernel: On node 0 totalpages: 4096
Oct 23 07:46:00 OpenWrt user.debug kernel:   Normal zone: 32 pages used for memmap
Oct 23 07:46:00 OpenWrt user.debug kernel:   Normal zone: 0 pages reserved
Oct 23 07:46:00 OpenWrt user.debug kernel:   Normal zone: 4064 pages, LIFO batch:0
Oct 23 07:46:00 OpenWrt user.debug kernel:   Movable zone: 0 pages used for memmap
Oct 23 07:46:00 OpenWrt user.warn kernel: Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4064
Oct 23 07:46:00 OpenWrt user.notice kernel: Kernel command line: init=/etc/preinit rootfstype=squashfs,jffs2, console=ttyS0,115200n8
Oct 23 07:46:00 OpenWrt user.warn kernel: Primary instruction cache 16kB, VIPT, 4-way, linesize 16 bytes.
Oct 23 07:46:00 OpenWrt user.warn kernel: Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 16 bytes
Oct 23 07:46:00 OpenWrt user.warn kernel: PID hash table entries: 64 (order: 6, 256 bytes)
Oct 23 07:46:00 OpenWrt user.info kernel: Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Oct 23 07:46:00 OpenWrt user.info kernel: Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Oct 23 07:46:00 OpenWrt user.info kernel: Memory: 12572k/16384k available (1988k kernel code, 3812k reserved, 422k data, 124k init, 0k highmem)
Oct 23 07:46:00 OpenWrt user.info kernel: SLUB: Genslabs=6, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Oct 23 07:46:00 OpenWrt user.debug kernel: Calibrating delay loop... 149.91 BogoMIPS (lpj=749568)
Oct 23 07:46:00 OpenWrt user.warn kernel: Mount-cache hash table entries: 512
Oct 23 07:46:00 OpenWrt user.info kernel: net_namespace: 644 bytes
Oct 23 07:46:00 OpenWrt user.info kernel: NET: Registered protocol family 16
Oct 23 07:46:00 OpenWrt user.debug kernel: Switched to high resolution mode on CPU 0
Oct 23 07:46:00 OpenWrt user.info kernel: NET: Registered protocol family 2
Oct 23 07:46:00 OpenWrt user.info kernel: IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
Oct 23 07:46:00 OpenWrt user.info kernel: TCP established hash table entries: 512 (order: 0, 4096 bytes)
Oct 23 07:46:00 OpenWrt user.info kernel: TCP bind hash table entries: 512 (order: -1, 2048 bytes)
Oct 23 07:46:00 OpenWrt user.info kernel: TCP: Hash tables configured (established 512 bind 512)
Oct 23 07:46:00 OpenWrt user.info kernel: TCP reno registered
Oct 23 07:46:00 OpenWrt user.info kernel: NET: Registered protocol family 1
Oct 23 07:46:00 OpenWrt user.info kernel: squashfs: version 3.0 (2006/03/15) Phillip Lougher
Oct 23 07:46:00 OpenWrt user.warn kernel: Registering mini_fo version $Id$
Oct 23 07:46:00 OpenWrt user.info kernel: JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
Oct 23 07:46:00 OpenWrt user.info kernel: msgmni has been set to 24
Oct 23 07:46:00 OpenWrt user.info kernel: io scheduler noop registered
Oct 23 07:46:00 OpenWrt user.info kernel: io scheduler deadline registered (default)
Oct 23 07:46:00 OpenWrt user.info kernel: Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
Oct 23 07:46:00 OpenWrt user.info kernel: serial8250: ttyS0 at MMIO 0x8610e00 (irq = 15) is a TI-AR7
Oct 23 07:46:00 OpenWrt user.info kernel: console handover: boot [early0] -> real [ttyS0]
Oct 23 07:46:00 OpenWrt user.info kernel: serial8250: ttyS1 at MMIO 0x8610f00 (irq = 16) is a TI-AR7
Oct 23 07:46:00 OpenWrt user.info kernel: Fixed MDIO Bus: probed
Oct 23 07:46:00 OpenWrt user.info kernel: cpmac-mii: probed
Oct 23 07:46:00 OpenWrt user.info kernel: cpmac: device eth0 (regs: 08612800, irq: 41, phy: , mac: 00:0f:b5:7e:dc:91)
Oct 23 07:46:00 OpenWrt user.info kernel: cpmac: device eth1 (regs: 08610000, irq: 27, phy: , mac: 00:0f:b5:7e:dc:90)
Oct 23 07:46:00 OpenWrt user.notice kernel: physmap platform flash device: 00800000 at 10000000
Oct 23 07:46:00 OpenWrt user.info kernel: physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
Oct 23 07:46:00 OpenWrt user.debug kernel: physmap-flash.0: Found an alias at 0x400000 for the chip at 0x0
Oct 23 07:46:00 OpenWrt user.warn kernel:  Amd/Fujitsu Extended Query Table at 0x0040
Oct 23 07:46:00 OpenWrt user.notice kernel: number of CFI chips: 1
Oct 23 07:46:00 OpenWrt user.notice kernel: cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Oct 23 07:46:00 OpenWrt user.notice kernel: cmdlinepart partition parsing not available
Oct 23 07:46:00 OpenWrt user.notice kernel: RedBoot partition parsing not available
Oct 23 07:46:00 OpenWrt user.notice kernel: 4 ar7part partitions found on MTD device physmap-flash.0
Oct 23 07:46:00 OpenWrt user.notice kernel: Creating 4 MTD partitions on "physmap-flash.0":
Oct 23 07:46:00 OpenWrt user.notice kernel: 0x00000000-0x00010000 : "loader"
Oct 23 07:46:00 OpenWrt user.notice kernel: 0x003f0000-0x00400000 : "config"
Oct 23 07:46:00 OpenWrt user.notice kernel: 0x00020000-0x003f0000 : "linux"
Oct 23 07:46:00 OpenWrt user.notice kernel: 0x000f0000-0x003f0000 : "rootfs"
Oct 23 07:46:00 OpenWrt user.notice kernel: mtd: partition "rootfs" set to be root filesystem
Oct 23 07:46:00 OpenWrt user.info kernel: mtd: partition "rootfs_data" created automatically, ofs=210000, len=1E0000 
Oct 23 07:46:00 OpenWrt user.notice kernel: 0x00210000-0x003f0000 : "rootfs_data"
Oct 23 07:46:00 OpenWrt user.debug kernel: ar7_wdt: disabling watchdog timer
Oct 23 07:46:00 OpenWrt user.info kernel: ar7_wdt: timer margin 59 seconds (prescale 65535, change 57180, freq 62500000)
Oct 23 07:46:00 OpenWrt user.info kernel: Registered led device: ppp
Oct 23 07:46:00 OpenWrt user.info kernel: Registered led device: status
Oct 23 07:46:00 OpenWrt user.info kernel: Registered led device: adsl
Oct 23 07:46:00 OpenWrt user.info kernel: Registered led device: wifi
Oct 23 07:46:00 OpenWrt user.info kernel: Registered led device: power
Oct 23 07:46:00 OpenWrt user.info kernel: vlynq0: regs 0x08611800, irq 29, mem 0x04000000
Oct 23 07:46:00 OpenWrt user.info kernel: vlynq1: regs 0x08611c00, irq 33, mem 0x0c000000
Oct 23 07:46:00 OpenWrt user.info kernel: TCP vegas registered
Oct 23 07:46:00 OpenWrt user.info kernel: NET: Registered protocol family 17
Oct 23 07:46:00 OpenWrt user.info kernel: 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.co
Oct 23 07:46:00 OpenWrt user.info kernel: m>
Oct 23 07:46:00 OpenWrt user.info kernel: All bugs added by David S. Miller <davem@redhat.com>
Oct 23 07:46:00 OpenWrt user.warn kernel: VFS: Mounted root (squashfs filesystem) readonly.
Oct 23 07:46:00 OpenWrt user.info kernel: Freeing unused kernel memory: 124k freed
Oct 23 07:46:00 OpenWrt user.warn kernel: Please be patient, while OpenWrt loads ...
Oct 23 07:46:00 OpenWrt user.warn kernel: Algorithmics/MIPS FPU Emulator v1.5
Oct 23 07:46:01 OpenWrt user.info kernel: mini_fo: using base directory: /
Oct 23 07:46:01 OpenWrt user.info kernel: mini_fo: using storage directory: /jffs
Oct 23 07:46:03 OpenWrt user.err kernel: br-lan: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
Oct 23 07:46:03 OpenWrt user.info kernel: device eth0 entered promiscuous mode
Oct 23 07:46:03 OpenWrt user.info kernel: br-lan: port 1(eth0) entering learning state
Oct 23 07:46:03 OpenWrt user.info kernel: br-lan: topology change detected, propagating
Oct 23 07:46:03 OpenWrt user.info kernel: br-lan: port 1(eth0) entering forwarding state
Oct 23 07:46:03 OpenWrt user.info kernel: PHY: 0:10 - Link is Down
Oct 23 07:46:05 OpenWrt user.info kernel: NET: Registered protocol family 8
Oct 23 07:46:05 OpenWrt user.info kernel: NET: Registered protocol family 20
Oct 23 07:46:05 OpenWrt user.info kernel: PPP generic driver version 2.4.2
Oct 23 07:46:06 OpenWrt user.info kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Oct 23 07:46:07 OpenWrt user.warn kernel: nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
Oct 23 07:46:09 OpenWrt user.info kernel: IPP2P v0.8.1_rc1 loading
Oct 23 07:46:09 OpenWrt user.info kernel: IMQ driver loaded successfully.
Oct 23 07:46:09 OpenWrt user.info kernel:     Hooking IMQ before NAT on PREROUTING.
Oct 23 07:46:09 OpenWrt user.info kernel:     Hooking IMQ after NAT on POSTROUTING.
Oct 23 07:46:10 OpenWrt user.warn kernel: ipt_time loading
Oct 23 07:46:11 OpenWrt user.warn kernel: registered device TI Avalanche SAR
Oct 23 07:46:11 OpenWrt user.warn kernel: Sangam detected
Oct 23 07:46:11 OpenWrt user.warn kernel: requesting firmware image "ar0700xx.bin"
Oct 23 07:46:11 OpenWrt user.info kernel: firmware: requesting ar0700xx.bin
Oct 23 07:46:14 OpenWrt user.debug kernel: avsar firmware released
Oct 23 07:46:14 OpenWrt user.warn kernel: Creating new root folder avalanche in the proc for the driver stats 
Oct 23 07:46:14 OpenWrt user.warn kernel: Texas Instruments ATM driver: version:[7.03.01.00]
Oct 23 07:46:16 OpenWrt user.info : Loading defaults
Oct 23 07:46:16 OpenWrt user.info : Loading synflood protection
Oct 23 07:46:17 OpenWrt user.info : Adding custom chains
Oct 23 07:46:17 OpenWrt user.info : Loading zones
Oct 23 07:46:18 OpenWrt user.info : Loading rules
Oct 23 07:46:18 OpenWrt user.info : Loading forwarding
Oct 23 07:46:18 OpenWrt user.info : Loading redirects
Oct 23 07:46:18 OpenWrt user.info : Loading includes
Oct 23 07:46:20 OpenWrt user.notice root: adding br-lan to firewall zone lan
Oct 23 07:46:20 OpenWrt user.info : br2684ctl[715]: Interface "nas0" created sucessfully
Oct 23 07:46:20 OpenWrt local2.notice br2684ctl[715]: Interface "nas0" created sucessfully
Oct 23 07:46:20 OpenWrt user.info : br2684ctl[715]: Communicating over ATM 0.8.35, encapsulation: LLC
Oct 23 07:46:20 OpenWrt local2.notice br2684ctl[715]: Communicating over ATM 0.8.35, encapsulation: LLC
Oct 23 07:46:20 OpenWrt user.info : br2684ctl[715]: Interface configured
Oct 23 07:46:20 OpenWrt local2.info br2684ctl[715]: Interface configured
Oct 23 07:46:20 OpenWrt local2.info br2684ctl[720]: RFC 1483/2684 bridge daemon started
Oct 23 07:46:21 OpenWrt authpriv.info dropbear[736]: Running in background
Oct 23 07:46:22 OpenWrt user.info kernel: NET: Registered protocol family 24
Oct 23 07:46:23 OpenWrt daemon.info pppd[774]: Plugin rp-pppoe.so loaded.
Oct 23 07:46:24 OpenWrt daemon.notice pppd[781]: pppd 2.4.3 started by root, uid 0
Oct 23 07:46:24 OpenWrt user.info : udhcpc: bind(UDP): Cannot assign requested address
Oct 23 07:46:24 OpenWrt daemon.info dnsmasq[790]: started, version 2.45 cachesize 150
Oct 23 07:46:24 OpenWrt daemon.info dnsmasq[790]: compile time options: IPv6 GNU-getopt ISC-leasefile no-DBus no-I18N TFTP
Oct 23 07:46:24 OpenWrt daemon.info dnsmasq[790]: using local addresses only for domain lan
Oct 23 07:46:24 OpenWrt daemon.info dnsmasq[790]: reading /tmp/dhcp.leases
Oct 23 07:46:24 OpenWrt daemon.info dnsmasq[790]: reading /tmp/resolv.conf.auto
Oct 23 07:46:24 OpenWrt daemon.info dnsmasq[790]: using nameserver 208.67.222.222#53
Oct 23 07:46:24 OpenWrt daemon.info dnsmasq[790]: using local addresses only for domain lan
Oct 23 07:46:24 OpenWrt daemon.info dnsmasq[790]: read /etc/hosts - 2 addresses
Oct 23 07:46:25 OpenWrt user.debug kernel: ar7_wdt: enabling watchdog timer
Oct 23 07:46:29 OpenWrt authpriv.info dropbear[800]: Child connection from 192.168.0.9:54429
Oct 23 07:46:36 OpenWrt authpriv.notice dropbear[800]: password auth succeeded for 'root' from 192.168.0.9:54429
Oct 23 07:46:39 OpenWrt daemon.warn pppd[781]: Timeout waiting for PADO packets
Oct 23 07:46:39 OpenWrt daemon.err pppd[781]: Unable to complete PPPoE Discovery

Any thoughts?

For what it's worth I've read everything that the search turns up for PADO and DG834 DSL without finding something that might explain why this isn't working.

(Last edited by rminkler on 22 Jan 2009, 18:41)

There's should be a line saying DSL in sync, but you don't have it, that means that DSL modem has not synchronized with DSLAM. Double check nas0 parameters.

It turned out that the problem was that I had not set the adam2 modulation variable. After I set the variable to T1413 the DSL was able to sync.

well, i can not sync anyway ... Seldom when the modem syncs , it get synced for a few minutes and the dsl goes out of sync... and never sync anymore... SNR margins are over 15 ... i have no idea why this is happening... everything is ok using netgear firmware. Any help ?

The discussion might have continued from here.