PDA

Bekijk de volledige versie : Using Asus firmware on a Belkin 7230 router



richardb22
10-07-2004, 04:00
Hello,

I was attempting to use the v1.7.5.9 CR2 firmware release on a 7230-4 router I have. I uploaded the firmware via TFTP and all went well. I was able to access the web administration pages and telnet in, plus the WLAN seems to work fine as well. The only problem seemed to be with the WAN side. The web admin said it couldn't get a DHCP lease, anyone know what might be the problem? Included is some information I took:

Jan 1 00:00:14 syslog.notice klogd: klogd started: BusyBox v1.00-pre7 (2004.06.18-18:50+0000)
Jan 1 00:00:14 user.warn klogd: CPU revision is: 00024000
Jan 1 00:00:14 user.warn klogd: Loading BCM4710 MMU routines.
Jan 1 00:00:14 user.warn klogd: Primary instruction cache 8kb, linesize 16 bytes (2 ways)
Jan 1 00:00:14 user.warn klogd: Primary data cache 4kb, linesize 16 bytes (2 ways)
Jan 1 00:00:14 user.warn klogd: Linux version 2.4.20 (root@omnibook) (gcc version 3.0 20010422 (prerelease) with bcm4710a0 modifications) #24 Mon May 3 20:52:46 MSD 2004
Jan 1 00:00:14 user.warn klogd: Determined physical RAM map:
Jan 1 00:00:14 user.warn klogd: memory: 01000000 @ 00000000 (usable)
Jan 1 00:00:14 user.warn klogd: On node 0 totalpages: 4096
Jan 1 00:00:14 user.warn klogd: zone(0): 4096 pages.
Jan 1 00:00:14 user.warn klogd: zone(1): 0 pages.
Jan 1 00:00:14 user.warn klogd: zone(2): 0 pages.
Jan 1 00:00:14 user.warn klogd: Kernel command line: root=/dev/mtdblock2 noinitrd init=/linuxrc
Jan 1 00:00:14 user.warn klogd: CPU: BCM4710 rev 0 at 125 MHz
Jan 1 00:00:14 user.warn klogd: Calibrating delay loop... 82.94 BogoMIPS
Jan 1 00:00:14 user.warn klogd: Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Jan 1 00:00:14 user.warn klogd: Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Jan 1 00:00:14 user.warn klogd: Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Jan 1 00:00:14 user.warn klogd: Checking for 'wait' instruction... unavailable.
Jan 1 00:00:14 user.warn klogd: POSIX conformance testing by UNIFIX
Jan 1 00:00:14 user.warn klogd: PCI: Fixing up bus 0
Jan 1 00:00:14 user.warn klogd: PCI: Fixing up bridge
Jan 1 00:00:14 user.warn klogd: PCI: Fixing up bus 1
Jan 1 00:00:14 user.warn klogd: Initializing RT netlink socket
Jan 1 00:00:14 user.warn klogd: Starting kswapd
Jan 1 00:00:14 user.notice klogd: NTFS driver v1.1.22 [Flags: R/O]
Jan 1 00:00:14 user.warn klogd: pty: 256 Unix98 ptys configured
Jan 1 00:00:14 user.notice klogd: Amd/Fujitsu Extended Query Table v1.1 at 0x0040
Jan 1 00:00:14 user.notice klogd: number of CFI chips: 1
Jan 1 00:00:14 user.notice klogd: Flash device: 0x400000 at 0x1fc00000
Jan 1 00:00:14 user.notice klogd: Physically mapped flash: squashfs filesystem found at block 949
Jan 1 00:00:14 user.notice klogd: Creating 5 MTD partitions on "Physically mapped flash":
Jan 1 00:00:14 user.notice klogd: 0x00000000-0x00040000 : "pmon"
Jan 1 00:00:14 user.notice klogd: 0x00040000-0x003e0000 : "linux"
Jan 1 00:00:14 user.notice klogd: 0x000ed760-0x003e0000 : "rootfs"
Jan 1 00:00:14 user.notice klogd: 0x003f0000-0x00400000 : "nvram"
Jan 1 00:00:14 user.notice klogd: 0x003e0000-0x003f0000 : "config"
Jan 1 00:00:14 user.warn klogd: ip_conntrack version 2.1 (128 buckets, 1024 max) - 344 bytes per conntrack
Jan 1 00:00:14 user.warn klogd: ip_conntrack_pptp version 1.9 loaded
Jan 1 00:00:14 user.warn klogd: ip_nat_pptp version 1.5 loaded
Jan 1 00:00:14 user.warn klogd: ip_tables: (C) 2000-2002 Netfilter core team
Jan 1 00:00:14 user.warn klogd: ipt_time loading
Jan 1 00:00:14 user.warn klogd: FAT: bogus logical sector size 51200
Jan 1 00:00:14 user.warn klogd: FAT: bogus logical sector size 51200
Jan 1 00:00:14 user.err klogd: NTFS: Unable to set blocksize 512.
Jan 1 00:00:14 user.warn klogd: VFS: Mounted root (squashfs filesystem) readonly.
Jan 1 00:00:14 user.warn klogd: Warning: unable to open an initial console.
Jan 1 00:00:14 user.warn klogd: Algorithmics/MIPS FPU Emulator v1.5
Jan 1 00:00:14 user.warn klogd: eth0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.50.21.10
Jan 1 00:00:14 user.warn klogd: eth1: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.50.21.10
Jan 1 00:00:14 user.warn klogd: PCI: Enabling device 01:01.0 (0004 -> 0006)
Jan 1 00:00:14 user.warn klogd: eth2: Broadcom BCM43XX 802.11 Wireless Controller 3.50.21.10 (Compiled in . at 20:53:00 on Jan 21 2004)
Jan 1 00:00:19 user.notice dhcp client: deconfig: lease is lost
Jan 1 00:00:25 user.warn klogd: lp driver: get device ID
Jan 1 00:00:25 user.warn klogd: neg fail
Jan 1 00:00:27 user.warn klogd: lp driver: get device ID
Jan 1 00:00:27 user.warn klogd: neg fail
Jan 1 00:00:27 user.warn klogd: neg fail
Jan 1 00:00:28 user.notice dhcp client: leasefail: lease is lost
Jan 1 00:00:29 user.warn klogd: Register User Space Key Handler : 560 0
Jan 1 00:00:32 user.warn klogd: Send signal to : 560
Jan 1 00:00:32 user.warn klogd: Register User Space Key Handler : 560 560
Jan 1 00:00:33 user.warn klogd: lp driver: get device ID
Jan 1 00:00:33 user.warn klogd: neg fail
Jan 1 00:00:33 user.warn klogd: neg fail
Jan 1 00:00:39 user.warn klogd: lp driver: get device ID
Jan 1 00:00:39 user.warn klogd: neg fail
Jan 1 00:00:39 user.warn klogd: neg fail
Jan 1 00:00:45 user.warn klogd: lp driver: get device ID
Jan 1 00:00:45 user.warn klogd: neg fail
Jan 1 00:00:45 user.warn klogd: neg fail
Jan 1 00:00:51 user.warn klogd: lp driver: get device ID
Jan 1 00:00:51 user.warn klogd: neg fail
Jan 1 00:00:52 user.warn klogd: neg fail
Jan 1 00:00:58 user.warn klogd: lp driver: get device ID
Jan 1 00:00:58 user.warn klogd: neg fail
Jan 1 00:00:58 user.warn klogd: neg fail
Jan 1 00:01:04 user.warn klogd: lp driver: get device ID
Jan 1 00:01:04 user.warn klogd: neg fail
Jan 1 00:01:04 user.warn klogd: neg fail
Jan 1 00:01:08 user.notice dhcp client: leasefail: lease is lost
Jan 1 00:01:10 user.warn klogd: lp driver: get device ID
Jan 1 00:01:10 user.warn klogd: neg fail
Jan 1 00:01:10 user.warn klogd: neg fail
Jan 1 00:01:16 user.warn klogd: lp driver: get device ID
Jan 1 00:01:16 user.warn klogd: neg fail
Jan 1 00:01:16 user.warn klogd: neg fail

--

br0 Link encap:Ethernet HWaddr 00:90:96:00:00:00
inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:647 errors:0 dropped:0 overruns:0 frame:0
TX packets:1021 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:41469 (40.4 KiB) TX bytes:862940 (842.7 KiB)

eth0 Link encap:Ethernet HWaddr 00:90:96:00:00:00
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:647 errors:0 dropped:0 overruns:0 frame:0
TX packets:1021 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:53115 (51.8 KiB) TX bytes:862940 (842.7 KiB)
Interrupt:3 Base address:0x2000

eth1 Link encap:Ethernet HWaddr 00:90:96:00:00:01
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:698 (698.0 B) TX bytes:3540 (3.4 KiB)
Interrupt:4 Base address:0x8000

eth2 Link encap:Ethernet HWaddr 00:90:96:00:00:00
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:34 errors:703 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:13220 (12.9 KiB)
Interrupt:6 Base address:0x2000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:55 errors:0 dropped:0 overruns:0 frame:0
TX packets:55 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12150 (11.8 KiB) TX bytes:12150 (11.8 KiB)

--

(also I have an Ethereal trace of the bootup activity which I can send if anyone wants it, it shows the Belkin requesting a DHCP lease, getting one and acknowledging it)

Oleg
10-07-2004, 09:09
Don't know what happened exactly, but seems reset button is wired differently, so wl500g firmware it thinks it's pressed. This can cause reset to default and loosing dhcp settings:


Jan 1 00:00:29 user.warn klogd: Register User Space Key Handler : 560 0
Jan 1 00:00:32 user.warn klogd: Send signal to : 560
Jan 1 00:00:32 user.warn klogd: Register User Space Key Handler : 560 560

richardb22
10-07-2004, 18:29
Is there any way to disable the reset button? I tried deleting the insmod line for splink_led in rc.led but that wasn't too successful, the router booted, stayed up for about 10 seconds (I could access the web admin in that time) and then reset (watchdog?)

Oleg
10-07-2004, 19:11
yes, try to remove both splink_led & rc.watchdog

richardb22
11-07-2004, 01:15
Well, I disabled the watchdog as well as removed splink_led from being loaded and it stayed up. But still no luck getting the WAN to work, it definitely is working to some extent because I can see the DHCP packets getting sent back and forth but it never seems to keep the lease (lots of "dhcp client: deconfig: lease is lost" in the logs still.)

Another thing I tried was setting a manual IP address with no more luck...

Oleg
11-07-2004, 08:40
Another finding - your MAC addresses 00:90:96:00:00:00 and 00:90:96:00:00:01 looks strange for me. Have you tried using different MAC using, i.e. entering your PC MAC to the "MAC Address" field in IP Config | Miscellaneous?
Also, have you tried static IP address?

richardb22
15-07-2004, 17:10
This is quite strange. I flashed the Asus firmware again today (the one with splink_led and the watchdog disabled) and DHCP on the WAN worked perfectly and the router seems to work fine...

The Belkin router looks quite promising anyway, it has the USB pins wired out to a connector pad which I hope I can get working.

Oleg
15-07-2004, 21:26
Do you have an internal foto for this router? Especially for USB pads. :)

