ASE Labs
Welcome Guest. Please register or log in now. There are 47 people online (0 Friends).
  • Home
  • Articles
  • News
  • Forum
  • Register/Login
You are at ASE Labs » Articles » Reviews Index » Ubuntu Verizon EVDO Tethering

Ubuntu Verizon EVDO Tethering

Author
Aron Schatz
Posted
December 18, 2007
Views
23565
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.
Tags Linux Mobile Ubuntu Verizon EVDO

Page All: Viewing All Pages

Page 1
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.
Page 2
Step 3: Enhance Connection.

Type:

sudo gedit /etc/ppp/peers/verizon

This command will open Gedit and the file /etc/ppp/peers/verizon.

Add these lines to the bottom:

lcp-echo-failure 0
lcp-echo-interval 0

Save the file. Your completed file should look something like this:

Code

# This optionfile was generated by pppconfig 2.3.17.
#
#
hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/verizon"
debug
/dev/ttyACM0
115200
defaultroute
noipdefault
user "1112223333@vzw3g.com"
remotename verizon
ipparam verizon
lcp-echo-failure 0
lcp-echo-interval 0


Now type sudo gedit /etc/network/interfaces

Add these lines to the bottom:

iface ppp0 inet ppp
provider verizon

Your file should look something like this:

Code

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp

iface ppp0 inet ppp
provider verizon


Now restart dbus for Network Manager to see the changes... or restart your computer. Type:

sudo /etc/init.d/dbus restart

Step 4: Connect

Now use Network Manager to connect.

nm.png


You can disconnect using the same method.

To manually connect, type:

pon verizon

To disconnect, type:

poff verizon.

Network Manager doesn't show the ppp status properly. You can use ifconfig to show the ppp status.

Type:

ifconfig

Which will look something like:

Code

aronschatz@aseupstairs:~$ ifconfig
lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  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:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

ppp0      Link encap:Point-to-Point Protocol 
          inet addr:97.13.53.109  P-t-P:66.174.20.4  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:64 (64.0 b)  TX bytes:97 (97.0 b)


And you can see that the ppp0 connect is up and running. You are now all set to use your Verizon EVDO tether whenever you want. If you have any problems, feel free to »post a question in the forums.
 
Page 1
Page 2
View As Single Page Print This Page Print Entire Article
Related Articles
  • EnerPlex Kickr IV And Jumpr Solar Power Pack
  • Arctic Cooling C1 Mobile Solar Charger
  • VuPoint Magic Wand Portable Scanner
  • Cooler Master Choiix Power Fort Advanced C-2010-K1A0
  • ZAGG PSP Slim invisibleSHIELD
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
Login
Welcome Guest. Please register or log in now.
Forgot your password?
Navigation
  • Home
  • Articles
  • News
  • Register/Login
  • Shopping
  • ASE Forums
  • Anime Threads
  • HardwareLogic
  • ASE Adnet
Latest News
  • Welcome to the new server
  • Gmail Gets Optional Preview Pane
  • HBO Go on Consoles
  • HP Touchpad Update
  • Happy System Administrator Day!
  • Apple Releases OS X 10.7 Lion
  • More Android Apps Found to be Malware
  • This Weeks News
  • Happy Birthday USA!
  • Windows Phone Gets Angry Birds, Custom Rings Coming To Mango
Latest Articles
  • Sapphire Edge HD4 Mini PC
  • Logitech G710+ Mechanical Gaming Keyboard
  • EnerPlex Kickr IV And Jumpr Solar Power Pack
  • Kingston Wi-Drive
  • Kingston SDX10V/128GB SDXC Memory
  • In-Win K1 All In One Convertible Case
  • Kingston MobileLite G3 USB3 SDXC Card Reader
  • Synology DS712+ Network Application Server
  • Rapoo Wireless Touchpad Keyboard E9080
  • Netgear NeoTV NTV200 Streaming Player
Latest Topics
  • Pokemon: The Ongaku Region
  • What are you listening to now?
  • Random Fact of the Day
  • ufc 160
  • watch iron man 3 online free
  • watch scary movie 5 online free
  • watch tyler perry's temptatinon online free hd 2013
  • watch movies online free without downloading
  • watch star trek into darkness online free
  • watch fast and furious 6 online free
  • Recharge your cellphone in 20 seconds
  • Qu'est-ce charme si fascinant
  • Some Legacy of Music From Standard Pandora Beads
  • track down those behind the brutal
  • Minister David Cameron said Britain
  • Britain would be "absolutely resolute"
Advertisement
Advertisement
Affiliate Reviews
  • A New X.Org-Free Wayland LiveCD Released at Phoronix
  • GCC 4.8.0 vs. LLVM Clang 3.3 Compiler Performance at Phoronix
  • Unity 8, Mir Made Progress This Week On Features at Phoronix
  • LLVM Clang 3.3 RC2 Is Ready For Testing at Phoronix
  • AMD RadeonSI Gallium3D Begins Simple CL Demos at Phoronix
  • Intel Shows Off GNOME3-Based Tizen Shell at Phoronix
  • Wine 1.5.31 Pulls In New Gecko Release at Phoronix
  • NVIDIA GeForce Chips Comparison Table at Hardware Secrets
  • Deep Cool M6 2.1 Speaker System ad Laptop Cool Review at Pro-Clockers
  • Microsoft Announces Mice with Windows 8 Start Button Built-in at Hardware Secrets
  • EVGA GTX 780 Superclocked w/ ACX Cooler 3 GB Review at techPowerUp!
  • Linux Desktop Security Could Be A Whole Lot Better at Phoronix
  • KDE 4.11 Will Be The Last Major KDE4 Workspaces Feature Release at Phoronix
  • New NVIDIA Linux Driver Supports The GeForce GTX 780 at Phoronix
Press Release
  • KingsIsle Expands Pirate101 With Two New Worlds
  • Hamilton Watches to Close the Cannes Film Festival with Zulu by Jerome Salle
  • =?ISO-8859-1?Q?Supermicro=AE_Announces_the_Highest_Density_Server?= =?ISO-8859-1?Q?_Solutions_with_Coming_Intel=AE_Haswell_Processors?=
  • Game-Changer Beamforming Microphone Array Takes Another Leap Ahead and Now Features Tabletop and Wall Mode Capabilities
  • IGXE Successfully Launches Shopping Mall Mode: A New Era Is Coming
  • Got Words? New Word Game "Words in a Pic" Tops Global Mobile Charts
  • Infor Announces Cloud Initiative Using Amazon Web Services to Tackle Big Data With Amazon Redshift
  • HP's New MFPs Deliver Increased Productivity With Reduced Costs
  • CompanionLink Injects Business Companion for Verizon's Galaxy S4
  • Walmart Statement on Hisense Sero 7 Tablet Launch
Home - ASE Publishing - About Us
© 2010 Aron Schatz (ASE Publishing) [Queries: 18 (8 Cached)] [Rows: 311 Fetched: 54] [Page Generation time: 0.28233695030212]