Next Previous Contents

6. Going Online

Going online is being done by running the command

wvdial proximus

where proximus is the name of the configuration in the wvdial file with the GPRS configuration for your provider.

You will get an output looking like.

--> WvDial: Internet dialer version 1.41

--> Initializing modem.

--> Sending: ATZ

ATZ

OK

--> Sending: ATM1L2

ATM1L2

OK

--> Modem initialized.

--> Sending: ATDT *99***1#,

--> Waiting for carrier.

ATDT *99***1#,

CONNECT

--> Carrier detected. Waiting for prompt.

--> Don't know what to do! Starting pppd and hoping for the best.

--> Starting pppd at Sat Feb 2 18:53:48 2002

On your mobile phone you will see "Connection" shortly after the "Connection" on your mobile phone disappears you will notice an new PPP interface showing up. (Probably ppp0) And you should have a new route/ default gw.

In your ifconfig you will see some lines like below.

ppp0 Link encap:Point-to-Point Protocol

inet addr:217.136.251.155 P-t-P:10.64.64.64 Mask:255.255.255.255

UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1

RX packets:26 errors:0 dropped:0 overruns:0 frame:0

TX packets:32 errors:0 dropped:0 overruns:0 carrier:0

collisions:0

RX bytes:1488 (1.4 Kb) TX bytes:1445 (1.4 Kb)

Your route will look like ..

Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface

10.64.64.64 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0

127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo

0.0.0.0 10.64.64.64 0.0.0.0 UG 0 0 0 ppp0

Set up your DNS to match your provider`s configuration. In my configuration (proximus) my /etc/resolv.conf looks like

domain proximus.be

nameserver 195.238.2.21

You might need to set up your browser to use a proxy. In the Proximus situation that is 195.238.2.210 port 8080


Next Previous Contents