How to Configure a 1X Aircard on a Laptop with SUSE 10.1
Novell Cool Solutions: Tip
By Peter Van den Wildenbergh
Reader Rating 
|
Digg This -
Slashdot This
Posted: 26 Jul 2006 |
Goal
This is a quick how-to for road-warriors, using a 1vEV-DO PC Card & SUSE 10.1 on their laptop. Although I was only able to test with a Kyocera KPC650 aircard, the instruction below are generic enough to get things going with other models/brands.
HowTo
Get into a root console, insert the card and type lsusb
# lsusb Bus 004 Device 002: ID 0c88:17da Kyocera Wireless Corp. Bus 004 Device 001: ID 0000:0000 Bus 005 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 Bus 001 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000
You should see your card coming up in the list. Note the ID (0c88:17da) split it into two parts omit the colon (:) and prefix both with '0x'.
Load the USB OHCI HCD and usb serial drivers (The aircard is 'recognized' as a serial modem) use the acquired ID in the second command.
modprobe ohci-hcd modprobe usbserial vendor=0x0c88 product=0x17da
Now we need to crate 2 files.
vi /etc/ppp/peers/1x
ttyUSB0 115200 debug noauth defaultroute usepeerdns connect-delay 10000 user 9999999999@bellmobility.ca show-password crtscts lock lcp-echo-failure 0 connect '/usr/sbin/chat -v -t3 -f /etc/ppp/peers/1x_chat'
Replace the 9999999999@bellmobility.ca with the area code and phonenumber assigned to your Bell Canada card.
Not using Bell Canada? Google for the right domainname!
Some examples I found @vzw3g.com for Verizon Wireless in the US and @1x.telusmobility.com in Canada)
The first line ttyUSB0 can also be ttyAMD0 depending on were things mount on your o.s.
Time to create the second file that we need.
vi /etc/ppp/peers/1x_chat
ABORT 'NO CARRIER' ABORT ERROR ABORT 'NO DIALTONE' ABORT BUSY ABORT 'NO ANSWER' '' 'ATTEV1&F&D2&C1&C2S0=0S7=60' 'OK-ATTEV1&F&D2&C1&C2S0=0S7=60-OK-ATTEV1&F&D2&C1&C2S0=0S7=60-OK' 'AT+CSQ;D#777' TIMEOUT 70 'CONNECT-AT+CSQ;D#777-CONNECT'
Now putting it all together by calling pppd.
pppd call 1x Serial connection established. using channel 3 Using interface ppp0 Connect: ppp0 <--> /dev/ttyUSB0 sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xd94d0675> <pcomp> <accomp>] rcvd [LCP ConfReq id=0x3 <asyncmap 0x0> <magic 0x964f0436> <pcomp> <accomp>] sent [LCP ConfAck id=0x3 <asyncmap 0x0> <magic 0x964f0436> <pcomp> <accomp>] rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xd94d0675> <pcomp> <accomp>] sent [LCP EchoReq id=0x0 magic=0xd94d0675] sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>] sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] rcvd [LCP DiscReq id=0x4 magic=0x964f0436] rcvd [IPCP ConfReq id=0x1 <addr 72.25.192.100>] sent [IPCP ConfAck id=0x1 <addr 72.25.192.100>] rcvd [LCP EchoRep id=0x0 magic=0x964f0436 d9 4d 06 75] rcvd [LCP ProtRej id=0x5 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f] rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>] sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] rcvd [IPCP ConfNak id=0x2 <addr 69.158.208.248> <ms-dns1 204.174.120.45> <ms-dns3 204.174.120.46>] sent [IPCP ConfReq id=0x3 <addr 69.158.208.248> <ms-dns1 204.174.120.45> <ms-dns3 204.174.120.46>] rcvd [IPCP ConfAck id=0x3 <addr 69.158.208.248> <ms-dns1 204.174.120.45> <ms-dns3 204.174.120.46>] local IP address 69.158.208.248 remote IP address 72.25.192.100 primary DNS address 204.174.120.45 secondary DNS address 204.174.120.46 Script /etc/ppp/ip-up started (pid 25431) Script /etc/ppp/ip-up finished (pid 25431), status = 0x0
Leave the console window open, gives you debug information and start surfing the net but... be patient, it's not your office's 100 MB connection...
To terminate just type [Ctrl]-c in the same console window.
Other references:
License and Disclaimer
See http://www.opencontent.org/opl.shtml for the full software and documentation license for this solution. Basically, you can copy, redistribute, or modify this "how to," provided that modified versions, if redistributed, are also covered by the OpenContent License. Please e-mail a copy of your modified document to pvdw <@> criticalcontrol <.> com. Use this document at your own risk; it comes with no warranty. See the OpenContent License mentioned above.
Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com
