Connect modem with wvdial. 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.
Connect internet (USB Modem) in Archlinux with wvdial
Wvdial in ZTE AC2726 & AC682
Or if not available, you can download these packages first (using another operating system). For this example i'm using indonesian repo. kambing.ui.ac.id (if you using 64 bit just chang i686 to x86_64)
1. usbutils on core repo
http://kambing.ui.ac.id/archlinux/core/os/i686/
2. wvdial, wvstreams, usb_modeswitch, xplc on community repo
http://kambing.ui.ac.id/archlinux/community/os/i686/
3. tcl, eject on extra repo
http://kambing.ui.ac.id/archlinux/extra/os/i686/
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/sr1or
#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.
Then.
#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
#wvdialconf
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