iPhone USB tether for Ubuntu


iPhone as a wireless device on Ubuntu, using pdanet on jailbroken iPhone

How to Use:
  1. Make sure only one iPhone is connected to your computer.
  2. iPhone: Lauch PDA.net on your iPhone. Start USB tether on PDA net.
  3. Ubuntu terminal: Do NOT forget to type Ctrl-C.
    $ sudo umux2007.py 
      [sudo] password for doctor: 
      2020-09-10 17:25:52+0200 [-] Log opened.
      2020-09-10 17:25:53+0200 [-] usbmux connected (fd 6, pid 2450)
      ^C
      
  4. Ubuntu terminal:
    $ sudo pon umux2007
    $ ifconfig
    eth15     Link encap:Ethernet  HWaddr fc:61:98:93:6b:d5  
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    ppp0      Link encap:Point-to-Point Protocol  
              inet addr:68.245.171.115  P-t-P:68.245.171.115  Mask:255.255.255.255
              UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
              RX packets:6 errors:1 dropped:0 overruns:0 frame:0
              TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:3 
              RX bytes:284 (284.0 B)  TX bytes:265 (265.0 B)
      
  5. Enjoy your Internet Connection! Note: The Internet connection Icon does NOT show it is connected.

It is useful when

How to Install:
  1. /usr/local/bin/umux2007.py
  2. /etc/ppp/peers/umux2007
  3. Note: If you use Ubuntu 18.04, you need to install two packages. 18.04 has python3 installed as default, but not python iteself.
  4. sudo apt-get install python
  5. sudo apt-get install python-twisted.
How to Use:
  1. Install and Set up (see below)
  2. iPhone: Lauch PDA.net on your iPhone. Start USB tether on PDA net.
  3. Ubuntu terminal: $sudo umux2007.py for creating /dev/umux2007
  4. Ubuntu terminal: $sudo pon umux2007.
My Environment:

Ubuntu 14.04 seems to have python-twisted. (I did not need to install it.) libusbmuxd2 is also installed.

It is libusbmuxd2, which is installed, thus you have to modify umux2007.py. it is programmed to call a library libusbmuxd.1.so, which should be changed to libusbmuxd.2.so.

Now pdanet and umux2007.py works perfectly!

Note:


Command I used for this bug fix.
Go back to Mobile

20180802