bramfm
15-07-2004, 21:41
Do you have an internal foto for this router? Especially for USB pads. :)

Oleg, please see:
https://gullfoss2.fcc.gov/prod/oet/forms/blobs/retrieve.cgi?attachment_id=384338&native_or_pdf=pdf

Oleg
16-07-2004, 11:24
Hm... This seems to me like another revision, with no -4 i think. This one is not compatible with wl500g (it does use single et port and vlans via admtek switch)... This one is just like wrt54g...

richardb22
16-07-2004, 12:54
Yes, you're right, that is a different revision. I looked inside my Belkin router for the first time and it for a start doesn't have the USB connector pads (which I assumed were there from the FCC document)

Oleg
16-07-2004, 14:11
If you've a chance please make a hi-res picture of the internals, especially around the bcm4702 cpu. Hopefully, I will then try to point you to the parts which is related to USB circuitry.

tny
25-09-2004, 03:58
is it possible for someone to post a compiled custom version 1.7.5.9.5 with splink_led and the watchdog disabled?

I would like to try this on the belkin f5d72304 (with mini-pci card).
I don't know how to go about compiling something.
1.7.5.9.5 works on the belkin. however, I'm not able to set it to client mode.
everytime it reboots, it does a reset to defaults.

or can someone post a step by step on how to do this and I'll try it myself.

thanks

famewolf
19-11-2004, 20:28
Did anyone ever get the belkin firmware compiled with the two files removed that kept it thinking the reset was pressed? I just purchased the F5D7230-4 router from staples and would like to try the chupa firmware.

Thanks!

Oleg
19-11-2004, 20:42
Please be sure, to set boot_wait to on, otherwise you could make your router unusable! Also, does it has anything for firmware restoration? If the answer is no, it's better to leave it as is...

Try 1.8.1.7-3, it will probably work out of the box (but reset to defaults will not work).
It's probably also possible to compile "native" firmware for your device, but this requires gathering several details regarding reset button and power led mapping.

Antiloop
19-11-2004, 20:53
please flash to 1.8.1.7-3 firmware, try also the wl-hdd version to see if that one works with the belkin as the wl-hdd uses reverse reset button stuff

if wl-hdd version does not work for the belkin please post output from following command while using firmware 1.8.1.7-3



test gpio /dev/gpio/outen
test gpio /dev/gpio/out
test gpio /dev/gpio/in
test gpio /dev/gpio/control


try this one while pressing and holding reset button, perhaps it will restart the unit after 3-4 different results


(while sleep 1s; do test gpio /dev/gpio/in; done)&


post resulting codes

tny
19-11-2004, 21:11
the belkin's are set at the factory with bootwait=on
chupa's works with f5d7230 ver1111 (w/bcm4702&bcm5325)

use linksys tftp program to put chupa on belkin.
to revert back to belkin firmware, you need to tftp a .trx file into the f5d7230 and then tftp a belkin firmware in otherwise the belkin firmware will not get burned into the flash and the chupa firmware will come up when you restart.

I made a .trx file by downloading the wbr2-g54 firmware from www.buffalotech.com and then hex edited out everything before HDRO and then renamed it x.trx
then flash this on the belkin (bricks the belkin). then flash whatever firmware you want on the belkin. otherwise the asus firmware refuses to let the belkin firmware burn into the flash.

I tried to recompile the chupa firmware but got stuck at the part on installing the toolchain. don't know how to put /broadcom/... into the path. I know this is simple but i don't know linux.

i'll try just flashing in the ver 1.8.xx later.

tny
20-11-2004, 00:22
it seems the f5d7230 ver1111 has a protection mechanism where it keeps rebooting if the firmware in the flash is not belkin and it won't tftp any firmware larger than 3mb. so I was not able to try chupa's firmware on it.

f5d7230 ver1111tt doesn't have this problem. It takes tftp transfers up to 4mb and it runs the firmware no matter which manufacturer (no constant reboots). too bad I bricked mine a while ago and need to jtag a new firmware in.

ver1111 and ver1111tt hardware is the same so I assume it must be a difference in pmon.

looks like the only way to get ver1111 to accept chupa's firmware is to ad the belkin header (1st 32bytes) and nvram settings (nvar) and then use the web update to do it. but these must be calculated from chupa's firmware which i'm not sure how to do yet so i'll put it off till I have some spare time.

Antiloop
20-11-2004, 03:24
it seems the f5d7230 ver1111 has a protection mechanism where it keeps rebooting if the firmware in the flash is not belkin and it won't tftp any firmware larger than 3mb. so I was not able to try chupa's firmware on it.

f5d7230 ver1111tt doesn't have this problem. It takes tftp transfers up to 4mb and it runs the firmware no matter which manufacturer (no constant reboots). too bad I bricked mine a while ago and need to jtag a new firmware in.

ver1111 and ver1111tt hardware is the same so I assume it must be a difference in pmon.

looks like the only way to get ver1111 to accept chupa's firmware is to ad the belkin header (1st 32bytes) and nvram settings (nvar) and then use the web update to do it. but these must be calculated from chupa's firmware which i'm not sure how to do yet so i'll put it off till I have some spare time.
about the bricked f5d7230 ver1111 (?) is the device not entering fail-safe mode anymore?

maybe you can do the flash-trick with shorting pins to ground

tny
20-11-2004, 05:09
about the bricked f5d7230 ver1111 (?) is the device not entering fail-safe mode anymore?

maybe you can do the flash-trick with shorting pins to ground

I bricked the belkin ver1111tt by flashing it with the linksys wrt55ag firmware.
it won't ping anymore. I tried shorting pins 15-16, shorting 9-10, grounding pin 1. nothing worked. when power is applied, all the lights come on and then they go off and only the ethernet port that is connected lights up. it might be fixable by getting a serial connection to it and then flashing it that way but I can't find the method to put a serial port on this thing. it has the 20 pin jumper just like the wl500g. I think you need to add a uart and max233 chip to get the serial port. but I could only find the design for the version 2 linksys wrt54g. the flash chip is the ST m29w320db

update on ver1111:

I flashed belkin ver1111 with the Airlink rt210 firmware and suddenly I was able to tftp the sveasoft firmware into the belkin and it ran. but I couldn't get the ethernet ports to work right because the belkin has the same hardware as the asus wl500g and sveasoft doesn't have the drivers for the wl500g.
However, when I tftp'd chupa's firmware into the belkin, it went into a reboot loop. I reset it and waited but it just kept rebooting . I tried the wl_hdd firmware but that didn't work either. I tried ver1.6.xx, 1.7.xx, and 1.8.xx.

ver1111tt did work with chupa's firmware and I compared the chips inside both and the only difference is that ver1111tt has a ST flash chip while ver1111 has a AMD flash chip. I don't think that should make a difference so maybe its the nvram setting.

tny
21-11-2004, 01:11
got chupa's firmware 1.8.1.7.3 to work on Belkin f5d7230 v1111

steps

1. remove mpci card - to prevent chupa's firmware from going into a reboot loop.
2. tftp rt210 firmware in (www.airlinkplus.com) - this is to allow belkin to be able to take tftp transfer's larger than 3mb.
3. tftp chupa's asus wl500g firmware in
4. use the asus web interface to reset router to defaults
5. put mpci card back in

result: everything works except for power and wlan led light.

here's the results from the "test" function:
[admin@(none) root]$ test gpio /dev/gpio/outen
val : 39
[admin@(none) root]$ test gpio /dev/gpio/out
val : fc
[admin@(none) root]$ test gpio /dev/gpio/in
val : fd
[admin@(none) root]$ test gpio /dev/gpio/control
val : 0

here's the log:

Dec 31 16:00:01 kernel: klogd started: BusyBox v1.00 (2004.11.14-18:33+0000)
Dec 31 16:00:01 kernel: CPU revision is: 00024000
Dec 31 16:00:01 kernel: Loading BCM4710 MMU routines.
Dec 31 16:00:01 kernel: Primary instruction cache 8kb, linesize 16 bytes (2 ways)
Dec 31 16:00:01 kernel: Primary data cache 4kb, linesize 16 bytes (2 ways)
Dec 31 16:00:01 kernel: Linux version 2.4.20 (root@omnibook) (gcc version 3.2.3 with Broadcom modifications) #3 Wed Nov 10 22:17:25 MSK 2004
Dec 31 16:00:01 kernel: Determined physical RAM map:
Dec 31 16:00:01 kernel: memory: 01000000 @ 00000000 (usable)
Dec 31 16:00:01 kernel: On node 0 totalpages: 4096
Dec 31 16:00:01 kernel: zone(0): 4096 pages.
Dec 31 16:00:01 kernel: zone(1): 0 pages.
Dec 31 16:00:01 kernel: zone(2): 0 pages.
Dec 31 16:00:01 kernel: Kernel command line: root=/dev/mtdblock2 noinitrd init=/linuxrc console=ttyS0,115200
Dec 31 16:00:01 kernel: CPU: BCM4710 rev 0 at 125 MHz
Dec 31 16:00:01 kernel: !unable to setup serial console!
Dec 31 16:00:01 kernel: Calibrating delay loop... 82.94 BogoMIPS
Dec 31 16:00:01 kernel: Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Dec 31 16:00:01 kernel: Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Dec 31 16:00:01 kernel: Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Dec 31 16:00:01 kernel: Checking for 'wait' instruction... unavailable.
Dec 31 16:00:01 kernel: POSIX conformance testing by UNIFIX
Dec 31 16:00:01 kernel: PCI: Fixing up bus 0
Dec 31 16:00:01 kernel: PCI: Fixing up bridge
Dec 31 16:00:01 kernel: PCI: Fixing up bus 1
Dec 31 16:00:01 kernel: Initializing RT netlink socket
Dec 31 16:00:01 kernel: Starting kswapd
Dec 31 16:00:01 kernel: NTFS driver v1.1.22 [Flags: R/O]
Dec 31 16:00:01 kernel: pty: 256 Unix98 ptys configured
Dec 31 16:00:01 kernel: Amd/Fujitsu Extended Query Table v1.1 at 0x0040
Dec 31 16:00:01 kernel: number of CFI chips: 1
Dec 31 16:00:01 kernel: Flash device: 0x400000 at 0x1fc00000
Dec 31 16:00:01 kernel: Physically mapped flash: squashfs filesystem found at block 1101
Dec 31 16:00:01 kernel: Creating 5 MTD partitions on "Physically mapped flash":
Dec 31 16:00:01 kernel: 0x00000000-0x00040000 : "pmon"
Dec 31 16:00:01 kernel: 0x00040000-0x003e0000 : "linux"
Dec 31 16:00:01 kernel: 0x001137f4-0x003e0000 : "rootfs"
Dec 31 16:00:01 kernel: 0x003f0000-0x00400000 : "nvram"
Dec 31 16:00:01 kernel: 0x003e0000-0x003f0000 : "config"
Dec 31 16:00:01 kernel: sflash: chipcommon not found
Dec 31 16:00:01 kernel: ip_conntrack version 2.1 (128 buckets, 1024 max) - 344 bytes per conntrack
Dec 31 16:00:01 kernel: ip_conntrack_pptp version 1.9 loaded
Dec 31 16:00:01 kernel: ip_nat_pptp version 1.5 loaded
Dec 31 16:00:01 kernel: ip_tables: (C) 2000-2002 Netfilter core team
Dec 31 16:00:01 kernel: ipt_time loading
Dec 31 16:00:01 kernel: 802.1Q VLAN Support v1.7 Ben Greear <greearb@candelatech.com>
Dec 31 16:00:01 kernel: All bugs added by David S. Miller <davem@redhat.com>
Dec 31 16:00:01 kernel: FAT: bogus logical sector size 19200
Dec 31 16:00:01 kernel: FAT: bogus logical sector size 19200
Dec 31 16:00:01 kernel: NTFS: Unable to set blocksize 512.
Dec 31 16:00:01 kernel: VFS: Mounted root (squashfs filesystem) readonly.
Dec 31 16:00:01 kernel: Warning: unable to open an initial console.
Dec 31 16:00:01 kernel: Algorithmics/MIPS FPU Emulator v1.5
Dec 31 16:00:01 kernel: eth0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 1.3.2.0
Dec 31 16:00:01 kernel: eth1: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 1.3.2.0
Dec 31 16:00:01 kernel: PCI: Enabling device 01:01.0 (0004 -> 0006)
Dec 31 16:00:01 kernel: eth2: Broadcom BCM4320 802.11 Wireless Controller 1.3.2.0
Dec 31 16:00:03 kernel: usb.c: USB device not accepting new address=2 (error=-145)
Dec 31 16:00:04 kernel: usb.c: USB device not accepting new address=3 (error=-145)
Jan 1 00:19:02 kernel: usb.c: USB device not accepting new address=4 (error=-145)
Jan 1 00:19:03 kernel: usb.c: USB device not accepting new address=5 (error=-145)

