The officially official Devuan Forum!

You are not logged in.

#1 Re: Installation » (Solved) Unable to install GRUB » 2020-05-25 10:52:58

@Job

some older computers have an issue with grub2 with the booting files go onto a partion larger than 8G

If you think this might affect you....use a live cd/Devuan to run gparted

create primary partitions
sda1 100 Mb  for /boot
sda2  (say) 8G for swap
sda3 for balance (/)

then try installer again and see if it works.....if above solutions do not work for you

ref
https://www.gnu.org/software/grub/manual/grub/grub.html
section=Support Logical Block Address mode

#2 Re: Other Issues » [Ceres] kernel 5.5.0-2: sound problem » 2020-04-25 01:34:55

Hi

sorry for late reply.

vlc tends to use "default" as the default audio device on next boot up.
If vlc was using pulseaudio then that is what default is....ditto if you used alsa...that is what default is.
Can you try

vlc -> Tools -> Preferences -> Select Audio TAB  -> pulldown output and choose Alsa
pulldown device and choose the analog device....I am not sure what your choices are but mine have alsa, surround sound and hdmi
click save
and retest sound

#4 Re: Other Issues » [Ceres] kernel 5.5.0-2: sound problem » 2020-04-21 13:35:25

Hi

Not using that variant but until you get a better reply....maybe firefox run from a terminal might show some errors?

If none seen....and if you don't mind a little bit of logging into sites
delete the
.cache/mozilla
.mozilla

in case stale files are interfering?

#5 Other Issues » [SOLVED] setting up sakura terminal with a new conf » 2020-04-15 10:10:17

aus9
Replies: 0

Hi

If you install sakura from the repos....you may not get a home config
or the home config you get may not be quite what you were expecting.

First I installed this conf file to $HOME./config/sakura/
https://raw.githubusercontent.com/arcan … akura.conf

Then I changed the font line to

font= Dejavu Sans Mono 16

and if interested the reason for the font change is the default font "merged" characters together.
but not with my font change. YMMV

if interested a screenshot
https://imgur.com/TqZM1lW

In case its not clear from the config file....the keyboard combinations use Ctrl + Shift not a meta key etc

so add a tab converts to C+S+t

toggle off/on scrollbar with C+S + s

good luck

#6 Re: Devuan » Why are pulseaudio files present in Devuan? » 2020-04-15 02:02:09

@czeekaj

I do not need gimp....I get by with mtpaint if interested.

apt info mtpaint
Package: mtpaint
Version: 3.40-3+b1
Priority: optional
Section: graphics
Source: mtpaint (3.40-3)
Maintainer: Muammar El Khatib <muammar@debian.org>
Installed-Size: 1,782 kB
Depends: libatk1.0-0 (>= 1.12.4), libc6 (>= 2.14), libcairo2
 (>= 1.2.4), libfontconfig1 (>= 2.11), libfreetype6 (>= 2.2.1), 
libgdk-pixbuf2.0-0 (>= 2.22.0), libgif7 (>= 5.1), libglib2.0-0 
(>= 2.31.8), libgtk2.0-0 (>= 2.24.0), libjpeg62-turbo (>= 1.3.1),
 libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), 
libpangoft2-1.0-0 (>= 1.14.0), libpng16-16 (>= 1.6.2-1), 
libtiff5 (>= 4.0.3), libx11-6, zlib1g (>= 1:1.2.0), gtklp
Homepage: http://mtpaint.sourceforge.net/
Tag: field::arts, interface::graphical, interface::x11, role::program,
 scope::application, uitoolkit::gtk, use::editing,
 works-with-format::TODO, works-with-format::gif,
 works-with-format::jpg, works-with-format::png,
 works-with-format::tiff, works-with::image, works-with::image:raster,
 x11::application
Download-Size: 521 kB
APT-Manual-Installed: yes
APT-Sources: http://deb.devuan.org/merged beowulf/main amd64 Packages
Description: painting program to create pixel art and manipulate digital photos

#7 Re: Other Issues » Strange thing appearing during boot » 2020-04-12 23:00:50

fsmithred wrote

You need to enable the non-free repository to get it with apt

Yeah well I did not even an entry for it. Just made one now in /etc/apt/sources.list

