【請教】如何在Ubuntu11.10設定中華電信行動3G [論壇 - 新手村]
正在瀏覽:
2 名遊客
回覆: 【請教】如何在Ubuntu11.10設定中華電信行動3G |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() 註冊日期:
2009/12/6 10:32 所屬群組:
已註冊使用者 等級: 71
HP : 1053 / 1756
![]() |
#78 : 1. 上面這一段 表示 你的設定檔 需要重新設定 2. 從 #75 : 1003 E220 HSDPA Modem / E230/E270/E870 HSDPA/HSUPA Modem 3. 在這裏找到 E270 的設定參數 (其它型號沒有 但或可以試試 #6) Device and Configuration Reference (UTF-8 encoding used) ######################################################## # Huawei E270+ (HSPA+ modem) # Huawei E1762 # Huawei E1820 # # Contributor: Paranoid Paranoia DefaultVendor= 0x12d1 DefaultProduct= 0x1446 (或 維持 0x1003) TargetVendor= 0x12d1 TargetProduct= 0x14ac MessageContent="55534243123456780000000000000011060000000000000000000000000000" ######################################################## 其它不改 4. sudo gedit /etc/usb_modeswitch.conf 把相關的參數值 設定爲上表所示 5. 儲存後 重開機 看看行不行 6. 另一組 參數 適用於 Huawei 裝置 你也可以試試 看看行不行 ######################################################## # Huawei devices # # Contributor: Hans Kurent, Denis Sutter, Vincent Teoh DefaultVendor= 0x12d1 DefaultProduct= 0x1003 TargetClass= 0xff HuaweiMode=1 ######################################################## 其它不改 7. 如果還有問題 看看 你安裝 usb_modeswitch 裏的 README 檔案 8. 這個檔案 也是 設定檔 可以看看 有什麼 內容 sudo cat /usr/share/usb_modeswitch 9. 如果一直沒成功這裏介紹 另外一個連線工具 The Sakis3G tool 是 usb_modeswitch 研發人員 推薦的 新工具 9-1. 需要把 Network Manager 先移除 9-2. 需要安裝 #80 所介紹的 wvdial 幫忙 10. USB_ModeSwitch - Handling Mode-Switching USB Devices on Linux 這篇文章後面還介紹一些 抓錯的改進方法 如果 你還有 耐力 我們再一起來試
2012/2/9 14:21
|
||||||||||
![]() |
回覆: 【請教】如何在Ubuntu11.10設定中華電信行動3G |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員三級
![]() ![]() 註冊日期:
2011/12/30 18:14 所屬群組:
已註冊使用者 等級: 12
HP : 0 / 287
![]() |
大大大感謝L大和P大呀~~~~~~~
以下是今日進度。。。。。Orz Losepacific 寫到: username:~$ ping -c 3 168.95.1.1 connect: Network is unreachable username:~$ 所以先試P大的指令: poloshiao 寫到: 下指令後進入編輯檔如下,請問要把上面的設定放在哪呢? # Configuration for the usb_modeswitch package, a mode switching tool for # USB devices providing multiple states or modes # # Evaluated by the wrapper script /usr/sbin/usb_modeswitch_dispatcher # # To enable an option, set it to "1", "yes" or "true" (case doesn't matter) # Everything else counts as "disable" # Disable automatic mode switching globally (e.g. to access the original # install storage) DisableSwitching=0 # Enable logging (results in a extensive report file in /var/log, named # "usb_modeswitch_<interface-name>" and probably others EnableLogging=0 poloshiao 寫到: username:~$ sudo cat /usr/share/usb_modeswitch cat: /usr/share/usb_modeswitch: 是個目錄 username:~$ poloshiao 寫到: 所以試了兩位大大推薦的wvial。。。 username:~$ sudo dpkg -i wvdial_1.60.1_i386.deb [sudo] password for username: 選取了原先未被選取的套件 wvdial。 (正在讀取資料庫 ... 206857 files and directories currently installed.) 正在解開 wvdial (從 wvdial_1.60.1_i386.deb)... dpkg:因相依問題,不能設定 wvdial: wvdial 相依於 libuniconf4.4﹔然而: 未曾安裝套件 `libuniconf4.4'。 wvdial 相依於 libwvstreams4.4-base﹔然而: 未曾安裝套件 `libwvstreams4.4-base'。 wvdial 相依於 libwvstreams4.4-extras﹔然而: 未曾安裝套件 `libwvstreams4.4-extras'。 wvdial 相依於 libxplc0.3.13﹔然而: 未曾安裝套件 `libxplc0.3.13'。 dpkg:在處理 wvdial (--install) 時發生錯誤: 相依問題 - 保留為未設定 正在進行 man-db 的觸發程式 ... 在處理時有錯誤發生: wvdial 因為套件缺很大,如果確定要安裝,只好改日再戰了。。。。。Orz 感謝P大的熱心呀,讓麻瓜新手沒試成功覺得超愧疚呀。。。。。Orz
2012/2/9 21:37
|
||||||||||
![]() |
回覆: 【請教】如何在Ubuntu11.10設定中華電信行動3G |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() 註冊日期:
2009/12/6 10:32 所屬群組:
已註冊使用者 等級: 71
HP : 1053 / 1756
![]() |
1. sudo gedit /etc/usb_modeswitch.conf
DisableSwitching=1 EnableLogging=1 DefaultVendor= 0x12d1 DefaultProduct= 0x1446 # 另一次 試試 0x1003 TargetVendor= 0x12d1 TargetProduct= 0x14ac MessageContent="55534243123456780000000000000011060000000000000000000000000000" 或者 另外試試 2. sudo gedit /etc/usb_modeswitch.conf DisableSwitching=1 EnableLogging=1 DefaultVendor= 0x12d1 DefaultProduct= 0x1003 TargetClass= 0xff HuaweiMode=1 3. cat: /usr/share/usb_modeswitch: 是個目錄 sudo ls -l /usr/share/usb_modeswitch 貼上來
2012/2/9 22:03
|
||||||||||
![]() |
回覆: 【請教】如何在Ubuntu11.10設定中華電信行動3G |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
會員三級
![]() ![]() 註冊日期:
2011/12/30 18:14 所屬群組:
已註冊使用者 等級: 12
HP : 0 / 287
![]() |
poloshiao 寫到: 大大大感謝超有耐心又熱心的P大呀~~~ 很抱歉前陣子太忙亂,沒有時間測試。 今天測試還是不能上網, 但更改 usb_modeswitch.conf後, 已經不會出現「Modem network 未連線-您現在是離線」的錯誤訊息了。 可能是設定的問題。 poloshiao 寫到: 總計 12 -rw-r--r-- 1 root root 9539 2011-10-24 16:30 configPack.tar.gz ----- 雖然還是上網不能, 且長輩應該還是不願意更改作業系統, 還是很感謝這段時間大大們的幫忙呀!!!
2012/2/21 15:43
|
||||||||||
![]() |
回覆: 【請教】如何在Ubuntu11.10設定中華電信行動3G |
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() 註冊日期:
2009/12/6 10:32 所屬群組:
已註冊使用者 等級: 71
HP : 1053 / 1756
![]() |
且長輩應該還是不願意更改作業系統, 其實 找中華電信客服 更換一只 同樣是 華爲 不同型號 的 3G USB 棒 是最簡單 不必 更改 作業系統 也不必安裝 usb_modeswitch 開機後 再 插上去 就行 你只要把握 更換不必 額外安裝 usb_modeswitch 的型號就行 Huawei E160G Huawei E1550 Huawei E226 或 最近出的型號 都行 當然如果 你還有興趣 研究看看 也 OK 晚上 我再詳細找找 原來的 那些 usb_modeswitch 文章 但是 沒把握一定解決 ...................................................... 把 3G 插入 滑鼠指向 NM-Applet 按右鍵 啓用行動寬頻 需打勾 編輯連線 行動寬頻 加入 輸入設定 PIN 及 設定資料 自動啓動要打勾 適用所有使用者要打勾 ... 以下省略 設定好 重開機 把 有線無線都暫時關閉 把 3G 插入 滑鼠指向 NM-Applet 按左鍵 看看有沒有 3G 連線 按一下 或 按右鍵 看看有沒有 3G 連線 按一下
2012/2/21 16:21
|
||||||||||
![]() |
您可以查看帖子.
您不可發帖.
您不可回覆.
您不可編輯自己的帖子.
您不可刪除自己的帖子.
您不可發起投票調查.
您不可在投票調查中投票.
您不可上傳附件.
您不可不經審核直接發帖.