Never been to DZone Snippets before?

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 (See related posts)

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

You need to create an account or log in to post comments to this site.


Click here to browse all 5140 code snippets

Related Posts