Internet using mobile cable in RHEL 4

Closed
HOPE - Sep 1, 2010 at 09:59 AM
vipinktxing Posts 2 Registration date Wednesday October 13, 2010 Status Member Last seen December 18, 2011 - Dec 18, 2011 at 10:41 PM
Hello friends,

I m a newbie and dont know anything about connecting internet on RHEL 4 using nokia mobile cable .I know how to connect on windows using PC suite..but dont know which software to use IN RHEL 4 or how to connect using mobile cable to internet on RHEL 4. Do I have to use internet configuration wizard,if yes, then how.Please help me out friends..i m in dire need of internet connection...please tell step by step procedure....as i dont know ABC of Linux.

thank u very much freinds.
Related:

3 responses

Blocked Profile
Sep 1, 2010 at 10:37 AM
Hi there,

You need to make dial up connection as on windows platform,try using the instructions from link below :

https://webcs.com/dialup/linux.html

Thanks
0
vipinktxing Posts 2 Registration date Wednesday October 13, 2010 Status Member Last seen December 18, 2011
Dec 18, 2011 at 10:41 PM
*) login as root user & connect ur mobile cable to pc (nokia)

In terminal type

1) wvdialconf update

(when u run the command it shows a msg like this this means you modem is detected)

Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Port Scan<*1>: S1 S2 S3
WvModem<*1>: Cannot get information for serial port.
ttyACM0<*1>: ATQ0 V1 E1 -- OK
ttyACM0<*1>: ATQ0 V1 E1 Z -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyACM0<*1>: Modem Identifier: ATI -- Nokia
ttyACM0<*1>: Speed 4800: AT -- OK
ttyACM0<*1>: Speed 9600: AT -- OK
ttyACM0<*1>: Speed 19200: AT -- OK
ttyACM0<*1>: Speed 38400: AT -- OK
ttyACM0<*1>: Speed 57600: AT -- OK
ttyACM0<*1>: Speed 115200: AT -- OK
ttyACM0<*1>: Speed 230400: AT -- OK
ttyACM0<*1>: Speed 460800: AT -- OK
ttyACM0<*1>: Max speed is 460800; that should be safe.
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found an USB modem on /dev/ttyACM0.
Modem configuration written to update.

2)vim /etc/wvdial.conf (edit the seven lines or u can copy paste it) & save the file

[Dialer Defaults]
Modem = /dev/ttyACM0
Phone = *99#
Username = internet
Password = internet
New PPPD = yes
stupid Mode = 1

The settings are over now u can dial

3) wvdial
(it shows like this)

--> WvDial: Internet dialer version 1.54.0
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Wed Oct 13 20:59:38 2010
--> pid of pppd: 6707
--> Using interface ppp0
--> pppd: ??[0e] ??[0e]
--> pppd: ??[0e] ??[0e]
--> pppd: ??[0e] ??[0e]
--> local IP address 175.40.249.227
--> pppd: ??[0e] ??[0e]
--> remote IP address 10.6.6.6
--> pppd: ??[0e] ??[0e]
--> primary DNS address 202.148.202.3
--> pppd: ??[0e] ??[0e]
--> secondary DNS address 202.148.202.4
--> pppd: ??[0e] ??[0e

Now u r connected

Still u have problem then edit the file

4)vim /etc/resolv.conf (edit the 3 lines) save it

search localdomain
nameserver 202.148.202.3
nameserver 202.148.202.4

(Here the name server ip (202.148.202.3 & 202.148.202.4) is for aircel india
it may vary according to ur service provider

Note : first make sure the access point of ur mobile is typed correctly

IN NOKIA S60 v3 phones

Settings > phone settings > connection > packet data > access point (here u must enter the access point name)

Now Surf the world
0
Hi Netsa,

Thanks for ur reply....but i m using a simple nokia mobile....and .dont have broad band connection........somebody told me i have to use some commands in terminal..but dont have idea about that.....please guide me..if u have more knowledge....

thanks once again.....
0
vipinktxing Posts 2 Registration date Wednesday October 13, 2010 Status Member Last seen December 18, 2011
Oct 13, 2010 at 10:51 AM
*) login as root user & connect ur mobile cable to pc (nokia)

In terminal type

1) wvdialconf update

(when u run the command it shows a msg like this this means you modem is detected)

Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Port Scan<*1>: S1 S2 S3
WvModem<*1>: Cannot get information for serial port.
ttyACM0<*1>: ATQ0 V1 E1 -- OK
ttyACM0<*1>: ATQ0 V1 E1 Z -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyACM0<*1>: Modem Identifier: ATI -- Nokia
ttyACM0<*1>: Speed 4800: AT -- OK
ttyACM0<*1>: Speed 9600: AT -- OK
ttyACM0<*1>: Speed 19200: AT -- OK
ttyACM0<*1>: Speed 38400: AT -- OK
ttyACM0<*1>: Speed 57600: AT -- OK
ttyACM0<*1>: Speed 115200: AT -- OK
ttyACM0<*1>: Speed 230400: AT -- OK
ttyACM0<*1>: Speed 460800: AT -- OK
ttyACM0<*1>: Max speed is 460800; that should be safe.
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found an USB modem on /dev/ttyACM0.
Modem configuration written to update.

2)vim /etc/wvdial.conf (edit the seven lines or u can copy paste it) & save the file

[Dialer Defaults]
Modem = /dev/ttyACM0
Phone = *99#
Username = internet
Password = internet
New PPPD = yes
stupid Mode = 1

The settings are over now u can dial

3) wvdial
(it shows like this)

--> WvDial: Internet dialer version 1.54.0
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Wed Oct 13 20:59:38 2010
--> pid of pppd: 6707
--> Using interface ppp0
--> pppd: ??[0e] ??[0e]
--> pppd: ??[0e] ??[0e]
--> pppd: ??[0e] ??[0e]
--> local IP address 175.40.249.227
--> pppd: ??[0e] ??[0e]
--> remote IP address 10.6.6.6
--> pppd: ??[0e] ??[0e]
--> primary DNS address 202.148.202.3
--> pppd: ??[0e] ??[0e]
--> secondary DNS address 202.148.202.4
--> pppd: ??[0e] ??[0e

Now u r connected

Still u have problem then edit the file

4)vim /etc/resolv.conf (edit the 3 lines) save it

search localdomain
nameserver 202.148.202.3
nameserver 202.148.202.4

(Here the name server ip (202.148.202.3 & 202.148.202.4) is for aircel india
it may vary according to ur service provider

Note : first make sure the access point of ur mobile is typed correctly

IN NOKIA S60 v3 phones

Settings > phone settings > connection > packet data > access point (here u must enter the access point name)

Now Surf the world
0