Monday, August 16, 2010

Safaricom Modem Installation on Fedora 13

A bash script I wrote to use a Safaricom modem in linux. There are two shell scripts that you need safcominstaller.sh and safcom.sh. safcominstaller.sh allows for you to install all the needed files to get your modem connected to your system and safcom.sh allows you to use the modem to access the Safaricom network.

safcominstaller.sh
#! /bin/bash

sudo yum install wvdial
sudo yum install ppp
sudo yum install pyserial python-twisted pytz redhat-lsb


wget https://forge.betavine.net/frs/download.php/439/usb_modeswitch-0.9.7-1.fc10.src.rpm

wget https://forge.betavine.net/frs/download.php/441/vodafone-mobile-connect-2.20.01-1.noarch.rpm

sudo rpm -i usb_modeswitch-0.9.7-1.fc10.src.rpm

sudo rpm -i vodafone-mobile-connect-2.20.01-1.noarch.rpm


safcom.sh
#! /bin/bash

sudo vodafone-mobile-connect-card-driver-for-linux