2019 Updated Nemesis Base Modules

Arch based Porteus community project
M. Eerie
Samurai
Samurai
Posts: 140
Joined: 31 Aug 2017, 21:18
Distribution: APorteus BUDGIE x64

2019 Updated Nemesis Base Modules

Post#91 by M. Eerie » 11 Jul 2019, 20:40

How can I store my wireless connections?

I've saved /etc/NetworkManager/system-connections/*.nmconnection

in my rootcopy folder, but NetWorkManager doesn't seem to recognize them after reboot.

:%)

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 2061
Joined: 20 Mar 2012, 03:42
Distribution: 5.0rc1-64bit all-DE+more
Location: australia
Contact:

2019 Updated Nemesis Base Modules

Post#92 by ncmprhnsbl » 11 Jul 2019, 23:32

M. Eerie wrote:
11 Jul 2019, 20:21
The one included in the skel.zip at first post, seems to be different.
the initrd.xz should be the same as it always was... the skel.zip itself was reuploaded with vmlinuz removed (shouldn,t have been there)
M. Eerie wrote:
11 Jul 2019, 20:40
How can I store my wireless connections?
not sure off the top of my head. but if you now have porteus.conf working properly, take a look at <install_media>/config/network file.. uncomment/fill out what you need..
that's what i use
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

M. Eerie
Samurai
Samurai
Posts: 140
Joined: 31 Aug 2017, 21:18
Distribution: APorteus BUDGIE x64

2019 Updated Nemesis Base Modules

Post#93 by M. Eerie » 12 Jul 2019, 14:12

ncmprhnsbl wrote:
11 Jul 2019, 23:32
but if you now have porteus.conf working properly
Sadly not. Boot was fine with the old kernel from the 3.5 ISO. I was wrongly blamming the initrd.xz , but this has come with newer kernel versions...

This is what /var/log/rc.log says:

Code: Select all


...

 * Bringing up interface lo
 *   Caching network module dependencies
need dbus
 *   127.0.0.1/8 ...
 [ ok ]
 *   Adding routes
 *     127.0.0.0/8 via 127.0.0.1 ...
 [ ok ]
 [ ok ]
 * Setting up sysusers.d entries ...
 [ ok ]
 * Setting up tmpfiles.d entries ...
 [ ok ]
/etc/init.d/prelogin: line 19: /etc/porteus.d/cheatcodes: No such file or directory
 * ERROR: prelogin failed to start
 * Saving key mapping ...
 [ ok ]
 * Saving terminal encoding ...
 [ ok ]

rc boot logging stopped at Fri Jul 12 06:17:24 2019


rc default logging started at Fri Jul 12 06:17:24 2019

 * Starting NetworkManager ...
 [ ok ]
Connecting.............      1sConnecting..............     1sConnecting...............    1sConnecting...............    0s [offline]
 * Marking NetworkManager as inactive. It will automatically be marked
 * as started after a network connection has been established.
 * WARNING: NetworkManager has started, but is inactive
 * Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ...
