Re: [arch-general] Fail2Ban is not adding iptables rules

2020-11-03 Thread Maykel Franco via arch-general
El mar., 3 nov. 2020 a las 15:21,  escribió:
>
> Maykel Franco via arch-general  wrote:
>
> > El mar., 3 nov. 2020 a las 10:45,  escribi??:
> > >
> > > Maykel Franco via arch-general  wrote:
> > >
> > > > El mar., 3 nov. 2020 a las 9:48,  escribi??:
> > > > >
> > > > > Maykel Franco via arch-general  wrote:
> > > > >
> > > > > > Hi, I have this script for iptables for my archlinux desktop:
> > > > > >
> > > > > > https://pastebin.com/SafhsKFt
> > > > > >
> > > > > > And when received external request access SSH error, fail2ban add 
> > > > > > rule
> > > > > > but the rule not working.
> > > > > >
> > > > > > I think it has to do with the iptables script, but the fail2ban
> > > > > > blocking rules add fine but don't ban. That could be happening?
> > > > >
> > > > > It could be that the banning fail2ban rule doesn't ban.
> > > > > 1. Can you show the iptables state before, and after, fail2ban added
> > > > >its rule? That is, issue an iptables -s command? I do hope I got
> > > > >the iptables command right.
> > > > > 2. Can you show fail2ban configuration?
> > > > >
> > > > > --
> > > > > u34
> > > >
> > > > The problem is not fail2ban. The problem is the script iptables rules
> > > > because after exec script iptables:
> > > >
> > > > https://pastebin.com/SafhsKFt
> > > >
> > > > I try drop ip:
> > > >
> > > > iptables -A INPUT -p tcp -s 192.168.0.33 --dport 22 -j DROP
> > > >
> > > > Not block ip 192.168.0.33 on port 22.
> > >
> > > Possibly because that line is added as the last lines of the iptables.
> > > The accept lines of the script already accepted the 192.168.0.33 
> > > connection. You
> > > probably want to issue an Insert, or a Replace, command. -I or -R, if I 
> > > remmeber
> > > correcly.
> > > What is the output of iptables -s, if I remember correctly,
> > > after you issued
> > > the 192.168.0.33 related command?
> > >
> > > As an aside, I think you should revert to nft (nftables).
> > >
> > > --
> > > u34
> >
> > Thanks for your response. With -I works well with:
> >
> > iptables -I INPUT -p tcp -s 192.168.0.33 --dport  -j DROP
> >
> > And now, for iptables works well, How it solved? I need iptables add
> > rules on first place.
>
> I didn't follow. iptables doesn't add rules by itself. Someone, or something,
> tells it what rules it should use. Whom do want to tell iptables to add
> rules on first place?
>
> --
> u34

Maybe I have explained myself wrong. With that script that I have put
from iptables, I can add rules first with the -I parameter and it
works. Thanks for the help of colleagues.

Now what I want is that iptables when I block some IP, it also ping it
first to make it work.


Re: [arch-general] Fail2Ban is not adding iptables rules

2020-11-03 Thread Maykel Franco via arch-general
El mar., 3 nov. 2020 a las 10:45,  escribió:
>
> Maykel Franco via arch-general  wrote:
>
> > El mar., 3 nov. 2020 a las 9:48,  escribi??:
> > >
> > > Maykel Franco via arch-general  wrote:
> > >
> > > > Hi, I have this script for iptables for my archlinux desktop:
> > > >
> > > > https://pastebin.com/SafhsKFt
> > > >
> > > > And when received external request access SSH error, fail2ban add rule
> > > > but the rule not working.
> > > >
> > > > I think it has to do with the iptables script, but the fail2ban
> > > > blocking rules add fine but don't ban. That could be happening?
> > >
> > > It could be that the banning fail2ban rule doesn't ban.
> > > 1. Can you show the iptables state before, and after, fail2ban added
> > >its rule? That is, issue an iptables -s command? I do hope I got
> > >the iptables command right.
> > > 2. Can you show fail2ban configuration?
> > >
> > > --
> > > u34
> >
> > The problem is not fail2ban. The problem is the script iptables rules
> > because after exec script iptables:
> >
> > https://pastebin.com/SafhsKFt
> >
> > I try drop ip:
> >
> > iptables -A INPUT -p tcp -s 192.168.0.33 --dport 22 -j DROP
> >
> > Not block ip 192.168.0.33 on port 22.
>
> Possibly because that line is added as the last lines of the iptables.
> The accept lines of the script already accepted the 192.168.0.33 connection. 
> You
> probably want to issue an Insert, or a Replace, command. -I or -R, if I 
> remmeber
> correcly.
> What is the output of iptables -s, if I remember correctly,
> after you issued
> the 192.168.0.33 related command?
>
> As an aside, I think you should revert to nft (nftables).
>
> --
> u34

Thanks for your response. With -I works well with:

iptables -I INPUT -p tcp -s 192.168.0.33 --dport  -j DROP

And now, for iptables works well, How it solved? I need iptables add
rules on first place.


Re: [arch-general] Fail2Ban is not adding iptables rules

2020-11-03 Thread Maykel Franco via arch-general
El mar., 3 nov. 2020 a las 9:48,  escribió:
>
> Maykel Franco via arch-general  wrote:
>
> > Hi, I have this script for iptables for my archlinux desktop:
> >
> > https://pastebin.com/SafhsKFt
> >
> > And when received external request access SSH error, fail2ban add rule
> > but the rule not working.
> >
> > I think it has to do with the iptables script, but the fail2ban
> > blocking rules add fine but don't ban. That could be happening?
>
> It could be that the banning fail2ban rule doesn't ban.
> 1. Can you show the iptables state before, and after, fail2ban added
>its rule? That is, issue an iptables -s command? I do hope I got
>the iptables command right.
> 2. Can you show fail2ban configuration?
>
> --
> u34

The problem is not fail2ban. The problem is the script iptables rules
because after exec script iptables:

https://pastebin.com/SafhsKFt

I try drop ip:

iptables -A INPUT -p tcp -s 192.168.0.33 --dport 22 -j DROP

Not block ip 192.168.0.33 on port 22.


[arch-general] Fail2Ban is not adding iptables rules

2020-11-02 Thread Maykel Franco via arch-general
Hi, I have this script for iptables for my archlinux desktop:

https://pastebin.com/SafhsKFt

And when received external request access SSH error, fail2ban add rule
but the rule not working.

I think it has to do with the iptables script, but the fail2ban
blocking rules add fine but don't ban. That could be happening?


[arch-general] Archlinux kde lag nvidia

2020-06-13 Thread Maykel Franco via arch-general
Hi, I have lag with kde + nvidia 2080ti. I searched google but the
solutions exposed not work for me.

Anybody with the same problem?

No tearing issues, only lag with windows maximized, change workspace
effect, all windows effects...

With gnome or cinnamon no issues. The effects works very well and speed.

I try change compositor options with no results.


Re: [arch-general] pacman error when installing

2020-01-22 Thread Maykel Franco via arch-general
El mié., 22 ene. 2020 a las 9:44, Ralf Mardorf via arch-general
() escribió:
>
> On Wed, 2020-01-22 at 09:29 +0100, Maykel Franco via arch-general wrote:
> > error: failed to commit transaction (conflicting files)
>
> First consider to check which package/s contain the conflicting files?
> Maybe obsolete packages could be removed.
>
> pacman -Qo /path/file-name


Example:

pacman -Qo /usr/bin/pprof
 1 ↵  10021  12:47:27
error: No package owns /usr/bin/pprof


[arch-general] pacman error when installing

2020-01-22 Thread Maykel Franco via arch-general
Before, with -f options or --force, it resolved it. And now, invalid option.

error: failed to commit transaction (conflicting files)
libmad: /usr/include/mad.h exists in filesystem
libmad: /usr/lib/libmad.so exists in filesystem
libmad: /usr/lib/libmad.so.0 exists in filesystem
libmad: /usr/lib/libmad.so.0.2.1 exists in filesystem
libmad: /usr/lib/pkgconfig/mad.pc exists in filesystem
gperftools: /usr/bin/pprof exists in filesystem
gperftools: /usr/include/google/heap-checker.h exists in filesystem
gperftools: /usr/include/google/heap-profiler.h exists in filesystem
gperftools: /usr/include/google/malloc_extension.h exists in filesystem
gperftools: /usr/include/google/malloc_extension_c.h exists in filesystem
gperftools: /usr/include/google/malloc_hook.h exists in filesystem
gperftools: /usr/include/google/malloc_hook_c.h exists in filesystem
gperftools: /usr/include/google/profiler.h exists in filesystem
gperftools: /usr/include/google/stacktrace.h exists in filesystem
gperftools: /usr/include/google/tcmalloc.h exists in filesystem
gperftools: /usr/include/gperftools/heap-checker.h exists in filesystem
gperftools: /usr/include/gperftools/heap-profiler.h exists in filesystem
gperftools: /usr/include/gperftools/malloc_extension.h exists in filesystem
gperftools: /usr/include/gperftools/malloc_extension_c.h exists in
filesystem
gperftools: /usr/include/gperftools/malloc_hook.h exists in filesystem
gperftools: /usr/include/gperftools/malloc_hook_c.h exists in filesystem
gperftools: /usr/include/gperftools/nallocx.h exists in filesystem
gperftools: /usr/include/gperftools/profiler.h exists in filesystem
gperftools: /usr/include/gperftools/stacktrace.h exists in filesystem
gperftools: /usr/include/gperftools/tcmalloc.h exists in filesystem
gperftools: /usr/lib/libprofiler.so exists in filesystem
gperftools: /usr/lib/libprofiler.so.0 exists in filesystem
gperftools: /usr/lib/libprofiler.so.0.4.18 exists in filesystem
gperftools: /usr/lib/libtcmalloc.so exists in filesystem
gperftools: /usr/lib/libtcmalloc.so.4 exists in filesystem
gperftools: /usr/lib/libtcmalloc.so.4.5.3 exists in filesystem
gperftools: /usr/lib/libtcmalloc_and_profiler.so exists in filesystem
gperftools: /usr/lib/libtcmalloc_and_profiler.so.4 exists in filesystem
gperftools: /usr/lib/libtcmalloc_and_profiler.so.4.5.3 exists in filesystem
gperftools: /usr/lib/libtcmalloc_debug.so exists in filesystem
gperftools: /usr/lib/libtcmalloc_debug.so.4 exists in filesystem
gperftools: /usr/lib/libtcmalloc_debug.so.4.5.3 exists in filesystem
gperftools: /usr/lib/libtcmalloc_minimal.so exists in filesystem
gperftools: /usr/lib/libtcmalloc_minimal.so.4 exists in filesystem
gperftools: /usr/lib/libtcmalloc_minimal.so.4.5.3 exists in filesystem
gperftools: /usr/lib/libtcmalloc_minimal_debug.so exists in filesystem
gperftools: /usr/lib/libtcmalloc_minimal_debug.so.4 exists in filesystem
gperftools: /usr/lib/libtcmalloc_minimal_debug.so.4.5.3 exists in
filesystem
gperftools: /usr/lib/pkgconfig/libprofiler.pc exists in filesystem
gperftools: /usr/lib/pkgconfig/libtcmalloc.pc exists in filesystem
gperftools: /usr/lib/pkgconfig/libtcmalloc_debug.pc exists in filesystem
gperftools: /usr/lib/pkgconfig/libtcmalloc_minimal.pc exists in filesystem
gperftools: /usr/lib/pkgconfig/libtcmalloc_minimal_debug.pc exists in
filesystem
gperftools: /usr/share/doc/gperftools/AUTHORS exists in filesystem
gperftools: /usr/share/doc/gperftools/COPYING exists in filesystem
gperftools: /usr/share/doc/gperftools/ChangeLog exists in filesystem
gperftools: /usr/share/doc/gperftools/ChangeLog.old exists in filesystem
gperftools: /usr/share/doc/gperftools/INSTALL exists in filesystem
gperftools: /usr/share/doc/gperftools/NEWS exists in filesystem
gperftools: /usr/share/doc/gperftools/README exists in filesystem
gperftools: /usr/share/doc/gperftools/README_windows.txt exists in
filesystem
gperftools: /usr/share/doc/gperftools/TODO exists in filesystem
gperftools: /usr/share/doc/gperftools/cpuprofile-fileformat.html exists in
filesystem
gperftools: /usr/share/doc/gperftools/cpuprofile.html exists in filesystem
gperftools: /usr/share/doc/gperftools/designstyle.css exists in filesystem
gperftools: /usr/share/doc/gperftools/heap-example1.png exists in
filesystem
gperftools: /usr/share/doc/gperftools/heap_checker.html exists in
filesystem
gperftools: /usr/share/doc/gperftools/heapprofile.html exists in filesystem
gperftools: /usr/share/doc/gperftools/index.html exists in filesystem
gperftools: /usr/share/doc/gperftools/overview.dot exists in filesystem
gperftools: /usr/share/doc/gperftools/overview.gif exists in filesystem
gperftools: /usr/share/doc/gperftools/pageheap.dot exists in filesystem
gperftools: /usr/share/doc/gperftools/pageheap.gif exists in filesystem
gperftools: /usr/share/doc/gperftools/pprof-test-big.gif exists in
filesystem
gperftools: /usr/share/doc/gperftools/pprof-test.gif exists in filesystem
gperftools: /usr/share/doc/gperftools/pprof-vsnprintf-big.gif exists in

Re: [arch-general] Archlinux fail2ban not working

2019-11-02 Thread Maykel Franco via arch-general
El sáb., 2 nov. 2019 a las 0:51, Ralph Corderoy
() escribió:
>
> Hi Maykel,
>
> > > How about
> > >
> > > failregex = ^\S+: Unknown User .* \(\)$
> >
> > Thanks for your help but not working...
> > https://imgur.com/a/w0F2JSC
>
> That image shows
>
> Unknown User .* \(:.*\)
>
> but that's not what I suggested, e.g. you have a colon after the 
> and as there is no colon in ‘(109.103.148.2)’ then the regexp is not
> going to match.
>
> --
> Cheers, Ralph.



what you suggested didn't work either

https://imgur.com/a/sNN5dL0


Re: [arch-general] Archlinux fail2ban not working

