The officially official Devuan Forum!

You are not logged in.

#1 Hardware & System Configuration » What is the secret to automatic wireless printer setup » 2022-12-15 20:36:14

nauved-rex
Replies: 0

I have an HP OfficeJet 4630. After installing system-config-printer and hplip, and clicked on Preferences, Print Settings, Network Printer.

The program automatically found my printer, at the correct IP, however, the list of connection settings did not include HPLIP.

So then I clicked on Find Network Printer, typed in the IP, and it found my printer, showed HPLIP as the connection setting, and then I clicked Forward.

At this stage, I had to select HP, then scroll down a list of hundreds of drivers until I found OfficeJet 4630. Everything got set up correctly.

However, I know that in the past, I  was able to get this setup nearly automatically after clicking on Network Printer, and the correct HPLIP driver got installed.

So I'm really curious what make the network printer setup magically work on some Linux installs.

Thanks!

#2 Re: Installation » I had to use sudo to setup my printer » 2021-04-17 22:42:41

fsmithred wrote:

You're running into the changes made to su in buster/beowulf. See the release notes for fixes. https://files.devuan.org/devuan_beowulf … _notes.txt  It's in the "What's new" section near the top.

The print server task includes cups. You could set up the printer by going to localhost:631 in a web browser. When you do any admin tasks, it will ask for root login.

Thank you once again, Admin. I used

su
system-config-printer

#3 Re: Installation » I had to use sudo to setup my printer » 2021-04-17 22:40:30

blackhole wrote:

You could have tried:

su
system-config-printer

Thank you!

#4 Installation » I had to use sudo to setup my printer » 2021-04-16 16:32:58

nauved-rex
Replies: 4

While installing Beowulf using the NetInst ISO, I chose "Standard Utilities" and "Print Server" from tasksel. After rebooting, I installed alsa-utils, xorg, wicd, lxde-core and a handful of other lxde packages. After adding a sound driver to modconf and firmware, I rebooted once more. Note: this is an Acer Chromebook 11, model C740.

Now I added system-config-printer. On the LXDE menu, I chose, under Preferences, Print Settings. The dialog was locked, and clicking unlock had no effect. So I was unable to add a printer.

So I executed

su -
system-config-printer

The error message was, "cannot open display". I had no choice but to install sudo, add my username in /etc/group, logoff and login, then setup my printer with

sudo system-config-printer

Comments, anyone?

#5 Re: Installation » [SOLVED]LXDE: Privilege Elevation Doesn't Work » 2021-03-14 17:56:33

I think the answer lies in the udisks package. When I roll my own, it likely never gets installed. So when I try one more time, I will check for this. The name of the package is udisks2.

#6 Re: Installation » [SOLVED]LXDE: Privilege Elevation Doesn't Work » 2021-03-14 05:06:48

Update: I downloaded the netinst.iso and installed the default desktop. (Normally, I roll my own install after booting to a command line.)

So after opening in XFCE, I installed LXDE. Everything works fine except for dynamic brightness control. No problem at all accessing attached storage. For brightness control, I added the following line in .config/lxsession/LXDE/autostart:

xrandr --output eDP-1 --brightness .85

which was a very comfortable level.

After a reboot, the xfce4-power-manager slider easily controlled the brightness.

After uninstalling LibreOffice and several multimedia programs, I was only using 3 GB, which is great!

#7 Re: Installation » [SOLVED]LXDE: Privilege Elevation Doesn't Work » 2021-03-14 00:33:23

fsmithred wrote:

Here's a live-iso I made today. It's a proof-of-concept, experimental, unofficial, and it looks like it works just fine.
Beowulf, LXDE, it has both lxdm and lightdm with lxdm the active display manager. I forgot to remove lightdm. To change the default, run dpkg-reconfigure lightdm

There's not much more than what comes with lxde. Just a few apps. No gimp or libreoffice.

https://get.refracta.org/files/experime … 2_0818.iso

Login: Password
user:user
root:root

sha256sum:
6d4247852ea41865b0f1977ea88f8399f6ddab4b55c91da079ce1536c443b859  snapshot_beowulf_lxde_amd64-20210312_0818.iso

Thanks, Admin! This is rather nice. I booted it up on my Chromebook. I had to edit the boot text to include i915.fastboot=1 because of a somewhat incompatibility which causes a flashing screen, but after this, I came to the desktop.

After inserting a MicroSD card, I was able to browse the media using pcmanfm. So right now, I'm clueless as to why I had a problem earlier. I will try installing from the netinst.iso again soon, and will let you know.

