Topic: Backfire 10.03 - D-Link DSL-524T and PPPoE

Hello
I installed the firmware Backfire 10.03 (open-ar7-squashfs.bin) on my DSL-524T, but I don't know how configure the PPPoE WAN connection. Interfaces Eth0, Eth1 and Br-lan are up.

Sincerely.

Re: Backfire 10.03 - D-Link DSL-524T and PPPoE

Simply uncomment the appropriate lines and modify your VPI/VCI and password in /etc/config/network

## Example for ATM bridging.
## Useful for PPPoE or IP over ATM. Will create 'nas${unit}'
#
config atm-bridge
    option unit     0
    option encaps   llc
    option vpi      8
    option vci      35
    option payload  bridged # some ISPs need this set to 'routed'

config interface wan
##  PPPoE:
    option ifname   nas0
    option proto    pppoe

##   PPPoA:
#    option ifname   atm0
#    option proto    pppoa
#    option encaps   llc
#    option vpi      8
#    option vci      35

##    Both:
      option username "my_username"
      option password "my_password"

Re: Backfire 10.03 - D-Link DSL-524T and PPPoE

Thank you, I had not seen the network configuration page on wiki. (I use Operamini with an Edge connection.)

After changes in /etc/config/network :

config interface wan
option ifname nas0
option proto pppoe
option vpi 8
option vci 35
option username "my_username"
option password "my_password"

This does not work yet. I can not activate the Wan connection on the Network page. I forgot something ?

Sincerely.

Re: Backfire 10.03 - D-Link DSL-524T and PPPoE

Post the output of "logread" and "dmesg".

Re: Backfire 10.03 - D-Link DSL-524T and PPPoE

System Log (logread) :

