Difference between revisions of "Sierra Wireless"

From ArchWiki
Jump to: navigation, search
(Created page with ''''Sierra Wireless and ARCHLINUX''' 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 m...')
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
'''Sierra Wireless and ARCHLINUX''' or Equivalent modem setup.
+
[[Category:Modems]]
  
Im using Sierra wireless 875U USB 3.5G hsdpa modem.
+
{{Stub}}
  
If you are running Gnome on Arch and happen to have this 3G modem, getting connected
+
This installation guide was written for the Sierra Wireless 875U USB 3.5G HSDPA Modem but should apply to others.
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
+
Required software includes ppp (part of the base Arch installation) and a package of [http://www.sierrawireless.com/resources/support/Software/Linux/ppp-scripts.tar.gz Sierra ppp scripts].  Using a ppp frontend may eliminate the need for the scripts.
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.
+
The next steps are to place these scripts in the right places under /etc/ppp, set permissions, configure pppd, and test the connection. For more detailed information, please refer to [http://www.sierrawireless.com/faq/ShowFAQ.aspx?ID=607 Sierra's FAQ].
http://www.sierrawireless.com/resources/support/Software/Linux/ppp-scripts.tar.gz
+
  
<<<below are coppied from sierra website plus small comments>>>
+
Note that the stock Arch kernel seems to include support for this type of card, and that the drivers available from Sierra are for older kernel versions than those found in Arch.
 
+
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!
+

Revision as of 13:24, 13 June 2012


Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:Sierra Wireless#)

This installation guide was written for the Sierra Wireless 875U USB 3.5G HSDPA Modem but should apply to others.

Required software includes ppp (part of the base Arch installation) and a package of Sierra ppp scripts. Using a ppp frontend may eliminate the need for the scripts.

The next steps are to place these scripts in the right places under /etc/ppp, set permissions, configure pppd, and test the connection. For more detailed information, please refer to Sierra's FAQ.

Note that the stock Arch kernel seems to include support for this type of card, and that the drivers available from Sierra are for older kernel versions than those found in Arch.