This printer was working before, not anymore after fresh install. Forgot what I did before to make it work.
after setting up every driver and software I could find, my Laserjet 5000n connected to my Ethernet adapter refuses to ping. I have verified the printer has a static ip address.
but thanks to a user on the Manjaro forum I was able to get insight on the realtek ethernet adaptor:
after running nmcli:
enp3s0: disconnected "Realtek RTL8111/8168/8411" ethernet (r8169), 44:8A:5B:9A:02:DE, hw, mtu 1500
after installing and running arp-scan:
WARNING: Could not obtain IP address for interface enp3s0. Using 0.0.0.0 for the source address, which may not be what you want. Either configure enp3s0 with an IP address, or manually specify the address with the --arpspa option. Interface: enp3s0, type: EN10MB, MAC: 44:8a:5b:9a:02:de, IPv4: (none) ERROR: Could not obtain interface IP address and netmask ERROR: pcap_lookupnet: enp3s0: no IPv4 address assigned
My Laserjet 5000n by HP uses JetDirect and I have a Realtek Ethernet adapter built into a MSI motherboard.
I tried creating a new network connection for Ethernet, but Manjaro thinks I want to use it for my internet connection and apparently lets me either use the printer or my other wired internet adaptor, but not both. If I select Ethernet for my internet connection, I’m able to print. But I can’t use Firefox for example. That’s because the only way I could give the ethernet device a static ip was through the network configuration app. If I use the internet, the printer stops working, if I use the printer, the internet stops working.
CUPS, KDE add-printer, or HP device setup can’t get anywhere until the Ethernet adaptor is seen as a local network connection to the printer. They’re all agnostic to the configuration of the ethernet adaptor itself. In system settings, I recognized no other option for giving the ethernet adaptor an ip other than designating it as an internet connection to be chosen from. I do not want that.
Is there a best practice for setting up a computer on a fresh install to allow the ethernet port to be connected directly to a printer?
arp-scan suggests to configure the ethernet device with an IP address. I’d like to do that, but the only option I found in Manjaro is to set up ethernet as an internet connection. And even if I wanted to add an arbitrary static ip under ‘ipv4’ and ‘manual’ it is not clear where to put such a static ip in the settings interface, or what ip, subnet, gateway I should enter.
the printer has a subnet of 255.255.255.0 and two more numbers (presumably gateways) of 0.0.0.0
The printer worked 2 days ago, and i can print now, but only if i set up a network and connect to it, at which point my regular internet connection is automatically shut off.
other info about the Realtek ethernet adapter from the output of ‘ip addr show’:
enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 44:8a:5b:9a:02:de brd ff:ff:ff:ff:ff:ff