#8 Re: Installation » [SOLVED]LXDE: Privilege Elevation Doesn't Work » 2021-03-12 10:15:27

fsmithred wrote:

I just installed lxde in beowulf to see how it is. Starting with just a standard (no-X) system, apt refused to install the lxde metapackage or any individual parts until I tried intsalling lxde and policykit-1 together. Then it worked.

I did not test removable drives because I'm testing in a qemu VM. But the user could not shutdown or reboot from the desktop without entering the root password and not at all from the lightdm login screen. All the polkit and elogind stuff was there. Turned out that udisks was missing. When I added that, shutdown and reboot were active on desktop and login screen.

Interesting

#9 Re: Installation » [SOLVED]LXDE: Privilege Elevation Doesn't Work » 2021-03-11 20:40:43

I installed Lubuntu, now I don't have this problem.

#10 Re: Installation » [SOLVED]LXDE: Privilege Elevation Doesn't Work » 2021-03-09 21:17:34

Head_on_a_Stick wrote:

Is the gvfs-backends package installed?

Yes.

#11 Installation » [SOLVED]LXDE: Privilege Elevation Doesn't Work » 2021-03-09 13:56:35

nauved-rex
Replies: 9

A 4 TB HD is plugged into a USB port. When I boot up and log on, it appears in PCManFM. However, when I click on it, I get

Not authorized to perform operation

So then I can mount it manually to a local folder, so no problem. However, it should "hot mount", right?

When I was running ASCII, I had to replace LightDM with LXDM to solve problems like this. Under Beowulf, this doesn't help.

I have chrome-remote-desktop installed on this computer. Could this be interfering? I may try uninstalling it, just to be sure.

#12 Documentation » Creating a Media Source for Kodi Using SAMBA » 2021-02-28 00:50:39

nauved-rex
Replies: 0

This How-to assumes you have a computer running Devuan which can "host" media files for other computers on the network. The other computers will be running a Kodi client, which could even be a Kodi app installed from the Android play store. Sorry, I know nothing about Apple Store apps.

1. Preliminary steps:
a. Create a folder in your home directory called Media. (This will be referenced later)
b. Create 2 sub-folders in Media called Albums and Movies. Albums will hold music extracted from your CD's using asunder or some other CD ripping package in conjunction with picard (MusicBrainz) or some other music tagging software. Kodi prefers MusicBrainz tags. Movies will hold videos in the form Movie Name (yyyy).mp4. This can consist a series of flat files all inside Movies, or each movie can be in its own sub-folder. Kodi recommends the latter; however, it is your choice.

2. Install SAMBA. As root:

apt-get install samba

3. The samba package includes a rather complex configuration file /etc/samba.smb.conf. As root, move this out of the way:

cd /etc/samba
mv smb.conf smb.conf.bkp

4. Use an editor to create a new configuration file. For example, as root:

nano /etc/samba/smb.conf

5. You can copy and paste this configuration text for smb.conf:

[global]
workgroup = WORKGROUP
server string = hostname
mangled names = no

[Media]
path = /home/username/Media
guest ok = yes
guest only = yes
writable = no
browsable = yes

Note: Substitute the actual values for your hostname and username.

Note: The mangled names line prevents SAMBA from converting file names to an 8-character Windows-compatible format when they contain "special" characters such as colons, ampersands, commas, etc. It is preferable never to use special characters in movie names. For example, the file name "Jekyll and Hide (1990).mp4" will be properly "scraped" by Kodi even though the theatrical name is Jekyll & Hyde.

Note: The [Media] section label will appear in some clients. It is very useful to name this to be identical to the folder name containing the source files, which I named Media in step 1.

6. After creating the new configuration file, test it for correctness with

testconf

The above command need not be executed as root.

7. Finally, as root, restart SAMBA:

/etc/init.d/samba-ad-dc restart

Everything from here on out happens on the client side. From inside Kodi, add the SMB link/source and individually add Movies and Albums. Configuring Kodi is beyond the scope of this How-To.

SAMBA can seem overwhelming, so I merely wished to provide a simple configuration file, which I am using myself with great success. This How-To is based on a previous attempt to illustrate how to setup SAMBA, but contains more Kodi-specific instructions.

On the "host" computer, you can, of course, add photos and other media items inside the Media folder. Enjoy your media!

#13 Re: Documentation » Simple Generic Read-Only File Server Using SAMBA (suitable for Kodi) » 2021-02-27 23:53:00

GlennW wrote:

To be sure, use

 su - 

for Devuan Beowulf 3.0 and above.

OK, thanks

