[Dng] Is debootstrap available in Devuan?

2015-04-27 Thread Edward Bartolo
I would like to install debootstrap so that I can start attempting to test Devuan installations on my machines giving feedback in the process. I think, it is wise to have the patched debootstrap ready to start my transition from Debian to Devuan. Thanks. __

[Dng] Feedback installing Devuan through debootstrap in Debian Testing.

2015-04-29 Thread Edward Bartolo
I am using the Devuan patched debootstrap in Debian Testing. debootstrap failed with the following message: # debootstrap --arch amd64 stable /mnt/sda8 http://packages.devuan.org/devuan I: Retrieving Release I: Retrieving Release.gpg I: Checking Release signature E: Release signed by unknown key (

Re: [Dng] Feedback installing Devuan through debootstrap in Debian Testing.

2015-04-29 Thread Edward Bartolo
magic version number from file /mnt/sda8/: Is a directory chroot: failed to run command 'mount': No such file or directory dpkg-deb: error: error reading archive magic version number from file /mnt/sda8/: Is a directory chroot: failed to run command 'mount': No such file or d

Re: [Dng] still failing to install Devuan through debootstrap

2015-05-02 Thread Edward Bartolo
I downloaded debootstrap's source from: https://git.devuan.org/packages-base/debootstrap and built a .deb package on Debian Testing. Then, I used the freshly installed debootstrap to install Devuan as follows: # debootstrap --arch amd64 jessie /mnt/sda8 http://packages.devuan.org/devuan W: Cannot

[Dng] I used Devuan's debootstrap and installed Devuan. :)

2015-05-02 Thread Edward Bartolo
The command I used: debootstrap --arch amd64 jessie /mnt/sda8 http://packages.devuan.org/merged /mnt/sda8 is the partition where Devuan was installed. I will now start testing Devuan. ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.o

[Dng] The new running installation of Devuan.

2015-05-03 Thread Edward Bartolo
The new running installation of Devuan is reminding me of the good old days of Lenny. The memory use is impressive. At boot, with Compositing Enabled: edbarx@devuan-inst:~$ free -m total used free sharedbuffers cached Mem: 1940248 1692 38

Re: [Dng] why someone might want systemd on devuan

2015-05-05 Thread Edward Bartolo
I will only say a few words. The purpose of Devuan was to promote software freedom and more specifically software choice. If systemd & Co. change drastically, which is clearly very unlikely to happen, it will be a completely another situation, and systemd & Co. may start forming part of a project

[Dng] Is it useful to create a .so file to replace functions imported from libsystemd & Co.?

2015-05-05 Thread Edward Bartolo
I am using lsof together with objdump -T executable to determine what systemd functions are imported by essential XFCE4 executables. For instance, this is for /usr/lib/gvfs/gvfs-udisks2-volume-monitor: DF *UND* LIBSYSTEMD_209 sd_session_get_seat 00

[Dng] Which source version fo systemd are you stripping code from?

2015-05-07 Thread Edward Bartolo
Since I have time on my hands, I would like to give a try stripping the bare minimum of necessary functions from systemd. I know the task is complex. If I fail, it will not be the end of the universe. Which systemd source version are you using? I am assuming it should be version: 215-17 from Debia

Re: [Dng] Is it useful to create a .so file to replace functions imported from libsystemd & Co.?

2015-05-18 Thread Edward Bartolo
xfce4-power-manager, xfce4-session, upowerd don't look like using libsystemd directly. I found many functions imported from udev but my assumption is that these are already provided by gudev although I may be wrong. My XFCE4 installation in Devuan cannot shutdown or restart as these options for so

Re: [Dng] Is it useful to create a .so file to replace functions imported from libsystemd & Co.?

2015-05-18 Thread Edward Bartolo
Did you modify the source code for consolekit2. If you downloaded the source, could you tell me from where and what you did? Thanks. On 18/05/2015, David Hare wrote: > On 18/05/15 12:20, Edward Bartolo wrote: > >> My XFCE4 installation in Devuan cannot shutdown or restart as thes

[Dng] Fwd: Lennart reacts to the release of Devuan

