To get your USB dongle (Huawei E160 or Huawei E220) to work: (Slackware Linux 13.0 - kernel 184.108.40.206 but may work on other linux versions)
Step 1: Ensure PPP is compiled into your kernel
Step 2: Ensure that you kernel does not spew any errors or does not panic (see kernel compilation howto in /usr/doc/Linux-HOWTOs)
Step 3: Ensure that your kernel supports USB storage
Step 3a: Ensure that kernel supports USB-Serial (generic usb_serial driver should work)
Step 4: obtain software called comgt (http://sourceforge.net/projects/comgt/
Step 5: Boot your computer (LOL!)
Step 6: At command prompt login (duh!)
Step 7: su as root user (login as regular user, issue command "su" and put root password - risky to login directly as root)
Step 8: Uncompress comgt.032.tgz (tar -xvzf comgt.032.tgz)
Step 9:build the comgt and install comgt
Step 10:insert Huawei modem
Step 11: Huawei modem shall be detected as CD-ROM drive (/dev/sr1 or /dev/sdb) instead of a 3g modem (check using "dmesg")
Step 12: To switch modes of modem from CD-ROM to a modem, you need to eject the Huawei CD-ROM device using the command (eject
/dev/sr1 or eject /dev/sdb or eject /dev/<whatever is in you dmesg>)
Step 13: To switch modes of huawei modem, use comgt
"comgt -x -d /dev/-usb device-" where -usb device- is ttyUSB0 or ttyUSB1 -- e.g. "comgt -x -d /dev/ttyUSB0"
Some message should display giving you the network provide name and the signal strength!
Step 14: point /dev/modem to your Huawei modem at e.g. /dev/ttyUSB0. If /dev/modem does not exist, then create it LOL! "ln -s /dev/ttyUSB0 /dev/modem"
Step 15: Exit as root user and login as regular user! (if using "su" simply type exit)
Step 16: Start your dialer program - wvdial or kppp
Step 17: konfigure your dialer and dial!
Step 18: A new device "ppp0" will be listed in list of networking hardware (check this using "ifconfig")
Step 19: make sure your put your DNS server addresses in "/etc/resolv.conf" in format "nameserver -DNS server-" where -DNS server- is ip address of DNS server of your ISP
Step 20: enjoy surfing!