The officially official Devuan Forum!

You are not logged in.

#1901 Re: Other Issues » mkfs.ext4: invalid blocks offset=X on device device.img » 2018-10-02 12:26:11

What you tried looks right to me, but the man page for mke2fs doesn't actually say what units to use for offset. Further down the page where it talks about specifying the location of the journal, the wording suggests that you might need to use 'offset=1M'.

One thing you did looks odd - why partition with cfdisk if you want gpt? gdisk is the right tool for that.

#1902 Re: Installation » [Solved] image verification: bad signature » 2018-10-01 19:43:30

It's not working for me today, either. I can --search-keys with my email address and get a list of my public keys. I can't get the fingerprints and I can't --recv-keys. Also can't --refresh-keys on my main machine - I get "keyserver error" with that.

Searching my email address on the web interface at pgp.mit.edu also fails with:

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /pks/lookup.

Reason: Error reading from remote server

The problem is with them, not with us.

#1903 Re: Installation » [Solved] image verification: bad signature » 2018-09-29 12:04:20

Yeah, I get the "unknown option" message in jessie, but not in ascii. The option is not mentioned in the jessie man page but is in the ascii man page.

#1904 Re: Desktop and Multimedia » XFCE performance on old hardware? » 2018-09-28 19:21:04

Been running xfce4 on my 2GHz Athlon X2 with 2GB RAM for more than 10 years. Been running it in jessie on an old Dell Inspiron 1525 (One of the early ubuntu models) with Pentium dual-core at 1.6GHz for a couple years with no problems. I did notice that ascii booted very slowly on the Dell until I added nomodeset to the boot line.

I ran lxde on the Athlon X2 box for about a year, and I didn't notice any difference in performance between that and xfce.

Here's some slightly more objective evidence: I can run xfce comfortably in a virtualbox VM with 384mb ram. (as long as I don't open firefox). For gnome2 or kde4 or ubuntu with unity I need to give it 640mb, and programs open so slowly I can't stand it.

#1905 Re: Installation » [Solved] image verification: bad signature » 2018-09-28 19:07:33

These two do the same thing. With the first one, it assumes you mean to use the file with the same name minus the .asc.

gpg --verify SHA256SUMS.asc
gpg --verify SHA256SUMS.asc SHA256SUMS 

This didn't work:

$ sha256sum --ignore-missing -c SHA256SUMS
sha256sum: unrecognized option '--ignore-missing'
Try 'sha256sum --help' for more information.

To check a signed iso, I'd do this.

gpg --verify isofile.iso.asc

You could also use a different keyserver. I use MIT because it's just up the road from here, and I can remember pgp.mit.edu.

#1906 Re: Installation » [Solved] image verification: bad signature » 2018-09-28 13:23:04

HextorBRX wrote:

Is there a way to find the whole fingerprint beforehand? It only appears in the installer-iso README.txt (I have checked them all).

Edit: fetching the public key via the trusted keyserver requires the following package: dirmngr

If you have the key ID, you can get the fingerprint with

gpg --fingerprint <key-id>

Oh, if you don't have the key ID, you can use the email address. Try it with mine, and you'll get a list.

I noticed that about dirmngr in ascii. That must be new - I don't have that package installed in jessie and gpg has always worked right.

#1907 Re: Installation » [Solved] image verification: bad signature » 2018-09-28 10:49:03

'Cause it's too much to type, and I got lucky and saw my own name when I used just eight characters. If someone else's name showed up, I'd use 16. I'm not sure if using the whole fingerprint number works with --recv-keys. Did you try that?

#1908 Re: Devuan Derivatives » Testing Exe GNULinux / Trinity Desktop » 2018-09-27 19:03:51

Ron wrote:

Thanks for sharing MiyoLinux. I don't think I'm that brave though. It's times like this I wish I had a spare computer to experiment on.

Two possible solutions for that. 1. Do it in a virtual machine. 2. Install to a usb thumb drive just like you would to a hard drive.

#1909 Re: Installation » [Solved] image verification: bad signature » 2018-09-27 19:01:36

I'll tell you what I know. The digits before the key ID in the fingerprint are, well... the fingerprint. Since it's possible for two keys to have the same ID, the fingerprint gives you a more reliable indicator of whether it's the right key or not. I don't know how that gets calculated.

This will get my public key from a public keyserver.

gpg --keyserver=pgp.mit.edu --recv-keys 094c5620

Here's what I do to verify. I can't guarantee that it's right, but the output looks good.

$ gpg --verify SHA256SUMS.asc 
gpg: assuming signed data in `SHA256SUMS'
gpg: Signature made Wed 06 Jun 2018 05:49:36 PM EDT using RSA key ID 094C5620
gpg: Good signature from "fsmithred (aka fsr) <fsmithred@gmail.com>"

We don't sign the isos. We sign the SHA256SUMS file. If the checksum on the iso matched what's in the file we signed, it's good.

If I try to verify KatolaZ's signature on a computer that doesn't already have his public key, I get this (using the SHASUMS from the installer isos):

$ gpg --verify SHA256SUMS.asc 
gpg: assuming signed data in 'SHA256SUMS'
gpg: Signature made Wed 06 Jun 2018 06:55:55 PM UTC
gpg:                using DSA key 8E59D6AA445EFDB4A1533D5A5F20B3AE0B5F062F
gpg: Can't check signature: No public key

#1910 Re: Devuan Derivatives » Testing Exe GNULinux / Trinity Desktop » 2018-09-25 01:47:09

The installer isos use debian-installer. It pulls packages either from the repository or from the dvd and installs them into the new system. The live isos use refractainstaller, which copies the running live system to hard drive. If you're familiar with installing debian, then you would know whether or not you used d-i when you installed devuan before.

Installing from the live takes about 10 minutes. Installing from packages (netinstall or dvd) takes a bit longer. You could have a good or bad result with either method, depending on your hardware and what you do with the install.

#1911 Re: Devuan Derivatives » Testing Exe GNULinux / Trinity Desktop » 2018-09-24 19:50:12

I know the 2017-12-15 amd64 exegnu iso is jessie. I assume the i386 is the same.

Dual-boot first. If you want TDE on ascii, you could upgrade the exegnu or you could add TDE to a fresh ascii install. There are instructions for devuan at the TDE site. Mixing TDE with Mate in the same installation might cause some conflicts with session managers. Doing this on a test install would be the less stressful way to go.

#1912 Re: Hardware & System Configuration » usb's not mounting » 2018-09-23 16:39:23

Check to make sure you have the right versions of all those libraries listed in my codebox above.
(should be version 0.105-15~deb8u3+devuanSEC1)

Check removable device settings in xfce.

When you plug in a usb stick, do you get an icon on the desktop? If so, can you mount/open it from there?

#1913 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

#1914 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.

#1915 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

#1916 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.

#1917 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.

#1918 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

#1919 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

#1920 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?

#1921 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.

#1922 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.

#1923 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

#1924 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.)

#1925 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.

Board footer

Forum Software