![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Way Too Much Ubuntu
![]() Join Date: Jul 2006
Location: Connecticut US
Beans: 260
Ubuntu 9.10 Karmic Koala
|
This HowTo has been revised and now includes two methods, first one using new Airprime driver and second(longer) using USBserial driver.
If first one is not working for you try the second one , from my test there is no speed difference between both drivers . First method using Airprime driver 1 -Insert card 2 -in terminal type: Code:
dmesg Code:
[ 171.945756] airprime 6-1:1.0: airprime converter detected [ 171.945890] usb 6-1: airprime converter now attached to ttyUSB0 [ 171.945933] usb 6-1: airprime converter now attached to ttyUSB1 [ 171.945983] usb 6-1: airprime converter now attached to ttyUSB2 [ 171.945990] airprime 6-1:1.1: airprime converter detected [ 171.946034] usb 6-1: airprime converter now attached to ttyUSB3 [ 171.946105] usb 6-1: airprime converter now attached to ttyUSB4 [ 171.946149] usb 6-1: airprime converter now attached to ttyUSB5 [ 171.946155] airprime 6-1:1.2: airprime converter detected [ 171.946200] usb 6-1: airprime converter now attached to ttyUSB6 [ 171.946242] usb 6-1: airprime converter now attached to ttyUSB7 [ 171.946284] usb 6-1: airprime converter now attached to ttyUSB8 This means that your device has been installed with Airprime driver 3 -open new terminal window and type: Code:
sudo wvdialconf gksudo gedit /etc/wvdial.conf Code:
replace line:
Init1 = ATZ
with this:
Init1 = ATX0
and add this :
Stupid Mode = on
Auto Reconnect = on
Carrier Check = no
[Dialer shh]
Init3 = ATM0
[Dialer pulse]
Dial Command = ATDP
your phone number(including area code) and domain(for verizon it is @vzw3g.com) , in this format: Username = 9178889999@vzw3g .com for sprint it will be 9178889999@sprintpcs.com, for At&t / Cingular WAP@CINGULARGPRS.COM ,for Alltel 9178889999@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 " , for Alltel " alltel "and so on , make sure to check with your provider as username and/or password may differ for other regions and countries . 4.In the line "Phone =" your ISP's data phone number , most of the time it will be #777 5.Now click save and open yet another terminal widow type: Code:
wvdial 6.Open browser , in the tab File UNcheck Work Offline and try any site (like google.com for an example) . For graphical interface setup just go to package manager and check box to install gnome-ppp . If this howto has worked for your device please post it to this forum so your adapter can be listed as one of compatible devices for others considering a purchase . Happy surfing. ---------------------------------------------Second method useing USBserial driver.------------------------------------------ This section has been created to fix issues created in Gutsy and applies to Gutsy and Hardy and all future releases only All upgrades directly 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. !!! Since Gutsy USB handling has changed !!! So absolutely make sure to re enable /proc/bus/usb/devices by executing following : With your evdo card removed type following in the terminal : 1. Code:
sudo 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 Now insert following at the bottom : Code:
#Block Airprime driver to force kernel to use usbserial blacklist airprime Now you will need to reboot . Upon successful completion of previous 5 steps you shoud have all neccesary directories created as well be able to obtain correct tty??? identifier for your device. Again!Above section section is a recent addition to fix problems with gutsy and hardy, if you are running feisty, start from here. From here you should be able to continue with this how to as above fix will enable single device identifier which can be used 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 always suggest to back up any files you will be editing in case you will need to retrace your steps . 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 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 Code:
cat /proc/bus/usb/devices > devices In terminal type: Code:
dmesg 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 Now type in terminal: Code:
diff /proc/bus/usb/devices devices | grep Vendor Code:
< P: Vendor=1234 ProdID=5678 Rev= 0.00 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 Code:
sudo gedit /etc/wvdial.conf 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 " 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@vzw3g.com for sprint it will be 9178889999@sprintpcs.com , for At&t / Cingular WAP@CINGULARGPRS.COM ,for Alltel 9178889999@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 Code:
lcp-echo-failure 0 lcp-echo-interval 0 Now you can start connection by typing in terminal : Code:
wvdial This post will guide you through additional steps you'll need to take. http://ubuntuforums.org/showpost.php...82&postcount=1 Additonal read on paching kernel modules: https://wiki.ubuntu.com/KernelCustomBuild https://wiki.ubuntu.com/KernelGitGuide http://glasnost.beeznest.org/articles/340 If you are having problems installing using this method or if you have Built-In WAN Card see this post: http://www.savvyadmin.com/2007/06/03...ell-5700-evdo/ 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. I like to thanks to all those that have helped me through forums,web pages and personal support to create this how to . 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 If this howto has worked for your device please post it to this forum so your adapter can be listed as one of compatible devices for others considering a purchase . Additionally please let me know about any fixes that would streamline this process. Happy surfing.
__________________
Dell power edge 2950 64bit - Dual Xeon - 24Gig ram:64bit-8.04-LTSLatitude D630 , 2.2GhzCore2Duo , 4Gig-ram , Intel 945 chipset integrated graphics , Iw-3945ABG-Pro-miniPCI , UM150 EVDO , Orinoco-Gold-Pcmci , 14.1-WXGA+ , Xp-pro ,9.10-Gnome Last edited by Mach1US; November 22nd, 2008 at 12:35 AM.. |
|
|
|
| Bookmarks |
| Tags |
| card, cdma, evdo, gprs, modem |
| Thread Tools | |
| Display Modes | |
|
|