Page 1 of 1

/bin/hostname: not found

Posted: Mon Oct 19, 2009 3:29 am
by mgrunt
Hi, I'm a new user of mini2440. When I get mini2440 from seller and when I power on, Linux is starting. When is Linux started and I must calibrate touchpad. But I can't click with stylus pen on calibrate icon and I'm inadvertently deleting /bin/hostname file (after that I connect USB mouse, and click on calibrate icon with mouse...). When I connect to mini2440 over telnet I get this error:

Code: Select all

Kernel 2.6.29.4-FriendlyARM on (/dev/pts/0)
(none) login: root
Password:
-sh: /bin/hostname: not found
[root@(none) /]#
Can you anybody send me this file? Thank you

Michal Grunt

PS: Sorry for my terrible English.

Re: /bin/hostname: not found

Posted: Mon Oct 19, 2009 5:18 am
by mgalemin
Hi Michal,

If you use Busybox on your Mini2440 you should make symbolic link 'hostname' to /bin/busybox:

Code: Select all

ln -s /bin/busybox /bin/hostname

Re: /bin/hostname: not found

Posted: Wed Oct 21, 2009 1:04 pm
by mgrunt
Hello, thank you, it's works!

Michal Grunt