个人工具

“UbuntuHelp:DialupModemHowto/Huawei”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/DialupModemHowto/Huawei}} {{Languages|UbuntuHelp:DialupModemHowto/Huawei}} === Huawei E220 === It does not works out of the box in Ubuntu. Huawei ...)
 
 
(未显示同一用户的3个中间版本)
第2行: 第2行:
 
{{Languages|UbuntuHelp:DialupModemHowto/Huawei}}
 
{{Languages|UbuntuHelp:DialupModemHowto/Huawei}}
 
=== Huawei E220 ===
 
=== Huawei E220 ===
It does not works out of the box in Ubuntu.
+
It does not work out of the box in Ubuntu.
 
Huawei E220 is an attached USB peripheral, not mass storage (bug interprets this 3g Modem as Mass Storage at first).The modem offers three virtual usb-connection. Two command-connection and one virtual cd-drive that holds some useless windows-drivers. So, technically it is a modem, USB and (due to the CDFS format) virtual CD-ROM device.
 
Huawei E220 is an attached USB peripheral, not mass storage (bug interprets this 3g Modem as Mass Storage at first).The modem offers three virtual usb-connection. Two command-connection and one virtual cd-drive that holds some useless windows-drivers. So, technically it is a modem, USB and (due to the CDFS format) virtual CD-ROM device.
 
With new Kernels, you may have maybe two desktop icons and three entries if you do:  
 
With new Kernels, you may have maybe two desktop icons and three entries if you do:  
 
<pre><nowiki>
 
<pre><nowiki>
 +
 
ls -la /dev/ttyU*  
 
ls -la /dev/ttyU*  
 +
 
</nowiki></pre>
 
</nowiki></pre>
 
