May 052011
 

I am sure many people have heard that verizon has asked google to remove tethering applications from their App Store.

Luckily I already had it installed but in case you don’t you can get it from here android-wifi-tether

I am running 2.0.7

In linux, you need to make sure you have this in the kernel config:

Device Drivers --->
  [*] Network device support --->
    USB Network Adapters --->
      [*] Multi-purpose USB Networking Framework
        <*> CDC Ethernet support
        <*> CDC EEM support
        <*> Simple USB Network Links (CDC Ethernet subset)
          [*] Embedded ARM Linux links
  [*] USB Support --->
    <*> USB Modem (CDC ACM) support
    <*> USB Wireless Device Management support

After you have the kernel configured correctly, I had to modprobe usbnet:

modprobe usbnet

Then, NetworkManager on kde show Auto usb0

After I connected, I was able to perform this traceroute to prove it was still working:

# mtr -r -c 5 google.com
HOST: TSPH4GL2                    Loss%   Snt   Last   Avg  Best  Wrst StDev
  1.|-- 10.10.3.254                0.0%     5    2.9   3.1   2.6   4.2   0.6
  2.|-- xx.sub-xx-xx-xxx.myvzw.c  0.0%     5   86.5  78.5  60.3  98.7  14.6
  3.|-- ???                       100.0     5    0.0   0.0   0.0   0.0   0.0
  4.|-- xxx.sub-xx-xx-xx.myvzw.co  0.0%     5  101.7  88.6  80.5 101.7   8.8
  5.|-- xx.sub-xx-xx-xx.myvzw.com  0.0%     5   78.0  84.2  75.7 104.2  12.1
  6.|-- xx.sub-xx-xx-xx.myvzw.com  0.0%     5  101.3  83.8  72.8 101.3  10.6
  7.|-- xx.sub-xx-xx-xx.myvzw.com  0.0%     5   77.7  85.0  77.7  90.2   5.2
  8.|-- xxx.sub-xx-xx-xx.myvzw.co  0.0%     5   72.2  82.8  72.2 102.6  11.9
  9.|-- GigabitEthernet0-0-0.GW1.  0.0%     5   88.0  85.2  82.6  88.0   2.6
 10.|-- 0.xe-3-1-0.XL2.CLE3.ALTER 20.0%     5   87.4  90.9  86.6 101.8   7.2
 11.|-- 0.ge-5-2-0.XL4.CHI13.ALTE  0.0%     5  142.0 102.5  87.6 142.0  22.5
 12.|-- TenGigE0-5-0-0.GW2.CHI13.  0.0%     5  180.9 109.9  82.3 180.9  40.7
    |  `|-- 152.63.65.145
    |   |-- 152.63.66.29
 13.|-- google-gw.customer.alter. 20.0%     5   89.4 101.5  82.7 143.8  28.4
 14.|-- 209.85.254.122             0.0%     5   94.6 102.3  92.5 113.2   8.8
 15.|-- 64.233.174.173             0.0%     5  110.2 101.8  87.1 118.6  12.5
 16.|-- 74.125.225.20             20.0%     5   79.2 100.9  79.2 129.1  20.8

If you don’t run NetworkManager on gentoo, you should be able to see the device using:

ifconfig -a

Which should return something like:

usb0      Link encap:Ethernet  HWaddr 26:10:72:ab:38:0e
            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)

You then need to symlink /etc/init.d/net.lo to /etc/init.d/net.usb0

ln -s /etc/init.d/net.lo /etc/init.d/net.usb0

And start the network normally:

/etc/init.d/net.usb0 start

You can then use dhcpcd to obtain an ipaddress:

dhcpcd usb0

If it doesn’t work, or you obtain an ip address and are not able to surf the net, first thing to do is reboot the phone and try again.  I had an instance where I could ping the laptops ip address but couldn’t ping the phones ip address which is the default gateway.  Rebooting fixed it for me.

This site uses Akismet to reduce spam. Learn how your comment data is processed.