Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 May 2008 08:16:59 +0200
From:      Thomas Herzog <thomas.herzog@inode.at>
To:        freebsd-questions@freebsd.org
Subject:   7.0 wlan mtu problem 
Message-ID:  <482D26DB.6090304@inode.at>

next in thread | raw e-mail | index | archive | help
Hi,

i have following lines in my rc.conf:

ifconfig_ath0_name="wlan"
ifconfig_wlan="inet 192.168.231.231 netmask 255.255.255.0 mtu 1500 mediaopt hostap channel 9"
hostapd_enable="YES"

after a reboot, ifconfig says:

wlan: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
         ether 00:0f:b5:1e:ce:12
         inet 192.168.231.231 netmask 0xffffff00 broadcast 192.168.231.255
         media: IEEE 802.11 Wireless Ethernet autoselect <hostap> (autoselect <hostap>)
         status: associated
         ssid earlair channel 9 (2452 Mhz 11g) bssid 00:0f:b5:1e:ce:12
         authmode WPA privacy MIXED deftxkey 2 TKIP 2:128-bit txpower 31.5
         scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11g 7
         roam:rate11g 5 protmode CTS burst dtimperiod 1

--> mtu 2290 ?

wen i execute "ifconfig wlan 192.168.231.231 netmask 255.255.255.0 mtu 1500 mediaopt hostap channel 9"
than is says ifconfig:

wlan: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         ether 00:0f:b5:1e:ce:12
         inet 192.168.231.231 netmask 0xffffff00 broadcast 192.168.231.255
         media: IEEE 802.11 Wireless Ethernet autoselect <hostap> (autoselect <hostap>)
         status: associated
         ssid earlair channel 9 (2452 Mhz 11g) bssid 00:0f:b5:1e:ce:12
         authmode WPA privacy MIXED deftxkey 2 TKIP 2:128-bit txpower 31.5
         scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11g 7
         roam:rate11g 5 protmode CTS burst dtimperiod 1

with the right mtu.

have anyone a idea for this behaviour, or what can i to for the right mtu after reboot?

lg
Thomas



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?482D26DB.6090304>