The officially official Devuan Forum!

You are not logged in.

#1251 Re: Hardware & System Configuration » ethernet and login manager concerns » 2019-02-10 03:42:12

1.  How can I get the packages for lightdm seeing as I have no internet connection on that install and devuan does not seem to offer the packages via web site like debian does with packages.debian.org?

Given that you can boot up some other partition/system with network connection, it should be easy enough the use chroot to the failing partition/system, and then use apt-get as per normal for it.

E.g., if the failing partition/system happen to be /dev/sda5, you would do the following, starting in the working system:

# mount /dev/sda5 /mnt
# chroot /mnt
# mount -t procfs proc /proc
# mount -t sysfs sys /sys
# mount -t devpts devpts /dev/pts
# apt-get install lightdm

That would install lightdm to the failing partition/system, which I assume is correctly set up as to its sources.list.

Note that the three later mount commands are not always needed; it depends on what you want to install. In fact, in some cases you also need to ensure there are nodes for /dev/sda and /dev/sda5 in the chroot file system, but that certainly shouldn't be needed for a lightdm installation.

To exit gracefully, you would first umount the three points within the chroot, then exit and umount /mnt.

#1252 Re: Hardware & System Configuration » [SOLVED]I had upgrade Jessie to Ascii and i need some fixes.[SOLVED] » 2019-02-09 07:53:34

i really don't understand what need udev for stop that errors

You need fewer spaces wink

#1254 Re: Devuan Derivatives » Miyo Modern: problem with external monitor » 2019-02-06 22:36:59

Are you sure it is sc -c ... and not sh -c .....
But then, why not have the command xrandr ... directly? What does sc do?

#1255 Re: Installation » Can't install i2p-router » 2019-02-06 21:58:38

Are you sure about the clock on your system?

#1256 Re: Installation » NTFS Partitions not recognised » 2019-02-04 20:29:15

In order to deal with exfat file systems, you need to have the exfat-fuse and exfat-utils packages installed.

#1257 Re: Hardware & System Configuration » safe networking with only one tool » 2019-01-31 07:45:47

/etc/resolv.conf is needed for DNS to work, but before that you need to declare the routing paths.

How about adding a default route?

# ip route add default via 192.168.0.1 dev eth0

That's assuming your router having IP 192.168.0.1. Use

$ ip route show

to inspect the routing table. There's plenty more to read about routing, which is what provides networking above the link level packet exchange.

You don't need /etc/networks or the /etc/network tree; these are used by the ifupdown networking support, but they are not necessary for networking to work.

#1258 Re: Hardware & System Configuration » right click on mac » 2019-01-28 02:35:16

I have an ASUS with a touchpad, with both left and right corner being click buttons, but without proper middle button. I'm therefore using synclient to make it behave, and run it as follows:

synclient RightButtonAreaLeft=1625 RightButtonAreaRight=3249 \
    RightButtonAreaTop=1800 RightButtonAreaBottom=2223 \
    RightEdge=2500 TopEdge=500 \
    RTCornerButton=2 RBCornerButton=0 \
    TapButton1=1 TapButton2=2 TapButton3=3 \
    ClickFinger1=1 ClickFinger2=2 ClickFinger3=3 \
    VertEdgeScroll=0 HorizEdgeScroll=0 CornerCoasting=0 \
    VertTwoFingerScroll=0 HorizTwoFingerScroll=0 \
    CircularScrolling=0

With that set up, I get a middle-button click area in the upper right corner, and also alternative left/middle/right buttons by 1/2/3-fincger taps and clicks (and scrolling sensing turned off, since I found it too easy to trigger while typing).

As I remember, it took a bit of experimentation to get the 6 magic numbers right. The first 4 tells where that middle-button area is, and the next 2 is for something else that I don't remember.  /var/log/Xorg.0.log might tell the x/y dimensions for your touchpad, and man synaptics provides documentation of the available options.

#1259 Re: Other Issues » Troubles playing audio CD on SMPlayer » 2019-01-06 00:57:55

