USB 3G Modem for Vodafone on Slackware
In spite of having to spend too much of my work time getting various 3G dongles working, I’ve never had to do it at home.
For Vodafone, it’s actually quite simple:
1) Install wvstreams
2) Install wvdial
3) Add the following to your /etc/wvdial.conf
Init3 = AT+CGDCONT=1,"IP","internet"
Phone = *99#
Password = pass
Username = user
Vodafone don’t actually use a username and password, so you just need something to keep wvdial happy. In my case, I’m then creating a symlink to /dev/modem from /dev/ttyUSB0, but I could just as easily add a ‘Modem = /dev/ttyUSB0′ line as well here.
Connecting is then just a matter of running as root (or using sudo):