You are not logged in.
Pages: 1
@g4sra, once again and for the final time the network is not and never has been the problem, the MISSING MODULES are the problem!
@stargate-sg1-cheyenne -(mountain?), nothing in the least Rube Goldberg about it. It might be good humor to you but I did not come here to be entertained, mate. I have a problem that I need solved and so far nobody has offered anything that in the slightest way helps. Just a bunch of jibber-jabber, no offense intended.
Since it is clear that I'm going to have to do this myself back to something in the original post. Any software that is distributed under the GPL 2 license MUST provide the source and the build environment when requested. I am formally requesting it from anybody in this non-official community that can provide it. If it is in a git repository server I only need read access.
My network works perfectly as is. The only problem I have is two missing modules that prevent the usbpl module from working. Currently the only NFS server in use is my home server. This server has most of my home directory files on it so that any computer in my house (I have more than a few) has access to these files through a dedicated NFS network and network interface card that connects to the other computers and the home NFS server through a switch. My internet connection to these computers uses its own network and network card that connects to the other computers and the internet modem through a different switch. I also have a laptop which I need to be able to access the same files using a dedicated NFS network and network adapter when I am (home server), and am not (portable server) at home. So I have built a portable NFS server for my laptop for when I am not at home using a Raspberry Pi 5 that will provide it access to the same NFS network files using the same NFS network configuration as it uses when it is connected to the home server. These files will be modified sometimes on the road, mostly at home so the servers need to be synchronized regularly, probably using a bash script for the UI and rsync to do the heavy lifting. I use a similar program on my home server to back up the NFS server's hard drive to an external hard drive (eSATA) every night. The only time the laptop will be connected to both servers at the same time is when they need to be synchronized to each other. But when they are connected for synchronization I do not want the connection to the home server to use the NFS network because both servers use the same IP address. Using the same IP address on both NFS servers allows the laptop to "just connect" to either server for normal use. However it also means they can not be connected to the NFS network at the same time without changing one of the server's IP address to prevent a conflict. I want to use a third network that uses a USB-3 "transfer cable" mainly because I don't have to add any hardware to the home server or the laptop (they both have USB-3 ports) and I already have the transfer cable. With all three of the kernel modules needed it presents itself as a network interface (usb0) but two of the three modules needed to make it work are not available and the one that is available won't work without the other two.
Thanks for your reply. There are a couple of problems with this. There would be a conflict with the NFS servers' IP addresses because both use the same IP address. This allows my laptop to connect to either of them when needed without having to flip the NFS server IP address back and forth on the laptop. It would also require the laptop to connect to both NFS servers at the same time which looks to be possible but that would again require flipping an Ethernet configuration I normally use to connect to the Internet to the NFS network and back. The NFS (static IP) and Internet (dhcp) networks each have their own Gb network hardware and the Internet configuration would have to be changed back and forth to make that work. A second alternative would be to connect the two NFS servers to each other which I think would mean one would have to be reconfigured as a NFS client while the files are synchronized and then flipped back to a server for normal use. The laptop does not have a built in Ethernet interface, the hardware for both is provided by two USB-3 to Gb Ethernet adapters so a separate connection using the USB-3 transfer cable only when needed would actually simplify things. The modules I need already exist and could easily be compiled when the rest of the kernel and modules are compiled. In an interesting turn I checked the current version of Raspberry Pi OS which uses a 6.12.47 kernel (close enough?) to see if I could use their modules but they were not available there either, usbpl was. As far as I can tell there is no reason to compile and include the ubspl module without them.
First, I would very much like to thank the person/persons that finally upgraded Devuan to aarch64 for the Raspberry Pi 4 and 5. I have a portable NFS server project using the Pi 5 that has been on the back burner for over three months as I looked for a good light weight Devuan aarch64 replacement that did not use systemd. After trying a couple of other distros I had finally settled on Void Linux but having to deal with the a new package handler that has a couple of annoying quirks, learning runit, and having problems getting the network interfaces properly configured at boot was taking much longer than I wanted. Anyway I really wanted to use Devuan because I have been using it since it was first available and Debian for several years before that and I knew how to get my project configured and working quickly with it. So when I recently found the updated versions of Devuan I immediately downloaded them and quickly got everything but a USB-3 transfer cable working. I need this cable to synchronize the portable NFS server with my home NFS server and using a regular Ethernet connection causes problems with a IP addressing conflict. To test it I am using a AMD 1500X computer using Devuan of course which has the transfer cable showing up as usb0 in ifconfig output. It is not however showing up on the portable NFS server. First guess that it might be a module problem was confirmed by a quick comparison of the modules list that showed two USB modules, usbcore and usbnet, were missing from the Pi 5 Devuan module list and insmod error messages said they could not be found. I could attempt to build them myself although I would much prefer not to but I can't find the kernel source or build instructions for this release. Both of these are supposed to be provided when requested by the GNU GPL 2 license but there is absolutely no mention of how to get them that I can find. Like I said I would much prefer to just get the pre-compiled modules but I am willing to go the hard route if I have to and share the results when built and working.
I really need to get this project finished and getting this close and then being stopped dead by this is very annoying. Any help would be greatly appreciated. Thanks.
Success!, THANK YOU!
Thanks once again, How did I miss that? OK, now it's this (sometimes It just doesn't want to work!):
:~# xrandr --output HDMI-A-0 --auto --right-of eDP
Can't open display
I tried rebooting and then running the command and it did the same thing.
Thanks for the reply. I seem to be on the right track but a problem has cropped up. Here is the output from xrandr and the command you suggested:
:~$ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
1920x1080 59.98*+ 39.98
1680x1050 59.98
1280x1024 59.98
1440x900 59.98
1280x800 59.98
1280x720 59.98
1024x768 59.98
800x600 59.98
640x480 59.98
HDMI-A-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 458mm x 258mm
1920x1080 60.00*+
1680x1050 59.88
1600x900 60.00
1280x1024 60.02
1440x900 59.90
1280x800 59.91
1280x720 60.00
1024x768 60.00
800x600 60.32
640x480 59.94
720x400 70.08
:~$ xrandr --output HDMI-A-0 --auto --right-of "Screen 0:"
xrandr: cannot find output "Screen 0:"
:~$ xrandr --output HDMI-A-0 --auto --right-of Screen 0:
xrandr: unrecognized option '0:'
Try 'xrandr --help' for more information.
:~$ xrandr --output HDMI-A-0 --auto --right-of Screen
xrandr: cannot find output "Screen"
:~$ xrandr --output HDMI-A-0 --auto --right-of "Screen 0"
xrandr: cannot find output "Screen 0"
Any ideas?
You are right. I have upgraded to Chimeara using Xfce. As stated the second display is detected and I have attempted to set it up but there does not appear to be an option to do what I want to do. I have tried a couple of options with no success.
I have a HP Ryzen 7 laptop with HDMI output and I would like to use the second monitor as an extension of the laptop screen giving me a 3840 x 1080 display. The second monitor is detected but simply displays the same thing as the laptop monitor. Is there any setup configuration or any other way to make this work?
After writing my last reply I just decided to upgrade to Devuan Chimaera which was something I was thinking about doing anyway. I was reluctant to "rock the boat" until I was more certain that the new release would not cause any problems especially during the upgrade and I am pretty much there now as I have already upgraded another computer to it and it went very well. Thanks again.
Thanks for the reply. I will look into that but if it is not there now it was also not there when it was working. This was not a new install, the SATA SSD I'm trying to boot from now is exactly the same one it was working with before. And before I tried to boot from it again I ran e2fsck on all the partitions on that drive booting it from a hard drive I use with by motherboard test stand and there were no errors. That is the really frustrating part, I've done very similar things before with no problems so it should have just worked. The other thing that is very odd is that I can enter in text at the log in prompt from the same SATA SSD drive when a graphics card and keyboard is installed using the original install inittab that was saved before I modified it to boot from the serial terminal.
I have a problem at the serial terminal log in prompt that I have tried everything I know to try to fix it with no results. The computer is an NFS server that was using an older motherboard that started emitting burning down the house smells and had to be shut down. It was/will be running Devuan Beowulf with a 4.19.0-18 kernel and fully working serial terminal when it was shut down. Before doing anything else I installed the new motherboard changing nothing else and booted it using a drive I use for testing also running Devuan Beowulf, ran e2fsck on all partitions on the NFS server drive with no errors found. After replacing the motherboard it will no longer accept input from the serial terminal at the log in prompt. The GRUB boot screen will accept input from the serial terminal and I have also rechecked the serial hardware using minicom just to be sure.
After verifying the hardware I checked the inittab and securetty files and they were correct. I then upgraded 2 packages and reinstalled the kernel image (it does work with a graphics card and keyboard installed) with no effect. I have also noticed that there are no periodic disk accesses happening so it looks like the kernel may be hanging up after the log in prompt. So I am now looking for some solutions short of reinstalling Devuan.
Thanks.
I finally got back to trying using interface names other than ethN and it does indeed fix the problem I was seeing. Thanks !
Here are the details:
This is the new setup in the 70-persistent-net.rules file
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:01:29:d3:0f:01", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="ethr0"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="04:4b:80:08:80:03", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="ethr1"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:15:e9:bd:1c:b7", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="ethr2"
and this is the new /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug ethr1
iface ethr1 inet dhcp
# The distributed compile/cluster network interface
allow-hotplug ethr0
iface ethr0 inet static
address 192.168.10.109
netmask 255.255.255.0
# The first test interface
allow-hotplug ethr2
iface ethr2 inet static
address 192.168.69.96
netmask 255.255.255.0
and the network interfaces wired interface name in wicd preferences was changed to ethr1
Thank you both for your replies.
I should have been a little clearer with my description of the problem. This computer
is also used to test hardware. eth0 and eth1 (always present on the motherboard) swap
names when the eth2 card is inserted into a PCI slot to test it. When I used
70-persistent-net.rules with (pre-systemd) Debian this did not happen and I got the
persistent net names I wanted which is, as I understand it what 70-persistent-net.rules
was for. I'm not sure if they swap back when eth2 is removed. I had a new
problem with my test setup, my ISP overriding ping addresses, so it got a little
hectic as I had to spend time finding a fix for a previously working test setup.
In the process of searching for answers to this problem I found out that systemd
programmers are now responsible for udev and that eudev is a Gentoo fork of the
earlier udev. It does not seem to work like it use to when it comes to persistent
net names.
I tried @fsmithred's idea and as far as I could tell it made no difference even with
the "bus addresses" being fixed on eth0 and eth1 and with eth2 in the same PCI slot
through both reset and power sequence events.
I would like to be able to force which network interface name is used for a particular
hardware interface to maintain consistent network interface names across multiple
computers with multiple Ethernet interfaces in my distributed compile/cluster setup
and of course on the test computer. From your response it looks like using my own
naming convention is the best (OK, easiest) route. This computer has been moved
off of my test bench while I try to install Devuan on my first UEFI motherboard so it
will be a while before I can try it.
How can I get persistent net interface names on multiple network interfaces? I am using the wicd network manager on my primary network interface and it is the only
one configured in wicd.
When I tried using a hand generated /etc/udev/rules.d/70-persistent-net.rules file I get these error messages during boot:
Waiting for /dev to be fully populated...
[...] udevd[397]: Error changing net interface name eth2 to eth1: File exists
[...] udevd[395]: Error changing net interface name eth1 to eth0: File exists
[...] udevd[393]: Error changing net interface name eth0 to eth2: File exists
This is the setup in the 70-persistent-net.rules file:
UBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:01:29:d3:0f:01", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="04:4b:80:08:80:03", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:15:e9:bd:1c:b7", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"
and this is the /etc/network/interfaces file:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth1
iface eth1 inet dhcp
# The distributed compile/cluster network interface
allow-hotplug eth0
iface eth0 inet static
address 192.168.10.109
netmask 255.255.255.0
# The first test interface
allow-hotplug eth2
iface eth2 inet static
address 192.168.69.96
netmask 255.255.255.0
and this is what ifconfig reports:
root@testy123:# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.10.109 netmask 255.255.255.0 broadcast 192.168.10.255
inet6 2605:6001:e20b:9400:215:e9ff:febd:1cb7 prefixlen 64 scopeid 0x0<global>
inet6 fe80::215:e9ff:febd:1cb7 prefixlen 64 scopeid 0x20<link>
ether 00:15:e9:bd:1c:b7 txqueuelen 1000 (Ethernet)
RX packets 146 bytes 15152 (14.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 7 bytes 606 (606.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 18
eth1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 00:01:29:d3:0f:61 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 18
eth2: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.69.96 netmask 255.255.255.0 broadcast 192.168.69.255
ether 04:4b:80:08:80:03 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Local Loopback)
RX packets 8 bytes 480 (480.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8 bytes 480 (480.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
All of the searches I've googled come up with systemd related responses. I've also scanned and searched this forum and could not find any that helped although a couple of them addressed related problems.
Pages: 1