If the new package file has newer version, then it will cause uninstall of the previous version.

If it was me, I would download the .deb file rather than changing my sources list.

For Devuan ASCII you would try installing the debian 9.0 version. Of course, if it ends up in direct or indirect dependencies of systemd it will fail, and your system might be in an iffy state. An installation might also want to pull upgrades to other packages, so you should certainly trial it with --simulate first, to see what is about to happen.

#1260 Re: Installation » E: Package 'python-ipalib' has no installation candidate » 2019-01-05 22:20:40

With equivs you rather easily define an empty dummy package that satisfies an installation dependency. It has excellent documentation (well, at least I understood to use it, to dummy out the avahi nonsense).

#1261 Re: Other Issues » Troubles playing audio CD on SMPlayer » 2019-01-05 22:13:45

Fair enough. If it was a script, file would have said so. Now it says it's an ELF executable, which is not a script.

The principle of having a wrapper script is fairly easy, but I will bail out at this point, especially since the idea itself is merely based on a hunch of the source of the problem. Ideally someone who is already using SMPlayer and/or mpv will step in and lead the way through the "morass" of scripting exercises needed to resolve this. Or provide some other, perhaps better, way to deal with it.

Or, of course, your own research and learning may well bring about a working solution. You'll probably find it worth trying, even just for the joy of learning something new.

#1262 Re: Other Issues » Troubles playing audio CD on SMPlayer » 2019-01-05 02:32:10

One way is by a command:

$ file $(which mpv)

or if that says "symbolic link" you may need:

$ file $(readlink -f $(which mpv))

#1263 Re: Other Issues » Troubles playing audio CD on SMPlayer » 2019-01-05 00:00:57