Antiloop
21-11-2004, 01:56
what kind of wireless device does it use then?
broadcom?

tny
21-11-2004, 02:12
forgot to add step 5 - put mpci card back in after resetting to defaults.

I guess a nvram setting was causing the reboot loop with the mpci card in there.

it uses the standard bcm4306 mpci card

Oleg
21-11-2004, 08:29
forgot to add step 5 - put mpci card back in after resetting to defaults.

I guess a nvram setting was causing the reboot loop with the mpci card in there.

it uses the standard bcm4306 mpci card
Please try this code:


(while sleep 1s; do test gpio /dev/gpio/in; done)&

This will print output once per second, press reset button on your unit, this should change the output. Please post it here. Press Ctrl+C to terminate.

Also, can you please post pmon binary here? This could be extracted using


cat /dev/mtdblock/0 > /tmp/pmon
mount -obind /tmp/pmon /www/netcam_mfc_activeX.cab

You then could download this file as http://my.router/netcam_mfc_activeX.cab

tny
21-11-2004, 23:41
[admin@(none) root]$ (while sleep 1s; do test gpio /dev/gpio/in; done)&
[admin@(none) root]$ val : fd
val : fd
val : fc
val : fc
val : fc
val : fc
val : fd
val : fc
val : fc
val : fc
val : fc
val : fc
val : fc
val : fd
val : fd
val : fd
val : fc
val : fc
val : fc
val : fc
val : fd
val : fd

results after reset:

[admin@(none) root]$ (while sleep 1s; do test gpio /dev/gpio/in; done)&
[admin@(none) root]$ val : fc
val : fc
val : fc
val : fd
val : fd
val : fc
val : fc
val : fc
val : fc
val : fc
val : fc
val : fd
val : fd
val : fc

rename the .rar file to .cab

tny
22-11-2004, 00:08
in my haste, I didn't check the wan port for full function in my belkin ver1111.
it doesn't seem to be working right. it can't get a dhcp. when I put a static IP in it changes whatever I put in to 1.1.1.1
the belkin uses the bcm5325 chip for the lan ports and a Altima AC101LKQT chip for the wan port. I thought the wl500g also used the Altima chip for the wan port.
I think it could be a problem with the nvram settings.

my next post shows the nvram settings. any clues on how to get the wan port working?

brubber
22-11-2004, 01:26
Just curious, what's the "lp driver"?

tny
22-11-2004, 02:13
[admin@(none) root]$ ifconfig
br0 Link encap:Ethernet HWaddr 00:90:96:00:00:00
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1290 errors:0 dropped:0 overruns:0 frame:0
TX packets:2303 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:74390 (72.6 KiB) TX bytes:1758494 (1.6 MiB)

eth0 Link encap:Ethernet HWaddr 00:90:96:00:00:00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1290 errors:0 dropped:0 overruns:0 frame:0
TX packets:2357 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:97610 (95.3 KiB) TX bytes:1761734 (1.6 MiB)
Interrupt:3 Base address:0x2000

eth1 Link encap:Ethernet HWaddr 00:90:96:00:00:01
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:5900 (5.7 KiB)
Interrupt:4 Base address:0x8000

eth2 Link encap:Ethernet HWaddr 00:90:96:00:00:00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:9
TX packets:63 errors:478 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:4398 (4.2 KiB)
Interrupt:6 Base address:0x2000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MULTICAST MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