#14 Re: Documentation » Simple Generic Read-Only File Server Using SAMBA (suitable for Kodi) » 2021-02-27 03:17:49

Dutch_Master wrote:

Sudo is a typical Ubuntu-base prefix, on Debian and Devuan by default* you don't need sudo, just su and you have root permissions. Achieve the same on Ubuntu with

sudo su

Now skip the sudo prefix from the above commands.

*this depends on whether or not you've set a root password during installation. If you have, sudo is installed, but disabled for your user. (installed because other programs need it anyway). Technically, if you set a root pw, your regular user is not added to the /etc/sudoers file.

I do both. I create a password for root as the first thing I do when booting the system immediately after the install. I realize that sudo is mostly an Ubuntu thing, but I prefer the way I do things, and see no reason to modify my original post. Thanks for the feedback.

#15 Desktop and Multimedia » jellyfin media server » 2021-02-26 23:30:21

nauved-rex
Replies: 3

Has anyone been able to get jellyfin up and running? The install instructions have to be tweaked slightly at one point so that packages are installed from beowulf and not buster. Not a problem. However, beyond this, I cannot start the server:

sudo /etc/init.d/jellyfin start

appears to work, but

sudo /etc/init.d/jellyfin status

shows failed, and I cannot connect to the web interface.

jellyfin is a great open-source project with apps for Android and Roku, but unfortunately is uses SystemD.

#16 Documentation » Simple Generic Read-Only File Server Using SAMBA (suitable for Kodi) » 2021-02-26 23:15:14

nauved-rex
Replies: 4

1. Create a folder in your home directory. For this tutorial, call it Share.
2. Install samba:

sudo apt-get install samba

3. From the command line, navigate to /etc/samba
4. Move the config file out of the way:

sudo mv smb.conf smb.conf.bkp

5. Create a new, simple smb.conf, as follows:

[global]
workgroup = WORKGROUP
server string = hostname
mangled names = no
path = /home/username/Share

[Share]
guest ok = yes
guest only = yes
writable = no
browsable = yes

Note: replace username with your actual user name.
Note: replace hostname with your actual host name.
Note: [Share] appears in some clients. It is useful to name it the same as the share folder.
Note: The mangled names=no prevents SAMBA from rewriting filenames which contain Windows special characters, such as colons, commas, and ampersands. It is better not to use Windows special characters in filenames.

6. Enter the command

testconf

and read the results. Is everything OK?

7. Start/Restart the SAMBA server with

sudo /etc/init.d/samba-ad-dc restart

Now simply populate the Share folder with your content.

Use case: this is my setup for a Kodi media source, and it works great! Within Source, I have Movies and Albums with filenames and folders  corresponding Kodi protocols.

#17 Re: Installation » [SOLVED] Beowulf Netinst Lacks Wireless Firmware iwlwifi-7260-17.ucode » 2021-01-07 14:32:11

YES!!! Thank you, Head-on-a-Stick and fsmithred.

Even though I'm asked for the firmware file, the installation continues just fine, even if I choose Advanced Install. Note: I didn't encounter an option to omit this non-free firmware file individually. However, a little later, in the advanced install, I can choose not install non-free, just like you guys said.

I see now I misunderstood the intent of the question. The installer was not saying, "I need something I don't have", it was asking if I wished to install my *own* firmware file, which (not knowing any better at the time) I did. smile

Marked as [SOLVED].

James

#18 Re: Installation » [SOLVED] Beowulf Netinst Lacks Wireless Firmware iwlwifi-7260-17.ucode » 2021-01-07 13:58:20

Head_on_a_Stick wrote:

The non-free firmware is supposed to be present on both the live and netinstall ISO images, at least according to https://www.devuan.org/get-devuan

Can you provide the exact URL from which you downloaded the image?

Yes sir:

https://mirror.math.princeton.edu/pub/d … aller-iso/

I downloaded this file and opened up the iso, there was a firmware folder, it lacked the file I was searching for. However, Admin says it's there and will get installed after I skip the question. I'll try this and let you know.

James

#19 Re: Installation » [SOLVED] Beowulf Netinst Lacks Wireless Firmware iwlwifi-7260-17.ucode » 2021-01-07 13:55:10

fsmithred wrote:

You missed one option:

4. Ignore the question and continue. The driver will be installed automatically unless you choose expert install and exclude non-free software.

If we remove that question, then those people who need certain broadcom firmware will be stuck.

I can confirm that iwlwifi-7260-17.ucode is in firmware-iwlwifi in jessie, beowulf and chimaera.

