Verizon wireless with ubuntu
B.J. McClure
keepertoad at verizon.net
Mon Feb 25 21:02:49 UTC 2008
On Mon, 2008-02-25 at 12:33 -0500, DScherquist at lviservices.com wrote:
>
> Does anyone know how to user a Verizon Wireless Wan pcmcia cad with
> Ubuntu? According to Verizon they do not support Linux.
> With that said im sure that there is a way to have them work in
> harmony.
> Any suggestions
>
>
> Thanks
>
This is the guide I used for a Verizon V740 Express Card set up on 7.10
and it has worked well. Not sure where I acquired this guide but hope
it works for you. Please note the series of ? on the "Username" line is
your assigned telephone number for your card.
Lightbulb [SOLVED] How To set up EVDO card or usb enabled phone ( CDMA
modem ) Updated
This section has been created to fix issues created in Gutsy and applies
to Gutsy only
After extensive tests this is for now the only clean way to get EVDO
modem to work on a new 7.10 installation .
All upgrades directry from Feisty seem to work fine unless the Evdo
card / modem is upgraded then it automatically plugs default Gutsy
driver.
In case this happens or you just installed fresh 7.10 you can execute
following fix.
Gutsy changed USB handling so to re enable /proc/bus/usb/devices
directory type in terminal :
Code:
gedit /etc/init.d/mountdevsubfs.sh
Now remove " # " symbols from the front of following lines of code :
Code:
#mkdir -p /dev/bus/usb/.usbfs
#domount usbfs "" /dev/bus/usb/.usbfs
-obusmode=0700,devmode=0600,listmode=0644
#ln -s .usbfs/devices /dev/bus/usb/devices
#mount --rbind /dev/bus/usb /proc/bus/usb
Now to stop new Airprime driver from loading execute following in the
terminal:
Code:
sudo gedit /etc/modprobe.d/blacklist
Insert at the bottom :
Code:
#Block Airprime driver to force kernel to use usbserial
blacklist airprime
>From here you should be able to continue with this how to as above fix
will enable single device identifier which can be uset for setup with
wvdial , KPPP dialer or Gnome PPP .
If you find more streamlined way to do it or other posts that may help
us feel free to let us know by posting it in this thread .
I like to thanks to all those that have helped me through forums,web
pages and personal support to create this how to .
I have tested it on the 32bit 6.10 and 7.04 Ubuntu version so back up
any files you will be editing before you proceed .
Devices i have used are Verizozn Motorola v3 EVDO enabled phone
connected via USB cable as well as number of other EVDO cards like
PC5750 .
Make sure your device is activated by service provider and if possible
test on other OS to witch you may have software and drivers.
Open terminal window and type:
Code:
sudo -i
enter your password.
Now all commands typed in this window will be executed with root
privileges .
In terminal type:
Code:
apt-get update
apt-get upgrade
apt-get install wvdial
Before you insert the Card or connect USB cable open terminal window and
type :
Code:
cat /proc/bus/usb/devices > devices
Insert your data card or plug in USB cable and wait for a few seconds
before continuing.
In terminal type:
Code:
dmesg
You will get output with some device info like this :
Code:
[17186692.460000] usb 3-1: configuration #1 chosen from 2 choices
[17186692.460000] cdc_acm 3-1:1.0: ttyACM0: USB ACM device
[17186708.176000] usb 3-1: USB disconnect, address 4
[17186714.588000] usb 3-1: new full speed USB device using uhci_hcd and
address
At the end of this output you will find your device witch will be
represented like this: ttyACM0 or ttyUSB or similar , make note of it
you will need it later.
Now type in terminal:
Code:
diff /proc/bus/usb/devices devices | grep Vendor
Output will be similar to:
Code:
< P: Vendor=1234 ProdID=5678 Rev= 0.00
Make note of lines: Vendor=1234 , ProdID=5678
Now in teminal type following code Replacing values 1234 and 5678 with
your own output from previously noted lines ::
Code:
modprobe usbserial vendor=0x1234 product=0x5678
Now you will edit wvdial config file by first typing in terminal :
Code:
sudo gedit /etc/wvdial.conf
In new opened window replace all text with following :
Code:
[Dialer Defaults]
Stupid Mode = on
Modem = /dev/ttyACM0
Baud = 921600
Init = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Phone = #777
Username = ??????????@vzw3g.com
Password = vzw
Init1 = ATZ
ISDN = 0
Modem Type = Analog Modem
Auto Reconnect = on
Carrier Check = no
[Dialer shh]
Init3 = ATM0
[Dialer pulse]
Dial Command = ATDP
In the line "Modem =" replace ttyACM0 with value you noted from output
of " dmesg " command.
In the line " Username = " put your phone number followed by your
providers domain , for Verizon it is area code , your phone number and
domain ,
in this format: 9178889999 at vzw3g.com
for sprint it will be 9178889999 at sprintpcs.com , for At&t / Cingular
WAP at CINGULARGPRS.COM ,for Alltel 9178889999 at alltel.net and so on ,
further post have config's posted for other providers.
In line " password = " in case of Verizon put : " vzw " for Cingular : "
cingular1 " and so on , make sure to check with your provider as
username and/or password may differ for other regions and countries .
If you are Cingular/AT&T subscriber and after completing whole guide you
have problem with dropping connection you have to add another int line
in wvdial script which is posted here
http://ubuntuforums.org/showthread.php?t=343989&page=3
If you need any specific info regarding your domain or password please
contact your cellular provider.
The last thing you need to configure is wvdial line checking , by
disabling LCP echo checking witch is not supported by most of providers.
Open terminal and type:
Code:
sudo gedit /etc/ppp/peers/wvdial
And insert aditionally those lines:
Code:
lcp-echo-failure 0
lcp-echo-interval 0
Make sure your ethernet jack is unplugged and wifi radio switch is
turned off.
Now you can start connection by typing in terminal :
Code:
wvdial
Another thing i have been suggested is automating the connection
process.
To do so in Gnome go to :
Code:
System > Preferences > Sessions
next, click on the tab labeled, "Startup Programs"
then click the "Add" button.
In the Startup Command field, enter "wvdial" and then click "OK".
Then restart your system.
Now make sure your EVDO card is inserted before you boot it up , it will
initiate the connection process automatically in the background
connecting you to internet the second you log in.
Additional reads on the subject:
http://ubuntuforums.org/archive/index.php/t-366229.html
http://kenkinder.com/evdo-pc5740/
http://doc.gwos.org/index.php/EV-DO
Please let me know about any problems and bugs you will encounter.
Happy surfing.
__________________
Latitude D610 , 2GhzCentrino , 2Gig-ram , Intel 915 chipset
integr.graphics , Iw-2200-miniPCI , Pantech 5750 , Orinoco-Gold-Pcmci ,
120gig-HD , 14.1-SXGA , Xp-pro , Feisty
Last edited by Mach1US : 3 Weeks Ago at 03:28 PM.
Reply With Quote
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080225/75f99695/attachment.html>
More information about the ubuntu-users
mailing list