deb http://deb.devuan.org/merged beowulf non-free

Maybe....add that line with it commented out for members to easily spot....
In the next test release?

either in above file or a file under /etc/apt/sources.list.d/

cheers

#8 Re: Other Issues » Strange thing appearing during boot » 2020-04-12 13:29:24

We know you have the 9377 WLAN device, so if you do wish to pursue that it will need a firmware file and
I can not find it in Devuan at the moment.

I did find
https://packages.debian.org/buster/firmware-atheros
which contains those fw files

#9 Re: Other Issues » Strange thing appearing during boot » 2020-04-12 07:42:10

Hi

until you get a better reply.....are you using that Atheros device for your internet?

if so you may like to run with root powers

modinfo ath10k_pci

you will see some firmware files may be required.

but the list of PCI IDS in that command are misleading. Instead
https://pci-ids.ucw.cz/v2.2/pci.ids might be easier to search for your device.

also as a non-root user....but do not post full output please....just your network device if you have any concerns

lspci -vvv

should show you the details of your device.

2) I assume you are using AMD graphics? if so post

inxi -Gxxx

#10 Re: Installation » Problem with installing tin of all things during 3.0 beta installation » 2020-04-12 07:33:05

I am not in the dev team but can I make some suggestions

1) depending on whether you use sudo or su -, use root powers to

apt update
apt dist-upgrade

and see what happens

2) report what happens with root powers when you run

update-initramfs -u

I show mine
update-initramfs: Generating /boot/initrd.img-4.19.0-8-amd64
I: The initramfs will attempt to resume from /dev/sda2
I: (UUID=string deleted)
I: Set the RESUME variable to override this.
live-boot: core filesystems devices utils udev blockdev dns.

#11 Re: Installation » Beowulf Beta Issues » 2020-04-09 13:27:47

@Dutch_Master writes

snip
installing package with dpkg fails with complaint about missing PATH for root (as root!)

here is the contents of /etc/profile that might assist?

# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).

if [ "`id -u`" -eq 0 ]; then
  PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
else
  PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
fi
export PATH

if [ "${PS1-}" ]; then
  if [ "${BASH-}" ] && [ "$BASH" != "/bin/sh" ]; then
    # The file bash.bashrc already sets the default PS1.
    # PS1='\h:\w\$ '
    if [ -f /etc/bash.bashrc ]; then
      . /etc/bash.bashrc
    fi
  else
    if [ "`id -u`" -eq 0 ]; then
      PS1='# '
    else
      PS1='$ '
    fi
  fi
fi

