Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Oct 2009 16:53:08 +0200
From:      Huub Schuurmans <huubsch@xs4all.nl>
To:        freebsd-stable@freebsd.org
Subject:   ifconfig channel assignment for wi hostap interface
Message-ID:  <1255877588.7383.30.camel@localhost>

next in thread | raw e-mail | index | archive | help
I have a problem with the channel configuration of wi-interfaces in
rc.conf. In hostap mode the interface is always using channel 1.

The statement:
ifconfig_wi0="inet 172.17.16.1/26  ssid ap.huub.wleiden.net media DS/11Mbps mediaopt hostap channel 7"
results in an ap-interface running at channel 1.

I found that splitting the statement in the startup script is effective in setting the proper channel:
ifconfig_wi0="inet 172.17.16.1/26  ssid ap.huub.wleiden.net media DS/11Mbps mediaopt hostap"
ifconfig_wi0_alias0="channel 7"

Now the ap is indeed using channel 7.

I am running 7.2-RELEASE-p4

A bug in the wi-driver?

Kind regards,
Huub




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