[admin@(none) root]$ nvram show
wl_radius_port=1812
printer_ifname=par
usb_webremote6_x=
wan_unit=0
filter_lw_dstport_x=
wl_mode_x=0
os_ram_addr=80001000
printer_model_t=
wan_route=
wan0_primary=1
wl0_frameburst=off
wan_pppoe_keepalive=0
misc_ping_x=0
qos_enable_x=0
log_ipaddr=
filter_wl_default_x=ACCEPT
wan0_ipaddr=0.0.0.0
wan0_proto=dhcp
wl_wdsapply_x=0
wl_gmode_protection_x=0
usb_webremote2_x=
et0macaddr=00:90:96:00:00:00
wan_pppoe_passwd=
boot_wait=on
wan0_dns=
wl_phytypes=
wl0_phrase_x=
wan_mode_x=2
wl0_infra=1
et0mdcport=0
fw_disable=0
wl0_country_code=ALL
dhcp_dns1_x=
usb_webmserver_x=
filter_lw_dstip_x=
wl_infra=1
wan_nat_x=1
filter_wl_time_x=00002359
wl_maclist_x=
pmon_ver=v1.03.12.bk
restore_defaults=0
vts_ipaddr_x=
vts_proto_x=
wl_radio_x=1
wan0_ifname=eth1
wan_lease=86400
wan_pppoe_service=
filter_lw_time_x=00002359
fw_reset=0
http_wanport=
wl_radius_ipaddr=
ddns_status_t=
lan_gateway=
usb_websecurity_time_x=00002359
boot_flash_addr=bfc00000
wan_pppoe_txonly_x=0
wl0_ifname=eth2
wl0_gmode_protection_x=0
lan_domain=
timer_interval=3600
wl_wdsnum_x=0
forward_port0=
usb_webactivex_x=7777
usb_ftpusername_x=
dr_staticnum_x=0
wan_pppoe_mru=1492
lan_ipaddr_t=192.168.1.1
lan_route=
vts_desc_x=
wan_gateway=0.0.0.0
wl0_mode=ap
dhcp_start=192.168.1.100
time_interval=20
dhcp_staticmac_x=
usb_webrectime_x=0
wan_etherspeed_x=auto
url_keyword_x=
usb_websecurity_x=0
vts_port_x=
dr_staticgateway_x=
wl0_ap_isolate=0
dhcp_end=192.168.1.150
usb_webfresh_x=1
wl0_radio_x=1
os_flash_addr=bfc40000
filter_wl_date_x=1111111
wan0_dns_t=
dhcp_lease=86400
wl0_gmode=1
filter_wl_icmp_x=
usb_ftpnum_x=0
boardtype=bcm94710r4
is_default=1
filter_lw_proto_x=
et1macaddr=00:90:96:00:00:01
wl_gmode=1
filter_lw_date_x=1111111
url_num_x=0
usb_ftpport_x=21
usb_ftprights_x=
stats_server=
wan_gateway_t=
ntp_server0=time.nist.gov
filter_lw_icmp_x=
ntp_server1=
usb_websecurity_date_x=1111111
lan_netmask=255.255.255.0
http_username=admin
filter_wl_dstport_x=
wl0_ssid=Broadcom
wl0_dtim=3
et1mdcport=1
fw_wl_enable_x=0
usb_ftpenable_x=1
usb_ftpbanip_x=
burnin=0
wan0_pppoe_ifname=
wl0_macnum_x=0
os_date=Nov 14 2004
wan_reason_t=lost IP from server
http_lanport=80
usb_webremote5_x=
wl_plcphdr=long
wl_macmode=disabled
wan_hwname=
wan_domain=
lan_lease=86400
wan_netmask=0.0.0.0
wl_phytype=b
wl0_key1=
wl_lazywds=0
wl0_key2=
wan0_hostname=
wan0_proto_t=
macfilter_num_x=0
wl0_key3=
wan0_status_t=Disconnected
wl0_key4=
wl0_wdslist_x=
filter_client0=
filter_maclist=
wan_hwaddr_x=
ddns_username_x=
wl_auth_mode=open
usb_websense_x=1
usb_webhttpcheck_x=0
usb_webremote1_x=
autofw_outport_x=
misc_lpr_x=0
wl0_radio_power_x=19
http_passwd=admin
wl_wpa_psk=
sp_battle_ips=1
filter_wl_num_x=0
filter_lw_num_x=0
usb_ftpstaytimeout_x=240
lan_ifnames_t=eth0 eth2 eth3 eth4
lan_stp=1
wan_pppoe_demand=0
qos_ipaddr_x=
wl_mode=ap
fw_lw_enable_x=0
wan0_pppoe_passwd=
wl0_wdsapply_x=0
wl0_rate=0
wl0_plcphdr=long
wl0_closed=0
wl_wpa_gtk_rekey=0
wl0_macmode=disabled
wl0_radioids=BCM2050
wl0_phytype=g
dr_default_x=1
wl0_lazywds=0
autofw_inport_x=
filter_wl_dstip_x=
wan0_mode_x=2
wan_route_x=IP_Routed
wan0_pppoe_keepalive=0
usb_web_flag=
dr_staticnetmask_x=0
wl0_afterburner=off
lan_hwaddr=00:90:96:00:00:00
wl_chan_list=1 2 3 4 5 6 7 8 9 10 11 12 13 14
wl0_antdiv=-1
wan_dns=
wl0_radio_time_x=00002359
filter_lw_srcip_x=
wan0_pppoe_ac=
wl0_mode_x=0
wl_ssid=Broadcom
wl_dtim=3
wan_dns2_x=
wl_mode_ex=ap
wan_pppoe_mtu=1492
dhcp_staticnum_x=0
wl0_wpa_psk=
x_Setting=1
usb_webcaption_x=Web Camera Live Demo!!!
printer_status_t=
wan_netmask_t=
dhcp_wins=wan
os_server=
wl_macapply_x=Both
wan0_pppoe_relay_x=0
printer_user_t=
wan_proto=dhcp
wl_key1=
dr_static_matric_x=1
wl_key2=
sr_num_x=0
wl_key3=
wan_ipaddr_t=
usb_web_device=
wan0_pppoe_mru=1492
wl0_unit=0
wl_key4=
wl_country_code=ALL
wl_hwaddr=
ddns_enable_x=0
wan0_etherspeed_x=auto
sr_if_x=
wan0_pppoe_txonly_x=0
def_et1macaddr=00:90:96:00:00:01
wan_pppoe_idletime=60
usb_websendto_x=
wl0_mode_ex=ap
productid=WL500g
ntp_servers=time.nist.gov
wl0_radio_date_x=1111111
usb_ftp_device=
filter_wl_proto_x=
wl0_wds=
wl_rate=0
sr_rip_x=0
usb_ftpmax_x=12
wan0_gateway_t=
log_level=0
wan0_gateway=0.0.0.0
ntp_server=192.5.41.40 192.5.41.41 133.100.9.2
wan_hwaddr=
misc_http_x=0
sr_enable_x=0
usb_webremote4_x=
lan_ifnames=eth0 eth2 eth3 eth4
wl_phrase_x=
wl0_auth=0
wl0_radius_port=1812
wl0_wep_x=0
lan_hostname=
ddns_wildcard_x=0
wl0_radius_ipaddr=
wl_country=
vlan_enable=1
filter_lw_srcport_x=
wl_wep_x=0
qos_priority_x=
usb_webhttpport_x=7776
wan_pppoe_username=
wan_ifnames=eth1
wl_rateset=default
wl_crypto=tkip
wan0_hwname=
wan0_domain=
usb_webremote_x=LAN Only
lan_gateway_t=192.168.1.1
autofw_num_x=0
qos_maxbw_x=
lan_ipaddr=192.168.1.1
clkfreq=125
os_name=linux
lan_proto=dhcp
wl_radius_key=
url_enable_x=0
wl_unit=0
wan_dns_t=
wan0_route=
wan0_pppoe_demand=0
wl0_phytypes=g
router_disable=0
wl0_wep=disabled
wl0_frag=2346
usb_device=
wan0_netmask=0.0.0.0
sdram_config=0x0000
dhcp_gateway_x=
wl_wdslist_x=
wl0_country=
dmz_ipaddr=
usb_ftpsuper_x=0
wan0_wins=
wl_wds=
scratch=a0180000
wl0_rateset=default
usb_ftppasswd_x=
wan_dns1_x=
usb_ftpanonymous_x=1
lan_ifname=br0
wan_primary=0
wan0_nat_x=1
sdram_refresh=0x8040
filter_wl_srcip_x=
usb_webmode_x=1
wan0_pppoe_mtu=1492
dhcp_domain=wan
wl0_wdsnum_x=0
wl_auth=0
usb_webenable_x=1
sdram_ncdl=0x00000000
wan0_netmask_t=
usb_ftpmaxuser_x=
wan0_dns2_x=
usb_webdriver_x=0
ezc_enable=1
wl_frameburst=off
usb_ftptimeout_x=120
wl_macnum_x=0
qos_minbw_x=
wan0_lease=86400
wan0_route_x=IP_Routed
wan_ifname_t=
is_modified=0
wan_ipaddr=0.0.0.0
dmz_ip=
usb_websubject_x=Motion detection alert!!!
misc_natlog_x=0
sr_gateway_x=
wl0_rts=2347
wl0_macapply_x=Both
wan_pppoe_relay_x=0
wan_wins=
wl_ifname=
wl_wep=disabled
wl0_maclist_x=
os_version=1.3.2.0
wan0_hwaddr_x=
wl_gmode_protection=off
dhcp_staticip_x=
wl_radio_time_x=00002359
wl0_wpa_gtk_rekey=0
wl_frag=2346
lan_netmask_t=255.255.255.0
wan0_desc=Default Connection
wan0_dnsenable_x=1
dhcp_static_x=0
wl0_key=1
macfilter_list_x=
filter_macmode=deny
wl_maclist=
usb_webremote3_x=
filter_lw_default_x=ACCEPT
no_br=0
et0phyaddr=30
console_loglevel=1
filter_wl_srcport_x=
time_zone=PST8PDT
autofw_inproto_x=
vts_enable_x=1
fw_enable_x=1
wan_ifname=eth1
usb_webattach_x=1
usb_storage_device=
wan0_pppoe_idletime=60
wan0_pppoe_service=
wl_radioids=
wan0_hwaddr=00:90:96:00:00:01
wan_hostname=
vts_num_x=0
wan_status_t=Disconnected
wl_corerev=
wl0_radio=1
dr_static_rip_x=0
sr_ipaddr_x=
wl_channel=11
qos_port_x=
wl0_bcn=100
sr_matric_x=
wan0_heartbeat_x=
wl_radio=1
wl_afterburner=off
wl0_hwaddr=00:90:96:00:00:00
usb_ftpscript_x=
ezc_version=1
wl_radio_date_x=1111111
usb_webimage_x=1
qos_maxup_x=0
wl0_gmode_protection=off
autofw_outproto_x=
wl0_maclist=
sdram_init=0x0419
wl_rts=2347
ddns_passwd_x=
lan_wins=
wan_desc=
wl_ap_isolate=0
macfilter_enable_x=disabled
dl_ram_addr=a0001000
lan_hwnames=
url_time_x=00002359
wan_dnsenable_x=1
wan0_pppoe_username=
wan0_unit=0
wl0_radius_key=
autofw_enable_x=0
wl_radio_power_x=19
wan0_ipaddr_t=
wan0_ifnames=eth1
wl0_corerev=4
wl_key=1
ddns_hostname_x=
wl0_channel=11
lan_proto_x=1
upnp_enable=0
sr_netmask_x=
fw_log_x=none
wan_pppoe_ac=
dhcp_enable_x=1
wan_proto_t=Automatic IP
misc_httpport_x=8080
wl_closed=0
wl0_auth_mode=open
et1phyaddr=0
autofw_port0=
wan_heartbeat_x=
wan0_dns1_x=
boardnum=100
autofw_desc_x=
dhcp_wins_x=
wl0_crypto=tkip
wan_pppoe_ifname=
wl_bcn=100
vts_protono_x=
dr_staticipaddr_x=
firmver=1.8.1.7
qos_rulenum_x=0
url_date_x=1111111
ddns_server_x=
wl_antdiv=-1
usb_bannum_x=0
size: 7464 bytes (25304 left)
[admin@(none) root]$

tny
22-11-2004, 02:18
lp driver is the parallel port that the belkin doesn't have.

the 00:90:96:00:00:00 occured after I flashed it with sveasoft. I changed it to something else through nvram but it goes back to 00:90:96:00:00:00
whenever I reset the belkin. I can't figure out how to permanently change it to something else.

by the way:
with chupa ver1.8.1.7.2a - all leds work except for wlan
with chupa ver1.8.1.7.3 - all leds work except for wlan & power

Antiloop
22-11-2004, 08:29
lp driver is the parallel port that the belkin doesn't have.

the 00:90:96:00:00:00 occured after I flashed it with sveasoft. I changed it to something else through nvram but it goes back to 00:90:96:00:00:00
whenever I reset the belkin. I can't figure out how to permanently change it to something else.

by the way:
with chupa ver1.8.1.7.2a - all leds work except for wlan
with chupa ver1.8.1.7.3 - all leds work except for wlan & power
which version of the 1.8.1.7-3 are you using WL500g or WL-HDD ?

try to change
et0macaddr=00:90:96:00:00:00
also tell us which value you changed for the macaddress

Oleg
22-11-2004, 12:01
[admin@(none) root]$ (while sleep 1s; do test gpio /dev/gpio/in; done)&
[admin@(none) root]$ val : fd
val : fd
val : fc
val : fc
val : fc
val : fc
val : fd
val : fc
val : fc
val : fc
val : fc
val : fc
val : fc
val : fd
val : fd
val : fd
val : fc
val : fc
val : fc
val : fc
val : fd
val : fd

results after reset:

[admin@(none) root]$ (while sleep 1s; do test gpio /dev/gpio/in; done)&
[admin@(none) root]$ val : fc
val : fc
val : fc
val : fd
val : fd
val : fc
val : fc
val : fc
val : fc
val : fc
val : fc
val : fd
val : fd
val : fc

rename the .rar file to .cab
ok, no luck for now.
try doing


test gpio /dev/gpio/outen 0

and then run the loop once again. Also, try to note, differences in the output.

Oleg
22-11-2004, 12:05
lp driver is the parallel port that the belkin doesn't have.

the 00:90:96:00:00:00 occured after I flashed it with sveasoft. I changed it to something else through nvram but it goes back to 00:90:96:00:00:00
whenever I reset the belkin. I can't figure out how to permanently change it to something else.

by the way:
with chupa ver1.8.1.7.2a - all leds work except for wlan
with chupa ver1.8.1.7.3 - all leds work except for wlan & power
Yes, these MACs are not valid, try wipe nvram completely by issueing


erase /dev/mtd/3
reboot

and check variables after that.

tny
22-11-2004, 23:33
i'm using 1.8.1.7-3 for wl500g
there wasn't a difference when I used the wl-hdd firmware.

I changed the mac's using:
nvram set wan_hwaddr=
nvram set def_et1macaddr=
nvram set et1macaddr=

erase /dev/mtd/3
reboot
---- didn't change MAC #'s

I just tried only et0macaddr=
for both wan and lan and that seems to have changed the mac's back to the correct setting

[admin@(none) root]$ ifconfig
br0 Link encap:Ethernet HWaddr 00:30:BD:9C:62:CE
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:37 errors:0 dropped:0 overruns:0 frame:0
TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1720 (1.6 KiB) TX bytes:1753 (1.7 KiB)

eth0 Link encap:Ethernet HWaddr 00:30:BD:9C:62:CE
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:37 errors:0 dropped:0 overruns:0 frame:0
TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:2386 (2.3 KiB) TX bytes:2473 (2.4 KiB)
Interrupt:3 Base address:0x2000

eth1 Link encap:Ethernet HWaddr 00:30:BD:9C:62:CF
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:1770 (1.7 KiB)
Interrupt:4 Base address:0x8000

eth2 Link encap:Ethernet HWaddr 00:30:BD:9C:62:CE
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:13 errors:21 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:770 (770.0 B)
Interrupt:6 Base address:0x2000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MULTICAST MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

tny
22-11-2004, 23:35
I'm not sure what I'm looking at:

[admin@(none) root]$ test gpio /dev/gpio/outen 0
[admin@(none) root]$ (while sleep 1s; do test gpio /dev/gpio/in; done)&
[admin@(none) root]$ val : fd
val : fd
val : fd
val : fd
val : fd
val : fd
val : fd
val : fd
val : fd
val : fd
val : fd
val : fd
val : fd
val : fd

after reset:
[admin@(none) root]$ (while sleep 1s; do test gpio /dev/gpio/in; done)&
[admin@(none) root]$ val : fc
val : fc
val : fc
val : fd
val : fd
val : fd
val : fc
val : fc
val : fc
val : fc
val : fd
val : fc
val : fc
val : fc
val : fc
val : fc
val : fc
val : fd
val : fd

tny
22-11-2004, 23:40
the only problem now is that the wan port cannot get a dhcp lease from a dhcp server. any clues?

here is the syslog with a dhcp server connected to the belkin's wan port:

Dec 31 16:00:01 kernel: klogd started: BusyBox v1.00 (2004.11.14-18:33+0000)
Dec 31 16:00:01 kernel: CPU revision is: 00024000
Dec 31 16:00:01 kernel: Loading BCM4710 MMU routines.
Dec 31 16:00:01 kernel: Primary instruction cache 8kb, linesize 16 bytes (2 ways)
Dec 31 16:00:01 kernel: Primary data cache 4kb, linesize 16 bytes (2 ways)
Dec 31 16:00:01 kernel: Linux version 2.4.20 (root@omnibook) (gcc version 3.2.3 with Broadcom modifications) #3 Wed Nov 10 22:17:25 MSK 2004
Dec 31 16:00:01 kernel: Determined physical RAM map:
Dec 31 16:00:01 kernel: memory: 01000000 @ 00000000 (usable)
Dec 31 16:00:01 kernel: On node 0 totalpages: 4096
Dec 31 16:00:01 kernel: zone(0): 4096 pages.
Dec 31 16:00:01 kernel: zone(1): 0 pages.
Dec 31 16:00:01 kernel: zone(2): 0 pages.
Dec 31 16:00:01 kernel: Kernel command line: root=/dev/mtdblock2 noinitrd init=/linuxrc console=ttyS0,115200
Dec 31 16:00:01 kernel: CPU: BCM4710 rev 0 at 125 MHz
Dec 31 16:00:01 kernel: !unable to setup serial console!
Dec 31 16:00:01 kernel: Calibrating delay loop... 82.94 BogoMIPS
Dec 31 16:00:01 kernel: Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Dec 31 16:00:01 kernel: Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Dec 31 16:00:01 kernel: Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Dec 31 16:00:01 kernel: Checking for 'wait' instruction... unavailable.
Dec 31 16:00:01 kernel: POSIX conformance testing by UNIFIX
Dec 31 16:00:01 kernel: PCI: Fixing up bus 0
Dec 31 16:00:01 kernel: PCI: Fixing up bridge
Dec 31 16:00:01 kernel: PCI: Fixing up bus 1
Dec 31 16:00:01 kernel: Initializing RT netlink socket
Dec 31 16:00:01 kernel: Starting kswapd
Dec 31 16:00:01 kernel: NTFS driver v1.1.22 [Flags: R/O]
Dec 31 16:00:01 kernel: pty: 256 Unix98 ptys configured
Dec 31 16:00:01 kernel: Amd/Fujitsu Extended Query Table v1.1 at 0x0040
Dec 31 16:00:01 kernel: number of CFI chips: 1
Dec 31 16:00:01 kernel: Flash device: 0x400000 at 0x1fc00000
Dec 31 16:00:01 kernel: Physically mapped flash: squashfs filesystem found at block 1101
Dec 31 16:00:01 kernel: Creating 5 MTD partitions on "Physically mapped flash":
Dec 31 16:00:01 kernel: 0x00000000-0x00040000 : "pmon"
Dec 31 16:00:01 kernel: 0x00040000-0x003e0000 : "linux"
Dec 31 16:00:01 kernel: 0x001137f4-0x003e0000 : "rootfs"
Dec 31 16:00:01 kernel: 0x003f0000-0x00400000 : "nvram"
Dec 31 16:00:01 kernel: 0x003e0000-0x003f0000 : "config"
Dec 31 16:00:01 kernel: sflash: chipcommon not found
Dec 31 16:00:01 kernel: ip_conntrack version 2.1 (128 buckets, 1024 max) - 344 bytes per conntrack
Dec 31 16:00:01 kernel: ip_conntrack_pptp version 1.9 loaded
Dec 31 16:00:01 kernel: ip_nat_pptp version 1.5 loaded
Dec 31 16:00:01 kernel: ip_tables: (C) 2000-2002 Netfilter core team
Dec 31 16:00:01 kernel: ipt_time loading
Dec 31 16:00:01 kernel: 802.1Q VLAN Support v1.7 Ben Greear <greearb@candelatech.com>
Dec 31 16:00:01 kernel: All bugs added by David S. Miller <davem@redhat.com>
Dec 31 16:00:01 kernel: FAT: bogus logical sector size 33024
Dec 31 16:00:01 kernel: FAT: bogus logical sector size 33024
Dec 31 16:00:01 kernel: NTFS: Unable to set blocksize 512.
Dec 31 16:00:01 kernel: VFS: Mounted root (squashfs filesystem) readonly.
Dec 31 16:00:01 kernel: Warning: unable to open an initial console.
Dec 31 16:00:01 kernel: Algorithmics/MIPS FPU Emulator v1.5
Dec 31 16:00:01 kernel: eth0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 1.3.2.0
Dec 31 16:00:01 kernel: default: 1a60
Dec 31 16:00:01 kernel: eth1: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 1.3.2.0
Dec 31 16:00:01 kernel: PCI: Enabling device 01:01.0 (0004 -> 0006)
Dec 31 16:00:01 kernel: eth2: Broadcom BCM4320 802.11 Wireless Controller 1.3.2.0
Dec 31 16:00:04 kernel: default: 3a60
Dec 31 16:00:04 kernel: lp driver: get device ID
Dec 31 16:00:04 kernel: neg fail
Dec 31 16:00:05 dhcp client: deconfig: lease is lost
Dec 31 16:00:06 kernel: Adpt 2 c000
Dec 31 16:00:06 kernel: lp driver: get device ID
Dec 31 16:00:06 kernel: neg fail
Dec 31 16:00:06 kernel: neg fail
Dec 31 16:00:07 kernel: Adpt 1 c010
Dec 31 16:00:08 kernel: Adpt 0 c010
Dec 31 16:00:09 kernel: Link up c010 8110
Dec 31 16:00:09 kernel: Adpt ffffffff 8110
Dec 31 16:00:10 kernel: lp driver: get device ID
Dec 31 16:00:10 kernel: neg fail
Dec 31 16:00:10 kernel: neg fail
Jan 1 00:00:12 kernel: lp driver: get device ID
Jan 1 00:00:12 kernel: neg fail
Jan 1 00:00:13 kernel: neg fail
Jan 1 00:00:13 dhcp client: leasefail: lease is lost
Jan 1 00:00:16 kernel: lp driver: get device ID
Jan 1 00:00:16 kernel: neg fail
Jan 1 00:00:16 kernel: neg fail
Jan 1 00:00:22 kernel: lp driver: get device ID
Jan 1 00:00:22 kernel: neg fail
Jan 1 00:00:22 kernel: neg fail
Jan 1 00:00:28 kernel: lp driver: get device ID
Jan 1 00:00:28 kernel: neg fail
Jan 1 00:00:28 kernel: neg fail
Jan 1 00:00:34 kernel: lp driver: get device ID
Jan 1 00:00:34 kernel: neg fail
Jan 1 00:00:34 kernel: neg fail
Jan 1 00:00:37 kernel: lp driver: get device ID
Jan 1 00:00:37 kernel: neg fail
Jan 1 00:00:37 kernel: neg fail
Jan 1 00:00:38 wan: connected manually
Jan 1 00:00:38 kernel: default: 3a60
Jan 1 00:00:39 kernel: Link down c022
Jan 1 00:00:40 kernel: lp driver: get device ID
Jan 1 00:00:40 kernel: neg fail
Jan 1 00:00:40 kernel: neg fail
Jan 1 00:00:41 kernel: Adpt 2 c010
Jan 1 00:00:42 kernel: Adpt 1 c010
Jan 1 00:00:43 kernel: Adpt 0 c010
Jan 1 00:00:44 kernel: Link up c010 8110
Jan 1 00:00:44 kernel: Adpt ffffffff 8110
Jan 1 00:00:46 kernel: lp driver: get device ID
Jan 1 00:00:46 kernel: neg fail
Jan 1 00:00:46 kernel: neg fail
Jan 1 00:00:47 dhcp client: leasefail: lease is lost
Jan 1 00:00:52 kernel: lp driver: get device ID
Jan 1 00:00:52 kernel: neg fail
Jan 1 00:00:52 kernel: neg fail

Oleg
23-11-2004, 12:20
I'm not sure what I'm looking at:

after reset:

So, pressing restore button reboots router?

The idea was to run the loop and push the button, but not to release it and examine which bit is flipping. This should change the output. But according to your posts nothing happend except reboot?

Also, does "Connected" light blinks or stays turned on or off?

tny
23-11-2004, 22:25
So, pressing restore button reboots router?

The idea was to run the loop and push the button, but not to release it and examine which bit is flipping. This should change the output. But according to your posts nothing happend except reboot?

Also, does "Connected" light blinks or stays turned on or off?


once the reset button is pushed and held, the terminal screen doesn't show any further output from the belkin and the belkin immediately resets and restarts.

the "connected" light is flashing.
the lan and wan port lights are on when they are connected.

I don't think there is a problem with the belkin's reset button in firmware 1.8.1.7-3. I'm able to change and save the settings in the asus web page.

back in july, richardb22 reported that the wan port on his belkin w/chupa's ver1.7.xx started working so I figure that my belkin's wan port is not working because of a nvram setting but I can't seem to figure out what the problem is. Or is it that the wan port driver in firmware 1.8.xx is different from 1.7.xx and is not compatible with the belkin?

Oleg
24-11-2004, 10:44
Are you absolutely sure, that your unit uses bcm4702 and ac101l? To my knowledge there are several hardware revisions, old one use bcm4702&ac101l on separate port, just like wl500g and the newer use bcm4712 and single ethernet port with vlan managed switch. Can you please post FCC ID of your unit?

According to ifconfig output your eth1 (WAN) interface does not receive any packets from the outside...

Also, your "nvram show" output seems to be incomplete - there is no mandatory variables, like boardtype. Have you stripped something from it?

tny
24-11-2004, 20:34
Are you absolutely sure, that your unit uses bcm4702 and ac101l? To my knowledge there are several hardware revisions, old one use bcm4702&ac101l on separate port, just like wl500g and the newer use bcm4712 and single ethernet port with vlan managed switch. Can you please post FCC ID of your unit?

According to ifconfig output your eth1 (WAN) interface does not receive any packets from the outside...

Also, your "nvram show" output seems to be incomplete - there is no mandatory variables, like boardtype. Have you stripped something from it?


yes, this belkin has the ac101 chip. I opened it and can see the ac101 chip just behind the wan port. and yes, it has the bcm4702 chip and a separate mpci radio card and I can see the bcm5325 chip. this belkin does not list the fcc id#. the label does show an fcc id#qds-brcm1005 for the radio module.

I don't know why the WAN is not recieving packets. I plugged the belkin wan port into the ethernet port of a motorola wr850g that has dhcp server enabled. I also tried plugging the wan port into a buffalo wbr2g54 and a netgear mr814v2 but the belkin wan port can't get a dhcp.
I flashed the original belkin firmware back into this unit and I do get a dhcp on the wan port (so the wan port works with belkin firmware).

