We have a D-Link router that takes a phone card (3G) and connects to our ISP then shares the connection between our home desktop computers. We've had this setup for about two years. So, our two year contract with Verizon is coming up and I went for a phone upgrade. What I wanted (another of the same but upgraded), they didn't have. Instead, they sent me home with a Pantech UM150 USB that is a phone (air card) and 4 GIG flash drive. It doesn't work with my router so I plugged it into my Ubuntu box to see what I could do with it. And, here are the results:
Using the information on this website
http://kenkinder.com/evdo-pc5740/ I was able to get the phone working with a little script writing. First thing was to install the device. From a terminal as root
modprobe ohci-hcd
Then, I need the usbserial. This I found in hardware information and in terminal
modprobe usbserial vendor=0x106c product=0x3711
This gave me a file:
mac@mac-desktop:~$ ls /dev/ttyACM0
/dev/ttyACM0
Create a file called /etc/ppp/peers/1xevdo with this command (as root)
gedit /etc/ppp/peers/1xevdo
And put this into it:
-detach
ttyACM0
115200
debug
noauth
defaultroute
usepeerdns
connect-delay 30000
user
yourphonenumber@vzw3g.com
show-password
crtscts
lock
connect '/usr/sbin/chat -v -t3 -f /etc/ppp/peers/1xevdo_chat'
Now create a file called /etc/ppp/peers/1xevdo_chat
# AT$QCMIPGETP "login" name used for MobileIP, which usually matches your MIN.
# AT+GSN ESN in hex
# AT+GMR firmware revision and build date.
# AT+CSQ first number indicates the signal strength above -109 dBm (in
# 2 dBm increments). A value of 7 or higher (-95 dBm) can be
# considered adequate. 31 is the max. (Possible values in
# Pantech USB Modem are 0, 7, 15, 23, 31.)
# AT+CDV=*22899 Update PRL. at+cdv=*22899 | OK | Lost carrier.
'' 'AT'
'OK' 'ATE0V1&F&D2&C1&C2S0=0'
'OK' 'ATE0V1'
'OK' 'ATS7=60'
'OK' 'ATDT#777'
Note: the '' 'AT' is not quote marks but two '
Save and you're done.
In terminal (root or user...user is always safer), type:
pppd call 1xevdo
And give it 20 or 30 seconds, You should see something similar to this:
mac@mac-desktop:~$ pppd call 1xevdo
Serial connection established.
using channel 12
Using interface ppp0
Connect: ppp0 <--> /dev/ttyACM0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1b1786c0> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x0 <mru 1500> <asyncmap 0x0> <magic 0x806d9c57> <pcomp> <accomp>]
sent [LCP ConfAck id=0x0 <mru 1500> <asyncmap 0x0> <magic 0x806d9c57> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x1b1786c0> <pcomp> <accomp>]
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=0x1 magic=0x806d9c57]
rcvd [IPCP ConfReq id=0x0 <addr 66.174.33.197>]
sent [IPCP ConfAck id=0x0 <addr 66.174.33.197>]
rcvd [LCP ProtRej id=0x2 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
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 YOUR LOCAL> <ms-dns1 YOUR LOCAL> <ms-dns3 YOUR LOCAL>]
sent [IPCP ConfReq id=0x3 <addr YOUR LOCAL> <ms-dns1 YOUR LOCAL> <ms-dns3 YOUR LOCAL>]
rcvd [IPCP ConfAck id=0x3 <addr YOUR LOCAL> <ms-dns1 YOUR LOCAL> <ms-dns3 YOUR LOCAL>]
Cannot determine ethernet address for proxy ARP
local IP address YOUR LOCAL
remote IP address YOUR LOCAL
primary DNS address YOUR LOCAL
secondary DNS address YOUR LOCAL
Script /etc/ppp/ip-up started (pid 31623)
Script /etc/ppp/ip-up finished (pid 31623), status = 0x0
And that's it. Minimize the terminal window and open a browser. I have yet to be disconnected and have download speeds of around 200kbs. When I'm done, I hit Ctrl-C and it disconnects. I then take the device out and put it into my other Linux box, same set up, and dial the pppd the same way and it connects. Simple as pie and I want to thank Ken Kinder and his website
www.kenkinder.com