05-22-2024, 10:09 PM
(05-22-2024, 09:44 PM)Tim Curtis Wrote: Your post is missing the lines for [ipv4] section which would contain the ip address info.
Here's some screen shots from a quick test. Static ip address, internet radio playing, etc.
Code:pi@moode9:~ $ sudo cat /etc/NetworkManager/system-connections/AirnetN5.nmconnection
#########################################
# This file is managed by moOde
# Wireless: Configured SSID
#########################################
[connection]
id=AirnetN5
uuid=46850510-1c32-40ea-8113-c266d90b804e
type=wifi
interface-name=wlan0
autoconnect=true
autoconnect-priority=100
[wifi]
mode=infrastructure
ssid=AirnetN5
hidden=false
[wifi-security]
key-mgmt=wpa-psk
psk=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[ipv4]
method=manual
address1=192.168.1.251/24
gateway=192.168.1.1
dns=192.168.1.1
[ipv6]
addr-gen-mode=default
method=auto
pi@moode9:~ $
I really can't understand it all seems the same, but as you can see it doesn't connect to the internet.
#########################################
# This file is managed by moOde
# Wireless: Configured SSID
#########################################
[connection]
id=BlackHole
uuid=e3327a39-df8f-477b-8565-1b4c15d014b7
type=wifi
interface-name=wlan0
autoconnect=true
autoconnect-priority=100
[wifi]
mode=infrastructure
ssid=BlackHole
hidden=false
[wifi-security]
key-mgmt=wpa-psk
psk=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[ipv4]
method=manual
address1=192.168.1.203/24
gateway=192.168.1.1
dns=8.8.8.8,8.8.4.4
[ipv6]
addr-gen-mode=default
method=auto