The officially official Devuan Forum!

You are not logged in.

#1076 Re: ARM Builds » sshd via wlan0 only if ethernet cable is plugged - otherwise no sshd » 2021-01-28 01:07:55

I can imagine at least one scenario where the reported behaviour would be a natural consequence: namely  when there are 2 different IP networks over a single Ethernet (broadcast) network

  • the one IP network that includes your Fritz!Box as well as the eth0 interface of Pi4, and

  • another IP network for the wlan0 interface of Pi4, visible to Fritz!Box via the wireless router's routing.

  • the router bridges the networks into a single Ethernet broadcast network

That setup could explain the observations that an ssh connection targeting the wlan0 interface IP requires the eth0 cable in place, as well as that wlan0 appears for nmap from Fritz!Box but without services if the cable is disconnected.

The issue concerns the return traffic: i.e., the network packets that should go back from sshd to the Fritz!Box IP.

I'm then postulating that your wlan0 configuration does not have any route management, and that therefore Pi4 does not know how to send packets to the Fritz!Box IP unless the eth0 cable is connected.

The eth0 configuration as shown results in both a "network route" for the network of eth0 and (most likely) a "default route" as well through eth0. The wlan0 configuration (not shown) at a guess only resluts in a "network route" for the wlan0 network. Thus, without the cable, the Pi4 does not know where to send IP packets other than those of the wlan0 network.

If that's not your scenarion the issue would probably still be the routing and the way the routing table is manipulated when a cable is disconnected (and connected).

The solution would be to ensure that the routing table is managed appropriately for the 4 different setups: (with or without) * (eth0 or wlan0)

#1078 Re: Hardware & System Configuration » [SOLVED] Realtek r8153 USB-RJ45 » 2021-01-18 22:47:20

Something can intercept/block RX packet from a working usb/ethernet device fo reach the kernel ?

The DHCP set up is done by a dhcp client program, and not "the kernel". That dhcp program is typically run by a network management subsystem.

Which network managment are you using?

What's the output of pgrep -a dhcp ?

Do you have a firewall set up?

#1080 Re: Hardware & System Configuration » [SOLVED] Realtek r8153 USB-RJ45 » 2021-01-16 14:53:02

Would you mind drop the outputs of two commands:

# ls /sys/class/net
# ip link

That should provide exact information of the link level, and possibly point to where a problem might be.

#1081 Re: Installation » [SOLVED] Devuan XFCE autologin » 2021-01-13 21:36:24

Btw, are you sure you are using lightdm and not slim which is the default in Devuan ?

If the latter, you'll rather need to edit /etc/slim.conf to have default_user and auto_login set up.

#1082 Re: Installation » SOLVED: Devuan's "systemctl daemon-reload" » 2021-01-13 21:30:01

Yes, "crickets" is a meaningful outcome. The follow-on testing would be

a) try running /usr/sbin/expressvpnd as root (I failed to highlight that before). 

Then b) look into the end of the file /var/log/syslog for traces of that run; esp. if there is anything near a good statement of why it is failing. In particular, if it's an apparmor issue, then it would show up there I think.

Also b2), check whether there might be a dedicated log file for expressvpn in /var/log.

#1083 Re: Installation » [SOLVED] Devuan XFCE autologin » 2021-01-12 20:48:47

Perhaps it should say [SeatDefaults] rather than [Seat:*] ?

#1084 Re: Installation » SOLVED: Devuan's "systemctl daemon-reload" » 2021-01-11 23:33:48

The init script you installed is fine, but there is obviously a problem for the expressvpnd daemon program.

Try running /usr/sbin/expressvpnd from the command line; it may tell you why it fails to start.

Perhaps you are using apparmor restrictively and it needs some permissions set up?

#1085 Re: Other Issues » ceres is not upgrading any packages » 2021-01-11 23:06:18

Thanks. I'm not sure if or where there is a problem, but a prompt like this is useful for the repo admins. I do know that there has been some recent amprolla improvement attempts, and perhaps they have "back-fired"... Keep checking.