2019-11-01 Thread Maykel Franco via arch-general
El sáb., 2 nov. 2019 a las 0:13, Maykel Franco
() escribió:
>
> El vie., 1 nov. 2019 a las 19:20, Ralph Corderoy
> () escribió:
> >
> > Hi Maykel,
> >
> > I don't use fail2ban, but I've just skimmed
> > https://fail2ban.readthedocs.io/en/latest/filters.html#developing-filter-regular-expressions
> > You may find the ‘debuggex’ reference useful.
> >
> > > failregex = Unknown User .* \(:.*\)
> > ...
> > > [12:48:35.315] Server1: Unknown User 'test' (109.103.148.2)
> > ...
> > > Date template hits:
> > > |- [# of hits] date format
> > > |  [6] {^LN-BEG}24hour:Minute:Second
> >
> > I take that to mean it was happy with the timestamp.
> >
> > > failregex = Unknown User .* \(:.*\)
> >
> > How about
> >
> > failregex = ^\S+: Unknown User .* \(\)$
> >
> > --
> > Cheers, Ralph.
>
> Thanks for your help but not working...
>
> https://imgur.com/a/w0F2JSC

It works with only:

failregex = Unknown User .* \(\)


Re: [arch-general] Archlinux fail2ban not working

2019-11-01 Thread Maykel Franco via arch-general
El vie., 1 nov. 2019 a las 19:20, Ralph Corderoy
() escribió:
>
> Hi Maykel,
>
> I don't use fail2ban, but I've just skimmed
> https://fail2ban.readthedocs.io/en/latest/filters.html#developing-filter-regular-expressions
> You may find the ‘debuggex’ reference useful.
>
> > failregex = Unknown User .* \(:.*\)
> ...
> > [12:48:35.315] Server1: Unknown User 'test' (109.103.148.2)
> ...
> > Date template hits:
> > |- [# of hits] date format
> > |  [6] {^LN-BEG}24hour:Minute:Second
>
> I take that to mean it was happy with the timestamp.
>
> > failregex = Unknown User .* \(:.*\)
>
> How about
>
> failregex = ^\S+: Unknown User .* \(\)$
>
> --
> Cheers, Ralph.

Thanks for your help but not working...

https://imgur.com/a/w0F2JSC


Re: [arch-general] Archlinux fail2ban not working

2019-11-01 Thread Maykel Franco via arch-general
El vie., 1 nov. 2019 17:32, Justin Capella via arch-general <
arch-general@archlinux.org> escribió:

> Your regex doesn't look like it would match. If  is substituted for
> your hostname that part of the regex would need to be before the unknown
> user part
>
> On Fri, Nov 1, 2019, 2:51 AM Maykel Franco via arch-general <
> arch-general@archlinux.org> wrote:
>
> > Hi, I have this rule:
> >
> > jail.conf:
> >
> > [app-user]
> > enabled = true
> > port = 443
> > filter = user-app
> > logpath = /var/log/user-app.log
> > findtime = 1200
> > bantime = 480
> > maxretry = 3
> >
> > ---
> >
> > filter.d:
> >
> > user-app.conf
> >
> >
> > [Definition]
> >
> > failregex = Unknown User .* \(:.*\)
> >
> > ignoreregex =
> >
> > ---
> >
> > The content is logfile test /var/log/user-app.log:
> >
> > [12:48:35.315] Server1: Unknown User 'test' (109.103.148.2)
> > [12:48:35.315] Server1: Unknown User 'test' (109.103.148.2)
> > [12:48:35.315] Server1: Unknown User 'test' (109.103.148.2)
> > [12:48:35.315] Server1: Unknown User 'test' (109.103.148.2)
> > [12:48:35.315] Server1: Unknown User 'test' (109.103.148.2)
> > [12:48:35.315] Server1: Unknown User 'test' (109.103.148.2)
> >
> > ---
> >
> > And when test it, not working:
> >
> > fail2ban-regex /var/log/user-app.log /etc/fail2ban/filter.d/user-app.conf
> >
> > Running tests
> > =
> >
> > Use   failregex filter file : user-app, basedir: /etc/fail2ban
> > Use log file : user-app.conf
> > Use encoding : UTF-8
> >
> >
> > Results
> > ===
> >
> > Failregex: 0 total
> >
> > Ignoreregex: 0 total
> >
> > Date template hits:
> > |- [# of hits] date format
> > |  [6] {^LN-BEG}24hour:Minute:Second
> > `-
> >
> > Lines: 6 lines, 0 ignored, 0 matched, 6 missed
> > [processed in 0.02 sec]
> >
> > |- Missed line(s):
> > |  [12:48:35.315] Server1: Unknown User 'test' (109.103.148.2)
> > |  [12:48:35.315] Server1: Unknown User 'test' (109.103.148.2)
> > |  [12:48:35.315] Server1: Unknown User 'test' (109.103.148.2)
> > |  [12:48:35.315] Server1: Unknown User 'test' (109.103.148.2)
> > |  [12:48:35.315] Server1: Unknown User 'test' (109.103.148.2)
> > |  [12:48:35.315] Server1: Unknown User 'test' (109.103.148.2)
> >
> > Whats wrong? Maybe the left timestamp?
> >
> > Thanks in advanced.
> >
>


The HOST is ip public my client, no hostname. I don't understand.

>


[arch-general] Archlinux fail2ban not working

2019-11-01 Thread Maykel Franco via arch-general
Hi, I have this rule:

jail.conf:

[app-user]
enabled = true
port = 443
filter = user-app
logpath = /var/log/user-app.log
findtime = 1200
bantime = 480
maxretry = 3

---

filter.d:

user-app.conf


[Definition]

failregex = Unknown User .* \(:.*\)

ignoreregex =

---

The content is logfile test /var/log/user-app.log:

[12:48:35.315] Server1: Unknown User 'test' (109.103.148.2)
[12:48:35.315] Server1: Unknown User 'test' (109.103.148.2)
[12:48:35.315] Server1: Unknown User 'test' (109.103.148.2)
[12:48:35.315] Server1: Unknown User 'test' (109.103.148.2)
[12:48:35.315] Server1: Unknown User 'test' (109.103.148.2)
[12:48:35.315] Server1: Unknown User 'test' (109.103.148.2)

---

And when test it, not working:

fail2ban-regex /var/log/user-app.log /etc/fail2ban/filter.d/user-app.conf

Running tests
=

Use   failregex filter file : user-app, basedir: /etc/fail2ban
Use log file : user-app.conf
Use encoding : UTF-8


Results
===

Failregex: 0 total

Ignoreregex: 0 total

Date template hits:
|- [# of hits] date format
|  [6] {^LN-BEG}24hour:Minute:Second
`-

Lines: 6 lines, 0 ignored, 0 matched, 6 missed
[processed in 0.02 sec]

|- Missed line(s):
|  [12:48:35.315] Server1: Unknown User 'test' (109.103.148.2)
|  [12:48:35.315] Server1: Unknown User 'test' (109.103.148.2)
|  [12:48:35.315] Server1: Unknown User 'test' (109.103.148.2)
|  [12:48:35.315] Server1: Unknown User 'test' (109.103.148.2)
|  [12:48:35.315] Server1: Unknown User 'test' (109.103.148.2)
|  [12:48:35.315] Server1: Unknown User 'test' (109.103.148.2)

Whats wrong? Maybe the left timestamp?

Thanks in advanced.


[arch-general] Tool monitoring activity users Openvpn in Archlinux

2019-09-11 Thread Maykel Franco via arch-general
Hi guys, is there any way to detect the activity of users connected by
the VPN with openvpn in archlinux? the idea is to know if they are
working or not from at home in vpn? Any ideas?


Re: [arch-general] Copy remote command server to clipboard

2019-09-11 Thread Maykel Franco via arch-general
El lun., 26 ago. 2019 a las 14:48, Olli () escribió:
>
> On 26.08.19 14:30, ProgAndy wrote:
> >Am 26.08.19 um 13:47 schrieb Maykel Franco via arch-general:
> >> Many thanks Ralph, it works, but... Is possible launch the command in
> >> my server?
> > […] You can run a local server that copies everything it receives to
> > the clipboard. Then set up ssh remote port forwarding and send
> > clipboard data to this port.
>
> How about these two alternatives:
>
> 1) Use “termite” as terminal and select and copy text with its selection
> mode¹ using either the keyboard or the mouse.
>
> 2) Run “ssh” from within “neovim” by using its terminal emulator² and
> select and copy text with the regular vim commands (visual mode, yank).
>
> Regards,
> Olli
>
>
>
> ¹ https://wiki.archlinux.org/index.php/Termite#Usage
> ² https://neovim.io/doc/user/nvim_terminal_emulator.html


Many thanks, it works.


Re: [arch-general] Copy remote command server to clipboard

2019-08-26 Thread Maykel Franco via arch-general
El vie., 23 ago. 2019 a las 11:23, Ralph Corderoy
() escribió:
>
> Hi Maykel,
>
> > ssh 192.168.0.3
> > # pwd
> > /home/archlniux
> > (I like copy the command return to my clipboard archlinux desktop
> > client)
>
> ssh 192.168.0.3 pwd | xsel -b
>
> --
> Cheers, Ralph.

Many thanks Ralph, it works, but... Is possible launch the command in my server?

First:

ssh 192.168.0.3

Second:

pwd | xsel -b

This is because I exec multiple same commands every day and copy the
return manually with mouse is tedious!


[arch-general] Copy remote command server to clipboard

2019-08-23 Thread Maykel Franco via arch-general
Hi, I like copy command return server in my clipboard with xclip. Is
possible? For example:

ssh 192.168.0.3

# pwd

/home/archlniux (I like copy the command return to my clipboard
archlinux desktop client)

Thanks in advanced.


Re: [arch-general] Acceso remoto consola (simil Teamviewer)

2019-08-07 Thread Maykel Franco via arch-general
El mié., 7 ago. 2019 21:47, Paynalton  escribió:

>
> Si un ave no rompe su huevo morirá antes de nacer.
> Nosotros somos el ave y el mundo es nuestro huevo.
> POR LA REVOLUCIÓN DEL MUNDO
>
> Ciudad de México
>
>
> El mié., 7 ago. 2019 a las 14:40, Guido Ignacio ()
> escribió:
>
>> A ver si entendí, te refieres a usar un tunel ssh, pero debo tener
>> activo ese tunel desde mi servidor por lo cual voy a necesitar un
>> servidor del otro lado que me sirva para hacer el tunel
>>
>> A eso vas?
>>
>>
> No, un tunel VPN, y ya si quieres puedes usar ssh dentro del túnel vpn.
>
> Este manual explica como implementarlo en debian:
>
> https://wiki.debian.org/OpenVPN
>
> Para que funcione usas un servidor VPN que puedes contratar o poner como
> servicio expuesto en cualquier lado. Los equipos cliente se conectan a este
> y crean interfaces virtuales que funcionan como si físicamente se
> encontraran dentro de la misma red, actuando el servidor como un router.
>
> Adicionalmente, puedes usar los equipos cliente como gateway para conectar
> otras máquinas a la red VPN.
>
> El mié., 7 ago. 2019 a las 16:29, Paynalton ()
>> escribió:
>> >
>> > mmm, usar una vpn para poder acceder a través de un túnel a los equipos.
>> >
>> >
>> > Si un ave no rompe su huevo morirá antes de nacer.
>> > Nosotros somos el ave y el mundo es nuestro huevo.
>> > POR LA REVOLUCIÓN DEL MUNDO
>> >
>> > Ciudad de México
>> >
>> >
>> > El mié., 7 ago. 2019 a las 13:52, Guido Ignacio (<
>> guidoigna...@gmail.com>) escribió:
>> >>
>> >> Estimados buenas tardes
>> >>
>> >> Les hago una consulta, tengo un servidor casero que por temas de
>> >> restricción del ISP no tiene direccionamiento público por lo cual no
>> >> tengo llegada desde la wan a mi lan (aun routeando y poniendo la DMZ
>> >> en el router.
>> >>
>> >> La unica solución es usar algo similar a Teamviewer, pero necesito
>> >> algo que no use las X, dado que solo tengo modo consola.
>> >>
>> >> Que alternativas tengo para llegar a la consola de mi servidor?
>> >>
>> >> GRacias!
>> >>
>>
>

Si sólo es para conectar por SSH, y no quieres abrir puertos, puedes usar
ngrok. Te hace un túnel inverso muy fácil con un comando Wala

>
>>


Re: [arch-general] Impossible redirect console buffer to log

2019-03-03 Thread Maykel Franco via arch-general
El sáb., 2 mar. 2019 a las 10:23, Ralph Corderoy
() escribió:
>
> Hi Maykel,
>
> > Now only remove ^M character from log files in buffer time but this
> > not working:
> >
> > script -f -c '/usr/local/bin/cccam -d' mylogfile.log | sed 's/^M//g'
>
> script(1) writes to mylogfile.log, sed sees no input.
> This will remove the carriage returns at the end of lines once script
> has finished.
>

This not working. Not quit the end file log character "^M"

> script -f -c '/usr/local/bin/cccam -d' mylogfile.log
> sed -i 's/\r$//' mylogfile.log


>
> > https://github.com/ryanfox1985/docker-cccam/blob/master/CCcam.x86_64
>
> It's an executable, no source, no documentation to suggest what it will
> do, so I'm not going to run it.  :-)

Yes, I know.

>
> --
> Cheers, Ralph.


Re: [arch-general] Impossible redirect console buffer to log

2019-03-01 Thread Maykel Franco via arch-general
El vie., 1 mar. 2019 a las 21:49, Chris Billington
() escribió:
>
> The output of the script command can contain all sorts of control characters 
> and ANSI escape sequences since it is exactly what is being written to the 
> terminal.
>
> Incidentally, I have written a Python function for cleaning up such output 
> (solely used to document my Arch linux installation):
>
> https://bitbucket.org/cbillington/arch_install/src/default/arch_install.py#lines-58
>
> It doesn't just remove the control characters (and ANSI escape sequences), it 
> processes backspace characters and carriage returns etc to result in what you 
> would have seen on your screen. It is not comprehensive but does a pretty 
> good job. So you might want to postprocess your logs with that or similar.
>
> -Chris
>
>
> On Fri, Mar 1, 2019 at 3:41 PM Maykel Franco  wrote:
>>
>> El vie., 1 mar. 2019 a las 21:32, Chris Billington
>> () escribió:
>> >
>> > The 'flush' option could help with that:
>> > [bilbo:~]$ script -h | grep flush
>> >  -f, --flush   run flush after each write
>> >
>> > So, something like
>> >
>> > script -f -c '/usr/local/bin/cccam -d' mylogfile.log
>> >
>> > I would want to get to the bottom of why this binary does not play well 
>> > with normal tools, but if you just need things working, it looks like you 
>> > might have something workable with 'script'.
>> >
>> > -Chris
>> >
>> > On Fri, Mar 1, 2019 at 3:27 PM Maykel Franco  
>> > wrote:
>> >>
>> >> El vie., 1 mar. 2019 a las 20:08, Chris Billington
>> >> () escribió:
>> >> >
>> >> > This is pretty strange.
>> >> >
>> >> > As for the script command, it can be passed the command to run, but I 
>> >> > am guessing it will have the same symptoms as with 'unbuffer':
>> >> >
>> >> > [bilbo:~]$ script -c 'echo hello' mylogfile.log
>> >> > Script started, file is mylogfile.log
>> >> > hello
>> >> > Script done, file is mylogfile.log
>> >> > [bilbo:~]$ cat mylogfile.log
>> >> > Script started on 2019-03-01 14:05:28-05:00 [TERM="xterm-256color" 
>> >> > TTY="/dev/pts/0" COLUMNS="137" LINES="24"]
>> >> > hello
>> >> >
>> >> > Script done on 2019-03-01 14:05:28-05:00 [COMMAND_EXIT_CODE="0"]
>> >> >
>> >> > On Fri, Mar 1, 2019 at 1:40 PM Maykel Franco via arch-general 
>> >> >  wrote:
>> >> >>
>> >> >> El vie., 1 mar. 2019 a las 19:30, Ralph Corderoy
>> >> >> () escribió:
>> >> >> >
>> >> >> > Hi Maykel,
>> >> >> >
>> >> >> > > > command &> out
>> >> >> > >
>> >> >> > > Not works... I probe all combinations:
>> >> >> > >
>> >> >> > > > file redirects stdout to file
>> >> >> > > 1> file redirects stdout to file
>> >> >> > > 2> file redirects stderr to file
>> >> >> > > &> file redirects stdout and stderr to file
>> >> >> >
>> >> >> > Can you show us one complete command with `&>' in case there's 
>> >> >> > something
>> >> >> > else wrong?
>> >> >> >
>> >> >> > Otherwise, `LC_ALL=C strace -ff -o st /usr/local/bin/CCcam -d'
>> >> >> > will capture the write(2)s or similar and you can see what file
>> >> >> > descriptors its writing to and work backwards to see how that was
>> >> >> > obtained, e.g. by opening /dev/tty.
>> >> >> >
>> >> >> > --
>> >> >> > Cheers, Ralph.
>> >> >>
>> >> >> Nothing happens, it closes and the process does not start
>> >> >>
>> >> >> root@arch:~# LC_ALL=C strace -ff -o st /usr/local/bin/cccam -d
>> >> >> root@arch:~#
>> >> >> root@arch:~#
>> >>
>> >> ok, ask you for command script, ok:
>> >>
>> >> script -c '/usr/local/bin/cccam -d' mylogfile.log
>> >>
>> >> This is works, but only write to file when stop script with ctrl + c
>> >>
>> >>
>> >> ~# cat

Re: [arch-general] Impossible redirect console buffer to log

2019-03-01 Thread Maykel Franco via arch-general
El vie., 1 mar. 2019 a las 21:32, Chris Billington
() escribió:
>
> The 'flush' option could help with that:
> [bilbo:~]$ script -h | grep flush
>  -f, --flush   run flush after each write
>
> So, something like
>
> script -f -c '/usr/local/bin/cccam -d' mylogfile.log
>
> I would want to get to the bottom of why this binary does not play well with 
> normal tools, but if you just need things working, it looks like you might 
> have something workable with 'script'.
>
> -Chris
>
> On Fri, Mar 1, 2019 at 3:27 PM Maykel Franco  wrote:
>>
>> El vie., 1 mar. 2019 a las 20:08, Chris Billington
>> () escribió:
>> >
>> > This is pretty strange.
>> >
>> > As for the script command, it can be passed the command to run, but I am 
>> > guessing it will have the same symptoms as with 'unbuffer':
>> >
>> > [bilbo:~]$ script -c 'echo hello' mylogfile.log
>> > Script started, file is mylogfile.log
>> > hello
>> > Script done, file is mylogfile.log
>> > [bilbo:~]$ cat mylogfile.log
>> > Script started on 2019-03-01 14:05:28-05:00 [TERM="xterm-256color" 
>> > TTY="/dev/pts/0" COLUMNS="137" LINES="24"]
>> > hello
>> >
>> > Script done on 2019-03-01 14:05:28-05:00 [COMMAND_EXIT_CODE="0"]
>> >
>> > On Fri, Mar 1, 2019 at 1:40 PM Maykel Franco via arch-general 
>> >  wrote:
>> >>
>> >> El vie., 1 mar. 2019 a las 19:30, Ralph Corderoy
>> >> () escribió:
>> >> >
>> >> > Hi Maykel,
>> >> >
>> >> > > > command &> out
>> >> > >
>> >> > > Not works... I probe all combinations:
>> >> > >
>> >> > > > file redirects stdout to file
>> >> > > 1> file redirects stdout to file
>> >> > > 2> file redirects stderr to file
>> >> > > &> file redirects stdout and stderr to file
>> >> >
>> >> > Can you show us one complete command with `&>' in case there's something
>> >> > else wrong?
>> >> >
>> >> > Otherwise, `LC_ALL=C strace -ff -o st /usr/local/bin/CCcam -d'
>> >> > will capture the write(2)s or similar and you can see what file
>> >> > descriptors its writing to and work backwards to see how that was
>> >> > obtained, e.g. by opening /dev/tty.
>> >> >
>> >> > --
>> >> > Cheers, Ralph.
>> >>
>> >> Nothing happens, it closes and the process does not start
>> >>
>> >> root@arch:~# LC_ALL=C strace -ff -o st /usr/local/bin/cccam -d
>> >> root@arch:~#
>> >> root@arch:~#
>>
>> ok, ask you for command script, ok:
>>
>> script -c '/usr/local/bin/cccam -d' mylogfile.log
>>
>> This is works, but only write to file when stop script with ctrl + c
>>
>>
>> ~# cat mylogfile.log
>> Script started on Fri Mar  1 21:24:35 2019
>> 21:24:35.913 CCcam:
>> ==
>> 21:24:35.913 CCcam: starting CCcam 2.1.3 compiled on Nov 14 2009@00:47:12
>> 21:24:35.913 CCcam:
>> ==
>> 21:24:35.913 CCcam: online using nodeId 95ced5a4a066a2b2
>> 21:24:35.931 CCcam: create 1 cam device(s)
>> 21:24:35.935 CCcam: readKeyfile: cannot open /var/keys/SoftCam.Key or not 
>> found
>> 21:24:35.936 CCcam: readKeyfile: cannot open /var/keys/AutoRoll.Key or not 
>> found
>> 21:24:35.936 CCcam: static cw not found or bad
>> 21:24:35.943 CCcam: parsed 11522 entries from /var/etc/CCcam.prio
>> 21:24:35.943 CCcam: added 1005 provider names from /var/etc/CCcam.providers
>> 21:24:36.035 CCcam: added 11097 channel names from /var/etc/CCcam.channelinfo
>> 21:24:36.035 CCcam: server started on port 47015
>>
>>
>> The script download from:
>>
>> https://github.com/ryanfox1985/docker-cccam/blob/master/CCcam.x86_64
>>
>> Thanks.

wow, it works! Many thanks.

Now only remove ^M character from log files in buffer time but this not working:


script -f -c '/usr/local/bin/cccam -d' mylogfile.log | sed 's/^M//g'

If you want to try it because it does not work with the normal tools
you can download it here

https://github.com/ryanfox1985/docker-cccam/blob/master/CCcam.x86_64

Many thanks again for all.


Re: [arch-general] Impossible redirect console buffer to log

2019-03-01 Thread Maykel Franco via arch-general
El vie., 1 mar. 2019 a las 19:30, Ralph Corderoy
() escribió:
>
> Hi Maykel,
>
> > > command &> out
> >
> > Not works... I probe all combinations:
> >
> > > file redirects stdout to file
> > 1> file redirects stdout to file
> > 2> file redirects stderr to file
> > &> file redirects stdout and stderr to file
>
> Can you show us one complete command with `&>' in case there's something
> else wrong?
>
> Otherwise, `LC_ALL=C strace -ff -o st /usr/local/bin/CCcam -d'
> will capture the write(2)s or similar and you can see what file
> descriptors its writing to and work backwards to see how that was
> obtained, e.g. by opening /dev/tty.
>
> --
> Cheers, Ralph.

Nothing happens, it closes and the process does not start

root@arch:~# LC_ALL=C strace -ff -o st /usr/local/bin/cccam -d
root@arch:~#
root@arch:~#


Re: [arch-general] Impossible redirect console buffer to log

2019-03-01 Thread Maykel Franco via arch-general
El vie., 1 mar. 2019 a las 19:15, Chris Billington
() escribió:
>
> Perplexing! How about the 'script' command?
>
> On Fri., 1 Mar. 2019, 13:13 Maykel Franco,  wrote:
>>
>> El vie., 1 mar. 2019 a las 19:09, Chris Billington
>> () escribió:
>> >
>> > The program could also explicitly be modifying its behaviour based on 
>> > whether stdout is a tty or not. You can trick it into thinking its stdout 
>> > is a tty with the program 'unbuffer'. For example:
>> >
>> > [bilbo:~]$ python -c 'import sys; print(sys.stdout.isatty())' | cat
>> > False
>> > [bilbo:~]$ unbuffer python -c 'import sys; print(sys.stdout.isatty())' | 
>> > cat
>> > True
>> >
>> > So you might try:
>> >
>> > unbuffer /usr/local/bin/CCcam -d > file
>> >
>> >
>> > On Fri, Mar 1, 2019 at 1:04 PM Maykel Franco  
>> > wrote:
>> >>
>> >> El vie., 1 mar. 2019 a las 19:01, Chris Billington
>> >> () escribió:
>> >> >
>> >> > Perhaps the program writes its log to stderr, and not to stdout?
>> >> >
>> >> > If so, you can redirect both stdout and stderr to file with:
>> >> >
>> >> > command &> out
>> >> >
>> >> >
>> >> >
>> >> > On Fri, Mar 1, 2019 at 12:47 PM Maykel Franco via arch-general 
>> >> >  wrote:
>> >> >>
>> >> >> HI, I playing with cccam for a proyect with decoder and I like stdout
>> >> >> console log to specific log but not work...
>> >> >>
>> >> >> I try all:
>> >> >>
>> >> >> >> /var/log/test.log
>> >> >>
>> >> >> tee -a /var/log/test.log
>> >> >>
>> >> >> strace -p pid
>> >> >>
>> >> >> The command is:
>> >> >>
>> >> >> /usr/local/bin/CCcam -d
>> >> >> 18:43:15.717 CCcam:
>> >> >> ==
>> >> >> 18:43:15.717 CCcam: starting CCcam
>> >> >> ==
>> >> >> 18:43:15.717 CCcam: online using nodeId 91dd747775a31f66
>> >> >> 18:43:15.735 CCcam: create 1 cam device(s)
>> >> >> 18:43:15.739 CCcam: readKeyfile: cannot open /var/keys/SoftCam.Key or 
>> >> >> not found
>> >> >> 18:43:15.739 CCcam: readKeyfile: cannot open /var/keys/AutoRoll.Key or 
>> >> >> not found
>> >> >> 18:43:15.739 CCcam: static cw not found or bad
>> >> >> 18:43:15.746 CCcam: parsed 11522 entries from /var/etc/CCcam.prio
>> >> >> 18:43:15.747 CCcam: added 1005 provider names from 
>> >> >> /var/etc/CCcam.providers
>> >> >> 18:43:15.798 CCcam: added 11097 channel names from 
>> >> >> /var/etc/CCcam.channelinfo
>> >> >> 18:43:15.798 CCcam: server started on port 47015
>> >> >>
>> >> >>
>> >> >>
>> >> >> The binary program is:
>> >> >>
>> >> >> /usr/local/bin/CCcam: ELF 64-bit LSB executable, x86-64, version 1
>> >> >> (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2,
>> >> >> for GNU/Linux 2.6.32, BuildID[sha1]=6ab44025c0a35a3
>> >> >> 83d63f30e96e489f29df424b5, stripped
>> >> >>
>> >> >>
>> >> >> I've tried everything, I do not know what to do to have that output
>> >> >> write it to log.
>> >> >>
>> >> >> I've tried inclusy with tty, pts but it's impossible.
>> >> >>
>> >> >> Does somebody knows why it could be? with any other command / program 
>> >> >> works well
>> >> >>
>> >> >> with the only thing that I have managed to write to log is add:
>> >> >>
>> >> >> | stdbuf -oL
>> >> >>
>> >> >> but the program closes
>> >>
>> >> Thanks for your reply.
>> >>
>> >> Not works... I probe all combinations:
>> >>
>> >> > file redirects stdout to file
>> >> 1> file redirects stdout to file
>> >> 2> file redirects stderr to file
>> >> &> file redirects stdout and stderr to file
>> >>
>> >> Not work...
>>
>> Unbuffer work but the program exit...
>>
>> $ unbuffer /usr/local/bin/cccam -d > /var/log/test.log
>>
>> tail: /var/log/test.log: file truncated
>> 19:12:12.548 CCcam:
>> ==
>> 19:12:12.548 CCcam: starting CCcam 2.1.3 compiled on Nov 14 2009@00:47:12
>> 19:12:12.548 CCcam:
>> ==
>> 19:12:12.548 CCcam: online using nodeId 95ced5a4a066a2b2
>> 19:12:12.568 CCcam: create 1 cam device(s)
>>
>> and exit... crash/close program

The program is a binary:

/usr/local/bin/cccam: ELF 64-bit LSB executable, x86-64, version 1
(SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2,
for GNU/Linux 2.6.15, stripped


Re: [arch-general] Impossible redirect console buffer to log

2019-03-01 Thread Maykel Franco via arch-general
El vie., 1 mar. 2019 a las 19:09, Chris Billington
() escribió:
>
> The program could also explicitly be modifying its behaviour based on whether 
> stdout is a tty or not. You can trick it into thinking its stdout is a tty 
> with the program 'unbuffer'. For example:
>
> [bilbo:~]$ python -c 'import sys; print(sys.stdout.isatty())' | cat
> False
> [bilbo:~]$ unbuffer python -c 'import sys; print(sys.stdout.isatty())' | cat
> True
>
> So you might try:
>
> unbuffer /usr/local/bin/CCcam -d > file
>
>
> On Fri, Mar 1, 2019 at 1:04 PM Maykel Franco  wrote:
>>
>> El vie., 1 mar. 2019 a las 19:01, Chris Billington
>> () escribió:
>> >
>> > Perhaps the program writes its log to stderr, and not to stdout?
>> >
>> > If so, you can redirect both stdout and stderr to file with:
>> >
>> > command &> out
>> >
>> >
>> >
>> > On Fri, Mar 1, 2019 at 12:47 PM Maykel Franco via arch-general 
>> >  wrote:
>> >>
>> >> HI, I playing with cccam for a proyect with decoder and I like stdout
>> >> console log to specific log but not work...
>> >>
>> >> I try all:
>> >>
>> >> >> /var/log/test.log
>> >>
>> >> tee -a /var/log/test.log
>> >>
>> >> strace -p pid
>> >>
>> >> The command is:
>> >>
>> >> /usr/local/bin/CCcam -d
>> >> 18:43:15.717 CCcam:
>> >> ==
>> >> 18:43:15.717 CCcam: starting CCcam
>> >> ==
>> >> 18:43:15.717 CCcam: online using nodeId 91dd747775a31f66
>> >> 18:43:15.735 CCcam: create 1 cam device(s)
>> >> 18:43:15.739 CCcam: readKeyfile: cannot open /var/keys/SoftCam.Key or not 
>> >> found
>> >> 18:43:15.739 CCcam: readKeyfile: cannot open /var/keys/AutoRoll.Key or 
>> >> not found
>> >> 18:43:15.739 CCcam: static cw not found or bad
>> >> 18:43:15.746 CCcam: parsed 11522 entries from /var/etc/CCcam.prio
>> >> 18:43:15.747 CCcam: added 1005 provider names from 
>> >> /var/etc/CCcam.providers
>> >> 18:43:15.798 CCcam: added 11097 channel names from 
>> >> /var/etc/CCcam.channelinfo
>> >> 18:43:15.798 CCcam: server started on port 47015
>> >>
>> >>
>> >>
>> >> The binary program is:
>> >>
>> >> /usr/local/bin/CCcam: ELF 64-bit LSB executable, x86-64, version 1
>> >> (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2,
>> >> for GNU/Linux 2.6.32, BuildID[sha1]=6ab44025c0a35a3
>> >> 83d63f30e96e489f29df424b5, stripped
>> >>
>> >>
>> >> I've tried everything, I do not know what to do to have that output
>> >> write it to log.
>> >>
>> >> I've tried inclusy with tty, pts but it's impossible.
>> >>
>> >> Does somebody knows why it could be? with any other command / program 
>> >> works well
>> >>
>> >> with the only thing that I have managed to write to log is add:
>> >>
>> >> | stdbuf -oL
>> >>
>> >> but the program closes
>>
>> Thanks for your reply.
>>
>> Not works... I probe all combinations:
>>
>> > file redirects stdout to file
>> 1> file redirects stdout to file
>> 2> file redirects stderr to file
>> &> file redirects stdout and stderr to file
>>
>> Not work...

Unbuffer work but the program exit...

$ unbuffer /usr/local/bin/cccam -d > /var/log/test.log

tail: /var/log/test.log: file truncated
19:12:12.548 CCcam:
==
19:12:12.548 CCcam: starting CCcam 2.1.3 compiled on Nov 14 2009@00:47:12
19:12:12.548 CCcam:
==
19:12:12.548 CCcam: online using nodeId 95ced5a4a066a2b2
19:12:12.568 CCcam: create 1 cam device(s)

and exit... crash/close program


Re: [arch-general] Impossible redirect console buffer to log

2019-03-01 Thread Maykel Franco via arch-general
El vie., 1 mar. 2019 a las 19:01, Chris Billington
() escribió:
>
> Perhaps the program writes its log to stderr, and not to stdout?
>
> If so, you can redirect both stdout and stderr to file with:
>
> command &> out
>
>
>
> On Fri, Mar 1, 2019 at 12:47 PM Maykel Franco via arch-general 
>  wrote:
>>
>> HI, I playing with cccam for a proyect with decoder and I like stdout
>> console log to specific log but not work...
>>
>> I try all:
>>
>> >> /var/log/test.log
>>
>> tee -a /var/log/test.log
>>
>> strace -p pid
>>
>> The command is:
>>
>> /usr/local/bin/CCcam -d
>> 18:43:15.717 CCcam:
>> ==
>> 18:43:15.717 CCcam: starting CCcam
>> ==
>> 18:43:15.717 CCcam: online using nodeId 91dd747775a31f66
>> 18:43:15.735 CCcam: create 1 cam device(s)
>> 18:43:15.739 CCcam: readKeyfile: cannot open /var/keys/SoftCam.Key or not 
>> found
>> 18:43:15.739 CCcam: readKeyfile: cannot open /var/keys/AutoRoll.Key or not 
>> found
>> 18:43:15.739 CCcam: static cw not found or bad
>> 18:43:15.746 CCcam: parsed 11522 entries from /var/etc/CCcam.prio
>> 18:43:15.747 CCcam: added 1005 provider names from /var/etc/CCcam.providers
>> 18:43:15.798 CCcam: added 11097 channel names from /var/etc/CCcam.channelinfo
>> 18:43:15.798 CCcam: server started on port 47015
>>
>>
>>
>> The binary program is:
>>
>> /usr/local/bin/CCcam: ELF 64-bit LSB executable, x86-64, version 1
>> (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2,
>> for GNU/Linux 2.6.32, BuildID[sha1]=6ab44025c0a35a3
>> 83d63f30e96e489f29df424b5, stripped
>>
>>
>> I've tried everything, I do not know what to do to have that output
>> write it to log.
>>
>> I've tried inclusy with tty, pts but it's impossible.
>>
>> Does somebody knows why it could be? with any other command / program works 
>> well
>>
>> with the only thing that I have managed to write to log is add:
>>
>> | stdbuf -oL
>>
>> but the program closes

Thanks for your reply.

Not works... I probe all combinations:

> file redirects stdout to file
1> file redirects stdout to file
2> file redirects stderr to file
&> file redirects stdout and stderr to file

Not work...


[arch-general] Impossible redirect console buffer to log

2019-03-01 Thread Maykel Franco via arch-general
HI, I playing with cccam for a proyect with decoder and I like stdout
console log to specific log but not work...

I try all:

>> /var/log/test.log

tee -a /var/log/test.log

strace -p pid

The command is:

/usr/local/bin/CCcam -d
18:43:15.717 CCcam:
==
18:43:15.717 CCcam: starting CCcam
==
18:43:15.717 CCcam: online using nodeId 91dd747775a31f66
18:43:15.735 CCcam: create 1 cam device(s)
18:43:15.739 CCcam: readKeyfile: cannot open /var/keys/SoftCam.Key or not found
18:43:15.739 CCcam: readKeyfile: cannot open /var/keys/AutoRoll.Key or not found
18:43:15.739 CCcam: static cw not found or bad
18:43:15.746 CCcam: parsed 11522 entries from /var/etc/CCcam.prio
18:43:15.747 CCcam: added 1005 provider names from /var/etc/CCcam.providers
18:43:15.798 CCcam: added 11097 channel names from /var/etc/CCcam.channelinfo
18:43:15.798 CCcam: server started on port 47015



The binary program is:

/usr/local/bin/CCcam: ELF 64-bit LSB executable, x86-64, version 1
(SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2,
for GNU/Linux 2.6.32, BuildID[sha1]=6ab44025c0a35a3
83d63f30e96e489f29df424b5, stripped


I've tried everything, I do not know what to do to have that output
write it to log.

I've tried inclusy with tty, pts but it's impossible.

Does somebody knows why it could be? with any other command / program works well

with the only thing that I have managed to write to log is add:

| stdbuf -oL

but the program closes


Re: [arch-general] Problem install shrew vpn client

2018-11-03 Thread Maykel Franco via arch-general
El sáb., 3 nov. 2018 0:34, Joan Figueras via arch-general <
arch-general@archlinux.org> escribió:

> On 26/9/18 10:47, Maykel Franco via arch-general wrote:
> > Hi, I received this error when compile the program shrew vpn client:
> >
> > yaourt -S shrew-vpn-client
> >
> >
> /tmp/yaourt-tmp-maykel/aur-shrew-vpn-client/src/ike/source/libike/manager.file.cpp:
> > In member function 'bool _CONFIG_MANAGER::file_pcf_load(CONFIG&, const
> > char*, bool&)':
> >
> /tmp/yaourt-tmp-maykel/aur-shrew-vpn-client/src/ike/source/libike/manager.file.cpp:682:19:
> > error: aggregate 'EVP_CIPHER_CTX ctx_cipher' has incomplete type and
> > cannot be defined
> >  EVP_CIPHER_CTX ctx_cipher;
> > ^~
> > make[2]: *** [source/libike/CMakeFiles/ss_ike.dir/build.make:102:
> > source/libike/CMakeFiles/ss_ike.dir/manager.file.o] Error 1
> > make[2]: *** Waiting for unfinished jobs
> > [ 24%] Linking CXX shared library libss_ip.so
> > [ 25%] Linking CXX shared library libss_pfk.so
> > [ 25%] Built target ss_ip
> > [ 25%] Built target ss_pfk
> > make[1]: *** [CMakeFiles/Makefile2:244:
> > source/libike/CMakeFiles/ss_ike.dir/all] Error 2
> > make: *** [Makefile:130: all] Error 2
> > ==> ERROR: A failure occurred in build().
> >  Aborting...
> > ==> ERROR: Makepkg was unable to build shrew-vpn-client.
> >
> >
> >
> > Someone happened to him the same?
> >
> > Thanks in advanced.
>
> I've just posted a patch to build shrew in AUR:
>
> https://aur.archlinux.org/packages/shrew-vpn-client/#news
>
>
> Cheers
>
> Joan
>


Thanks everybody.

I use the ike client un the command línea and it works.

>


[arch-general] Problem install shrew vpn client

2018-09-26 Thread Maykel Franco via arch-general
Hi, I received this error when compile the program shrew vpn client:

yaourt -S shrew-vpn-client

/tmp/yaourt-tmp-maykel/aur-shrew-vpn-client/src/ike/source/libike/manager.file.cpp:
In member function 'bool _CONFIG_MANAGER::file_pcf_load(CONFIG&, const
char*, bool&)':
/tmp/yaourt-tmp-maykel/aur-shrew-vpn-client/src/ike/source/libike/manager.file.cpp:682:19:
error: aggregate 'EVP_CIPHER_CTX ctx_cipher' has incomplete type and
cannot be defined
EVP_CIPHER_CTX ctx_cipher;
   ^~
make[2]: *** [source/libike/CMakeFiles/ss_ike.dir/build.make:102:
source/libike/CMakeFiles/ss_ike.dir/manager.file.o] Error 1
make[2]: *** Waiting for unfinished jobs
[ 24%] Linking CXX shared library libss_ip.so
[ 25%] Linking CXX shared library libss_pfk.so
[ 25%] Built target ss_ip
[ 25%] Built target ss_pfk
make[1]: *** [CMakeFiles/Makefile2:244:
source/libike/CMakeFiles/ss_ike.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build shrew-vpn-client.



Someone happened to him the same?

Thanks in advanced.


Re: [arch-general] Set ip lan address /etc/environment

2018-06-01 Thread Maykel Franco via arch-general
2018-05-31 12:01 GMT+02:00 Leonid Isaev via arch-general
:
> On Thu, May 31, 2018 at 10:44:25AM +0100, Ralph Corderoy wrote:
>> Hi Maykel,
>>
>> > I need define variable called ip with current ip address machine...
>> > And when reboot machine, the variable ip always has ip address.
>>
>> Yes, I think we all figured that bit out.  :-)
>> But why;  what's going to be using that IP-address environment variable,
>> and when?
>
> Indeed. Is it for consumption of users whose shell you don't know? Is it for
> scripts, like cron jobs?
>
> In the former case, see what is in /etc/shells, and drop a script to
> /etc/profile.d, one for each shell. But that will be for login shells. In the
> latter case, I am afraid you need to define it each time...
>
> Finally, a bit of a puzzle, what are you going to do when the network goes
> down, i.e. should the variable be unset or updated? In other words, how 
> certain
> are you that the IP address remains unchanged throughout the machine uptime?
>
> --
> Leonid Isaev

I need this for docker. I have docker services in which I use
variables and I want to pass the always updated ip variable. If the
network goes, it is not a problem, it will always have the same fixed
static ip. But this way I leave docker generalized for any pc.


Re: [arch-general] Set ip lan address /etc/environment

2018-05-31 Thread Maykel Franco via arch-general
2018-05-30 18:34 GMT+02:00 Leonid Isaev via arch-general
:
> On Wed, May 30, 2018 at 01:07:59PM +0200, Maykel Franco via arch-general 
> wrote:
>> Hi, I put this text in /etc/environment:
>>
>> $ source /etc/environment
>>
>> ip="$(ifconfig | grep -A 1 'eth0' | tail -1 | cut -d ':' -f 2 | cut -d
>> ' ' -f 1)"
>>
>> $ echo $ip
>>
>> 192.168.0.33
>>
>> Works fine, but when I reboot my archlinux:
>>
>> $ echo $ip
>>
>> $(ifconfig | grep -A 1 'eth0' | tail -1 | cut -d ':' -f 2 | cut -d ' ' -f 1)
>>
>>
>> What's happened?? Is necessary exec source /etc/environment after every 
>> reboot?
>>
>> Thanks in advanced.
>
> /etc/environment is for PAM not shell, so it only allows ip=xxx.yyy.zzz.aaa .
> Also, /etc/profile is for LOGIN shells, meaning that from scripts or when 
> doing
> scp(1) it won't be read. What exactly are you trying to achieve?
>
> Cheers,
> --
> Leonid Isaev

I need define variable called ip with current ip address machine...

And when reboot machine, the variable ip always has ip address.


Re: [arch-general] Set ip lan address /etc/environment

2018-05-30 Thread Maykel Franco via arch-general
2018-05-30 13:20 GMT+02:00 Ralph Corderoy :
> Hi Maykel,
>
>> $ source /etc/environment
>> ip="$(ifconfig | grep -A 1 'eth0' | tail -1 | cut -d ':' -f 2 | cut -d ' ' 
>> -f 1)"
>
> https://wiki.archlinux.org/index.php/Environment_variables#Globally says
> /etc/environment doesn't take code, just simple assignments.
> Also see pam_env(8) and the rest of that wiki page.
>
> --
> Cheers, Ralph.
> https://plus.google.com/+RalphCorderoy


Thanks for your response but doesn't work

Put file /etc/profile.d/ip.sh with the content:

ip="$(ifconfig | grep -A 1 'eth0' | tail -1 | cut -d ':' -f 2 | cut -d
' ' -f 1)"

Not work.

And I probe this:

/etc/security/pam_env.conf :

ip  DEFAULT=""  OVERRIDE="$(ifconfig | grep -A 1
'eth0' | tail -1 | cut -d ':' -f 2 | cut -d ' ' -f 1)"

And not working...


[arch-general] Set ip lan address /etc/environment

2018-05-30 Thread Maykel Franco via arch-general
Hi, I put this text in /etc/environment:

$ source /etc/environment

ip="$(ifconfig | grep -A 1 'eth0' | tail -1 | cut -d ':' -f 2 | cut -d
' ' -f 1)"

$ echo $ip

192.168.0.33

Works fine, but when I reboot my archlinux:

$ echo $ip

$(ifconfig | grep -A 1 'eth0' | tail -1 | cut -d ':' -f 2 | cut -d ' ' -f 1)


What's happened?? Is necessary exec source /etc/environment after every reboot?

Thanks in advanced.


[arch-general] Failed install rocketchat-desktop archlinux

2018-04-30 Thread Maykel Franco via arch-general
Hi, I get this error when install the rocketchat-desktop:

[4/4] Building fresh packages...
$ electron-builder install-app-deps
 • electron-builder version=19.56.0
 • loaded configuration file=package.json ("build" field)
 • rebuilding native production dependencies platform=linux arch=x64
 • rebuilding native dependency name=spellchecker
 • rebuilding native dependency name=@paulcbetts/system-idle-time
Done in 17.92s.
yarn run v1.6.0
$ gulp build --env=production
gulp[2126]: ../src/node_contextify.cc:631:static void
node::contextify::ContextifyScript::New(const
v8::FunctionCallbackInfo&): Assert
ion `args[1]->IsString()' failed.
1: node::Abort() [gulp]
2: 0x55a77757c9db [gulp]
3: node::contextify::ContextifyScript::New(v8::FunctionCallbackInfo
const&) [gulp]
4: v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo*)
[gulp]
5: 0x55a91ba7 [gulp]
6: 0x55a9233c [gulp]
7: 0x36bc07f0427d
error Command failed with signal "SIGABRT".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about
this command


Why this error? How to solved it?

Thanks in advanced.


[arch-general] Archlinux + Retroarch + Vulkan + Mednafen PSX HW

2017-11-15 Thread Maykel Franco via arch-general
Hi, I have install archlinux,retroarch, mednafen psx hw (yaourt), ok.

I have install vulkan-icd-loader, nvidia and nvidia-utils.

I like use the emulator Mednafen HW with vulkan Driver.

I try launch retroarch with vulkan video_driver but not works...

[ERROR] [Vulkan]: Failed to set video mode.
[ERROR] [Video]: Cannot open video driver ... Exiting ...
[ERROR] Fatal error received in: "init_video()"



[WARN] Couldn't find any previous driver (current one: "vulkan").



I searching google and I think my graphic card is incompatible... My
graphic card is NVIDIA 560GTX Ti

https://developer.nvidia.com/vulkan-driver

Did I miss something?


[arch-general] Problem wifi connect disconnect

2017-10-28 Thread Maykel Franco via arch-general
Hi, I have this network wifi card:

02:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)

I have xiaomi mi air 13 laptop. The network wifi card works
successfull until a few days ago update archlinux:

I see this errors:


https://pastebin.com/vfM21dA2


I have other devices connect to my router and works fine.

How can I fix?

Thanks in advanced.


[arch-general] DNSmasq forward caching to local

2017-08-28 Thread Maykel Franco via arch-general
Hello, I'm building a dnsmasq in place to cache the
DNS requests from a foreign DNS server.

The idea is, my computer makes a DNS request that is not registered
In my local Dnsmasq, but it does a forward and sends it to the DNS server
(Mentioned above). So, that the next time I come back
To consult that DNS address, and have it cached and do not need
Request it from the outside DNS server.

I have this configuration:

listen-address=127.0.0.1
port=53
bind-interfaces
user=dnsmasq
log-facility=/var/log/dnsmasq.log
log-queries
dns-forward-max=150
cache-size=150
server=192.168.0.33


But in the logs I see, I do not cache anything in the local, which
always goes to
Ask the DNS entries to the server 192.168.0.33:

Dnsmasq [5067]: query [A] www.google.es from 127.0.0.1
Dnsmasq [5067]: forwarded www.google.com to 192.168.0.33

What am I doing wrong?? I'm looking at information but I can not find
anything ...


[arch-general] [SOLVED] Re: Poor performance wifi BCM4331 - MacBookPro

2017-07-08 Thread Maykel Franco via arch-general
Bradley thanks for all.

I install the broadcom-wl-dkms and later, pacman -Syu and add dkms
module in the kernel.

Now the wifi is more efficient, speed and stability.

Thanks for all.

T

2017-07-07 23:29 GMT+02:00 Bradley Klee via arch-general
<arch-general@archlinux.org>:
> Hi Maykel,
>
> Don't confuse me for an expert, but I have been dealing with Broadcom issue 
> on a recycled dell laptop.
>
> According to the wiki, Broadcom devices have been historically difficult for 
> Linux developers to work with. Replacement hardware could be a better option, 
> but in the meantime wireless seems to work in my case using the "dkms" 
> package.
>
> If Installing this you should read the following:
>
> https://wiki.archlinux.org/index.php/Dynamic_Kernel_Module_Support
>
> Adding a dkms package will change your update procedure, sometimes making 
> additional work for pacman.
>
> In case you didn't find the MacBook-specific wiki page, which also mentions 
> Broadcom issues, try looking around here:
>
> https://wiki.archlinux.org/index.php/MacBookPro11,x
> https://wiki.archlinux.org/index.php/MacBookPro7,1
>
> Also, this topic is on numerous BBS threads, so you may want to try a google 
> search, such as: "broadcom macbook 4331 site:bbs.archlinux.org" .
>
> Hope this helps,
>
> Brad
>
>
>
>
> On Jul 7, 2017, at 2:34 PM, Maykel Franco via arch-general 
> <arch-general@archlinux.org> wrote:
>
>> Hi, I have install archlinux in my MacBookPro with this wifi hardware:
>>
>> Broadcom Limited BCM4331 802.11a/b/g/n
>>
>> In the wiki arch:
>>
>> https://wiki.archlinux.org/index.php/broadcom_wireless
>>
>> BCM4331 noticed to have problems with b43-firmware-classic. Use
>> b43-firmware for this card instead.
>>
>> I probed with b43-firmware-classic community and b43-firmware yaourt
>> and both poor performance... 900k bandwith and microcuts.
>>
>> I will try broadcom-wl because I see in this link:
>>
>> https://www.reddit.com/r/archlinux/comments/5qlyfm/cant_get_wifi_with_broadcom_bcm4331_chip/
>>
>> Too I see broadcom-wl-dkms but I have the default kernel no dkms.
>>
>> Somebody with the same problem??


[arch-general] Poor performance wifi BCM4331 - MacBookPro

2017-07-07 Thread Maykel Franco via arch-general
Hi, I have install archlinux in my MacBookPro with this wifi hardware:

Broadcom Limited BCM4331 802.11a/b/g/n

In the wiki arch:

https://wiki.archlinux.org/index.php/broadcom_wireless

BCM4331 noticed to have problems with b43-firmware-classic. Use
b43-firmware for this card instead.

I probed with b43-firmware-classic community and b43-firmware yaourt
and both poor performance... 900k bandwith and microcuts.

I will try broadcom-wl because I see in this link:

https://www.reddit.com/r/archlinux/comments/5qlyfm/cant_get_wifi_with_broadcom_bcm4331_chip/

Too I see broadcom-wl-dkms but I have the default kernel no dkms.

Somebody with the same problem??


Re: [arch-general] Problem install slack-desktop deb

2017-06-13 Thread Maykel Franco via arch-general
2017-06-13 16:44 GMT+02:00 ITwrx.org <i...@itwrx.org>:
> On 06/13/2017 09:21 AM, Maykel Franco via arch-general wrote:
>> Hi, recently I like install slack-desktop 2.3.4 because with the
>> latest version 2.6.x I have a problem with unmark read messages bug...
>>
>> I have install debtap from github, the binary because the debtap
>> archlinux repository not works well.
>>
>> When install the slack-desktop 2.3.4 deb I get this error...
>>
>> user ~/ $ LANG=C sudo pacman -U
>> slack-desktop-2.3.4-1-x86_64.pkg.tar.xz
>> loading packages...
>> resolving dependencies...
>> warning: cannot resolve "apt", a dependency of "slack-desktop"
>> warning: cannot resolve "gir1.2-gnomekeyring-1.0", a dependency of
>> "slack-desktop"
>> :: The following package cannot be upgraded due to unresolvable
>> dependencies:
>>  slack-desktop
>>
>> :: Do you want to skip the above package for this upgrade? [y/N]
>> error: failed to prepare transaction (could not satisfy dependencies)
>> :: slack-desktop: requires apt
>> :: slack-desktop: requires gir1.2-gnomekeyring-1.0
>>
>>
>> How resolved it?
>>
>> Thanks in advanced.
>>
> pacman is telling you that slack-desktop cannot be upgraded because it
> needs those other 2 packages(apt and gir1.2-gnomekeyring-1.0) the second
> evidently being an ubuntu specific package name. you could try and get
> those dependencies installed then try to upgrade slack-desktop. It may
> be more trouble than it's worth.

I decompress slack-desktop-tar.xz and exec manually bin slack and
works well!! With the version 2.3.4.


Re: [arch-general] Problem install slack-desktop deb

2017-06-13 Thread Maykel Franco via arch-general
2017-06-13 16:26 GMT+02:00 Jelle van der Waa <je...@vdwaa.nl>:
> On 06/13/17 at 04:21pm, Maykel Franco via arch-general wrote:
>> Hi, recently I like install slack-desktop 2.3.4 because with the
>> latest version 2.6.x I have a problem with unmark read messages bug...
>>
>> I have install debtap from github, the binary because the debtap
>> archlinux repository not works well.
>>
>> When install the slack-desktop 2.3.4 deb I get this error...
>>
>> user ~/ $ LANG=C sudo pacman -U
>> slack-desktop-2.3.4-1-x86_64.pkg.tar.xz
>> loading packages...
>> resolving dependencies...
>> warning: cannot resolve "apt", a dependency of "slack-desktop"
>> warning: cannot resolve "gir1.2-gnomekeyring-1.0", a dependency of
>> "slack-desktop"
>> :: The following package cannot be upgraded due to unresolvable
>> dependencies:
>>  slack-desktop
>>
>> :: Do you want to skip the above package for this upgrade? [y/N]
>> error: failed to prepare transaction (could not satisfy dependencies)
>> :: slack-desktop: requires apt
>> :: slack-desktop: requires gir1.2-gnomekeyring-1.0
>>
>>
>> How resolved it?
>
> It's better to not rely on unofficial (shit) like debtap and work on
> fixing the package in the repos.
>
> --
> Jelle van der Waa

How to fixing the package specific version 2.3.4 in repo??


[arch-general] Problem install slack-desktop deb

2017-06-13 Thread Maykel Franco via arch-general
Hi, recently I like install slack-desktop 2.3.4 because with the
latest version 2.6.x I have a problem with unmark read messages bug...

I have install debtap from github, the binary because the debtap
archlinux repository not works well.

When install the slack-desktop 2.3.4 deb I get this error...

user ~/ $ LANG=C sudo pacman -U
slack-desktop-2.3.4-1-x86_64.pkg.tar.xz
loading packages...
resolving dependencies...
warning: cannot resolve "apt", a dependency of "slack-desktop"
warning: cannot resolve "gir1.2-gnomekeyring-1.0", a dependency of
"slack-desktop"
:: The following package cannot be upgraded due to unresolvable
dependencies:
 slack-desktop

:: Do you want to skip the above package for this upgrade? [y/N]
error: failed to prepare transaction (could not satisfy dependencies)
:: slack-desktop: requires apt
:: slack-desktop: requires gir1.2-gnomekeyring-1.0


How resolved it?

Thanks in advanced.


Re: [arch-general] archlinux ext4 recovery file versioning

2017-04-17 Thread Maykel Franco via arch-general
El 17 abr. 2017 10:09 p. m., "Alex Theotokatos via arch-general" <
arch-general@archlinux.org> escribió:

On 04/17/2017 09:31 PM, Maykel Franco via arch-general wrote:

> Hi, I have a server in archlinux with samba. I have windows client in my
> house with mapped folder but a Trojan has entered and encrypted all files
> included server archlinux...
>
> Archlinux has formated with ext4.
>
> Would it be possible to recover unencrypted files?
>
Maybe testdisk with photorec might help. Good luck...



With testisk os posible recovery original files without encrypt?


[arch-general] archlinux ext4 recovery file versioning

2017-04-17 Thread Maykel Franco via arch-general
Hi, I have a server in archlinux with samba. I have windows client in my
house with mapped folder but a Trojan has entered and encrypted all files
included server archlinux...

Archlinux has formated with ext4.

Would it be possible to recover unencrypted files?


[arch-general] Archlinux i3wm i3-scrot copy clipboard

2017-02-21 Thread Maykel Franco via arch-general
Hi, I love with muy installation. Archlinux + i3wm but I like take
screenshots with tool i3 called i3-scrot but I don't see option to copy
clipboard, only save screenshots in folder...


[arch-general] [OT] Favorite/best desktop in archlinux

2016-11-06 Thread Maykel Franco via arch-general
Hi, what the best desktop envieronment for archlinux? Only is the question.

I like very much kde plasma but he used a lot of ram and sometimes it
is very heavy. Do you think?


Re: [arch-general] Iptables block https traffic apache

2016-11-04 Thread Maykel Franco via arch-general
2016-11-04 12:09 GMT+01:00 Björn Fries via arch-general
<arch-general@archlinux.org>:
> As the traffic is encrypted, iptables cannot analyse it. Apache must be the
> one who blocks here.
>
>
> On 2016-11-04 12:07, Maykel Franco via arch-general wrote:
>>
>> Hi, I have configured apache + php + mysql in my house. I like block
>> the specific url traffic over https...
>>
>> I found this:
>>
>> iptables -A OUTPUT -p tcp --sport 443 -m string --string "anything"
>> --algo kmp -j REJECT
>>
>> But not works... With http works very well...
>>
>> Any ideas??
>>
>> Thanks in advanced.
>>
>

How can block in apache? The traffic enter anyway...what I want is
that the requests do not enter? the apache does not process?


[arch-general] Iptables block https traffic apache

2016-11-04 Thread Maykel Franco via arch-general
Hi, I have configured apache + php + mysql in my house. I like block
the specific url traffic over https...

I found this:

iptables -A OUTPUT -p tcp --sport 443 -m string --string "anything"
--algo kmp -j REJECT

But not works... With http works very well...

Any ideas??

Thanks in advanced.


[arch-general] kde --> xfce how to remove all packages kde

2016-10-30 Thread Maykel Franco via arch-general
Hi, I have migrate my archlinux system desktop kde to xfce.

How to remove all kde packages and dependecy?

Thanks in advanced.


Re: [arch-general] Virtualbox pxe boot fails and freeze system

2016-09-27 Thread Maykel Franco via arch-general
Log VM boot:

00:00:07.458477 VGA Sequencer (3C5): SR index 3C4:03
00:00:07.458479  SR00:03 SR01:00 SR02:03 SR03:00 SR04:02
00:00:07.458492 !!
00:00:07.458492 !! {vgatext}
00:00:07.458493 !!
00:00:07.458497  80x25
-
00:00:07.458539 iPXE (PCI C8:00.0) starting
execution...ok
00:00:07.458585 iPXE initialising
devices...ok
00:00:07.458630

00:00:07.458676

00:00:07.458756

00:00:07.458815 iPXE 1.0.0+ -- Open Source Network Boot Firmware --
http://ipxe.org
00:00:07.458876 Features: DNS TFTP HTTP PXE PXEXT
Menu
00:00:07.458947

00:00:07.459021 net0: 08:00:27:73:b5:ee using 82540em on PCI00:03.0
(open)
00:00:07.459086   [Link:up, TX:0 TXE:0 RX:0
RXE:0]
00:00:07.459182 DHCP (net0 08:00:27:73:b5:ee)..
ok
00:00:07.459269 net0: 192.168.0.101/255.255.255.0 gw
192.168.0.1
00:00:07.459334 Next server:
192.168.0.3
00:00:07.459379 Filename:
pxelinux.0
00:00:07.459423 tftp://192.168.0.3/pxelinux.0...
ok
00:00:07.459466

00:00:07.459510 PXELINUX 6.02 6.02-pre16  Copyright (C) 1994-2013 H. Peter
Anvin et al
00:00:07.459554

00:00:07.459598

00:00:07.459642

00:00:07.459695

00:00:07.459740

00:00:07.459783

00:00:07.459827

00:00:07.459881

00:00:07.459965

00:00:07.460036
!!


2016-09-27 15:19 GMT+02:00 Maykel Franco :

> Hi, I have a virtualbox, version 5.1.6. When boot the VM from PXE, fails
> with error unknown and my archlinux freeze...
>
> Anybody with these problem??
>
> Thanks in advanced.
>


[arch-general] Virtualbox pxe boot fails and freeze system

2016-09-27 Thread Maykel Franco via arch-general
Hi, I have a virtualbox, version 5.1.6. When boot the VM from PXE, fails
with error unknown and my archlinux freeze...

Anybody with these problem??

Thanks in advanced.


Re: [arch-general] systemctl problems with enable, disable, start, stop

2016-05-30 Thread Maykel Franco via arch-general
Ok many thanks. How to downgrade this version lvm?
El 29 may. 2016 5:53 p. m., "Jonathan Roemer" <jroe...@datto.com> escribió:

> On Sun, 2016-05-29 at 12:57 +0200, Maykel Franco via arch-general
> wrote:
> > Hi, I have installed archlinux from zero. And when I enable anything
> > service the command is slow and i get this error:
> >
> > [root@arch-kodi-nas maykel]# systemctl enable network@enp2s0.service
> > Error getting authority: Error initializing authority: Error calling
> > StartServiceByName for org.freedesktop.PolicyKit1: Timeout was
> > reached
> > (g-io-er
> > ror-quark, 24)
> > Created symlink from
> > /etc/systemd/system/multi-user.target.wants/network@enp2s0.service to
> > /etc/systemd/system/network@.service.
> >
> > [root@arch-kodi-nas maykel]# systemctl enable sshd
> > Error getting authority: Error initializing authority: Error calling
> > StartServiceByName for org.freedesktop.PolicyKit1: Timeout was
> > reached
> > (g-io-er
> > ror-quark, 24)
> >
> > Is the bug in systemctl?
> >
> > I have installed archlinux un my notebook from 4 years ago and no
> > problems.
> >
> > Thanks in advanced.
>
> https://github.com/systemd/systemd/issues/3353#issuecomment-83205
>
> Cheers,
> pid1
>


Re: [arch-general] systemctl problems with enable, disable, start, stop

2016-05-29 Thread Maykel Franco via arch-general
2016-05-29 13:50 GMT+02:00 Maykel Franco :
> 2016-05-29 13:46 GMT+02:00 Maykel Franco :
>> 2016-05-29 13:42 GMT+02:00 Maykel Franco :
>>> 2016-05-29 13:19 GMT+02:00 Ralf Mardorf :
 On Sun, 29 May 2016 12:57:54 +0200, Maykel Franco wrote:
>I have installed archlinux from zero. And when I enable anything
>service the command is slow and i get this error:
>
>Is the bug in systemctl?

 I don't think so, but perhaps I'm mistaken, OTOH Google doesn't
 find relevant links [1] ...

 [rocketmouse@archlinux ~]$ pacman -Qo /usr/bin/systemctl
 /usr/bin/systemctl is owned by systemd 229-3

 ... at least 229-3 works here without such an error. I just tested
 start/stop.

 Regarding the speed, it depends on what my network scripts are doing,
 if I start or stop them.

 [rocketmouse@archlinux ~]$ sudo systemctl start alice
 [rocketmouse@archlinux ~]$ sudo systemctl stop alice
 [...]
 [rocketmouse@archlinux ~]$ sudo systemctl stop alice-dhcp
 [rocketmouse@archlinux ~]$ sudo systemctl start alice-dhcp

 They could finish immediately or take very long, but that is caused by
 those scripts.

 Regards,
 Ralf

 [1]
 https://www.google.de/?gws_rd=ssl#q=arch+linux+StartServiceByName+for+org.freedesktop.PolicyKit1:+Timeout+was+reached
>>>
>>> Server:
>>>
>>> [root@arch-kodi-nas maykel]# LANG=C pacman -Qo /usr/bin/systemctl
>>> /usr/bin/systemctl is owned by systemd 229-3
>>>
>>> In my laptop with the version systemd is the same, no problem with
>>> systemd, dbus or avahi.
>>>
>>> In the server, today install archlinux from zero. I don't understand 
>>> anything...
>>
>> -- Unit polkit.service has begun starting up.
>> may 29 13:45:05 arch-kodi-nas polkitd[24054]: Started polkitd version 0.113
>> may 29 13:45:05 arch-kodi-nas polkitd[24054]: Loading rules from
>> directory /etc/polkit-1/rules.d
>> may 29 13:45:05 arch-kodi-nas polkitd[24054]: Loading rules from
>> directory /usr/share/polkit-1/rules.d
>> may 29 13:45:05 arch-kodi-nas polkitd[24054]: Finished loading,
>> compiling and executing 1 rules
>> may 29 13:45:05 arch-kodi-nas polkitd[24054]: Lost the name
>> org.freedesktop.PolicyKit1 - exiting
>> may 29 13:45:05 arch-kodi-nas systemd[1]: Started Authorization Manager.
>> -- Subject: Unit polkit.service has finished start-up
>> -- Defined-By: systemd
>> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>> --
>> -- Unit polkit.service has finished starting up.
>> --
>> -- The start-up result is done.
>> may 29 13:45:30 arch-kodi-nas dbus[292]: [system] Failed to activate
>> service 'org.freedesktop.PolicyKit1': timed out
>> may 29 13:45:30 arch-kodi-nas systemd[1]: Stopping Starts instance of
>> Kodi using xinit...
>> -- Subject: Unit kodi.service has begun shutting down
>
>
> systemctl restart kodi, for example:
>
> ==> /var/log/auth.log <==
> May 29 15:49:47 arch-kodi-nas dbus[292]: [system] Failed to activate
> service 'org.freedesktop.PolicyKit1': timed out
> May 29 15:49:47 arch-kodi-nas polkitd[24167]: Loading rules from
> directory /etc/polkit-1/rules.d
> May 29 15:49:47 arch-kodi-nas polkitd[24167]: Loading rules from
> directory /usr/share/polkit-1/rules.d
> May 29 15:49:47 arch-kodi-nas polkitd[24167]: Finished loading,
> compiling and executing 1 rules
> May 29 15:49:47 arch-kodi-nas polkitd[24167]: Lost the name
> org.freedesktop.PolicyKit1 - exiting

I removed a disk 2TB who thought that was faulty because it gave me
problems once and it works well. I don't understand anything...


Re: [arch-general] systemctl problems with enable, disable, start, stop

2016-05-29 Thread Maykel Franco via arch-general
2016-05-29 12:57 GMT+02:00 Maykel Franco :
> Hi, I have installed archlinux from zero. And when I enable anything
> service the command is slow and i get this error:
>
> [root@arch-kodi-nas maykel]# systemctl enable network@enp2s0.service
> Error getting authority: Error initializing authority: Error calling
> StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached
> (g-io-er
> ror-quark, 24)
> Created symlink from
> /etc/systemd/system/multi-user.target.wants/network@enp2s0.service to
> /etc/systemd/system/network@.service.
>
> [root@arch-kodi-nas maykel]# systemctl enable sshd
> Error getting authority: Error initializing authority: Error calling
> StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached
> (g-io-er
> ror-quark, 24)
>
> Is the bug in systemctl?
>
> I have installed archlinux un my notebook from 4 years ago and no problems.
>
> Thanks in advanced.


[root@arch-kodi-nas maykel]# loginctl list-sessions
  SESSIONUID USER SEAT
   c2   1000 maykel
   c1  0 root seat0
   c5   1000 maykel
   c4420 kodi seat0


[arch-general] systemctl problems with enable,disable,start,stop

2016-05-29 Thread Maykel Franco via arch-general
Hi, I have installed archlinux from zero. And when I enable anything
service the command is slow and i get this error:

[root@arch-kodi-nas maykel]# systemctl enable network@enp2s0.service
Error getting authority: Error initializing authority: Error calling
StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached
(g-io-er
ror-quark, 24)
Created symlink from
/etc/systemd/system/multi-user.target.wants/network@enp2s0.service to
/etc/systemd/system/network@.service.

[root@arch-kodi-nas maykel]# systemctl enable sshd
Error getting authority: Error initializing authority: Error calling
StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached
(g-io-er
ror-quark, 24)

Is the bug in systemctl?

I have installed archlinux un my notebook from 4 years ago and no problems.

Thanks in advanced.