Making a modem dialup connection in text mode

General discussion about PLUC and Linux in Pakistan.
Post Reply
turab
Company Havaldaar Major
Posts: 154
Joined: Thu Dec 15, 2005 3:36 pm
Contact:

Making a modem dialup connection in text mode

Post by turab »

Hello Friends,
when i make dialup connection in Redhat gui mode i works fine, and when i tried to make it in plain text mode it do not work, Could you please guide me how do i make a dialup connection in plain text mode without using redhat-config-network-tui command.

Thanks in advance.
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Farrukh Ahmed
usamahashimi

Post by usamahashimi »

Hi
Are you trying to connect via wvdial? If so (and wvdialconf is not configuring your modem), creat a file /etc/wvdial.conf and paste the following lines, there;
[Dialer Defaults]
Modem = /dev/modem
Baud = 115200
Init1 = ATZ
Init2 = Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Phone = your_ISP_dialup_number
Username = your_ISP_username
Password = your_ISP_password
#Ask Password = 1
Stupid Mode = 1
Assuming that your modem is at /dev/modem and dont forget to change the dialup, ISP username and ISP password :) in these lines. Also dont forget to install wvdial :)
Thanks
Post Reply