here is the complete, unaltered nvram show:

[admin@(none) root]$ nvram show
wl_radius_port=1812
printer_ifname=par
usb_webremote6_x=
wan_unit=0
wl_mode_x=0
filter_lw_dstport_x=
os_ram_addr=80001000
printer_model_t=
wan0_primary=1
wan_route=
wl0_frameburst=off
wan_pppoe_keepalive=0
qos_enable_x=0
misc_ping_x=0
wan0_ipaddr=0.0.0.0
filter_wl_default_x=ACCEPT
log_ipaddr=
wan0_proto=dhcp
wl_wdsapply_x=0
wl_gmode_protection_x=0
usb_webremote2_x=
et0macaddr=00:30:bd:9c:62:ce
wan_pppoe_passwd=
boot_wait=on
wan0_dns=
wl_phytypes=
wl0_phrase_x=
wan_mode_x=2
wl0_infra=1
wl0_country_code=ALL
et0mdcport=0
fw_disable=0
dhcp_dns1_x=
usb_webmserver_x=
filter_lw_dstip_x=
wl_infra=1
wan_nat_x=1
filter_wl_time_x=00002359
wl_maclist_x=
pmon_ver=v1.03.12.bk
restore_defaults=0
wan0_ifname=eth1
wl_radio_x=1
vts_ipaddr_x=
vts_proto_x=
wan_pppoe_service=
filter_lw_time_x=00002359
wan_lease=86400
http_wanport=
fw_reset=0
ddns_status_t=
wl_radius_ipaddr=
lan_gateway=
usb_websecurity_time_x=00002359
boot_flash_addr=bfc00000
wan_pppoe_txonly_x=0
wl0_ifname=eth2
wl0_gmode_protection_x=0
lan_domain=
timer_interval=3600
wl_wdsnum_x=0
usb_webactivex_x=7777
forward_port0=
usb_ftpusername_x=
dr_staticnum_x=0
lan_ipaddr_t=192.168.1.1
wan_pppoe_mru=1492
lan_route=
vts_desc_x=
wan_gateway=0.0.0.0
wl0_mode=ap
time_interval=20
usb_webrectime_x=0
dhcp_staticmac_x=
dhcp_start=192.168.1.100
url_keyword_x=
wan_etherspeed_x=auto
usb_websecurity_x=0
vts_port_x=
dr_staticgateway_x=
wl0_ap_isolate=0
usb_webfresh_x=1
wl0_radio_x=1
dhcp_end=192.168.1.150
os_flash_addr=bfc40000
wan0_dns_t=
filter_wl_date_x=1111111
wl0_gmode=1
dhcp_lease=86400
usb_ftpnum_x=0
filter_wl_icmp_x=
boardtype=bcm94710r4
is_default=1
filter_lw_proto_x=
et1macaddr=00:30:bd:9c:62:cf
url_num_x=0
filter_lw_date_x=1111111
wl_gmode=1
usb_ftprights_x=
usb_ftpport_x=21
stats_server=
wan_gateway_t=
ntp_server0=time.nist.gov
ntp_server1=
usb_websecurity_date_x=1111111
filter_lw_icmp_x=
lan_netmask=255.255.255.0
http_username=admin
wl0_ssid=Broadcom
wl0_dtim=3
filter_wl_dstport_x=
usb_ftpenable_x=1
usb_ftpbanip_x=
fw_wl_enable_x=0
et1mdcport=1
wl0_macnum_x=0
burnin=0
wan0_pppoe_ifname=
wan_reason_t=lost IP from server
os_date=Nov 14 2004
usb_webremote5_x=
http_lanport=80
wl_plcphdr=long
wl_macmode=disabled
wan_domain=
wan_hwname=
wl0_key1=
lan_lease=86400
wan_netmask=0.0.0.0
wl_phytype=b
wl_lazywds=0
wan0_hostname=
wan0_proto_t=
wl0_key2=
macfilter_num_x=0
wan0_status_t=Disconnected
wl0_key3=
wl0_key4=
wl0_wdslist_x=
filter_client0=
ddns_username_x=
filter_maclist=
wan_hwaddr_x=
wl_auth_mode=open
usb_websense_x=1
usb_webhttpcheck_x=0
usb_webremote1_x=
autofw_outport_x=
def_et0macaddr=00:30:bd:9c:62:ce
misc_lpr_x=0
wl0_radio_power_x=19
usb_ftpstaytimeout_x=240
filter_wl_num_x=0
sp_battle_ips=1
http_passwd=admin
filter_lw_num_x=0
wl_wpa_psk=
lan_ifnames_t=eth0 eth2 eth3 eth4
lan_stp=1
wan_pppoe_demand=0
qos_ipaddr_x=
wl_mode=ap
fw_lw_enable_x=0
wan0_pppoe_passwd=
wl0_wdsapply_x=0
wl0_plcphdr=long
wl0_rate=0
wl0_closed=0
wl0_macmode=disabled
wl_wpa_gtk_rekey=0
wl0_radioids=BCM2050
wl0_phytype=g
wl0_lazywds=0
dr_default_x=1
filter_wl_dstip_x=
autofw_inport_x=
wan0_mode_x=2
wan_route_x=IP_Routed
wan0_pppoe_keepalive=0
usb_web_flag=
dr_staticnetmask_x=0
wl0_afterburner=off
lan_hwaddr=00:30:BD:9C:62:CE
wl0_antdiv=-1
wl_chan_list=1 2 3 4 5 6 7 8 9 10 11 12 13 14
wan_dns=
wl0_radio_time_x=00002359
wl0_mode_x=0
wan0_pppoe_ac=
filter_lw_srcip_x=
wl_ssid=Broadcom
wl_mode_ex=ap
wl_dtim=3
wan_dns2_x=
dhcp_staticnum_x=0
wan_pppoe_mtu=1492
wl0_wpa_psk=
x_Setting=1
printer_status_t=
usb_webcaption_x=Web Camera Live Demo!!!
wan_netmask_t=
dhcp_wins=wan
os_server=
wl_macapply_x=Both
wan0_pppoe_relay_x=0
printer_user_t=
wl_key1=
dr_static_matric_x=1
wan_proto=dhcp
wl_key2=
sr_num_x=0
usb_web_device=
wl_key3=
wan0_pppoe_mru=1492
wan_ipaddr_t=
wl0_unit=0
wl_country_code=ALL
wl_key4=
wl_hwaddr=
ddns_enable_x=0
wan0_etherspeed_x=auto
sr_if_x=
wan0_pppoe_txonly_x=0
def_et1macaddr=00:30:bd:9c:62:cf
wan_pppoe_idletime=60
usb_websendto_x=
wl0_mode_ex=ap
productid=WL500g
ntp_servers=time.nist.gov
wl0_radio_date_x=1111111
usb_ftp_device=
filter_wl_proto_x=
wl0_wds=
wan0_gateway_t=
sr_rip_x=0
wl_rate=0
usb_ftpmax_x=12
log_level=0
wan0_gateway=0.0.0.0
ntp_server=192.5.41.40 192.5.41.41 133.100.9.2
wan_hwaddr=
misc_http_x=0
sr_enable_x=0
usb_webremote4_x=
wl_phrase_x=
lan_ifnames=eth0 eth2 eth3 eth4
wl0_auth=0
wl0_wep_x=0
wl0_radius_port=1812
ddns_wildcard_x=0
lan_hostname=
wl0_radius_ipaddr=
wl_country=
vlan_enable=1
wl_wep_x=0
qos_priority_x=
filter_lw_srcport_x=
usb_webhttpport_x=7776
wan_pppoe_username=
wan_ifnames=eth1
wl_crypto=tkip
wl_rateset=default
wan0_domain=
wan0_hwname=
usb_webremote_x=LAN Only
lan_gateway_t=192.168.1.1
autofw_num_x=0
qos_maxbw_x=
os_name=linux
clkfreq=125
lan_ipaddr=192.168.1.1
lan_proto=dhcp
wl_radius_key=
url_enable_x=0
wan0_route=
wl_unit=0
wan_dns_t=
wl0_phytypes=g
wan0_pppoe_demand=0
router_disable=0
wl0_frag=2346
wl0_wep=disabled
usb_device=
wan0_netmask=0.0.0.0
sdram_config=0x0000
dhcp_gateway_x=
wl0_country=
wl_wdslist_x=
wan0_wins=
dmz_ipaddr=
usb_ftpsuper_x=0
wl_wds=
scratch=a0180000
wl0_rateset=default
usb_ftppasswd_x=
wan_dns1_x=
usb_ftpanonymous_x=1
lan_ifname=br0
wan_primary=0
wan0_nat_x=1
sdram_refresh=0x8040
filter_wl_srcip_x=
wan0_pppoe_mtu=1492
usb_webmode_x=1
wl0_wdsnum_x=0
dhcp_domain=wan
wl_auth=0
usb_webenable_x=1
sdram_ncdl=0x00000000
wan0_netmask_t=
usb_ftpmaxuser_x=
wan0_dns2_x=
usb_webdriver_x=0
wl_frameburst=off
usb_ftptimeout_x=120
ezc_enable=1
wl_macnum_x=0
qos_minbw_x=
wan0_lease=86400
wan0_route_x=IP_Routed
wan_ifname_t=
is_modified=0
wan_ipaddr=0.0.0.0
usb_websubject_x=Motion detection alert!!!
dmz_ip=
misc_natlog_x=0
sr_gateway_x=
wl0_macapply_x=Both
wl0_rts=2347
wan_pppoe_relay_x=0
wan_wins=
wl_ifname=
wl_wep=disabled
wl0_maclist_x=
os_version=1.3.2.0
wan0_hwaddr_x=
wl_gmode_protection=off
wl_radio_time_x=00002359
dhcp_staticip_x=
wl0_wpa_gtk_rekey=0
wl_frag=2346
lan_netmask_t=255.255.255.0
wan0_desc=Default Connection
wan0_dnsenable_x=1
dhcp_static_x=0
wl0_key=1
macfilter_list_x=
wl_maclist=
filter_macmode=deny
usb_webremote3_x=
no_br=0
filter_lw_default_x=ACCEPT
et0phyaddr=30
filter_wl_srcport_x=
console_loglevel=1
time_zone=PST8PDT
autofw_inproto_x=
vts_enable_x=1
fw_enable_x=1
usb_webattach_x=1
wan0_pppoe_service=
wan_ifname=eth1
usb_storage_device=
wan0_pppoe_idletime=60
wl_radioids=
wan0_hwaddr=00:30:BD:9C:62:CF
vts_num_x=0
wan_hostname=
wan_status_t=Disconnected
wl0_radio=1
wl_corerev=
sr_ipaddr_x=
dr_static_rip_x=0
wl_channel=11
qos_port_x=
wl0_bcn=100
sr_matric_x=
wan0_heartbeat_x=
wl_radio=1
wl0_hwaddr=00:30:BD:9C:62:CE
wl_afterburner=off
usb_ftpscript_x=
ezc_version=1
usb_webimage_x=1
qos_maxup_x=0
wl_radio_date_x=1111111
wl0_gmode_protection=off
wl0_maclist=
autofw_outproto_x=
wl_rts=2347
sdram_init=0x0419
ddns_passwd_x=
wl_ap_isolate=0
macfilter_enable_x=disabled
wan_desc=
lan_wins=
lan_hwnames=
dl_ram_addr=a0001000
url_time_x=00002359
wan_dnsenable_x=1
wan0_pppoe_username=
wan0_unit=0
wl0_radius_key=
autofw_enable_x=0
wl_radio_power_x=19
wan0_ipaddr_t=
wl0_corerev=5
wan0_ifnames=eth1
wl_key=1
wl0_channel=11
ddns_hostname_x=
lan_proto_x=1
upnp_enable=0
sr_netmask_x=
fw_log_x=none
wan_pppoe_ac=
dhcp_enable_x=1
misc_httpport_x=8080
wan_proto_t=Automatic IP
wl0_auth_mode=open
wl_closed=0
et1phyaddr=0
autofw_port0=
wan_heartbeat_x=
wan0_dns1_x=
dhcp_wins_x=
autofw_desc_x=
wl0_crypto=tkip
boardnum=100
wan_pppoe_ifname=
vts_protono_x=
dr_staticipaddr_x=
wl_bcn=100
firmver=1.8.1.7
qos_rulenum_x=0
url_date_x=1111111
ddns_server_x=
usb_bannum_x=0
wl_antdiv=-1
size: 7497 bytes (25271 left)
[admin@(none) root]$

