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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-11-2006, 12:40 AM
|
#1
|
LQ Newbie
Registered: Jun 2006
Posts: 3
Rep:
|
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.
|
|
|
07-11-2006, 02:48 AM
|
#2
|
Senior Member
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291
Rep:
|
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
|
|
|
07-11-2006, 11:18 AM
|
#3
|
Senior Member
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Rep:
|
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 / #
|
|
|
07-11-2006, 11:32 AM
|
#4
|
LQ Newbie
Registered: Jun 2006
Posts: 3
Original Poster
Rep:
|
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!
|
|
|
07-11-2006, 12:29 PM
|
#5
|
Member
Registered: Feb 2006
Location: Mars
Posts: 124
Rep:
|
ummmmmmmmmm 42 dayz looks interesting
|
|
|
07-11-2006, 02:40 PM
|
#6
|
Senior Member
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Rep:
|
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.
|
|
|
07-11-2006, 06:00 PM
|
#7
|
Senior Member
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291
Rep:
|
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.
|
|
|
07-11-2006, 06:10 PM
|
#8
|
LQ Newbie
Registered: Jun 2006
Posts: 3
Original Poster
Rep:
|
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.
|
|
|
07-12-2006, 11:26 PM
|
#9
|
Member
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835
Rep:
|
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:
good luck.
|
|
|
All times are GMT -5. The time now is 08:22 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|