Apr  6 03:18:00 OpenWrt syslog.info syslogd started: BusyBox v1.15.3
Apr  6 03:18:00 OpenWrt user.notice kernel: klogd started: BusyBox v1.15.3 (2010-04-06 03:13:44 CEST)
Apr  6 03:18:00 OpenWrt user.notice kernel: Linux version 2.6.32.10 (openwrt@wrt1.marcant.net) (gcc version 4.3.3 (GCC) ) #21 Tue Apr 6 14:55:04 CEST 2010
Apr  6 03:18:00 OpenWrt user.info kernel: bootconsole [early0] enabled
Apr  6 03:18:00 OpenWrt user.info kernel: CPU revision is: 00018448 (MIPS 4KEc)
Apr  6 03:18:00 OpenWrt user.info kernel: TI AR7 (TNETD7300), ID: 0x0005, Revision: 0x27
Apr  6 03:18:00 OpenWrt user.info kernel: Determined physical RAM map:
Apr  6 03:18:00 OpenWrt user.info kernel:  memory: 01000000 @ 14000000 (usable)
Apr  6 03:18:00 OpenWrt user.info kernel: Initrd not found or empty - disabling initrd
Apr  6 03:18:00 OpenWrt user.warn kernel: Zone PFN ranges:
Apr  6 03:18:00 OpenWrt user.warn kernel:   Normal   0x00014000 -> 0x00015000
Apr  6 03:18:00 OpenWrt user.warn kernel: Movable zone start PFN for each node
Apr  6 03:18:00 OpenWrt user.warn kernel: early_node_map[1] active PFN ranges
Apr  6 03:18:00 OpenWrt user.warn kernel:     0: 0x00014000 -> 0x00015000
Apr  6 03:18:00 OpenWrt user.debug kernel: On node 0 totalpages: 4096
Apr  6 03:18:00 OpenWrt user.debug kernel: free_area_init_node: node 0, pgdat 94389a40, node_mem_map 943c6000
Apr  6 03:18:00 OpenWrt user.debug kernel:   Normal zone: 32 pages used for memmap
Apr  6 03:18:00 OpenWrt user.debug kernel:   Normal zone: 0 pages reserved
Apr  6 03:18:00 OpenWrt user.info kernel: Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Apr  6 03:18:00 OpenWrt user.info kernel: Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Apr  6 03:18:00 OpenWrt user.warn kernel: Primary instruction cache 16kB, VIPT, 4-way, linesize 16 bytes.
Apr  6 03:18:00 OpenWrt user.warn kernel: Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 16 bytes
Apr  6 03:18:00 OpenWrt user.info kernel: Memory: 12376k/16384k available (2247k kernel code, 4008k reserved, 353k data, 136k init, 0k highmem)
Apr  6 03:18:00 OpenWrt user.info kernel: Hierarchical RCU implementation.
Apr  6 03:18:00 OpenWrt user.info kernel: NR_IRQS:256
Apr  6 03:18:00 OpenWrt user.info kernel: Calibrating delay loop... 149.50 BogoMIPS (lpj=747520)
Apr  6 03:18:00 OpenWrt user.warn kernel: Mount-cache hash table entries: 512
Apr  6 03:18:00 OpenWrt user.info kernel: NET: Registered protocol family 16
Apr  6 03:18:00 OpenWrt user.debug kernel: Clocks: prediv: 1, postdiv: 1, mul: 10
Apr  6 03:18:00 OpenWrt user.warn kernel: bio: create slab <bio-0> at 0
Apr  6 03:18:00 OpenWrt user.info kernel: Switching to clocksource MIPS
Apr  6 03:18:00 OpenWrt user.info kernel: NET: Registered protocol family 2
Apr  6 03:18:00 OpenWrt user.info kernel: IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
Apr  6 03:18:00 OpenWrt user.info kernel: TCP established hash table entries: 512 (order: 0, 4096 bytes)
Apr  6 03:18:00 OpenWrt user.info kernel: TCP bind hash table entries: 512 (order: -1, 2048 bytes)
Apr  6 03:18:00 OpenWrt user.info kernel: TCP: Hash tables configured (established 512 bind 512)
Apr  6 03:18:00 OpenWrt user.info kernel: TCP reno registered
Apr  6 03:18:00 OpenWrt user.info kernel: NET: Registered protocol family 1
Apr  6 03:18:00 OpenWrt user.info kernel: squashfs: version 4.0 (2009/01/31) Phillip Lougher
Apr  6 03:18:00 OpenWrt user.warn kernel: Registering mini_fo version $Id$
Apr  6 03:18:00 OpenWrt user.info kernel: JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
Apr  6 03:18:00 OpenWrt user.info kernel: msgmni has been set to 24
Apr  6 03:18:00 OpenWrt user.info kernel: io scheduler noop registered
Apr  6 03:18:00 OpenWrt user.info kernel: io scheduler deadline registered (default)
Apr  6 03:18:00 OpenWrt user.info kernel: Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
Apr  6 03:18:00 OpenWrt user.info kernel: serial8250: ttyS0 at MMIO 0x8610e00 (irq = 15) is a 16550A
Apr  6 03:18:00 OpenWrt user.info kernel: console [ttyS0] enabled, bootconsole disabled
Apr  6 03:18:00 OpenWrt user.info kernel: serial8250: ttyS1 at MMIO 0x8610f00 (irq = 16) is a 16550A
Apr  6 03:18:00 OpenWrt user.notice kernel: physmap platform flash device: 00800000 at 10000000
Apr  6 03:18:00 OpenWrt user.info kernel: physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
Apr  6 03:18:00 OpenWrt user.debug kernel: physmap-flash.0: Found an alias at 0x400000 for the chip at 0x0
Apr  6 03:18:00 OpenWrt user.warn kernel:  Amd/Fujitsu Extended Query Table at 0x0040
Apr  6 03:18:00 OpenWrt user.notice kernel: number of CFI chips: 1
Apr  6 03:18:00 OpenWrt user.notice kernel: cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Apr  6 03:18:00 OpenWrt user.notice kernel: cmdlinepart partition parsing not available
Apr  6 03:18:00 OpenWrt user.notice kernel: RedBoot partition parsing not available
Apr  6 03:18:00 OpenWrt user.notice kernel: 4 ar7part partitions found on MTD device physmap-flash.0
Apr  6 03:18:00 OpenWrt user.notice kernel: Creating 4 MTD partitions on "physmap-flash.0":
Apr  6 03:18:00 OpenWrt user.notice kernel: mtd: partition "rootfs" set to be root filesystem
Apr  6 03:18:00 OpenWrt user.info kernel: mtd: partition "rootfs_data" created automatically, ofs=2A0000, len=150000 
Apr  6 03:18:00 OpenWrt user.notice kernel: 0x0000002a0000-0x0000003f0000 : "rootfs_data"
Apr  6 03:18:00 OpenWrt user.info kernel: Fixed MDIO Bus: probed
Apr  6 03:18:00 OpenWrt user.info kernel: cpmac-mii: probed
Apr  6 03:18:00 OpenWrt user.info kernel: cpmac: device eth0 (regs: 08612800, irq: 41, phy: 0:01, mac: 00:15:e9:83:00:00)
Apr  6 03:18:00 OpenWrt user.info kernel: cpmac: device eth1 (regs: 08610000, irq: 27, phy: 0:00, mac: 00:15:e9:83:00:00)
Apr  6 03:18:00 OpenWrt user.info kernel: Registered led device: status
Apr  6 03:18:00 OpenWrt user.info kernel: vlynq0: regs 0x08611800, irq 29, mem 0x04000000
Apr  6 03:18:00 OpenWrt user.info kernel: vlynq1: regs 0x08611c00, irq 33, mem 0x0c000000
Apr  6 03:18:00 OpenWrt user.info kernel: TCP westwood registered
Apr  6 03:18:00 OpenWrt user.info kernel: NET: Registered protocol family 17
Apr  6 03:18:00 OpenWrt user.info kernel: 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
Apr  6 03:18:00 OpenWrt user.info kernel: All bugs added by David S. Miller <davem@redhat.com>
Apr  6 03:18:00 OpenWrt user.warn kernel: VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
Apr  6 03:18:00 OpenWrt user.info kernel: Freeing unused kernel memory: 136k freed
Apr  6 03:18:00 OpenWrt user.warn kernel: Please be patient, while OpenWrt loads ...
Apr  6 03:18:00 OpenWrt user.info kernel: mini_fo: using base directory: /
Apr  6 03:18:00 OpenWrt user.info kernel: mini_fo: using storage directory: /overlay
Apr  6 03:18:03 OpenWrt user.info kernel: PHY: 0:01 - Link is Up - 100/Full
Apr  6 03:18:03 OpenWrt user.info kernel: device eth0 entered promiscuous mode
Apr  6 03:18:03 OpenWrt user.info kernel: br-lan: port 1(eth0) entering forwarding state
Apr  6 03:18:04 OpenWrt user.info sysinit: route: fscanf
Apr  6 03:18:05 OpenWrt user.info kernel: NET: Registered protocol family 8
Apr  6 03:18:05 OpenWrt user.info kernel: NET: Registered protocol family 20
Apr  6 03:18:05 OpenWrt user.info kernel: PPP generic driver version 2.4.2
Apr  6 03:18:07 OpenWrt user.info kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Apr  6 03:18:08 OpenWrt user.info kernel: NET: Registered protocol family 24
Apr  6 03:18:08 OpenWrt user.warn kernel: nf_conntrack version 0.5.0 (195 buckets, 780 max)
Apr  6 03:18:08 OpenWrt user.warn kernel: CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
Apr  6 03:18:08 OpenWrt user.warn kernel: nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
Apr  6 03:18:08 OpenWrt user.warn kernel: sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
Apr  6 03:18:10 OpenWrt user.warn kernel: acx: this driver is still EXPERIMENTAL
Apr  6 03:18:10 OpenWrt user.warn kernel: acx: reading README file and/or Craig's HOWTO is recommended, visit http://acx100.sf.net in case of further questions/discussion
Apr  6 03:18:10 OpenWrt user.warn kernel: acx: compiled to use 32bit I/O access. I/O timing issues might occur, such as non-working firmware upload. Report them
Apr  6 03:18:10 OpenWrt user.warn kernel: acx: running on a little-endian CPU
Apr  6 03:18:10 OpenWrt user.warn kernel: acx: PCI/VLYNQ module v0.3.37 initialized, waiting for cards to probe...
Apr  6 03:18:10 OpenWrt user.debug kernel: Not using the 00000009 VLYNQ device's driver for VLYNQ device: 00000000
Apr  6 03:18:10 OpenWrt user.debug kernel: Not using the 00000029 VLYNQ device's driver for VLYNQ device: 00000000
Apr  6 03:18:10 OpenWrt user.debug kernel: Not using the 00000009 VLYNQ device's driver for VLYNQ device: 00000000
Apr  6 03:18:10 OpenWrt user.debug kernel: Not using the 00000029 VLYNQ device's driver for VLYNQ device: 00000000
Apr  6 03:18:11 OpenWrt user.warn kernel: registered device TI Avalanche SAR
Apr  6 03:18:11 OpenWrt user.warn kernel: Sangam detected
Apr  6 03:18:11 OpenWrt user.warn kernel: requesting firmware image "ar0700xx.bin"
Apr  6 03:18:11 OpenWrt user.info kernel:  avsar: firmware: requesting ar0700xx.bin
Apr  6 03:18:14 OpenWrt user.debug kernel: avsar firmware released
Apr  6 03:18:14 OpenWrt user.warn kernel: tn7dsl_set_modulation : Setting mode to 0xffff
Apr  6 03:18:14 OpenWrt user.warn kernel: Creating new root folder avalanche in the proc for the driver stats 
Apr  6 03:18:14 OpenWrt user.warn kernel: Texas Instruments ATM driver: version:[7.03.01.00]
Apr  6 03:18:15 OpenWrt user.info sysinit: Loading defaults
Apr  6 03:18:16 OpenWrt user.info sysinit: Loading synflood protection
Apr  6 03:18:16 OpenWrt user.info sysinit: Adding custom chains
Apr  6 03:18:17 OpenWrt user.info sysinit: Loading zones
Apr  6 03:18:18 OpenWrt user.info sysinit: Loading forwarding
Apr  6 03:18:19 OpenWrt user.info sysinit: Loading redirects
Apr  6 03:18:19 OpenWrt user.info sysinit: Loading rules
Apr  6 03:18:19 OpenWrt user.info sysinit: Loading includes
Apr  6 03:18:19 OpenWrt user.info sysinit: Loading zone defaults
Apr  6 03:18:20 OpenWrt user.notice root: adding lan (br-lan) to firewall zone lan
Apr  6 03:18:21 OpenWrt authpriv.info dropbear[632]: Running in background
Apr  6 03:18:22 OpenWrt user.info sysinit: WARNING: the specified certificate and key files do not exist and the px5g generator is not available, skipping SSL setup.
Apr  6 03:18:26 OpenWrt daemon.info dnsmasq[665]: started, version 2.52 cachesize 150
Apr  6 03:18:26 OpenWrt daemon.info dnsmasq[665]: compile time options: IPv6 GNU-getopt no-DBus no-I18N DHCP TFTP
Apr  6 03:18:26 OpenWrt daemon.info dnsmasq-dhcp[665]: DHCP, IP range 192.168.1.100 -- 192.168.1.250, lease time 12h
Apr  6 03:18:26 OpenWrt daemon.info dnsmasq[665]: using local addresses only for domain lan
Apr  6 03:18:26 OpenWrt daemon.warn dnsmasq[665]: no servers found in /tmp/resolv.conf.auto, will retry
Apr  6 03:18:26 OpenWrt daemon.info dnsmasq[665]: read /etc/hosts - 1 addresses
Apr  6 03:18:26 OpenWrt daemon.info dnsmasq-dhcp[665]: read /etc/ethers - 0 addresses
Apr  6 03:18:35 OpenWrt user.warn kernel: DSL in Sync

