You are not logged in.

#1 2009-01-02 13:15:17

mpausch
Member
Registered: 2009-01-02
Posts: 24

How to set MTU in a netcfg profile?

Hello,

just configured a few netcfg-profiles under /etc/network.d
that I can start depending on the location where I am.

For example, my profile for my WLAN@home:

CONNECTION="wireless"
DESCRIPTION="WLAN@home"
INTERFACE=wlan0
SCAN="yes"
SECURITY="wpa"
ESSID="mySSID"
KEY="mycensoredWPAKey"
IP="dhcp"
TIMEOUT=20

I tried different options for setting a MTU <> 1500:
MTU="1472"
MTU=1472
IFOPTS="mtu 1472"
IF_OPTS="mtu 1472"
--> but all without success :-(


How can I set the MTU in a netcfg-profile?

Thank you.

mpausch

Last edited by mpausch (2009-01-03 15:08:13)

Offline

#2 2009-01-03 15:07:49

mpausch
Member
Registered: 2009-01-02
Posts: 24

Re: How to set MTU in a netcfg profile?

ok. found a workaround.
not nice, but works :-)
added

POST_UP="ifconfig wlan0 mtu 1472"

to the posted profile-file

Offline

Board footer

Powered by FluxBB