Trying to launch nano

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
evilkitty
DD-WRT User


Joined: 12 Mar 2014
Posts: 167
Location: USA

PostPosted: Sat Nov 22, 2014 21:55    Post subject: Trying to launch nano Reply with quote
Any ideas?
Code:
root@WZR-300HP:~# ls /usr/local/bin/ /usr/local/lib/
/usr/local/bin/:
nano          wake-server   wake-server2

/usr/local/lib/:
ipkg                libmenuw.so         libncursesw.so.5    libpanelw.so.5.9
libformw.so         libmenuw.so.5       libncursesw.so.5.9
libformw.so.5       libmenuw.so.5.9     libpanelw.so
libformw.so.5.9     libncursesw.so      libpanelw.so.5
root@WZR-300HP:~# nano /tmp/testFile
-sh: nano: not found
root@WZR-300HP:~# /usr/local/bin/nano /tmp/testFile
-sh: /usr/local/bin/nano: not found
root@WZR-300HP:~# /jffs/usr/local/bin/nano /tmp/testFile
-sh: /jffs/usr/local/bin/nano: not found
root@WZR-300HP:~# echo $PATH
/bin:/usr/bin:/sbin:/usr/sbin:/jffs/sbin:/jffs/bin:/jffs/usr/sbin:/jffs/usr/bin:/mmc/sbin:/mmc/bin:/mmc/usr/sbin:/mmc/usr/bin:/opt/sbin:/opt/bin:/opt/usr/sbin:/opt/usr/bin

_________________
Router: Buffalo WZR-300HP w/ DD-WRT build #28444
Sponsor
evilkitty
DD-WRT User


Joined: 12 Mar 2014
Posts: 167
Location: USA

PostPosted: Sun Nov 23, 2014 0:14    Post subject: Reply with quote
sorry forgot ls does not color code it after i post it here
Code:
chad@M4A79XTD-EVO:~$ ssh root@10.0.0.1 'ls -l /usr/local/bin/'
DD-WRT v24-sp2 std (c) 2014 NewMedia-NET GmbH
Release: 11/20/14 (SVN revision: 25408)
-rwxr-xr-x    1 root     root         61976 Nov 22 21:36 nano
-rwxr-xr-x    1 root     root            56 Mar 31  2014 wake-server
-rwxr-xr-x    1 root     root            56 Mar 31  2014 wake-server2
chad@M4A79XTD-EVO:~$ ssh root@10.0.0.1
DD-WRT v24-sp2 std (c) 2014 NewMedia-NET GmbH
Release: 11/20/14 (SVN revision: 25408)
==========================================================
 
 ____  ___    __        ______ _____         ____  _  _
 | _ \| _ \   \ \      / /  _ \_   _| __   _|___ \| || |
 || | || ||____\ \ /\ / /| |_) || |   \ \ / / __) | || |_
 ||_| ||_||_____\ V  V / |  _ < | |    \ V / / __/|__   _|
 |___/|___/      \_/\_/  |_| \_\|_|     \_/ |_____|  |_|
 
                       DD-WRT v24-sp2
                   http://www.dd-wrt.com
 
==========================================================


BusyBox v1.22.1 (2014-11-20 01:14:38 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

root@WZR-300HP:~# cd /usr/local/bin/
root@WZR-300HP:/usr/local/bin# ./nano /tmp/test
-sh: ./nano: not found
root@WZR-300HP:/usr/local/bin# ./nano
-sh: ./nano: not found
root@WZR-300HP:/usr/local/bin#


_________________
Router: Buffalo WZR-300HP w/ DD-WRT build #28444
evilkitty
DD-WRT User


Joined: 12 Mar 2014
Posts: 167
Location: USA

PostPosted: Sun Nov 23, 2014 1:42    Post subject: Reply with quote
the only thing i can think of that could prevent it from working should not be possible
how could it be compiled for the wrong architecture when it ran on a past build on the same device
the architecture of the build would not have changed from the 23838 and the 25408 build
does this chip even support multiple architectures?
Atheros AR7242 rev 1.1 (0x1101)

_________________
Router: Buffalo WZR-300HP w/ DD-WRT build #28444
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum