On Tue, 22 Jul 2008 17:49:01 -0700 (PDT), gahn [EMAIL PROTECTED] wrote:
hello:
i installed cisco aironet 802.11a/b/g wirless adapter on 6.3 and have
some issues. basically it works like charm with wpa2/dhcp, but it
doesn't work with wpa2/static ip address.
here is my working configuration for rc.conf
ifconfig_ath0=ssid home WPA DCHP
everything works: authentication, dhcp process, ip address binding to
the interface.
but any time i change to:
ifconfig_ath0=ssid home WPA inet 192.168.1.12 netmask 255.255.255.0
everything else works except the binding of the static ip address to
the interface.
I haven't tried putting *all* the options in ifconfig_ath0 ever, but my
old `wlan-home.sh' shell script for a WEP-only access point included
among others:
# network interface options
export wlans_ath0=wlan0
export ifconfig_wlan0=inet 192.168.1.3/24
export defaultrouter='192.168.1.1'
echo '## Stopping network interfaces.'
/etc/rc.d/netif stop fxp0 ifconfig fxp0 delete
/etc/rc.d/netif stop ath0 ifconfig ath0 delete
echo '## Bringing up wireless interface.'
/etc/rc.d/netif start ath0
# NOTE: Changing options with the wlan interface UP doesn't work for
# all options, so bring it temporarily down, set things up and go.
ifconfig wlan0 down
ifconfig wlan0 ssid '' channel 5 wepmode on weptxkey 1 \
wepkey '0x**'
ifconfig wlan0 up
^ This last bit seems related to what you wrote. ^
I don't remember why I initially wrote it this way, but I think it was
because putting _everything_ in ${ifconfig_wlan0} with a statically
defined IP address didn't really work.
I don't use a static IP address anymore and I don't have the WEP-only AP
installed, having switched to WPA2/DHCP, but maybe that helps a bit with
what you want to do?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]