个人工具
登录
查看“UbuntuHelp:AirCard8X0”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:AirCard8X0”的源代码
来自Ubuntu中文
←
UbuntuHelp:AirCard8X0
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/AirCard8X0}} {{Languages|UbuntuHelp:AirCard8X0}} == Sierra Wireless AC850 wireless card installation in Ubuntu == {|border="1" cellspacing="0" | /!\ '''This document is a work in progress''' -- it is incomplete and some parts '''do not work'''. This being updated from [http://ubuntuforums.org/showthread.php?t=154092 info at the Ubuntu Forums]. |} '''Hardware used:''' * Sierra Wireless AC850 PC-Card * Thinkpad r60e === Initial setup === Before you start, make sure that the [[UbuntuHelp:AirCard|AirCard]] is not inserted into the PCMCIA slot. ==== Getting the firmware files ==== <ol><li>Download the [http://www.sierrawireless.com/software/8x0/AirCard_8xx_Linux.tar.gz Aircard_Linux.tar] file, extract it:<pre><nowiki> user@laptop:~$ tar -xzvf AirCard_8xx_Linux.tar.gz [messages indicating extraction of files...] </nowiki></pre> </li><li>Copy the firmware file and overwrite the older version 7xx into /lib/firmware: <pre><nowiki> sudo mv SW_8xx_SER.dat /lib/firmware/SW_7xx_SER.cis </nowiki></pre></li></ol> ==== Configuring Ubuntu to recognize the AC850 ==== The following will configure the [[UbuntuHelp:AirCard|AirCard]] as a serial-only device: <ol><li>Add the following to the '''/etc/pcmcia/config''' file under the ''Modems and other serial devices'' section:<pre><nowiki> card "Sierra Wireless AC850 3G Network Adapter R1" manfid 0x0192, 0x0710 cis "cis/SW_8xx_SER.dat" bind "serial_cs" </nowiki></pre> </li><li>Copy the file SW_8xx_SER.dat in the archive in /etc/pcmcia/cis/ </li><li>Restart the computer </li><li>Insert the [[UbuntuHelp:AirCard|AirCard]]</li></ol> When the card is inserted two high beeps should be heard, indicating that the [[UbuntuHelp:AirCard|AirCard]] has been recognized and the serial driver has been successfully loaded. The [[UbuntuHelp:AirCard|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: <ol><li>From a terminal window: <pre><nowiki> user@laptop:~$ pccardctl ident </nowiki></pre> should give something like <pre><nowiki> Socket 0: product info: "Sierra Wireless", "AC850", "3G Network Adapter", "R1" manfid: 0x0192, '''0x0710''' function: 6 (network)</nowiki></pre> </li><li>Take note of the second string at the ''manfid:'' line, in this case it's '''0x710'''</li></ol> Now create de udev rules file: <ol><li>From a terminal window: <pre><nowiki> gksudo gedit /etc/udev/rules.d/99-aircard.rules </nowiki></pre> </li><li>Insert this line, replace as appropriate the card ID: <pre><nowiki>BUS=="pcmcia", SYSFS{card_id}=="0x0710", NAME="umts", SYMLINK="tts/umts", RUN+="/usr/local/bin/umtsinit" </nowiki></pre></li></ol> For ''udev'' to recognize this new card's rules, it must be restarted. From a terminal window, type this command: <pre><nowiki> sudo /etc/init.d/udev restart </nowiki></pre> You will see something like: <pre><nowiki> * Loading additional hardware drivers... [ ok ] </nowiki></pre> If the device is mapped correctly, a /dev/umts device will be setup by udev. This can be verified with <pre><nowiki> ls /dev/um* </nowiki></pre> If it's not the case, check /var/log/syslog to see whether an error happened. This can be done with the command: <pre><nowiki> tail /var/log/syslog </nowiki></pre> === Connecting to the Internet === Two scripts will be needed for this. Create the first one with this command: <pre><nowiki> gksudo gedit /etc/chatscripts/ac850chat </nowiki></pre> Copy this in the open editor window and save the result: <pre><nowiki> '' AT TIMEOUT 5 OK ATD*99# CONNECT ''</nowiki></pre> and also <pre><nowiki> gksudo gedit /etc/ppp/peers/ac850 </nowiki></pre> Copy the following in the open editor: <pre><nowiki> -detach /dev/umts 57600 noauth debug defaultroute usepeerdns crtscts lock connect '/etc/chatscripts/ac850chat'</nowiki></pre> The connection is established with the following instruction: <pre><nowiki> pon ac850 </nowiki></pre> The connection is terminated with: <pre><nowiki> poff </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. ''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> sudo mv /etc/ppp/peers/provider /etc/ppp/peers/provider.orig sudo mv /etc/ppp/peers/ac850 /etc/ppp/peers/provider </nowiki></pre> ==== 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 === * [http://en.wikipedia.org/wiki/Universal_Mobile_Telecommunications_System Universal Mobile Telecommunications System] (UMTS) * [http://www.sierrawireless.com/faq/ShowFAQ.aspx?ID=118 Sierra Wireless] documentation * [http://mycusthelp.com/sierrawireless/supportkbitem.asp?sSessionID=&Inc=4703&sFilA=FAQ%20[[category:Category&sFilB=Products&sFilC=&FA=19&FB=26&FC=-1 Original] article in German]] * [http://wiki.chaostreff.ch/index.php/Sierra_Wireless_AC850 Another 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 [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:AirCard8X0
。