Saturday, May 5, 2012

How to Connect Internet using ZTE AC2726 and ZTE AC682 USB Modem on Archlinux

The easy way to connect internet on archlinux is using LAN Connection, but how about USB modem, for this example i test ZTE AC682 & ZTE AC2726.These are USB EVDO Modem, to make this modem work on Archlinux you just need wvdial application. On latest ISO this tools is available on the Live Media.

Or if not available, you can download these packages first (using another operating system). For this example i'm using indonesian repo. (if you using 64 bit just chang i686 to x86_64)
1. usbutils on core repo
2. wvdial, wvstreams, usb_modeswitch, xplc on community repo
3. tcl, eject on extra repo
Then install them using pacman -U, if you place all packages on one folder just install it using this command.
#pacman -U *.pkg.tar.xz

For zteac682, If you using the latest iso of archlinux just skip this step
#eject /dev/sr1
#eject /dev/sr0
#modprobe usbserial vendor=0x19d2 product=ffdd

UPDATE: Skip above step if you using latest ISO with systemd, wvdial is included on the ISO.

#nano /etc/wvdial.conf

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +F
Modem Type = Analog Modem
Phone = #777  ---> your dialer number
ISDN = 0
Password = smart ---> your password
New PPPD = yes
Username = smart  ---> your username
Modem = /dev/ttyUSB0
Baud = 9600

then save it
or using this command to genereate wvdial.conf

then go to another terminal (CTRL + ALT + F2), login to root, type wvdial, when connected like this picture below

You can continue with pacman -Syu

If you have problem with "Connected, but carrier signal lost", then you need edit /etc/wvdial.conf, add this at end of line (/etc/wvdial.conf)

#Carrier Check = no
Stupid Mode = yes

then save it
Done & Enjoy

Share on Facebook
Share on Twitter
Share on Google+

Related : How to Connect Internet using ZTE AC2726 and ZTE AC682 USB Modem on Archlinux