I am trying to set up
as a wireless access point and gateway for the house.
It took some wrangling and trying to start back from basics to get the wireless card in AP mode, (which may seemed to have worked? rc.conf below)
I am also assuming i should be using ral in lieu of ath as the handbook uses for example.
If i then
I can see the SSID being broadcast, but the machine seems to panic and not shut down, (on a sidenote, how should I get this panic info?)
I am using a Linksys WMP54g, with the ral driver, which apparently as far as I can tell should support host AP mode.
I have tried various permutations in loader.conf
My rc.conf and loader.conf are starting to get confusing here.
rc.conf:
loader.conf:
Not sure if the last 3 wlan entries there are required anymore(actually i suppose they're not, wep module loaded, and wlan_ccmp and wlan_tkip are compiled in kernel.)
Am I missing other parts?
Code:
FreeBSD anzu.stoc 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #0: Tue Dec 21 21:35:25 PST 2010 emel@anzu.stoc:/usr/obj/usr/src/sys/ANZU i386
It took some wrangling and trying to start back from basics to get the wireless card in AP mode, (which may seemed to have worked? rc.conf below)
I am also assuming i should be using ral in lieu of ath as the handbook uses for example.
Code:
$ ifconfig wlan0
wlan0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:18:f8:2e:4c:e2
media: IEEE 802.11 Wireless Ethernet autoselect <hostap> (autoselect <hostap>)
status: no carrier
ssid "" channel 1 (2412 MHz 11b)
country US authmode OPEN privacy OFF txpower 0 scanvalid 60
dtimperiod 1 -dfs bintval 0
If i then
Code:
$ sudo ifconfig wlan0 inet 192.168.0.1 netmask 0xffffff00 ssid fbsd mode 11b channel 9
I am using a Linksys WMP54g, with the ral driver, which apparently as far as I can tell should support host AP mode.
I have tried various permutations in loader.conf
My rc.conf and loader.conf are starting to get confusing here.
rc.conf:
Code:
sshd_enable="YES"
wlans_ral0="wlan0"
create_args_wlan0="wlanmode hostap" #also tried wlanmode ap
gateway_enable="YES"
#ifirewall_enable="YES"
#firewall_type="OPEN"
#natd_enable="YES"
#natd_interface="xl1"
#natd_flags=""
# xl1 is the ethernet card
ifconfig_xl1="DHCP"
hostname="anzu.stoc"
#Try to get X working
hald_enable="YES"
dbus_enable="YES"
loader.conf:
Code:
linux_load="yes"
if_xl_load="yes" # xl and ral are* NOT* compiled into kernel ANZU anymore
if_ral_load="yes"
# Let's get some sound
snd_ich_load="YES"
# here we go with gateway fw stuff:
#ipfw_load="YES"
#ipdivert_load="YES"
#net.inet.ip.fw.default_to_accept="1"
wlan_wep_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"
Not sure if the last 3 wlan entries there are required anymore(actually i suppose they're not, wep module loaded, and wlan_ccmp and wlan_tkip are compiled in kernel.)
Am I missing other parts?
Code:
$ kldstat
Id Refs Address Size Name
1 36 0xc0400000 6339e8 kernel
2 3 0xc0a34000 2d998 linux.ko
3 1 0xc0a62000 13adc if_ral.ko
4 1 0xc0a76000 b574 if_xl.ko
5 1 0xc0a82000 7120 snd_ich.ko
6 2 0xc0a8a000 566f4 sound.ko
7 1 0xc0ae1000 3288 wlan_wep.ko
8 1 0xc40b5000 8000 linprocfs.ko
9 1 0xc40bd000 3000 linsysfs.ko