LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-11-2006, 12:40 AM   #1
chown\us\urbase
LQ Newbie
 
Registered: Jun 2006
Posts: 3

Rep: Reputation: 0
cable modem help


I can't get to the internet through my cable modem. I'm using RHAS4 on a box with Windows XP also(which connects fine)connected directly to the cable modem via ethernet.
It's a NVIDIA nForce Networking Controller, and it seems to be activating ok at boot, so I don't think it's a compatibility or driver issue.

Am I correct in thinking I have to use DHCP to assign the info, and if so where does it get the info from? (ISP or the modem itself?)

Anyway here's what I got from the XP's ipconfig:

dhcp....yes
IP......68.xxx.xxx.xx
subnet..255.255.248.0
default gateway...68.xxx.xxx.xx
DCHP Server...10.101.176.1
DNS Servers...65.32.5.74
65.32.5.75

I've tried to statically assign the stuff also, but I need to reboot to Linux and repost the ifconfig (do I need to do a route command and update /etc/sysconfig/network like this?)

I put the namesrervers in resolv.conf (do I need to when using dhcp?-doesn't dhcp take care of the gateway also?)

I'm using an ARRIS Touchtone TM402G, and can't seem to find any compatibility info.

Thanks for your help. I probably won't check back until tomorrow morning.

Last edited by chown\us\urbase; 07-11-2006 at 11:15 AM.
 
Old 07-11-2006, 02:48 AM   #2
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291

Rep: Reputation: 62
IF you use DHCP it should give you the gateway address as well, if you set it to a static address, when the lease runs out on that address it will change and then your connection will be lost. Your ISP will be using the MAC address of your cable modem to assign the ip-address.

It's been a while since I used Redhat but I think you can reset your network configuration by typing at the command prompt:

netconfig

This will take you through setting up your network card, then restart your computer and see if this helps. If you still have trouble post your routing table info, at the command prompt type:

route -n

Also a word of caution, when posting your ip-address, mask it by doing something like this:

68.xxx.xxx.xxx

This will just help to stop any persons who want too do nasty things to you since they now know this is a active ip-address
 
Old 07-11-2006, 11:18 AM   #3
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Quote:
Originally Posted by fotoguy

Also a word of caution, when posting your ip-address, mask it by doing something like this:

68.xxx.xxx.xxx

This will just help to stop any persons who want too do nasty things to you since they now know this is a active ip-address
That is like giving telemarketers your phone number and telling them to give you a call.

Why does he need to reboot? He can just restart the network and get the same thing.

Code:
root@smoker / # uptime
 10:11:02 up 42 days, 17:23,  2 users,  load average: 0.47, 0.48, 0.29
root@smoker / #
 
Old 07-11-2006, 11:32 AM   #4
chown\us\urbase
LQ Newbie
 
Registered: Jun 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the address tip. I probably should've figured that one out myself. I'll get that routing table when I get home from work (not til after 3pm).

Thanks for the responses!
 
Old 07-11-2006, 12:29 PM   #5
raven4d
Member
 
Registered: Feb 2006
Location: Mars
Posts: 124

Rep: Reputation: 15
ummmmmmmmmm 42 dayz looks interesting
 
Old 07-11-2006, 02:40 PM   #6
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Quote:
Originally Posted by raven4d
ummmmmmmmmm 42 dayz looks interesting
That is just at the moment. I once had 242 I think. It was about 10 months. Hurricane put out my lights.

Also keep in mind that I have recompiled every package on here and updated KDE several times as well. Log out then log back in to load up the new KDE.

 
Old 07-11-2006, 06:00 PM   #7
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291

Rep: Reputation: 62
Quote:
Originally Posted by dalek
Why does he need to reboot? He can just restart the network and get the same thing.
That is true, I think netconfig may restart the network card for you anyway.
 
Old 07-11-2006, 06:10 PM   #8
chown\us\urbase
LQ Newbie
 
Registered: Jun 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Alright. Here's what my ifcfg-eth0 file looks like:

DEVICE=eth0
ONBOOT=yes
BOOTPROTO=dhcp

and here's my route table:

Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 lo
68.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth0

When I configure eth0 to use dhcp, I can't get the interface up (#service network restart)

edit:sorry about how the route table looks, I couldn't get my cd recorder to work (machine has no floppy), but I guess that's another thread

Last edited by chown\us\urbase; 07-11-2006 at 06:12 PM.
 
Old 07-12-2006, 11:26 PM   #9
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
When posting material from the command prompt it often helps to use code tags. Compare:

Quote:
Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 lo
68.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth0

Code:
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 lo
68.0.0.0        0.0.0.0         255.0.0.0       U     0      0        0 eth0
I would expect dhcp to work assuming your network card has the right module. I don't know which dhpc client program redhat uses. try:
Code:
man -k dhcp
good luck.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cable modem help mifan Linux - Newbie 3 02-16-2005 05:25 PM
Cable modem help zarathaz Mandriva 20 07-09-2004 12:27 PM
printer cable > modem cable? C++freak Linux - Hardware 1 06-21-2003 02:53 PM
cable modem Rnastyracer Linux - Newbie 7 12-26-2002 12:06 PM
Cable Modem jasonk Linux - General 2 10-27-2002 08:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration