DBC Network

Monday 24 August 2009

SingTel Internet connection using a modem Huawei Corporate E160g in openSuse

Yesterday El60 and Huawei modem card that has been Hello apply for internet connection with Telkomsel Corporate package has arrived, on the same day I try to connect on Windows XP smoothly, just smooth, then I try to connect to the Internet with the following steps openSuse 11.0 connection steps I've done.

1. Edit wvdial.conf settings

# Vi / etc / wvdial.conf

following wvdial.conf settings

[Dialer Defaults]
Modem = / dev/ttyUSB0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0 = 0 & C1 & D2
Init3 = AT + CGDCONT = 1, \ "ip \", \ "Internet \"
Area Code =
Phone = * 99 #
Username =''
Password =''
Ask Password = 1
Dial Command = ATDT
Stupid Mode = 1
CompuServe = 0
Force Address =
Idle Seconds = 300
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1

when I try to mendial there are still errors in the connection (doh), I remember that moment when the connection in Windows XP appears password before connecting. I finally tried adding the password setting in wvdial.conf.

2. Add setting password in wvdial

[Dialer pin]
Modem = / dev/ttyUSB0
init1 = AT + CPIN = 1234

thus setting the full wvdial like this:

[Dialer Defaults]
Modem = / dev/ttyUSB0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0 = 0 & C1 & D2
Init3 = AT + CGDCONT = 1, \ "ip \", \ "Internet \"
Area Code =
Phone = * 99 #
Username =''
Password =''
Ask Password = 1
Dial Command = ATDT
Stupid Mode = 1
CompuServe = 0
Force Address =
Idle Seconds = 300
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1
[Dialer pin]
Modem = / dev/ttyUSB0
init1 = AT + CPIN = 1234

3. Perform Dial
typing the command:

# Wvdial-C / etc / wvdial.conf pin

the results are as follows:

- wvdial-C / etc / wvdial.conf pin
-> WvDial: Internet dialer version 1.60
-> Can not get information for serial port.
-> Initializing modem.
-> Sending: AT + CPIN = 1234
AT + CPIN = 1234
OK
-> Sending: ATQ0 V1 E1 S0 = 0 & C1 & D2
ATQ0 V1 E1 S0 = 0 & C1 & D2
OK
-> Sending: AT + CGDCONT = 1, "ip", "internet"
AT + CGDCONT = 1, "ip", "internet"
OK
-> Modem initialized.
-> Idle Seconds = 300, disabling automatic reconnect.
-> Please enter password (or empty password to stop):

4. Enter the password that was set earlier in the wvdial is '1234 '

successful reply will appear more or less syntax as follows:

---> Sending: ATDT * 99 #
-> Waiting for carrier.
ATDT * 99 #
CONNECT
-> Carrier detected. Starting PPP immediately.
-> Starting pppd at Thu Aug 22 05:25:07 2009
-> Pid of pppd: 4116
-> Using interface ppp0
-> Pppd:?? [06] [08]
-> Pppd:?? [06] [08]
-> Pppd:?? [06] [08]
-> Pppd:?? [06] [08]
-> Pppd:?? [06] [08]
-> Local IP address 114.123.92.84
-> Pppd:?? [06] [08]
-> Remote IP address 10.64.64.64
-> Pppd:?? [06] [08]
-> Primary DNS address 114.127.253.84
-> Pppd:?? [06] [08]
-> Secondary DNS address 114.127.208.84
-> Pppd:?? [06] [08]
-> Script / etc / ppp / ip-up run successful
-> Default route Ok.
-> Nameserver (DNS) Ok.
-> Connected ... Press Ctrl-C to disconnect

Until this point you have to connect the internet. (headspin)

Additional:

when I type the command:

# Lsusb

E220 modem is detected as / E270 when I use version E160g

Bus 007 Device 003: ID 12d1: 1003 Huawei Technologies Co.., Ltd.. E220 HSDPA Modem / E270 HSDPA / HSUPA Modem

even better version than the original modem (banana_cool)

This I E160G modem ..

final word, I hope this tutorial is useful for us all (worship)

posted by: Gedeblog.net

http://solvewithit.com/2009/08/22/internet-e160g-opensuse/

Related Post



No comments:

Post a Comment