Basically, what has been done is that you have removed the initial inclination to treat the device only as a bulk storage (removing the module that handles that). You've also manually caused the recognition of the device (using the modprobe command). So that when you re-plugged it, it should now be able to work with the modem part of the device addressing it as '''/dev/ttyUSB0''', rather than that being the bulk storage device (virtual CD-ROM).  
 
Basically, what has been done is that you have removed the initial inclination to treat the device only as a bulk storage (removing the module that handles that). You've also manually caused the recognition of the device (using the modprobe command). So that when you re-plugged it, it should now be able to work with the modem part of the device addressing it as '''/dev/ttyUSB0''', rather than that being the bulk storage device (virtual CD-ROM).  
==== Wvdial ====
+
==== Wvdial and its graphical frontend gnome-ppp ====
 
This is the recommended way: see [[UbuntuHelp:DialupModemHowto/Huawei/E220|DialupModemHowto/Huawei/E220]].
 
This is the recommended way: see [[UbuntuHelp:DialupModemHowto/Huawei/E220|DialupModemHowto/Huawei/E220]].
 
==== Vodafone / Telia GUI ====
 
==== Vodafone / Telia GUI ====
第16行: 第18行:
 
https://forge.vodafonebetavine.net/frs/download.php/76/vodafone-mobile-connect-card-driver-for-linux_1.99.17_i386
 
https://forge.vodafonebetavine.net/frs/download.php/76/vodafone-mobile-connect-card-driver-for-linux_1.99.17_i386
 
.deb
 
.deb
Click in the file to open with GDebi
+
Click in the file to open it with [[UbuntuHelp:GDebi|GDebi]].
 
Plug-in the modem in the USB port.
 
Plug-in the modem in the USB port.
 
Start Vodafone Mobile Connect Card Driver for Linux in Program->Internet  
 
Start Vodafone Mobile Connect Card Driver for Linux in Program->Internet  
第44行: 第46行:
 
<ol><li>libc6</li></ol>
 
<ol><li>libc6</li></ol>
  
If you want more automatization and are offline, you can use apt-zip to download the packages from other computer with Internet connection and install them in Ubuntu.
+
If you want more automatization and are offline, you can use an [[UbuntuHelp:AptGet/Offline/Repository|offline repository]] or download the packages from other computer with Internet connection and install them in Ubuntu.
You can don´t want or can install all this dependencias, you can try the  ["DialupModemHowto/Huawei/E220" wvdial config file for Huawei E220]
+
You can don´t want or can install all this dependencias, you can try the  [[UbuntuHelp:DialupModemHowto/Huawei/E220|wvdial config file for Huawei E220]]
 
===== Telia =====
 
===== Telia =====
 
<pre><nowiki>
 
<pre><nowiki>
 +
 
Profile name = Telia3G
 
Profile name = Telia3G
 +
 
username = 3G
 
username = 3G
 +
 
password = internet
 
password = internet
 +
 
Preferred connection = 3G  
 
Preferred connection = 3G  
 +
 
Authentication mode = default
 
Authentication mode = default
 +
 
APN host = online.telia.se
 
APN host = online.telia.se
 +
 
</nowiki></pre>
 
</nowiki></pre>
 
In other networks, you can change "online.telia.se" to "internet"
 
In other networks, you can change "online.telia.se" to "internet"
第65行: 第74行:
 
* [http://www.huawei.com/mobileweb/en/products/view.do?id=282 Official Huawei E220]
 
* [http://www.huawei.com/mobileweb/en/products/view.do?id=282 Official Huawei E220]
 
* [http://wiki.debian.org/Huawei/E220 Huawei E220 in Debian]
 
* [http://wiki.debian.org/Huawei/E220 Huawei E220 in Debian]
* [http://www.howtoforge.com/vodafone_mobile_connect_card_driver_linux HowToForge VMCCDfL]
+
* [http://www.howtoforge.com/vodafone_mobile_connect_card_driver_linux HowToForge VMCCDfL]
 
* [https://lists.ubuntu.com/mailman/listinfo/ubuntu-cell Ubuntu Cell list]
 
* [https://lists.ubuntu.com/mailman/listinfo/ubuntu-cell Ubuntu Cell list]
 
* [http://forum.huawei.com/jive4/forum.jspa?forumID=130&start=0&orderStr=26 Huawei forums]
 
* [http://forum.huawei.com/jive4/forum.jspa?forumID=130&start=0&orderStr=26 Huawei forums]
* [http://linux.softpedia.com/get/Internet/HUAWEI-E220-Installer-34846.shtml HUAWEI-E220-Installer]  
+
* [http://linux.softpedia.com/get/Internet/HUAWEI-E220-Installer-34846.shtml HUAWEI-E220-Installer]  
 
* [http://www.goldfisch.at/knowwiki/howtos/huawei_e220 umtsmon]
 
* [http://www.goldfisch.at/knowwiki/howtos/huawei_e220 umtsmon]
 
----
 
----

2009年11月17日 (二) 18:53的最新版本

Huawei E220

It does not work out of the box in Ubuntu. Huawei E220 is an attached USB peripheral, not mass storage (bug interprets this 3g Modem as Mass Storage at first).The modem offers three virtual usb-connection. Two command-connection and one virtual cd-drive that holds some useless windows-drivers. So, technically it is a modem, USB and (due to the CDFS format) virtual CD-ROM device. With new Kernels, you may have maybe two desktop icons and three entries if you do:


ls -la /dev/ttyU* 

Basically, what has been done is that you have removed the initial inclination to treat the device only as a bulk storage (removing the module that handles that). You've also manually caused the recognition of the device (using the modprobe command). So that when you re-plugged it, it should now be able to work with the modem part of the device addressing it as /dev/ttyUSB0, rather than that being the bulk storage device (virtual CD-ROM).

Wvdial and its graphical frontend gnome-ppp

This is the recommended way: see DialupModemHowto/Huawei/E220.

Vodafone / Telia GUI

The Huawei E220 can be a USB 'dongle' for HSDPA connection through the Vodaphone network. Download vodafone-mobile-connect-card-driver-for-linux (in short, VMCCfl)  : https://forge.vodafonebetavine.net/frs/download.php/76/vodafone-mobile-connect-card-driver-for-linux_1.99.17_i386 .deb Click in the file to open it with GDebi. Plug-in the modem in the USB port. Start Vodafone Mobile Connect Card Driver for Linux in Program->Internet Include your username, password and ISP data and click on Connect. Now, you can use Internet (try it opening a web browser).

Dependencies and sub-dependencies

If you are using the Ubuntu 7.10 Live CD, you need to download these dependency packages (not included in the Live CD) and install them using Gebi:

  1. Python-twisted-conch
  2. Python-pysqlite2
  3. Python-2.4-minimal
  4. Python-twisted-words
  5. Python-twisted-web
  6. Python-twisted-runner
  7. Python-tz
  8. Python-twisted-bin
  9. Python-twisted-news

10. Python-zopeinterface 11. Python-crypto 12. Python-twisted 13. Python-twisted-core 14. Python-twisted-lore 15. Python-twisted-mail 16. Python 2.4 17. Python-twisted-names 18. Python-serial. Some of these packages need others (sub-dependencies):

  1. libc6

If you want more automatization and are offline, you can use an offline repository or download the packages from other computer with Internet connection and install them in Ubuntu. You can don´t want or can install all this dependencias, you can try the wvdial config file for Huawei E220

Telia

Profile name = Telia3G

username = 3G

password = internet

Preferred connection = 3G 

Authentication mode = default

APN host = online.telia.se

In other networks, you can change "online.telia.se" to "internet"

umtsmon GUI

umtsmon provides a GUI, allows you to send SMS and change your PIN, has a connect- and disconnect-button.

See also

External links