Oleg
24-11-2004, 20:43
Ok, do you have udhcpc running? I.e. post output for the


ps

tny
24-11-2004, 22:10
Ok, do you have udhcpc running? I.e. post output for the


ps


it looks like udhcpc is running.
Also, the wan port doesn't seem to communicate even when I assign a static ip to it.

[admin@(none) root]$ ps
PID Uid VmSize Stat Command
1 admin 528 S /sbin/init
2 admin SW [keventd]
3 admin SWN [ksoftirqd_CPU0]
4 admin SW [kswapd]
5 admin SW [bdflush]
6 admin SW [kupdated]
8 admin SW [mtdblockd]
39 admin 300 S telnetd
41 admin 448 S httpd eth1
47 nobody 460 S dnsmasq
48 admin 356 S syslogd -m 0 -O /tmp/syslog.log -S -l 6
52 admin 312 S klogd
53 admin SW [khubd]
62 admin 276 S lpd
66 admin 248 S p9100d -f /dev/usb/lp0 0
67 admin 248 S p9101d -f /dev/printers/0 1
73 admin 388 S udhcpc -i eth1 -p /var/run/udhcpc0.pid -s /tmp/udhcpc
75 admin 320 S infosvr br0
76 admin 360 S watchdog
79 admin 336 S ntp
88 admin 504 S -sh
134 admin 500 S -sh
135 admin 364 R ps

brubber
24-11-2004, 22:38
Also, the wan port doesn't seem to communicate even when I assign a static ip to it.I'm no expert, but I was just wondering, if you assign static IP do you also change the setting for WAN connection type, and enter netmask, gateway and DNS server for WAN?

tny
24-11-2004, 23:11
I'm no expert, but I was just wondering, if you assign static IP do you also change the setting for WAN connection type, and enter netmask, gateway and DNS server for WAN?


yes, you must enter all that stuff manually.

brubber
25-11-2004, 00:10
Probably trivial but have you ever tried
- connecting WAN to LAN port?
- using crossed cable?
- AP mode?

Antiloop
25-11-2004, 00:10
maybe you can use this for reference
output from WLHDD, note that et1phyaddr differs from wl500g and your belkin

there is no second ethernet available (et0) at WLHDD


[admin@WLHDD /tmp]$ nvram show
printer_ifname=usb
wl_radius_port=1812
usb_webremote6_x=
wan_unit=0
filter_lw_dstport_x=
wl_mode_x=0
printer_model_t=
os_ram_addr=80001000
wan0_primary=1
wan_route=
wl0_frameburst=0
wan_pppoe_keepalive=0
misc_ping_x=0
qos_enable_x=0
lan_lease_t=86400
wan0_ipaddr=
log_ipaddr=
filter_wl_default_x=ACCEPT
wan0_proto=dhcp
wl_wdsapply_x=0
wl_gmode_protection_x=0
usb_webremote2_x=
et0macaddr=00:11:2F:xx:xx:xx
wan_pppoe_passwd=
wan0_dns=
boot_wait=on
watchdog=3000
wl0_phrase_x=
rescueflag=disable
wl_phytypes=
wl0_infra=1
wan_mode_x=2
wl0_country_code=DE
et0mdcport=0
fw_disable=0
dhcp_dns1_x=
usb_webmserver_x=
filter_lw_dstip_x=
wl_infra=1
wan_nat_x=0
filter_wl_time_x=00002359
wl_maclist_x=
pmon_ver=PMON 3.11.19.0
restore_defaults=0
wan0_ifname=eth1
vts_ipaddr_x=
vts_proto_x=
wl_radio_x=1
wan_lease=86400
wan_pppoe_service=
filter_lw_time_x=00002359
http_wanport=
wl_radius_ipaddr=
ddns_status_t=
lan_gateway=192.168.1.231
usb_websecurity_time_x=00002359
wl0_gmode_protection_x=0
wl0_ifname=eth2
wan_pppoe_txonly_x=0
lan_domain=
timer_interval=3600
wl_wdsnum_x=0
forward_port0=
usb_webactivex_x=7777
usb_ftpusername_x=
dr_staticnum_x=0
wan_pppoe_mru=1492
lan_ipaddr_t=192.168.0.15
lan_route=
vts_desc_x=
wl0_mode=ap
wan_gateway=
dhcp_start=192.168.1.2
time_interval=20
dhcp_staticmac_x=
usb_webrectime_x=0
wan_etherspeed_x=auto
url_keyword_x=
usb_websecurity_x=0
wl0_ap_isolate=0
vts_port_x=
dr_staticgateway_x=
wl0_radio_x=1
dhcp_end=192.168.1.254
usb_webfresh_x=1
wan0_dns_t=
os_flash_addr=bfc40000
filter_wl_date_x=1111111
wl0_gmode=1
dhcp_lease=86400
filter_wl_icmp_x=
usb_ftpnum_x=0
boardtype=bcm94710dev
is_default=1
filter_lw_proto_x=
et1macaddr=00:11:2F:xx:xx:xx
wl_gmode=1
filter_lw_date_x=1111111
url_num_x=0
usb_ftpport_x=21
usb_ftprights_x=
stats_server=
wan_gateway_t=
ntp_server0=time.nist.gov
filter_lw_icmp_x=
ntp_server1=
usb_websecurity_date_x=1111111
lan_netmask=255.255.255.0
wl0_dtim=1
wl0_ssid=default
http_username=admin
filter_wl_dstport_x=
et1mdcport=1
fw_wl_enable_x=0
usb_ftpenable_x=1
usb_ftpbanip_x=
wl0_macnum_x=0
wan0_pppoe_ifname=
os_date=Nov 11 2004
http_lanport=80
usb_webremote5_x=
wl_plcphdr=long
wl_macmode=disabled
wan_hwname=
wan_domain=
wl0_key1=
lan_lease=86400
wan_netmask=
wl_phytype=b
wan0_proto_t=
wan0_hostname=
wl0_key2=
wl_lazywds=0
wan0_status_t=Disconnected
wl0_key3=
macfilter_num_x=0
wl0_wdslist_x=
wl0_key4=
filter_client0=
filter_maclist=
wan_hwaddr_x=
ddns_username_x=
wl_auth_mode=open
usb_websense_x=1
usb_webhttpcheck_x=0
usb_webremote1_x=
autofw_outport_x=
misc_lpr_x=0
wl0_radio_power_x=19
http_passwd=admin
wl_wpa_psk=
sp_battle_ips=1
filter_wl_num_x=0
filter_lw_num_x=0
usb_ftpstaytimeout_x=240
lan_ifnames_t=eth2 eth1
lan_stp=1
wan_pppoe_demand=0
qos_ipaddr_x=
wl_mode=ap
fw_lw_enable_x=0
wan0_pppoe_passwd=
wl0_wdsapply_x=0
wl0_closed=0
wl0_plcphdr=long
wl0_rate=0
wl0_macmode=disabled
wl_wpa_gtk_rekey=0
wl0_radioids=BCM2050
wl0_phytype=g
wl0_lazywds=0
dr_default_x=1
wan0_mode_x=2
autofw_inport_x=
filter_wl_dstip_x=
wan0_pppoe_keepalive=0
wan_route_x=IP_Bridged
usb_web_flag=
wl0_afterburner=off
dr_staticnetmask_x=0
wl0_antdiv=-1
wl_chan_list=1 2 3 4 5 6 7 8 9 10 11 12 13
lan_hwaddr=00:11:2F:xx:xx:xx
wl0_radio_time_x=00002359
wan_dns=
boot_local=1.8.1.7-3
wl0_mode_x=0
wan0_pppoe_ac=
filter_lw_srcip_x=
wl_ssid=default
wl_dtim=1
wan_dns2_x=
wl_mode_ex=ap
wl0_wpa_psk=
wan_pppoe_mtu=1492
dhcp_staticnum_x=0
x_Setting=1
printer_status_t=
usb_webcaption_x=Web Camera Live Demo!!!
wan_netmask_t=
dhcp_wins=wan
wan0_pppoe_relay_x=0
os_server=
wl_macapply_x=Both
printer_user_t=
wan_proto=dhcp
wl_key1=
dr_static_matric_x=1
wl_key2=
sr_num_x=0
wl0_unit=0
wan0_pppoe_mru=1492
usb_web_device=
wl_key3=
wan_ipaddr_t=
wl_key4=
wl_country_code=DE
wl_hwaddr=
ddns_enable_x=0
wan0_etherspeed_x=auto
sr_if_x=
wan0_pppoe_txonly_x=0
wan_pppoe_idletime=1800
usb_websendto_x=
wl0_mode_ex=ap
wl0_radio_date_x=1111111
ntp_servers=time.nist.gov
productid=WLHDD
usb_ftp_device=
wl0_wds=
filter_wl_proto_x=
wan0_gateway_t=
wl_rate=0
sr_rip_x=0
usb_ftpmax_x=12
wan0_gateway=
log_level=0
ntp_server=192.5.41.40 192.5.41.41 133.100.9.2
wan_hwaddr=
misc_http_x=0
sr_enable_x=0
usb_webremote4_x=
lan_ifnames=eth2
wl_phrase_x=
wl0_wep_x=0
wl0_radius_port=1812
wl0_auth=0
wl0_radius_ipaddr=
lan_hostname=WLHDD
ddns_wildcard_x=0
vlan_enable=0
wl_country=
filter_lw_srcport_x=
wl_wep_x=0
qos_priority_x=
usb_webhttpport_x=7776
wan_pppoe_username=
wan_ifnames=eth1
wan0_domain=
wan0_hwname=
wl_rateset=default
wl_crypto=0
usb_webremote_x=LAN Only
lan_gateway_t=192.168.0.1
autofw_num_x=0
qos_maxbw_x=
clkfreq=125
lan_ipaddr=192.168.1.4
os_name=linux
lan_proto=dhcp
wl_radius_key=
url_enable_x=0
wan0_route=
wl_unit=0
wan_dns_t=
wl0_phytypes=g
wan0_pppoe_demand=0
wl0_frag=2346
wl0_wep=disabled
router_disable=1
wan0_netmask=
usb_device=1
sdram_config=0x0000
wl0_country=
dhcp_gateway_x=
wl_wdslist_x=
wan0_wins=
dmz_ipaddr=
usb_ftpsuper_x=0
wl_wds=
scratch=a0180000
wl0_rateset=default
usb_ftppasswd_x=
wan_dns1_x=
usb_ftpanonymous_x=1
lan_ifname=br0
wan_primary=0
wan0_nat_x=0
sdram_refresh=0x8040
wan0_pppoe_mtu=1492
filter_wl_srcip_x=
usb_webmode_x=1
wl0_wdsnum_x=0
dhcp_domain=wan
wl_auth=0
usb_webenable_x=1
sdram_ncdl=0x00000000
wan0_netmask_t=
wan0_dns2_x=
usb_ftpmaxuser_x=
hardware_version=WL300-02-03-01-20
usb_webdriver_x=0
ezc_enable=1
wl_frameburst=0
usb_ftptimeout_x=120
wan0_route_x=IP_Bridged
wan0_lease=86400
wl_macnum_x=0
qos_minbw_x=
is_modified=0
wan_ipaddr=
dmz_ip=
usb_websubject_x=Motion detection alert!!!
misc_natlog_x=0
sr_gateway_x=
wl0_macapply_x=Both
wl0_rts=2347
wan_pppoe_relay_x=0
wan_wins=
wl_ifname=
wl_wep=disabled
wl0_maclist_x=
wan0_hwaddr_x=
os_version=1.3.2.0
lan_dns_t=192.168.0.1
wl_gmode_protection=off
wl0_wpa_gtk_rekey=0
dhcp_staticip_x=
wl_radio_time_x=00002359
wan0_dnsenable_x=1
wan0_desc=Default Connection
wl_frag=2346
lan_netmask_t=255.255.255.0
wl0_key=1
dhcp_static_x=0
macfilter_list_x=
filter_macmode=deny
wl_maclist=
usb_webremote3_x=
no_br=0
filter_lw_default_x=ACCEPT
et0phyaddr=0
console_loglevel=1
filter_wl_srcport_x=
time_zone=GMT0
autofw_inproto_x=
vts_enable_x=1
fw_enable_x=1
wan0_pppoe_service=
wan0_pppoe_idletime=1800
usb_storage_device=
wan_ifname=eth1
usb_webattach_x=1
wan0_hwaddr=
wl_radioids=
wan_hostname=
vts_num_x=0
wan_status_t=Disconnected
wl0_radio=1
wl_corerev=
dr_static_rip_x=0
sr_ipaddr_x=
wl_channel=0
qos_port_x=
wl0_bcn=100
wan0_heartbeat_x=
sr_matric_x=
wl0_hwaddr=00:11:2F:xx:xx:xx
wl_radio=1
wl_afterburner=off
usb_ftpscript_x=
ezc_version=1
wl0_gmode_protection=off
wl_radio_date_x=1111111
usb_webimage_x=1
qos_maxup_x=0
wl0_maclist=
autofw_outproto_x=
sdram_init=0x0419
wl_rts=2347
ddns_passwd_x=
lan_wins=
wan_desc=
wl_ap_isolate=0
macfilter_enable_x=disabled
dl_ram_addr=a0001000
lan_hwnames=
url_time_x=00002359
wan_dnsenable_x=1
wan0_unit=0
wan0_pppoe_username=
wl0_radius_key=
regulation_domain=0X30DE
wan0_ipaddr_t=
autofw_enable_x=0
wl_radio_power_x=19
wl0_corerev=5
wan0_ifnames=eth1
wl_key=1
wl0_channel=0
ddns_hostname_x=
lan_proto_x=1
upnp_enable=1
sr_netmask_x=
fw_log_x=none
wan_pppoe_ac=
dhcp_enable_x=1
wan_proto_t=
misc_httpport_x=8080
wl0_auth_mode=open
wl_closed=0
et1phyaddr=01
autofw_port0=
wan0_dns1_x=
wan_heartbeat_x=
wl0_crypto=0
boardnum=asusX
autofw_desc_x=
dhcp_wins_x=
wan_pppoe_ifname=
firmver=1.8.1.7
wl_bcn=100
vts_protono_x=
dr_staticipaddr_x=
qos_rulenum_x=0
url_date_x=1111111
ddns_server_x=
wl_antdiv=-1
usb_bannum_x=0
size: 7404 bytes (25364 left)