#1086 Re: Hardware & System Configuration » Realtek Bluetooth 5.0 usb dongle firmware » 2021-01-08 00:32:20

When setting up a bluetooth speaker it got set up as a USB device, and I had to manually chwon /dev/bus/usb/001/002  to me in order gain access to it; maybe you have the same issue?

#1088 Re: Desktop and Multimedia » E233: cannot open display » 2020-12-09 10:21:07

Yeah, I've read many threads here and still haven't worked out any regular formula for when "advice to search" is administered.

There obviosuly should be a constent rule for it as otherwise any poster might feel left out or fingered; especially those that do search first and don't get any credit for that, as well as those who don't search first and thus suffer an amount of face loss.

#1089 Re: Other Issues » dpkg database is locked, can't proceed with installation » 2020-11-09 06:41:31

Looks like an install script bug at /usr/lib/fheroes2-pkg/b-i_fheroes2.sh:20

Change that line to be

echo # dpkg -i /dev/zero 2>/dev/null

to make it build more happily.

#1090 Re: Other Issues » emacs diary syntax » 2020-11-06 21:46:12

I don't use this feature myself, but I have a private stash of useful information. Esp, some "random documentation" that says (far down):

.... If the month is t, the entry applies to all months of the year.

That is, the entry would then look like the following

&%%(diary-float t 4 2) time for my shower

Perhaps that works?

#1091 Re: Installation » Sources.list ascii-backports question » 2020-11-03 20:58:54

Yes.

As you see wth apt policy wine, the backports version(s) have priority 100 which is less than the 500 of the version(s) currently installed. That 100 is the default priority for backports on the basis that they should not be installed unless explicitly asked for or being an update of what is currently installed. As is, the 500 of the currently installed version(s) win.

You as @rolfie says probably want to leave the priorities like that, and just install manually, with

apt-get install --no-install-recommends -t ascii-backports wine

The -t ascii-backports part tells apt-get to for sure install the nominated package and its dependencies from ascii-backports as if it had priority 1000 (or something above 500).

If later ascii-backports gets another, newer version, the installed version will be an unsupported version at priority 100, and therefore a plain upgrade will result in it being upgraded.

#1092 Re: Devuan » What happened to package search at pkginfo.devuan.org ? » 2020-10-24 00:28:46

Perhaps this was due to the service pkginfo.devuan.org not being available on ipv6, which now it is.

#1093 Re: Desktop and Multimedia » Sony Camera not recognized » 2020-10-16 03:06:58

ok ... seems to lead out of my comfort zone. The product id (0x094b) is not listed in http://www.linux-usb.org/usb.ids, and afaict it's also not among the entries for libmtp (http://libmtp.sourceforge.net/).

So it appears that making it work is slightly more than plug-n-play. I'm not aware of any possible shortcut, but maybe someone else knows better.

#1094 Re: Desktop and Multimedia » Sony Camera not recognized » 2020-10-14 20:44:46

That device, 054c:094b, does not appear to yet be listed among known devices, but it might work by identifying it explicitly for jmtpfs, i.e. if your mount point is /media/camera you'd use:

jmptfs -d 001,003 /media/camera

#1095 Re: Desktop and Multimedia » Sony Camera not recognized » 2020-10-14 14:36:06

Perhaps it needs exfat-fuse (and maybe exfat-utils) whcih I don't think are installed by default.

#1098 Re: Installation » arptables » 2020-10-05 01:49:26

@bbatten: iptables on beowulf (or buster, really) doesn't require arptables or ebtables, but it recommends nftables.

Upon installation, it gets set up to use the iptables-nft alternative implementation and then it provides syntax transparency via /usr/sbin/xtables-nft-multi so as to use the "traditional" iptables rules language for manipulating and reviewing the rules.

It also gives you the option to change it to use the iptables-legacy implementation through update-alternatives.

Doesn't that work for you?

#1099 Re: Installation » arptables » 2020-09-30 21:20:03

You might also want to reinstall iptables without nftables; perhaps something like

# apt-get install --reinstall nftables- iptables

That should give you a set up that allows the "normal" iptables rules.

Board footer

Forum Software