Need help with the last step
I can't get ipkg update, i added the ipkg.conf file in to the correct directory and all. this is the problem i am having can someone please help me out, thank you!
" # Add the following line to /opt/etc/ipkg.conf with the newly installed busybox version of vi: "src optware http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable". Here's a copy of mine.
# Run "ipkg update"
# For completeness, re-run "ipkg install" for uclibc, busybox, ipkg, and wget to fully install them. You may have to use the -force-overwrite flag."
i followed these steps and also "mv /shares/MYVOLUME1/MYSHARE1/web/ipkg.conf /shares/MYVOLUME1/opt/etc/ipkg.conf" and then after that i tired to type
ipkg update and that's when i get the error """""" ipkg update
ipkg: not found
#
# ipkg install
ipkg: not found
#
#
# # ipkg Update
# ipkg: not found
ipkg:: not found
# #
# # ipkgupdate
# ipkgupdate: not found
ipkgupdate:: not found
# #
# # ipkg update
# ipkg: not found
ipkg:: not found
# #
# # ipkg install
# ipkg: not found
ipkg:: not found""
can someone please help me i have no idea what i might be doing wrong. Thank you!
Problems updating firmware
Hi,
Can anyone help me please?
I have followed the windows based instructions for updating to KC's firmware and the firmware is successfully uploaded to the router. I then get a minute or two of IDE activity. Whenever I run EZSetup after that though it fails and doesn't tell me why!?
The router then works absolutely fine, as if I hadn't done anything to it. My share is still there with data on it. Some settings have returned to default but other than that it's as it was before.
Is there a way to tell if I have the custom firmware on it now?
Thanks for your help.
Firmware is on now....but....
the rc.local isn't being executed when the router reboots. Any ideas why not?
rc.local still not executing!
Quote:
Originally Posted by
Hacksaw
I will ask the obvious question: Did you rc.local move it to /shares/MYVOLUME1 and chmod the file to 775?
I guess I should ask the other question: How do you know it is not getting executed? :D
Unfortunately, I have got it in the right place and I chmod ed it to 755...should it be 775?
I know it's not being executed because after a reboot I have to modify the path and mount /opt again.
re question about IF stmt
Here's the entire rc.local
Quote:
#!/bin/sh
pool=`nvram get apps_pool`
share=`nvram get apps_share`
internal_hdd=/dev/ide/host2/bus0/target0/lun0/disc
if [ \! -f /tmp/rc.local.done ]; then
# Indicate we've already done this
touch /tmp/rc.local.done
#
# Mount /opt and connect in various system files
#
if [ -e /shares/${pool}/opt ]; then
mount -o bind /shares/${pool}/opt /opt
cat /proc/mounts > /opt/etc/fstab
ln -s /opt/etc/shells /tmp/shells
ln -s /opt/etc/fstab /tmp/fstab
export PATH=/opt/bin:/opt/sbin:${PATH}
export LD_LIBRARY_PATH=/opt/lib:/shares/lib
fi
# Start utelnetd on local interface only!
/apps/bin/utelnetd -i br0 &
# Test for and start dropbear
echo "dropbear?" | logger -p local0.notice
if [ \! -a /var/run/dropbear.pid ]; then
echo "dropbear!" | logger -p local0.notice
/opt/etc/init.d/S51dropbear
echo "dropbear started" | logger -p local0.notice
fi
# Stop & Start web server
echo "thttpd" | logger -p local0.notice
killall thttpd
/apps/bin/thttpd -dd /shares/webbase -p 8081 -i /var/run/thttpd.pid -v
# Add confirmation that rc.local was executed
echo "rc.local executed" | logger -p local0.notice
fi
Not much different from your samples...
I'll try rebooting if necessary to review the log messages.
--Brian
I locked myself out - Previous version of Kfurge's firmware?
I locked myself out of my shell (no telnet, no valid shell for ssh), so cannot get into my WL700.
Although I have tried various approaches described on the forum, I cannot prevent the rc.local in /MYVOLUME1/ from being executed (and preventing me from logging in). The telnet hack described, does not work for me (see my other post http://wl500g.info/showthread.php?t=8858).
Therefore I was wondering if a previous version of Kfurge's firmware might do the trick. Especially the one that expects an rc.local in /MYVOLUME1/MYSHARE1/. This location I can reach (by nfs) and can modify files in.
I'm thinking that downgrading to that custom firmware might force the WL700 to use the rc.local in /MYSHARE1/ which I could make to enable telnet. Right?
Only problem, Kfurge doesnt offer this version for download, and I do not know which version of Kfurge's firmware it should be. Can anybody help me with this? Thanks.
Downgrading to the previous version worked like a charm...
Still wanting dropbear to autostart.
Quote:
Originally Posted by
kfurge
Yep, that should work OK. Any chance that the dropbear startup script is not set as executable?
- K.C.
Nope, it's set executable. If the ASUS box is starting due to a power failure, do you think it could be actually finding the dropbear.pid file? I thought the /var/run folder got rebuilt and/or cleared on a restart. Sometimes these computers frustrate us by doing exactly what we tell them to do!
--Brian
As I get moments here and there, I want to improve the message logging on this system.