UBUNTU上裝3.5G網卡 - Linux

Faithe avatar
By Faithe
at 2009-11-15T04:11

Table of Contents

※ 引述《s200070221 (BrokenWings)》之銘言:
: 小弟我卸載之後
: 發現說還是不能使用
: 之後去查了一下別人的做法
: 發現是9.04的核心沒有某usb裝置的驅動
: 我下載了核心的更新檔 安裝了
: 但是現在還是不能用
: 用了gnome-ppp也不行
: 用原廠的安裝方法也不行
: 誰有圖文教學啊?
我的3.5G網卡是Bandluxe C120 for Ubuntu 9.04

會出現如下的情況,如果你的情況跟我的不同,請跳過這篇文章

把網卡插上USB後,開啟終端機,打上dmesg

出現以下訊息

usb 2-2: new full speed USB device using uhci_hcd and address 10
usb 2-2: configuration #1 chosen from 1 choice
usb-storage: probe of 2-2:1.0 failed with error -5
option 2-2:1.0: GSM modem (1-port) converter detected
usb 2-2: GSM modem (1-port) converter now attached to ttyUSB0
usb-storage: probe of 2-2:1.1 failed with error -5
option 2-2:1.1: GSM modem (1-port) converter detected
usb 2-2: GSM modem (1-port) converter now attached to ttyUSB1
scsi24 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 10
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
usb 2-2: reset full speed USB device using uhci_hcd and address 10
scsi 24:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
sr0: scsi-1 drive
sr 24:0:0:0: Attached scsi CD-ROM sr0
sr 24:0:0:0: Attached scsi generic sg0 type 5
usb 2-2: reset full speed USB device using uhci_hcd and address 10
usb 2-2: reset full speed USB device using uhci_hcd and address 10
usb 2-2: device descriptor read/64, error -71
usb 2-2: USB disconnect, address 10
option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
option 2-2:1.0: device disconnected
option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
option 2-2:1.1: device disconnected
usb 2-2: new full speed USB device using uhci_hcd and address 11
usb 2-2: configuration #1 chosen from 1 choice
usb-storage: probe of 2-2:1.0 failed with error -5
option 2-2:1.0: GSM modem (1-port) converter detected
usb 2-2: GSM modem (1-port) converter now attached to ttyUSB0
usb-storage: probe of 2-2:1.1 failed with error -5
option 2-2:1.1: GSM modem (1-port) converter detected
usb 2-2: GSM modem (1-port) converter now attached to ttyUSB1
scsi27 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 11
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
usb 2-2: reset full speed USB device using uhci_hcd and address 11
scsi 27:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
sr0: scsi-1 drive
sr 27:0:0:0: Attached scsi CD-ROM sr0
sr 27:0:0:0: Attached scsi generic sg0 type 5
usb 2-2: reset full speed USB device using uhci_hcd and address 11
usb 2-2: reset full speed USB device using uhci_hcd and address 11
usb 2-2: device descriptor read/64, error -71
usb 2-2: USB disconnect, address 11
option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
option 2-2:1.0: device disconnected
option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
option 2-2:1.1: device disconnected
scsi 27:0:0:0: rejecting I/O to dead device
scsi 27:0:0:0: rejecting I/O to dead device
scsi 27:0:0:0: rejecting I/O to dead device
scsi 27:0:0:0: rejecting I/O to dead device

會一直loop,最後終止

解決方法是用root權限編輯

/usr/share/hal/fdi/preprobe/10osvendor/20-broken-usb-sticks.fdi

往下拉你會看到

<!-- Ignore the Huawei E220 USB HSDPA modem -->
<match key="@storage.originating_device:usb.vendor_id" int="0x12d1">
<match key="@storage.originating_device:usb.product_id" int="0x1003">
<merge key="info.ignore" type="bool">true</merge>
</match>
</match>

把它複製一份接在後面,比如我的設定就變成

<!-- Ignore the Huawei E220 USB HSDPA modem -->
<match key="@storage.originating_device:usb.vendor_id" int="0x12d1">
<match key="@storage.originating_device:usb.product_id" int="0x1003">
<merge key="info.ignore" type="bool">true</merge>
</match>
</match>
<!-- Ignore the Bandluxe C120 USB HSDPA modem -->
<match key="@storage.originating_device:usb.vendor_id" int="0x1a8d">
<match key="@storage.originating_device:usb.product_id" int="0x1002">
<merge key="info.ignore" type="bool">true</merge>
</match>
</match>

我上網查了你的網卡的vendor id和product id
vendor=0x1da5 product=0x4512 (因為我沒有你的網卡,所以左邊數據尚待確認)

所以你的是

<!-- Ignore the Qisda H21 USB HSDPA modem -->
<match key="@storage.originating_device:usb.vendor_id" int="0x1da5">
<match key="@storage.originating_device:usb.product_id" int="0x4512">
<merge key="info.ignore" type="bool">true</merge>
</match>
</match>

存檔後重新啟動,這樣應該就不會loop了

之後再用NetworkManager來設定行動寬頻即可


Bleed

--
World of bleed1979

http://bleed1979.myweb.hinet.net/


--
Tags: Linux

All Comments

Skylar DavisLinda avatar
By Skylar DavisLinda
at 2009-11-17T07:07
沒有什麼事情發生 還是一樣不能連線= =

關於acpi的相關問題

Tom avatar
By Tom
at 2009-11-15T00:46
我現在使用的是幾年前的筆電 型號是dell inspiron 2650 我是最近才開始接觸linux的 因為剛開始 所以也是幾乎每個版本都有灌來玩一玩 然後會遇到的問題就是 幾乎不管用那個版本 包括ubuntu 9.04 9.10 fedora 11 opensuse11.2 要進入live cd ...

UBUNTU上裝3.5G網卡

Elizabeth avatar
By Elizabeth
at 2009-11-15T00:30
小弟我卸載之後 發現說還是不能使用 之後去查了一下別人的做法 發現是9.04的核心沒有某usb裝置的驅動 我下載了核心的更新檔 安裝了 但是現在還是不能用 用了gnome-ppp也不行 用原廠的安裝方法也不行 誰有圖文教學啊? -- 善良是我的天性 邪惡是我的本性 而邪惡的天使 終究敵不過善良惡魔的愛 ...

關於make的用法?

Jacky avatar
By Jacky
at 2009-11-14T22:34
最近在安裝petrify這套軟體的時候 資料夾下方 有 /bin /lib 和 INSTALL bin資料夾裡面有draw_astg write_sg petrify 這三個檔案 我先./configure 似乎不行 想說直接make 也不行 後來去看了INSTALL裡面後 他裡面 ...

ubuntu 9.10 PPPOE連線失敗

Heather avatar
By Heather
at 2009-11-14T21:46
如題 ubuntu版本9.10 - DVD 桌機是Acer Aspire M1800 CPU是E5300 晶片組 nForce 620i 我看過nVidia的官網 它說NV的晶片組全部Drive都有內建在Linux裡 可是下面的列表沒有ubuntu..... Try了一個下午 就是不能PPPOE ...

mandriva 2010 輸入法問題

Todd Johnson avatar
By Todd Johnson
at 2009-11-14T20:45
※ 引述《kira925 (藍色飛舞之劍)》之銘言: : 但是scim之前中斷了一段時間開發,最近才又有人開始接續開發工作 : (1.4.7到1.4.8斷了一年半,到2009才又有人接著開發) : 我其實不太懂為什麼要死粘著他不放 : MDV也不是沒因為年久失修放棄掉很多重要系統軟體 : (最近我可以想到的例 ...