2007-01-07
3G Modem - HUAWEI E612
ISP - ChungHwa, only provide dialup software for Windows, nothing for Linux
OS http://www.ubuntu.com/products/GetUbuntu/download#currentrelease
1) Insert the 3G modem, open a terminal, input command
tail -f /var/log/messages
This will show the log on the fly of the Linux about what is going on
2) open the another terminal, input command
sudo wvdialconf /etc/wvdial.conf
Password will be asked, onece granted the permission with correct superuser password, the wvdail.conf is generated with HUAWEI modem E612 initial setup string.
3) input command
sudo nano /etc/wvdial.conf
It can be verified the modem initialization string has been written to the wvdial.conf. The wvdial is a utility for dialup internet
4) pppd on
This link following has detial of what is PPPD of the Linux OS
http://www.debian.org/doc/manuals/reference/ch-gateway.zh-tw.html
10.2.4 設定 PPP 裝置如果您透過 modem 來撥接上網的話,這樣的連線被稱為 Point-to-Point (PPP) 協定。這樣連線作業的網路裝置為 ppp0 , ppp1 等等。
一個 PPP 裝置是由
pppd這個 PPP 服務所管理,您可以在ppp套件中找到該程式。 因此,設定 PPP 裝置也就是設定pppd的意思。
5) pppd off
6) eject the 3G card
sudo cardctl eject
references:
http://www.linuxsir.org/main/?q=node/223
some information about wvdial and dialup procedure
http://www.linuxuser.com.tw/power/list2.php?id=355
A complete example for wvdial & pppd
http://www.linuxaid.com.cn/articles/5/6/565710061.shtml
http://www.mybroadband.co.za/vb/showthread.php?t=21726&page=23
http://www.mybroadband.co.za/vb/showthread.php?t=21726
beging ---- Snippet for the APN.ini
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Filename -apn.ini
;; Last modified:03/13/2006
;; Version 3.38.0.0
;;
;; Description - This file is used for retrieving MDS/3G network related information.
;; This file primarily contains Network #, APN, Network Username
;; and network password
;; Information in this file will be used to prepopulate network information
;; for the user in MDS tab and also while connecting
;; Information is this will not be used if this data is provided explicitly
;; in MDS.ini
;;
;; Following text explains each field in this file
;;
;; [] - Section name defines the network number; network # could be 5 or 6 digits
;; Country - Country code/name - used only for ref. (not used in3.3)
;; NetworkName - Network name - used only for ref. (not used in3.3)
;; APN - Access Point Name for the GPRS network
;; UserName - login username for the network
;; Password - login password for the network
;;
;; IPAddress - fixed IP address (not used in3.3)
;; DNS1 - primary DNS name to be used while connecting to the network (not used in3.3)
;; DNS2 - secondary DNS name to be used while connecting to the networ (not used in3.3)
;; QOS - QOS level values to be used while connecting to the networ (not used in3.3)
;; Domain - Domain name to be used while connecting to the networ (not used in3.3)
;; DialString - Dial string to be used while connecting to the networ (not used in3.3)
;;
;;
;; UserNameType - is used to identify whether username is fixed name by the provider vs entered by user vs the phone#
;; if this field in not defined by default it will pick up the value in the username field(not used in3.3)
;; UserNameType=1 - means use the one provided in the file if not found use empty user name (default behavior)
;; UserNameType=2 - means User has to enter the user name
;; UserNameType=3 - means User subscriber number (phone #) as the user id
;;
;; PasswordType - is used to identify whether password is fixed by the provider vs entered by user
;; if this field in not defined by default it will pick up the value in the password field for the network id
;; (this field is not used in 3.3)
;; PasswordType=1 - means use the one provided in the file if not found use empty password (default behavior)
;; PasswordType=2 - means user has to provide the password
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[46692]
Country=TW
NetworkName=Chunghwa
APN=hinet
APN2=emome
APN3=internet
UserName=
Password=
IPAddress=
DNS1=10.1.1.1
DNS2=
QOS=
Domain=
DialString=*99***1#
[46693]
Country=TW
NetworkName=MobiTai
APN=
UserName=gprs
Password=gprs
IPAddress=
DNS1=
DNS2=
QOS=
Domain=
DialString=
[46699]
Country=TW
NetworkName=TransAsia
APN=internet
UserName=
Password=
IPAddress=
DNS1=
DNS2=
QOS=
Domain=
DialString=
end ---- Snippet for the APN.ini
DOPOD 818 Pro + GPRS
Windows XP setup + NOKIA 6680 3G Phone/modem
Windows XP setup + HUAWEI E612 3Gmodem

Hi你好!(^_^)☆我是「涼粉士多」BLOG的版主,很欣賞你BLOG的分享,希望你繼續努力POST多啲。我也是希望藉著BLOG發佈自己創作的貓貓漫畫及自家貓品牌,同人分享開心快樂訊息。08年透過明報出版了一本「涼粉日記」(香港的公共圖書館都可以借閱),現希望延續這份創作理想,與其他喜歡貓和享受快樂的朋友分享。(^O^)/歡迎蒞臨我的BLOG參觀及訂閱BLOG上的涼粉日記,希望每天帶給你歡笑:)如果有時間也可以參觀我的貓貓網站 www.learnfunstore.com 或 到我的Facebook專頁上讚好啊!https://www.facebook.com/pages/涼粉士多/191042727652792 祝願你(⌒▽⌒)2012年繼續進步、理想達到!♪( ´▽`) [版主回覆03/16/2012 11:35:00]you are welcome
Hi你好!(^_^)☆我是「涼粉士多」BLOG的版主,很欣賞你BLOG的分享,希望你繼續努力POST多啲。我也是希望藉著BLOG發佈自己創作的貓貓漫畫及自家貓品牌,同人分享開心快樂訊息。08年透過明報出版了一本「涼粉日記」(香港的公共圖書館都可以借閱),現希望延續這份創作理想,與其他喜歡貓和享受快樂的朋友分享。(^O^)/歡迎蒞臨我的BLOG參觀及訂閱BLOG上的涼粉日記,希望每天帶給你歡笑:)如果有時間也可以參觀我的貓貓網站 www.learnfunstore.com 或 到我的Facebook專頁上讚好啊!https://www.facebook.com/pages/涼粉士多/191042727652792 祝願你(⌒▽⌒)2012年繼續進步、理想達到!♪( ´▽`)