特殊:Badtitle/NS100:Icon255HowTo:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Wikibot留言 | 贡献
无编辑摘要
Wikibot留言 | 贡献
无编辑摘要
第1行: 第1行:
{{From|https://help.ubuntu.com/community/Icon255HowTo}}
{{From|https://help.ubuntu.com/community/Icon255HowTo}}
{{Languages|UbuntuHelp:Icon255HowTo}}
{{Languages|UbuntuHelp:Icon255HowTo}}
This guide will explain how to get an Orange Icon 255 wireless internet modem working. This guide has been translated/copied from [http://www.equinoxefr.org/post/2008/04/21/la-clef-orange-icon-225-sur-ubuntu-804/ this blog post], and my French isn't particularly good. So feel free to update it if any of the crucial points are wrong.
This guide explains how to get an Orange Icon 255 wireless internet modem working. This guide has been translated/copied from [http://www.equinoxefr.org/post/2008/04/21/la-clef-orange-icon-225-sur-ubuntu-804/ this blog post], and my French isn't particularly good. So feel free to update it if any of the crucial points are wrong.
This guide will work on any such modem, regardless of the branding--'''as long as the hardware is the same'''.
This guide will work on any such modem, regardless of the branding--'''as long as the hardware is the same'''.
=== Getting the script ===
=== Getting the script ===
The modem doesn't need a driver as such, but a script. This can be downloaded from the original author's site, with the following command:
To get this modem to work, we will need two things: A driver and a connection script. Those can be downloaded from the original author's site, with the following command:
<pre><nowiki>
<pre><nowiki>
wget http://www.equinoxefr.org/wp-content/uploads/2008/05/icon225.tgz
wget http://www.equinoxefr.org/wp-content/uploads/2008/11/icon225.tgz
</nowiki></pre>
</nowiki></pre>
Unpack the archive with the following command:
Unpack the archive with the following command:
第12行: 第12行:
tar xvf icon255.tgz
tar xvf icon255.tgz
</nowiki></pre>
</nowiki></pre>
This will produce a folder named ''hso/''. To enter it, use ''cd hso/''. It contains a number of files.
This will produce a folder named ''hso/''. To enter it, use ''cd hso/''. It contains various files: The source code of the ''hso'' driver; A script to compile and install it; A connection script
First, run ''install.sh'' with ''sudo ./install.sh'' - this will install various packages and services required to use the script.
First, run ''install.sh'' with ''sudo ./install.sh'' - this will compile the driver and it's dependencies.
Note that Ubuntu allready commes with it's own version of the ''hso'' driver, but it is very unlikely to work with the given connection script.
Second, edit ''conninfo.ini'' with your information. You can use gedit, nano, vim... whatever for this.
Second, edit ''conninfo.ini'' with your information. You can use gedit, nano, vim... whatever for this.
<pre><nowiki>
<pre><nowiki>
第19行: 第20行:
PIN=0000
PIN=0000
</nowiki></pre>
</nowiki></pre>
APN is your provider. I'm not sure how this works for different providers, but if you have the Icon 255, leave it. Change PIN to your pin number. Save the file.
APN is the access point name of your provider. Refer to your manual to find it, and if you cannot find it in there you may also consider looking at the value choosen by the installer on a machine running Windows.
Change PIN to your pin number. Save the file.
Finally, to connect, use:
Finally, to connect, use:
<pre><nowiki>
<pre><nowiki>
sudo ./connect.sh up
sudo ./connect.sh up
</nowiki></pre>
</nowiki></pre>
If this does not work, here is an alternative method that worked for me:
<pre><nowiki>
sudo modprobe hso
# Connect the usb key now
sudo modprobe -r usb_storage
sudo ./connect.sh up
</nowiki></pre>
Note that the order of the commands is very important here!
To disconnect again, use the following:
To disconnect again, use the following:
<pre><nowiki>
<pre><nowiki>
第29行: 第39行:
</nowiki></pre>
</nowiki></pre>
Happy surfing!
Happy surfing!
Tested on Intrepid Ibex 2.6.27-9-generic i686. Works great!


[[category:UbuntuHelp]]
[[category:UbuntuHelp]]

2009年5月12日 (二) 17:19的版本

{{#ifexist: :Icon255HowTo/zh | | {{#ifexist: Icon255HowTo/zh | | {{#ifeq: {{#titleparts:Icon255HowTo|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Icon255HowTo|1|-1|}} | zh | | }}

This guide explains how to get an Orange Icon 255 wireless internet modem working. This guide has been translated/copied from this blog post, and my French isn't particularly good. So feel free to update it if any of the crucial points are wrong. This guide will work on any such modem, regardless of the branding--as long as the hardware is the same.

Getting the script

To get this modem to work, we will need two things: A driver and a connection script. Those can be downloaded from the original author's site, with the following command:

wget http://www.equinoxefr.org/wp-content/uploads/2008/11/icon225.tgz

Unpack the archive with the following command:

tar xvf icon255.tgz

This will produce a folder named hso/. To enter it, use cd hso/. It contains various files: The source code of the hso driver; A script to compile and install it; A connection script First, run install.sh with sudo ./install.sh - this will compile the driver and it's dependencies. Note that Ubuntu allready commes with it's own version of the hso driver, but it is very unlikely to work with the given connection script. Second, edit conninfo.ini with your information. You can use gedit, nano, vim... whatever for this.

APN=orange
PIN=0000

APN is the access point name of your provider. Refer to your manual to find it, and if you cannot find it in there you may also consider looking at the value choosen by the installer on a machine running Windows. Change PIN to your pin number. Save the file. Finally, to connect, use:

sudo ./connect.sh up

If this does not work, here is an alternative method that worked for me:

sudo modprobe hso
# Connect the usb key now
sudo modprobe -r usb_storage
sudo ./connect.sh up

Note that the order of the commands is very important here! To disconnect again, use the following:

sudo ./connect.sh down

Happy surfing! Tested on Intrepid Ibex 2.6.27-9-generic i686. Works great!