Great new : thank
Is there a patch somewhere against the original firmware ?
Yes - this was a downgrade for me from the 1.0.4.6 firmware. I will try a reset on the device, and see what happens...
I just released the source of my customization: http://files.wl500g.info/asus/custom...2-1/source.zip
1) I added two functions mkfiles() and start_startup_script() that are launched at start_misc()
2) I reconfigured busybox to enable login
Last edited by MoD; 10-11-2006 at 18:56.
Hmm, interesting. MoD, what username do you have for your web-based session?
When I reset the router, I could telnet in using the defaults, (username admin password admin)
But when I changed the username and password combo, I can no longer logon to the router via telnet. Could there be some user/password telnet problems here?
Ha - I got it going again
I just typed in my name and password again in the system setup section of the web interface, then rebooted the router. Everything worked again.
For the ipkg stuff, I assume I have to obtain a binary from somewhere? Any advice on this?
Hmm, Ok, can't get ipkg working properly - got one installed to /shares/MYVOLUME1/MYSHARE1/opt/bin but it says ipkg: not found when I try to run it - it is definitely on my path, so not 100% sure what is happening there...
Coincidentally, is there any reason why this startup script isn't working?
#!/bin/sh
export PATH=$PATH:/shares/MYVOLUME1/MYSHARE1/opt/bin
export IPKG_CONF_DIR=/shares/MYVOLUME1/MYSHARE1/opt/etc
I have done the nvram set startup_script=/shares/MYVOLUME1/MYSHARE1/rcinit and nvram commit.
this could be uclibc issue
I do not know exactly bu it coud be because of permitions and ownership. when you create file from windows workstation, the owner is guest.Coincidentally, is there any reason why this startup script isn't working?
#!/bin/sh
export PATH=$PATH:/shares/MYVOLUME1/MYSHARE1/opt/bin
export IPKG_CONF_DIR=/shares/MYVOLUME1/MYSHARE1/opt/etc
I have done the nvram set startup_script=/shares/MYVOLUME1/MYSHARE1/rcinit and nvram commit.
I know that in telnet you can copy any script from the router to share, change the content and it will work. for example:
cp /apps/bin/rcinstall /shares/MYVOLUME1/MYSHARE1/rcinit
Hmm, no luck with that - the rcinstall file has root.root permissions, the same as the rcinit file I created (I am sharing the drive via NFS)
It seems that the uclibc libraries are needed for ipkg to run correctly, although I am not 100% sure about this - wouldn't it complain about missing libraries instead of just saying ipkg: not found?
I am running from Linux, so all the rcinit files I have made have been edited using vi, so that shouldn't be the cause of the problem. What permissions and uid/gid do you have on your rcinit file to make it work - I will see if that makes any difference...