Jonathan Weiss wrote:
#cat /etc/hostname.ath
inet 192.168.1.1 255.255.255.0 NONE media autoselect \
mediaopt hostap nwid wrap chan 11
#ifconfig ath0
ath0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu
1500
address: 00:0b:6b:35:b0:1b
ieee80211: nwid wrap chan 11 bssid 00:0b:6b:35:b0:1b
media: IEEE802.11 autoselect hostap (autoselect mode 11a hostap)
status: active
inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
inet6 fe80::20b:6bff:fe35:b01b%ath0 prefixlen 64 scopeid 0x1
Why are you using "wicontrol"?
man wicontrol:
"The wicontrol command controls the operation of WaveLAN/IEEE wireless
networking devices via the wi(4) and awi(4) drivers."
you are using an ath device not awi or wi. Also, use ifconfig to
control athX in configuring it for host-based AP mode. Look at the end
of "man ath" and you will find very good instructions on how to do so.
I used wicontrol as I tried to get the card working and played around. I
just posted it, because it's behaviour changed from 3.7 to current.
I used the instructions from `man ath` for my configuration in the first
place. My /etc/hostname.ath is from `man ath` with just the nwid changed.
You need to start providing complete information each time you try
something new. Show us exactly what hostname.if is and the ifconfig -a
info each time you post back that it isn't working.
Also is it /etc/hostname.ath or /etc/hostname.ath0? Do you see the
difference?
But, before you muck around more with hostname.if, try the example from
"man ath":
# ifconfig ath0 -bssid -chan media autoselect nwid "" -nwkey -powersave
then:
# ifconfig ath0 inet 192.168.1.1 255.255.255.0 NONE media autoselect
mediaopt hostap nwid my_net chan 11
you have to add "ifconfig ath0" (for obvious reasons) to the example in
the man page. I have done this a number of times with the exact same
card you have and it has worked every single time. I even changed the
nwid from "my_net" to "pigsfly" and it worked fine.
You also need to send your ifconfig -a along - you are not doing
something correctly or the card is broke or I'm out of my mind...
Steve Fettig