Kernel Log (dmesg) :

Linux version 2.6.32.10 (openwrt@wrt1.marcant.net) (gcc version 4.3.3 (GCC) ) #21 Tue Apr 6 14:55:04 CEST 2010
bootconsole [early0] enabled
CPU revision is: 00018448 (MIPS 4KEc)
TI AR7 (TNETD7300), ID: 0x0005, Revision: 0x27
Determined physical RAM map:
 memory: 01000000 @ 14000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00014000 -> 0x00015000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00014000 -> 0x00015000
On node 0 totalpages: 4096
free_area_init_node: node 0, pgdat 94389a40, node_mem_map 943c6000
  Normal zone: 32 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 4064 pages, LIFO batch:0
Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4064
Kernel command line: rootfstype=squashfs,jffs2 console=ttyS0,38400n8
PID hash table entries: 64 (order: -4, 256 bytes)
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Primary instruction cache 16kB, VIPT, 4-way, linesize 16 bytes.
Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 16 bytes
Memory: 12376k/16384k available (2247k kernel code, 4008k reserved, 353k data, 136k init, 0k highmem)
Hierarchical RCU implementation.
NR_IRQS:256
Calibrating delay loop... 149.50 BogoMIPS (lpj=747520)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
Clocks: prediv: 1, postdiv: 1, mul: 10
bio: create slab <bio-0> at 0
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
msgmni has been set to 24
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x8610e00 (irq = 15) is a 16550A
console [ttyS0] enabled, bootconsole disabled
serial8250: ttyS1 at MMIO 0x8610f00 (irq = 16) is a 16550A
physmap platform flash device: 00800000 at 10000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
physmap-flash.0: Found an alias at 0x400000 for the chip at 0x0
 Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
