John Reiser
07-24-2004, 08:49 PM
> I'm attempting to set up Red Hat 8.0 on a Compaq PC; using an external
> US Robotics modem, model 5686E (NOT a winmodem) on serial port 1.
There are newer .rpms [for RH9, anyway] which may help:
redhat-config-network-1.2.15-1.noarch.rpm
redhat-config-network-tui-1.2.15-1.noarch.rpm
rhpl-0.93.4-1
The results should be 3 files that are hardlinked ("ln", not "ln -s"):
/etc/sysconfig/networking/profiles/default/ifcfg-<nickname>
/etc/sysconfig/networking/devices/ifcfg-<nickname>
/etc/sysconfig/network-scripts/ifcfg-ppp0
and a file /etc/ppp/peers/ppp0 which contains
-----
connect "/usr/bin/wvdial --remotename ppp0 --chat '<nickname>'"
-----
where <nickname> is typically the name of the ISP. Make the nickname
without spaces or special characters, etc.
The contents of ifcfg-<nickname> sometimes look like
-----
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
USERCTL=yes
PEERDNS=yes
ONBOOT=no
TYPE=Modem
DEVICE=ppp0
BOOTPROTO=dialup
CCP=off
PC=off
AC=off
BSDCOMP=off
VJ=off
VJCCOMP=off
LINESPEED=115200
MODEMPORT=/dev/ttyS0
PROVIDER=<nickname>
DEFROUTE=yes
PERSIST=no
PAPNAME='<login_name>'
WVDIALSECT=<nickname>
MODEMNAME=Modem0
DEMAND=no
-----
and the contents of /etc/wvdial.conf sometimes look like
-----
[Modem0]
Modem = /dev/ttyS0
Baud = 115200
SetVolume = 1
Dial Command = ATDT
Init1 = ATZ
Init3 = ATM1
FlowControl = Hardware (CRTSCTS)
[Dialer <nickname>]
Area Code = <area_code>
Username = <login_name>
Password = <password>
Phone = <phone_number>
Stupid Mode = 1
Inherits = Modem0
-----
If things don't work automatically, you can always try running wvdial
directly (as root). Either use the line from peers/ppp0, or just
# wvdial <nickname>
YMMV [Your Mileage May Vary]. Good luck!
> US Robotics modem, model 5686E (NOT a winmodem) on serial port 1.
There are newer .rpms [for RH9, anyway] which may help:
redhat-config-network-1.2.15-1.noarch.rpm
redhat-config-network-tui-1.2.15-1.noarch.rpm
rhpl-0.93.4-1
The results should be 3 files that are hardlinked ("ln", not "ln -s"):
/etc/sysconfig/networking/profiles/default/ifcfg-<nickname>
/etc/sysconfig/networking/devices/ifcfg-<nickname>
/etc/sysconfig/network-scripts/ifcfg-ppp0
and a file /etc/ppp/peers/ppp0 which contains
-----
connect "/usr/bin/wvdial --remotename ppp0 --chat '<nickname>'"
-----
where <nickname> is typically the name of the ISP. Make the nickname
without spaces or special characters, etc.
The contents of ifcfg-<nickname> sometimes look like
-----
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
USERCTL=yes
PEERDNS=yes
ONBOOT=no
TYPE=Modem
DEVICE=ppp0
BOOTPROTO=dialup
CCP=off
PC=off
AC=off
BSDCOMP=off
VJ=off
VJCCOMP=off
LINESPEED=115200
MODEMPORT=/dev/ttyS0
PROVIDER=<nickname>
DEFROUTE=yes
PERSIST=no
PAPNAME='<login_name>'
WVDIALSECT=<nickname>
MODEMNAME=Modem0
DEMAND=no
-----
and the contents of /etc/wvdial.conf sometimes look like
-----
[Modem0]
Modem = /dev/ttyS0
Baud = 115200
SetVolume = 1
Dial Command = ATDT
Init1 = ATZ
Init3 = ATM1
FlowControl = Hardware (CRTSCTS)
[Dialer <nickname>]
Area Code = <area_code>
Username = <login_name>
Password = <password>
Phone = <phone_number>
Stupid Mode = 1
Inherits = Modem0
-----
If things don't work automatically, you can always try running wvdial
directly (as root). Either use the line from peers/ppp0, or just
# wvdial <nickname>
YMMV [Your Mileage May Vary]. Good luck!