# more /sbin/ifup-pre-local
#!/bin/sh
if test "x$1" = "xeth0"; then
/sbin/ifconfig eth0 up
/sbin/ethtool -s eth0 autoneg off speed 100 duplex full
fi
exit 0#
John
On Jan 29, 2004, at 10:12 AM, [EMAIL PROTECTED] wrote:
I'm aware of how to manually assign a static address to aninterface,
however, I'm getting notices that there's a duplex mismatch.. switch is set
to 100baseT and I believe the eth0 is set to auto ( is that the setting by
default?)
How do I set the interface to full duplex or 100baseT and what syntax can I
use.. if my ip was 192.168.1.100/24
ifconfig eth0 inet addr 192.168.1.100 netmask 255.255.255.0 up (what would
be the correct syntax to set the media type to 100baseT)
Or is there a file in /etc that you can set the auto start parameters for
eth0 ?
Any help is well appreciated.. right now the box periodically drops ssh sessions due to packet loss..
_____
Sincerely, Jamil Hassan Spain NC School of Science and Mathematics | External Programs Phone: 919-416-2641 Web: www.dlt.ncssm.edu <http://www.dlt.ncssm.edu/> Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> _____
--
TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
-- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/ TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
