SliTaz GNU/Linux official and community documentation wiki.
.png

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:guides:dialup [2010/03/12 20:32]
kultex
en:guides:dialup [2010/08/22 17:21] (current)
linea
Line 1: Line 1:
-=== 3G-MODEM ===+====== 3G-UMTS =======
  
-do now a very quick howto, because of lack of time+The # sign means that you do this command as root on your console:
  
-the sign # means, that you do this command as root on your console+===== Automatic Installation =====
  
-#tazpkg get-install wvdial\\ +The new hwsetup in SliTaz 3.0 now adds automatic installation for 3G (still in trial version).
-#tazpkg get-install linux-dialup ​+
  
-you have to bring down your network, otherwhise you will have a rout problem+<​code>#​ tazhw setup 3g-modem</​code>​
  
-#ifconfig eth0 down\\ +Now open the wvdial box by typing y, enter your data (as described in wvdial.conf),​ save the configuration (if you don't save you risk breaking your pin), dial the pin (you have to do this only once you plug in your modem), then start dialing and you should be connected.
-#ifconfig eth1 down+
  
-you have to stwitch the modem with+===== Manual Installation =====
  
-#modprobe option ​ (Huawei E220, E160g)+<​code>​ 
 +tazpkg get-install wvdial 
 +# tazpkg get-install linux-dialup  
 +</​code>​
  
-please help updatingwhich modem is using which modul - under http://​labs.slitaz.org/​issues/​show/​149 ​you will find, if your modem is supported by linux-dialup+You have to bring down your networkotherwise ​you will have a route problem:
  
-for automatisation load the modul at startup with your Sltaz Control Box+<​code>​ 
 +# ifconfig eth0 down 
 +# ifconfig eth1 down 
 +</​code>​
  
-check the modem if it is /​dev/​ttyUSB* or /​dev/​ttyACM* (e.g. with #dmesg) and edit your wvdial.conf (here as an example)+You have to switch on the modem with:
  
-#leafpad ​/etc/​wvdial.conf+<​code>​ 
 +modprobe option ​ (Huawei E220, E160g, Venus-VT12) 
 +</code>
  
-[Dialer pin]\\ +Please help update which modem or phone is using which module using the forum post: http://labs.slitaz.org/​issues/​show/​149You will find if your modem is supported by linux-dialup.
-Modem = /dev/ttyUSB0\\ +
-Init1 = AT+CPIN=1234...................,​.....!!here your pin!!\\+
  
-[Dialer umts]\\ +There is an extra guide for the [[http://doc.slitaz.org/​en-guides:​cricket-a600|Cricket-a600]]
-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:+For automatization load the module at startup with your Slitaz Control Box. 
 + 
 +===== wvdial.conf ===== 
 + 
 +Check the modem if it is /​dev/​ttyUSB* or /​dev/​ttyACM* (e.g. with #dmesg) and edit your wvdial.conf (here as an example): 
 + 
 +<​code>​ 
 +# leafpad /​etc/​wvdial.conf 
 +</​code>​ 
 + 
 +<​file>​ 
 +[Dialer pin] 
 +Modem = /​dev/​ttyUSB0 
 +Init1 = AT+CPIN=1234...................,​.....!!here'​s 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'​s your string!! 
 +Username = drei.at...........................!!here'​s your Usern!! 
 +Password = drei.at...........................!!here'​s your Passw!! 
 +Phone = *99#​.................................!!here'​s your Phone!! 
 +</​file>​ 
 + 
 +All the needed data can be found here:
  
 Austria, Germany,​Switzerland:​ http://​linux.frankenberger.at/​Huawei_E220_Daten.html Austria, Germany,​Switzerland:​ http://​linux.frankenberger.at/​Huawei_E220_Daten.html
Line 58: Line 80:
 World:​http://​www.flexispy.com/​Mobile%20APN%20Setting%20to%20use%20GPRS.htm 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+But you can search the net with the name of your provider and wvdial.conf and I think you will need to.
  
-to connect do+To connect do:
  
-#wvdial pin\\ +<​code>​ 
-#wvdial umts+# wvdial pin 
 +# wvdial umts 
 +</​code>​
  
-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 reconnectwhen the connection breaks - so use wvdial pin only the first time you plug in the modem.+You can put the pin also in Dialer umts, but I use my modem most of the time on 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 thingthats leftis to put the DNS to resolv.conf (you will find the DNS in the two lists with all the data)+The only thing thats left is to put the DNS in resolv.conf (you will find the DNS in the two lists with all the data).
  
-#leafpad /​etc/​resolv.conf+<​code>​ 
 +# leafpad /​etc/​resolv.conf 
 +</​code>​
  
-nameserver 213.94.78.16........................!!here your DNS!!+<​file>​ 
 +nameserver 213.94.78.16........................!!here'​s ​your DNS!! 
 +</​file>​
  
-if you want to do dial as useradd yourself to the group "​dialout"​ (cat /etc/group) and set the permission ​for wvdial+If you want to dial out as user add yourself to the group "​dialout"​ (cat /etc/group) and set the permissions ​for wvdial ​and wvdial.conf.
  
-for automatisation ​you can do a script in /​usr/​local/​bin ​ called umts-connect (executable) ​+For automatization ​you can put a script in /​usr/​local/​bin called umts-connect (executable)! From here it's not proved, because I connect from the console, but it should work like this!
  
-#! /bin/bash\\ +<code bash> 
-ifconfig eth0 down\\ +#! /bin/bash 
-ifconfig eth1 down\\ +ifconfig eth0 down 
-wvdial pin\\ +ifconfig eth1 down 
-wvdial umts\\+wvdial pin 
 +wvdial umts 
 +</​code>​
  
-but dont reconnect with this+But dont reconnect with this.
  
-you can do also a desktop ​entry in /​usr/​share/​applications with the name umts.desktop ​+===== Desktop ​entry =====
  
-[Desktop Entry]\\ +You can also put a desktop entry in /​usr/​share/​applications with the name umts.desktop  
-Encoding=UTF8\\ + 
-Name=UMTS connection\\ +<​file>​ 
-Name[de]=UMTS-Verbindung\\ +[Desktop Entry] 
-Comment=UMTS-Verbindung\\ +Encoding=UTF8 
-Type=Application\\ +Name=UMTS connection 
-Exec=/​usr/​local/​bin/​umts-connect\\ +Name[de]=UMTS-Verbindung 
-Icon=/​usr/​share/​icons/​.................whatever you want\\+Comment=UMTS-Verbindung 
 +Type=Application 
 +Exec=/​usr/​local/​bin/​umts-connect 
 +Icon=/​usr/​share/​icons/​.................whatever you want
 Categories=Application;​Network;​ Categories=Application;​Network;​
 +</​file>​
 +
 +Please check Exec=/​usr/​local/​bin/​umts-connect for permissions.
 +
 +Here is the forum post about this: http://​forum.slitaz.org/​index.php/​discussion/​comment/​440/#​Comment_440
  
-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+----  
 +\\ 
 +^  Page Review Section ​ ^^  
 +|Quality| Good  | 
 +|Review| Minor Updates ​ | 
 +|Priority| Medium | 
 +|Problems| add a [[http://​forum.slitaz.org|forum post link]]| 
 +|:::     | OR add a [[http://labs.slitaz.org/​issues |lab issue tracker link ]]| 
 +|How to Improve| Suggest briefly| 
 +|::: |  |
  
 +\\
 +----
 
en/guides/dialup.1268422356.txt.gz · Last modified: 2010/07/08 17:17 (external edit)