Huawei E220 Dialer

Language: Bash

Last Modified: 20080101

Known Issues: -

Description:

This script can be used to dial out using wvdial on Huawei E220. The problem this device have with Linux is that the modem doesn’t behave expectedly if the usb_storage module is loaded. The script tries to unload conflicting modules first before dialing.

Script:

#!/bin/bash

# Change the Dialer in your /etc/wvdial.conf
DIALER="huawei220" 

sudo modprobe -r uhci_hcd
sudo modprobe uhci_hcd

echo "Waiting kernel to detect modem device"

# Wait till the kernel recognizes our E220
while [ ! -c /dev/ttyUSB1 ]; do
        sleep 1
done

# Start dialing
sudo wvdial $DIALER


  • peja: Ni projek utk sapa ni bro? dah ada org berminat nk beli blom?
  • rizal: bro sy nak nik lpi 101 tp xtau kat ner nak mik dan mcm ner mik.. kalo leh bg taw..mcm ner nak mik exam lpi.. kat ner nak mik.. tlg email kat sy bro t
  • gbelbe: Hi! good job! I'm using the huawei eg162 with china mobile and I had the same problem. If i boot with the modem plugged in it worked, but anytime i t
  • Michael: You guys out there that post this crap should learn how to write. You are all writing to each other. You all already know what it is your talking ab
  • WAN MAN: Memang terliur gua tengok bro punya photos....gua baru bercadang nak beli D90...tapi bajet ade sikit kurang....kena kumpul dulu..... Tapi gua tengok

Twitter