How can a linux computer be set up to be an "access point", but without "bridging"/forwarding traffic to/from the wired network (using WPA2 and SSID brodcasting disabled)?
The reason to do this would be in order to access things on computer itself, wirelessly, even when the computer is not connected to any other networks.
It seems there should be a way to do so using
hostapd and some kind of dhcp to give out IP addresses.
The computer is currently running Debian squeeze, and has a network car that uses a b43 driver. This tutorial mostly works but cannot stops when trying to obtain an IP address, and besides, it is for a conventional router setup.
Update: Thank G-d, it is working now. Disabled IP forwarding by running
echo 0 > /proc/sys/net/ipv4/ip_forward.The reason it was not getting an IP address was because 1) there was no IP address set for the interface, 2) there was no DHCP server running.
So I set an IP by using ifconfig. Example:
ifconfig wlan0 <ipaddress> netmask <subnet-mask>. I installed dnsmasq as a DHCP server. Also, an android phone would disconnect after around every 5 seconds; setting
beacon_int=15 in hostapd.conf fixed this issue.