Thursday, August 04, 2005

Reliance FWP Internet in FC4

Setting up Internet using Reliance FWP is jus a cake walk ...

These are the steps that need to be followed
  1. Check out whether you have wvdial software installed in your system. For FC4 it is automatically installed, so no issues..
  2. Check in which serial port you have attached the modem (ie WFP) Normally it is ttyS0 or ttyS1
    1. Login as Root user and check the following command "wvdialconf /etc/wvdial.conf" works..
    2. Finally you should get something like this
      1. "Found a modem on /dev/ttyS0.
        Modem configuration written to /etc/wvdial.conf.
        ttyS0<Info>: Speed 115200; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
  3. Next thing is we need to edit the wvdial.conf file, Add the following contents there..
      • [Modem0]
        Modem=/dev/ttyS1
        Baud=115200
        Dial Command = ATDT
        init1=ATZ
        init2=AT+CRM=1
        Flow Control= Hardware (CRTSCTS)
        [Dialer reliance]
        Username = YourUserName
        Password = YourPassword
        Phone = #777
        Stupid Mode = 1
        Inherits= Modem0
  4. Close the file after saving the contents
  5. Now type in "wvdial reliance"  in the prompt ... you should get the following
      • [root@localhost ~]# wvdial reliance
        --> WvDial: Internet dialer version 1.54.0
        --> Initializing modem.
        --> Sending: ATZ
        --> Sending: ATQ0
        OK
        --> Re-Sending: ATZ
        OK
        --> Initializing modem.
        --> Sending: ATZ
        --> Sending: ATQ0
        ATQ0
        OK
        --> Re-Sending: ATZ
        ATZ
        OK
        --> Initializing modem.
        --> Sending: ATZ
        --> Sending: ATQ0
        ATQ0
        OK
        --> Re-Sending: ATZ
        ATZ
        OK
        [root@localhost ~]# wvdial reliance
        --> WvDial: Internet dialer version 1.54.0
        --> Initializing modem.
        --> Sending: ATZ
        --> Sending: ATQ0
        ATQ0
        OK
        --> Re-Sending: ATZ
        ATZ
        OK
        --> Initializing modem.
        --> Sending: ATZ
        ATZ
        OK
        --> Sending: AT+CRM=1
        AT+CRM=1
        OK
        --> Sending: ATM0
        ATM0
        OK
        --> Modem initialized.
        --> Sending: ATDT#777
        --> Waiting for carrier.
        ATDT#777
        CONNECT
        --> Carrier detected.  Starting PPP immediately.
        --> Starting pppd at Mon Jul 29 00:28:24 2002
        --> pid of pppd: 2919
        --> Using interface ppp0
        --> local  IP address 220.226.33.135
        --> remote IP address 97.238.2.7
        --> primary   DNS address 202.138.103.100
        --> secondary DNS address 202.138.96.2
  6. Now open up your fav browser.. in my case it is firefox.. jus type in any url and chk if net is working. If it works, you wil be lucky, if not, jus start the service named "service named start"
      • [root@localhost etc]# service named start
        Starting named:                                            [  OK  ]
Now if you go back to the previous step.. and chk the pages it would probably load.. if not leave a comment, lets chk out wat can be done