hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Hosting Security and Technology Tutorials : Forcing NIC card into full
Reply

Hosting Security and Technology Tutorials Tutorials related to server security or the like.
Forum Jump

Forcing NIC card into full

Reply Post New Thread In Hosting Security and Technology Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 11-22-2006, 08:10 PM
Nicarlo Nicarlo is offline
Junior Guru
 
Join Date: Feb 2003
Location: Montreal. Canada
Posts: 222

Forcing NIC card into full


How to would i go about forcing my NIC card into 10mbps
full-duplex mode ?

i am running debian 3.1

I checked the /etc/network/interfaces but im not good at making stuff up

Can anyone help me out ?
This is what i got now

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address xx.xx.xx.xx.xx
netmask 255.255.255.224
gateway xx.xx.xx.xx.xx

Reply With Quote


Sponsored Links
  #2  
Old 11-22-2006, 10:40 PM
Steven Steven is offline
I like ice cream
 
Join Date: Mar 2003
Location: California USA
Posts: 11,785
add this to an rc file:

/usr/sbin/ethtool -s eth0 speed 100 duplex full

Reply With Quote
  #3  
Old 11-22-2006, 11:18 PM
Nicarlo Nicarlo is offline
Junior Guru
 
Join Date: Feb 2003
Location: Montreal. Canada
Posts: 222
Quote:
Originally Posted by Steven
add this to an rc file:

/usr/sbin/ethtool -s eth0 speed 100 duplex full

how would i go about making a runtime configuration file ?

Reply With Quote
Sponsored Links
  #4  
Old 11-24-2006, 05:53 AM
eymbo eymbo is offline
Junior Guru Wannabe
 
Join Date: Jun 2006
Posts: 57
chkconfig --add your_rc_script on

This is just the basic command to get your script to run at certain run times. To explicitly specify a run time use the --level flag. This is what I do on my Centos 4.2 server. I'm not sure about debian.

Reply With Quote
  #5  
Old 11-30-2006, 01:39 AM
StevenG StevenG is offline
Web Hosting Master
 
Join Date: Apr 2002
Location: Auckland - New Zealand
Posts: 1,573
On Debian, you can add a start up script by placing it in

/etc/init.d/

Then run

# update-rc.d -f start_up_script_name defaults

Or manually create the symlinks in /etc/rc.* (running update-rc.d makes all the links for you.. gotta love debian)

# man update-rc.d

Reply With Quote
  #6  
Old 01-06-2007, 09:48 PM
Jeremy Jeremy is offline
Remote hands for Los Angeles
 
Join Date: Feb 2003
Location: Los Angeles, CA
Posts: 2,490
For RH based i use

ETHTOOL_OPTS="autoneg off speed 100 duplex full"

In

/etc/sysconfig/network-scripts/ifcfg-ethX

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
HostDime Provides Free Web Hosting Service to Internet Marketing Students Web Hosting News 2012-09-06 13:58:00
Web Host Layered Technologies Offers Compliance Guarantee Web Hosting News 2012-02-17 14:32:11
Web Host Webzilla Receives PCI DSS 1.2.1 Certification Web Hosting News 2012-02-07 17:12:58
Colocation America’s Facilities Certified PCI Compliant Web Hosting News 2012-01-24 19:50:25
Anonymous Hacks Military Gear Retailer Website Web Hosting News 2011-12-30 17:20:03


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?