The officially official Devuan Forum!

You are not logged in.

#1926 Re: Devuan Derivatives » Refracta no-dbus experiment » 2018-09-23 13:56:17

You could set up wlan0 in /etc/network/interfaces for one or more connections you use regularly.
Or, you could run setnet.sh to set up the wireless.
I've never used wpasupplicant directly, so I can't comment on the commands, but it looks like the script would work. You could create a .desktop file that runs your script and then use that .desktop file to add an icon to the panel if you want to click to connect.

Here's a sample entry for /etc/network/interfaces.
This example is for WPA2 Personal encryption with shared ASCII key.
Items marked with ### are only needed for encrypted networks.
Use appropriate local IP numbers.:

        # wireless interface
        iface wlan0 inet static
                wpa-driver   wext
                wpa-ssid <ssid>
        ### wpa-proto is WPA for WPA1 (aka WPA) or RSN for WPA2 
                wpa-proto RSN
        ### wpa-pairwise and wpa-group is TKIP for WPA1 or CCMP for WPA2
                wpa-pairwise CCMP
                wpa-group CCMP
        ### use 'wpa_passphrase <ssid> [passphrase]' to generate hex-key
        ### enter the result below
                wpa-psk <hex-key>
                
                address  192.168.xxx.xxx
                netmask  255.255.255.0
                gateway  192.168.1.1 (maybe)

        auto wlan0

Somewhere on this page tells you how to set up multiple logical interfaces for a single physical interface. (set up wlan0 for different wireless networks): https://www.debian.org/doc/manuals/debi … rence/ch05

And this page says that the better way to do it is with wpasupplicant, so maybe you should ignore my advice:
https://unix.stackexchange.com/question … -locations

#1927 Re: Desktop and Multimedia » [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning » 2018-09-23 13:22:28

I doubt that the beowulf version of openrc will work in ascii. If you look at my old instructions, you'll see that libfdisk1 and util-linux are needed, and those two packages haven't been devuanized in beowulf yet. I have no idea if the ascii versions of those libraries will work with the beowulf openrc.

The openrc package itself is unchanged from debian, so yes, you could download the deb from buster. The other way to get it would be to add beowulf to sources.list and also pin beowulf to a lower priority, so you'd have to explicitly request packages from beowulf if you wanted them. (see 'man apt_preferences' for info on pinning.)

For reference, obsolete instructions: https://dev1galaxy.org/viewtopic.php?pid=4443#p4443

I hope you made an installable live-iso of your system before you try this.

#1928 Re: Devuan Derivatives » Refracta no-dbus experiment » 2018-09-23 10:56:20

To install dbus, you would have to go into /etc/apt/preferences.d/ and remove the pins on dbus. (note to self: those pins should really be in their own file, and not in avoid-systemd.) It's possible that other packages with dbus in the name could slip it. I only pinned dbus itself. To see what you have

dpkg -l | grep dbus

#1929 Re: Installation » [Solved] non-free firmware: desktop-live/installer-iso » 2018-09-23 10:40:31

The first five firmwares I selected are wireless only. Yes, firmware-realtek and firmware-ti-connectivity are wireless but they don't serve this sole purpose. That's why I put them in the non-WiFi category. It is just a matter of perspective smile

Yup. My concern is whether someone will need it to get online or not, wired or wireless.

I did remember to include wireless firmware from backports in the live-iso I made with the backports kernel. smile  Only a few of them are there.

#1930 Re: Desktop and Multimedia » [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning » 2018-09-23 10:27:56

Installing openrc is pretty easy either way. I just converted an installed system to openrc to see if it's still easy, and it is. If you convert a system, do yourself a favor and do it in a terminal on the desktop, so you can copy/paste the long command you need to run after installing openrc. (Apt will tell you exactly what to do.)
apt-get install openrc will get you there. My older instructions on this talk about manually installing some libraries, but you no longer need to do that.

Search the forum for openrc and you'll find a few discussions about it.

Edit to add: I've made live isos of systems with openrc using refractasnapshot, and it works without doing anything special. Works easily in live-sdk, too.

#1931 Re: Hardware & System Configuration » usb's not mounting » 2018-09-22 21:43:09

How does it not work? Did you get an error message? Please post the contents of /etc/apt/sources.list

You should get something like this when you run that command:

# apt-get -t jessie-security install policykit-1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0
The following packages will be upgraded:
  libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0 policykit-1
4 upgraded, 0 newly installed, 0 to remove and 354 not upgraded.
Need to get 173 kB of archives.
After this operation, 298 kB disk space will be freed.
Do you want to continue? [Y/n]

This looks odd.

gksudo synaptic-pkexec

