Page 1 of 2

Nemesis artix based: a few problems

Posted: 23 Sep 2017, 01:33
by francois
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

Nemesis artix based: a few problems

Posted: 23 Sep 2017, 02:01
by francois
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 

Nemesis artix based: a few problems

Posted: 23 Sep 2017, 02:11
by ncmprhnsbl
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

Nemesis artix based: a few problems

Posted: 08 Oct 2017, 02:18
by francois
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]#

Nemesis artix based: a few problems

Posted: 08 Oct 2017, 06:49
by francois
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

Nemesis artix based: a few problems

Posted: 11 Oct 2017, 03:09
by ncmprhnsbl
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..

Nemesis artix based: a few problems

Posted: 11 Oct 2017, 17:15
by francois
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

Nemesis artix based: a few problems

Posted: 12 Oct 2017, 05:46
by ncmprhnsbl
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

Nemesis artix based: a few problems

Posted: 12 Oct 2017, 13:06
by francois
What is needed for what you call the devel module?
kernel headers or crippled source, ...

Nemesis artix based: a few problems

Posted: 12 Oct 2017, 16:37
by brokenman
I'm so glad your keeping this flame alive. It will save a lot of time in the future.

Nemesis artix based: a few problems

Posted: 13 Oct 2017, 21:04
by francois
Hi Jay. The encouragement is very much appreciated. All the merit is to ncmprhnsbl. :Bravo:

Nemesis artix based: a few problems

Posted: 21 Oct 2017, 14:33
by francois
Weird pman -S opera will install opera but not build a module. :(

Nemesis artix based: a few problems

Posted: 21 Oct 2017, 22:10
by brokenman
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.

Nemesis artix based: a few problems

Posted: 21 Oct 2017, 23:02
by ncmprhnsbl
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..

Nemesis artix based: a few problems

Posted: 25 Oct 2017, 21:41
by francois
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