LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 07-19-2013, 12:41 PM   #1
bandegee
LQ Newbie
 
Registered: Aug 2012
Posts: 3

Rep: Reputation: Disabled
Stop udhcpc from auto-negotiate.


Hello:

When running udhcpc (client) when my switch is not up, the kernel or client retries with and lower settings. Then when the switch is up it connects with the lowest setting. Note that I have already disabled auto negotiation on eth0 using ethtool.

Can I start udhcpc with a dhcp option to avoid this auto negotiation?

Code:
2013-07-18 14:08:45 user.info network[953]: Setting interface eth0 to 100BaseT/Full
2013-07-18 14:08:47 user.info startup[1200]: Configuring network using DHCP
2013-07-18 14:08:47 local0.info udhcpc[1254]: udhcpc (v1.13.3) started
2013-07-18 14:08:56 local0.info udhcpc[1254]: Sending discover...
2013-07-18 14:08:56 user.info kernel: [   25.250000] Trying 100/HALF
2013-07-18 14:09:07 user.info kernel: [   36.250000] Trying 10/FULL
Thanks,
--B
 
Old 08-17-2013, 10:31 AM   #2
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
It has no connection with DHCP. This behavior is implemented in kernel PHY driver. You can recompile it with "phy_force_reduction()" function commented out. Or use a newer version of kernel, it appears that some time ago this function was removed.
 
  


Reply



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 to stop the Auto-recharge into SKYPE ? frenchn00b General 1 02-22-2010 04:39 PM
Stop auto Startup Paris Heng Solaris / OpenSolaris 3 03-27-2009 06:14 AM
How to stop auto-logout? BrianK Linux - General 4 10-24-2008 06:12 PM
Network link not be detected while Auto Negotiate = Off vm_devadas SUSE / openSUSE 0 02-29-2008 06:39 AM
100mbps Full Duplex vs Auto-Negotiate. StevenO General 3 01-18-2006 09:02 AM

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

All times are GMT -5. The time now is 12:15 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