You can start synaptic with gksudo or pkexec. No need to use both.
gksudo synaptic
or
synaptic-pkexec

#1932 Re: Installation » [Solved] non-free firmware: desktop-live/installer-iso » 2018-09-22 12:31:20

Thanks. Any help sorting this out is appreciated. I would include firmware-realtek firmware-ti-connectivity with the wireless firmware. (My laptop uses the former.) Also, in beowulf, firmware-ralink is back. It was included in firmware-realtek for stretch/ascii.

I think the intelwimax is for some older wireless cards. Looks like intel no longer supports it -
https://www.intel.com/content/www/us/en … -5150.html

#1933 Re: Installation » kingspec ssd install requests drivers » 2018-09-21 21:40:16

Are you sure you need one? At what point in the installation is it asking for a driver, and what does the message say?
Did you choose expert or regular install?

#1934 Re: Desktop and Multimedia » [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning » 2018-09-21 17:59:45

One way to do it is to save the package list in a file, then use that list on a new system to get the same installed packages. Check 'man dpkg' before you do this.
On the old system:

dpkg --get-selections > package_list

On the new system:

dpkg --set-selections < package_list

Another way is to run refractasnapshot in a root terminal and make a bootable live-iso copy of your current system (installed packages and configs) and use that to install on other computers. This is my preferred method.

#1935 Re: Installation » [Solved] non-free firmware: desktop-live/installer-iso » 2018-09-20 16:01:37

apt-listchanges is informative. In my experience, it's not very useful in the stable distribution, but can be very helpful when you're running the testing version. I don't recall why I included it. Maybe it's there from when ascii was still in testing.

#1936 Re: Installation » [Solved] non-free firmware: desktop-live/installer-iso » 2018-09-20 01:47:48

bash ignores lines that start with # but in this it causes the command on the line before it to be terminated instead of continued to the next line.

Do you mean a firmware will not get installed if my hardware does not require it?

Correct

#1937 Re: Installation » [Solved] non-free firmware: desktop-live/installer-iso » 2018-09-19 22:11:05

Oh, now I see the problem. Commenting out lines like that doesn't work in bash. It does work in zsh (I do that in the config file in live-sdk.) I guess you'd need to remove those two lines entirely.