Oleg
25-11-2004, 11:46
Yes, trying crossover cable is a good idea...
Alternatively you can plug regular cable from WAN port to LAN port (for testing) and check if number of received packets increases using ifconfig.

tny
25-11-2004, 20:38
Yes, trying crossover cable is a good idea...
Alternatively you can plug regular cable from WAN port to LAN port (for testing) and check if number of received packets increases using ifconfig.

the crossover cable didn't work. the WAN to belkin LAN connection did show some packets getting through the WAN port but I still couldn't get a DHCP.

[admin@(none) root]$ ifconfig
br0 Link encap:Ethernet HWaddr 00:30:BD:9C:62:CE
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:105 errors:0 dropped:0 overruns:0 frame:0
TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9120 (8.9 KiB) TX bytes:2370 (2.3 KiB)

eth0 Link encap:Ethernet HWaddr 00:30:BD:9C:62:CE
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:105 errors:0 dropped:0 overruns:0 frame:0
TX packets:53 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:11010 (10.7 KiB) TX bytes:3330 (3.2 KiB)
Interrupt:3 Base address:0x2000

eth1 Link encap:Ethernet HWaddr 00:30:BD:9C:62:CF
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:57 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:7623 (7.4 KiB) TX bytes:1812 (1.7 KiB)
Interrupt:4 Base address:0x8000

eth2 Link encap:Ethernet HWaddr 00:30:BD:9C:62:CE
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:45
TX packets:74 errors:5 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:9162 (8.9 KiB)
Interrupt:6 Base address:0x2000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MULTICAST MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

I tried connecting the belkin to the motorola wr850g wirelessly by setting the belkin to "client mode". I could see the belkin MAC address in the motorola web interface but I could not get a dhcp.
I thought this might be related to the WAN port not getting a dhcp since the WLAN port gets switched with the WAN port in client mode.

the belkin wireless port works in AP mode. I connected to the belkin with a usb wireless radio and it gets assigned an IP by the belkin.
the belkin lan port also works correctly.

Could this still be a problem with the nvram setting or is it that the asus kernel is not compatible with the belkin?

Oleg
25-11-2004, 20:57
Have you tried playing with speed setting? I mean launching


et -i eth1 speed 10half
et -i eth1 speed 10full
et -i eth1 speed 100half
et -i eth1 speed 100full

Looks like connectivity problem. Or your motorolla just ignores requests.
et driver does not care of manufacturer - it's mostly just stock broadcom thing.

Another thing is that some of GPIOs are used in the other way, so you could try disabling watchdog process, so it will not change anything, just type this:


mkdir -p /usr/local/sbin
echo "#!/bin/sh" >> /usr/local/sbin/pre-boot
echo "mount -obind /bin/true /sbin/watchdog" >> /usr/local/sbin/pre-boot
chmod +x /usr/local/sbin/pre-boot
flashfs save && flashfs commit && flashfs enable
reboot

After executing these commands your unit should reboot, you will then need to check, that there is no watchdog in the process list.
Let me know if this sequence works...

Oleg
25-11-2004, 21:03
Just checked your boardtype - yes disabling watchdog should help!
Looks like Belkin uses GPIO bit 6 to reset external phy, while ASUS uses it for reset button. So, looks like ac101l is always in reset state for you...

tny
25-11-2004, 21:54
I changed the speed of the wan port through the web interface but that didn't change the dhcp.

disabling watchdog using the code you posted does 2 things:
1. "connected" light no longer flashes and is off
2. et1 no longer shows any packets transmitting

also the dhcp doesn't work

[admin@(none) root]$ ifconfig
br0 Link encap:Ethernet HWaddr 00:30:BD:9C:62:CE
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:60 errors:0 dropped:0 overruns:0 frame:0
TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4034 (3.9 KiB) TX bytes:2216 (2.1 KiB)

eth0 Link encap:Ethernet HWaddr 00:30:BD:9C:62:CE
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:60 errors:0 dropped:0 overruns:0 frame:0
TX packets:45 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:5114 (4.9 KiB) TX bytes:4466 (4.3 KiB)
Interrupt:3 Base address:0x2000

eth1 Link encap:Ethernet HWaddr 00:30:BD:9C:62:CF
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:4432 (4.3 KiB) TX bytes:0 (0.0 B)
Interrupt:4 Base address:0x8000

eth2 Link encap:Ethernet HWaddr 00:30:BD:9C:62:CE
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:1
TX packets:30 errors:34 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 B) TX bytes:3218 (3.1 KiB)
Interrupt:6 Base address:0x2000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MULTICAST MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

[admin@(none) root]$ ps
PID Uid VmSize Stat Command
1 admin 528 S /sbin/init
2 admin SW [keventd]
3 admin SWN [ksoftirqd_CPU0]
4 admin SW [kswapd]
5 admin SW [bdflush]
6 admin SW [kupdated]
8 admin SW [mtdblockd]
42 admin 296 S telnetd
44 admin 312 S httpd eth1
50 nobody 456 S dnsmasq
51 admin 356 S syslogd -m 0 -O /tmp/syslog.log -S -l 6
55 admin 312 S klogd
56 admin DW [khubd]
65 admin 276 S lpd
69 admin 248 S p9100d -f /dev/usb/lp0 0
70 admin 248 S p9101d -f /dev/printers/0 1
76 admin 372 S udhcpc -i eth1 -p /var/run/udhcpc0.pid -s /tmp/udhcpc
78 admin 320 S infosvr br0
81 admin 380 S /tmp/udhcpc deconfig
85 admin 504 S -sh
88 admin 364 R ps

Oleg
26-11-2004, 08:04
I changed the speed of the wan port through the web interface but that didn't change the dhcp.

have you changed it back to auto?


disabling watchdog using the code you posted does 2 things:
1. "connected" light no longer flashes and is off


fine. In fact connected is power for wl500g and blinking power means, that watchdog detected, that the restore button is pressed.

2. et1 no longer shows any packets transmitting

also the dhcp doesn't work

Well, at least it's started receiving packets.
So, you can try manual IP assignment and then pinging the modem. Check tx counter then.

Strange thing is that you've
"/tmp/udhcpc deconfig" sleeping in the process list... I will check on this, it should exit almost immediately.

schufti
14-07-2006, 17:18
Hi,
I know this is a very old thread, but I couldn't find anything newer on this topic.

So: How about compatibility of Belkin 7230's with Oleg FW? Any new findings?

tnx,
schufti