Samba Client


Well you could try running "env > /mnt/sd/bootupenv" on bootup and compare it to env run through telnet. Sounds very much like environment variables not being set correctly before telnetting to me - I've had similar problems when making Open2x launch some applications correctly (though it wasn't exactly the same situation).
 
Okay, here are the results:
First, from telnet:
CODE

PWD=/mnt/sd
HOSTNAME=gp2x
LD_LIBRARY_PATH=./:/lib:/usr/local/lib:/usr/lib
PS1=[\u@\h \W]$
USER=root
MAIL=/var/spool/mail/root
LOGNAME=root
SHLVL=1
SHELL=/bin/sh
TERM=ansi
HOME=/root
PATH=/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin
_=/usr/bin/env
OLDPWD=/root


And then running from gmenu2x:
CODE

PWD=/mnt/sd
CONSOLE=/dev/console
LD_LIBRARY_PATH=./:/lib:/usr/local/lib:/usr/lib
PREVLEVEL=N
SHLVL=3
_=/usr/bin/env
HOME=/
TERM=linux
PATH=/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin
RUNLEVEL=S
INIT_VERSION=sysvinit-2.84



Now what do I do?
 
Anyone? It would certainly be great to lie in bed watching movies without getting up and reconnecting the smb-shares via telnet on my computer when the gp2x freezes. ;)
 
Back
Top