Nemesis artix based: a few problems

Arch based Porteus community project
User avatar
francois
Contributor
Contributor
Posts: 5414
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Nemesis artix based: a few problems

Post#1 by francois » 23 Sep 2017, 01:33

1.0 Unable to sync time with ntp according to:

What could be the solution?
https://wiki.archlinux.org/index.php/OpenNTPD

2.0 Unable to get the brother scanner recognized:

Code: Select all

[porteus print]# brsaneconfig4 -q | grep scanner
  0 scanner             "MFC-7860DW"        I:192.168.0.107
 [porteus ~]# scanimage -L
device `v4l:/dev/video0' is a Noname TOSHIBA Web Camera - HD virtual device
[porteus ~]# 
 
Any solution?
Maybe here:
http://neithere.net/2013/02/18/archlinu ... _7860.html
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 5414
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Nemesis artix based: a few problems

Post#2 by francois » 23 Sep 2017, 02:01

Updating grub2 thru xubuntu installation:
nemesis is called thru grub2 on my installation. Instead of rebooting in xubuntu on sda1 to update grub after a change in mnt/sda1/etc/grub.d/40_custom in which nemesis is called in root mode (just copy paste the six lines tied by &&):

Code: Select all

mkdir /mnt/chroot  &&
mount /dev/sda1 /mnt/chroot &&
mount --bind /dev /mnt/chroot/dev &&
mount --bind /proc /mnt/chroot/proc &&
mount --bind /sys /mnt/chroot/sys &&
chroot /mnt/chroot
Updating grub:

Code: Select all

update-grub
Exiting:

Code: Select all

 exit &&
umount /mnt/chroot/dev  && 
umount /mnt/chroot/proc &&
umount /mnt/chroot/sys 
Prendre son temps, profiter de celui qui passe.

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

Nemesis artix based: a few problems

Post#3 by ncmprhnsbl » 23 Sep 2017, 02:11

this is (one example of) where the arch wiki is unhelpful for anyone not using systemd (any reference to systemctl is a clue)
the gentoo wiki is more openrc friendly:
https://wiki.gentoo.org/wiki/Ntp#ntpdate
for a one off:
$ sudo ntpdate pool.ntp.org
or
$ sudo ntpd -gq
and then if you want to sync the hardware clock
$ sudo hwclock -w
there is also a ntpd openrc service that could be enabled so that it runs at startup:
$ sudo rc-update add ntp-client default

re: scanner
looks like the driver needs to be built(which is problematic without a functioning devel.xzm)

re: chroot
checkout arch-chroot: https://wiki.archlinux.org/index.php/Ch ... rch-chroot
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 5414
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Nemesis artix based: a few problems

Post#4 by francois » 08 Oct 2017, 02:18

Thanks for the tips. Here are a few outputs.

ntp:

Code: Select all

[porteus brscan4]# ntpd -gq
 7 Oct 22:16:30 ntpd[5794]: ntpd 4.2.8p10@1.3728-o Wed Jul  5 00:57:35 UTC 2017 (1): Starting
 7 Oct 22:16:30 ntpd[5794]: Command line: ntpd -gq
 7 Oct 22:16:30 ntpd[5794]: interval timer setitimer failed, Function not implemented
[porteus brscan4]#
scanner:

Code: Select all

[porteus brscan4]# yaourt -S brscan4 
Unable to open file: /etc/pacman.d/mirrorlist-manjaro
Unable to open file: /etc/pacman.d/mirrorlist-manjaro
error: config file /etc/pacman.d/mirrorlist-manjaro could not be read: No such file or directory
[porteus brscan4]#
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 5414
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Nemesis artix based: a few problems

Post#5 by francois » 08 Oct 2017, 06:49

Using pman -S:

Code: Select all

[porteus modulesxfce]# pman -S python
/usr/local/bin/pman: line 116: syntax error near unexpected token `/var/lib/pacman/sync/community.db'
/usr/local/bin/pman: line 116: `/var/lib/pacman/sync/community.db \'
[porteus modulesxfce]# 
Thanks
Prendre son temps, profiter de celui qui passe.

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

Nemesis artix based: a few problems

Post#6 by ncmprhnsbl » 11 Oct 2017, 03:09

works for me:

Code: Select all

[porteus guest]# ntpd -gq
11 Oct 12:40:30 ntpd[3736]: ntpd 4.2.8p10@1.3728-o Wed Jul  5 00:57:35 UTC 2017 (1): Starting
11 Oct 12:40:30 ntpd[3736]: Command line: ntpd -gq
11 Oct 12:40:38 ntpd[3736]: proto: precision = 0.184 usec (-22)
11 Oct 12:40:38 ntpd[3736]: Listen and drop on 0 v6wildcard -------
11 Oct 12:40:38 ntpd[3736]: Listen and drop on 1 v4wildcard --------
11 Oct 12:40:38 ntpd[3736]: Listen normally on 2 lo -------
11 Oct 12:40:38 ntpd[3736]: Listen normally on 3 wlan0 ---------
11 Oct 12:40:38 ntpd[3736]: Listen normally on 4 lo ---------
11 Oct 12:40:38 ntpd[3736]: Listen normally on 5 wlan0 ------------
11 Oct 12:40:38 ntpd[3736]: Listening on routing socket on fd #22 for interface updates
11 Oct 12:41:19 ntpd[3736]: ntpd: time set +34.356022 s
ntpd: time set +34.356022s

Code: Select all

[porteus brscan4]# yaourt -S brscan4 
Unable to open file: /etc/pacman.d/mirrorlist-manjaro
Unable to open file: /etc/pacman.d/mirrorlist-manjaro
error: config file /etc/pacman.d/mirrorlist-manjaro could not be read: No such file or directory
there is no longer any /etc/pacman.d/mirrorlist-manjaro
why yaourt is looking for it, i do not know..

Code: Select all

[porteus guest]# pacaur -Ss brscan4
aur/brscan4 0.4.4_3-1 (81, 3.03)
    SANE drivers from Brother for brscan4 compatible models
though, to build it, you'll need the development packages(with headers) and probably kernel headers..
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 5414
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Nemesis artix based: a few problems

Post#7 by francois » 11 Oct 2017, 17:15

I have achieved to install brscan thru AUR, all was needed was base-devel and following the following strategies:
https://wiki.archlinux.org/index.php/Ar ... g_packages
Prendre son temps, profiter de celui qui passe.

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

Nemesis artix based: a few problems

Post#8 by ncmprhnsbl » 12 Oct 2017, 05:46

francois wrote:
11 Oct 2017, 17:15
I have achieved to install brscan thru AUR, all was needed was base-devel and following the following strategies:
good to know.. seems likely that we can have a working devel module
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 5414
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Nemesis artix based: a few problems

Post#9 by francois » 12 Oct 2017, 13:06

What is needed for what you call the devel module?
kernel headers or crippled source, ...
Prendre son temps, profiter de celui qui passe.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5932
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil
Contact:

Nemesis artix based: a few problems

Post#10 by brokenman » 12 Oct 2017, 16:37

I'm so glad your keeping this flame alive. It will save a lot of time in the future.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
francois
Contributor
Contributor
Posts: 5414
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Nemesis artix based: a few problems

Post#11 by francois » 13 Oct 2017, 21:04

Hi Jay. The encouragement is very much appreciated. All the merit is to ncmprhnsbl. :Bravo:
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 5414
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Nemesis artix based: a few problems

Post#12 by francois » 21 Oct 2017, 14:33

Weird pman -S opera will install opera but not build a module. :(
Prendre son temps, profiter de celui qui passe.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5932
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil
Contact:

Nemesis artix based: a few problems

Post#13 by brokenman » 21 Oct 2017, 22:10

francois wrote:
13 Oct 2017, 21:04
All the merit is to ncmprhnsbl.
Certainly, he is a part of our DEV team for good reason. I really love the ease of use of Nemesis.
How do i become super user?
Wear your underpants on the outside and put on a cape.

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

Nemesis artix based: a few problems

Post#14 by ncmprhnsbl » 21 Oct 2017, 23:02

francois wrote:
21 Oct 2017, 14:33
Weird pman -S opera will install opera but not build a module.
yeah i've seen this sometimes , some time works sometimes doesn't, no ideas why .. yet..
it's worth remembering that pman installs by default, so if you are using a changes folder(i don't), it installs there..
brokenman wrote:
21 Oct 2017, 22:10
Certainly, he is a part of our DEV team for good reason.
thanks for the vote of confidence :)
i started this (updating project) with doubts about its feasibility, but even with some significent changes upstream, it keeps booting..
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 5414
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Nemesis artix based: a few problems

Post#15 by francois » 25 Oct 2017, 21:41

Is there a way to get this command working?

Code: Select all

[porteus ~]# su -c chromium guest
No protocol specified

(chromium:3959): Gtk-WARNING **: cannot open display: :0
[porteus ~]# 
Thanks
Prendre son temps, profiter de celui qui passe.

Post Reply