Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

ifplugd breaks my networking

Reply
 
Thread Tools Display Modes
  #1  
Old 12-04-2006, 06:09 PM
Default ifplugd breaks my networking



With Mandriva 2006.0 my networking works just fine. Last night I
installed Mandriva 2007.0 on a separate partition of this working
system. My network connection only stays active for 60-70% of the
time now, based on 6-8 pings working, followed by 3 pings saying
network unreachable, followed by 6-8 pings working, etc. This is
what I see in /var/log/syslog

Dec 3 21:18:34 localhost kernel: Velocity is AUTO mode
Dec 3 21:18:34 localhost ifplugd(eth0)[3144]: Link beat detected.
Dec 3 21:18:35 localhost ifplugd(eth0)[3144]: Executing
'/etc/ifplugd/ifplugd.action eth0 up'.
Dec 3 21:18:36 localhost kernel: eth0: Link autonegation speed
10M bps half duplex
Dec 3 21:18:37 localhost NET[23435]: /etc/sysconfig/network-scripts/ifup-post
: updated /etc/resolv.conf
Dec 3 21:18:37 localhost postfix/postfix-script: refreshing the Postfix
mail system
Dec 3 21:18:37 localhost postfix/master[4419]: reload configuration
/etc/postfix
Dec 3 21:18:37 localhost ifplugd(eth0)[3144]: Program executed successfully.
Dec 3 21:18:37 localhost ifplugd(eth0)[3144]: Link beat lost.
Dec 3 21:18:43 localhost ifplugd(eth0)[3144]: Executing
'/etc/ifplugd/ifplugd.action eth0 down'.
Dec 3 21:18:43 localhost NET[23517]: /etc/sysconfig/network-scripts/ifdown-post
: updated /etc/resolv.conf
Dec 3 21:18:43 localhost ifplugd(eth0)[3144]: Program executed successfully.

Configuring my hostname did not change anything related to this
What could be causing this, and how could I fix it? Why would it
work with 2006, but not 2007?

Thanks....

--
PLEASE post a SUMMARY of the answer(s) to your question(s)!
Show Windows & Gates to the exit door.
Unless otherwise noted, the statements herein reflect my personal
opinions and not those of any organization with which I may be affiliated.


Kevin the Drummer
Reply With Quote
  #2  
Old 12-05-2006, 08:12 PM
Moe Trin
Guest
 
Posts: n/a
Default Re: ifplugd breaks my networking

On 04 Dec 2006, in the Usenet newsgroup comp.os.linux.networking, in article
<(E-Mail Removed)>, Kevin the Drummer wrote:

>With Mandriva 2006.0 my networking works just fine. Last night I
>installed Mandriva 2007.0 on a separate partition of this working
>system.


It would _REALLY_ help if you identified the hardware - and the type of
network setup you have.

>Dec 3 21:18:34 localhost ifplugd(eth0)[3144]: Link beat detected.


"Oh, I hear a network!"

>Dec 3 21:18:35 localhost ifplugd(eth0)[3144]: Executing
> '/etc/ifplugd/ifplugd.action eth0 up'.
>Dec 3 21:18:36 localhost kernel: eth0: Link autonegation speed
> 10M bps half duplex


Brought up the network - but no indication of what card, and what
network topology (10 or 100 MHz, half or full duplex)

>Dec 3 21:18:37 localhost ifplugd(eth0)[3144]: Program executed successfully.


"I'm a good program - I did my job."

>Dec 3 21:18:37 localhost ifplugd(eth0)[3144]: Link beat lost.


"except that now, I can't hear the network any more..."

>Dec 3 21:18:43 localhost ifplugd(eth0)[3144]: Executing
> '/etc/ifplugd/ifplugd.action eth0 down'.


"so I'll shut down the network"

>Configuring my hostname did not change anything related to this


Wouldn't expect it to. Your log snippet shows ifplugd doing a yo-yo
with the interface, because it (initially) can hear something on the wire,
then looses that. This could be a card issue, or the way your network is
wired.

>What could be causing this, and how could I fix it? Why would it
>work with 2006, but not 2007?


DOES it actually work with 2006? Look at your logs, and see if ifplugd
is actually running. While you are there, look at the output of
'/sbin/ifconfig -a' and 'lsmod' to see what the NIC is, and what driver
is in use.

Old guy
Reply With Quote
  #3  
Old 12-06-2006, 04:29 PM
Kevin the Drummer
Guest
 
Posts: n/a
Default Re: ifplugd breaks my networking

Moe Trin <(E-Mail Removed)> wrote:
> On 04 Dec 2006, in the Usenet newsgroup comp.os.linux.networking, in article
> <(E-Mail Removed)>, Kevin the Drummer wrote:
>
> >With Mandriva 2006.0 my networking works just fine. Last night
> >I installed Mandriva 2007.0 on a separate partition of this
> >working system.

>
> It would _REALLY_ help if you identified the hardware - and the
> type of network setup you have.


dmesg | grep eth says:

eth1: VIA Networking Velocity Family Gigabit Ethernet Adapter
eth1: Ethernet Address: 00:50:8D5:01:FA
eth1: Link autonegation speed 10M bps half duplex
eth1: no IPv6 routers present
eth1: Link autonegation speed 10M bps half duplex
eth1: no IPv6 routers present

> DOES it actually work with 2006?


Yup. I've been running successfully for over a year with 2006.
Same machine, same network, didn't even move a cable or anything.

> Look at your logs, and see if ifplugd is actually running.
> While you are there, look at the output of '/sbin/ifconfig -a'
> and 'lsmod' to see what the NIC is, and what driver is in use.


I had a look at /etc/ifplug/ifplug.conf for both 2006 and 2007.
Both of them specify INTERFACES="eth0". ifconfig gave me info to
look in modprobe.conf which says:

Mandriva 2006

/etc/modprobe.conf:alias eth0 eth1394
/etc/modprobe.conf:alias eth1 via-velocity

Mandriva 2007

/etc/modprobe.conf:alias eth0 via-velocity
/etc/modprobe.conf:alias eth1 eth1394

Interesting. That says that ifplugd runs against my 1394
interface on Mandriva 2006, and I don't have anything connected
to that. But, ifplugd runs against my "real" ethernet connection
on Mandriva 2007. That's bizzare. But, I think I have something
to work with here.

Thanks!

--
PLEASE post a SUMMARY of the answer(s) to your question(s)!
Show Windows & Gates to the exit door.
Unless otherwise noted, the statements herein reflect my personal
opinions and not those of any organization with which I may be affiliated.
Reply With Quote
  #4  
Old 12-19-2006, 04:47 PM
Kevin the Drummer
Guest
 
Posts: n/a
Default Re: ifplugd breaks my networking

>Dec 3 21:18:35 localhost ifplugd(eth0)[3144]: Executing
> '/etc/ifplugd/ifplugd.action eth0 up'.
>Dec 3 21:18:36 localhost kernel: eth0: Link autonegation speed
> 10M bps half duplex


Someone pointed out that my GBbps network card was running at
10Mbps. I looked into that after solving the ifplugd problem.
The source of the problem was a 10Mbps switch in the path to that
machine. I've replaced it with a 10/100/1000Mbps switch. Over
time I'll upgrade the remainder of my computers to 1Gbps network
cards.

FYI....


--
PLEASE post a SUMMARY of the answer(s) to your question(s)!
Show Windows & Gates to the exit door.
Unless otherwise noted, the statements herein reflect my personal
opinions and not those of any organization with which I may be affiliated.
Reply With Quote
Reply

Tags
breaks, ifplugd, networking

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 02:12 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.