and tank you in andvantage for any suggestion,
I hve ubuntu server (20.04) on lan, but I can access to it (ssh or web-server apache) from other pc (windows 10) only if I do a ping from server to client (ubuntu must ping windows).
I read this post, and I tried suggested solutions:
- tried changing ip
- tiend to clear ARP cache on router
- tried to add static ip with /24 netmask.
My netplan configuration is the following:
# This is the network config written by 'subiquity'
network:
version: 2
wifis:
wlp1s0:
access-points:
MYNETWORK-ID:
password: MY-PASSWORK
dhcp4: true
I tried also to set a static ip from router, but also in this case I must ping from server to client before having ssh access to it.
Why this? and.. how to fix it?
note: i installed wpasupplicant.
note: i have to netplan files in my distro:
- 00-installer-config-wifi.yaml
- 00-installer-config.yaml (for ethernet)
I leaved both of them also if I changed only first.
wifi perfectly works every reboot (after ping).
EDIT:
I tried, as suggested by Zarh Kasparian, to add MAC adress to netplan config file:
# This is the network config written by 'subiquity'
network:
version: 2
wifis:
wlp1s0:
access-points:
MYNETWORK-ID:
password: MYPASSWORD
addresses:
- 192.168.1.110/24
macaddress: 80:a5:89:ad:85:0f
dhcp4: true
gateway4: 192.168.1.1
nameservers:
addresses: [8.8.8.8, 1.1.1.1]
Problem still not fixed..
any help?