cmdlinepart partition parsing not available
RedBoot partition parsing not available
4 ar7part partitions found on MTD device physmap-flash.0
Creating 4 MTD partitions on "physmap-flash.0":
0x000000000000-0x000000010000 : "loader"
0x0000003f0000-0x000000400000 : "config"
0x000000010000-0x0000003f0000 : "linux"
0x0000000f0000-0x0000003f0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=2A0000, len=150000 
0x0000002a0000-0x0000003f0000 : "rootfs_data"
Fixed MDIO Bus: probed
cpmac-mii: probed
cpmac: device eth0 (regs: 08612800, irq: 41, phy: 0:01, mac: 00:15:e9:83:00:00)
cpmac: device eth1 (regs: 08610000, irq: 27, phy: 0:00, mac: 00:15:e9:83:00:00)
Registered led device: status
vlynq0: regs 0x08611800, irq 29, mem 0x04000000
vlynq1: regs 0x08611c00, irq 33, mem 0x0c000000
TCP westwood registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
Freeing unused kernel memory: 136k freed
Please be patient, while OpenWrt loads ...
mini_fo: using base directory: /
mini_fo: using storage directory: /overlay
PHY: 0:01 - Link is Up - 100/Full
device eth0 entered promiscuous mode
br-lan: port 1(eth0) entering forwarding state
NET: Registered protocol family 8
NET: Registered protocol family 20
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (195 buckets, 780 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
acx: this driver is still EXPERIMENTAL
acx: reading README file and/or Craig's HOWTO is recommended, visit http://acx100.sf.net in case of further questions/discussion
acx: compiled to use 32bit I/O access. I/O timing issues might occur, such as non-working firmware upload. Report them
acx: running on a little-endian CPU
acx: PCI/VLYNQ module v0.3.37 initialized, waiting for cards to probe...
Not using the 00000009 VLYNQ device's driver for VLYNQ device: 00000000
Not using the 00000029 VLYNQ device's driver for VLYNQ device: 00000000
Not using the 00000009 VLYNQ device's driver for VLYNQ device: 00000000
Not using the 00000029 VLYNQ device's driver for VLYNQ device: 00000000
registered device TI Avalanche SAR
Sangam detected
requesting firmware image "ar0700xx.bin"
 avsar: firmware: requesting ar0700xx.bin
avsar firmware released
tn7dsl_set_modulation : Setting mode to 0xffff
Creating new root folder avalanche in the proc for the driver stats 
Texas Instruments ATM driver: version:[7.03.01.00]
DSL in Sync

Sincerely.

Re: Backfire 10.03 - D-Link DSL-524T and PPPoE

That's strange, it looks like the PPP daemon didn't even try to start.

Does

ifup wan

do something?

Re: Backfire 10.03 - D-Link DSL-524T and PPPoE

root@OpenWrt:/# ifup wan
/usr/sbin/pppd: unrecognized option 'nic-ppp'
pppd version 2.4.4
Usage: /usr/sbin/pppd [ options ], where options are:
        <device>        Communicate over the named device
        <speed>         Set the baud rate to <speed>
        <loc>:<rem>     Set the local and/or remote interface IP
                        addresses.  Either one may be omitted.
        asyncmap <n>    Set the desired async map to hex <n>
        auth            Require authentication from peer
        connect <p>     Invoke shell command <p> to set up the serial line
        crtscts         Use hardware RTS/CTS flow control
        defaultroute    Add default route through interface
        file <f>        Take options from file <f>
        modem           Use modem control lines
        mru <n>         Set MRU value to <n> for negotiation
See pppd(8) for more options.

Sincerely.

Re: Backfire 10.03 - D-Link DSL-524T and PPPoE

The problem is solved, this was due to a misconfiguration in /etc/config/network.

Here is my /etc/config/network file :

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.1.1
        option netmask  255.255.255.0
        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 "my_username"
        option password "my_password"

Thank you for your help.

Sincerely.

9 (edited by jcfabero 2010-10-28 11:38:12)

Re: Backfire 10.03 - D-Link DSL-524T and PPPoE

Hello to all.

I had kamikaze installed in a router D-LINK DSL-524T. ADSL sync was fine, at a maximum rate of 10237 bps for DS channel. When updated to backfire, sync rate was limited to 7658 bps. After some testing, in order to discard any problems with the physical line, I tried to use the old (kamikaze) version of avalanche firmware. I then copied the ar0700mp.bin from kamikaze and its corresponding simbolical link ar0700xx.bin to /lib/firmware. With this, backfire is able to sync again at 10237 bps. So, I  guess there is a problem with ar0700mp.bin firmware included in backfire. Can anyone confirm this?

These are the significative files in /proc/avalanche for both kamikaze and backfire:

kamikaze

/proc/avalanche/avsar_modem_stats

AR7 DSL Modem Statistics:
--------------------------------
[DSL Modem Stats]
    US Connection Rate:    509    DS Connection Rate:    10237
    DS Line Attenuation:    15    DS Margin:        19
    US Line Attenuation:    7    US Margin:        22
    US Payload :        12672    DS Payload:        16368
    US Superframe Cnt :    6061    DS Superframe Cnt:    6061
    US Transmit Power :    12    DS Transmit Power:    19
    LOS errors:        0    SEF errors:        0
    Errored Seconds:    0    Severely Err Secs:    0
    Frame mode:        0    Max Frame mode:        0
    Trained Path:        1    US Peak Cell Rate:    1200
    Trained Mode:        16    Selected Mode:        1
    ATUC Vendor Code:    4244434D    ATUC Revision:    2
    Hybrid Selected:    1    Trellis:        1
    Showtime Count:        1    DS Max Attainable Bit Rate: 15236 kbps
    BitSwap:        1    US Max Attainable Bit Rate: 837000 bps
    Annex:             AnxA    psd_mask_qualifier: 0x0000
    Power Management Status: L0    DS HLINSC: 0
    US ACTPSD:         -345    DS ACTPSD: -397
    Total init. errors:     0    Total init. timeouts: 0
    Showtime init. errors:     0    Showtime init. timeouts: 0
    Last showtime init. errors: 0    Last showtime init. timeouts: 0
    ATUC ghsVid:  b5 00 42 44 43 4d 92 92
    T1413Vid: 00 00        T1413Rev: 00        VendorRev: 00
    ATUR ghsVid:  44 4c 69 6e 6b 00 00 00
    T1413Vid: 00 00    T1413Rev: 00    VendorRev: 00

    [Upstream (TX) Interleave path]
    CRC:     0    FEC:     0    NCD:     0
    LCD:     0    HEC:     0

    [Downstream (RX) Interleave path]
    CRC:     0    FEC:     12885    NCD:     0
    LCD:     0    HEC:     0

    [Upstream (TX) Fast path]
    CRC:     0    FEC:     0    NCD:     0
    LCD:     0    HEC:     0

    [Downstream (RX) Fast path]
    CRC:     0    FEC:     0    NCD:     0
    LCD:     0    HEC:     0

[ATM Stats]
    [Upstream/TX]
    Good Cell Cnt:    264
    Idle Cell Cnt:    123574

    Tx Packets Dropped Count:    0
    Tx Bad Packets Count:    9

    [Downstream/RX)]
    Good Cell Cnt:    341
    Idle Cell Cnt:    2487147
    Bad Hec Cell Cnt:    0
    Overflow Dropped Cell Cnt:    0
    Rx Packets Dropped Count:    0
    Rx Bad Packets Count:    0