2015-05-31 Thread Edward Bartolo
To state the obvious, public figures are invariably criticized and ridiculed, sometimes in a cruel manner. A high dose of humour usually heals wounds caused by aggressive criticism. Humour has no side effects apart from a more balanced view of the world. -

[Dng] Need some advice to compile consolekit2 for amd64

2015-06-04 Thread Edward Bartolo
I am trying to compile ConsoleKit2 source for amd64 but I am getting this error: dpkg-checkbuilddeps: Unmet build dependencies: libdbus-glib-1-dev (>= 0.30) libudev-dev libx11-dev (>= 1.0.0) xmlto libpolkit-gobject-1-dev (>= 0.92) Is it safe to install these files on a Devuan system? I want to av

[DNG] Unmingling kdbus and the Linux kernel

2015-08-02 Thread Edward Bartolo
Sir, I would like someone from Devuan to reply how Devuan DDs are going to rid the Linux kernel when kdbus becomes integrated in it. I am finding this latest news a heavy blow below the belt, as the kernel is usually reserved for highly qualified and highly skilled coders. Thanks for your time.

Re: [DNG] Unmingling kdbus and the Linux kernel

2015-08-03 Thread Edward Bartolo
ryn writes: >> Le 03/08/2015 12:03, Rainer Weikusat a écrit : >>> Edward Bartolo writes: >>>> I would like someone from Devuan to reply how Devuan DDs are going to >>>> rid the Linux kernel when kdbus becomes integrated in it. I am finding >>>>

Re: [DNG] Unmingling kdbus and the Linux kernel

2015-08-03 Thread Edward Bartolo
Quote: "JFTR: I was adressing the person who wrote the original mail (to come up with something with more substance)." I begged you pardon. What are you, a monster without feelings?! At least, be decent to accept my apology. Edward. On 03/08/2015, Hendrik Boom wrote:

Re: [DNG] Unmingling kdbus and the Linux kernel

2015-08-03 Thread Edward Bartolo
To: Steve Litt I was angry because my apology was not accepted. Thanks for replying in a respectful way. Edward ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Re: [DNG] Init scripts in packages

2015-08-07 Thread Edward Bartolo
Simplification of init scripts can be done by replacing them with a text file containing the following: a) preliminary logic tests to verify whether daemon can be started b) command to start daemon together with parameters c) command to stop daemon with parameters if applicable Only two lines will

Re: [DNG] Mission Creap

2015-08-08 Thread Edward Bartolo
What is wrong in using "shutdown -h now"? I use it whenever I boot my Devuan installation 64 bit. Don't tell me opening a terminal, typing 'su' and the root password, is geeky stuff! On 08/08/2015, Dave Turner wrote: > On 08/08/15 13:58, Rainer Weikusat wrote: >> Dave Turner writes: >> >> [many

[DNG] Install Devuan without network/WIFI access

2015-08-13 Thread Edward Bartolo
I am trying to figure out how I should go to install Devuan without having network access. I remember I had serious problems installing Debian as none of the network interfaces was recognized. This also includes WIFI. The reason for prefering to use debootstrap is lack of network recognition during

Re: [DNG] Install Devuan without network/WIFI access

2015-08-14 Thread Edward Bartolo
Please, ignore this email. I successfully used the netboot iso to install Devuan 64 bit. My sincere thanks go to all those are giving their time for the project. Thanks to all involved. On 13/08/2015, Edward Bartolo wrote: > I am trying to figure out how I should go to install Devuan with

[DNG] Using apt pinning to block systemd in DEVUAN 64 bit

2015-08-15 Thread Edward Bartolo
I tried to install xfce4-power-manager which tried to pull in systemd. Does it harm my new installation of DEVUAN to use apt pinning to block packages like libsystemd0 and systemd? ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-

Re: [DNG] Systemd Shims

2015-08-16 Thread Edward Bartolo
I would like to humbly add my little contribution to this thread. I am posting using Devuan 64 bit connected to a home WIFI without any network managers. I connect by using separate /etc/network/interfaces files. The one for my home wifi is in /etc/network/interfaces while the rest are saved under

Re: [DNG] Systemd Shims

