so I setup an access point/hotspot on raspbian using these instructions:
http://www.instructables.com/id/How-to- ... Raspberry/ and afterwords ssh wouldn't work.
install hostapd, hostap-utils, iw and bridge-utils:
Code: Select all
sudo aptitude install hostapd hostap-utils iw bridge-utilsCode: Select all
sudo nano /etc/init.d/hostapdCode: Select all
DAEMON_CONF=/etc/hostapd/hostapd.confCode: Select all
sudo nano /etc/hostapd/hostapd.confCode: Select all
ctrl_interface=/var/run/hostapd
###############################
# Basic Config
###############################
macaddr_acl=0 auth_algs=1
# Most modern wireless drivers in the kernel need driver=nl80211
driver=nl80211
##########################
# Local configuration...
##########################
interface=wlan0
bridge=br0
hw_mode=g
ieee80211n=1
wme_enabled=1
channel=1
ssid=RaspberryPI_AP
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=3
wpa_passphrase=MY_PASSPHRASE
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMPCode: Select all
sudo nano /etc/network/interfacesCode: Select all
auto lo
iface lo inet loopback
auto br0
iface br0 inet static
address 192.168.1.11
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
bridge-ports eth0 wlan0
iface eth0 inet dhcp
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcpCode: Select all
sudo shutdown -r nowCode: Select all
ssh pi@192.168.1.11
ssh: connect to host 192.168.1.11 port 22: Network is unreachableNetgear modem/router:

Raspberry pi:

Setup:
Raspberry pi Model B (Raspbian Installed)
Wi-Pi N wireless adapter by element14 (Ralink driver)