[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Small Problems



At 10/1/2001 05:48 PM -0700, you wrote:
Output of ifconfig?

output from ifconfig -a


Link encap: Local Loopback
ined addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric 1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 frame:0
collisions:0 txqueuelen:0

What this means is that only your loopback interface is up and running.


Contents of /etc/sysconfig/network-scripts/ifcfg-eth0?

DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes

Here we have our important clue. Your problem (at least so far) is this simple: "BOOTPROTO=dhcp". Your card is looking for a DHCP server to get its IP address. Since it's not finding one, and the card isn't going to move any IP traffic without an IP address, it's giving an error.


Do you want to use a fixed IP address? If so, change the contents to:

DEVICE=eth0
BOOTPROTO=none
IPADDR=192.168.0.2
NETWORK=192.168.0.0
NETMASK=255.255.255.0
GATEWAY=192.168.0.1
BROADCAST=192.168.0.255
ONBOOT=yes

Assuming, of course, whatever settings you actually want to use. I don't remember which man page specifies all the options here... hopefully someone will clue us in. Once you've set these things up, issue the command:

service network restart

then

ifconfig -a

and hopefully you'll have an eth0 up and running.

By the way, in order to try to find out more clues about what hardware you have running, try:

dmesg | more

or

lsmod


-- Rodolfo J. Paiz rpaiz indahaus com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]