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

Advanced users • Re: Rpi routerless LAN network with static IP or dnsmasq?

$
0
0
I installed dnsmasq, as the Wi-Fi devices will need DHCP IP assigned.
However, there is no gateway on the computer nor the Wi-Fi AP, so I didn't add a gateway IP.
Anyway, still unable to ping the Wi-Fi AP on 192.168.1.20.
The computer has UniFi controller installed and sees the Wi-Fi AP, but cannot adopt the Wi-Fi AP.

Code:

raspberrypi5@raspberrypi:~ $ ip -c a1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00    inet 127.0.0.1/8 scope host lo       valid_lft forever preferred_lft forever    inet6 ::1/128 scope host noprefixroute        valid_lft forever preferred_lft forever2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000    link/ether 2c:cf:67:13:a3:da brd ff:ff:ff:ff:ff:ff3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000    link/ether 2c:cf:67:13:a3:db brd ff:ff:ff:ff:ff:ff    inet 172.20.10.9/28 brd 172.20.10.15 scope global dynamic noprefixroute wlan0       valid_lft 86366sec preferred_lft 86366sec    inet6 fe80::3e57:d890:ac0:35e9/64 scope link noprefixroute        valid_lft forever preferred_lft foreverraspberrypi5@raspberrypi:~ $ cd /etc/network/raspberrypi5@raspberrypi:/etc/network $ lsif-down.d       if-pre-up.d  interfaces              interfaces.dif-post-down.d  if-up.d      interfaces202406141852raspberrypi5@raspberrypi:/etc/network $ cat interfaces# interfaces(5) file used by ifup(8) and ifdown(8)# Include files from /etc/network/interfaces.d:source /etc/network/interfaces.d/*auto loiface lo inet loopbackiface eth0 inet staticaddress 192.168.1.20netmask 255.255.255.0dns-nameserver 8.8.8.8
Image

Statistics: Posted by eiger3970 — Fri Jun 14, 2024 9:08 am



Viewing all articles
Browse latest Browse all 5035

Trending Articles