[SAR AAL5 Stats]
    Tx PDU's:    83
    Rx PDU's:    84
    Tx Total Bytes:    9460
    Rx Total Bytes:    13070
    Tx Total Error Counts:    0
    Rx Total Error Counts:    0


[OAM Stats]
    Near End F5 Loop Back Count:    0
    Near End F4 Loop Back Count:    0
    Far End F5 Loop Back Count:    0
    Far End F4 Loop Back Count:    0
    SAR OAM Ping Response Drop Count=0
/proc/avalanche/avsar_ver

ATM Driver version:[7.03.01.00]
DSL HAL version: [7.03.01.00]
DSP Datapump version: [7.03.01.00] Annex A
SAR HAL version: [01.07.2c]
PDSP Firmware version:[0.54]
Chipset ID: [7300/7300A]

backfire (with new firmware)

/proc/avalanche/avsar_modem_stats

AR7 DSL Modem Statistics:
--------------------------------
[DSL Modem Stats]
    US Connection Rate:    509    DS Connection Rate:    7658
    DS Line Attenuation:    15    DS Margin:        21
    US Line Attenuation:    7    US Margin:        4294965100
    US Payload :        53858400    DS Payload:        828014160
    US Superframe Cnt :    2121136    DS Superframe Cnt:    2121136
    US Transmit Power :    12    DS Transmit Power:    22
    LOS errors:        0    SEF errors:        0
    Errored Seconds:    0    Severely Err Secs:    0
    Frame mode:        0    Max Frame mode:        0
    Trained Path:        1    US Peak Cell Rate:    1200
    Trained Mode:        16    Selected Mode:        1
    ATUC Vendor Code:    4244434D    ATUC Revision:    2
    Hybrid Selected:    1    Trellis:        1
    Showtime Count:        1    DS Max Attainable Bit Rate: 15576 kbps
    BitSwap:        1    US Max Attainable Bit Rate: 830000 bps
    Annex:             AnxA    psd_mask_qualifier: 0x0000
    Power Management Status: L0    DS HLINSC: 0
    US ACTPSD:         -345    DS ACTPSD: -367
    Total init. errors:     0    Total init. timeouts: 0
    Showtime init. errors:     0    Showtime init. timeouts: 0
    Last showtime init. errors: 0    Last showtime init. timeouts: 0
    ATUC ghsVid:  b5 00 42 44 43 4d 92 92
    T1413Vid: 00 00        T1413Rev: 00        VendorRev: 00
    ATUR ghsVid:  00 44 4c 69 6e 6b 00 00
    T1413Vid: 00 00    T1413Rev: 00    VendorRev: 00

    [Upstream (TX) Interleave path]
    CRC:     0    FEC:     0    NCD:     0
    LCD:     0    HEC:     0

    [Downstream (RX) Interleave path]
    CRC:     0    FEC:     4    NCD:     0
    LCD:     0    HEC:     0

    [Upstream (TX) Fast path]
    CRC:     0    FEC:     0    NCD:     0
    LCD:     0    HEC:     0

    [Downstream (RX) Fast path]
    CRC:     0    FEC:     0    NCD:     0
    LCD:     0    HEC:     0

