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.
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.
You want to create a connection.
Type verizon in lowercase for ease of use later. This is just a connection name.
You want to use the DNS servers given by the PPP connection. Check the Dynamic DNS option.
Authentication type is PAP.
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 "[email protected]" without the quotes.
The password is "vzw" without the quotes.
Port speed is 115200 as it suggests.
Use Tone dialing.
The actual number you are dialing is "#777" without the quotes. This is how you connect to the EVDO network.
Since you wrote down the port name before, you will enter it manually.
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.
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.
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
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.
You want to create a connection.
Type verizon in lowercase for ease of use later. This is just a connection name.
You want to use the DNS servers given by the PPP connection. Check the Dynamic DNS option.
Authentication type is PAP.
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 "[email protected]" without the quotes.
The password is "vzw" without the quotes.
Port speed is 115200 as it suggests.
Use Tone dialing.
The actual number you are dialing is "#777" without the quotes. This is how you connect to the EVDO network.
Since you wrote down the port name before, you will enter it manually.
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.
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.