Meaningless Drivel is fun!*
The moose likes Linux / UNIX and the fly likes Setup internet on Linux using a DSL router Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Setup internet on Linux using a DSL router" Watch "Setup internet on Linux using a DSL router" New topic
Author

Setup internet on Linux using a DSL router

Pappu Kumar
Ranch Hand

Joined: Oct 01, 2002
Posts: 69
I am trying to setup my Red Hat Linux 9.0 box to connect to my DSL router.
I did the following , connected the Linux box to my router using the CAT 5 cable.
I ran netconfig on Linux and first tried to get IP automatically using DHCP , when i restart the machine (or do : service network start). I get the error : determining ip address for eth0 failed no link present ...check cable.
I then tried manually setting ip address....then i dont get any errors , but i cant ping the router or any other machine on the network. But i can ping the IP address i just assigned myself.
I have no clue what to do next... please help
Michael Ernest
High Plains Drifter
Sheriff

Joined: Oct 25, 2000
Posts: 7292

You may be using the wrong kind of cable. Some routers require you to connect with a "straight-through" instead of a cross-over cable.


Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
Adrian Yan
Ranch Hand

Joined: Oct 02, 2000
Posts: 688
When you assign the box IP, it's still not on the network, since you can't ping any other boxes. Do you have DHCP client software running on your linux system? can you just do a ifconfig eth0 up and see if the interface gets started?
 
wood burning stoves
 
subject: Setup internet on Linux using a DSL router