This was an old solution I posted on this mailing list..
Warning... I used it when fedora 3 and ubuntu 5.04 wree shiny!
I have myself found out the solution
create a wvdial.conf file in /etc using nano or vi with sudo
then copy the following to the file
[Dialer Defaults]
Modem = /dev/ttyS0
Baud = 115200
SetVolume=0
Init1 = ATZ
Init2 = AT+CRM=1
ISDN = 0
Modem Type = Analog Modem
FlowControl=Hardware(CRTSCTS)
Phone = #777
Username = <phone no>
Password = <phone no>
Stupid Mode=1
Then create /etc/resolv.conf using vi or nano with sudo
type:
nameserver 202.138.103.100
nameserver 202.138.96.2
THIS SPECIFIES THE PRIMARY AND SECONDARY DNS SERVERS.
Then in terminal type sudo wvdial and bingo you are on.