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

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

1063 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
 

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!

you are viewing a single comment's thread
view the rest of the comments
[–] 4am@lemm.ee 1 points 9 months ago* (last edited 9 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.