Re: [newbie] How to trouble shoot 'eth0 FAILED'?

2004-05-17 Thread Derek Jennings
On Monday 17 May 2004 03:08, David A. Ferguson wrote:
   Thanks to several tips I found my problem.  Turning off 'Network
   Hotplugging' in MCC networking fixed it.  One poster mentioned you
   could get the same effect by setting MII_NOT_SUPPORTED=no in
  
   /etc/sysconfig/network-scripts/ifcfg-eth0.
 
  I have a similar message in /var/log/messages.  But, what is Network
  Hotplugging and where is it located?  I can't find any reference to this

 in

  MCC (I'm on 9.2, remember).

 I have installed Linux for the first time and Mdk10 official is the only
 version I have ever seen.  So, I have never seen any other version.

 For 10 you pick Configure Computer/Network  Internet/Manage connections.

 At this point a dialog about eth0 is displayed.  You can change the IP
 address, DHCP, etc.  There is a tab 'Options' and it has a check box
 labeled 'Network Hotplugging'.  I had to uncheck it to fix my problem.

 Another use told me you can get the same effect by editing

 /etc/sysconfig/network-scripts/ifcfg-eth0

 and adding/modifing these line

 ONBOOT=yes
 MII_NOT_SUPPORTED=yes

 I have no idea what those lines mean or if they work.

 HTH...David

One of the nice things about Linux is that all configuration is by clear text 
files. No messing about with arcane registry entries is required.
When you set that box in the GUI to disable  'Network Hotplugging' what the 
GUI does is write MII_NOT_SUPPORTED=yes into the configuration file for 
that interface. You can learn an awful lot about Linux by exploring the 
configuration files in the /etc folder, but of course for a newbie it is 
awfully conforting to be able to use a GUI to configure your system.

Network Hotplugging is a daemon which looks for Ethernet heartbeats. Most 
Ethernet cards are able to detect electrical signals which indicate that 
there is another ethernet device on the other end of the cable (MII).
If Network Hotplugging is enabled your system will automatically up an 
interface when the heartbeat is detected, and will down it if the heartbeat 
disappears. This is especially good for laptops because it means you can just 
plug in the Ethernet cable, and within a few seconds you are connected to the 
network.
The downside of hotplugging is that there are a few devices which will get 
confused and end up in the wrong mode, and some devices do not support it at 
all. Hence the ability to disable it.

derek


-- 
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] How to trouble shoot 'eth0 FAILED'?

2004-05-17 Thread Kaj Haulrich
On Monday 17 May 2004 10:56, Derek Jennings wrote:

 One of the nice things about Linux is that all configuration is
 by clear text files. No messing about with arcane registry
 entries is required. When you set that box in the GUI to disable 
 'Network Hotplugging' what the GUI does is write
 MII_NOT_SUPPORTED=yes into the configuration file for that
 interface. You can learn an awful lot about Linux by exploring
 the configuration files in the /etc folder, but of course for a
 newbie it is awfully conforting to be able to use a GUI to
 configure your system.

 Network Hotplugging is a daemon which looks for Ethernet
 heartbeats. Most Ethernet cards are able to detect electrical
 signals which indicate that there is another ethernet device on
 the other end of the cable (MII). If Network Hotplugging is
 enabled your system will automatically up an interface when the
 heartbeat is detected, and will down it if the heartbeat
 disappears. This is especially good for laptops because it means
 you can just plug in the Ethernet cable, and within a few seconds
 you are connected to the network.
 The downside of hotplugging is that there are a few devices which
 will get confused and end up in the wrong mode, and some devices
 do not support it at all. Hence the ability to disable it.

Derek, I don't know your professsional occupation, but if you 
published a book for linux newbies, you'd become a millionaire 
overnight.

Kaj Haulrich.
-- 
* Sent from a 100 % Microsoft-free computer *
* running Linux kernel 2.6.4 on Mandrake 10.0 *


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] How to trouble shoot 'eth0 FAILED'?

2004-05-17 Thread Lee Wiggers
On Mon, 17 May 2004 11:41:11 +0200
Kaj Haulrich [EMAIL PROTECTED] wrote:

 On Monday 17 May 2004 10:56, Derek Jennings wrote:
 
snip
 
 Kaj Haulrich.
 -- 
 * Sent from a 100 % Microsoft-free computer *
 * running Linux kernel 2.6.4 on Mandrake 10.0 *
 
 
