Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4853

General discussion • Hostapd in a pc... i cant connect that Wifi with a RPI zero w

$
0
0
So... im going crazy here.
This is my hostapd.conf in the linux server (the one creating the Wifi):

Code:

  sudo cat /etc/hostapd/hostapd.conf                             1 ✘ interface=wlp2s27u1ssid=xxxxxxxxchannel=6macaddr_acl=0auth_algs=1ignore_broadcast_ssid=0wpa=2wpa_passphrase=xxxxxxxwpa_key_mgmt=WPA-PSKwpa_pairwise=TKIPrsn_pairwise=CCMPieee80211n=1hw_mode=g

i also have set dnsmasq.conf like this:

Code:

    ~  sudo cat /etc/dnsmasq.conf                                       ✔ # Interface to bind tointerface=wlp2s27u1# Specify starting_range,end_range,lease_timedhcp-range=10.0.0.3,10.0.0.20,12h

And... this:

Code:

ip link set wlp2s27u1 downip addr flush dev wlp2s27u1ip link set wlp2s27u1 upip addr add 10.0.0.1/24 dev wlp2s27u1
If i try to connect from a cellphone or my notebook all good... if i try from the rpi zero w. Dont connect, i dont know why because this is in a device i cant open BUT... if i put my cellphone as access point with the same ssid and pass that the pc server running hostapd... the rpi is connected to the cellphone... why in hell???

What could be making that my rpi dont connect to the hostapd????
Thanks!

Edit: by the way this is just a local wifi network, i dont give access to internet from there.

Statistics: Posted by 9acca9 — Sat Sep 14, 2024 4:04 am



Viewing all articles
Browse latest Browse all 4853

Trending Articles