if [ -d /etc/profile.d ]; then
  for i in /etc/profile.d/*.sh; do
    if [ -r $i ]; then
      . $i
    fi
  done
  unset i
fi

also for others in case they are interested.....there is a note in Devuan 3 Beowulf Release Notes that to get root environment you need to run

su -

and not just su

or post 1
https://dev1galaxy.org/viewtopic.php?pid=20509#p20509

cheers

#12 Re: Desktop and Multimedia » [SOLVED] Legacy Graphics Problem with Beowulf Upgrade » 2020-04-04 08:53:34

HI

I wonder if we are seeing different closed source drivers?

If you have GeForce GT 440....according to my eyesight it might be the 390 series
https://www.nvidia.com/Download/driverR … 3832/en-us
which claims

GeForce 400 Series:

GeForce GTX 480, GeForce GTX 470, GeForce GTX 465, GeForce GTX 460 SE v2, GeForce GTX 460 SE, GeForce GTX 460, GeForce GTS 450, GeForce GT 440, GeForce GT 430, GeForce GT 420

Part 2
If you plan on doing a rebuild.....because it might be too hard etc....
I suggest you create a spare data partition quite large
or have a spare drive if its a tower to have this spare partition.

on a clean install....I then reboot with a live product.
My current one is system rescue cd (flashed as an USB)  as it works well for my AMD graphics and auto boots to root
and I then create a mount point and run fsarchiver.

If you are lazy like me....and forget to make backup of backup....you may need to start again as we are only as good as our last backup.....I am sure you are aware of Murphy's law....or brown stuff happens.

any how if interested here is how I do it

mkdir /z # its a non writeable usb
mount /dev/sda3 /z
# create my first image
fsarchiver savefs /z/a.fsa /dev/sda1 -a

# or restore first image once created
fsarchiver restfs /z/a.fsa id=0,dest=/dev/sda1  # after id its a zero not an OH

Naturally you would change the target partition to write to if you are using an usb stick etc

Good luck

#13 Re: Devuan » Beowulf » 2020-04-04 00:56:32

@bgstack15

so I have different types of issues now.

Then it is more likely  that aplay -l shows your hdmi getting index=0 or card 0. Use a modprobe config file to swap the index

see link if relevant
http://dev1galaxy.org/viewtopic.php?pid=339#p339

there are other ways of swapping index 2....and assumes you need analog sound.

#14 Re: Other Issues » system freeze with non-default 5.5.x kernel(s) » 2020-04-01 01:50:48

Hi

If you have access to a live cd/USB I suggest you try out a xorg setting.
first I used to have an intel VGA but now AMD APU so can not test this myself anymore.

2) on Beowulf we have a confless Xorg system. But hopefully your system  should recognise part conf files.

so you will need powers to create the conf dir.
skip the apt commands if you know you have not deleted any intel drivers

su - 
apt update
apt install xserver-xorg-video-intel

# create dir if missing
[ -d /etc/X11/xorg.conf.d/ ] || mkdir /etc/X11/xorg.conf.d

# create file
echo '## /etc/X11/xorg.conf.d
Section "Device"
	Identifier  "Intel Graphics"
	Driver      "Intel"
	Option      "AccelMethod"  "sna"
        #Option      "AccelMethod"  "uxa"
	Option      "TearFree"	"True"
	Option      "Tiling"	"True"
	Option      "SwapbuffersWait" "True"
EndSection' > /etc/X11/xorg.conf.d/20-intel.conf

Now you have 2 options over full reboot
allegedly you will get graphics and the driver in inxi -Gxxx will change from modesetting to intel

and either graphics will be stable or not
uxa is commented out and you have sna.

if not working too well, try editting with root powers to comment out the first and enable the second as some cards vary.

if you can not get into GUI and do not know how to use nano at console login
then just a live cd/usb, mount the target internal drive and then use root powers to edit that file.

ref
https://gist.github.com/r0xsh/a868e794f … d5b9e743dc

#15 Re: DIY » KISS: a new systemd-free distribution that aims to "keep it simple" » 2020-03-31 08:24:48

GNUser wrote:

Cool! I love distros like this. Thanks for pointing it out.

Tiny Core Linux, which I have grown to really appreciate, has some similarities: SNIP

Extra diff to yours  in the build that appears to say

# Disable stripping (add this only if needed)

https://k1ss.org/package-system

while TC nearly always requires stripping.

*.a *.h *.la *.m4 *.pc -> dev extension (after --strip-debug)
*.so* -> main extension (after --strip-unneeded)

The TC official wiki appears down ATM.
http://wiki.tinycorelinux.net/

IMHO, stripping is better if binaries are uploaded to a server and the user downloads it.
Saving data is important too. And I am in Australia with not so great internet. YMMV

BTW I think I can guess why stripping is disabled, they prefer to get members to run their own debugger which is not possible if binaries are stripped.

#16 Re: News & Announcements » Beowulf Beta is here! » 2020-03-31 02:38:50

to anyone interested in sddm display manager read on.
spoiler alert...I am no longer using sddm see EDIT

I first attempted to install this and choose sddm over slim but unable to login via GUI over reboot.
manual login at tty worked and then startx worked ok.

I then read the notes (I always read and understand notes wink
http://files.devuan.org/devuan_beowulf/ … _notes.txt

Two session management systems are available in Devuan Beowulf:
  - consolekit
- logind (elogind and libpam-elogind)
These session managers are mutually exclusive

so I used root powers to install consolekit first and full reboot and GUI slim login OK
then installed sddm and full reboot and GUI sddm login OK
also without loggng in...but sddm appears....I was able to login with tty2 with localname login and then startx.
#######################################################################
EDIT
above post was made 31 Mar.

I have restored an earlier image (I use fsarchiver images) that uses slim DM because I failed to test usb data stick.

Firstly on my restored image  XFCE settings -> File manager -> Advanced I have enabled volume manager. No need to click image but it claims that gvfs (allegedly gvfs-vbackends) is not installed
but.....usb data sticks mount ok as read write storage.
https://imgur.com/sLNx2st

I have no time to trouble shoot why sddm caused my loss of this feature and
installing gvfs-backends with a full reboot made no difference.

Being impatient to do other things....I am not pursuing this any further but submitting the info in case someone has a similar issue if they migrate off slim DM

Thanks for reading

#17 Re: News & Announcements » Beowulf Beta is here! » 2020-03-31 02:04:30

@chris2be8

Thanks for the ls command. I did a slight mod to keep a list for later comparisons.

lsinitramfs /boot/initrd.img-4.19.0-8-amd64  > /tmp/init-list.txt

Do you know much about the order of processing initrd?

@golinux
I am fairly happy otherwise I would not be here. Need to improve some things tho.

#18 Re: News & Announcements » Beowulf Beta is here! » 2020-03-30 06:41:39

Does anyone think the following might explain my udev slowness for my SSD drive.
eg

Fri Mar 27 00:35:43 2020:   WARNING: Device /dev/sda not initialized in udev database even after waiting 10000000 microseconds.

SSD would appear to use sata controller

lspci -vvv
snip
27:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode]
snip
Kernel driver in use: ahci

We have an initrd and I have finally worked out how to unpack it, if interested a separate post
https://dev1galaxy.org/viewtopic.php?pid=20812#p20812

unpacking it and searching for the kernel module gives me

root@box:/tmp/unpack# find . -name ahci.ko
./usr/lib/modules/4.19.0-8-amd64/kernel/drivers/ata/ahci.ko

My question....does the init process .....have a certain order....if so is it possible the loading of kernel modules is occurring late in the init process?

#19 Re: DIY » the benefits of highlighting console output » 2020-03-30 04:30:48

hi Altoid

I am sure Geoff 42 has a better config. I prefer lxterminal but when I use rxvt I have a home config that looks like this.

cat .Xdefaults 
! rxvt
URxvt*background: Black
URxvt*foreground: White
URxvt*geometry: 117x55
URxvt*scrollBar: true
URxvt*rightScrollBar: true

! -- Fonts -- !
URxvt.font:  xft:dejavu DejaVuSans:size=13:antialias=true
URxvt.letterSpace: -1

that is almost max the window on a monitor with 1920x1080

I stole it from someone else on a different forum.

hope that helps

#20 Other Issues » [SOLVED]How do I unpack our intrd.img » 2020-03-30 03:21:43

aus9
Replies: 2

Hi

I want to do some exploring of our initrd.img

I found a simple command that appeared to work but it only unpacks microcode

eg  all commands done as root

cp /boot/initrd.img-4.19.0-8-amd64 /tmp
cd /tmp
cpio -i -F initrd.img*
ls -al (culling older timestamps) 
kernel 

and the kernel has sub dirs to lead to your amd or intel or both microcodes.

I am aware that we have a file as follows

file initrd.img-4.19.0-8-amd64 
initrd.img-4.19.0-8-amd64: ASCII cpio archive (SVR4 with no CRC)

I found a hit after changing my search to ask why I could only see a kernel  got this
https://unix.stackexchange.com/question … ely-kernel

new root commands

mkdir /tmp/unpack
cp /boot/initrd.img-4.19.0-8-amd64 /tmp/unpack
cd /tmp/unpack
(cpio -id; zcat | cpio -id) < initrd.img-4.19.0-8-amd64

ls
bin  conf  cryptroot  etc  init  initrd.img-4.19.0-8-amd64  kernel  lib  lib64	run  sbin  scripts  usr

#21 Re: News & Announcements » Beowulf Beta is here! » 2020-03-29 03:06:06

@fsmithred

on post 61 you suggested using keys Alt + F2 to get to tty 2.

On my internal hard drive install......Crtl + Alt + F2 works, but only after slim login screen appears.
ie I am unable to action those keys in the rough 15 seconds of SSD boot up with messages scrolling past. But I installed iso dated mar 11

Attempting to use these keys on the USB still ffails for me mar 11

As a little knowledge is dangerous wink
I did reboot after enabling  file /etc/logins.def for line
CONSOLE    console:tty01:tty02:tty03:tty04
full reboot.....no change to getting access to tty during boot.

I realize this may be  useless info....but I submit it to show I am trying to help
and maybe eliminate others from trying similar things.

EDIT

so booting mar 25 usb.....
booting up using CAF2......does not change tty to tty2 for me but,
bootup was fast and /var/log/boot shows no udev error while the same usb gave me udev slowness before.

Thanks

(Nothing has been logged yet. If you're still seeing this message your current init system might not write bootup messages to the system console at all.)
Sun Mar 29 03:24:21 2020: [....] Activating swap...??7[ ok 8??done.
Sun Mar 29 03:24:21 2020: [....] Creating compatibility symlink from /etc/mtab to /proc/mounts. ...??7[warn8?? (warning).
Sun Mar 29 03:24:21 2020: [....] Cleaning up temporary files... /tmp??7[ ok 8??.
Sun Mar 29 03:24:21 2020: [....] Starting early crypto disks...??7[ ok 8??done.
Sun Mar 29 03:24:21 2020: [info] Loading kernel module lp.
Sun Mar 29 03:24:21 2020: [info] Loading kernel module ppdev.
Sun Mar 29 03:24:21 2020: [info] Loading kernel module parport_pc.
Sun Mar 29 03:24:21 2020: [....] Setting up LVM Volume Groups...??7[ ok 8??done.
Sun Mar 29 03:24:22 2020: [....] Starting remaining crypto disks...??7[ ok 8??done.
Sun Mar 29 03:24:22 2020: [....] Checking file systems...fsck from util-linux 2.33.1
Sun Mar 29 03:24:22 2020: ??7[ ok 8??done.
Sun Mar 29 03:24:22 2020: [....] Mounting local filesystems...??7[ ok 8??done.
Sun Mar 29 03:24:22 2020: [....] Activating swapfile swap...??7[ ok 8??done.
Sun Mar 29 03:24:22 2020: [....] Cleaning up temporary files...??7[ ok 8??.
Sun Mar 29 03:24:22 2020: [....] Starting: AppArmor[....] $Mounting securityfs on /sys/kernel/security??7[ ok 8??.
Sun Mar 29 03:24:22 2020: [....] Loading AppArmor profiles...??7[ ok 8??done.
Sun Mar 29 03:24:25 2020: ??7[ ok 8??.
Sun Mar 29 03:24:25 2020: [....] Starting Setting kernel variables: sysctl??7[ ok 8??.
Sun Mar 29 03:24:25 2020: [....] Configuring network interfaces...??7[ ok 8??done.
Sun Mar 29 03:24:25 2020: [....] Starting RPC port mapper daemon: rpcbind??7[ ok 8??.
Sun Mar 29 03:24:25 2020: [....] Starting NFS common utilities: statd idmapd??7[ ok 8??.
Sun Mar 29 03:24:25 2020: [....] Cleaning up temporary files...??7[ ok 8??.
Sun Mar 29 03:24:25 2020: [....] Setting up ALSA...??7[ ok 8??done.
Sun Mar 29 03:24:26 2020: [....] Setting sensors limits...??7[ ok 8??done.
Sun Mar 29 03:24:26 2020: [....] Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix??7[ ok 8??.
Sun Mar 29 03:24:26 2020: INIT: Entering runlevel: 2
Sun Mar 29 03:24:26 2020: [info] Using makefile-style concurrent boot in runlevel 2.
Sun Mar 29 03:24:26 2020: [....] Setting up console font and keymap...??7[ ok 8??done.
Sun Mar 29 03:24:26 2020: [....] Starting LVM2 poll daemon: lvmpolld??7[ ok 8??.
Sun Mar 29 03:24:26 2020: [....] Starting enhanced syslogd: rsyslogd??7[ ok 8??.
Sun Mar 29 03:24:26 2020: [....] Starting ACPI services: acpid??7[ ok 8??.
Sun Mar 29 03:24:26 2020: [....] Starting anac(h)ronistic cron: anacron??7[ ok 8??.
Sun Mar 29 03:24:26 2020: [....] Starting periodic command scheduler: cron??7[ ok 8??.
Sun Mar 29 03:24:26 2020: [....] Starting system message bus: dbus??7[ ok 8??.
Sun Mar 29 03:24:26 2020: [....] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon??7[ ok 8??.
Sun Mar 29 03:24:26 2020: [....] Starting bluetooth: bluetoothd??7[ ok 8??.
Sun Mar 29 03:24:26 2020: [....] Starting Common Unix Printing System: cupsd??7[ ok 8??.
Sun Mar 29 03:24:26 2020: [....] Starting CUPS Bonjour daemon: cups-browsed??7[ ok 8??.
Sun Mar 29 03:24:26 2020: [....] Starting session management daemon: elogind??7[ ok 8??.
Sun Mar 29 03:24:26 2020: [....] Starting MTA: exim4??7[ ok 8??.
Sun Mar 29 03:24:27 2020: [....] Starting MD monitoring service: mdadm --monitor??7[ ok 8??.
Sun Mar 29 03:24:27 2020: [....] Starting NTP server: ntpd??7[ ok 8??.
Sun Mar 29 03:24:27 2020: [....] Starting SANE network scanner server: saned??7[ ok 8??.
Sun Mar 29 03:24:27 2020: [....] Starting slim: slim??7[ ok 8??.

#22 Re: News & Announcements » Beowulf Beta is here! » 2020-03-29 02:57:50

@kapqa

on post 24 you asked for a package to be included as you have an Epson printer.
Did you know Gutenprint has a lot of Epsons already?
http://gimp-print.sourceforge.net/p_Sup … inters.php

Hope that helps

#23 Re: News & Announcements » Beowulf Beta is here! » 2020-03-29 02:03:19

To anyone interested

Today I boot up and the issue I had with removing systemd has automagically resolved, logout offers all options again included power management. I am on a tower so do not care about hibernate/ sleep for PC

cheers

#24 Re: News & Announcements » Beowulf Beta is here! » 2020-03-28 10:03:31

Hi
I finally spotted but needed prompting this post
https://dev1galaxy.org/viewtopic.php?id=1925

as my removal of systemd stuff is on the beta iso I thought I would share the little I know here
And I am glad that link is a sticky too.

For those anal creatures like me, who boasts they have no systemd on their PC....read on or ignore as you see fit. My testing is very sparse but FF streaming youtube is fine and local media files mp4 and mp3 are fine after doing this playing using VLC

This is tested only on beowulf_3.0.0_beta dated Mar 11 not Mar 25 clean install on internal hard drive.

# find / -name systemd
> /var/lib/systemd
> /lib/systemd
> /usr/lib/systemd
> /etc/systemd
> /run/systemd
# rm -rf /var/lib/systemd /lib/systemd /usr/lib/systemd /etc/systemd /run/systemd

full reboot finds  only one gremlin found (so far)
I lose GUI restart and shutdown as per image
https://imgur.com/JVhuo4y

this I have fixed for now with 2 new desktops with contents

echo '[Desktop Entry]
Version=1.0
Type=Application
Exec=pkexec /sbin/shutdown -r now
Icon=system-log-out
StartupNotify=false
Terminal=false
Name=restart
Name[en_US.UTF-8]=restart' > Desktop/restart.desktop

echo '[Desktop Entry]
Version=1.0
Type=Application
Exec=pkexec /sbin/shutdown -h now
Icon=system-log-out
StartupNotify=false
Terminal=false
Name=shutdown' > Desktop/shutdown.desktop

chmod 755 Desktop/shutdown.desktop
chmod 755 Desktop/restart.desktop

YMMV

#25 Documentation » set up a Canon Wireless printer, may help some other brands » 2020-03-28 05:15:01

aus9
Replies: 0

How to set up a Canon wireless printer.

There are other methods but this tends to work across most distros. I assume you have set a
root password and not using sudo. Modify to suit. Target printer is a wireless printer Canon MG3060.

step 1....Skip if not interested.
Set up your wireless printer to have an unique address in your router settings. On a D-Link router you would add a rule and unique address is called "reserved IP address" on D-Links. YMMV

I suggest you turn off all wifi to your phones and not stream from TVs and the like, so the only wifi device showing up as connected will be your turned on printer. Otherwise you have to do a little extra checking. Different routers have different ways of doing this, but for my D-Link I set up a rule after clicking on home -> Connected Clients -> (find the wifi symbol connected devices and click the edit symbol to create a rule for it)
I show an image with blanked out MAC address for those interested in a completed rule.
https://imgur.com/Lgbn3Sa

This set up requires you to login to your router. It is independent of my Devuan cups setup but recommended because then I can look at my ink levels eg
https://imgur.com/QEPVWp6

Leave your printer turned on.

step 2
Check your daemons are running. If not running or not found, you may have to install some extra packages. They are included in beowulf.

# /etc/init.d/avahi-daemon status
Avahi mDNS/DNS-SD Daemon is running
# /etc/init.d/cups status
[ ok ] cupsd is running.
# /etc/init.d/cups-browsed status
[ ok ] cups-browsed is running.

If any daemon is not found in their directory, seek help on the forum. You may have a broken or missing package.

step 3
open your web browser to this page.
localhost:631/admin

click the Add Printer button. Do not click the Find New Printer button....as you have yet to save a root password for this session. A dialog box will appear. The only username you can enter is root.
If you disabled sudo, the password will be the root password otherwise it will be the sudoers password.
https://imgur.com/OY7yYHF

All files under /etc/cups are owned by root. Adding files to that dir requires the root password, but Cups config files remember your root password for this session only. So if you need to add 2 printers, the second printer can be found by starting it up after completing your first printer....and clicking the Find New Printer button.

After entering those details, with the daemons active, Cups should detect your networked printer.
https://imgur.com/LaBBClL

step 4
Choose the best fit for your detected printer. IMHO for example its the bottom of the 2 choices I am offered.
Click the Continue button

step 5
If you have 2 printers of the same make and model, the next screen allows you to set a location.
https://imgur.com/JLSSf9V
Click the Continue button

step 6
The next option is to choose a maker and model. Assuming your distro has the printer model software installed, do not choose the first screen selection but scroll down to see if a better model shows up. For me, the default screen wanted model = MG3000 but by scrolling down I found my correct model
https://imgur.com/Pl5ELMM

Now if no maker or models show up, please search the forum or internet for printer driver for your make and model. Otherwise click the Add Printer button at bottom of screen.

step 7

Includes multiple pages showing on image. You should know what type of inks you have, 3 inks 4 inks laser cartridge etc.
So for me, I choose size A4 and CYMK

I won't expand on each link below but point out some settings you may like, as defaults?

The second link called Printer Features Common allows you to set the ink set to one, if you have run out of ink such as black. It is also where you can change from default of portrait to landscape.

Output control common is where you can change from "mixed Text and Graphics" to "Photograph" if that is the main use of printer.

Once you have changed any that suit you....click the Set Defaults button.

Remember you can modify these settings later. Please remember you have a scroll bar for some settings too.

extra information
Printer driver.
Not everyone will have a printer that Devuan has pre-installed.
Canon, Epson uses Gutenprint.
HP can use Gutenprint for some models but users probably better off using hplip and running root powered

hp-setup

https://developers.hp.com/hp-linux-imag … l/hp_setup

If not sure what driver your model might use check
https://openprinting.org/drivers

For the more sensitive humans out there, be aware they may display both non-free and open source drivers.

Printer job fails...turn debugging.
click this link
http://localhost:631/admin
Click the button for Edit Configuration File
edit the line near the top that reads "LogLevel warn" so it reads
LogLevel debug
click the button Save Changes
If you make this change quickly enough, the change will not ask for a password but if you have left it too long expect a dialog box to ask for your root and root (or sudoers) password

If you can not work it out after a search of your log, post a question in the forum.

Sharing printers
Means sharing the printer you just set up with another computer. Normally on the same local network but internet printing is possible. To see if sharing is enabled, go to your printer status page
http://localhost:631/printers/
click on the printer to get more details, example of not shared
https://imgur.com/bnVLKgt
To change to shared, try this----(No need to modify printer or delete)
click on
http://localhost:631/admin
Tick the box against "Share printers connected to this system"
click the button to Save Settings.
(You may have a root password dialog appear if not already input this session)
You will see that the cups server refreshes
then go back to the printers status page to see new result.
https://imgur.com/C2quyb7

good luck

Board footer

Forum Software