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



文章標籤
全站熱搜
創作者介紹
創作者 xiaolabaDIY 的頭像
xiaolabaDIY

xiaolabaDIY 的部落格

xiaolabaDIY 發表在 痞客邦 留言(2) 人氣(166)