Non-free firmware is in the installer isos, but you won't find those packages in the installed system. They don't get copied (neither does the rest of what's under /pool.) If your hardware requires a firmware package, it will get automatically installed in the regular install, and if you choose expert install and use a mirror, you will be asked about non-free firmware.

'aptitude search <some-nonfree-firmware-package>' should give you results only if you have non-free repos enabled in sources.list. It works in the live iso because those packages are installed. (I think that's what's going on here.)

You're right - I did not include the firmware-amd-graphics package in the /firmware directory, but it is installed. I only included the wireless firmware using the logic that you would only need that to get a connection, then you could get anything else. Also, that /firmware directory is in the root of the live filesystem, not in the root of the iso like it is in the installer isos.

dpkg -l | grep firmware will list all installed packages with 'firmware' in the name.
aptitude search ~ifirmware will do the same.
locate firmware will list all files on the system with 'firmware' in the name. (assuming you have a locate package installed and updatedb has run at least once since the system was installed.)
find / -name "firmware*" will find all files that start with 'firmware'. (you'll need to be root for this one.)

#1938 Re: Installation » [SOLVED, don't buy one to begin with] dell xps-13 » 2018-09-19 19:47:52

crankypuss wrote:

okay, i downloaded a fresh copy of "devuan_ascii_2.0.0_amd64_desktop-live.iso" and checked the sha256sum.  i then burned it onto a USB stick and booted the live system.  i then opened a browser and found there was no internet connection.  i ran wicd and it found no networks, even though my phone was supporting a wifi hotspot.  i tried issuing the command to list devices but couldn't remember it.  the screenshot should show that, if i can figure out how to include it in this post.

nope, no joy; the img tag requires a url and i'm done dicking around with it.  this crap is why i'm looking at leaving linux.

Check wicd preferences to make sure the defualt wireless device is set to the correct device. You can see what the device is called if you run ip a or /sbin/ifconfig. You'll find the preferences in a drop-down in wicd's menu bar. (it the triangle/arrow in the upper right of the window.)

Easiest way to include a link in a post is to hightlight the link in your browser's address bar, right-click and copy, then right-click and paste it into your post. No tags needed.

#1939 Re: Installation » [SOLVED, don't buy one to begin with] dell xps-13 » 2018-09-19 19:41:56

crankypuss wrote:

interesting and kind of funky: in https://files.devuan.org/devuan_ascii/d … README.txt it says this,

"If your hardware needs a 32-bit uefi bootloader with a 64-bit operating
system, install the grub-efi-ia32 package before running the installer."

LOL, you're supposed to install something *where* before you run the installer to install the system?

Yah, okay, moving right along <g>

Easiest place to install it would be in the running system. Just open a terminal and run sudo dpkg -i /grub-efi-ia32* Less easy would be to install the system to hard drive first and then chroot into the installed system to install grub, but even that isn't too difficult because the installer will allow you to do that.

#1940 Re: Installation » [Solved] non-free firmware: desktop-live/installer-iso » 2018-09-19 19:36:57

I get "503 Service Unavailable" on your links. Any commented lines in the removal script will be ignored, and those commented packages will not be removed. Everything else should be removed.

I'm not sure what you mean. It's not the exact same list of firmware, but many are the same. Here's what's in the installer isos (this is from a mounted netinstall iso). These are actually symlinks to the packages, which are under /pool.

$ ls mnt/firmware
amd64-microcode_3.20160316.3_amd64.deb                firmware-ivtv_20161130-3_all.deb
atmel-firmware_1.3-4_all.deb                          firmware-iwlwifi_20161130-3_all.deb
bluez-firmware_1.2-3_all.deb                          firmware-libertas_20161130-3_all.deb
dahdi-firmware-nonfree_2.11.1-1_all.deb               firmware-linux-free_3.4_all.deb
firmware-amd-graphics_20161130-3_all.deb              firmware-misc-nonfree_20161130-3_all.deb
firmware-atheros_20161130-3_all.deb                   firmware-myricom_20161130-3_all.deb
firmware-bnx2_20161130-3_all.deb                      firmware-netxen_20161130-3_all.deb
firmware-bnx2x_20161130-3_all.deb                     firmware-qlogic_20161130-3_all.deb
firmware-brcm80211_20161130-3_all.deb                 firmware-realtek_20161130-3_all.deb
firmware-cavium_20161130-3_all.deb                    firmware-samsung_20161130-3_all.deb
firmware-crystalhd_0.0~git20120110.fdd2f19-1_all.deb  firmware-siano_20161130-3_all.deb
firmware-intel-sound_20161130-3_all.deb               firmware-ti-connectivity_20161130-3_all.deb
firmware-intelwimax_20161130-3_all.deb                firmware-zd1211_1.5-4_all.deb
firmware-ipw2x00_20161130-3_all.deb                   hdmi2usb-fx2-firmware_0.0.0~git20151225-1_all.deb

#1941 Re: Installation » Firefox 60.2.0esr - Rollback » 2018-09-18 21:17:51

The tail of this thread was split off into another thread. For the current discussion, go here -
https://dev1galaxy.org/viewtopic.php?id=2373

#1942 Re: Installation » Ascii on SSD with LVM and partly crypted » 2018-09-18 15:58:05

Aha - thats not exactly what I wanted to achieve. My idea was to get the hidden files of /home on the SSD and the other ones on the HD. So yes, /home will be spread, but I would like to have it in a way, that the often accessed conf-files are on the speedy SSD.

That could possibly be accomplished with some creative symlinking.

I would like to have everything except /home on the SSD and /home exclusively on the spinning drive. To make that clear - I know during the installation process I have to setup a /home on the SSD as well. But this one I will not use further. I will try to use the "old" hidden-files from the spinning drive after bulk installation of user-sw to the SSD. If this does not work I will move the hidde-files of the fake /home on the SSD to the spinning drive. Or do I run into trouble here? There might be some manual work, but I think that is not so painful like the installer-partition part.

I think you can get away with two or three partitions. Root filesystem and optional /boot partition on the ssd and /home on the spinning disk. Install everything to the ssd first, with /home as part of the root partition. Then manually edit fstab (and crypttab, I guess) to use the spinning disk as home. Move the new /home to /home.bak or something, so you keep the new config files in case you need them. And maybe make a backup copy of the old config files, in case they get lost or changed. Using the old config files with the new system may or may not work properly in all cases. It'll be trial and error until you get everything the way you want.

I forgot about swap. You want it encrypted. You could either use a swapfile inside an encrypted root partition, or you could make a new lvm on the ssd that includes the swap.

#1943 Re: Desktop and Multimedia » [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning » 2018-09-18 14:27:38

I doubt that newer versions of lightdm will be different. I think the deps are the same as the ascii version. (I know it still wants consolekit.)

#1944 Re: Installation » Ascii on SSD with LVM and partly crypted » 2018-09-18 14:19:53

Caveat and disclaimer: I hate the debian-installer enough that I maintain my own installer.

Take a look at my post with examples of raid/lvm/luks with refractainstaller. I don't know how to do such a complex setup with d-i, but I'm pretty sure you could do it similar to one or more of my examples.
https://dev1galaxy.org/viewtopic.php?id=2323

If you want your home spread over both disks, then you need to have both disks (or at least part of each disk) included in the volume group (or in a raid array). Then data will be written to both disks (striped). That may increase performance.

If you then want /var, /tmp and swap to be only on the spinning disk, they need to be in a separate lvm or raid array (or not in the volume that includes /home.) The same would be true if you wanted them to only be on the ssd. If you're ok with them being spread over both disks like your home, then one volume group will suffice.

#1945 Re: Installation » [Solved] non-free firmware: desktop-live/installer-iso » 2018-09-18 13:29:50

Most of the available wireless firmware packages are installed in the desktop-live. The script to remove them is in /usr/local/bin. Here's the list of packages it removes.  Feel free to comment out any lines for packages you want to keep. I see two that are not wireless firmware, and I commented them as an example.

The installer isos have firmware in the /firmware directory, so it can be included in the installation if needed. In case you mess up and accidentally remove a firmware package you want to keep, the packages are also in /firmware in the live isos.

apt-get --purge --yes remove \
#	firmware-amd-graphics \
	firmware-atheros \
	firmware-bnx2 \
	firmware-bnx2x \
	firmware-brcm80211 \
	firmware-intelwimax \
	firmware-iwlwifi \
	firmware-libertas \
#	firmware-linux-nonfree \
	firmware-myricom \
	firmware-netxen \
	firmware-qlogic \
	firmware-realtek \
	firmware-ti-connectivity \
	firmware-zd1211

#1946 Re: Installation » Ascii on SSD with LVM and partly crypted » 2018-09-17 12:44:40

If your lvm is inside an encrypted partition, you can still change the sizes of the logical partitions inside it. This way, everything is encrypted and you enter one password for the whole system. If you want to make the lvm bigger than the physical partition that contains it, you would add other drives/partitions to the volume group and then extend the logical partitions within.

If you're concerned about excessive writes to the ssd, then you probably want to keep it separate from the existing lvm, so it doesn't get used for any of your more active partitions. (When you add drives to a volume group, the combined space is seen as a single container, and data gets written to all parts of it.)

#1947 Re: Desktop and Multimedia » [Solved] Cinnamon or Gnome 3 with Devuan ASCII with apt-pinning » 2018-09-16 22:12:18

I found three ways to get shutdown and reboot working at the login screen. These all count as workarounds, not a fix.

1. Edit /etc/lightdm/lightdm.conf and change the greeter-user to root. That's probably a bad idea for security reasons.

2. Replace lightdm with lxdm (without recommends) and with the elogind backend/gobject libs, without consolekit. I did need to add libck-connector0.

3. Install consolekit (with lightdm, not lxdm). The approprate libraries will replace the ones for elogind, but elogind will still be installed. Reboot and shutdown will work from the login screen, but from the desktop, they'll just log you out.

Oh, wait. If you run 'pam-auth-update' and uncheck the box for elogind, then shutdown and reboot work in both desktop and login screen. (reboot or cycle through init 1 to get it to change.) This (#3) might actually be working.

Every time I've gone in to mess with polkit stuff, I've been disappointed with the results.

#1948 Re: Installation » Ascii on SSD with LVM and partly crypted » 2018-09-16 12:53:43

I believe it's possible to do what you want, but you might need to do some of it manually. I've done encrypted lvm installs before, but I've never done it with an existing lvm that had data on it. See these two threads (and some of the links in them):
https://dev1galaxy.org/viewtopic.php?id=674
https://dev1galaxy.org/viewtopic.php?id=2323

The procedure in the debian-installer for encrypted lvm is not at all intuitive. It goes something like this:
Make an encrypted volume from a partition.
Use the encrypted volume for lvm.
Create the logical volumes inside the lvm and assign mountpoints and filesystems for them.

For reference, here's a video of making an encrypted partition, without lvm. The "4" on the end of the file name is because it took me four attempts to get it right, even though I've done it many times. This will give you a sense of the logic used in the installer.
http://distro.ibiblio.org/refracta/misc … rypt-4.ogv

#1949 Re: Other Issues » VPN client stuck in a "checking DNS" connection loop » 2018-09-16 10:41:59

The cinnamon desktop uses connman instead of wicd. Connman and network-manager support vpn. Wicd does not.

#1950 Re: Installation » I can not install the new Devuan(2) » 2018-09-15 11:13:38

At the boot menu, press 'e' to edit the boot command. Add the word, nomodeset, to the linux line. Then ctrl-x to boot. That usually fixes the black screen.

Board footer

Forum Software