特殊:Badtitle/NS100:AirCard8X0:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第103行: | 第103行: | ||
</nowiki></pre> | </nowiki></pre> | ||
If the connection is established but no data is received, it can be because another connection is active. Open the network manager and deactivete all other active connections. | If the connection is established but no data is received, it can be because another connection is active. Open the network manager and deactivete all other active connections. | ||
''pon'' without argument will use the | ''pon'' without argument will use the ��more provider�� configuration file. One can rename thus ��more provider�� in ��provider.orig�� and ��ac850�� in ��more provider�� with the instructions: | ||
<pre><nowiki> | <pre><nowiki> | ||
sudo mv /etc/ppp/peers/provider /etc/ppp/peers/provider.orig | sudo mv /etc/ppp/peers/provider /etc/ppp/peers/provider.orig |
2008年10月19日 (日) 09:41的版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/AirCard8X0 }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/af | • {{#if: UbuntuHelp:AirCard8X0|Afrikaans| [[::AirCard8X0/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/ar | • {{#if: UbuntuHelp:AirCard8X0|العربية| [[::AirCard8X0/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/az | • {{#if: UbuntuHelp:AirCard8X0|azərbaycanca| [[::AirCard8X0/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/bcc | • {{#if: UbuntuHelp:AirCard8X0|جهلسری بلوچی| [[::AirCard8X0/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/bg | • {{#if: UbuntuHelp:AirCard8X0|български| [[::AirCard8X0/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/br | • {{#if: UbuntuHelp:AirCard8X0|brezhoneg| [[::AirCard8X0/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/ca | • {{#if: UbuntuHelp:AirCard8X0|català| [[::AirCard8X0/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/cs | • {{#if: UbuntuHelp:AirCard8X0|čeština| [[::AirCard8X0/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/de | • {{#if: UbuntuHelp:AirCard8X0|Deutsch| [[::AirCard8X0/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/el | • {{#if: UbuntuHelp:AirCard8X0|Ελληνικά| [[::AirCard8X0/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/es | • {{#if: UbuntuHelp:AirCard8X0|español| [[::AirCard8X0/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/fa | • {{#if: UbuntuHelp:AirCard8X0|فارسی| [[::AirCard8X0/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/fi | • {{#if: UbuntuHelp:AirCard8X0|suomi| [[::AirCard8X0/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/fr | • {{#if: UbuntuHelp:AirCard8X0|français| [[::AirCard8X0/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/gu | • {{#if: UbuntuHelp:AirCard8X0|ગુજરાતી| [[::AirCard8X0/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/he | • {{#if: UbuntuHelp:AirCard8X0|עברית| [[::AirCard8X0/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/hu | • {{#if: UbuntuHelp:AirCard8X0|magyar| [[::AirCard8X0/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/id | • {{#if: UbuntuHelp:AirCard8X0|Bahasa Indonesia| [[::AirCard8X0/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/it | • {{#if: UbuntuHelp:AirCard8X0|italiano| [[::AirCard8X0/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/ja | • {{#if: UbuntuHelp:AirCard8X0|日本語| [[::AirCard8X0/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/ko | • {{#if: UbuntuHelp:AirCard8X0|한국어| [[::AirCard8X0/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/ksh | • {{#if: UbuntuHelp:AirCard8X0|Ripoarisch| [[::AirCard8X0/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/mr | • {{#if: UbuntuHelp:AirCard8X0|मराठी| [[::AirCard8X0/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/ms | • {{#if: UbuntuHelp:AirCard8X0|Bahasa Melayu| [[::AirCard8X0/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/nl | • {{#if: UbuntuHelp:AirCard8X0|Nederlands| [[::AirCard8X0/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/no | • {{#if: UbuntuHelp:AirCard8X0|norsk| [[::AirCard8X0/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/oc | • {{#if: UbuntuHelp:AirCard8X0|occitan| [[::AirCard8X0/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/pl | • {{#if: UbuntuHelp:AirCard8X0|polski| [[::AirCard8X0/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/pt | • {{#if: UbuntuHelp:AirCard8X0|português| [[::AirCard8X0/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/ro | • {{#if: UbuntuHelp:AirCard8X0|română| [[::AirCard8X0/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/ru | • {{#if: UbuntuHelp:AirCard8X0|русский| [[::AirCard8X0/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/si | • {{#if: UbuntuHelp:AirCard8X0|සිංහල| [[::AirCard8X0/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/sq | • {{#if: UbuntuHelp:AirCard8X0|shqip| [[::AirCard8X0/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/sr | • {{#if: UbuntuHelp:AirCard8X0|српски / srpski| [[::AirCard8X0/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/sv | • {{#if: UbuntuHelp:AirCard8X0|svenska| [[::AirCard8X0/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/th | • {{#if: UbuntuHelp:AirCard8X0|ไทย| [[::AirCard8X0/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/tr | • {{#if: UbuntuHelp:AirCard8X0|Türkçe| [[::AirCard8X0/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/vi | • {{#if: UbuntuHelp:AirCard8X0|Tiếng Việt| [[::AirCard8X0/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/yue | • {{#if: UbuntuHelp:AirCard8X0|粵語| [[::AirCard8X0/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/zh | • {{#if: UbuntuHelp:AirCard8X0|中文| [[::AirCard8X0/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/zh-hans | • {{#if: UbuntuHelp:AirCard8X0|中文(简体)| [[::AirCard8X0/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AirCard8X0 | UbuntuHelp:AirCard8X0 | {{#if: | :}}AirCard8X0}}/zh-hant | • {{#if: UbuntuHelp:AirCard8X0|中文(繁體)| [[::AirCard8X0/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:AirCard8X0|:AirCard8X0|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :AirCard8X0/zh | | {{#ifexist: AirCard8X0/zh | | {{#ifeq: {{#titleparts:AirCard8X0|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:AirCard8X0|1|-1|}} | zh | | }}
Sierra Wireless AC850 wireless card installation in Ubuntu
/!\ This document is a work in progress -- it is incomplete and some parts do not work. This being updated from [at the Ubuntu Forums]. |
Hardware used:
- Sierra Wireless AC850 PC-Card
- Thinkpad r60e
Initial setup
Before you start, make sure that the AirCard is not inserted into the PCMCIA slot.
Getting the firmware files
- Download the [[1]] file, extract it:
user@laptop:~$ tar -xzvf AirCard_8xx_Linux.tar.gz [messages indicating extraction of files...]
- Copy the firmware file and overwrite the older version 7xx into /lib/firmware:
sudo mv SW_8xx_SER.dat /lib/firmware/SW_7xx_SER.cis
Configuring Ubuntu to recognize the AC850
The following will configure the AirCard as a serial-only device:
- Add the following to the /etc/pcmcia/config file under the Modems and other serial devices section:
card "Sierra Wireless AC850 3G Network Adapter R1" manfid 0x0192, 0x0710 cis "cis/SW_8xx_SER.dat" bind "serial_cs"
- Copy the file SW_8xx_SER.dat in the archive in /etc/pcmcia/cis/
- Restart the computer
- Insert the AirCard
When the card is inserted two high beeps should be heard, indicating that the AirCard has been recognized and the serial driver has been successfully loaded. The AirCard can be accessed as /dev/modem when inserted. Running minicom should allow access to the AT command interface.
Serial port mapping
We now must create a udev rules file so the card is mapped to a UMTS device. First, find out the card ID:
- From a terminal window:
user@laptop:~$ pccardctl ident
should give something likeSocket 0:
product info: "Sierra Wireless", "AC850", "3G Network Adapter", "R1" manfid: 0x0192, '''0x0710'''
function: 6 (network) - Take note of the second string at the manfid: line, in this case it's 0x710
Now create de udev rules file:
- From a terminal window:
gksudo gedit /etc/udev/rules.d/99-aircard.rules
- Insert this line, replace as appropriate the card ID:
BUS=="pcmcia", SYSFS{card_id}=="0x0710", NAME="umts", SYMLINK="tts/umts", RUN+="/usr/local/bin/umtsinit"
For udev to recognize this new card's rules, it must be restarted. From a terminal window, type this command:
sudo /etc/init.d/udev restart
You will see something like:
* Loading additional hardware drivers... [ ok ]
If the device is mapped correctly, a /dev/umts device will be setup by udev. This can be verified with
ls /dev/um*
If it's not the case, check /var/log/syslog to see whether an error happened. This can be done with the command:
tail /var/log/syslog
Connecting to the Internet
Two scripts will be needed for this. Create the first one with this command:
gksudo gedit /etc/chatscripts/ac850chat
Copy this in the open editor window and save the result:
'' AT TIMEOUT 5 OK ATD*99# CONNECT ''
and also
gksudo gedit /etc/ppp/peers/ac850
Copy the following in the open editor:
-detach /dev/umts 57600 noauth debug defaultroute usepeerdns crtscts lock connect '/etc/chatscripts/ac850chat'
The connection is established with the following instruction:
pon ac850
The connection is terminated with:
poff
If the connection is established but no data is received, it can be because another connection is active. Open the network manager and deactivete all other active connections. pon without argument will use the ��more provider�� configuration file. One can rename thus ��more provider�� in ��provider.orig�� and ��ac850�� in ��more provider�� with the instructions:
sudo mv /etc/ppp/peers/provider /etc/ppp/peers/provider.orig sudo mv /etc/ppp/peers/ac850 /etc/ppp/peers/provider
Connecting with GPRSSEC
- Install GPRSEC from http://darrenalbers.com/gprsec/
- Run gprsec, select preferences and select the serial port you determined from dmesg.
- Save the settings and click connect
References
- [Mobile Telecommunications System] (UMTS)
- [Wireless] documentation
- [article in German]
- [article] in German about the same hardware
- http://www.murga-linux.com/puppy/viewtopic.php?t=7648
- http://www.pcurtis.com/ubuntu-mobile.htm
- http://ubuntuforums.org/showthread.php?t=338004
Keywords
AC 850, networking