[ATM Stats]
    [Upstream/TX]
    Good Cell Cnt:    1122050
    Idle Cell Cnt:    42217160

    Tx Packets Dropped Count:    0
    Tx Bad Packets Count:    6

    [Downstream/RX)]
    Good Cell Cnt:    17250295
    Idle Cell Cnt:    634044213
    Bad Hec Cell Cnt:    0
    Overflow Dropped Cell Cnt:    0
    Rx Packets Dropped Count:    0
    Rx Bad Packets Count:    0


[SAR AAL5 Stats]
    Tx PDU's:    346935
    Rx PDU's:    621929
    Tx Total Bytes:    46166604
    Rx Total Bytes:    817505287
    Tx Total Error Counts:    0
    Rx Total Error Counts:    0


[OAM Stats]
    Near End F5 Loop Back Count:    0
    Near End F4 Loop Back Count:    0
    Far End F5 Loop Back Count:    0
    Far End F4 Loop Back Count:    0
    SAR OAM Ping Response Drop Count=0
/proc/avalanche/avsar_ver

ATM Driver version:[7.03.01.00]
DSL HAL version: [7.03.01.00]
DSP Datapump version: [7.04.03.00] Annex A
SAR HAL version: [01.07.2c]
PDSP Firmware version:[0.54]
Chipset ID: [7300/7300A]
--.++-++-++++------+--+-+-+-+++-+++-++++-+--+-+++--++++-+++--+-++-+-