View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 11 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Oct 06, 2012 2:57 pm 
Offline
Joined: Sun Oct 30, 2005 7:07 pm
Posts: 72
Folks,

I have been trying all afternoon to figure out how to configure my network to use an MTU of 4000 for Jumbo frames. However, nothing I have tried survives a reboot. There is a page on the Arch wiki that does a great job explaining how to do this, but the directions it gives for making the MTU setting survive restarts simply does not work:

Code:
To make the setting survive a reboot, place a line in /etc/rc.local:

ip link set eth0 mtu 4000


After doing some searching, it seems that the above would work for a static IP setup. I am using DHCP, though, which I would think is a common enough scenario that the wiki would also include a section on how to set that up as well. At least the Arch wiki should state that the directions do not work for DHCP.

I posted this question on the Arch linux forum, but when I told them I was using LinHES, the moderator told me that LinHES is not Arch (it is only Arch-based), so I was sent here to ask my question again.

So, do any other users of LinHES know how I can setup an MTU of 4000 with my DHCP network and have that setting permanently survive restarts?

Thanks for your help (in advance)...
Trevor


Top
 Profile  
 
PostPosted: Sat Oct 06, 2012 4:51 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Why not switch from dhcp to static? Then the /etc/rc.local method works just fine.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
PostPosted: Sat Oct 06, 2012 6:55 pm 
Offline
Joined: Sun Oct 30, 2005 7:07 pm
Posts: 72
Say, are you the same "graysky" from the Arch forums? :)

Well, I was just thinking there should be a simple way in Arch to do this with DHCP. I got it to work just fine with my Ubuntu desktop machine. I was thinking surely Arch was capable of the same.

My router is setup for DHCP - I don't know much about setting up static IPs. I guess I could learn, but it seems a shame to have to totally re-configure my router and all my systems just because of my LinHES box.


Top
 Profile  
 
PostPosted: Sun Oct 07, 2012 12:51 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Should be a simple tweak in your LH box. If memory serves me, there is a simple config script that you invoke in LH to select dhcp vs. static.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
PostPosted: Sun Oct 07, 2012 7:13 am 
Offline
Site Admin
Joined: Fri Jun 11, 2004 7:58 am
Posts: 507
Look at the network section of the service menu.


Top
 Profile  
 
PostPosted: Sun Oct 07, 2012 7:24 am 
Offline
Site Admin
Joined: Fri Jun 11, 2004 7:58 am
Posts: 507
For reference LinHES networking setup is very different then what ArchLinux uses, so most arch stuff will not apply.

The reason it's different is because at the time ArchLinux networking config was not up to snuff for our needs. Because of that I chose to use etcnet as the subsystem instead of rc.conf or now netcfg.


Top
 Profile  
 
PostPosted: Sun Oct 07, 2012 10:47 am 
Offline
Joined: Sun Oct 30, 2005 7:07 pm
Posts: 72
Thanks for that information about the networking setup being different from Arch. I would not have known that.

So, pardon my ignorance, but can I leave my router setup as DHCP and just configure my LinHES box to use static IP?


Top
 Profile  
 
PostPosted: Sun Oct 07, 2012 11:00 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Yes, do not touch your config in the router. Config is on the LH box only.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
PostPosted: Sun Oct 07, 2012 12:02 pm 
Offline
Site Admin
Joined: Fri Jun 11, 2004 7:58 am
Posts: 507
Really if all you want is to set the MTU, just access the network service menu and type in the value in the box labeled MTU.
No need to change to static ip unless you want to.


Top
 Profile  
 
PostPosted: Sun Oct 07, 2012 12:56 pm 
Offline
Joined: Sun Oct 30, 2005 7:07 pm
Posts: 72
@jams,

Wow! That was so easy! I had thought you were saying I could switch to static IP from the Network menu. I did not realize that there was an MTU setting that could be used with DHCP. Well, I entered 4000 in the MTU entry, clicked OK, and after a minute or so my system was reconfigured. I rebooted and the MTU setting was preserved. Still set to 4000.

Thank you for this simple setup! I will try to search through the LinHES menus first the next time I want to customize something.

Kudos and thanks again!
Trevor


Top
 Profile  
 
PostPosted: Sun Oct 07, 2012 2:20 pm 
Offline
Site Admin
Joined: Fri Jun 11, 2004 7:58 am
Posts: 507
Glad it worked for you.
The service menus do a lot, and for most people there shouldn't be a need to tinker around with the underling system.

If you do decide to tinker with something the service menus cover,then you will want to edit /etc/mythvantange.cfg and disable that module. Otherwise your changes are likely to get overwritten at some point.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 132 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu