ubuntu 9.04 裝 台灣大哥大 3g (Q101) 無法上網 [論壇 - Ubuntu硬體支援]
正在瀏覽:
1 名遊客
皮老闆
|
回覆: ubuntu 9.04 裝 台灣大哥大 3g (Q101) 無法上網 |
|
---|---|---|
Anon:皮老闆
|
小弟試了大大的連結去try,仍然無法使用q101上網。
小弟try的方法如下: Step(1) Download usb_modeswitch-1.0.2.tar.bz2 下載的網址如下:http://www.draisberghof.de/usb_modeswitch/usb_modeswitch-1.0.2.tar.bz2 下載完畢解壓縮後桌面上會有一個usb_modeswitch-1.0.2的資料匣 。 我把該資料匣裡的usb_modeswitch 這個檔 copy 到 /bin 下 接著又把usb_modeswitch.conf 這個檔 copy 到 /etc下 Step(2) 安裝 libusb apt-get install libusb-dev Step(3) 安裝 wvdial(Ubuntu 9.04預設是沒有安裝) apt-get install wvdial Step(4) 編寫script 1 vim mytest.sh 2 貼上以下的內容 #-------------------------------------------------------- #!/bin/sh usbPort=`lsusb | grep Quanta | cut -d ' ' -f 2 | sed 's/0//g'` echo "USB裝置所在位置:usb$usbPort" usb_modeswitch echo "USB裝置ID變更" echo " " sleep 3 echo "停止USB隨身裝置" echo " " echo "suspend" > /sys/bus/usb/devices/usb$usbPort/$usbPort-1/power/level echo "鎖定USB裝置ID" echo " " modprobe usbserial vendor=0x0408 product=0xea02 sleep 8 echo "重新搜尋 Q101 所在 USB 位置....並設定 /etc/wvdial" wvdialconf echo "啟動 wvdial 進行撥號...." echo " " sleep 5 wvdial & #------------------------------------------------------------------------------ 3 chmod +x mytest.sh Step(5) 執行mytest.sh ./mytest.sh -------------------------- 執行mytest.sh後,仍然無法使用台灣大哥大的q101無線網卡上網。 把執行的錯誤訊息以上如下: root@ubuntu:/home/james/桌面/usb_modeswitch-1.0.2# ./mytest.sh USB裝置所在位置:usb4 * usb_modeswitch: tool for controlling "flip flop" mode USB devices * Version 1.0.2 (C) Josua Dietze 2009 * Works with libusb 0.1.12 and probably other versions No default vendor/product ID given. Aborting. USB裝置ID變更 停止USB隨身裝置 鎖定USB裝置ID 重新搜尋 Q101 所在 USB 位置....並設定 /etc/wvdial Editing `/etc/wvdial.conf'. Scanning your serial ports for a modem. ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up. Modem Port Scan<*1>: S1 S2 S3 Sorry, no modem was detected! Is it in use by another program? Did you configure it properly with setserial? Please read the FAQ at http://open.nit.ca/wiki/?WvDial If you still have problems, send mail to 啟動 wvdial 進行撥號.... --> WvDial: Internet dialer version 1.60 --> Cannot open /dev/modem: No such file or directory --> Cannot open /dev/modem: No such file or directory --> Cannot open /dev/modem: No such file or directory
Ident: de509 a8f0e d4811 80a1b |
2009/7/1 17:45
|
|
![]() |
主題 | 作者 | 最後發表 |
---|---|---|
![]() |
皮老闆 | 2009/7/1 16:16 |
![]() |
2009/7/1 16:34 | |
![]() |
皮老闆 | 2009/7/1 17:45 |
![]() |
akila.claymore@gmail.com | 2009/7/3 13:03 |
您可以查看帖子.
您不可發帖.
您不可回覆.
您不可編輯自己的帖子.
您不可刪除自己的帖子.
您不可發起投票調查.
您不可在投票調查中投票.
您不可上傳附件.
您不可不經審核直接發帖.