![]() |
where is ping, ifconfig, host?
I have xterm installed and I am able to connect through my wireless router to the internet. In my router interface, i don't see the n800 show up as a client on the dhcp client list. This is strange since I am actually connected through the router to the internet.
As a fallback, I tried to issue ping and ifconfig in xterm but I get a "command not found". Aren't these commands included with the operating system? How do I make the n800 tell me what it's ipaddress is? -- rhackenb |
Re: where is ping, ifconfig, host?
ifconfig will get you the IP info.
as for ping, traceroute and a bunch of other commands, i think they were stripped from the OS for size/footprint. someone provided those for the 770, but i havent come across them for the n800. |
Re: where is ping, ifconfig, host?
Quote:
Code:
ln -s /bin/busybox2 ping ifconfig is already installed by default, but you need to be root to run it (sudo gainroot first, then ifconfig etc.) |
Re: where is ping, ifconfig, host?
It's strange that ifconfig has be run as root. I think I know why. /sbin must be on the path of root but not of user. It can be invoked by user via /sbin/ifconfig.
I'm not sure what your data.tar.tz file does. It looks like it is establishing in /usr/busybox a bunch of symbolic links to various utilities found in /bin /usr/bin /sbin, etc. After I gunzip the data.tar.gz, what location do I do the untarring? Also, what is busybox2? There is none on my n800. Thanks, rhackenb |
Re: where is ping, ifconfig, host?
Quote:
Quote:
NOTE: I'm not responsible for data.tar.gz, and can't be held responsible if you hose your N800 (a reflash should fix it) :) |
Re: where is ping, ifconfig, host?
As a quick workaround you can use ping from initfs (as root). There is another busybox there configured with more commands. Use ping like
Code:
/home/user # chroot /mnt/initfs ping 10.6.101.1 Code:
/home/user # cp /etc/resolv.conf /mnt/initfs/etc/ |
Re: where is ping, ifconfig, host?
You could be interested in this news: http://maemo.org/news/view/1181130611.html
Are traceroute and iputils and others tools for the device. Best Regards. |
Re: where is ping, ifconfig, host?
Thanks for all the good info. Somehow all this knowledge needs to be coallesced into a wiki for others to refer to.
I basically set up my n800 with xterm and ssh so that I can log on to it wirelessly from my linux desktop so that I can work more easily with a fullsize keyboard and screen. |
Re: where is ping, ifconfig, host?
erm, what's the difference between doing this busybox thing and simply doing a "apt-get install ping"? It worked on my N800..
|
Re: where is ping, ifconfig, host?
Quote:
|
All times are GMT. The time now is 03:03. |
vBulletin® Version 3.8.8