DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
WWAN Dialer
This script dials the built-in Verizon WWAN (mobile broadband) modem on my Thinkpad T61.
#!/bin/bash
#
# Dial the WWAN
#
hang_up () {
echo
echo 'WWAN deactivated'
echo
exit
}
trap "hang_up" 2
echo 'Activating WWAN'
sudo modprobe -r airprime usbserial
sudo modprobe usbserial vendor=0x1199 product=0x0220
sudo modprobe airprime
sleep 0.5
sudo wvdial





