In my case I was using the AT&T 3G Laplink 875U (aka Sierra Wireless AirCard 875U) and performing the setup in RHEL 5 running kernel 2.6.18-8. I later used the exact same setup in Fedora Core 6 and Fedora 7 without issue.
Furthermore, I used this same setup for an old Verizon aircard that was PCMCIA without any issues. Of course, for the Verizon version the username/password/dialup info was different but the important thing here is the motions.
To configure Cingular/AT&T 3G Laplink Connect (Sierra Wireless AirCard 875U) in RHEL5 from GNOME desktop:
- Go to System -> Administration -> Network.
- Enter the super-user password.
- Go to the Hardware tab.
- Click New.
- Select Hardware Type of Modem.
- Click OK.
- Set modem device to /dev/ttyUSB0.
- Baud rate should be 460800.
- Flow control should be hardware.
- Modem volume should be Off.
- Use touch tone dialing should be checked.
- Click OK.
- Click the Device tab.
- Click New.
- Select Device Type of Modem connection.
- Click Forward.
- Phone number should be *99#4
- Provider name should be Cingular or ATT
- Login name should be ISPDA@CINGULARGPRS.COM
- Password should be CINGULAR1
- Click Forward.
- Automatically obtain IP address settings should be checked.
- Automatically obtain DNS information form provider should be checked.
- Click Forward.
- Click Apply.
One problem that I have run into and have not figured out a way around is that the DNS servers obtained during the connection are invalid sometimes. This means that you may not be able to resolve host names to IP addresses. Because of this issue, I have implemented a workaround of setting the DNS address manually. The DNS addresses that I use are 66.209.10.202 and 66.102.163.232. I obtained both of these addresses from Cingular. Please note however, even using this manually set DNS addresses doesn't always work when traveling. It is possible that some network towers will not have access to these DNS servers, in which case using the automatically assigned addresses is better just as long as you get a valid one.
To set these addresses as static:
- As superuser, open /etc/sysconfig/network-scripts/ifcfg-Cingular (or ifcfg-ATT depending on the Provider name used during configuration of the connection) using a text editor.
- At the end of the file add the following two lines:
DNS1=66.209.10.202
DNS2=66.102.163.232 - Save the file.
- Go to System -> Administration -> Network.
- Enter the super-user password if prompted.
- From the Devices tab, select Device ppp0 / Nickname Cingular / Type Modem. Keep in mind that the device number might be ppp# depending on other modems you have configured.
- Click Edit.
- Make all the changes you would like. I am not sure how all the settings impact the AirCard as I have not tested them fully but here are the ones that I changed:
Nickname -> cingular
Restart if connection dies -> Enabled
When I do want to connect to Cingular, I use the command line. Open a terminal and issue the following command to connect:
/sbin/ifup cingular
And to shutdown the connection:
/sbin/ifdown cingular
Keep in mind that the argument you pass to ifup or ifdown will be the device nickname given to the dialup connection. In my case this is cingular, but if you did not change the device nickname from Cingular, you would have to use Cingular.