This is a discussion on CABLE MODEM within the Linux Operating System forums, part of the Unix Operating Systems category; --> Hello, I have just install Red Hat Linux 7.2, but cannot connect to the internet. I have a cable ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 ipconfig /all Note/print the values. Now do a ipconfig /release 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 /etc/sysconfig/network-scripts/ifcfg-eth0 and change BOOTPROTO="dhcp" ONBOOT=yes Modify /etc/sysconfig/network with the gateway address NETWORKING=yes GATEWAY=192.168.1.1 <======== change GATEWAYDEV="eth0" Next modify /etc/resolv.conf Here is an example: search localdomain attbi.com <==== change nameserver 204.127.202.444 <==== change nameserver 216.148.227.684 <==== change put your hostname.domain name in /etc/hosts 127.0.0.1 localhost.localdomain localhost 123.237.123.123 c429285-a.client.ISP.com 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 or /etc/rc.d/init.d/network restart and see what errors you have in /var/log/messages Execpt for ip numbers, your route should look kinda like route -n 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 |
| Thread Tools | |
| Display Modes | |
|
|