This is an old revision of the document!
3G-MODEM
I do now a very quick howto, because of lack of time
the sign # means, that you do this command as root on your console
#tazpkg get-install wvdial
#tazpkg get-install linux-dialup
you have to bring down your network, otherwhise you will have a rout problem
#ifconfig eth0 down
#ifconfig eth1 down
you have to stwitch the modem with
#modprobe option (Huawei E220, E160g)
please help updating, which modem or phone is using which modul - under http://labs.slitaz.org/issues/show/149 you will find, if your modem is supported by linux-dialup
for automatisation load the modul at startup with your Sltaz Control Box
check the modem if it is /dev/ttyUSB* or /dev/ttyACM* (e.g. with #dmesg) and edit your wvdial.conf (here as an example)
#leafpad /etc/wvdial.conf
[Dialer pin]
Modem = /dev/ttyUSB0
Init1 = AT+CPIN=1234……………….,…..!!here your pin!!
[Dialer umts]
Modem = /dev/ttyUSB0
ISDN = off
Modem Type = USB Modem
Baud = 460800
Init = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Dial Prefix =
Dial Attempts = 1
Dial Command = ATM1L3DT
Ask Password = off
Auto Reconnect = off
Abort on Busy = off
Carrier Check = on
Check Def Route = on
Abort on No Dialtone = on
Stupid Mode = off
Idle Seconds = 0
Init3 = AT+CGDCONT=1,“IP”,“drei.at”…..!!here your string!!
Username = drei.at………………………!!here your Usern!!
Password = drei.at………………………!!here your Passw!!
Phone = *99#……………………………!!here your Phone!!
all the needed data can be found here:
Austria, Germany,Switzerland: http://linux.frankenberger.at/Huawei_E220_Daten.html
World:http://www.flexispy.com/Mobile%20APN%20Setting%20to%20use%20GPRS.htm
but you can search the net with the name of your provider and wvdial.conf and I think you will find to
to connect do
#wvdial pin
#wvdial umts
you can put the pin also in Dialer umts, but I use my modem most of the time in the train, and you would get an error when you reconnect, when the connection breaks - so use wvdial pin only the first time you plug in the modem.
the only thing, thats left, is to put the DNS to resolv.conf (you will find the DNS in the two lists with all the data)
#leafpad /etc/resolv.conf
nameserver 213.94.78.16……………………!!here your DNS!!
if you want to do dial as user, add yourself to the group “dialout” (cat /etc/group) and set the permission for wvdial
for automatisation you can do a script in /usr/local/bin called umts-connect (executable)
#! /bin/bash
ifconfig eth0 down
ifconfig eth1 down
wvdial pin
wvdial umts
but dont reconnect with this
you can do also a desktop entry in /usr/share/applications with the name umts.desktop
[Desktop Entry]
Encoding=UTF8
Name=UMTS connection
Name[de]=UMTS-Verbindung
Comment=UMTS-Verbindung
Type=Application
Exec=/usr/local/bin/umts-connect
Icon=/usr/share/icons/……………..whatever you want
Categories=Application;Network;
please check Exec=/usr/local/bin/umts-connect for permission
here is the forum post about this: http://forum.slitaz.org/index.php/discussion/comment/440/#Comment_440