What's the sytax to set the network card to a specific speed/duplex setting in the /etc/network/interfaces file? Here's my current settings:
auto eth0
iface eth0 inet static
address x.x.x.x
netmask x.x.x.x
network x.x.x.x
broadcast x.x.x.x
gateway x.x.x.x
Tails
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Network Card Syntax ???
Re: Network Card Syntax ???
you cannot specify speed and dublex from /etc/network/interfaces file
but there is few packages for that purpose:
mii-diag: contains mii-tool - manipulate media-independent interface status
nictools-nopci and
nictools-pci: contains tools for specific ethernet card type
example:
use mii-tool -F 100baseTx-FD eth0 to switch you nic to 100 full duplex mode
and
use mii-tool -F 100baseTx-HD eth0 to switch you nic to 100 half duplex mode
but there is few packages for that purpose:
mii-diag: contains mii-tool - manipulate media-independent interface status
nictools-nopci and
nictools-pci: contains tools for specific ethernet card type
example:
use mii-tool -F 100baseTx-FD eth0 to switch you nic to 100 full duplex mode
and
use mii-tool -F 100baseTx-HD eth0 to switch you nic to 100 half duplex mode
> you cannot specify speed and dublex from /etc/network/interfaces file
Not true. See http://bugs.debian.org/256240 .
Not true. See http://bugs.debian.org/256240 .
You can run ethtool (or mii-tool) after the network card is brought up using the "up" option of the interfaces file, for example:
Xavier
Code: Select all
auto eth0
iface eth0 inet static
address x.x.x.x
netmask x.x.x.x
network x.x.x.x
broadcast x.x.x.x
gateway x.x.x.x
up ethtool -s eth0 speed 100 autoneg on
-
- Posts: 9
- Joined: 2004-09-20 12:20
- Location: /dev/tty1