The steps I followed to connect my fedora 8 to internet thru my Sony Ericsson mobile G502.

I am using Fedora 8 and having vodafone postpaid connection in chennai.

Step 1:
Start your pc and now enter id root and password (you must be knowing that!)
Now open terminal and type dmesg
It will detect all the device connected with your pc including your (usb, serial ) data cable.
And it will display log in the same terminal read that log carefully now check which port has been detected by it.

output of my pc:
usb 3-1: new full speed USB device using uhci_hcd and address 2
usb 3-1: configuration #3 chosen from 1 choice
usb 3-1: New USB device found, idVendor=0fce, idProduct=d0e3
usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 3-1: Product: Sony Ericsson G502
usb 3-1: Manufacturer: Sony Ericsson
usb 3-1: SerialNumber: 3528340309067920
cdc_acm 3-1:3.1: ttyACM0: USB ACM device
cdc_acm 3-1:3.3: ttyACM1: USB ACM device
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
usb0: register ‘cdc_ether’ at usb-0000:00:1d.1-1, CDC Ethernet Device, 02:80:37:0d:03:00
usbcore: registered new interface driver cdc_ether
SELinux: initialized (dev sda5, type fuseblk), uses genfs_contexts
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
SELinux: initialized (dev sda1, type fuseblk), uses genfs_contexts
SELinux: initialized (dev sda6, type fuseblk), uses genfs_contexts

root# wvdialconf /etc/wvdial.conf
it will detect ur mobile and it will write the value on /etc/wvdial.conf file in etc directory.

Now open the file /etc/wvdial.conf from your terminal,
root# gedit /etc/wvdial.conf
In that file, you can see the existing configuration.

file name : /etc/wvdial.conf
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
stupid mode = 1
Modem Type = Analog Modem
ISDN = 0
Phone = *99***1# [NOTE2]
Modem = /dev/ttyACM0 [NOTE1]
Username = a
Password = b
Baud = 115200

#Note1: May be varied depends upon your hardware config.
#Note2: First check your mobile phone dial No.

Step 3

Now type wvdial in terminal.

it will display some logs like below.

root# wvdial
–> WvDial: Internet dialer version 1.60
–> Initializing modem.
–> Sending: ATZ
–> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
–> Modem initialized.
–> Sending: ATDT*99***1#
–> Waiting for carrier.
~[7f]}#@!}!}!} }9}#}%B#}%}(}”}’}”}”}&} } } } }%}&[0c][16]}::e}.~
–> Carrier detected. Starting PPP immediately.
–> Starting pppd at Tue Jun 16 22:28:16 2009
–> Pid of pppd: 5154
–> Using interface ppp0
–> pppd: X[14][11] �
–> [11]
–> pppd: X[14][11] �
–> [11]
–> pppd: X[14][11] �
–> [11]
–> pppd: X[14][11] �
–> [11]
–> pppd: X[14][11] �
–> [11]
–> local IP address
–> pppd: X[14][11] �
–> [11]
–> remote IP address
–> pppd: X[14][11] �
–> [11]
–> primary DNS address
–> pppd: X[14][11] �
–> [11]
–> secondary DNS address
–> pppd: X[14][11] �
–> [11]

From the above log we have to take DNS server IP and update as shown below.

file : /etc/resolv.conf
service named start

To disconnect from net just press ctrl+c in terminal.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: