The officially official Devuan Forum!

You are not logged in.

#1 2025-07-02 19:27:26

nuclearkev
Member
Registered: 2025-07-02
Posts: 3  

Unable to connect to devuan laptop server on local network

Hi all,

I've run into a issue with my current Devuan install on my laptop. When trying to use a program called "qrcp" I found that I was unable to connect to the server that was created in order to do the file transfer. I did a little testing and if I spin up an nginx server, I have the same issue. I also found that I am unable to ping the address of the laptop as well. After even more digging I found that there were certain machines that I was unable to ping _from_ the devuan laptop (making the request while on the laptop pinging outward) namely my actual home server, my phone, and my TVs but I was able to ping everything else.

I've checked for firewalls, iptables, subnet issues, tried joining to different wifis, etc. but nothing seems to fix this issue. Does anyone have any idea what could be causing this?

PS: I do have internet connection although I recently broke NetworkManager in the process of debugging... xD

Offline

#2 Yesterday 02:13:12

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,414  

Re: Unable to connect to devuan laptop server on local network

Does the router isolate between wireless hosts and wired hosts?

Offline

#3 Yesterday 14:13:12

nuclearkev
Member
Registered: 2025-07-02
Posts: 3  

Re: Unable to connect to devuan laptop server on local network

Nope, if I boot into a liveCD I can ping and ssh to the server without a problem. I haven't tried starting up a server on the livecd, however.

Offline

#4 Yesterday 16:24:03

chris2be8
Member
Registered: 2018-08-11
Posts: 332  

Re: Unable to connect to devuan laptop server on local network

Here are a few thing to check:

How are the systems connected to your network?
If any systems are connected wirelessly check they are connected to *your* router, not one belonging to a neightbour. That has been known.
If the laptop also has an ethernet port try connecting it to your router with an ethernet cable. Does that change the symptoms?

What are the symptoms of ping not working? Replace target with the name of the system you are trying to reach below (server, laptop, etc):
host target - does this return the servers IP address?
traceroute target - how many hops away is the server?
ping target - what does it say?
ssh -v target - some systems don't respond to ping but will allow a ssh connection. The -v will make ssh show how far it gets.

I hope that gives you some help.

Offline

#5 Yesterday 17:06:33

nuclearkev
Member
Registered: 2025-07-02
Posts: 3  

Re: Unable to connect to devuan laptop server on local network

host target - does this return the servers IP address?
traceroute target - how many hops away is the server?
ping target - what does it say?
ssh -v target - some systems don't respond to ping but will allow a ssh connection. The -v will make ssh show how far it gets.

$ host 192.168.1.4
Host 4.1.168.192.in-addr.arpa. not found: 3(NXDOMAIN)
$ traceroute 192.168.1.4
traceroute to 192.168.1.4 (192.168.1.4), 30 hops max, 60 byte packets
 1  * * *
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *
$ ping 192.168.1.4
PING 192.168.1.4 (192.168.1.4) 56(84) bytes of data.

`ping` never stops...

$ ssh -v samba@192.168.1.4
OpenSSH_9.2p1 Debian-2+deb12u6, OpenSSL 3.0.16 11 Feb 2025
debug1: Reading configuration data /home/kev/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug1: Connecting to 192.168.1.4 [192.168.1.4] port 22.
debug1: connect to address 192.168.1.4 port 22: Connection timed out
ssh: connect to host 192.168.1.4 port 22: Connection timed out

When I run those on a computer that can connect to the server obvious ping gets a response in like 12ms, traceroute returns something immediately, and ssh asks for the password. The only one that is the same is when I use `host'. I get the same response.

Offline

#6 Yesterday 22:28:14

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,414  

Re: Unable to connect to devuan laptop server on local network

Yes it sounds like the installation (not liveCD) has something wrong.

Does it have a firewall? e.g. does iptables-save report something; (or if you use nftables there would be a similar command among its programs). And use ip6tables-save for ipv6 rules. (I'm not sure about the nftables commands)

Is the interface up? ifconfig wlan0 would be the easiest, if you have net-tools installed. An you'd also check with ip link show dev wlan0 and ip address show dev wlan0. The ip command comes from the iproute2 package.

Is there a default route? ip route show ... and checking ipv6: ip -6 route show

Hmm but if understand right, the laptop does have other internet access... anyhow, please include the outputs of those commands and we'll see if there's something to see there.

Offline

Board footer