LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-16-2005, 10:39 PM   #1
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Rep: Reputation: 49
How do I change the mode of Operation of the LAN Card?


How do I change the mode of Operation of the LAN Card?
I mean, I want to change the mode from Full Duplex 100MBPS to Half Duplex 10MBPS.
How do I get around doing that?

The reason behind doing this is... My ISP won't connect with 100MBPS full duplex (I start getting ping breaks when I ping my Gateway).
I would also like to know the reason why does it happen! (Could it be a faulty Switch or a fault in my LAN card? )
 
Old 10-16-2005, 11:25 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
It depends on your card. Try using "ethtool" command. It worked fine for me on Intel NICs.

On 3COM NICs you can try miitool but I had no real success with that. No matter how I set with that it always reported the same values. It may actually have set the value and for some reason not read them correctly but I had no way of knowing.

Note that both tools would only set the NIC while you're system is running. You'd need to modify the appropriate startup or config file to make the changes permanent so they get reestablished after a reboot. On my RHEL this was done by adding ethtool options into the ifcfg_eth0 file. Not sure how Suse does it.
 
Old 10-17-2005, 10:12 AM   #3
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Original Poster
Rep: Reputation: 49
Thanks for the reply.

miitool and ethtool should do the job.

I am recently gonna switch OSs and there is nothing on the computer at the moment.
Now, I would like to know if this thing only works on Fedora Core.
If it does good only on FC4, I will install FC4


I am all set to play with BSDs. (Got a new spare HDD.)
Does anybody know of how to do it in BSDs?
 
Old 10-17-2005, 12:36 PM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Just had a look since I have some FreeBSD systems and figured I should know the answer since they had been installed before I got here. After checking it looks like you actually use ifconfig itself on FreeBSD to do the settings. It like miitool on RH Linux has a "media" type that contains the speed, duplex etc... of the interface. (ifconfig in RH Linux doesn't have this option.)

If says you can find out available media types by doing a man on your NIC's driver.

On my system I did "ifconfig" and saw entries for fxp0, fxp1, fxp2 and lo0. lo0 is the loopback (local) interface so I ignored it. Since "fxp" was common in the other 3 I did "man fxp" and sure enough it showed this as the "Intel EtherExpress Pro/100B ethernet device driver".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I change the mode of operation of the LAN Card? duffmckagan *BSD 4 10-17-2005 04:13 PM
How to change the gateway in a Lan card? saugato Linux - Networking 4 07-26-2005 09:44 PM
How can I change display mode from character mode to graph mode wuzhong Linux - Hardware 1 08-08-2004 10:36 AM
Promiscuous mode of LAN card....whats going on my server...? tusher Linux - Security 2 03-01-2004 05:52 PM
Change my Network card link speed/duplex mode in Linux Salihou Linux - Networking 1 12-22-2003 02:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration