[DNG] curated list of news

2015-08-25 Thread Jaromil
FYI just found out devuan on voat https://voat.co/v/devuan to whoever concerns, thanks for curating this section! ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Re: [DNG] netman GIT project

2015-08-25 Thread Edward Bartolo
Since eth0 is usually configured in /etc/network/interfaces, and a normal installation creates a functioning interfaces file, I think, it is better to leave what works unchanged. The backend can be modified a little to call "ifup eth0", and if more than one ethX exist, which is highly improbable on

Re: [DNG] netman GIT project

2015-08-25 Thread tilt!
Hi Edward, On 08/25/2015 12:51 PM, Edward Bartolo wrote: [...] Please accept merge request #1 "cleanup of backend binaries". I forgot to add backend_src to the cleanup routine. Kind regards, T. ___ Dng mailing list Dng@lists.dyne.org https://mailin

Re: [DNG] netman GIT project

2015-08-25 Thread Edward Bartolo
Hi Tilman Kranz, What should I do? Could give me more details as to what I should do, please? Edward On 25/08/2015, tilt! wrote: > Hi Edward, > > On 08/25/2015 12:51 PM, Edward Bartolo wrote: >> [...] > > Please accept merge request #1 "cleanup of backend binaries". > > I forgot to add backend

Re: [DNG] netman GIT project

2015-08-25 Thread Rainer Weikusat
"tilt!" writes: > Hi Edward, > > On 08/25/2015 12:51 PM, Edward Bartolo wrote: >> [...] > > Please accept merge request #1 "cleanup of backend binaries". Two random remarks: , | size_t essid_safe_strlen(uint8_t * bytes) | { | size_t result; | | if(!bytes) | return

Re: [DNG] netman GIT project

2015-08-25 Thread tilt!
Hi, On 08/25/2015 02:09 PM, Rainer Weikusat wrote: > Considering that this enforces some kind of 'bastard URL-encoding' > (using + as prefix instead of %) for all other bytes, it's also going > make people who believe that UTF-8 would be a well supported way to > represent non-ASCII characters ve

Re: [DNG] netman GIT project

2015-08-25 Thread Rainer Weikusat
"tilt!" writes: > On 08/25/2015 02:09 PM, Rainer Weikusat wrote: >> Considering that this enforces some kind of 'bastard URL-encoding' >> (using + as prefix instead of %) for all other bytes, it's also going >> make people who believe that UTF-8 would be a well supported way to >> represent non-AS

Re: [DNG] netman GIT project

2015-08-25 Thread Hendrik Boom
On Tue, Aug 25, 2015 at 01:09:27PM +0100, Rainer Weikusat wrote: > "tilt!" writes: > > > Hi Edward, > > > > On 08/25/2015 12:51 PM, Edward Bartolo wrote: > >> [...] > > > > Please accept merge request #1 "cleanup of backend binaries". > > Two random remarks: > > , > | size_t essid_safe_strl

Re: [DNG] netman GIT project

