Unix Technical Forum

CABLE MODEM

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 07:38 AM
Kissi5559
 
Posts: n/a
Default CABLE MODEM

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?

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 07:38 AM
Bit Twister
 
Posts: n/a
Default Re: CABLE MODEM

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:15 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com