Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Just made the leap to a cable modem through Earthlink (installed by Time Warner Cable...the guy told me it's the same as RoadRunner). Anyway, it's working fine for my Windoze laptop with DHCP. Trying to get my SuSE 8.1 Professional box running as well (in terms of a network connection via eth0 through the cable modem).
I know the hardware is working fine because I have ftp'ed (in my home network) to and from the Linux box many times on eth0 (using the same cables).
When I do an "ifup eth0" I get the following message:
"Starting DHCP Client Daemon on eth0... . . . . . . . . . . . . . . . no IP address yet... backgrounding"
Then if I try to do a ping, I get:
"connect: Network is unreachable"
Any help would be greatly appreciated
Thoughts of what's wrong--but no idea really:
2)DHCP configured wrong
3)Firewall on my machine is causing problems
Here's my /etc/sysconfig/network/ifcfg-eth0: (I have NO idea if any of these
are right or necessary):
if you want linux to access the internet, and your lan you must have 2 NIC's
the cable modem MUST be have its own dedicated NIC or the lan will not work.
to me, it looks like the dhcp client is looking for a dhcp server on the lan ?
anyway, How many NIC's does the linux machine have ?
do you have a hardware router ?
if not is the linux machine acting as the router ?
if not have you configured your gateway IP correctly ?
if the linux box is NOT acting as the router, is there a dhcp server running on the lan ?
if not you should configure static ip's.
I have one NIC. It's a gigabit ethernet card. I have it connected directly to the cable modem box.
I do not have a router and have done NO home networking.
I do not think the linux machine is acting as a router. I do not know though.
I think I set the gateway properly. I put the same gateway as for DHCP on the Windoze laptop (which is totally disconnected, by the way...I don't mean to confuse you).
Fixed it...a friend helped me...posting this for completeness in case someone else has this problem
I wrote what I did below...you can see the response that got me on track as well.
Thanks for all your help everyone!
-------MY RESPONSE TO THE PROBLEM GETTING SOLVED----
Thanks...you were dead on with #3! As soon as I set it to yes...boom...I could ping the gateway. (My gut was the firewall too, but I would have never guessed why, so thanks again.)
Two more things I had to fix after that though...
1. I set the hostname to what I call my machine and the domain to "local". I then clicked OFF the "Change hostname via DHCP." I clicked ON the "Update name servers and search list via DHCP."
Also, I set the router Gateway to xxx.yyy.xxx.1
(Trying to be complete for the archive.)
-----SUGGESTION THAT GOT ME ON THE RIGHT TRACK---------
> > Thoughts of what's wrong--but no idea really:
> > 1)DNS
> If you can't get a network connection the DNS isn't
> going to work anyway
> - the problem is unlikely to lie there at this stage
> > 2)DHCP configured wrong
> Hmmm maybe... Some cablemodem services (SFAIUI)
> 'lock' onto a single MAC
> address - you could try getting your NIC to spoof
> the MAC address of
> the NIC on the Win box
> > 3)Firewall on my machine is causing problems
> In YaST>System>Editor for SuSE config files -
> network - firewall make
> sure the FW_SERVICES_DHCLIENT setting is "yes" and
> try again