RasPi Access Point Issue
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- sal.fex
- Posts: 4
- Joined: Wed Mar 26, 2014 12:32 am
RasPi Access Point Issue
I have the Wireless AP setup and it broadcasts a SSID, but when I try to connect to it I get the "Limited Access" message in Windows 7 and 8. The Pi does not give the systems an IP address, so I can not test it. It worked after the 'Testing' phase but not now.
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: RasPi Access Point Issue
That error message doesn't give much information about what might be wrong on the RasPi side.
For starters, what do you get from:
on the RasPi?
For starters, what do you get from:
Code: Select all
sudo ifconfig -a
- sal.fex
- Posts: 4
- Joined: Wed Mar 26, 2014 12:32 am
Re: RasPi Access Point Issue
Code: Select all
pi@raspberrypi ~ $ sudo ifconfig -a
eth0 Link encap:Ethernet HWaddr b8:27:eb:82:c3:e6
inet addr:192.168.1.41 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:124697 errors:0 dropped:19 overruns:0 frame:0
TX packets:1767 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12345057 (11.7 MiB) TX bytes:201419 (196.6 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:42024 errors:0 dropped:0 overruns:0 frame:0
TX packets:42024 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2241347 (2.1 MiB) TX bytes:2241347 (2.1 MiB)
wlan0 Link encap:Ethernet HWaddr 00:13:ef:d0:30:4c
inet addr:192.168.42.1 Bcast:192.168.42.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:30470 errors:0 dropped:2654 overruns:0 frame:0
TX packets:23919 errors:0 dropped:4 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5806526 (5.5 MiB) TX bytes:4856065 (4.6 MiB)
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: RasPi Access Point Issue
It looks like the wifi interface is configured properly with an IP address, so we can check that list of troubles off the list.
Let's make sure all the necessary services are running, and the OS is forwarding packets as it should:
Let's make sure all the necessary services are running, and the OS is forwarding packets as it should:
Code: Select all
ps ax | grep hostapd
ps ax | grep dhcpd
sudo sysctl net.ipv4.ip_forward
- sal.fex
- Posts: 4
- Joined: Wed Mar 26, 2014 12:32 am
Re: RasPi Access Point Issue
Code: Select all
pi@raspberrypi ~ $ ps ax | grep hostapd
2134 ? Ss 0:04 /usr/sbin/hostapd -B -P /var/run/hostapd.pid /etc/hostapd/hostapd.conf
4107 pts/0 S+ 0:00 grep --color=auto hostapd
pi@raspberrypi ~ $ ps ax | grep dhcpd
4109 pts/0 S+ 0:00 grep --color=auto dhcpd
pi@raspberrypi ~ $ sudo sysctl net.ipv4.ip_forward
net.ipv4.ip_forward = 1
pi@raspberrypi ~ $
- sal.fex
- Posts: 4
- Joined: Wed Mar 26, 2014 12:32 am
Re: RasPi Access Point Issue
It's been several days now, with out any more response.
Can you please look over the output I posted and let me know what to try next?
Sal
Can you please look over the output I posted and let me know what to try next?
Sal
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: RasPi Access Point Issue
Hi - sorry for the late reply, this fell off the bottom of the screen I normally check.
The `ps ax | grep dhcpd` command showed that your DHCP server isn't running. Double-check that section of the tutorial and see if those instructions get things working for you.
The `ps ax | grep dhcpd` command showed that your DHCP server isn't running. Double-check that section of the tutorial and see if those instructions get things working for you.
Please be positive and constructive with your questions and comments.