I'll buy one right now.

Lee


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



RE: [newbie] How to trouble shoot 'eth0 FAILED'?

2004-05-17 Thread Bill Shirley
Yes, very nice explanation.

Bill


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Kaj Haulrich
 Sent: Monday, May 17, 2004 5:41 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [newbie] How to trouble shoot 'eth0 FAILED'?
 
 
 On Monday 17 May 2004 10:56, Derek Jennings wrote:
 
  One of the nice things about Linux is that all configuration is
  by clear text files. No messing about with arcane registry
  entries is required. When you set that box in the GUI to disable 
  'Network Hotplugging' what the GUI does is write
  MII_NOT_SUPPORTED=yes into the configuration file for that
  interface. You can learn an awful lot about Linux by exploring
  the configuration files in the /etc folder, but of course for a
  newbie it is awfully conforting to be able to use a GUI to
  configure your system.
 
  Network Hotplugging is a daemon which looks for Ethernet
  heartbeats. Most Ethernet cards are able to detect electrical
  signals which indicate that there is another ethernet device on
  the other end of the cable (MII). If Network Hotplugging is
  enabled your system will automatically up an interface when the
  heartbeat is detected, and will down it if the heartbeat
  disappears. This is especially good for laptops because it means
  you can just plug in the Ethernet cable, and within a few seconds
  you are connected to the network.
  The downside of hotplugging is that there are a few devices which
  will get confused and end up in the wrong mode, and some devices
  do not support it at all. Hence the ability to disable it.
 
 Derek, I don't know your professsional occupation, but if you 
 published a book for linux newbies, you'd become a millionaire 
 overnight.
 
 Kaj Haulrich.
 -- 
 * Sent from a 100 % Microsoft-free computer *
 * running Linux kernel 2.6.4 on Mandrake 10.0 *
 
 


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] How to trouble shoot 'eth0 FAILED'?

2004-05-16 Thread Johan
On Sat, 15 May 2004 18:40:59 -0700
Erylon Hines [EMAIL PROTECTED] wrote:

 On Saturday 15 May 2004 09:53 am, David A. Ferguson wrote:
  Where can I read detailed error messages on my network card initialization?
 
  When my computer boots I see this line:
 
Bringing up interface eth0:  [FAILED]
 
  The network seems to work ok though.  However, the lights on the hub
  indicate
  that it is operating in half-duplex.
 
  I don't know how to go about trouble shooting this.  Are there more
  detailed log files some where?
 
  I am running a fresh install of Mandrake10 official.
 
  Thanks...David
 
 I'm interested also.  In 9.2 I get the same boot-up message.  Network works 
 fine, however, so I haven't pursued the problem, if it is one.


Same here since on mdk 10..gateway and workstation on static IP..been on the net for 
36 hrs..no problem.
-- 
Johan
May this be a good day for learning
Registered Linux User #330034   Still learning


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] How to trouble shoot 'eth0 FAILED'?

2004-05-16 Thread David A. Ferguson

  From: Johan [EMAIL PROTECTED]
 
   On Sat, 15 May 2004 18:40:59 -0700
   Erylon Hines [EMAIL PROTECTED] wrote:
  
On Saturday 15 May 2004 09:53 am, David A. Ferguson wrote:
 Where can I read detailed error messages on my network card
initialization?

 When my computer boots I see this line:

   Bringing up interface eth0:  [FAILED]

 The network seems to work ok though.  However, the lights on the
hub
 indicate
 that it is operating in half-duplex.

 I don't know how to go about trouble shooting this.  Are there more
 detailed log files some where?

 I am running a fresh install of Mandrake10 official.

 Thanks...David
   
I'm interested also.  In 9.2 I get the same boot-up message.  Network
works
fine, however, so I haven't pursued the problem, if it is one.
   
  
   Same here since on mdk 10..gateway and workstation on static IP..been
on
   the net for 36 hrs..no problem.

Thanks to several tips I found my problem.  Turning off 'Network
Hotplugging' in MCC networking fixed it.  One poster mentioned you
could get the same effect by setting MII_NOT_SUPPORTED=no in

/etc/sysconfig/network-scripts/ifcfg-eth0.

The clues were in the /var/log/message.  I found this tid-bit in mine:

