Networking Forums

Networking Forums > Computer Networking > Linux Networking > ifplugd breaks my networking

Reply
Thread Tools Display Modes

ifplugd breaks my networking

 
 
Kevin the Drummer
Guest
Posts: n/a

 
      12-04-2006, 05:09 PM
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.
 
Reply With Quote
 
 
 
 
Moe Trin
Guest
Posts: n/a

 
      12-05-2006, 07:12 PM
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
 
Kevin the Drummer
Guest
Posts: n/a

 
      12-06-2006, 03:29 PM
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
 
Kevin the Drummer
Guest
Posts: n/a

 
      12-19-2006, 03:47 PM
>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

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
StandBy sometimes breaks DNS (XP) sdaws06@gmail.com Wireless Internet 6 10-02-2006 10:14 PM
2K3 SP1 breaks IIS management from XP machine M Windows Networking 1 08-02-2005 06:50 AM
SP2 Breaks MN-700/MN-720 Wireless Martin Broadband Hardware 8 08-14-2004 01:27 AM
RPC Breaks RG Windows Networking 1 12-12-2003 07:44 PM
ifplugd & Red Hat 9 kk5000 Linux Networking 0 11-23-2003 02:06 AM



1 2 3 4 5 6 7 8 9 10 11