12

I have a samba shared folder that I use to share files between my pc and another windows pc on my local network. That folder will be unreachable from the windows PC until I ping it's IP address, then it'll be reachable.

The same happens for KDE Connect. My phone will be unreachable until I ping it's IP address, then KDE Connect is usable.

I'm on Ubuntu 22.04.3 LTS. I'm using KDE Plasma 5.24.7. I'm using UFW for my firewall. I've run "sudo ufw allow samba" to allow for samba to work on the local network. I have a TP-Link Router, the AX1800.

How do I solve this issue? I can think of a workaround using cron to ping the devices I need to ping, but I feel like there has to be a better solution.

Thank you!

top 4 comments
sorted by: hot top controversial new old
[-] 4am@lemm.ee 5 points 8 months ago* (last edited 8 months ago)

Sounds like an IP address conflict. Did you configure a static IP?

What happens is that ARP tables jump back and forth to the last known MAC (Media Access Control address, what WiFi/Ethernet use as a device identifier) that a packet from the IP address originated from. (*in some OSes, under typical/default conditions)

Check that your samba box doesn’t have the same IP address as something else on the network; sounds like they’re fighting over it.

[-] Justinianx74@lemmy.world 2 points 8 months ago

I forgot to configure the static IP on the router. Thank you so much!

[-] voracitude@lemmy.world 4 points 8 months ago

Do you have power settings on any of your devices that put the NIC to sleep or into standby?

[-] Justinianx74@lemmy.world 1 points 8 months ago

Not to my knowledge. My computer is set to stay on indefinitely. The screen doesn't even turn off unless I shut down the PC.

this post was submitted on 15 Feb 2024
12 points (100.0% liked)

Linux 101 stuff. Questions are encouraged, noobs are welcome!

1041 readers
1 users here now

Linux introductions, tips and tutorials. Questions are encouraged. Any distro, any platform! Explicitly noob-friendly.

founded 1 year ago
MODERATORS