Wow, great work Oleg!
I guess there's some configuation to do on the router if you want to do this. Have you added web setup pages to enable this?
Changelog:
- Removed temp. function speed setting for WAN because of some problems it seem to cause
+ Added Print driver P910LD
- Removed LPRng printing daemon
New custom firmware and accompanying sources (10 MBytes) for building it and a root fs if you need this. Also I've updated the wl500g page
Also it's available here:
Thanks to WISI!
http://www.kjo-msp.de/wl-500g/1.7.5....-1.7.5.6-2.trx firmware
http://www.kjo-msp.de/wl-500g/1.7.5.....5.6-2.tar.bz2 sources
http://www.kjo-msp.de/wl-500g/1.7.5....2-root.tar.bz2 root fs
http://files.wl500g.info/asus/wl500g...-1.7.5.6-2.trx firmware
http://files.wl500g.info/asus/wl500g....5.6-2.tar.bz2 sources
http://files.wl500g.info/asus/wl500g...2-root.tar.bz2 root fs
Differences with 1.7.5.6-1
Wan port speed setting removed due to problems on booting with some hardware. Sorry, I can't test it, so I've decided to remove this. For ones who need this I'm recommending using nvram command execution as below
nvram set bootCmdX="/usr/sbin/et -i eth1 speed 100full"
nvram commit
Replaced ASUS supplied printing solution with p910nd daemon which implements Raw port printning with Socket API protocol (also known as HP JetDirect)
In order to use new printing facility from Windows you will need to change the port seetings to use "Raw" protocol instead of "LPR" and specify port number for the port. Use 9100 for printer connected to the LPT port or 9101 for USB connection. Please note, it's now possible to use two printers at the same time. The port settings dialog should look like the on the attached image.
For ones who is interesting why I've changed this: lpd implemented by ASUS are in fact based on LPRng printing daemon and implements LPR protocol, which is in fact need spooling directory. Asus guys has modified it a little so it does not use spooling but resultant software is a big piece of glitches which we can't fix due to number of reasons - unavailability of source code (yes, Asus violating GPL) and the LPR protocol nature. JetDirect printing on the other hand is support direct printing without need for spooling and provides everything needed for remote host software to talk with printer. What it gives? Higher printing speed, support for unlimited prining job size (with Asus solution I'm unable to print any photo to my deskjet, and now it's possible) canceling of the job and everything you ever need. Everything that was supported with Asus LPR printing is supported with RAW protocol, may be it's supports even more. Also there is a Linux Router project page which has a list of successfully used printer in such setup and has a link in how to setup different Windows versions. Personally I'm using HP DeskJet 3420 printer which is now works like a charm.
Last edited by Antiloop; 14-04-2004 at 08:29.
Wow, great work Oleg!
I guess there's some configuation to do on the router if you want to do this. Have you added web setup pages to enable this?
It's just a drop-in replacement for the ASUS thing (yes I've modifed firmwar scripts for this to work).
are 2 usb printers possible too? (surely coming question by someone)
or should the printing script be changed then..
This is possibly, but I don't recomend this, because usb printer numbers can't be determined in advance. It's plug&play like. To whom who needs this I recommend add this using nvram commands like this
nvram set bootCmdX="/usr/sbin/p910nd -f /dev/usb/lp1 2"
in this case port 9102 will be assigned to the second usb printer.
damn.. first firmware failure as it looks..
power led keeps flashing :S
anyway going to recover as soon as i've downloaded the asus tools
edit:
downloaded and recovered with no loss of settings
back on track
Last edited by Antiloop; 09-04-2004 at 20:19.
After I flashed the router, the admin pages did not return. Internetting was also impossible. I could use telnet to login though and looked around on the system and this is what I found:
I've got no idea what this error is or what caused it, but after I did a power cycle, everything was working fine..Code:conntrack_ftp: partial 227 2744943456+23 Error -5 while decompressing! 8019df7e(1686)->808ca000(4096) Error -3 while decompressing! 8019e614(1651)->80652000(4096) Error -3 while decompressing! 8019ec87(1544)->80347000(4096) Error -3 while decompressing! 801a0006(1592)->80346000(4096) Error -3 while decompressing! 801a0d04(1784)->80ab1000(4096)
Which firmware version you've used for recovering? Does 1.7.5.6-2 works for you?Originally posted by Antiloop
damn.. first firmware failure as it looks..
power led keeps flashing :S
anyway going to recover as soon as i've downloaded the asus tools
edit:
downloaded and recovered with no loss of settings
back on track
WL-500g was not able to reboot as seems after it has completed flashing. I can't do anything with this thing. I'm recommend to manually power off/on router after the firmware upgrade.Originally posted by Styno
After I flashed the router, the admin pages did not return. Internetting was also impossible. I could use telnet to login though and looked around on the system and this is what I found:
I've got no idea what this error is or what caused it, but after I did a power cycle, everything was working fine..Code:conntrack_ftp: partial 227 2744943456+23 Error -5 while decompressing! 8019df7e(1686)->808ca000(4096) Error -3 while decompressing! 8019e614(1651)->80652000(4096) Error -3 while decompressing! 8019ec87(1544)->80347000(4096) Error -3 while decompressing! 801a0006(1592)->80346000(4096) Error -3 while decompressing! 801a0d04(1784)->80ab1000(4096)
Ok, I was expecting that...Originally posted by Oleg
WL-500g was not able to reboot as seems after it has completed flashing. I can't do anything with this thing.
I did that and the router has been working flawlessly since.I'm recommend to manually power off/on router after the firmware upgrade.
do i simply have to upgrade the alternative firmware over the web admin? didnt work with it, and didnt find any information about needed steps or if i need an usb flash for doing this
sorry for this question rofl, but i really didnt find it
the main reason is the new printer support *G*
good work oleg and antiloop
edit OT: since now already over 550 MB traffic
yes using CR2 now, don't why the upgrade failed..Originally posted by Oleg
Which firmware version you've used for recovering? Does 1.7.5.6-2 works for you?
You don't need USB flash for normal operation. This firmware is just a replacement for the official one, so process for upgrade is identical.Originally posted by Wisi
do i simply have to upgrade the alternative firmware over the web admin? didnt work with it, and didnt find any information about needed steps or if i need an usb flash for doing this
sorry for this question rofl, but i really didnt find it
the main reason is the new printer support *G*
good work oleg and antiloop
edit OT: since now already over 550 MB traffic
thx
wuh, the new buttons are slightly crazy
I don't know whose problem is (Asus's, Oleg's, my printer's, or mine), but I'm going to post it anyway
So, when I connect my printer, the kernel module says ooops :|
Dmesg:
printer.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04F9
pid 0x011E
printer.c: usblp0 Device ID string [51]='MFG:Brother;CMD:HBP,PCL;MDL:MFC-9180;CL
S:PRINTER;'
Unable to handle kernel paging request at virtual address 00000000, epc == c00a1
3b4, ra == c00a1440
Oops in fault.c::do_page_fault, line 192:
$0 : 00000000 c00a0000 0000006e c00a37a7 c00a3f1f 00000000 ffffffff c00a3ed8
$8 : 00001035 0000000a 00000000 00000000 80191329 fffffffa 0000000a 80755cb1
$16: 00000001 80133058 809a1c02 00000000 807633a0 80ac4800 00000000 c0098460
$24: ffffffff 00000002 80754000 80755de0 00000000 c00a1440
Hi : 00000000
Lo : 0000006d
epc : c00a13b4 Not tainted
Status: 1000fc03
Cause : 00000008
Process khubd (pid: 464, stackpage=80754000)
Stack: c00a373c 00000000 00000033 809a1c02 00000001 00000000 809a1c00
000003ff 80ac4a00 c00a1000 c00a3844 80010fac c00a2ec8 c00a2e4c c00a39c0
80183a64 80763620 00000002 00000000 00000000 00000002 000004f9 0000011e
8076335e 0030706c 80a11f40 c00a3df8 00000001 c00a3db4 c00a3e18 c0087484
c0087f90 00000190 c0080008 c00985e0 80010fac 80ac4828 00000000 00000001
80ac4800 ...
Call Trace: [<c00a373c>] [<c00a3844>] [<80010fac>] [<c00a2ec8>] [<c00a2e4c>]
[<c00a39c0>] [<c00a3df8>] [<c00a3db4>] [<c00a3e18>] [<c0087484>] [<c0087f90>]
[<c0080008>] [<c00985e0>] [<80010fac>] [<c00872c4>] [<c00870f4>] [<c0087960>]
[<c0091fc4>] [<80010fac>] [<c00984c4>] [<c008a4d4>] [<c008a460>] [<80010fac>]
[<c008c964>] [<c00967ac>] [<c008c1c4>] [<c008b2fc>] [<80010fac>] [<c008c6d0>]
[<c008cca0>] [<8000cda8>] [<c00984d0>] [<8000eb64>] [<8000ea80>] [<c00984e0>]
[<c00984d0>] [<c008ca50>] [<c008cfe4>] [<800113f4>] [<80011318>] ...
Code: 10a00021 00008021 24a50004 <80a30000> 2402003b 10620003 00003021 1200
000c 00a01821
SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
And the new print daemon does not start at boot, nor dropbear (Yeah, bootcmds are set)
Any solution?
btw Oleg keep up good work. Still better than the ASUS stuff, even if it's not working :P
Josephus
HuWiCo - Hungarian Wireless Community
http://www.huwico.hu