Re: resetting a network card

2003-03-08 Thread Bob Proulx
Nathan E Norman wrote:
 Bob Proulx wrote:
  We changed to the Intel e100 driver direct from the Intel site and the
  problem went away.
 
 That driver (well, the source code for it) is available in non-free as
 e100-source.

Rob Weir in the other thread just reported that it is in the 2.4.20
kernel at this time.  It has been freed.  Yeah.

Bob


pgp0.pgp
Description: PGP signature


Re: resetting a network card

2003-03-07 Thread mtsouk
On Thu, 6 Mar 2003, Mike M wrote:

 Date: Thu, 6 Mar 2003 20:48:18 -0500
 From: Mike M [EMAIL PROTECTED]
 To: [EMAIL PROTECTED], Gabriel Granger [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: resetting a network card

 On Thursday 06 March 2003 10:13, [EMAIL PROTECTED] wrote:
  Thanks for answering.
 
  I am afraid that this is not what I want:
  The problem is that the network card, after lots of data (about 4GB) -
  either in receive or in transmit, stops responding correctly.
  So I want to somehow reset in order to see if this will solve my
  problem.
 
  Any other ideas please?
 snip

 I am curious about the type of card your are working with - RTL8139 by any
 chance?  The problem you describe has a certain familiarity to it.
 --
 Mike M.

One of the network cards that I have seen the problem is a RTL8139. But I
have also seen the same problem with 2 Intel EtherExpress Pro 100 network
cards.

cheers,
Mihalis.

-
:wq



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: resetting a network card

2003-03-07 Thread Mike M
On Friday 07 March 2003 07:23, [EMAIL PROTECTED] wrote:
 On Thu, 6 Mar 2003, Mike M wrote:
  Date: Thu, 6 Mar 2003 20:48:18 -0500
  From: Mike M [EMAIL PROTECTED]
  To: [EMAIL PROTECTED], Gabriel Granger [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Subject: Re: resetting a network card
 
  On Thursday 06 March 2003 10:13, [EMAIL PROTECTED] wrote:
   Thanks for answering.
  
   I am afraid that this is not what I want:
   The problem is that the network card, after lots of data (about 4GB) -
   either in receive or in transmit, stops responding correctly.
   So I want to somehow reset in order to see if this will solve my
   problem.
  
   Any other ideas please?
 
  snip
 
  I am curious about the type of card your are working with - RTL8139 by
  any chance?  The problem you describe has a certain familiarity to it. --
  Mike M.

 One of the network cards that I have seen the problem is a RTL8139. But I
 have also seen the same problem with 2 Intel EtherExpress Pro 100 network
 cards.

Have you found any indications of a related problem in the /var/log/messages 
file? Something like Oversize Ethernet frame?

-- 
Mike M.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: resetting a network card

2003-03-07 Thread mtsouk
On Thu, 6 Mar 2003, Josh McKinney wrote:

 Date: Thu, 6 Mar 2003 21:06:31 -0500
 From: Josh McKinney [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: resetting a network card
 Resent-Date: Thu,  6 Mar 2003 20:25:19 -0600 (CST)
 Resent-From: [EMAIL PROTECTED]

 On approximately Thu, Mar 06, 2003 at 08:48:18PM -0500, Mike M wrote:
  On Thursday 06 March 2003 10:13, [EMAIL PROTECTED] wrote:
   Thanks for answering.
  
   I am afraid that this is not what I want:
   The problem is that the network card, after lots of data (about 4GB) -
   either in receive or in transmit, stops responding correctly.
   So I want to somehow reset in order to see if this will solve my
   problem.
  
   Any other ideas please?
  snip
 
  I am curious about the type of card your are working with - RTL8139 by any
  chance?  The problem you describe has a certain familiarity to it.
  --

 I second the thought about it being a cheap network card.  A decent card
 shouldn't do that.  But to answer your question you could do this:

 #/etc/init.d/networking stop

 #rmmod network_module.o

 #insmod network_module.o

 #/etc/init.d/networking start

 That should do the trick.  You just need to find out the correct name of your
 NIC module.

 Josh

Thank you very much for answering.

The following way seams to work:

# ifdown eth0; rmmod eepro100; ifup eth0
(As you can see it is not a cheap network card but I have seen the same
problem to RTL network cards)

I don't know for sure yet as I have to run a 8+ hours test to make sure
but if I won't send another message about it, it will mean that it
worked.

many thanks to all of you,
Mihalis.

-
:wq



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: resetting a network card

2003-03-07 Thread mtsouk
   I am curious about the type of card your are working with - RTL8139 by
   any chance?  The problem you describe has a certain familiarity to it. --
   Mike M.
 
  One of the network cards that I have seen the problem is a RTL8139. But I
  have also seen the same problem with 2 Intel EtherExpress Pro 100 network
  cards.

 Have you found any indications of a related problem in the /var/log/messages
 file? Something like Oversize Ethernet frame?

 --
 Mike M.

I don't remember such an error message.

cheers,
Mihalis.

-
:wq


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: resetting a network card

2003-03-07 Thread Bob Proulx
[EMAIL PROTECTED] wrote:
   On Thursday 06 March 2003 10:13, [EMAIL PROTECTED] wrote:
The problem is that the network card, after lots of data (about 4GB) -
either in receive or in transmit, stops responding correctly.
So I want to somehow reset in order to see if this will solve my
problem.
 # ifdown eth0; rmmod eepro100; ifup eth0
 (As you can see it is not a cheap network card but I have seen the same
 problem to RTL network cards)

Sorry, coming late to this thread.  I just answered this question in
another too.  Under a heavy load the eepro100 driver tends to drop out
on the network.  The eepro100 tends to complain about 'out of network
resources' frequently under load and sometimes drops out.  To fix
reset the networking I put a cron '/etc/init.d/networking restart'
script in place to work around the problem.  Restarting would reset
the network for us after a dropout.

We changed to the Intel e100 driver direct from the Intel site and the
problem went away.

Bob


pgp0.pgp
Description: PGP signature


Re: resetting a network card

2003-03-07 Thread Nathan E Norman
On Fri, Mar 07, 2003 at 09:53:26AM -0700, Bob Proulx wrote:
 [EMAIL PROTECTED] wrote:
On Thursday 06 March 2003 10:13, [EMAIL PROTECTED] wrote:
 The problem is that the network card, after lots of data (about 4GB) -
 either in receive or in transmit, stops responding correctly.
 So I want to somehow reset in order to see if this will solve my
 problem.
  # ifdown eth0; rmmod eepro100; ifup eth0
  (As you can see it is not a cheap network card but I have seen the same
  problem to RTL network cards)
 
 Sorry, coming late to this thread.  I just answered this question in
 another too.  Under a heavy load the eepro100 driver tends to drop out
 on the network.  The eepro100 tends to complain about 'out of network
 resources' frequently under load and sometimes drops out.  To fix
 reset the networking I put a cron '/etc/init.d/networking restart'
 script in place to work around the problem.  Restarting would reset
 the network for us after a dropout.
 
 We changed to the Intel e100 driver direct from the Intel site and the
 problem went away.

That driver (well, the source code for it) is available in non-free as
e100-source.

-- 
Nathan Norman - Incanus Networking mailto:[EMAIL PROTECTED]
  We're sysadmins. To us, data is a protocol-overhead.


pgp0.pgp
Description: PGP signature


resetting a network card

2003-03-06 Thread mtsouk
Hello list!

I would like to know if it is possible to reset a network card without
rebooting the computer.

What I really like to do is to clean the statistics of the network card
(those that are shown with ifconfig -a or with ifconfig -s).

Many thanks in advance,
Mihalis.

-
:wq



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: resetting a network card

2003-03-06 Thread Gabriel Granger
Hi,

I'm not sure about resetting the stats for ifconfig, but if you use 
IPtables on your box, you can setup a accounting chain for the IP (i 
think you can also use the eth address, tho never have needed to do it 
by eth) which then logs the packets and data, you can then reset the 
IPtables accounting chain which effectively resets the accounting chain 
stats. 

I can supply IPtables information for setting this up if you wish.  

   - Regards -

Gabe

[EMAIL PROTECTED] wrote:

Hello list!

I would like to know if it is possible to reset a network card without
rebooting the computer.
What I really like to do is to clean the statistics of the network card
(those that are shown with ifconfig -a or with ifconfig -s).
Many thanks in advance,
Mihalis.
-
:wq


 



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: resetting a network card

2003-03-06 Thread mtsouk
Thanks for answering.

I am afraid that this is not what I want:
The problem is that the network card, after lots of data (about 4GB) -
either in receive or in transmit, stops responding correctly.
So I want to somehow reset in order to see if this will solve my
problem.

Any other ideas please?

cheers,
Mihalis.

On Thu, 6 Mar 2003, Gabriel Granger wrote:

 Date: Thu, 06 Mar 2003 12:58:56 +
 From: Gabriel Granger [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: Re: resetting a network card

 Hi,

 I'm not sure about resetting the stats for ifconfig, but if you use
 IPtables on your box, you can setup a accounting chain for the IP (i
 think you can also use the eth address, tho never have needed to do it
 by eth) which then logs the packets and data, you can then reset the
 IPtables accounting chain which effectively resets the accounting chain
 stats.

 I can supply IPtables information for setting this up if you wish.

 - Regards -

  Gabe

  [EMAIL PROTECTED] wrote:

 Hello list!
 
 I would like to know if it is possible to reset a network card without
 rebooting the computer.
 
 What I really like to do is to clean the statistics of the network card
 (those that are shown with ifconfig -a or with ifconfig -s).
 
 Many thanks in advance,
 Mihalis.

-
:wq


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: resetting a network card

2003-03-06 Thread Martin Kacerovsky
Hi,

On Thu, Mar 06, 2003 at 02:31:59PM +0200, [EMAIL PROTECTED] wrote:
 Hello list!
 
 I would like to know if it is possible to reset 
 a network card without rebooting the computer.
 
 What I really like to do is to clean the statistics 
 of the network card
 (those that are shown with ifconfig -a or with ifconfig -s).
 
 Many thanks in advance,
 Mihalis.

Hmm, have you tried to compile your network card as module, 
and then unload it and load it again?

Bye.
-- 
+--+
| Martin Kacerovsky|
| e-mail : wizard(AT)matfyz(DOT)cz |
| home   : http://wizard.matfyz.cz |
+--+


pgp0.pgp
Description: PGP signature


Re: resetting a network card

2003-03-06 Thread Josh McKinney
On approximately Thu, Mar 06, 2003 at 08:48:18PM -0500, Mike M wrote:
 On Thursday 06 March 2003 10:13, [EMAIL PROTECTED] wrote:
  Thanks for answering.
 
  I am afraid that this is not what I want:
  The problem is that the network card, after lots of data (about 4GB) -
  either in receive or in transmit, stops responding correctly.
  So I want to somehow reset in order to see if this will solve my
  problem.
 
  Any other ideas please?
 snip
 
 I am curious about the type of card your are working with - RTL8139 by any 
 chance?  The problem you describe has a certain familiarity to it.
 -- 

I second the thought about it being a cheap network card.  A decent card
shouldn't do that.  But to answer your question you could do this:

#/etc/init.d/networking stop

#rmmod network_module.o

#insmod network_module.o

#/etc/init.d/networking start

That should do the trick.  You just need to find out the correct name of your
NIC module.

Josh


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]