Hi, all!
This is my first post to the boards here, so I can't yet make attachments to my posts else I'd post a screenshot of my problem.
I'm attempting to run a script (run.sh), but it will not find a file (adb) no matter what I do. This program is not one I made myself, it is the program tether-linux, which I untarred and installed myself.
I have used this program on BackTrack5r3 and Ubuntu 12.04LTS without issue, but since upgrading to Kali Linux from BT5r3, it for some reason will not work. I checked the file structure against Ubuntu 12.04 and everything is the same. I installed it the way I always do: (moving the tar file to /usr/local/src first)
Code:
tar xzvf tether-linux.tgz
cd into the new directory /Tether/linux/node and run
Code:
./configure
make
make install
and receive no errors.
Here is what my terminal looks like when trying to start the tether service:
Code:
root@kali:~# cd /usr/local/src/Tether/linux
root@kali:/usr/local/src/Tether/linux# ls
adb run.sh
root@kali:/usr/local/src/Tether/linux# ./run.sh
/usr/local/src/Tether/linux
Starting Tether...
./run.sh: line 38: ../linux/adb: No such file or directory
Opening tun device.
Opening tun device: /dev/net/tun
Forking worker.
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Opening tun device.
adb binary path: "/usr/local/src/Tether/linux/adb"
Checking phone status...
tun worker initialized.
{ [Error: Command failed: /bin/sh: 1: /usr/local/src/Tether/linux/adb: not found
]
killed: false, code: 127, signal: null }
Listening on tether port...
root@kali:/usr/local/src/Tether/linux# ls
adb run.sh
root@kali:/usr/local/src/Tether/linux# cd\
>
root@kali:~# /usr/local/src/Tether/linux/adb
bash: /usr/local/src/Tether/linux/adb: No such file or directory
root@kali:~# cd /usr/local/src/Tether/linux
root@kali:/usr/local/src/Tether/linux# ls
adb run.sh
root@kali:/usr/local/src/Tether/linux# HELP!!!
As we can see, adb is clearly there and it's where the installer put it, which is the same place as the Ubuntu install, which works fine. I've also done:
, rebooted, and installed the entire thing over again and get the same error.
Any help in getting this shell script to recognize that adb is there would be greatly appreciated! I need to tether since Kali doesn't come with the wicd network manager and thus I need to download it.
Hopefully as I post around the boards I'll be granted permission to post attachments, a screenshot would have been much easier for you to read.
Thanks.
PS - Unless I'm mistaken, Kali is always in root, but just to make sure I tried running the ./run.sh script in a sudo shell and got the same error. sudo command did not prompt for password either, so I think I'm already root. I also tried exec ./run.sh to no avail.