2015-08-16 Thread Edward Bartolo
, I can start working on this, as this seems to be possible. On 16/08/2015, Edward Bartolo wrote: > I think, there is no need of providing a graphical dialog for users as > a shell can be made to automatically open asking for the ESSID and > password interactively. I think, I can start w

Re: [DNG] Systemd Shims

2015-08-16 Thread Edward Bartolo
Forget about the CLI program or daemon. I can create a window with the following features. Then, we can decide about the backends. We can avoid having a full fledged sudo setup by ONLY allowing the few backends to work with it. This should help securitywise. Propose GUI: Main window with: a) list

Re: [DNG] Systemd Shims

2015-08-16 Thread Edward Bartolo
your opinion first. Edward On 17/08/2015, Edward Bartolo wrote: > Forget about the CLI program or daemon. I can create a window with the > following features. Then, we can decide about the backends. We can > avoid having a full fledged sudo setup by ONLY allowing the few > backends

[DNG] Graphical Network Manager without systemd & Co. dependencies

2015-08-17 Thread Edward Bartolo
I am starting a new thread as the other thread is about systemd shims. I will start using Lazarus for the GUI and then start the C++ backend which will run with root privileges thanks to sudo configured to only run the backend. For anyone's information, this is how it will be: Main Window: ESSID

Re: [DNG] Systemd Shims

2015-08-17 Thread Edward Bartolo
; procedure Backend_Scan(aListBox: TListBox); begin // backend opScan stringlist end; procedure Backend_Load_Existing(aListBox: TListBox); begin // backend opLoadExisting stringlist end; end. - On 17/08/2015, Edward Bartolo wrote: > The Progress of

Re: [DNG] Systemd Shims

2015-08-18 Thread Edward Bartolo
Lazarus frontend can now run external programs capturing their textual output. Hopefully, within a few days, the frontend will be Alpha. :) On 17/08/2015, Edward Bartolo wrote: > The Lazarus backend interface unit is as follows but still unfinis

Re: [DNG] Systemd Shims

2015-08-18 Thread Edward Bartolo
. Edward. On 18/08/2015, Edward Bartolo wrote: > Lazarus frontend can now run external programs capturing their textual > output. Hopefully, within a few days, the frontend will be Alpha. :) > > On 17/08/2015, Edward Bartolo wrote: >> The Lazarus backend interface unit is as

Re: [DNG] Systemd Shims

2015-08-18 Thread Edward Bartolo
If there is a technical reason as to why not to use ifup, please inform me. On 18/08/2015, Edward Bartolo wrote: > Maybe setting "poStderrToOutPut" > > BINGO! That was it. Now it can capture the output even as root. > > I had a look at wpa_supplicant.conf and found it i

Re: [DNG] Systemd Shims

2015-08-18 Thread Edward Bartolo
Maybe setting "poStderrToOutPut" BINGO! That was it. Now it can capture the output even as root. I had a look at wpa_supplicant.conf and found it is an XML file having to do with dbus apparently. For the last five years I have been using ifup manually to connect whenever I didn't have a network

Re: [DNG] Systemd Shims

2015-08-18 Thread Edward Bartolo
The Progress of My Coding Till Now: I am attaching two images of the GUI's main window and the only dialog. The GUI is programmed in Lazarus Pascal. The backend is in C. The code till now, although it doesn't do anything useful. -- #include #include #

Re: [DNG] Systemd Shims

2015-08-18 Thread Edward Bartolo
Successfully connected to wifi with the frontend and backend communicating. But there are still problems regarding text capture. It will take more tedious debugging time... but in the end, it should work, hopefully. > On 18/08/2015, Edward Bartolo wrote: >> A) I am at the stage of

Re: [DNG] Systemd Shims

2015-08-19 Thread Edward Bartolo
case opScan: i = scan(); return i; case opLoadExisting: i = loadExisting(); return i; } ret

Re: [DNG] Systemd Shims

2015-08-19 Thread Edward Bartolo
19/08/2015, Edward Bartolo wrote: > This is giving some trouble. > > iwlist wlan0 scanning > > fails when there is no connection. This is something like needing the > egg before the chicken. > > The application works and can be considered Alpha Stage. I am using it > to c

Re: [DNG] Edward's Roaming handler: was Systemd Shims

2015-08-19 Thread Edward Bartolo
Ooops, more instructions to setup sudo to allow only the backend to run by all users or whatever you decide. Modify the /etc/sudoers file to include: ALL ALL=NOPASSWD: /path/to/backend/backend On 19/08/2015, Edward Bartolo wrote: > I am uploading the sources for anyone wanting to h

Re: [DNG] Edward's Roaming handler: was Systemd Shims

2015-08-19 Thread Edward Bartolo
debugging, simply have to ask me to upload it. Thanks. On 19/08/2015, Edward Bartolo wrote: > Ooops, more instructions to setup sudo to allow only the backend > to run by all users or whatever you decide. > > Modify the /etc/sudoers file to include: > > ALL ALL=NOPASSWD: /path/

Re: [DNG] Systemd Shims

2015-08-19 Thread Edward Bartolo
:46:36PM +0200, Laurent Bercot wrote: >> On 19/08/2015 15:29, Edward Bartolo wrote: >> >This is the completed C backend with all functions tested to work. Any >> >suggestions as to modifications are welcome. >> >> OK, someone has to be the bad guy. Let it be me. &g

Re: [DNG] Systemd Shims

2015-08-19 Thread Edward Bartolo
f the coder, and I like that. On 19/08/2015, Rainer Weikusat wrote: > Rainer Weikusat writes: > >> Edward Bartolo writes: >>> I am not assuming anything and understand the risks of buffer >>> overflows. The first step I am taking is to make the code function. >

Re: [DNG] Systemd Shims

2015-08-19 Thread Edward Bartolo
I have corrected the way files are saved according to what I was suggested. I also added preventive code to cause the program to exit whenever essid are longer than 100 characters and passwords longer than 200 characters. The program simply issues a error message telling why it refused to execute t

Re: [DNG] Systemd Shims

2015-08-19 Thread Edward Bartolo
As it is, the frontend can connect on user request. The user can run the frontend application, click connect and terminate the application and the connection will continue to be functional. This is real KISS in practice but I can also make the application automatically run on startup of the OS. Th

Re: [DNG] Systemd Shims

2015-08-20 Thread Edward Bartolo
current limits. Please be aware that no pre-installation and post-installation scripts will be included. If you want me to write those, it will be yet another challenge. Edward On 20/08/2015, John Morris wrote: > On Mon, 2015-08-17 at 06:48 +0100, Edward Bartolo wrote: >> The backen

Re: [DNG] Systemd Shims

2015-08-20 Thread Edward Bartolo
responsible for calling the backend with root privileges. On 20/08/2015, Edward Bartolo wrote: > The time for repository upload is approaching... > > Since, I am only a humble amateur coder, I still have not figured out > how to create a proper Debian source package. This means, I wi

Re: [DNG] Systemd Shims

2015-08-20 Thread Edward Bartolo
This is a link for the network-manager GUI running under Devuan 64 bit. http://s9.postimg.org/57gjwuopr/functional_network_manager_GUI.png On 20/08/2015, Edward Bartolo wrote: > I am uploading a screenshot of the network manager GUI. As you can > see, it is functional, but like anything

Re: [DNG] Systemd Shims

2015-08-20 Thread Edward Bartolo
I will now organise the backend's source into separate files using header files and source files. This to make the code more manageable and to ease the life of anyone wanting to fork it. On 20/08/2015, Edward Bartolo wrote: > This is a link for the network-manager GUI running under Devua

Re: [DNG] Systemd Shims

2015-08-20 Thread Edward Bartolo
I reorganised the C source code into header files and C code files. I also tested the backend to make sure the reorganisation of the code did not impact its functionality. I also included several 'patches' as suggested and made sure strcat does behave properly. Needless to state the obvious this c

Re: [DNG] Systemd Shims

2015-08-20 Thread Edward Bartolo
It is becoming clear, the frontend GUI will need multithreading. I will try to use the TThread class to derive a descendant. On 20/08/2015, Edward Bartolo wrote: > I reorganised the C source code into header files and C code files. I > also tested the backend to make sure the reorganisat

Re: [DNG] Systemd Shims

2015-08-20 Thread Edward Bartolo
(Channel 11) Quality=30/70 Signal level=-80 dBm Encryption key:on ESSID:"Home WiFi" >>>>>>>>>>>>>>> On 20/08/2015, Steve Litt wrote: > On Thu, 20 Aug 2015 22:28:45 +0200 > Didier K

Re: [DNG] Systemd Shims

2015-08-21 Thread Edward Bartolo
At long last, the backend runs without the frontend having for it to finish as I wished. This got rid of frontend hangs. On 21/08/2015, Steve Litt wrote: > On Fri, 21 Aug 2015 06:47:13 +0100 > Edward Bartolo wrote: > >> Parsing headaches: >> >> I have this chunk

Re: [DNG] Systemd Shims

2015-08-21 Thread Edward Bartolo
enjoyed by anyone wanting software freedom. Edward On 21/08/2015, Edward Bartolo wrote: > At long last, the backend runs without the frontend having for it to > finish as I wished. This got rid of frontend hangs. > > > > On 21/08/2015, Steve Litt wrote: >> On Fri, 21

Re: [DNG] Systemd Shims

2015-08-21 Thread Edward Bartolo
. Hopefully, users find it useful. On 21/08/2015, Edward Bartolo wrote: > I think, I can also upload the Lazarus code of the frontend. I am > using the application, and for those who love the principle of "Keep > it simple stuptid", it is a nice simple application which is run on &g

Re: [DNG] Systemd Shims

2015-08-21 Thread Edward Bartolo
This is a screenshot. It is not the type of Microsoft Aero designs but it functions and it gives the necessary information while respecting the intelligence of users. http://s17.postimg.org/6frwnwmhb/2015_08_22_070752_1600x900_scrot.png On 22/08/2015, Edward Bartolo wrote: > GUI frontend

Re: [DNG] C string handling

2015-08-23 Thread Edward Bartolo
My 'irrational' choice of C language for backend. As a coder, I lack knowledge and experience. This is plain clear from the code I can write, but I offered my very limited coding capabilities to help, notwithstanding I knew, I would have been a dwarf among giants. I opted out of choosing Lazarus

Re: [DNG] frontend GUI implementation

2015-08-23 Thread Edward Bartolo
Although I have a working Lazarus written frontend, I am getting the message, it may not be accepted in Devuan, for the reason it is written in Lazarus Pascal. Therefore, I am considering taking the leap of trying to rewrite it for GTK2 or GTK3, the implementation language being C++. However, this

Re: [DNG] frontend GUI implementation

2015-08-23 Thread Edward Bartolo
There is a unit called threader.pas that is not used. Please, discard it as it has errors. On 23/08/2015, Edward Bartolo wrote: > I am sending a .tar.gz file with the Lazarus project together with the > compiled executable. The latter is named netman and is found together > with t

Re: [DNG] xfce not shutting down on Devuan

2015-08-23 Thread Edward Bartolo
Could we create a simple application that displays a logout modal window similar to the one displayed by xfce4, remove the default logout menu item from xfce4 and create our own one. With GTK2 it shouldn't be that difficult to create it? We would only need to setup sudo to run the littel GTK2 app.

Re: [DNG] xfce not shutting down on Devuan

2015-08-23 Thread Edward Bartolo
> >> Why not just use what's there and either fix or replace the broken bits. >> >> D >> >> On 24/08/15 16:53, Edward Bartolo wrote: >>> Could we create a simple application that displays a logout modal >>> window similar to the one displayed by

Re: [DNG] xfce not shutting down on Devuan

2015-08-24 Thread Edward Bartolo
If that is the case, how do I get the 'suspend' and 'hibernate' buttons? I have pm-utils installed and I am using Devuan 64 bit. On 24/08/2015, iguleder wrote: > apt-get update;apt-get -y upgrade > > I've spent many nights debugging power/session management issues in Xfce on > Devuan - all confir

Re: [DNG] frontend GUI implementation

2015-08-24 Thread Edward Bartolo
g the executables. I edited one line in the Lazarus code for the frontend and the problem has been resolved: To correct the issue edit 'backend.pas' as follows: AProcess.Parameters.Add(ExtractFileDir(Application.ExeName) + '/' + exe); On 23/08/2015, Edward Bartolo wrote:

Re: [DNG] frontend GUI implementation

2015-08-24 Thread Edward Bartolo
The line number is 117. On 24/08/2015, Edward Bartolo wrote: > I have just discovered a BUG in the frontend. > > When the frontend is invoked through the use of a launcher, the > backend's environment path will not be the directory to which the > front end and backend are in

Re: [DNG] frontend GUI implementation

2015-08-24 Thread Edward Bartolo
It is in an earlier reply in this same email thread: 23 August 2015 at 16:49 Malta time which should be equal to Germany time. On 24/08/2015, tilt! wrote: > Ok, got the line number - but where's the code :-D > > On 08/24/2015 10:11 AM, Edward Bartolo wrote: >> Th

Re: [DNG] netman GIT project

2015-08-25 Thread Edward Bartolo
, so that people see that it's your project, not mine! :-D > > To do this: > > 1. Log into gitlab > 2. Go to https://git.devuan.org/tilt/netman/edit > 3. Scroll down until you see "Transfer project" > 4. You should see "edbarx" as a namespace option

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 bina

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 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: > &

Re: [DNG] netman GIT project

2015-08-25 Thread Edward Bartolo
at my partner's!" essid3"wifi at work, without my boss' knowing" essid4"wifi at library" Ok, you get it. No need of encoding anything and the user can describe his wifi with whatever he deems justified. Edward On 25/08/2015, Edward Bartolo wro

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 Edward Bartolo
t this, but I need the opinion of others. Edward On 25/08/2015, Irrwahn wrote: > 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

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] netman GIT project

2015-08-25 Thread Edward Bartolo
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 l

Re: [DNG] netman GIT project

2015-08-27 Thread Edward Bartolo
I don't think it is necessary to daemonise the backend as connection to and disconnecting from a network is not something that is done continuously. Therefore, in my humble opinion, running the backend on request seems to be the best approach. This also avoids additional complexity of requiring a d

Re: [DNG] netman GIT project

2015-08-27 Thread Edward Bartolo
I am trying to write a C function to start the wired network interfaces eth0, eth1 up to eth2. This is how I wrote it, but I would like your opinion about it especially where I should declare err. The attachment is best viewed with medit with a tab space of 2. On 27/08/2015, Edward Bartolo

Re: [DNG] netman GIT project

2015-08-27 Thread Edward Bartolo
Oooops, forgot the attachment! Here it is. On 27/08/2015, Edward Bartolo wrote: > I am trying to write a C function to start the wired network > interfaces eth0, eth1 up to eth2. This is how I wrote it, but I would > like your opinion about it especially where I should declare err

Re: [DNG] netman GIT project

2015-08-27 Thread Edward Bartolo
Nevermind, I spotted the idiocy I was doing, trying to use a system error type for a custom error! The solution is to declare an error constant and display a error description. Edward On 27/08/2015, Edward Bartolo wrote: > Oooops, forgot the attachment! Here it is. > > On 27/08/201

Re: [DNG] netman GIT project

2015-08-27 Thread Edward Bartolo
regarding automating wifi connections. On 27/08/2015, Steve Litt wrote: > On Thu, 27 Aug 2015 08:14:39 +0100 > Edward Bartolo wrote: > >> I don't think it is necessary to daemonise the backend as connection >> to and disconnecting from a network is not something that is don

Re: [DNG] netman GIT project

2015-08-27 Thread Edward Bartolo
hould be called as ifup, ifdown, or ifquery" Any pointers as to what is the cause are appreciated. Edward On 27/08/2015, Steve Litt wrote: > On Thu, 27 Aug 2015 14:18:02 +0100 > Edward Bartolo wrote: > >> >> Now, in the case of frequently changing wifi hotspots, the fro

Re: [DNG] netman GIT project

