Skip to content

Error Executing run.sh #5

@Dysfeathered

Description

@Dysfeathered

I had an issue executing run.sh. the following output was displayed:

~/Downloads/Tether-master
Starting Tether...
adb server version (40) doesn't match this client (36); killing...
* daemon started successfully *
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: "/home/ubreakifix/Downloads/Tether-master/linux/adb"
Checking phone status...
tun worker initialized.
Fatal error setting up TCP listener. (Exiting)
A possible cause may be that a "node.exe" processes was left dangling.
Please kill any node processes you find running.
This may also be cause by a firewall that disallows connections to Tether.

/home/ubreakifix/Downloads/Tether-master/node-tuntap/tuntap.js:558
      exitTether();
      ^
ReferenceError: exitTether is not defined
    at Server.<anonymous> (/home/ubreakifix/Downloads/Tether-master/node-tuntap/tuntap.js:558:7)
    at Server.EventEmitter.emit (events.js:96:17)
    at Server._listen2.self._handle.onconnection (net.js:894:14)
    at process.startup.processNextTick.process._tickCallback (node.js:244:9)
TCP Catcher worker has died. Exiting.
{ '0': 1, '1': null }

I am compiling this under Ubuntu Bionic installed to a Macbook Pro A1278 with a Core i5 processor, so amd64 architecture. I followed the following method to compile and install the dependencies every command was run through sudo.

apt-get install -y libssl-dev cmake build-essential g++ libncurses5 python npm
npm install chainsaw
cd ./node
./configure --without-snapshot
CXXFLAGS=-fpermissive
cd ..
./linux/run.sh

I also followed CrossfireSoftwarez Solution in the following link:
#1

Also, I had originally tried to compile nodejs-legacy from the included ./node directory. However the process outputted as such.

LINK(target) /home/ubreakifix/Downloads/Tether-master/node/out/Release/node: Finished
 touch /home/ubreakifix/Downloads/Tether-master/node/out/Release/obj.target/node_dtrace_header.stamp
 touch /home/ubreakifix/Downloads/Tether-master/node/out/Release/obj.target/node_dtrace_provider.stamp
 touch /home/ubreakifix/Downloads/Tether-master/node/out/Release/obj.target/node_dtrace_ustack.stamp
 touch /home/ubreakifix/Downloads/Tether-master/node/out/Release/obj.target/node_etw.stamp
make[1]: Leaving directory '/home/ubreakifix/Downloads/Tether-master/node/out'
ln -fs out/Release/node node

I'm not entirely sure what I've done wrong. I know this program is in need of some serious maintenance and it's essentially up to us, the community, to patch and bring it into modern times. but I could use a little help here. I've been trying for a day to get this program to run properly. and I'm running out of ideas.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions