PDA

Bekijk de volledige versie : Firmware v1.7.5.6 CR1 [Oleg]



Antiloop
04-04-2004, 19:52
New custom firmware based upon v1.7.5.6, release 1 created by Oleg

IMPORTANT: NO DISCUSSION ABOUT FIRMWARE, ONLY BUGREPORT INHERE
for discussion about this firmware click here: http://wl500g.info/showthread.php?threadid=227&goto=newpost

Changelog:

Located in the next post.

find official GPL sources from asus here:
ftp://ftp.asus.com.tw/pub/ASUS/wireless/WL-500g-03/GPL_1756.zip
ftp://ftp.asus.com/pub/ASUS/wireless/WL-500g-03/GPL_1756.zip
ftp://www.asus.it/pub/ASUS/wireless/WL-500g-03/GPL_1756.zip
http://www.asus.com.cn/pub/ASUS/wireless/WL-500g-03/GPL_1756.zip
http://www.kjo-msp.de/wl-500g/GPL_1756.zip

Mirror supplied thanks to WISI!
http://www.kjo-msp.de/wl-500g/1.7.5.6-1/wl500g-1.7.5.6-1.trx - firmware
http://www.kjo-msp.de/wl-500g/1.7.5.6-1/wl500g-1.7.5.6-1.tar.bz2 - sources
http://www.kjo-msp.de/wl-500g/1.7.5.6-1/wl500g-1.7.5.6-1-root.tar.bz2 - rootfs - to be copied to the ext2 partition

Firmware supplied thanks to Oleg :)
http://files.wl500g.info/asus/wl500g/firmware/customized/1.7.5.6-1/wl500g-1.7.5.6-1.trx - firmware
http://files.wl500g.info/asus/wl500g/firmware/customized/1.7.5.6-1/wl500g-1.7.5.6-1.tar.bz2 - sources
http://files.wl500g.info/asus/wl500g/firmware/customized/1.7.5.6-1/wl500g-1.7.5.6-1-root.tar.bz2 - rootfs - to be copied to the ext2 partition

mirror supplied thanks to Oleg!
http://wl500g.dyndns.org/wl500g-1.7.5.6-1.trx - firmware
http://wl500g.dyndns.org/wl500g-1.7.5.6-1.tar.bz2 - sources
http://wl500g.dyndns.org/wl500g-1.7.5.6-1-root.tar.bz2 - rootfs - to be copied to the ext2 partition

note:
Only post bugreports for this firmware HERE
do not discuss other things about building the firmware etc.. inhere

Oleg
04-04-2004, 20:40
# Differences with stock ASUS 1.7.5.6 firmware BUGFIX: Could not connect to PPTP service with 1.7.5.6 firmware
# BUGFIX: Host name setting is ignored by firmware
# BUGFIX: External port setting is ignored by 1.7.5.6
# BUGFIX: Incorrect firewall settings prevents using ftp server in passive mode with 1.7.5.6
# Support DHCP address allocation with PPTP service.
To activate DHCP set 0.0.0.0 as your static address. This is really experimental and mostly a quick workaround. It's not handling lease state changes.
# Support CHAP authentication with PPTP service.
# Support for specifying the static address for the external interface in PPPoE mode. Useful for management of the external ethernet modem.
# PPPoE relay could be used with any connection type.
# TKIP+AES mode support (thanks for Antiloop for discovering)
# Telnetd daemon running User and password are the same as used by web interface
# Updated wl.o module with client mode support
# Route ouput are no longer truncated to "known" interfaces
# NVRAM stored command execution. To use this do something like this

nvram set bootCmd0="/usr/sbin/wl -i eth2 txpwr 50"
nvram set bootCmd1="/mnt/usbfs/init"

Commit the changes using

nvram commit

# Dropbear ssh daemon (password only auth, ssh v2) In order to use ssh you will need to perform this steps once:
1. Connect to router using telnet;
2. Generate the DSS key using

/init/rc.sshd

3. If generation was successfull you will need to add /init/rc.sshd to bootCmds using something like

nvram set bootCmdX=/init/rc.sshd

4. Commit the changes using

nvram commit

5. Reboot the rooter using

reboot

or run /init/rc.sshd manually

# Replaced dproxy & udhcpd with dnsmasq to support both static leases and dhcp/dns integration (so you can resolve host names based on their dhcp names)
In order to use static hosts you will need to perform this steps:
1. Connect to router using telnet;
2. Write the static hosts (use /etc/hosts format)
nvram set etc_hosts=2
nvram set etc_hosts0="192.168.1.2 ipaq"
nvram set etc_hosts1="192.168.1.3 linuxbox"

3. Commit the changes using

nvram commit

4. Reboot the rooter using

reboot

# Support for root fs on the external usb storage driveIn order to make this thing to work you will need to
1. Create and format an ext2 partition on the usb drive and copy the initial image for the root fs (you can use the fs used in the current firmware also available separately here)
2. Set the right boot device using

nvram set boot_dev="/dev/scsi/host0/bus0/target0/lun0/part1"

3. Commit the changes using