With my infinite "google fu" I dredged up this comment from 2017:  (https://bugs.mageia.org/show_bug.cgi?id=20550#c5)

José Jorge 2017-04-22 21:39:55 CEST wrote:

I got it. mpv refuses cdda://1, it only works with cdda:// . It is an upstream problem to report either to smplayer or mpv if you want, to get this bug fixed.

Presumably that's still standing.

You might possibly be able to make your own patch by wrapping mpv through a script that makes any cdda://1 argument (or part of argument) be a cdda:// argument (or part of argument). Maybe mpv is a script already, and then it'd be a walk in the park. By the looks of it in the OP log, that cdda://1 is passed in to mpv rather than being invented by it. Perhaps it gets 1 from an environment variable (perhaps  media-title). Or, by increasing convolution, perhaps the 1 gets passed in via stdin, embedded in some way? A wrapper script might deal with any of those.

#1264 Re: Other Issues » Troubles playing audio CD on SMPlayer » 2019-01-04 21:51:51

Please confirm that you have a /dev/cdrom link that resolves properly to the CD device, typically /dev/sr0.

#1265 Re: Other Issues » Troubles playing audio CD on SMPlayer » 2019-01-03 23:28:55

Maybe a red herring, but error code 2 traditionally is EACCESS, which would mean that there is a permission problem for some file, or even that some intermediate directory is missing when the program attempts to access a file. You might be able to use strace to follow up on it, or maybe there is some debug argument to start mpv with.

#1266 Re: Desktop and Multimedia » Can someone explain... » 2019-01-02 20:54:37

The first points of call are /etc/apt/sources.list and /etc/apt/sources.list.d/*; especially the latter: maybe your server upgrade dropped a new source point for you?

#1267 Re: Hardware & System Configuration » shutdown does not poweroff nor restart » 2018-12-29 23:34:00

Do you have live-tools installed?
If so, you should disable /bin/live-medium-eject, e.g by renaming it to /bin/live-medium-ejectOFF.

Basically, live-tools inserts a next-to-final step in the shutdown sequence that by default will want to eject the live medium, and then wait indefinitely for user confirmation. That step has many failure cases that simply end in silently waiting indefinitely (before allowing halt to happen), and yet it's not a needed step at all. You might even want to patch it more elegantly, i.e., exclude it from the shutdown and reboot sequences, if this seems to fix your problem.

#1268 Re: Desktop and Multimedia » Freshclam error (?) message [SOLVED]. » 2018-12-22 22:56:38

It appears some friends on the World Wide Web discussed this very issue some almost 4 years ago:
https://askubuntu.com/questions/589318/ … und/632911
maybe that solution applies for you too?

#1269 Re: Hardware & System Configuration » Can't use keyboard after unlock sleep » 2018-12-07 22:22:40

Is this a matter of slock not returning the keyboard focus back to the application it stole it from? Or it could be that that prior process doesn't deal with keyboard focus events properly? Which program is it, that should receive that typing that it seemingly doesn't receive?

#1270 Re: Hardware & System Configuration » [Solved] ifstat.eth0 on Boot » 2018-12-07 22:00:43

It would appear the boot up is held back due to a problem with the network configuration.

Firstly, could you please confirm it really is ifstat and not ifstate? The latter would be the status files used and maintained by the ifupdown networking package, whereas I couldn't find out which package would be using the former (with a cursory web search).

Perhaps you have multiple and conflicting network configuration methods activated, in which case it could help to reduce that to a single one? Which network configuration method(s) do you use?

If it already is only a single method, perhaps it'd help to make a change to that, such that networks are configured later? Or maybe, if it's a viable choice,  changing to a method that configures the network interfaces asynchronously with respect to the boot up process? Which network configuration method do you use?

#1271 Re: Devuan » A philosophical diatribe: How to avoid having users - and how not to » 2018-12-07 11:14:29

@MiyoLinux: I gather esr's tax identity is Eric S. Raymond, and his CV, would he present one, would or at least could be jam packed with notes about contributions to open source software.

Of course I would agree that the style of "barging in" and presenting an authoritarian opinion is ill suited to this community. But it's certainly worth to hear him out. I think his points are more directed to end-user distribution aims, than to the core Devuan project of maintaining a systemd free platform. Even so, they can well be discussed on this thread.

#1272 Re: Other Issues » Can't start UGENE » 2018-12-06 03:30:46

Copper36, I think it's the "then" fork that is selected, not the "else" fork. Perhaps you should add a line before the "if" saying

echo "$dirname/$appname" "${params[@]}"

which would tell which program is actually run.

It looks though like it's problem is that it cannot find the appropriate translation file(s) so that it can tell what it's problem is, so you might not gain anything more from this than knowing which program has a problem.

EDIT: there is also https://bugs.debian.org/cgi-bin/bugrepo … bug=868885 to ponder.

#1273 Re: Other Issues » Apt-get: DNS problem » 2018-11-29 19:56:55

I think there may well be explanation stories making ipv6 the culprit, and If you don't need it, you should disable it. E.g. put the following into a file /etc/sysctl.d/noipv6.conf and reboot:

net.ipv6.conf.all.disable_ipv6=1
net.ipv6.conf.default.disable_ipv6=1

#1275 Re: Hardware & System Configuration » Equivalent to Systemd Service Unit/Socket » 2018-11-24 04:40:03

When I write the first few lines in my firewall script, they are not executed.

What do you mean by that?
Which are your "first few lines in my firewall script"?
And where do you write them?
Are you confused about how to run the redirection rule by hand?

The second seems a bit more complicated

Which is "more complicated" than what here?

Isn't it that you want your machine set up such that a certain program runs upon tcp connection to a certain port, with that socket IO being standard input/output for the program? Since that notion is almost as old as me, there are more than a few ways available for it, including those packages, as well as direct approaches using nc or socat.

I think I would do this by adding a start-up script to start the port service when I log in to the desktop management system, with the particular port service I have chosen; probably using micro-inetd, which has this as its central use case. If I would find myself wanting similar but different set ups for several ports, I would probably eventually move over to be using openbsd-inetd instead. But I know folks that certainly would make other choices.

Board footer

Forum Software