Ubuntu Verizon EVDO Tethering

Author
Aron Schatz
Posted
December 18, 2007
Views
96312
Ubuntu Verizon EVDO Tethering
Want to use Verizon's EVDO network with your Linux laptop? This guide shows the step-by-step on how to tether your phone with your laptop running Ubuntu.

Page 1: Intro, Phone Setup

Intro:

This guide will explain in step by step detail on how to use your Verizon EVDO tethering plan with a computer running Ubuntu. These steps should work basically the same on any Linux distribution and if you have any questions, please »ask in the forums.

What You Need:

Verizon has an add-on to any voice plan with a certain type of phone to allow USB tethering to connect a computer to the internet. I have a Motorola RAZR and this phone can use the tethering plan. I plan on canceling it after I come back from CES in 2008. As far as I can tell, the plan gets pro-rated and there is no contract. Make sure your phone and connect to the USB port of your computer.

Step 1: Connect phone to the USB port on computer.

Once you connect, you can verify the phone is being recognized by the computer by using "lsusb" and "dmesg" as shown below.

Code

aronschatz@aseupstairs:~$ lsusb
Bus 002 Device 013: ID 22b8:2a62 Motorola PCS
Bus 002 Device 001: ID 0000:0000 
Bus 001 Device 002: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub
Bus 001 Device 003: ID 046d:c513 Logitech, Inc.
Bus 001 Device 001: ID 0000:0000 

aronschatz@aseupstairs:~$ dmesg | tail
[ 5312.025459] usb 2-1: USB disconnect, address 10
[ 6253.210949] usb 2-1: new full speed USB device using uhci_hcd and address 11
[ 6253.358860] usb 2-1: device descriptor read/all, error -71
[ 6253.470911] usb 2-1: new full speed USB device using uhci_hcd and address 12
[ 6253.644040] usb 2-1: configuration #1 chosen from 2 choices
[ 6253.646085] cdc_acm 2-1:1.0: ttyACM0: USB ACM device
[ 6254.578873] usb 2-1: USB disconnect, address 12
[ 6254.818754] usb 2-1: new full speed USB device using uhci_hcd and address 13
[ 6254.991675] usb 2-1: configuration #1 chosen from 2 choices
[ 6254.993679] cdc_acm 2-1:1.0: ttyACM0: USB ACM device


Take note of the ttyACM0: USB ACM device line. That "ttyACM0" is the communication port that you will use to communicate with the phone. It is like a virtual serial port. You will need to type this port in later so write it down exactly.

Step 2: Configure PPP.

Now that you know the phone and the computer can talk to each other, a PPP connection (Point to Point or Dial-up) must be made. Verizon uses a specific way on how to connect to their network and it is basically just a regular dial-up connection.

The command you want to use is:

sudo pppconfig

If the command is not found, you will need to install pppconfig by typing:

sudo apt-get install pppconfig

Which will install pppconfig and you can then run the previous command. You need to be connected to the internet to do the install, but the base install comes with pppconfig.

Once you are running pppconfig, you need to answer some questions which are shown below.

pppconfig1.png


You want to create a connection.

pppconfig2.png


Type verizon in lowercase for ease of use later. This is just a connection name.

pppconfig3.png


You want to use the DNS servers given by the PPP connection. Check the Dynamic DNS option.

pppconfig4.png


Authentication type is PAP.

pppconfig5.png


This step you will need to change. Your username is "<yourphonenumber>@vzw3g.com". If your phone number was 555-123-4444, the username would be "5551234444@vzw3g.com" without the quotes.

pppconfig6.png


The password is "vzw" without the quotes.

pppconfig7.png


Port speed is 115200 as it suggests.

pppconfig8.png


Use Tone dialing.

pppconfig9.png


The actual number you are dialing is "#777" without the quotes. This is how you connect to the EVDO network.

pppconfig10.png


Since you wrote down the port name before, you will enter it manually.

pppconfig11.png


The port that you wrote down earlier is a device port. If what you wrote down was "ttyACM0" then you would type in "/dev/ttyACM0" without the quotes. You basically need to prepend "/dev/" to whatever you wrote down.

pppconfig12.png


Finish and write the files then exit the utility.

You are now done and can connect to Verizon. We will go further and add some things to make the connection better. Verizon's network drops all the time due to lcp errors. We want to disable this from breaking the connection (which happens every 2 minutes or so). We will be using gedit to edit the files, but feel free to use any text editor you wish.
members/attachments/upload/2007/12/18/2152m.png pppconfig1.png members/attachments/upload/2007/12/18/2153m.png pppconfig2.png members/attachments/upload/2007/12/18/2154m.png pppconfig3.png members/attachments/upload/2007/12/18/2155m.png pppconfig4.png members/attachments/upload/2007/12/18/2156m.png pppconfig5.png members/attachments/upload/2007/12/18/2157m.png pppconfig6.png members/attachments/upload/2007/12/18/2158m.png pppconfig7.png members/attachments/upload/2007/12/18/2159m.png pppconfig8.png members/attachments/upload/2007/12/18/2160m.png pppconfig9.png members/attachments/upload/2007/12/18/2161m.png pppconfig10.png members/attachments/upload/2007/12/18/2162m.png pppconfig11.png members/attachments/upload/2007/12/18/2163m.png pppconfig12.png members/attachments/upload/2007/12/18/2164.png nm.png

Title

Medium Image View Large