2015-08-25 Thread Irrwahn
On Tue, 25 Aug 2015 13:09:27 +0100, Rainer Weikusat wrote: > , > | uint8_t essid_allowed_chars[] = > "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-"; > | > | [...] > | > | int essid_allowed_char(uint8_t c) { > | size_t i; > | size_t k; > | > | int rv; > | > |

Re: [DNG] remove systemd for the love of Yog-Sothoth already

2015-08-25 Thread Svante Signell
On Mon, 2015-08-24 at 17:09 +0200, aitor_czr wrote: > Hi Svante, > > Pristine-tar branch guarantees a constant checksum in the sources > *.bz2. The packager should not make changes in the source (this is > only for the developer), all the changes must be done in the debian > branch using quilt. Sh

Re: [DNG] netman GIT project

2015-08-25 Thread Irrwahn
On Tue, 25 Aug 2015 13:49:39 +0100, Rainer Weikusat wrote: > "tilt!" writes: >> On 08/25/2015 02:09 PM, Rainer Weikusat wrote: >>> Considering that this enforces some kind of 'bastard URL-encoding' >>> (using + as prefix instead of %) for all other bytes, it's also going >>> make people who believ

Re: [DNG] netman GIT project

2015-08-25 Thread Rainer Weikusat
Irrwahn writes: > On Tue, 25 Aug 2015 13:49:39 +0100, Rainer Weikusat wrote: >> "tilt!" writes: >>> On 08/25/2015 02:09 PM, Rainer Weikusat wrote: Considering that this enforces some kind of 'bastard URL-encoding' (using + as prefix instead of %) for all other bytes, it's also going >>>

Re: [DNG] netman GIT project

2015-08-25 Thread Edward Bartolo
Quote: Rainer Wrote: < my_little_vector_that_can_hold_anything; OR, if my memory serves me right, C's: void** weirdo_var; Therefore, to push variables onto the list, it requires type casting, which is fully supported, and dynamic allocation functions to allocate and FREE memory. On 25/08/2015, I

Re: [DNG] netman GIT project

2015-08-25 Thread tilt!
Am 25. August 2015 15:52:15 MESZ, >As mentioned above: if there is any real issue with the code at all, it >is >the fact that null characters (zero bytes) are not handled correctly by >the >code. But that's a feat it has in common with many consumer WiFi >appliance >configuration utilities (a

Re: [DNG] netman GIT project

2015-08-25 Thread Edward Bartolo
OOOps: type TDynamicRecord = record RecordTypeID: integer; ActualRecord: Pointer; end; should be: type TDynamicRecord = record RecordTypeID: TRecordTypeID; ActualRecord: Pointer; end; On 25/08/2015, Edward Bartolo wrote: > Quote: Rainer Wrote: > < > > A unal

Re: [DNG] netman GIT project

2015-08-25 Thread Edward Bartolo
We can easily avoid having to encode ESSIDs by creating a file containing a texual lookup table as the following, but since the project is already functional, it looks like rebuilding a house that is already habitable. essid1"my little wifi at home" essid2"oops, wifi at my partner's!" essi

Re: [DNG] netman GIT project

2015-08-25 Thread tilt!
Am 25. August 2015 16:52:41 MESZ, schrieb Edward Bartolo : >We can easily avoid having to encode ESSIDs by creating a file >containing a texual lookup table as the following, but since the >project is already functional, it looks like rebuilding a house that >is already habitable. > >essid1"m

Re: [DNG] netman GIT project

2015-08-25 Thread Irrwahn
On Tue, 25 Aug 2015 15:24:01 +0100, Rainer Weikusat wrote: > Irrwahn writes: >> It is totally sensible to break down the character set to something that >> is more or less guaranteed to be valid for building names in any file >> system currently in use on this planet. > > This targets Linux wi

Re: [DNG] A better default windows manager

2015-08-25 Thread Joerg Reisenweber
On Sun 26 July 2015 23:18:58 Steve Litt wrote: > You can roll your own automount with one day's work using inotify-wait, > dmesg, sudo, lsblk, and the mount command. Works without X or window > manager. Heck, I'll do it myself if more than 20 people want it. +1 /j signature.asc Description: This

Re: [DNG] netman GIT project

2015-08-25 Thread Edward Bartolo
For the attention of the packager: I found a way of using a pascal compiler command to compile the Lazarus project without having Lazarus running. The procedure is as follows: cd to-directory-containing-sources Issue this weirdo-of-a-command: fpc-2.6.4 -MObjFPC -Scghi -O1 -Tlinux -g -gl -vewn

Re: [DNG] netman GIT project

2015-08-25 Thread Irrwahn
On Tue, 25 Aug 2015 17:02:55 +0200, Tilt! wrote: > > > Am 25. August 2015 16:52:41 MESZ, schrieb Edward Bartolo : >> We can easily avoid having to encode ESSIDs by creating a file >> containing a texual lookup table as the following, but since the >> project is already functional, it looks like r

Re: [DNG] netman GIT project

2015-08-25 Thread Rainer Weikusat
Irrwahn writes: > On Tue, 25 Aug 2015 17:02:55 +0200, Tilt! wrote: >> Am 25. August 2015 16:52:41 MESZ, schrieb Edward Bartolo : >>> We can easily avoid having to encode ESSIDs by creating a file >>> containing a texual lookup table as the following, but since the >>> project is already functional

Re: [DNG] netman GIT project

2015-08-25 Thread Edward Bartolo
Rethinking about it, there is no need to use the ESSID in the table. A table like the following would do the job neatly, in my humble opinion. ESSIDs are already saved in the interfaces files, so a table like the following is enough: 1 "my little wifi at home" 2 "my wifi at work" 3

Re: [DNG] A better default windows manager

2015-08-25 Thread Steve Litt
On Tue, 25 Aug 2015 17:29:43 +0200 Joerg Reisenweber wrote: > On Sun 26 July 2015 23:18:58 Steve Litt wrote: > > You can roll your own automount with one day's work using > > inotify-wait, dmesg, sudo, lsblk, and the mount command. Works > > without X or window manager. Heck, I'll do it myself if

Re: [DNG] xfce not shutting down on Devuan

2015-08-25 Thread adamdm
I solved installing slim and enabling the auto-login. Even using your config startx didn't worked out... Thank you all! signature.asc Description: OpenPGP digital signature ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/

Re: [DNG] netman GIT project

2015-08-25 Thread Irrwahn
On Tue, 25 Aug 2015 17:06:52 +0100, Edward Bartolo wrote: > Rethinking about it, there is no need to use the ESSID in the table. > A table like the following would do the job neatly, in my humble > opinion. ESSIDs are already saved in the interfaces files, so a table > like the following is enough

Re: [DNG] netman GIT project

2015-08-25 Thread Steve Litt
On Tue, 25 Aug 2015 17:06:52 +0100 Edward Bartolo wrote: > Rethinking about it, there is no need to use the ESSID in the table. > A table like the following would do the job neatly, in my humble > opinion. ESSIDs are already saved in the interfaces files, so a table > like the following is enoug

Re: [DNG] netman GIT project

2015-08-25 Thread Steve Litt
On Tue, 25 Aug 2015 17:06:52 +0100 Edward Bartolo wrote: > Rethinking about it, there is no need to use the ESSID in the table. > A table like the following would do the job neatly, in my humble > opinion. ESSIDs are already saved in the interfaces files, so a table > like the following is enoug

Re: [DNG] netman GIT project

2015-08-25 Thread karl
Tilt!: > i wonder if we ever get to see such SSIDs from iwlist anyway - > how is it supposed to print SSIDs that contain the zerobyte ... iwlib.c line 989..995: /* Is it a non-ASCII character ??? */ if(isescape || !isascii(*s) || iscntrl(*s)) { /* Escape */

Re: [DNG] netman GIT project

2015-08-25 Thread Irrwahn
On Tue, 25 Aug 2015 19:24:17 +0200 (CEST), Karl wrote: > Tilt!: >> i wonder if we ever get to see such SSIDs from iwlist anyway - >> how is it supposed to print SSIDs that contain the zerobyte ... > > iwlib.c line 989..995: > /* Is it a non-ASCII character ??? */ > if(isescape || !isas

Re: [DNG] netman GIT project

2015-08-25 Thread karl
Irrwahn: > On Tue, 25 Aug 2015 19:24:17 +0200 (CEST), Karl wrote: > > Tilt!: > >> i wonder if we ever get to see such SSIDs from iwlist anyway - > >> how is it supposed to print SSIDs that contain the zerobyte ... > > > > iwlib.c line 989..995: > > /* Is it a non-ASCII character ??? */ > >

Re: [DNG] netman GIT project

2015-08-25 Thread Irrwahn
On Tue, 25 Aug 2015 20:20:20 +0200 (CEST), Karl wrote: > Irrwahn: >> On Tue, 25 Aug 2015 19:24:17 +0200 (CEST), Karl wrote: >>> Tilt!: i wonder if we ever get to see such SSIDs from iwlist anyway - how is it supposed to print SSIDs that contain the zerobyte ... >>> >>> iwlib.c line 989..9

Re: [DNG] netman GIT project

2015-08-25 Thread Edward Bartolo
Since, netman does not touch /etc/network/interfaces, the system should still be able to connect using a wired connection to ethX. Obviously, the interface has to be activated using ifup ethX. Therefore, to use a wired connection, the backend should use /etc/network/interfaces as an interfaces file

Re: [DNG] Mirroring Devuan

2015-08-25 Thread karl
Jaromil: > we haven't yet worked on the mirroring mechanism, but we will > > once done, there will be a script and it will be easy > I guess it will be a sort of amprolla satellite process > so that the mirror redirection will be handled by nextime's software ... I would be good if one could have

Re: [DNG] netman GIT project

2015-08-25 Thread Irrwahn
On Tue, 25 Aug 2015 21:16:08 +0100, Edward Bartolo wrote: > On 25/08/2015, Irrwahn wrote: >> On Tue, 25 Aug 2015 20:20:20 +0200 (CEST), Karl wrote: >>> Irrwahn: On Tue, 25 Aug 2015 19:24:17 +0200 (CEST), Karl wrote: > Tilt!: >> i wonder if we ever get to see such SSIDs from iwlist any

Re: [DNG] remove systemd for the love of Yog-Sothoth already

2015-08-25 Thread aitor_czr
Hi again, I recomend you to use pristine-tar in combination with git-buildpackage. *** EXAMPLE 1: HOW TO GET THE SOURCES USING PRISTINE-TAR 1) Download any git repository (for example, systemd): $ git clone https://gitlab.com/aitor_cz/bulmages.git 2) Enter into the project

Re: [DNG] Mirroring Devuan

2015-08-25 Thread aitor_czr
Hi, Jaromil, I did something similar in January, but it took me so long... I have the script in another hard disk. I will reanalize it (whenever i have the time) and share with you. I suppose rsync woult be the best tool to mantain the repository. I don't know if it would be better than Amprol

Re: [DNG] netman GIT project

2015-08-25 Thread Isaac Dunham
On Tue, Aug 25, 2015 at 10:35:21PM +0200, Irrwahn wrote: > On Tue, 25 Aug 2015 21:16:08 +0100, Edward Bartolo wrote: > > The contents of interfaces files created by backend are as follows, > > but if necessary, we can create more than more template, although it > > doesn't look it will be necessary

Re: [DNG] netman GIT project

2015-08-25 Thread Edward Bartolo
I am being suggested to do away with sudo dependency to run the backend with root privileges. I will modify the frontend's code to run the backend without sudo, but this will require one to use change the backend's SUID to that of root. Today, if my concentration permits, I will try to add suppor

Re: [DNG] netman GIT project

2015-08-25 Thread Steve Litt
On Wed, 26 Aug 2015 05:39:36 +0100 Edward Bartolo wrote: > I am being suggested to do away with sudo dependency to run the > backend with root privileges. Wait a minute. Isn't the back end a daemon run at boot time? As such, why not run it as root, given that wpa_supplicant requires root privil