21 August 2010

Reliance Netconnect in Fedora 13


you need root permission and wvdial software to use reliance netconnect in fedora.

1. connect reliance data card
2. run the command "wvdialconf"
$ sudo wvdialconf 
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0 S1 S2 S3
WvModem<*1>: Cannot get information for serial port.
ttyUSB0<*1>: ATQ0 V1 E1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB0<*1>: Modem Identifier: ATI -- Manufacturer: +GMI: HUAWEI TECHNOLOGIES CO., LTD
ttyUSB0<*1>: Speed 9600: AT -- OK
ttyUSB0<*1>: Max speed is 9600; that should be safe.
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
WvModem<*1>: Cannot get information for serial port.
ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
ttyUSB1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
WvModem<*1>: Cannot get information for serial port.
ttyUSB2<*1>: ATQ0 V1 E1 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB2<*1>: Modem Identifier: ATI -- Manufacturer: +GMI: HUAWEI TECHNOLOGIES CO., LTD
ttyUSB2<*1>: Speed 9600: AT -- OK
ttyUSB2<*1>: Max speed is 9600; that should be safe.
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found a modem on /dev/ttyUSB0.
Modem configuration written to /etc/wvdial.conf.
ttyUSB0: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
ttyUSB2: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

3. update "/etc/wvdial.conf"
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
; Phone =
ISDN = 0
; Password =
; Username =
Phone = #777
Modem = /dev/ttyUSB0
Username = 93XXXXXXXX
Password = 93XXXXXXXX
Baud = 9600

4. run the command "wvdial"
$ sudo wvdial
--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT
--> Carrier detected. Waiting for prompt.
^DSDORMANT:1
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Sat Aug 21 14:24:31 2010
--> Pid of pppd: 16220
--> Using interface ppp0
--> pppd: @�:[08]��:[08]
--> pppd: @�:[08]��:[08]
--> pppd: @�:[08]��:[08]
--> local IP address 115.XXX.XXX.XXX
--> pppd: @�:[08]��:[08]
--> remote IP address 220.XXX.XXX.XXX
--> pppd: @�:[08]��:[08]
--> primary DNS address 202.XXX.XXX.XXX
--> pppd: @�:[08]��:[08]
--> secondary DNS address 202.XXX.XXX.XXX
--> pppd: @�:[08]��:[08]

5. update "/etc/resolv.con"
nameserver 202.XXX.XXX.XXX


reference:
http://www.gnulinux.in/blog/my-user-experience-reliance-netconnect-broadband-service-and-ubuntu-904

1 comment:

  1. Make sure your the Network Manager is not screwing up things for you. For me it used to rewrite the resolv.conf and hence nothing worked. As a solution, I stopped Network Manager service and then edited resolv.conf and this worked like breeze.

    ReplyDelete