2015-08-27 Thread Edward Bartolo
015, Steve Litt wrote: > On Thu, 27 Aug 2015 15:40:49 +0100 > Edward Bartolo wrote: > >> I added another function to core_functions.c. It attempts to connect >> to eth0 but for some weird reason, probably a bug not from our part, >> it is failing. >> >> T

Re: [DNG] netman GIT project

2015-08-27 Thread Edward Bartolo
thread to simplify the code, although I am confident this can be achieved from the main thread without crippling it. However, without a separate thread, the code will be far more complex and difficult to read. I am opting for a separate thread. Edward On 27/08/2015, Edward Bartolo wrote: >

Re: [DNG] netman GIT project

2015-08-28 Thread Edward Bartolo
27/08/2015, Edward Bartolo wrote: > Also successfully detected multiple simultaneously active connections > from Lazarus code. The next step will be to implement network > connection identification in C code. > > After that, I will do my next commit to git.devuan.org > > > Aut

Re: [DNG] netman GIT project

2015-08-28 Thread Edward Bartolo
This is exasperating! Git is refusing my commits telling me everything is up to date! This is effectively locking me out of development notwithstanding that I spent hours upon hours developing. This puts me down. :((( Edward On 28/08/2015, Edward Bartolo wrote: > Found a call to cal

Re: [DNG] netman GIT project

2015-08-28 Thread Edward Bartolo
Suppose I changed backend.c core_functions.c core_functions.h, what would the command be? Edward On 28/08/2015, Urban Wallasch wrote: > On Fri, 28 Aug 2015 18:11:22 +0100, Edward Bartolo wrote: >> This is exasperating! Git is refusing my commits telling me everything >>

Re: [DNG] netman GIT project

2015-08-28 Thread Edward Bartolo
Steve Litt wrote: > On Fri, 28 Aug 2015 18:11:22 +0100 > Edward Bartolo wrote: > >> This is exasperating! Git is refusing my commits telling me everything >> is up to date! >> >> This is effectively locking me out of development notwithstanding that >> I spe

Re: [DNG] netman GIT project

2015-08-29 Thread Edward Bartolo
ested functions. > > On 29/08/2015, Go Linux wrote: >> >> Congrats on getting git to play nice! :) >> >> -------- >> On Fri, 8/28/15, Edward Bartolo wrote: >> >> Subject: Re: [DNG] netman GIT project >> T

Re: [DNG] The show goes on: “su” command replacement merged into systemd on Fedora Rawhide

2015-08-29 Thread Edward Bartolo
This is heartbreaking rather than a show. Replace everything that used to work reliably for so many years with what clueless beginners want! The plague has come, but not in the form of a deadly bacterium, but in the new trend of, "sacrificing function for fashion". On 29/08/2015, Rainer Weikusat

Re: [DNG] netman GIT project

2015-08-29 Thread Edward Bartolo
omatically select a wifi and to connect to it. On 29/08/2015, Edward Bartolo wrote: > I am thinking about adding yet another operation to backend.c to > attempt automatic connection with a wifi. > > The algorithm can work as follows: > a) read all filenames from /etc/network/wifi

[DNG] Let's package an Alpha version of 'netman'.

2015-08-29 Thread Edward Bartolo
Dear Devuan developers and users, Since I am already using netman as my network manager in XFCE4, let us not 'waste' more time and package an ALPHA version, so that users of Devuan would be able to use it. I am attaching a howto, so that whoever packages it would know what to do. I chose /usr/bin

[DNG] BUG: zombies increase while running netman

2015-08-29 Thread Edward Bartolo
Running "ps -e" while netman runs for a some time results in zombies as follows: edbarx@edbarx-pc:~$ ps -e PID TTY TIME CMD 1 ?00:00:00 init 2 ?00:00:00 kthreadd 3 ?00:00:05 ksoftirqd/0 5 ?00:00:00 kworker/0:0H 7 ?00:00:12 rcu_

Re: [DNG] BUG: zombies increase while running netman

2015-08-29 Thread Edward Bartolo
ted on" for proper > completion, or else it never terminates and becomes a zombie. > > In backend.pas, in function run_backend(), either use the option > poWaitOnExit when creating AProcess or use the method > WaitOnExit() after the output has been read from the backend. > >

Re: [DNG] BUG: zombies increase while running netman

2015-08-30 Thread Edward Bartolo
Merge accepted. Kind regards, Edward. On 30/08/2015, tilt! wrote: > > > On 08/30/2015 07:40 AM, Edward Bartolo wrote: >> OK, poWaitOnExit added and zombies creation has been reduced. However, >> I am still getting these: >> >> 3584 ?00:00:00 kworker

Re: [DNG] BUG: zombies increase while running netman

2015-08-30 Thread Edward Bartolo
I explicitly avoided to use WaitOnExit() to avoid having to use multi-threading which I wanted to avoid. I will try to create a descendant of TThread to use it to Connect and Disconnect but I need to be cautious to avoid complicating the code. On 30/08/2015, Edward Bartolo wrote: > Me

Re: [DNG] BUG: zombies increase while running netman

2015-08-30 Thread Edward Bartolo
also reaped all of them. Edward On 30/08/2015, tilt! wrote: > Why does WaitOnExit() imply multithreading? All it does is wait for the > process to exit. > > Best regards, > T. > > Am 30. August 2015 16:57:54 MESZ, schrieb Edward Bartolo > : >>I explicitly avoide

Re: [DNG] netman GIT project

2015-08-31 Thread Edward Bartolo
es of libhpdf (Haru) > with UTF-8 support > > I'm not sure if the names are right, because they collect only some > features of the C libraries. > > Both are started. > > Aitor. > > On 31/08/15 09:43, Edward Bartolo wrote: >> I am attaching my updated code to

Re: [DNG] netman GIT project

2015-08-31 Thread Edward Bartolo
I tried several ways to use grey-out buttons but there is a bug or something that is preventing me. The only way I found is multi-threading or simply leaving the main thread to wait for the backend to finish its job until it becomes available to the user. Multi-threading can allow the user to click

Re: [DNG] netman GIT project

2015-08-31 Thread Edward Bartolo
ading version seems to be the most possible to finish, I will do the little extra work needed to finish it. Edward On 31/08/2015, Rainer Weikusat wrote: > Edward Bartolo writes: > >> I tried several ways to use grey-out buttons but there is a bug or >> something that is preven

Re: [DNG] netman GIT project

2015-09-01 Thread Edward Bartolo
and you can analyze the debian branch > (debian/rules, etc...). The separation: > > libpqxx > libpqxx-dev > > is not done yet. > > On the other hand, if you are interested in git, i recommend you Pro Git > Book: > > https://git-scm.com/book/en/v1 > > Cheers, &

Re: [DNG] netman GIT project

2015-09-01 Thread Edward Bartolo
ish this project. Edward. On 01/09/2015, aitor_czr wrote: > Ok. > > On 01/09/15 12:33, Edward Bartolo wrote: >> Hi Aitor, >> >> As soon as I have time I will have a look at the code. >> >> Regarding learning to use git, I learnt to push my commits and do git &

[DNG] Doing away with multi-threading in my project (netman)

2015-09-02 Thread Edward Bartolo
Hi all, I think, I found an alternative to multithreading in netman. This is using interprocess communication, although what I have in mind may not be proper interprocess communication. The idea is this: the backend would be converted into some sort of a daemon exporting one function and importin

Re: [DNG] Doing away with multi-threading in my project (netman)

2015-09-02 Thread Edward Bartolo
Hi, Thanks for the reply. If Unix Domain Sockets can do the job nicely, why not? However, I will wait for other replies for their opinion. Thanks. On 02/09/2015, dr.kl...@gmx.at wrote: > Am Mittwoch, 2. September 2015 schrieb Edward Bartolo: >> Hi all, >> >> I think, I fo

Re: [DNG] Doing away with multi-threading in my project (netman)

2015-09-02 Thread Edward Bartolo
benefit of all this: very little changes to code and no multi-threading complications. Thanks. :D On 02/09/2015, Rainer Weikusat wrote: > Edward Bartolo writes: > > [...] > >> The idea is this: the backend would be converted into some sort of a >> daemon exporting one

  1   2   3   4   5   6   7   8   9   >