On 19 Aug 2003 01:58:42 GMT, Kissi5559 wrote:> Hello,
> I have just install Red Hat Linux 7.2, but cannot connect to the internet. I
> have a cable modem but don't know how to configure it. Can anyone help with how
> to do this or any sugestions?
I have had very good luck using dhcpcd client. Redhat has had problems
with pump. RH 7.2 looks for dhcpcd, then the pump dhcp client.
Depends if you loaded the dhcpcd client during install or later.
I am assuming eth0 is the device hooked to the cable modem.
Get to the dos prompt on your Micro$oft windoze box and do a
Note/print the values. Now do a
Let's assume c429285-a is your node name from your isp,
use the one found from the ipconfig.
There are just a very few places which still require the DHCP_HOSTNAME
value. It will not hurt to set it here.
Add DHCP_HOSTNAME="c429285-a" with quotes, to
and change BOOTPROTO="dhcp"
Modify /etc/sysconfig/network with the gateway address
GATEWAY=192.168.1.1 <======== change
Next modify /etc/resolv.conf Here is an example:
search localdomain attbi.com <==== change
nameserver 188.8.131.524 <==== change
nameserver 184.108.40.2064 <==== change
put your hostname.domain name in /etc/hosts
127.0.0.1 localhost.localdomain localhost
hook the pc to the cable modem
Unplug Power from modem <== This is required to make the cable modem
wait 1 minute <== reset it's internal interface to your nic
Power up the modem.
When you have modem sync, do a
service network restart
and see what errors you have in /var/log/messages
Execpt for ip numbers, your route should look kinda like
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0