Networking Forums

Networking Forums > Computer Networking > Linux Networking > How to refresh Ethernet interface?

Reply
Thread Tools Display Modes

How to refresh Ethernet interface?

 
 
Charles Packer
Guest
Posts: n/a

 
      03-19-2011, 12:29 AM
I need to run a bandwidth test with my router out of
the path, to compare its speed with the speed when the
router is in. I recall there's some Linux command
that will recycle the Ethernet interface after I
disconnect the cable from the router and plug it
directly into the modem. In the absence of
this capability, I'd have to reboot the system.
What is the command?

--
Charles Packer
http://cpacker.org/whatnews
mailboxATcpacker.org
 
Reply With Quote
 
 
 
 
Bill Marcum
Guest
Posts: n/a

 
      03-19-2011, 01:14 AM
On 2011-03-19, Charles Packer <(E-Mail Removed)> wrote:
> I need to run a bandwidth test with my router out of
> the path, to compare its speed with the speed when the
> router is in. I recall there's some Linux command
> that will recycle the Ethernet interface after I
> disconnect the cable from the router and plug it
> directly into the modem. In the absence of
> this capability, I'd have to reboot the system.
> What is the command?
>

ifdown eth0; ifup eth0
or maybe
ifconfig eth0 down; ifconfig eth0 up
or
/etc/init.d/networking restart


--
A wise man cannot be insulted. If the insult has no meaning, he ignores
it. If the insult does have meaning, he deserves it.
 
Reply With Quote
 
David W. Hodgins
Guest
Posts: n/a

 
      03-19-2011, 02:32 AM
On Fri, 18 Mar 2011 21:29:47 -0400, Charles Packer <(E-Mail Removed)> wrote:

> I need to run a bandwidth test with my router out of
> the path, to compare its speed with the speed when the
> router is in. I recall there's some Linux command
> that will recycle the Ethernet interface after I


ifdown eth0 && ifup eth0 (or service network restart,
depending on the distro).

If it's a cable modem behind the router, that's all
that should be needed. If it's a dsl modem, and the
router is doing the pppoe login, the connection type
will have to be changed. That's usually easiest to
do by deleting the network connection setup, and
recreating it using the distros config utilities.

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
 
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
Ethernet interface status detection David Linux Networking 1 08-16-2007 02:31 AM
Virtual ethernet interface ? ArameFarpado Linux Networking 5 11-17-2006 11:30 PM
serial interface to ethernet interface Kenneth Sparre Linux Networking 9 11-01-2005 12:27 PM
How do I refresh the Ethernet device entry in XP's Net Connections? Lars Broadband 3 06-18-2005 11:59 PM
MRTG & Ethernet Interface Matt Linux Networking 3 08-20-2004 06:39 AM



1 2 3 4 5 6 7 8 9 10 11