@Stanislav you've been right!
I changed the ` (backsticks) to single quotes and the script works! Thanks a lot! From the side of the Neo I am now able to place a ping to any URL in the Internet (e.g. http://buildhost.openmoko.org/), but unfortunately when I run $ ipkg update Downloading http://buildhost.openmoko.org/snapshots/2007.08/ipk/all/Packages.gz wget: Unable to connect to remote host (88.198.84.234): No route to host ... Seems not to be my lucky day ;-) Markus Am Sonntag, 14. Oktober 2007 17:59 schrieb Stanislav Karchebny: > On Sunday 14 October 2007 18:42:49 Markus Fischer wrote: > > /usr/local/sbin/dnrd -a 192.168.0.200 -s192.168.10.1 -u > > flyingfischer -d3 -moff > > Change script: > NAME='nobody' > to > NAME='flyingfischer' > > On Fedora, due to paranoid security you cannot run this script in sudo, you > need to start it as root (that's why it doesn't find anything in /sbin for > you). But since you changed the paths, it should manage to run in sudo now > as well. > > > Something with the script seems to be wrong for my system (Fedora 5). > > > > > giving me: > > > # ./gta01.sh > > > getpwnam: Success > > > ERROR: Could not become "dnrd" user. Please create the user account or > > > specify a valid user with the -u option. > > > ./gta01.sh: line 75: eth1: command not found > > > SIOCADDRT: Die Datei existiert bereits (file already exists) > > > ./gta01.sh: line 97: -a: command not found > > > > to > > > > IFCONFIG=`/sbin/ifconfig` > > DNRD=`/usr/local/sbin/dnrd` > > IPTABLES='/sbin/iptables' > > ROUTE='/sbin/route' > > WRONG! You used backticks here, which effectively cause these programs to > run in place. Use normal single or double quotes for all program paths in > these four lines and it all will be fine. > > HTH -- Markus Fischer Dänikerstrasse 7 CH-4653 Obergösgen Fon +41 (0)62 296 12 82 Fax +41 (0)62 557 82 82 http://www.flyingfischer.ch