network: Setting network parameters:  succeeded
network: Bringing up loopback interface:  succeeded
ifplugd(eth0)[681]: ifplugd 0.21b initializing.
ifplugd(eth0)[681]: Using interface eth0/00:E0:4B:04:3D:17 with
 driver dmfe (version: 1.36.4)
ifplugd(eth0)[681]: Failed to detect plug status of eth0
ifplugd(eth0)[681]: Executing '/etc/ifplugd/ifplugd.action eth0 up'.
dhclient: DHCPOFFER from 192.168.0.23
dhclient: DHCPACK from 192.168.0.23
ifplugd(eth0)[681]: client: Determining IP information for eth0... done.
ifplugd(eth0)[681]: Program executed successfully.
ifplugd(eth0)[681]: Exiting.
network: Bringing up interface eth0:  failed

It looks like 'ifplugd' can't see the link so a failure is noted, even
though the 'ifup eth0' worked.

Cheers...David



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] How to trouble shoot 'eth0 FAILED'?

2004-05-16 Thread Johan
Hi David

Thanks to several tips I found my problem.  Turning off 'Network
Hotplugging' in MCC networking fixed it.

Well, just one click and it is gone
Thanks

Johan




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] How to trouble shoot 'eth0 FAILED'?

2004-05-16 Thread Erylon Hines
On Sunday 16 May 2004 07:59 am, David A. Ferguson wrote:
   From: Johan [EMAIL PROTECTED]
  
On Sat, 15 May 2004 18:40:59 -0700
   
Erylon Hines [EMAIL PROTECTED] wrote:
 On Saturday 15 May 2004 09:53 am, David A. Ferguson wrote:
  Where can I read detailed error messages on my network card

 initialization?

  When my computer boots I see this line:
 
Bringing up interface eth0:  [FAILED]
 
  The network seems to work ok though.  However, the lights on the

 hub

  indicate
  that it is operating in half-duplex.


 Thanks to several tips I found my problem.  Turning off 'Network
 Hotplugging' in MCC networking fixed it.  One poster mentioned you
 could get the same effect by setting MII_NOT_SUPPORTED=no in

 /etc/sysconfig/network-scripts/ifcfg-eth0.

I have a similar message in /var/log/messages.  But, what is Network 
Hotplugging and where is it located?  I can't find any reference to this in 
MCC (I'm on 9.2, remember).

e



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] How to trouble shoot 'eth0 FAILED'?

2004-05-16 Thread David A. Ferguson
  Thanks to several tips I found my problem.  Turning off 'Network
  Hotplugging' in MCC networking fixed it.  One poster mentioned you
  could get the same effect by setting MII_NOT_SUPPORTED=no in
 
  /etc/sysconfig/network-scripts/ifcfg-eth0.
 
 I have a similar message in /var/log/messages.  But, what is Network
 Hotplugging and where is it located?  I can't find any reference to this
in
 MCC (I'm on 9.2, remember).

I have installed Linux for the first time and Mdk10 official is the only
version I have ever seen.  So, I have never seen any other version.

For 10 you pick Configure Computer/Network  Internet/Manage connections.

At this point a dialog about eth0 is displayed.  You can change the IP
address, DHCP, etc.  There is a tab 'Options' and it has a check box
labeled 'Network Hotplugging'.  I had to uncheck it to fix my problem.

Another use told me you can get the same effect by editing

/etc/sysconfig/network-scripts/ifcfg-eth0

and adding/modifing these line

ONBOOT=yes
MII_NOT_SUPPORTED=yes

I have no idea what those lines mean or if they work.

HTH...David



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] How to trouble shoot 'eth0 FAILED'?

2004-05-15 Thread Paul
Op Sat, 15 May 2004 11:53:44 -0500 schreef David A. Ferguson:

 When my computer boots I see this line:
 
   Bringing up interface eth0:  [FAILED]
 
 The network seems to work ok though.  However, the lights on the hub
 indicate
 that it is operating in half-duplex.
 
 I don't know how to go about trouble shooting this.  Are there more
 detailed log files some where?

After a boot you could run

dmesg

which dumps the last load of system messages on your screen. Might not
show enough though.

You can also, as root, examine /var/log/messages and /var/log/syslog to
see additional information that surrounds loading the driver for your
LANcard. Use 'less' for checking the files, it makes scrolling and
searching easy.  :)

Paul

-- 
Breeding rabbits is a hare raising experience.

http://www.nlpagan.net/linux.htm
Have you visited http://twiki.mdklinuxfaq.org yet?


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com