Sierra Wireless and ARCH LINUX or Equivalent modem setup.
Im using Sierra wireless 875U USB 3.5G hsdpa modem.
If you are running Gnome on Arch and happen to have this 3G modem, getting connected is not that hard because everything else is perhaps bundled with the system. All you will need is of course pppd (yaourt or pacman -S ppp, its prebundled), the /etc/ppp/if-up.local, /etc/ppp/if-down.local script, /etc/ppp/peers/gsm and /etc/ppp/peers/gsm_chat scripts. There are other scripts as well in the /peers dir but i dont use them for my ISP.
First of all, when you plugin the usb modem, #dmesg, check if the driver is installed which im sure is because my stock ARCH got this. if not, head over to http://www.sierrawireless.com/faq/ShowFAQ.aspx?ID=607 and download/install and modprobe. If the system sees it, then youre all set.
Please download this file. http://www.sierrawireless.com/resources/support/Software/Linux/ppp-scripts.tar.gz
<<<below are coppied from sierra website plus small comments>>>
1. Navigate to the directory that contains pppd-scripts.tar.gz and extract it to the default location by typing the following commands:
$ cd "directory" $ tar –zxf pppd-scripts.tar.gz
2. Switch to root and copy the files to the ppp/peers directory by typing the following commands:
# su # cp –r ./ppp /etc/ # cd /etc/ppp # chmod a+x ip-up.local ip-down.local
3. If using a GSM/UMTS device follow these steps to set the authentication settings; otherwise, skip this step:
# cd /etc/ppp/peers # vi ./gsm_chat (You may use other editing programs such as emacs or gedit to edit the script)
* Go to the APN section and replace the listed APN with that of your service provider (e.g. If your service provider is Cingular, you would type in isp.cingular). * There are a few sample APN lines listed in the script that can be tried. * Save and exit.
4. Test the connection by typing the following command (you may need to use the root account to run pppd):
For CDMA devices: # pppd call cdma
For GSM/UMTS devices: (this is what i use.) # pppd call gsm
For Aircard 885E, MC885,C885 devices: # pppd call gsm885
5. Edit the gsm script file if the connection test is not successful; further authentication may be required.
# vi ./gsm (You can use other editing programs such as emacs or gedit)
* Put a ‘#’ next to the “noauth” line (this disables the line). * Remove the ‘#’ next to the user and password lines. * Type in the appropriate user name and password (contact your service provider if you do not know what these are). * Some pppd version may not correctly set up the dynamic DNS configuration. It may be necessary to copy /etc/ppp/resolv.conf to /etc/resolv.conf. Or symlink this by typing: # ln -s /etc/ppp/resolv.conf to /etc/resolv.conf
Thats it! Good Luck!