rc.local not loading and some other questions
first of all, thanks for improving the 700ge, it really needs some love.
anyways, I have some problems getting the brick to load rc.local at bootup.
I've ofcourse updated the firmware, it says it's successful, but I do not know how to check this. (tried both the way you've described and the 'ASUS' way)
I have then uploaded the first rc.local via ftp to the web folder, but when I reboot I still don't have telnet access. I can telnet into the box if I put '/apps/bin/utelnetd -i br0 &' in showmessage.cgi in the web folder. (it brings up the login screen where you type 'root') I've then tried to follow the rest of the instructions and moved the rc.local and it is still not loading. I can install all the different packages, but it is frustrating that I have to manually edit showmessages.cgi, then type in:
export PATH=/opt/bin:${PATH}
and
export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}
when I want to enter the 700ge
and last but not least: manually start my services :-/
besides the rc.local I have these problems:
in 5.3 I get an error at "chown /opt/home/<username> <username>"
but apparently it succeeds if I type "chown <username> /opt/home/<username>" (it gives no reply)
I also have a problem installing dropbear. I'm logged in as root, but it gives me:
mkdir: cannot create directory '/root': (Operation not permitted)
lastly I'm stuck at 5.6, I cannot find .profiles (tried find . name "*profiles*")
EDIT:
I found 'profile' but only after I installed 'Bash' which is not explained in the tutorial :)
Hope you guys can help me out :)
/regards
Henrik
Utelnetd and terminal support
To all who are telneting into their boxes and curious why their terminal support is lousy it's because utelnetd does not properly set the terminal type. No matter what you login from, your TERM environment variable will be set to 'linux' which probably won't work very well.
To solve this, you can either set it manually (if you know what it should be as demonstrated within hal2k1's .profile example) or login via dropbear with a good ssh client like openssh (linux) or putty (windoze) where it will be set correctly.
- K.C.