nvram commit

After that wl500g on each reboot will try mounting the external device and if this succeeds boot from it, otherwise it will using the flashed root fs. Once you've booted from external storage you can remount your fs read-write using

mount -o remount,rw,noatime /dev/scsi/host0/bus0/target0/lun0/part1 /

(use noatime option to minimize the number of writes), make the changes and remount it read-only using

mount -o remount,ro /dev/scsi/host0/bus0/target0/lun0/part1 /

pipos
05-04-2004, 11:36
Hi Oleg,

Thank you for all your work!!!!!
and sorry for my english.

When i upgrade to 1.7.5.6-1, my wl-500g do not respond after power on/reboot.

when I disconnect cable from WAN interface, and boot, everything work well.

whne I bootup without WAN conected, and then connect it....everything is OK.

I use static IP on WAN without PPTP, PPPoE.


Question: what is the diferent in setting static DHCP leases from WEB, and from shell?

Thanks:confused:

Oleg
07-04-2004, 09:33
If it does not reboot right after the upgrade - there is nothing wrong (this happens only once). Kernel size has changed, and after the reflashing it can't find old executables. You need to power on/off manually. All subsequent reboots should be fine.
Static leases are managed identically both using web & direct nvram manipulation.
If you've any problems - please let me know.
Regards,
Oleg.

pipos
07-04-2004, 11:39
I also try to powercycle after reflashing. Unit was cca 10min powered off before, and after flashing too cca 10min.

When i haven't anything connected in WAN port, everything work fine.

But if there is something connected to WAN port during booting, unit will not boot.

when i power off, and than on, AIR led stays OFF.

I can try it once more on other piece of wl-500g
Did you try it with WAN connected???

Oleg
07-04-2004, 11:52
My ADSL modem is always connected to the WAN port.
Ok, another question - what is you port speed setting?
Did you use PPTP or PPPoE?

pipos
07-04-2004, 12:30
My wan port is connected to 100Mbs port on CISCO 2950.

I tried 10mb half-duplex, 100mb half duplex, and auto on asus.

I try other ports, connect wan to my PC, the same problem.
I use static IP. But There is a lot of trafic on CISCO 2950. WAN port LED flashes quickly.

when it freezes during boot, only power off and on, and unplug WAN can recover it back to normal.

restore button doesn't make any action

the problem is the same on two diferent wl-500g

Antiloop
07-04-2004, 12:41
Originally posted by pipos
My wan port is connected to 100Mbs port on CISCO 2950.

I tried 10mb half-duplex, 100mb half duplex, and auto on asus.

I try other ports, connect wan to my PC, the same problem.
I use static IP. But There is a lot of trafic on CISCO 2950. WAN port LED flashes quickly.

when it freezes during boot, only power off and on, and unplug WAN can recover it back to normal.

restore button doesn't make any action

the problem is the same on two diferent wl-500g

did you too try 10mb/100mb FULL-duplex at the Asus?

to tell my thing:
i'm using chello cable (non-docsis) (10mb half i believe, works with static or automatic speed) WAN is always connected and wl500g boots up properly

Oleg
07-04-2004, 12:42
Have your tried original ASUS 1.7.5.6 firmware?

pipos
07-04-2004, 14:31
Yes I tried original 1.7.5.6, and 1.7.5.6 with your patch.

these firmwares works fine.

only 1.7.5.6-1 is the problem. I have no idea what can be wrong

Oleg
07-04-2004, 14:53
Ok, try running these in your tenet/ssh session

------------
nvram get 2_x_ConnectionSpeed
nvram set 2_x_ConnectionSpeed
nvram commit
reboot
------------

get command should produce some output - post it here, other commands will clear up the nvram setting for connection speed and reboot the router. Check to see if it boots ok.

Also, does 1.6.5.3-5 works for you?

pipos
07-04-2004, 15:24
so at first one mystake...(i apologize you) between asus and cisco is one SMC unmanaged switch. (i find it just now behind the rack)
I try to connect rirectly to CISCO, and firmware works OK.
But 1.6.5.3-5 works behind SMC switch too.

After I try your commands asus don't boot after reboot.

I disconnect WAN cable, power off and on, and type your commands again.

nvram get .... was 0;

after boot and then connect WAN, ewerithing works fine.
With WAN conected during boot, asus don't respond to ping

1.6.5.3-5 works OK.

Oleg
07-04-2004, 16:19
Ok, try this firmware (http://wl500g.dyndns.org/1.7.5.6-test1.trx) and let mee know if it works for you.

pipos
07-04-2004, 16:39
WHOOW!!!!

This firmware seems to work fine. Same settings, same connection.

What was wrong???

Oleg
07-04-2004, 17:01
Nothing wrong, but I've removed setting of port speed. I'm wonder why this does not work.

Can you please try to execute this command from telnet/ssh session? It should set eth1 port speed to auto...

wlanutil ethsetx eth1 speed 0

pipos
07-04-2004, 17:22
This is what I got:

~ # wlanutil ethsetx eth1 speed 0
100~ #

btw: thanks a lot for your help..