![]() |
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:
|
Re: where is ping, ifconfig, host?
Just did an "apt-cache search" on telnet, traceroute and ifconfig, ping.
Traceroute and ping is in the repository, but no luck for telnet and ifconfig. I'm not sure which repository it belongs to, but i suppose it is maemo's. Anyway, i believe the busybox method will shave off a few kbs. |
Re: where is ping, ifconfig, host?
apt-get install iputils* got me ping tracroute and arping. w00t
|
Re: where is ping, ifconfig, host?
http://maemo.lancode.de/
Go to binarys subdir for some of the tools |
Re: where is ping, ifconfig, host?
I just successfully install iputils-ping by adding repository
Web address: [WWW] http://repository.maemo.org/ Distribution: bora Components: free Took me forever just to get this package for ping! Tried other repository settings and got the "unable to refresh list error" and apt-get didn't work either and neither did blue pill mode. Hope this help anybody who wants ping etc! |
Re: where is ping, ifconfig, host?
ping is now included in 4.2007.26-8.
|
All times are GMT. The time now is 08:57. |
vBulletin® Version 3.8.8