Thank you! I shall be happy to give this a go on a practice disc, like a USB, and then report back.

James

#20 Re: Installation » [SOLVED] Beowulf Netinst Lacks Wireless Firmware iwlwifi-7260-17.ucode » 2021-01-07 12:14:46

Head_on_a_Stick wrote:
nauved-rex wrote:

iwlwifi-7260-17.ucode

That's not a "driver", it's a firmware file. Perhaps consider changing the thread title. The file is supplied by the firmware-iwlwifi package.

Thanks, I changed the title.

Sounds like a catch-22: the firmware-iwlwifi package can be installed after the fact. The Beowulf netinst.iso asks for this firmware file right up front, immediately after asking me to choose the language. Without the file, you can't install the system, because you can't get online to choose a mirror.

Perhaps one of the larger installer ISO's contains this package. I nearly always choose the netinst.iso so I can "roll my own" and not get a lot of stuff I don't want or need.

As I pointed out, this firmware file was/is available in ASCII, but not Beowulf. And I showed 3 workarounds. So this is not a complaint but a suggestion to the developers in case they wish to add this back to the netinst.iso.

James

#21 Installation » [SOLVED] Beowulf Netinst Lacks Wireless Firmware iwlwifi-7260-17.ucode » 2021-01-07 11:40:31

nauved-rex
Replies: 7

Solution:

Early during the installation, I am asked to provide a medium containing iwlwifi-7260-17.ucode: Yes or No.

Answer No: the firmware file gets installed automatically!

- - - - - - - - Original Post - - - - - - - -

Installing ASCII was no problem, but when I tried to install Beowulf, I received a request for a media containing this file:

iwlwifi-7260-17.ucode

There are several workarounds for this:

1. Download the ASCII netinst.iso, open it up, and copy this driver to an external media.
2. Search for the driver online, download, and copy.
3. Copy this file, or indeed, the entire firmware directory from my Chromebook to the media.

I chose option #3.

I mention this issue only in case this was an unintentional oversight.

James

#22 Re: Off-topic » Greetings from New Member » 2021-01-07 11:31:17

PedroReina wrote:
nauved-rex wrote:

it occurred to me that "desktop" is an odd label for a computer which sits on the floor under the desk

Very funny. I've there: http://pedroreina.net/montaje/pentium233.jpg

Wellcome to the forum.

Yup, LOL. Thank you!

#23 Re: Off-topic » Greetings from New Member » 2021-01-07 11:30:07

golinux wrote:

Welcome to the forum!  FYI . . . next time try Torvalds . . .  Murdoch shouldn't have worked.

Yeah, really... Linus --> Linux, LOL

Thank you!

#24 Off-topic » Greetings from New Member » 2021-01-07 04:32:02

nauved-rex
Replies: 11

Hello All,

My real name is James. I've been playing around with Linux for maybe 20 years. My first install was 2 Debian floppies, 3 1/2", on a repurposed desktop computer. As I write this, it occurred to me that "desktop" is an odd label for a computer which sits on the floor under the desk. But I digress...

I'm incredibly grateful for the Devuan developers for, first ASCII, then Beowulf, releases. I feel so comfortable with this system. All the techniques I've learned over the years are still usable. I'm not opposed to learning SystemD commands, but it seems like a lot of work for --- what, exactly?

My Beowulf is a minimal LXDE install after an initial command line only install. I didn't select a desktop environment. After booting into the new system, it is necessary to know how to connect to your home network in order to proceed. I hope to publish a "how to" in the near future, if there's not one already.

My computer is a repurposed Acer Chromebook 11, C740, with 2 GB RAM and a 16 GB SSD. My work data is store on a SanDisk 128 GM MicroSD card.

Also, just this morning and afternoon, I set up a media server on a repurposed Acer Aspire 5349 notebook with 4 GB RAM and 300 GB HD. After installing the base system, no desktop, I SSH'd into the server and setup Plex Media Server on the Aspire. I manage the server from Firefox on my new Beowulf Chromebook install. Sweet!

Okay all, have a great 2021, and I hope to see you back here soon!

Edit: It required 3 attempts for me to get registered. The 1st time, I picked a username already in use. The 2nd time, I flunked the intelligence test (I can't remember the question). The 3rd time, it asked for the last name of the person who invented or created Linux. The only name which came to mind was, Ian Murdoch. And then I wondered, "Do they mean the kernel dude?" And I drew a complete blank: even now, I can see his face but can't think of his name. LOL. So anyhow, I put "Murdoch", and the gatekeeper granted me admission. smile

Board footer

Forum Software