elfresno
Posts: 44
Joined: Sun May 21, 2017 5:19 pm

acces point connects but limited

Tue Jan 30, 2018 6:52 pm

Hi, I have my raspberry as acces point, I can see the network and connect to it, but access is limited and I can not communicate with the raspberry. any ideas? thank you very much

SurferTim
Posts: 1769
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: acces point connects but limited

Tue Jan 30, 2018 6:58 pm

Check these on the RPi:

Code: Select all

ifconfig
route
sudo service hostapd status
sudo service dnsmasq status
Did you configure your access point as a standalone or a bridge?

elfresno
Posts: 44
Joined: Sun May 21, 2017 5:19 pm

Re: acces point connects but limited

Tue Jan 30, 2018 8:38 pm

this is what the console returns to me.
I really do not know if there is something wrong with that.

Code: Select all

pi@elfresno:~ $ ifconfig
eth0      Link encap:Ethernet  HWaddr b8:27:eb:14:4c:fc
          inet addr:192.168.0.70  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::b2da:1c21:b35a:3f80/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1298 errors:0 dropped:0 overruns:0 frame:0
          TX packets:606 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:71469 (69.7 KiB)  TX bytes:90999 (88.8 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:473 errors:0 dropped:0 overruns:0 frame:0
          TX packets:473 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:31940 (31.1 KiB)  TX bytes:31940 (31.1 KiB)

wlan0     Link encap:Ethernet  HWaddr b8:27:eb:41:19:a9
          inet6 addr: fe80::ba27:ebff:fe41:19a9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:772 errors:0 dropped:8 overruns:0 frame:0
          TX packets:57 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:178907 (174.7 KiB)  TX bytes:8667 (8.4 KiB)

pi@elfresno:~ $ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
link-local      *               255.255.0.0     U     202    0        0 eth0
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
pi@elfresno:~ $ sudo service hostapd status
● hostapd.service - Hostapd IEEE 802.11 Access Point
   Loaded: loaded (/etc/systemd/system/hostapd.service; enabled)
   Active: active (running) since Sat 2018-01-27 21:17:04 UTC; 14min ago
 Main PID: 552 (hostapd)
   CGroup: /system.slice/hostapd.service
           └─552 /usr/sbin/hostapd -B /etc/hostapd/hostapd.conf -P /var/run/hostapd.pid

Jan 27 21:22:12 elfresno hostapd[552]: wlan0: STA 2c:d0:5a:99:19:a1 IEEE 802.11: disassociated
Jan 27 21:22:17 elfresno hostapd[552]: wlan0: STA 2c:d0:5a:99:19:a1 IEEE 802.11: associated
Jan 27 21:22:20 elfresno hostapd[552]: wlan0: STA 2c:d0:5a:99:19:a1 IEEE 802.11: disassociated
Jan 27 21:22:25 elfresno hostapd[552]: wlan0: STA 2c:d0:5a:99:19:a1 IEEE 802.11: associated
Jan 27 21:22:27 elfresno hostapd[552]: wlan0: STA 2c:d0:5a:99:19:a1 IEEE 802.11: disassociated
Jan 27 21:22:33 elfresno hostapd[552]: wlan0: STA 2c:d0:5a:99:19:a1 IEEE 802.11: associated
Jan 27 21:22:33 elfresno hostapd[552]: wlan0: STA 2c:d0:5a:99:19:a1 RADIUS: starting accounting session 5A6CEC50-00000007
Jan 27 21:22:33 elfresno hostapd[552]: wlan0: STA 2c:d0:5a:99:19:a1 WPA: pairwise key handshake completed (RSN)
Jan 27 21:27:04 elfresno hostapd[552]: wlan0: STA 2c:d0:5a:99:19:a1 WPA: group key handshake completed (RSN)
Jan 27 21:28:00 elfresno hostapd[552]: wlan0: STA 2c:d0:5a:99:19:a1 IEEE 802.11: disassociated
pi@elfresno:~ $ sudo service dnsmasq status
● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
   Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled)
  Drop-In: /run/systemd/generator/dnsmasq.service.d
           └─50-dnsmasq-$named.conf, 50-insserv.conf-$named.conf
   Active: active (running) since Sat 2018-01-27 21:17:35 UTC; 13min ago
 Main PID: 683 (dnsmasq)
   CGroup: /system.slice/dnsmasq.service
           └─683 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -r /run/dnsmasq/resolv.conf -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --local-service --trust-anchor=.,19036,8,2,...

Jan 27 21:22:49 elfresno dnsmasq-dhcp[683]: DHCP packet received on wlan0 which has no address
Jan 27 21:23:05 elfresno dnsmasq-dhcp[683]: DHCP packet received on wlan0 which has no address
Jan 27 21:23:36 elfresno dnsmasq-dhcp[683]: DHCP packet received on wlan0 which has no address
Jan 27 21:23:40 elfresno dnsmasq-dhcp[683]: DHCP packet received on wlan0 which has no address
Jan 27 21:23:48 elfresno dnsmasq-dhcp[683]: DHCP packet received on wlan0 which has no address
Jan 27 21:24:05 elfresno dnsmasq-dhcp[683]: DHCP packet received on wlan0 which has no address
Jan 27 21:27:34 elfresno dnsmasq-dhcp[683]: DHCP packet received on wlan0 which has no address
Jan 27 21:27:38 elfresno dnsmasq-dhcp[683]: DHCP packet received on wlan0 which has no address
Jan 27 21:27:42 elfresno dnsmasq-dhcp[683]: DHCP packet received on wlan0 which has no address
Jan 27 21:27:51 elfresno dnsmasq-dhcp[683]: DHCP packet received on wlan0 which has no address


SurferTim
Posts: 1769
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: acces point connects but limited

Wed Jan 31, 2018 12:21 am

If wlan0 is the access point, then there is something wrong. It doesn't have an ip address assigned.

Did you follow this guide?
https://www.raspberrypi.org/documentati ... s-point.md

elfresno
Posts: 44
Joined: Sun May 21, 2017 5:19 pm

Re: acces point connects but limited

Wed Jan 31, 2018 12:26 am

Yes, when I did it worked perfectly, but after this stopped working, the network is visible and can be connected but I can not access content, I will do it again and see if it is fixed. Thanks for the input. then I give my conclusions and I could solve it or not

SurferTim
Posts: 1769
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: acces point connects but limited

Wed Jan 31, 2018 12:31 am

Ensure you didn't add anything to /etc/network/interfaces. There should be only one uncommented line in that file.

Did you add this to the end of /etc/dhcpcd.conf?

Code: Select all

interface wlan0
static ip_address=192.168.4.1/24

elfresno
Posts: 44
Joined: Sun May 21, 2017 5:19 pm

Re: acces point connects but limited

Wed Jan 31, 2018 1:37 pm

hi, some have their configuration of etc / network / interfaces for eth0 and wlan0 I need to work as access point and ethernet at the same time.
Could you share it? thank you very much

SurferTim
Posts: 1769
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: acces point connects but limited

Wed Jan 31, 2018 2:45 pm

I did share it. Click on the link I posted above.

elfresno
Posts: 44
Joined: Sun May 21, 2017 5:19 pm

Re: acces point connects but limited

Thu Feb 01, 2018 12:41 pm

Thanks for your help, try everything you told me, but without results. until I realized that you have access to some things, for example, this has a web page with which you can play videos, and also this can receive packages for it, receive and run the udp well but I can not access the page , I suppose it must be something from the ports, which blocks me.

I'll keep trying and see if I can get it.

thank you very much.

Return to “Networking and servers”