Error parsing source statement, source plugin unix-dgram not found in source generator system:6:14-6:24:
1       
2       #Start Block source generator system
3       channel {
4           source {
5       channel {
6----->     source { unix-dgram("/dev/log" so_rcvbuf(8192) flags(syslog-protocol));
6----->              ^^^^^^^^^^
7        };
8           rewrite { set("${.unix.pid}" value("PID") condition("${.unix.pid}" ne "")); };
9       };
10      file("/dev/kmsg" program-override("kernel") flags(kernel) format(linux-kmsg) keep-timestamp(no));
11      

Included from /etc/syslog-ng/syslog-ng.conf:22:3-22:11:
17        perm(0640);
18        group("log");
19      };
20      
21      source src {
22---->   system();
22---->   ^^^^^^^^
23        internal();
24      };
25      
26      destination d_authlog { file("/var/log/auth.log"); };
27      destination d_syslog { file("/var/log/syslog.log"); };


syslog-ng documentation: https://www.balabit.com/support/documentation?product=syslog-ng-ose
contact: https://lists.balabit.hu/mailman/listinfo/syslog-ng
 * Configuration error. Please fix your configfile (/etc/syslog-ng/syslog-ng.conf)
 [ !! ]
 * ERROR: syslog-ng failed to start
 * Starting acpid ...
 [ ok ]
 * Starting user network from config file ...
boot-network-setup Line 267: Fri Jul 12 06:17:27 UTC 2019

ERROR in boot-network-setup on line 271:
Could not find /etc/porteus.d/network

 [ ok ]
 * WARNING: netmount will start when NetworkManager has started
/etc/init.d/prelogin: line 19: /etc/porteus.d/cheatcodes: No such file or directory
 * ERROR: prelogin failed to start
 * Starting local ...
 [ ok ]

rc default logging stopped at Fri Jul 12 06:18:46 2019


Are you using other kernel than the (5.0.7) one posted here at #1? If so, could you please share?

Thanks!

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 2061
Joined: 20 Mar 2012, 03:42
Distribution: 5.0rc1-64bit all-DE+more
Location: australia
Contact:

2019 Updated Nemesis Base Modules

Post#94 by ncmprhnsbl » 13 Jul 2019, 07:10

M. Eerie wrote:
12 Jul 2019, 14:12
re you using other kernel than the (5.0.7) one posted here at #1?
no..
kernel shouldn't really affect this..
here's the md5sum for the initrd.xz : 5935f21724832bb699c779b63d132179 to make sure it's the right one..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

M. Eerie
Samurai
Samurai
Posts: 140
Joined: 31 Aug 2017, 21:18
Distribution: APorteus BUDGIE x64

2019 Updated Nemesis Base Modules

Post#95 by M. Eerie » 13 Jul 2019, 07:41

I've just imported skel.zip and vmlinuz and kernel into my MEGA account just to try.

I'm pretty sure if you mix the initrd.xz from skel.zip and any other kernel update results in porteus.d gone to /dev/null

I'm trying right now and will report back.

Cheers!

M. Eerie
Samurai
Samurai
Posts: 140
Joined: 31 Aug 2017, 21:18
Distribution: APorteus BUDGIE x64

2019 Updated Nemesis Base Modules

Post#96 by M. Eerie » 13 Jul 2019, 10:24

ncmprhnsbl wrote:
11 Jul 2019, 23:32
take a look at <install_media>/config/network file..
I have Ignore=yes in that file.

Should I set my network there or can I configure the network options under <install_media>porteus/porteus-v4.0-x86_64.cfg file?

Which one is to be parsed at boot / overwritten?

How can it be automatically set?

Thanks

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 2061
Joined: 20 Mar 2012, 03:42
Distribution: 5.0rc1-64bit all-DE+more
Location: australia
Contact:

2019 Updated Nemesis Base Modules

Post#97 by ncmprhnsbl » 13 Jul 2019, 13:26

M. Eerie wrote:
13 Jul 2019, 10:24
or can I configure the network options under <install_media>porteus/porteus-v4.0-x86_64.cfg file?
nemesis has no such file..
all configs go in the relevent <install_media>/config/ file .. (cheatcodes go in /boot/syslinux/porteus.cfg > APPEND line)
if Ignore=yes is commented(#) it will not be ignored
other settings should be uncommented and the appropriate info supplied..
M. Eerie wrote:
13 Jul 2019, 10:24
How can it be automatically set?
not automatic but: one way might be to setup via network manager gui and then run:

Code: Select all

# changes-time 

this captures the recent changes(the default is three minutes) and saves to /root
you should be able to see what folders/files you need to save as a module for your network settings..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 2061
Joined: 20 Mar 2012, 03:42
Distribution: 5.0rc1-64bit all-DE+more
Location: australia
Contact:

2019 Updated Nemesis Base Modules

Post#98 by ncmprhnsbl » 15 Jul 2019, 04:03

from another thread:
M. Eerie wrote:
13 Jul 2019, 10:30
Kernel 5.1.17 this is my /var/log/rc.log

Code: Select all

* Checking your configfile (/etc/syslog-ng/syslog-ng.conf) ...
Error parsing source statement, source plugin unix-dgram not found in source generator system:6:14-6:24:
1
2 #Start Block source generator system
3 channel {
4 source {
5 channel {
6-----> source { unix-dgram("/dev/log" so_rcvbuf(8192) flags(syslog-protocol));
6-----> ^^^^^^^^^^
7 };
8 rewrite { set("${.unix.pid}" value("PID") condition("${.unix.pid}" ne "")); };
9 };
10 file("/dev/kmsg" program-override("kernel") flags(kernel) format(linux-kmsg) keep-timestamp(no));
11

Included from /etc/syslog-ng/syslog-ng.conf:22:3-22:11:
17 perm(0640);
18 group("log");
19 };
20
21 source src {
22----> system();
22----> ^^^^^^^^
23 internal();
24 };
25
26 destination d_authlog { file("/var/log/auth.log"); };
27 destination d_syslog { file("/var/log/syslog.log"); };


syslog-ng documentation: https://www.balabit.com/support/documen ... log-ng-ose
contact: https://lists.balabit.hu/mailman/listinfo/syslog-ng
* Configuration error. Please fix your configfile (/etc/syslog-ng/syslog-ng.conf)
[ !! ]
* ERROR: syslog-ng failed to start
* Starting acpid ...

At least /etc/porteus.d is back again :)

Thanks
this a bug(my fault) : missing package : libnet
will include with next update
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Post Reply