Re: Can't use mc's editor

2022-03-21 Thread Felix Miata
David Wright composed on 2022-03-21 23:07 (UTC-0500):

> Felix Miata wrote:

>> IIUC, and assuming standard file/directory permissions, if all instances of 
>> MC are
>> closed, and its ini file is then removed, every setting (except for panels
>> configuration? and hotlist), gets reverted to default on next startup.

> I've attached the result of that reversion (from buster). The critical
> line is, of course, line 4. I assume that, like me, a long time ago,
> you altered it to auto_save_setup=false.

Actually the first thing I do with any new instance of MC is set the right panel
listing to long. I follow that with F9, Options, Configuration, where Auto save
setup gets deselected, among other changes. :)
-- 
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata



Re: Report a bug against which package - unattended-upgrades / apt / dpkg ??

2022-03-21 Thread David Wright
On Mon 21 Mar 2022 at 15:07:45 (+), Dr. Alex Sheppard wrote:
> On 21/03/2022 14:02, Dan Ritter wrote:
> > Dr. Alex Sheppard wrote:
> > > 
> > >      Unattended upgrades ended up removing some of the packages it was was
> > > going to upgrade ... bind9 being one of them and thereby breaking DNS on a
> > > client's network.
> > > 
> > >      Is this a bug in unattended upgrades, or a bug in apt or dpkg? Here 
> > > is
> > > an extract from my unattended-upgrades.log to illustrate.

It might help to check other logs like dpkg.log¹, apt/history.log², and
auth.log³, and also the contents of /var/cache/apt/archives/{,partial/}⁴
to try to find out why bind9 wasn't upgraded. Was it even downloaded?
BTW does unattended upgrades send failure reports to /var/mail/sysadmin?

> > >      FTR: I'm struggling to think how bind9 could have been installed as a
> > > dependency for something else on the machine in question. I am pretty 
> > > sure I
> > > would have installed it manually which gives extra surprise to it being
> > > autoremoved.

Do you have backups of previous versions of /var/lib/apt/extended_states
which might give evidence of that. Otherwise, confirming a bug
might be difficult.

> > unattended-upgrades should not be allowed to autoremove. Doing
> > so always ends up with surprises, unless you have pre-tested
> > everything and keep your own apt repo a day or two behind
> > Debian's.
> > 
> > Unattended-Upgrade::Remove-Unused-Dependencies "false";
> > Unattended-Upgrade::Remove-New-Unused-Dependencies "false";

> My config had the normal "like apt-get autoremove" disabled as per default
> """
> // Do automatic removal of unused packages after the upgrade
> // (equivalent to apt-get autoremove)
> // Unattended-Upgrade::Remove-Unused-Dependencies "false";
> """
> 
> Whereas removing newly unused packages was enabled  - also as per the
> default
> """
> // Do automatic removal of newly unused dependencies after the upgrade
> // Unattended-Upgrade::Remove-New-Unused-Dependencies "true";
> """
> 
> My issue arose not from doing "the equivalent to apt-get autoremove"
> but by whatever "Remove-New-Unused-Dependencies" does. Does anybody
> know how the logic of this works / what commands are run to achieve
> this?

The logic would appear to be that Remove-Unused-Dependencies="true"
would effectively run an autoremove at some time in the process.
Assume package M0 depends on D0, and D0 was auto-installed. And say
that yesterday you removed M0, but ignored the fact that D0 could now
be autoremoved. You might expect that an unattended-upgrade would
remove D0 on account of Remove-Unused-Dependencies="true".

However, Remove-New-Unused-Dependencies="true" should leave D0 alone.

OTOH if a package M1 (having a dependency D1) was upgraded to a more
well-endowed version that dispensed with the services of D1, then
D1 now has the status of a newly unused dependency, and so
Remove-New-Unused-Dependencies="true" will autoremove it.

> The way I see it there is a bug in either:
> 
>     a) The logic in unattended-upgrades of how it goes about
> fulfilling "Remove-New-Unused-Dependencies"
> 
>         or
> 
>     b) An underlying command that is called to fulfill the
> "Remove-New-Unused-Dependencies" operation
> 
>         or
> 
>     c) Uninstalling a package that it just upgraded seems like a
> mistake that ought to be catchable, but if there is just no way to do
> the "Remove-New-Unused-Dependencies" operation without risk of
> something important getting [un]installed, the bug is that this is enabled
> by default.

I don't see why it is necessarily a mistake. In the example above,
there might be a package P1 that other people use, and which needs
D1 to be upgraded. It would then come down to a matter of the relative
timing of the decision to upgrade D1 and the decision to autoremove
it. I would say that the autoremove decision can only be taken /after/
the success (or failure) of all the upgrades involved.

> So, unless anyone can explain otherwise, I think there is a bug to
> report against unattended-upgrades.

Perhaps. But I'd avoid the risks in autoremoving anything. In fact,
I only automate the _downloading_ of upgradeable candidates.

¹ Did bind9 get upgraded at all?
² Did it intend to upgrade all the upgradeables?
³ Was the correct number of packages downloaded from debian-security?
⁴ Unfortunately, any recent apt-cleaning will prevent you knowing
  whether bind9…10u7 ever arrived on the system.

Cheers,
David.



Re: Can't use mc's editor

2022-03-21 Thread David Wright
On Mon 21 Mar 2022 at 22:43:50 (-0400), Felix Miata wrote:
> David Wright composed on 2022-03-21 20:55 (UTC-0500):
> > On Mon 21 Mar 2022 at 14:08:14 (-0400), Felix Miata wrote:
> >> Nate Bargmann composed on 2022-03-21 12:35 (UTC-0500):
> 
> >> > tinkering with mc's config files directly which can only be done if all
> >> > instances of mc are closed.
> 
> >> Not IME, at least for ini and hotlist, the former which I change nearly as 
> >> often
> >> with mcedit as I do via menu. Hotlist I only do with mcedit.
> 
> > My recollection is that when you close mc, it writes back the current
> > settings to the ini file, which is why I keep mine readonly.
> Felix Miata composed on 2022-03-21 18:07 (UTC-0400):
> 
> > My main user's MC ini file was last written 8 years ago.
> 
> And, it's not immutable. On a second PC I have running Bookworm ATM, the last
> write date on its MC ini is 9 days short of 5 years ago.

But you also wrote:

> IIUC, and assuming standard file/directory permissions, if all instances of 
> MC are
> closed, and its ini file is then removed, every setting (except for panels
> configuration? and hotlist), gets reverted to default on next startup.

I've attached the result of that reversion (from buster). The critical
line is, of course, line 4. I assume that, like me, a long time ago,
you altered it to auto_save_setup=false.

The default lines safe_delete=false and safe_overwrite=false are so
dangerous that I don't rely just on line 4, but make ini readonly too.

I keep my panels configuration readonly too (actually a symlink to a
default-panels.ini or a single panelled my-panels.ini) to prevent
accidents, though auto_save_setup_panels=false is the default anyway.

Cheers,
David.
[Midnight-Commander]
verbose=true
shell_patterns=true
auto_save_setup=true
preallocate_space=false
auto_menu=false
use_internal_view=true
use_internal_edit=false
clear_before_exec=true
confirm_delete=true
confirm_overwrite=true
confirm_execute=false
confirm_history_cleanup=true
confirm_exit=false
confirm_directory_hotlist_delete=false
confirm_view_dir=false
safe_delete=false
safe_overwrite=false
use_8th_bit_as_meta=false
mouse_move_pages_viewer=true
mouse_close_dialog=false
fast_refresh=false
drop_menus=false
wrap_mode=true
old_esc_mode=true
cd_symlinks=true
show_all_if_ambiguous=false
use_file_to_guess_type=true
alternate_plus_minus=false
only_leading_plus_minus=true
show_output_starts_shell=false
xtree_mode=false
file_op_compute_totals=true
classic_progressbar=true
use_netrc=true
ftpfs_always_use_proxy=false
ftpfs_use_passive_connections=true
ftpfs_use_passive_connections_over_proxy=false
ftpfs_use_unix_list_options=true
ftpfs_first_cd_then_ls=true
ignore_ftp_chattr_errors=true
editor_fill_tabs_with_spaces=false
editor_return_does_auto_indent=false
editor_backspace_through_tabs=false
editor_fake_half_tabs=true
editor_option_save_position=true
editor_option_auto_para_formatting=false
editor_option_typewriter_wrap=false
editor_edit_confirm_save=true
editor_syntax_highlighting=true
editor_persistent_selections=true
editor_drop_selection_on_copy=true
editor_cursor_beyond_eol=false
editor_cursor_after_inserted_block=false
editor_visible_tabs=true
editor_visible_spaces=true
editor_line_state=false
editor_simple_statusbar=false
editor_check_new_line=false
editor_show_right_margin=false
editor_group_undo=true
editor_state_full_filename=true
editor_ask_filename_before_edit=false
nice_rotating_dash=true
mcview_remember_file_position=false
auto_fill_mkdir_name=true
copymove_persistent_attr=true
pause_after_run=1
mouse_repeat_rate=100
double_click_speed=250
old_esc_mode_timeout=100
max_dirt_limit=10
num_history_items_recorded=60
vfs_timeout=60
ftpfs_directory_timeout=900
ftpfs_retry_seconds=30
fish_directory_timeout=900
editor_tab_spacing=8
editor_word_wrap_line_length=72
editor_option_save_mode=0
editor_backup_extension=~
editor_filesize_threshold=64M
editor_stop_format_chars=-+*\\,.;:&>
mcview_eof=
skin=default

[Layout]
message_visible=1
keybar_visible=1
xterm_title=1
output_lines=0
command_prompt=1
menubar_visible=1
free_space=1
horizontal_split=0
vertical_equal=1
left_panel_size=50
horizontal_equal=1
top_panel_size=1

[Misc]
timeformat_recent=%b %e %H:%M
timeformat_old=%b %e  %Y
ftp_proxy_host=gate
ftpfs_password=anonymous@
display_codepage=UTF-8
source_codepage=Other_8_bit
autodetect_codeset=
spell_language=en
clipboard_store=
clipboard_paste=

[Colors]
base_color=
xterm=
color_terminals=

[Panels]
show_mini_info=true
kilobyte_si=false
mix_all_files=false
show_backups=true
show_dot_files=true
fast_reload=false
fast_reload_msg_shown=false
mark_moves_down=true
reverse_files_only=true
auto_save_setup_panels=false
navigate_with_arrows=false
panel_scroll_pages=true
panel_scroll_center=false
mouse_move_pages=true
filetype_mode=true
permission_mode=false
torben_fj_mode=false
quick_search_mode=2
select_flags=6

[Panelize]
Find *.orig after patching=find . -name \\*.orig -print
Find SUID and SGID programs=find . \\( \\( 

Cambio de Sistema O. de Centos a Debian.

2022-03-21 Thread Canpe
Hola,

quise inscribirme en el foro pero tienen problemas con el registro de
nuevos usuarios.

mi problema es:

1. después de meses volví a prender una pc con la idea de instalar Debian.
en este PC tengo instalado Centos. pensaba iniciar sesión pero 3 teclas del
teclado están dañadas y la contraseña no la puedo completar para iniciar
sesión. después de muchas horas por buscar la solución, y al no
encontrarla, decidí usar un USB Booteable con FAT32 y la Imagen de Debian
descargada de su página debian.org, pero también tuve problemas y nunca al
arrancar la máquina pude ver el instalador, y solo arranca centos.

Entré a la BIOS e hice pruebas de una u otra forma y tampoco pude.

¿Me podrían orientar por favor?


Gracias

Saludos

Carlos
--

*Carlos Nogales Peñafiel*


Re: Can't use mc's editor

2022-03-21 Thread Felix Miata
David Wright composed on 2022-03-21 20:55 (UTC-0500):

> On Mon 21 Mar 2022 at 14:08:14 (-0400), Felix Miata wrote:

>> Nate Bargmann composed on 2022-03-21 12:35 (UTC-0500):

>> > tinkering with mc's config files directly which can only be done if all
>> > instances of mc are closed.

>> Not IME, at least for ini and hotlist, the former which I change nearly as 
>> often
>> with mcedit as I do via menu. Hotlist I only do with mcedit.

> My recollection is that when you close mc, it writes back the current
> settings to the ini file, which is why I keep mine readonly.
Felix Miata composed on 2022-03-21 18:07 (UTC-0400):

> My main user's MC ini file was last written 8 years ago.

And, it's not immutable. On a second PC I have running Bookworm ATM, the last
write date on its MC ini is 9 days short of 5 years ago.
-- 
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata



Re: Can't use mc's editor

2022-03-21 Thread David Wright
On Mon 21 Mar 2022 at 14:08:14 (-0400), Felix Miata wrote:
> Nate Bargmann composed on 2022-03-21 12:35 (UTC-0500):
> 
> > tinkering with mc's config files directly which can only be done if all
> > instances of mc are closed.
> 
> Not IME, at least for ini and hotlist, the former which I change nearly as 
> often
> with mcedit as I do via menu. Hotlist I only do with mcedit.

My recollection is that when you close mc, it writes back the current
settings to the ini file, which is why I keep mine readonly.

With multiple instances of mc running, one might get Nate's impression
above, unless any changes intended to be persistent are made in the
instance that's closed last.

> Mcedit is giving me no trouble. I use most than once a day most days.

I find the 4[Edit] key more useful as an extra alternative to 3[View]
and [Return] in choosing the Edit/View/Open scripts to run from mc.ext,
eg a different application, or windowed/fullscreen, or view metadata
rather than the file, etc.

If you want to edit the currently selected file, is there any major
disadvantage in simply typing   edit %p   in mc's command line?
There's one obvious advantage: you can type the name of any editor,
rather than being restricted to the list given by select-editor
(see Joe's post).

Cheers,
David.



Re: Can't use mc's editor

2022-03-21 Thread David Wright
On Mon 21 Mar 2022 at 19:34:46 (-0500), Nate Bargmann wrote:
> * On 2022 21 Mar 15:19 -0500, Joe wrote:
> > Probably best try nano unless you're particularly keen on vim. Don't
> > forget that geany is a GUI IDE, whereas mc is a ncurses application.
> 
> Actually, mc and mcedit are linked to libslang, not ncurses.  Visually
> it's not much difference but otherwise a world of difference, mostly to
> developers.
> 
> One thing that really helped me when working with mcedit is to have this
> snippet in my ~/.bashrc:
> 
> # Modify Midnight Commander editor background color
> export MC_COLOR_TABLE="$MC_COLOR_TABLE:\
> editnormal=lightgray,black:\
> editbold=yellow,black:\
> editmarked=black,cyan"
> 
> There may be more parameters available and it has been many years since
> I found that somewhere on the 'Net and I failed to note the source.

man mc ?

Cheers,
David.



Re: Under each of these scenarios, what is the neatest and simplest way to manipulate the /etc/network/interfaces file?

2022-03-21 Thread David Wright
On Mon 21 Mar 2022 at 06:05:48 (+), Tim Woodall wrote:
> On Sun, 20 Mar 2022, David Wright wrote:
> > On Sat 19 Mar 2022 at 03:14:54 (+0100), Stella Ashburne wrote:
> > > 
> > > There are instances in which my machine is connected to a mobile hotspot. 
> > > And in some situations, it's connected to a smartphone via USB tethering. 
> > > And when I'm in the office, I may connect it to a LAN cable.
> > > 
> > > Below are the contents of my /etc/network/interfaces file:
> > > 
> > > # This file describes the network interfaces available on your system
> > > # and how to activate them. For more information, see interfaces(5).
> > > 
> > > source /etc/network/interfaces.d/*
> > 
> > I would change this line to
> > 
> > source-directory /etc/network/interfaces.d
> > 
> > (which was the default on new buster installations).
> > 
> > I would then hive off all your interface configurations into
> > separate files in the directory /etc/network/interfaces.d
> > using all-ASCII filenames constructed from upper/lower-case
> > letters, digits, underscores, and minus-hyphens, as specified
> > on the man page, but with the string ".hidden" added to the end,
> > thus:
> > 
> > myphone-tethered.hidden
> > office-wired.hidden
> > wifi.hidden
> > hotspot.hidden
> > 
> > and so on. Files with a dot are ignored when included by means of
> > a source-directory directive.
> 
> I think just commenting out the allow-hotplug lines is sufficient. Then
> you can use ifup/ifdown at will. The only 'problem' will be that an
> interface doesn't start at boot.

And that would be a killer for a sizeable proportion of users.
I don't run any true headless systems myself, but I usually
start my non-laptops with wakeonlan, which would become futile
along with all the other power management wakening options.

> (I'd second splitting into separate files anyway)

Cheers,
David.



Re: Can't use mc's editor

2022-03-21 Thread gene heskett
On Monday, 21 March 2022 18:07:28 EDT Felix Miata wrote:
> gene heskett composed on 2022-03-21 17:26 (UTC-0400):
> > whatever I do to it, has zero effect.
> 
> IIUC, and assuming standard file/directory permissions, if all
> instances of MC are closed, and its ini file is then removed, every
> setting (except for panels configuration? and hotlist), gets reverted
> to default on next startup.
> 
> Long long ago, MC user settings were in ~/.mc/. Now they are in
> ~/.config/mc/. For old users you still have you might want to
> eradicate any ~/.mc/ directories. My ~/.config/mc/ is a symlink to
> ~/.mc/.
> 
> My main user's MC ini file was last written 8 years ago.
> --
> Evolution as taught in public schools is, like religion,
>   based on faith, not based on science.
> 
>  Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
> 
> Felix Miata
> 
Noted, thanks Felix. But it doesn't change a whit when I set the kde5 
colors to something a little easier on these ancient eyes. I went looking 
for something that if I print a msg from kmail, the whole header was 
white text on an ounce of black toner. Obviously that had to be fixed. :)

Thanks Felix, take care and stay well.

Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis





Re: Can't use mc's editor

2022-03-21 Thread Nate Bargmann
* On 2022 21 Mar 15:19 -0500, Joe wrote:
> Probably best try nano unless you're particularly keen on vim. Don't
> forget that geany is a GUI IDE, whereas mc is a ncurses application.

Actually, mc and mcedit are linked to libslang, not ncurses.  Visually
it's not much difference but otherwise a world of difference, mostly to
developers.

One thing that really helped me when working with mcedit is to have this
snippet in my ~/.bashrc:

# Modify Midnight Commander editor background color
export MC_COLOR_TABLE="$MC_COLOR_TABLE:\
editnormal=lightgray,black:\
editbold=yellow,black:\
editmarked=black,cyan"

There may be more parameters available and it has been many years since
I found that somewhere on the 'Net and I failed to note the source.

- Nate

-- 
"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."
Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819



signature.asc
Description: PGP signature


Re: [OT] Crear PEN con un LiveCD y personalizarlo.

2022-03-21 Thread Eduardo Visbal
Si amigo, justamente los cambios que hago se mantienen. (ojo esto lo hice
desde un windows)

Te dejo este link que fue uno en los que me guie en la creación del live
usb persistente:

https://ubunlog.com/rufus-3-7-beta-te-permite-crear-un-live-usb-de-ubuntu-con-almacenamiento-persistente-desde-windows/



*Eduardo VisbalLinuxero #440451*


El lun, 21 mar 2022 a las 19:31, Ramses ()
escribió:

> El 21 de marzo de 2022 21:56:21 CET, Eduardo Visbal <
> eduardovis...@gmail.com> escribió:
> >Hola Amigos
> >
> >Yo cree un live USB con rufus y está personalizado, y me ha ido bien.
> >
> >Yo en lo personal cuando lo quise hacer con Yumi no me funcionaba.
> >
> >
> >
> >
> >*Eduardo VisbalLinuxero #440451*
> >
> >
> >El lun, 21 mar 2022 a las 17:51, Ramses ()
> >escribió:
> >
> >> El 21 de marzo de 2022 14:25:09 CET, Gonzalo Rivero <
> >> fishfromsa...@gmail.com> escribió:
> >> >Holas,
> >> >El 21/3/22 a las 09:04, Ramses escribió:
> >> >> Hola a tod@s,
> >> >>
> >> >> Me gustaría crear un PEN con un LiveCD y hacerle algunas
> modificaciones
> >> que se mantuvieran al iniciar con ese PEN en cualquier equipo.
> >> >>
> >> >> ¿Sería eso viable?
> >> >>
> >> >> Si es así, ¿por dónde tendría que atacar el tema?
> >> >>
> >> >> ¿Qué software multiplataforma me recomiendan para volcar el LiveCD en
> >> el PEN y que sea bootable?
> >> >>
> >> >>
> >> >> Gracias y saludos,
> >> >>
> >> >> Ramsés
> >> >
> >> >En su momento había un live-helper, buscando cosas encontré esto de...
> >> >2010
> >> >
> >>
> https://gutl.jovenclub.cu/live-helper-herramienta-para-crear-live-cd-en-debian/
> >> >Pero parece que lo sacaron en 2010, y ahora hay un live-build
> >> >https://packages.debian.org/unstable/live-build
> >> >
> >> >Ahora que sabé que hay /algo/, te toca encontrar la documentación,
> >> >leerla y ver si te sirve
> >> >
> >> >pd/ot: este es mi primer mensaje a la lista en varios años, ni busqué
> >> >donde quitar el html del correo. Espero que también vaya la versión en
> >> >texto plano jejeje
> >> >
> >>
> >> He encontrado esto:
> >>
> >>
> >>
> https://www.xataka.com/basics/como-crear-live-usb-ubuntu-windows-que-guarde-cambios-que-hagas-para-siguiente-sesion
> >>
> >> Pero el creador del PEN bootable (YUMI) va sobre Windows.
> >>
> >> Comentan que se puede hacer con otros creadores de PEN bootables, pero
> no
> >> sé si funcionará o no.
> >>
> >> De todas formas, no he probado aún a crear el PEN con YUMI.
> >>
> >>
> >> Saludos
> >>
> >>
>
> Eduardo, ¿pero con Rufus volcaste el LiveCD en un PEN y los cambios que
> haces en el LiveCD arrancando con el PEN se mantienen la siguiente vez que
> arrancas con el PEN?
>
>
> Saludos
>
>


Android mounten

2022-03-21 Thread Paul van der Vlis

Hallo,

Een klant heeft een vrij nieuwe telefoon met Android 8.0. Het overzetten 
van foto's ging tot nu toe prima, maar plots lukt het niet meer.


Na het inprikken van de kabel krijgt hij een melding op zijn telefoon 
waarna hij de verbinding toestaat. Er is verder niet te kiezen voor een 
bepaald protocol.


Dan volgt een melding op de computer dat het mounten niet gelukt is. 
Jammer genoeg heb ik de precieze melding niet paraat op het moment, maar 
daar kwam het op neer.


Iemand een idee wat te doen in zo'n geval?

In syslog zag ik zoiets: gvfsd: PTP: reading event an error 0x05 occurred.

Ik heb zowel de computer als de telefoon laten rebooten zonder dat het 
wat hielp.


Groet,
Paul




--
Paul van der Vlis Linux systeembeheer Groningen
https://vandervlis.nl/



Re: [OT] Crear PEN con un LiveCD y personalizarlo.

2022-03-21 Thread Ramses
El 21 de marzo de 2022 21:56:21 CET, Eduardo Visbal  
escribió:
>Hola Amigos
>
>Yo cree un live USB con rufus y está personalizado, y me ha ido bien.
>
>Yo en lo personal cuando lo quise hacer con Yumi no me funcionaba.
>
>
>
>
>*Eduardo VisbalLinuxero #440451*
>
>
>El lun, 21 mar 2022 a las 17:51, Ramses ()
>escribió:
>
>> El 21 de marzo de 2022 14:25:09 CET, Gonzalo Rivero <
>> fishfromsa...@gmail.com> escribió:
>> >Holas,
>> >El 21/3/22 a las 09:04, Ramses escribió:
>> >> Hola a tod@s,
>> >>
>> >> Me gustaría crear un PEN con un LiveCD y hacerle algunas modificaciones
>> que se mantuvieran al iniciar con ese PEN en cualquier equipo.
>> >>
>> >> ¿Sería eso viable?
>> >>
>> >> Si es así, ¿por dónde tendría que atacar el tema?
>> >>
>> >> ¿Qué software multiplataforma me recomiendan para volcar el LiveCD en
>> el PEN y que sea bootable?
>> >>
>> >>
>> >> Gracias y saludos,
>> >>
>> >> Ramsés
>> >
>> >En su momento había un live-helper, buscando cosas encontré esto de...
>> >2010
>> >
>> https://gutl.jovenclub.cu/live-helper-herramienta-para-crear-live-cd-en-debian/
>> >Pero parece que lo sacaron en 2010, y ahora hay un live-build
>> >https://packages.debian.org/unstable/live-build
>> >
>> >Ahora que sabé que hay /algo/, te toca encontrar la documentación,
>> >leerla y ver si te sirve
>> >
>> >pd/ot: este es mi primer mensaje a la lista en varios años, ni busqué
>> >donde quitar el html del correo. Espero que también vaya la versión en
>> >texto plano jejeje
>> >
>>
>> He encontrado esto:
>>
>>
>> https://www.xataka.com/basics/como-crear-live-usb-ubuntu-windows-que-guarde-cambios-que-hagas-para-siguiente-sesion
>>
>> Pero el creador del PEN bootable (YUMI) va sobre Windows.
>>
>> Comentan que se puede hacer con otros creadores de PEN bootables, pero no
>> sé si funcionará o no.
>>
>> De todas formas, no he probado aún a crear el PEN con YUMI.
>>
>>
>> Saludos
>>
>>

Eduardo, ¿pero con Rufus volcaste el LiveCD en un PEN y los cambios que haces 
en el LiveCD arrancando con el PEN se mantienen la siguiente vez que arrancas 
con el PEN?


Saludos



Re: Can't use mc's editor

2022-03-21 Thread mick crane

On 2022-03-21 21:26, gene heskett wrote:

On Monday, 21 March 2022 16:46:01 EDT mick crane wrote:

On 2022-03-21 18:08, Felix Miata wrote:
> Nate Bargmann composed on 2022-03-21 12:35 (UTC-0500):
>> tinkering with mc's config files directly which can only be done if
>> all
>> instances of mc are closed.
>
> Not IME, at least for ini and hotlist, the former which I change
> nearly as often
> with mcedit as I do via menu. Hotlist I only do with mcedit.
>
> Mcedit is giving me no trouble. I use most than once a day most days.

I don't *think* I changed mc's configuration for editor, maybe changed
system default somehow.

mick
--
Key ID4BFEBB31

.

And whatever I do to it, has zero effect.


I know I've changed default editor for affect in mc from vi to nano but 
no idea how, maybe you can change it in ~/.profile



Cheers, Gene Heskett.


--
Key ID4BFEBB31



Re: Can't use mc's editor

2022-03-21 Thread Felix Miata
gene heskett composed on 2022-03-21 17:26 (UTC-0400):

> whatever I do to it, has zero effect.

IIUC, and assuming standard file/directory permissions, if all instances of MC 
are
closed, and its ini file is then removed, every setting (except for panels
configuration? and hotlist), gets reverted to default on next startup.

Long long ago, MC user settings were in ~/.mc/. Now they are in ~/.config/mc/. 
For
old users you still have you might want to eradicate any ~/.mc/ directories. My
~/.config/mc/ is a symlink to ~/.mc/.

My main user's MC ini file was last written 8 years ago.
-- 
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata



webcamd

2022-03-21 Thread Russell L. Harris

I am having only limited success configuring the Debian webcamd
package.

I wish to display images from a Logitech web cam pointing out the
window as a weathercam, uploading a new image about once a minute.  I
plan to upload the images to a subdirectory "webcam" of my weather
website, www.example-weather.org/webcam.

I am running Debian 11; but I also have machines running Debian 10 and Debian
9.

I would like first to get things running in Apache on localhost before
uploading to a shared host on hostgator.com.  Ideally, the image would
be on both.

The example webcamd.conf calls for a font named "clean" to write dates
on the pictures, but "fc-list" does not show "clean" installed.  I
have tried to specify "Monospace Regular" but that does not seem to
work.  


My latest effort has the index_up.html and index_down.hthl displaying,
but no photo.  I also had the photo displaying without a date.

Is there a webcam application more suitable for this application?  


RLH

--
How should one chase a thousand, and two put ten thousand to flight,
except their Rock had sold them, and the Lord had shut them up?
- Deuteronomy 32:30



Re: Can't use mc's editor

2022-03-21 Thread gene heskett
On Monday, 21 March 2022 16:46:01 EDT mick crane wrote:
> On 2022-03-21 18:08, Felix Miata wrote:
> > Nate Bargmann composed on 2022-03-21 12:35 (UTC-0500):
> >> tinkering with mc's config files directly which can only be done if
> >> all
> >> instances of mc are closed.
> > 
> > Not IME, at least for ini and hotlist, the former which I change
> > nearly as often
> > with mcedit as I do via menu. Hotlist I only do with mcedit.
> > 
> > Mcedit is giving me no trouble. I use most than once a day most days.
> 
> I don't *think* I changed mc's configuration for editor, maybe changed
> system default somehow.
> 
> mick
> --
> Key ID4BFEBB31
> 
> .
And whatever I do to it, has zero effect.

Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis





Re: [OT] Crear PEN con un LiveCD y personalizarlo.

2022-03-21 Thread Eduardo Visbal
Hola Amigos

Yo cree un live USB con rufus y está personalizado, y me ha ido bien.

Yo en lo personal cuando lo quise hacer con Yumi no me funcionaba.




*Eduardo VisbalLinuxero #440451*


El lun, 21 mar 2022 a las 17:51, Ramses ()
escribió:

> El 21 de marzo de 2022 14:25:09 CET, Gonzalo Rivero <
> fishfromsa...@gmail.com> escribió:
> >Holas,
> >El 21/3/22 a las 09:04, Ramses escribió:
> >> Hola a tod@s,
> >>
> >> Me gustaría crear un PEN con un LiveCD y hacerle algunas modificaciones
> que se mantuvieran al iniciar con ese PEN en cualquier equipo.
> >>
> >> ¿Sería eso viable?
> >>
> >> Si es así, ¿por dónde tendría que atacar el tema?
> >>
> >> ¿Qué software multiplataforma me recomiendan para volcar el LiveCD en
> el PEN y que sea bootable?
> >>
> >>
> >> Gracias y saludos,
> >>
> >> Ramsés
> >
> >En su momento había un live-helper, buscando cosas encontré esto de...
> >2010
> >
> https://gutl.jovenclub.cu/live-helper-herramienta-para-crear-live-cd-en-debian/
> >Pero parece que lo sacaron en 2010, y ahora hay un live-build
> >https://packages.debian.org/unstable/live-build
> >
> >Ahora que sabé que hay /algo/, te toca encontrar la documentación,
> >leerla y ver si te sirve
> >
> >pd/ot: este es mi primer mensaje a la lista en varios años, ni busqué
> >donde quitar el html del correo. Espero que también vaya la versión en
> >texto plano jejeje
> >
>
> He encontrado esto:
>
>
> https://www.xataka.com/basics/como-crear-live-usb-ubuntu-windows-que-guarde-cambios-que-hagas-para-siguiente-sesion
>
> Pero el creador del PEN bootable (YUMI) va sobre Windows.
>
> Comentan que se puede hacer con otros creadores de PEN bootables, pero no
> sé si funcionará o no.
>
> De todas formas, no he probado aún a crear el PEN con YUMI.
>
>
> Saludos
>
>


Re: [OT] Crear PEN con un LiveCD y personalizarlo.

2022-03-21 Thread Ramses
El 21 de marzo de 2022 14:25:09 CET, Gonzalo Rivero  
escribió:
>Holas,
>El 21/3/22 a las 09:04, Ramses escribió:
>> Hola a tod@s,
>>
>> Me gustaría crear un PEN con un LiveCD y hacerle algunas modificaciones que 
>> se mantuvieran al iniciar con ese PEN en cualquier equipo.
>>
>> ¿Sería eso viable?
>>
>> Si es así, ¿por dónde tendría que atacar el tema?
>>
>> ¿Qué software multiplataforma me recomiendan para volcar el LiveCD en el PEN 
>> y que sea bootable?
>>
>>
>> Gracias y saludos,
>>
>> Ramsés
>
>En su momento había un live-helper, buscando cosas encontré esto de... 
>2010 
>https://gutl.jovenclub.cu/live-helper-herramienta-para-crear-live-cd-en-debian/
> 
>Pero parece que lo sacaron en 2010, y ahora hay un live-build 
>https://packages.debian.org/unstable/live-build
>
>Ahora que sabé que hay /algo/, te toca encontrar la documentación, 
>leerla y ver si te sirve
>
>pd/ot: este es mi primer mensaje a la lista en varios años, ni busqué 
>donde quitar el html del correo. Espero que también vaya la versión en 
>texto plano jejeje
>

He encontrado esto:

https://www.xataka.com/basics/como-crear-live-usb-ubuntu-windows-que-guarde-cambios-que-hagas-para-siguiente-sesion

Pero el creador del PEN bootable (YUMI) va sobre Windows. 

Comentan que se puede hacer con otros creadores de PEN bootables, pero no sé si 
funcionará o no.

De todas formas, no he probado aún a crear el PEN con YUMI.


Saludos



Re: Can't use mc's editor

2022-03-21 Thread mick crane

On 2022-03-21 18:08, Felix Miata wrote:

Nate Bargmann composed on 2022-03-21 12:35 (UTC-0500):

tinkering with mc's config files directly which can only be done if 
all

instances of mc are closed.


Not IME, at least for ini and hotlist, the former which I change nearly 
as often

with mcedit as I do via menu. Hotlist I only do with mcedit.

Mcedit is giving me no trouble. I use most than once a day most days.


I don't *think* I changed mc's configuration for editor, maybe changed 
system default somehow.


mick
--
Key ID4BFEBB31



Re: Can't use mc's editor

2022-03-21 Thread Joe
On Sun, 20 Mar 2022 15:25:02 -0400
Celejar  wrote:

> On Sun, 20 Mar 2022 13:53:52 -0400
> gene heskett  wrote:
> 
> > Greetings all;
> > 
> > The colors used by mc's editor are making the editor impossible to
> > use as they can't be used by someone with good color vision even,
> > they are all so alike.
> > 
> > Where can I change mc's default editor to something as clear and
> > easy to use as geany? Seems to me that used to be a menu choice,
> > but thats not findable when the menus except for the click on it
> > character are all solid 100% bright blue and cannot be read by
> > human eyes.  
> 
> There are two questions here:
> 
> 1) How can mc's colors be changed?
> 
> Answer: via environment variables or the configuration file
> (~/.config/mc/ini) - see the "Colors" section of the mc manpage.

And a nasty job that is. And you *still* can't change the dark brown of
programming comments to something readable on a dark background.

> 
> 2) How can mc's default editor be changed?
> 
> Answer: via mc.ext (copy /etc/mc/mc.ext to ~/.config/mc/mc.ext and
> edit the copied version)
> 

Also:
"Run MC as usual. On the command line right above the bottom row of menu
selections type select-editor. This should open a menu with a list of
all of your installed editors. This is working for me on all my current
linux machines."
https://askubuntu.com/questions/16776/how-to-switch-the-editor-in-mc-midnight-commander-from-nano-to-mcedit

I think you're fairly limited in choices by default. I have a couple of
other small text-mode editors installed, and mc can't see them.

Probably best try nano unless you're particularly keen on vim. Don't
forget that geany is a GUI IDE, whereas mc is a ncurses application.

-- 
Joe



Re: "Could not display mtp://XXXXX" error no such interface 'org.gtk.vfs.mount' on object at path /org/gtk/vfs/mount/1"

2022-03-21 Thread didier gaumet



Le lundi 21 mars 2022 à 17:21 +, Ottavio Caruso a écrit :
> On 21/03/2022 10:54, didier gaumet wrote:
> > I would say that your PC does not recognize your smartphone as a
> > MTP
> > device because your smartphone dose not presents itself as a MTP
> > device
> 
> What makes you say that? Please see screenshot,

I just tried with my smartphone (Poco X3 Pro, LineageOS 18.1 (Android
11))
(roughly translated, my device is in french)
- With "default USB setup" set as "no data transfer", the smartphone is
recognized as a mass storage device and that's it.
- With "default USB setup" set as "file transfer", the smartphone is at
first recognized as a mass storage device and then gvfsd recognizes it
as a MTP device

So I was wrong in thinking that a modern Android smartphone presents
itself as a mass storage device and pretends to use the USB mass
storage protocol: it presents itself as a mass storage device, and,
depending on the setup of the device, pretends (or not) to use the MTP
protocol 

A possibility could be that you use a GTK Desktop Environment (but not
Gnome) or some GTK applications that rely on gvfsd, because your
previous error message was:
[...]
> I always get "Could not display mtp://X" error no such interface 
> 'org.gtk.vfs.mount' on object at path /org/gtk/vfs/mount/1"
[...]
and that seems to link to gvfsd:
https://wiki.gnome.org/Projects/gvfs/doc

I would verify that the gvfs-backends package is installed and if it is
the case, I would verify that there is a org.gtk.vfs.mount key with a
correct value in the dconf database (via dconf-cli (CLI) or dconf-
editor (GUI))




Re: Can't use mc's editor

2022-03-21 Thread Felix Miata
Nate Bargmann composed on 2022-03-21 12:35 (UTC-0500):

> tinkering with mc's config files directly which can only be done if all
> instances of mc are closed.

Not IME, at least for ini and hotlist, the former which I change nearly as often
with mcedit as I do via menu. Hotlist I only do with mcedit.

Mcedit is giving me no trouble. I use most than once a day most days.
-- 
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata



Re: Can't use mc's editor

2022-03-21 Thread Nate Bargmann
In the configuration dialog there is the option to use the internal
editor.  Make sure that option is not selected.

On Debian systems you should get prompted for which editor to use by the
select-editor script.  In my case I chose vim.basic.  This avoids
tinkering with mc's config files directly which can only be done if all
instances of mc are closed.

- Nate

-- 
"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."
Web: https://www.n0nb.us
Projects: https://github.com/N0NB
GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819



signature.asc
Description: PGP signature


Re: simple talking clock / reminder for when monitor is off and it is dark

2022-03-21 Thread Charles Curley
On Sun, 20 Mar 2022 23:03:52 -0700
Samuel Wales  wrote:

> i use slock and turn off monitor with ddccontrol.

I use the monitors attached to my desktop for sound. I find that when
they are shut off, either manually or by the computer's power management
software, sound ceases to work (unlike my laptops). You might be
affected by this.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: simple talking clock / reminder for when monitor is off and it is dark

2022-03-21 Thread Greg Wooledge
On Mon, Mar 21, 2022 at 01:21:19PM -0300, Chris Mitchell wrote:
> Personally, I would use a custom systemd timer unit for this. Systemd
> is already running most of your system, and it offers a scheduling
> syntax that is (AFAIK) more flexible than cron's, and (IMHO) much
> easier to read. For example "Every day, once an hour, on the hour, but
> only between midnight and 07:00 (inclusive)" would be:
>   OnCalendar=00..07:00

In crontab(5), that would be:

0 0-7 * * * /your/command

I'm not familiar with systemd timers, so maybe what you say is true,
about them being more flexible, but in this specific example, crontab
is perfectly capable of doing the job.

The biggest thing to be aware of with crontab/at jobs, and I would
presume with systemd timer jobs as well, is that the commands are
run in a minimalist environment inherited from the cron daemon (or,
I assume, from systemd).  Some of the things you're accustomed to having
in your interactive environment won't be available.  Jobs won't run with
a controlling terminal, nor with an X $DISPLAY variable.  Make sure
you write your scripts/commands with those limitations in mind.

For the OP's question, what's really needed is access to the sound system.
I'm not sure what happens if a job fires after you've booted but before
you've ever logged in, or after you've logged in and then logged out.  Do
you still have access to the sound system without an active login session?
These are the kinds of things you'd either need to test, or research.



Re: simple talking clock / reminder for when monitor is off and it is dark

2022-03-21 Thread Chris Mitchell
On Sun, 20 Mar 2022 23:03:52 -0700
Samuel Wales  wrote:

> i have to have all lights and monitors off at night.  but i have to
> know the time so i can take medicine.
> 
> i use slock and turn off monitor with ddccontrol.  this might turn off
> mouse and keyboard; i wouild have to check.
> 
> i want debian to tell me the time at certain times.  for example
> tonight i have to take medicine at 2:40 am.
> 
> here are ideas:
> 
> - tell me time when i right click [kb much less accessible]
> - tell me at a prespecified time like 2.40 am
> - tell me the following hours: midnight, 1 am, 2am
> 
> any would be ok i think.

There are a number of ways you could approach this, depending largely
on whether you want the simplest way to get a reminder at one specific
time vs a flexible talking reminder system.

Personally, I would use a custom systemd timer unit for this. Systemd
is already running most of your system, and it offers a scheduling
syntax that is (AFAIK) more flexible than cron's, and (IMHO) much
easier to read. For example "Every day, once an hour, on the hour, but
only between midnight and 07:00 (inclusive)" would be:
  OnCalendar=00..07:00

The timer unit in turn triggers a service unit, which can run a command
such as `aplay /home/sam/medicine.wav` like Dan's example, if you want
a single-purpose pre-recorded message. Or you could use a command like
`espeak-ng "It is now $(date +%R)"` so it'll simply announce the
current time whenever it's triggered, thus giving you a general-purpose
talking clock.

Note that if you make the timer/service unit pair "system" units (in
/etc/systemd/system), they'll run (as root) as long as the machine is
up and running. If you make them "user" units (in
~/.config/systemd/user/), by default they'll run only when you're
logged in. If you want to have user units run when the user is not
logged in, the systemd terminology for that is "enable lingering".

If you're not familiar with the syntax of systemd unit files, there is
a bit of a learning curve, but I'd bet that if you can script in
Bash, it won't take you long to get to the point where you can write a
minimal timer and service unit pair for a job like this.

Cheers!
 -Chris



Re: [HS] Android pour la bureautique

2022-03-21 Thread Erwann Le Bras
oui, ça me semble très bien : tous les avantages d'un vrai PC allié à la 
praticité d'une tablette.


ultraportable tactile,




Sinon partir sur des ultra portables ça peut être aussi compact que 
tablette.


amitiés,

--

Erwann


Re: Mtp-tools, wa: "Could not display mtp://XXXXX" error no such interface 'org.gtk.vfs.mount' on object at path /org/gtk/vfs/mount/1"

2022-03-21 Thread Mike Kupfer
Ottavio Caruso wrote:

> I can see mtp-tools is a meta-package for:
[...]
> Which one do I need to configure/troubleshoot my issue?

I'm afraid I've pretty much exhausted my knowledge in this area.  The
only other things I can offer are

1. My phone (Android 11, Samsung One UI 3.1) defaults to an MTP
connection when I connect it to my desktop.  That is, the pop-up on the
phone says it will use MTP and gives me the option of changing to a
different mode.  I tell it to proceed with MTP.

2. On the desktop, I open the phone from the Computer window in either
Caja or Nemo.  I sometimes get an error pop-up, but as long as I don't
wait too long to enable access on the phone (via the phone's pop-up), I
can still open the phone.

3. I did at one point enable developer mode on the phone.  I'm not sure
that's actually relevant, but the page that Didier Gaumet referred to
mentions enabling developer mode, so I thought I'd mention it.

Sorry I couldn't be more help.

mike



Re: Report a bug against which package - unattended-upgrades / apt / dpkg ??

2022-03-21 Thread Dr. Alex Sheppard


On 21/03/2022 14:02, Dan Ritter wrote:

Dr. Alex Sheppard wrote:

Hi,

     Unattended upgrades ended up removing some of the packages it was was
going to upgrade ... bind9 being one of them and thereby breaking DNS on a
client's network.

     Is this a bug in unattended upgrades, or a bug in apt or dpkg? Here is
an extract from my unattended-upgrades.log to illustrate.

     FTR: I'm struggling to think how bind9 could have been installed as a
dependency for something else on the machine in question. I am pretty sure I
would have installed it manually which gives extra surprise to it being
autoremoved.

unattended-upgrades should not be allowed to autoremove. Doing
so always ends up with surprises, unless you have pre-tested
everything and keep your own apt repo a day or two behind
Debian's.

Unattended-Upgrade::Remove-Unused-Dependencies "false";
Unattended-Upgrade::Remove-New-Unused-Dependencies "false";

However,
Unattended-Upgrade::Remove-Unused-Kernel-Packages
is usually safe, unless you have very specific reasons to keep
multiple old kernels around.

-dsr-

Thanks Dan, I've updated my config accordingly to avoid this happening 
in future :-)


It's not so urgent for me now, but I still get the feeling there is a 
bug to report.



My config had the normal "like apt-get autoremove" disabled as per default
"""
// Do automatic removal of unused packages after the upgrade
// (equivalent to apt-get autoremove)
// Unattended-Upgrade::Remove-Unused-Dependencies "false";
"""

Whereas removing newly unused packages was enabled  - also as per the 
default

"""
// Do automatic removal of newly unused dependencies after the upgrade
// Unattended-Upgrade::Remove-New-Unused-Dependencies "true";
"""


My issue arose not from doing "the equivalent to apt-get autoremove" but 
by whatever "Remove-New-Unused-Dependencies" does. Does anybody know how 
the logic of this works / what commands are run to achieve this?


The way I see it there is a bug in either:

    a) The logic in unattended-upgrades of how it goes about fulfilling 
"Remove-New-Unused-Dependencies"


        or

    b) An underlying command that is called to fulfill the 
"Remove-New-Unused-Dependencies" operation


        or

    c) Uninstalling a package that it just upgraded seems like a 
mistake that ought to be catchable, but if there is just no way to do 
the "Remove-New-Unused-Dependencies" operation without risk of something 
important getting installed, the bug is that this is enabled by default.



So, unless anyone can explain otherwise, I think there is a bug to 
report against unattended-upgrades.















Dr. Alex Sheppard
http://www.das-computer.co.uk 


Re: Report a bug against which package - unattended-upgrades / apt / dpkg ??

2022-03-21 Thread Dan Ritter
Dr. Alex Sheppard wrote: 
> Hi,
> 
>     Unattended upgrades ended up removing some of the packages it was was
> going to upgrade ... bind9 being one of them and thereby breaking DNS on a
> client's network.
> 
>     Is this a bug in unattended upgrades, or a bug in apt or dpkg? Here is
> an extract from my unattended-upgrades.log to illustrate.
> 
>     FTR: I'm struggling to think how bind9 could have been installed as a
> dependency for something else on the machine in question. I am pretty sure I
> would have installed it manually which gives extra surprise to it being
> autoremoved.

unattended-upgrades should not be allowed to autoremove. Doing
so always ends up with surprises, unless you have pre-tested
everything and keep your own apt repo a day or two behind
Debian's.

Unattended-Upgrade::Remove-Unused-Dependencies "false";
Unattended-Upgrade::Remove-New-Unused-Dependencies "false";

However, 
Unattended-Upgrade::Remove-Unused-Kernel-Packages
is usually safe, unless you have very specific reasons to keep
multiple old kernels around.

-dsr-



Report a bug against which package - unattended-upgrades / apt / dpkg ??

2022-03-21 Thread Dr. Alex Sheppard

Hi,

    Unattended upgrades ended up removing some of the packages it was 
was going to upgrade ... bind9 being one of them and thereby breaking 
DNS on a client's network.


    Is this a bug in unattended upgrades, or a bug in apt or dpkg? Here 
is an extract from my unattended-upgrades.log to illustrate.


    FTR: I'm struggling to think how bind9 could have been installed as 
a dependency for something else on the machine in question. I am pretty 
sure I would have installed it manually which gives extra surprise to it 
being autoremoved.



"""
2022-03-19 00:50:02,051 INFO Checking if system is running on battery is 
skipped. Please install powermgmt-base package to check power status and 
skip installing updates when the system is running on battery.

2022-03-19 00:50:02,091 INFO Initial blacklist :
2022-03-19 00:50:02,092 INFO Initial whitelist:
2022-03-19 00:50:02,092 INFO Starting unattended upgrades script
2022-03-19 00:50:02,092 INFO Allowed origins are: 
origin=Debian,codename=buster,label=Debian, 
origin=Debian,codename=buster,label=Debian-Security
2022-03-19 06:26:44,369 INFO Checking if system is running on battery is 
skipped. Please install powermgmt-base package to check power status and 
skip installing updates when the system is running on battery.

2022-03-19 06:26:44,375 INFO Initial blacklist :
2022-03-19 06:26:44,375 INFO Initial whitelist:
2022-03-19 06:26:44,376 INFO Starting unattended upgrades script
2022-03-19 06:26:44,376 INFO Allowed origins are: 
origin=Debian,codename=buster,label=Debian, 
origin=Debian,codename=buster,label=Debian-Security
2022-03-19 06:26:48,609 INFO *Packages that will be upgraded: bind9 
bind9-host **bind9utils dnsutils* libbind9-161 libdns-export1104 
libdns1104 libirs-export161 libirs161 libisc-export1100 libisc1100 
libisccc161 libisccfg-export163 libisccfg163 liblwres161
2022-03-19 06:26:48,610 INFO Writing dpkg log to 
/var/log/unattended-upgrades/unattended-upgrades-dpkg.log
2022-03-19 06:26:49,218 WARNING Keeping auto-removable libirs161 
package(s) because it would also remove the following packages which 
should be kept in this step: bind9utils
2022-03-19 06:27:08,325 WARNING Keeping auto-removable liblwres161 
package(s) because it would also remove the following packages which 
should be kept in this step: bind9utils libbind9-161 libdns1104 
libisc1100 libisccc161 libisccfg163
2022-03-19 06:27:27,161 INFO *Packages that were successfully 
auto-removed:* avahi-daemon *bind9 bind9-host dnsutils host* 
libavahi-core7 libdaemon0 libnss-mdns
2022-03-19 06:27:27,161 INFO Packages that are kept back: libirs161 
liblwres161

"""

Thanks,

Alex


--
Dr. Alex Sheppard
http://www.das-computer.co.uk 


Re: [HS] awk afficher une colonne sur deux colonnes

2022-03-21 Thread Marc Chantreux
salut,

si vraiment l'idée est d'utiliser awk:

seq 120 140 | awk '
{ if (NR%2) o=$1 else print o,$1 }
END { if (NR%2) print o }
'

Par contre je tiens à dire que pour réaranger, écraser, merger des
colonnes, l'outils de référence pour moi est perl -F.

marc



Re: iwd + systemd-networkd + resolvconf wrinkles

2022-03-21 Thread Brian
On Sat 19 Mar 2022 at 10:12:54 -0500, Nicholas Geovanis wrote:

> On Sat, Mar 19, 2022 at 7:33 AM Brian  wrote:
> 
> > On Fri 18 Mar 2022 at 20:57:38 +, Brian wrote:
> >
> > > On Sun 13 Mar 2022 at 20:04:06 -0500, David Wright wrote:
> > >
> > > [...]
> > >
> > > > Install iwd, and resolvconf if necessary. You may then need to reboot
> > > > if the wifi interface has already been renamed by the kernel, ie if
> > > > it's not wlan0. (With buster, there's a missing file that needs adding
> > > > first; see below).
> > >
> > > It is systemd/udev that renames the interface. This is standard
> > > procedure. iwd decides it knows better and, no matter what, does
> > > it. I have never met this sort of behavior with wpasupplicant.
> > >
> > > So we will be more forceful and have
> > >
> > >   net.ifnames=1
> > >
> > > on GRUB's kernel command line. My choice is ignored by iwd. Why does
> > > it not want an interface to be renamed by systemd/udev?
> >
> > Now sorted:
> >
> >   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=941652
> 
> 
> Surprised to see that took 25 months to sort out.
> And a little surprised to read this written by M. Biebl on 4 Nov 2019:
> "So the mere fact that iwd was installed changed the way the interfaces
> are named. You don't actually have to enable/start iwd."
> 
> because that does not follow the so-called "Principle of Least
> Surprise".

Upstrem iwd has decided on the direction it wants to take and, by
closing the bug report, so has Debian. There seems little point in
pursuing it further via those channels.

I have limited skill with systemd but devised a service to rename
the interface and integrate with ifupdown.

 [Unit]
 Description=Rename wlan0. Use ifupdown.
 Requires=iwd.service
 After=iwd.service

 [Service]
 ExecStartPre=/usr/bin/sleep 2
 ExecStartPre=/sbin/ip link set wlan0 down ; /sbin/ip link set wlan0 name 
wlx74ea3a93adab ; /sbin/ip link set wlx74ea3a93adab up
 ExecStart=/sbin/ifup wlx74ea3a93adab

 [Install]
 WantedBy=multi-user.target

/e/n/i can now be used as originally written.

-- 
Brian.




Re: [HS] Android pour la bureautique

2022-03-21 Thread NoSpam



Le 21/03/2022 à 14:11, Olivier a écrit :

Merci pour toutes ces réponses.
Un chromebook aurait du sens mais pouvoir modifier des documents sans
accès à Internet est important.

C'est ce que je fais avec le chromebook et les outils Google


Après réflexion, je pense que je vais chercher un PC portable sous Linux:
- plus facile à administrer,
- plus sûr,
- interface utilisateur avec moins de fioriture.

Le lun. 21 mars 2022 à 13:01, Wallace  a écrit :

Bonjour,

Je ne recommande pas les tablettes pour faire de la bureautique, plusieurs 
clients qui ont testé c'est pas pratique, quand on rédige on a souvent soit une 
page web soit d'autres documents à côté or le multi fenêtre sous Android c'est 
pas terrible et pratique.

Si tu souhaites le côté portable d'une tablette, autant partir sur les 
tablettes windows, en occasion ou en neuf ça fera l'affaire et tu as un vrai 
système en dessous Windows ou Linux.

Sinon partir sur des ultra portables ça peut être aussi compact que tablette.

Bonne journée

Le 21/03/2022 à 10:54, Olivier a écrit :

Bonjour,

Pour différentes raisons, j'envisage de remplacer un PC portable par
une tablette Android avec clavier.

Ce PC portable est quasi-exclusivement utilisé pour du surf sur
Internet et l'édition de documents LibreOffice, échangés par courriel.

Autant le surf sur Internet me parait dans les cordes d'une tablette,
autant l'utilisation de LibreOffice ne me parait pas si évidente que
cela, tant d'un point de vue matériel (qualité du clavier des
tablettes, ...) que logiciel.

J'ai lu dans le magasin d'application Android, des commentaires sur la
version de LibreOffice publiée par Collabora.
Je trouve ces commentaires assez "déconcertants".

C'est pourquoi je préfère poser la question ici.

1. Que pensez-vous de LibreOffice sur Android ?
Est-ce utilisable au quotidien pour quelqu'un habitué à utiliser
l'explorateur de fichiers pour trouver ses documents ?

2. Quel dispositions en terme de sécurité (antivirus, contrôle du
téléchargement d'applications) (*) ?

Slts

(*) Une des raisons du passage à Android serait d'obtenir pour moi un
peu de répit de la part de personnes convaincues tous les 2 jours
d'avoir un virus, à la moindre anomalie ;-))





Re: [HS] Android pour la bureautique

2022-03-21 Thread Olivier
Merci pour toutes ces réponses.
Un chromebook aurait du sens mais pouvoir modifier des documents sans
accès à Internet est important.

Après réflexion, je pense que je vais chercher un PC portable sous Linux:
- plus facile à administrer,
- plus sûr,
- interface utilisateur avec moins de fioriture.

Le lun. 21 mars 2022 à 13:01, Wallace  a écrit :
>
> Bonjour,
>
> Je ne recommande pas les tablettes pour faire de la bureautique, plusieurs 
> clients qui ont testé c'est pas pratique, quand on rédige on a souvent soit 
> une page web soit d'autres documents à côté or le multi fenêtre sous Android 
> c'est pas terrible et pratique.
>
> Si tu souhaites le côté portable d'une tablette, autant partir sur les 
> tablettes windows, en occasion ou en neuf ça fera l'affaire et tu as un vrai 
> système en dessous Windows ou Linux.
>
> Sinon partir sur des ultra portables ça peut être aussi compact que tablette.
>
> Bonne journée
>
> Le 21/03/2022 à 10:54, Olivier a écrit :
>
> Bonjour,
>
> Pour différentes raisons, j'envisage de remplacer un PC portable par
> une tablette Android avec clavier.
>
> Ce PC portable est quasi-exclusivement utilisé pour du surf sur
> Internet et l'édition de documents LibreOffice, échangés par courriel.
>
> Autant le surf sur Internet me parait dans les cordes d'une tablette,
> autant l'utilisation de LibreOffice ne me parait pas si évidente que
> cela, tant d'un point de vue matériel (qualité du clavier des
> tablettes, ...) que logiciel.
>
> J'ai lu dans le magasin d'application Android, des commentaires sur la
> version de LibreOffice publiée par Collabora.
> Je trouve ces commentaires assez "déconcertants".
>
> C'est pourquoi je préfère poser la question ici.
>
> 1. Que pensez-vous de LibreOffice sur Android ?
> Est-ce utilisable au quotidien pour quelqu'un habitué à utiliser
> l'explorateur de fichiers pour trouver ses documents ?
>
> 2. Quel dispositions en terme de sécurité (antivirus, contrôle du
> téléchargement d'applications) (*) ?
>
> Slts
>
> (*) Une des raisons du passage à Android serait d'obtenir pour moi un
> peu de répit de la part de personnes convaincues tous les 2 jours
> d'avoir un virus, à la moindre anomalie ;-))
>



Python3: comment importer des données dans /usr/local/etc ?

2022-03-21 Thread Olivier
Bonjour,

J'ai quelques scripts rédigés en Python3.
J'aimerai les organiser de la façon suivante:

/usr/local/
|
---etc/
||
|   maconfig.py
|
--- bin/
 |
 --- monpackage/
  |
  --- __init__.py
  --- monscript.py

Dans mon fichier maconfig.py, j'ai simplement:
FOO = 'foo'

Dans mon fichier monscript.py, j'aimerai avoir quelque chose comme

from maconfig import FOO
print(FOO)

Mes questions:

1. Est-ce possible (en évitant des liens symboliques entre les
sous-répertoires bin et etc) ? Si oui, que mettre dans __init__.py ?
Que modifier dans les fichiers maconfi.py et monscript.py ?

2. Si non, quelle organisation conseillez-vous  pour rester le plus
conforme à la FHS ?

Slts



Re: [HS] awk afficher une colonne sur deux colonnes

2022-03-21 Thread Mathias Dufresne
_
#!/usr/bin/awk

{
  start = 1
  printf("%s%s", $start, FS)
  inc = 2
}
{
  for(i=start + inc; i < NF+1; ) {
printf("%s%s", $i, FS)
i = i + inc
  }
  print ""
}
_

Je n'ai pas réussi à faire fonctionner l'incrément dans le for() et ça
m'étonne...

Le ven. 18 mars 2022 à 17:09, Marc Chantreux  a écrit :

> salut,
>
> > for i in {100..120}; do echo $i; done | column -c 19
>
> seq 100 120 | xargs -n2
>
> for a b ({100..120}) echo $a $b
>
> print -C2 {100..120}
>
>
> cordialement,
>
> --
> Marc Chantreux
> Direction du numérique de l'Université de Strasbourg
> Pôle de Calcul et Services Avancés à la Recherche (CESAR)
> http://annuaire.unistra.fr/p/20200
>
>


[OT] Crear PEN con un LiveCD y personalizarlo.

2022-03-21 Thread Ramses
Hola a tod@s,

Me gustaría crear un PEN con un LiveCD y hacerle algunas modificaciones que se 
mantuvieran al iniciar con ese PEN en cualquier equipo.

¿Sería eso viable?

Si es así, ¿por dónde tendría que atacar el tema?

¿Qué software multiplataforma me recomiendan para volcar el LiveCD en el PEN y 
que sea bootable?


Gracias y saludos,

Ramsés



Re: [HS] Android pour la bureautique

2022-03-21 Thread Wallace

Bonjour,

Je ne recommande pas les tablettes pour faire de la bureautique, 
plusieurs clients qui ont testé c'est pas pratique, quand on rédige on a 
souvent soit une page web soit d'autres documents à côté or le multi 
fenêtre sous Android c'est pas terrible et pratique.


Si tu souhaites le côté portable d'une tablette, autant partir sur les 
tablettes windows, en occasion ou en neuf ça fera l'affaire et tu as un 
vrai système en dessous Windows ou Linux.


Sinon partir sur des ultra portables ça peut être aussi compact que 
tablette.


Bonne journée

Le 21/03/2022 à 10:54, Olivier a écrit :

Bonjour,

Pour différentes raisons, j'envisage de remplacer un PC portable par
une tablette Android avec clavier.

Ce PC portable est quasi-exclusivement utilisé pour du surf sur
Internet et l'édition de documents LibreOffice, échangés par courriel.

Autant le surf sur Internet me parait dans les cordes d'une tablette,
autant l'utilisation de LibreOffice ne me parait pas si évidente que
cela, tant d'un point de vue matériel (qualité du clavier des
tablettes, ...) que logiciel.

J'ai lu dans le magasin d'application Android, des commentaires sur la
version de LibreOffice publiée par Collabora.
Je trouve ces commentaires assez "déconcertants".

C'est pourquoi je préfère poser la question ici.

1. Que pensez-vous de LibreOffice sur Android ?
Est-ce utilisable au quotidien pour quelqu'un habitué à utiliser
l'explorateur de fichiers pour trouver ses documents ?

2. Quel dispositions en terme de sécurité (antivirus, contrôle du
téléchargement d'applications) (*) ?

Slts

(*) Une des raisons du passage à Android serait d'obtenir pour moi un
peu de répit de la part de personnes convaincues tous les 2 jours
d'avoir un virus, à la moindre anomalie ;-))


Re: [HS] Android pour la bureautique

2022-03-21 Thread Jean Bernon
J'ai essayé diverses applications de consultation et mise à jour sur une 
tablette Android. Et ce n'est globalement pas très au point. Libreoffice marche 
à peu près en consultation, mais créer ou mettre à jour des documents est 
totalement frustrant. Il existe des applis issues du web un peu plus efficaces 
: la suite office de Google drive et l'équivalent proposé par NextCloud, 
OnlyOffice. Le client Nextcloud d'Android ne propose pas OnlyOffice, ce qui 
signifie sans doute que les concepteurs de l'application ont jugé qu'une 
tablette n'est guère appropriée à la mise à jour de documents. Mais on peut 
télécharger OnlyOffice indépendamment de NextCloud. C'est le plus satisfaisant 
pour une mise à jour sur une tablette, mais c'est tout de même nettement 
inférieur à un LibreOffice sous Debian sur un ordinateur classique.  

- Mail original - 

> De: "Olivier" 
> À: "ML Debian User French" 
> Envoyé: Lundi 21 Mars 2022 10:54:52
> Objet: [HS] Android pour la bureautique

> Bonjour,

> Pour différentes raisons, j'envisage de remplacer un PC portable par
> une tablette Android avec clavier.

> Ce PC portable est quasi-exclusivement utilisé pour du surf sur
> Internet et l'édition de documents LibreOffice, échangés par
> courriel.

> Autant le surf sur Internet me parait dans les cordes d'une tablette,
> autant l'utilisation de LibreOffice ne me parait pas si évidente que
> cela, tant d'un point de vue matériel (qualité du clavier des
> tablettes, ...) que logiciel.

> J'ai lu dans le magasin d'application Android, des commentaires sur
> la
> version de LibreOffice publiée par Collabora.
> Je trouve ces commentaires assez "déconcertants".

> C'est pourquoi je préfère poser la question ici.

> 1. Que pensez-vous de LibreOffice sur Android ?
> Est-ce utilisable au quotidien pour quelqu'un habitué à utiliser
> l'explorateur de fichiers pour trouver ses documents ?

> 2. Quel dispositions en terme de sécurité (antivirus, contrôle du
> téléchargement d'applications) (*) ?

> Slts

> (*) Une des raisons du passage à Android serait d'obtenir pour moi un
> peu de répit de la part de personnes convaincues tous les 2 jours
> d'avoir un virus, à la moindre anomalie ;-))



Re: "Could not display mtp://XXXXX" error no such interface 'org.gtk.vfs.mount' on object at path /org/gtk/vfs/mount/1"

2022-03-21 Thread didier gaumet



Hello,

I would say that your PC does not recognize your smartphone as a MTP
device because your smartphone dose not presents itself as a MTP device

Your smartphone seems to be seen (because it is set up as such in
Android) as a USB mass storage device: then either:
- use programs in Linux that do not rely on the MTP protocol and manage
your smartphone as a USB mass storage device
- or if you want to use Linux programs that rely on MTP protocol, set
up your smartphone to use the PTP protocol (MTP is an extension of PTP,
that should be OK) as the default mode of any USB connection:
https://android.gadgethacks.com/how-to/make-usb-connection-your-android-phone-default-file-transfer-mode-0234540/




Re: simple talking clock / reminder for when monitor is off and it is dark

2022-03-21 Thread Dan Ritter
Samuel Wales wrote: 
> i have to have all lights and monitors off at night.  but i have to
> know the time so i can take medicine.
> 
> i want debian to tell me the time at certain times.  for example
> tonight i have to take medicine at 2:40 am.
> 
> here are ideas:
> 
> - tell me time when i right click [kb much less accessible]
> - tell me at a prespecified time like 2.40 am
> - tell me the following hours: midnight, 1 am, 2am
> 
> any would be ok i think.
> 
> ideas please?  i am not going to be able to do anything particularly
> complex, buyt i can script bash.

The at command does exactly what you want. Record a sound file
of your medicine alarm and...

 $ sudo apt install at

 $ at 0240
 warning: commands will be executed using /bin/sh
 at> aplay /home/sam/medicine.wav
 at> ^D
 job 1 at Wed Mar 22 02:40:00 2022

Enter commands to be run at the particular time, and finish with
a control-D (end of file). at will acknowledge with the job
number and the time it will be run.

Feel free to test with 'at now +2m' 

You can use atq to show you the queue of at jobs, and atrm to
remove one.

Now, if the alarm happens more often than that on a regular
basis, you could use cron instead. cron is a little more
complicated, but can handle things like "every Tuesday, on hours
divisible by 4".

-dsr-



Re: Quels problèmes posés par un NAT sur plusieurs liens Internet ?

2022-03-21 Thread NoSpam

Bonjour

ne pas se casser la tête avec NAT/Multi Nat/... et passer en ipv6. 
Asterisk y fonctionne très bien.


Le 21/03/2022 à 09:47, Olivier a écrit :

Bonjour,

Je travaille sur des système sous Debian Bullseye devant implémenter
la fonction routage vers Internet et NAT pour 100 à 200 utilisateurs
d'un réseau WiFi.
Pour améliorer les performances et la continuité de service, ces
routeurs seront connectés à deux liens FTTH en mode actif-actif.

J'observe que dans sa configuration par défaut, la fonction Equal Cost
Multi Path de Linux s'appuie sur un 5-uplet IP Srce/Dest, Port
Srce/Dest, type de protocole IP pour choisir le lien en sortie.
Choisir avec ce 5-uplet fait, si j'ai bien compris, que le noyau peut,
pour une application comme SIP, faire sortir le flux de signalisation
par le lien n°1, et le flux media par le lien n°2 puisque ces 2 flux
utilisent des ports différents.

On peut considérer que la capacité d'une "application Internet" à bien
fonctionner dans un environnement où un utilisateur est simultanément
actif via plusieurs IP publiques distinctes est du ressort de celui
qui met en ligne ces applications. En d'autres termes, à charge pour
l'exploitant du service SIP de notre exemple de se débrouiller.

Néanmoins, je serai très intéressé de connaître les "utilisations
classiques d'Internet pouvant être mises à mal par le passage d'une à
plusieurs IP publiques" et de comprendre la raison pour laquelle ces
applications dys-fonctionnent quand on introduit l'ECMP ou quelque
chose d'équivalent.

Connaissez-vous une norme, une étude, un lien qui liste ces
applications perturbées par la répartition de charge ?

Avec mon moteur de recherche, des choses comme "ECMP breaks" ne donne
rien de bien pertinent.

--
Daniel



Re: [HS] Android pour la bureautique

2022-03-21 Thread Basile Starynkevitch

Bonjour,


Pour produire des documents sous Linux, je suggère d'utiliser LaTeX 
 (qui existe aussi pour Windows ou 
MacOSX).


https://www.latex-project.org/


ll existe plein de livres sur LaTeX, en français comme en anglais. Ces 
livres sont formattés avec LaTeX. On peut les commander (ou les acheter, 
en région parisienne) par exemple à https://www.eyrolles.com/



A mon avis, LaTeX sur un vieux portable (sous Linux) est une alternative 
viable à LibreOffice. On obtient des fichiers PDF à partir de fichier 
*.tex éditables avec GNU emacs  et 
versionnables avec git  et visualisables avec evince.


Bien évidemment, *il faut se former.* Mais c'est vrai aussi pour 
l'utilisation de LibreOffice (ou de Microsoft Word sous Windows).


Par experience, les claviers des tablettes Android sont peu confortables.


On peut aussi prendre un clavier bluetooth plus large que la tablette


Beaucoup de livres sur Linux sont formattés avec LaTeX. En particulier, 
ceux édités par OReilly.


Et le clavier est important. La maladie professionnelle des 
informaticiens c'est le syndrome du canal carpien (très douloureux).



On 3/21/22 10:54, Olivier wrote:

Bonjour,

Pour différentes raisons, j'envisage de remplacer un PC portable par
une tablette Android avec clavier.

Ce PC portable est quasi-exclusivement utilisé pour du surf sur
Internet et l'édition de documents LibreOffice, échangés par courriel.

Autant le surf sur Internet me parait dans les cordes d'une tablette,
autant l'utilisation de LibreOffice ne me parait pas si évidente que
cela, tant d'un point de vue matériel (qualité du clavier des
tablettes, ...) que logiciel.

J'ai lu dans le magasin d'application Android, des commentaires sur la
version de LibreOffice publiée par Collabora.
Je trouve ces commentaires assez "déconcertants".

C'est pourquoi je préfère poser la question ici.

1. Que pensez-vous de LibreOffice sur Android ?
Est-ce utilisable au quotidien pour quelqu'un habitué à utiliser
l'explorateur de fichiers pour trouver ses documents ?

2. Quel dispositions en terme de sécurité (antivirus, contrôle du
téléchargement d'applications) (*) ?

Slts

(*) Une des raisons du passage à Android serait d'obtenir pour moi un
peu de répit de la part de personnes convaincues tous les 2 jours
d'avoir un virus, à la moindre anomalie ;-))


--
Basile Starynkevitch
(only mine opinions / les opinions sont miennes uniquement)
92340 Bourg-la-Reine, France
web page: starynkevitch.net/Basile/


Re: [HS] Android pour la bureautique

2022-03-21 Thread NoSpam

Bonjour

Le 21/03/2022 à 10:54, Olivier a écrit :

Bonjour,

Pour différentes raisons, j'envisage de remplacer un PC portable par
une tablette Android avec clavier.

Ce PC portable est quasi-exclusivement utilisé pour du surf sur
Internet et l'édition de documents LibreOffice, échangés par courriel.

Autant le surf sur Internet me parait dans les cordes d'une tablette,
autant l'utilisation de LibreOffice ne me parait pas si évidente que
cela, tant d'un point de vue matériel (qualité du clavier des
tablettes, ...) que logiciel.

J'ai lu dans le magasin d'application Android, des commentaires sur la
version de LibreOffice publiée par Collabora.
Je trouve ces commentaires assez "déconcertants".

C'est pourquoi je préfère poser la question ici.

1. Que pensez-vous de LibreOffice sur Android ?
Est-ce utilisable au quotidien pour quelqu'un habitué à utiliser
l'explorateur de fichiers pour trouver ses documents ?

2. Quel dispositions en terme de sécurité (antivirus, contrôle du
téléchargement d'applications) (*) ?


Perso je passerai sur un chromebook -l'android store y est disponible- 
et verrai soit avec libreoffice online soit installer une MV debian et y 
installer LO


--
Daniel



Re: Quels problèmes posés par un NAT sur plusieurs liens Internet ?

2022-03-21 Thread Olivier
À chaud, je pense qu'un algo répartissant le trafic en n'utilisant que
l'IP Source (ie l'IP privée) devrait mieux me convenir: un
utilisateur,
pendant la même session, est toujours vu avec la même IP publique, ce
qui colle assez bien à l'utilisation d'Internet avec un CPE classique.
Si l'IP publique change d'une session à l'autre, c'est pas grave.

Alternativement, on peut remplacer un routage dynamique par un routage
déterministe qui force pour chaque utilisateur un chemin donné mais ma
question demeure:
quelles sont les applications "fragiles" ou sensibles au load balancing ?

Le lun. 21 mars 2022 à 10:51, Pierre Malard  a écrit :
>
> Salut,
>
> Peut-être un simple problème de route ambiguë !
>
> Le 21 mars 2022 à 09:47, Olivier  a écrit :
>
> Bonjour,
>
> Je travaille sur des système sous Debian Bullseye devant implémenter
> la fonction routage vers Internet et NAT pour 100 à 200 utilisateurs
> d'un réseau WiFi.
> Pour améliorer les performances et la continuité de service, ces
> routeurs seront connectés à deux liens FTTH en mode actif-actif.
>
> J'observe que dans sa configuration par défaut, la fonction Equal Cost
> Multi Path de Linux s'appuie sur un 5-uplet IP Srce/Dest, Port
> Srce/Dest, type de protocole IP pour choisir le lien en sortie.
> Choisir avec ce 5-uplet fait, si j'ai bien compris, que le noyau peut,
> pour une application comme SIP, faire sortir le flux de signalisation
> par le lien n°1, et le flux media par le lien n°2 puisque ces 2 flux
> utilisent des ports différents.
>
> On peut considérer que la capacité d'une "application Internet" à bien
> fonctionner dans un environnement où un utilisateur est simultanément
> actif via plusieurs IP publiques distinctes est du ressort de celui
> qui met en ligne ces applications. En d'autres termes, à charge pour
> l'exploitant du service SIP de notre exemple de se débrouiller.
>
> Néanmoins, je serai très intéressé de connaître les "utilisations
> classiques d'Internet pouvant être mises à mal par le passage d'une à
> plusieurs IP publiques" et de comprendre la raison pour laquelle ces
> applications dys-fonctionnent quand on introduit l'ECMP ou quelque
> chose d'équivalent.
>
> Connaissez-vous une norme, une étude, un lien qui liste ces
> applications perturbées par la répartition de charge ?
>
> Avec mon moteur de recherche, des choses comme "ECMP breaks" ne donne
> rien de bien pertinent.
>
> Slts
>
>
> --
> Pierre Malard
>
>
>|\  _,,,---,,_
>/,`.-'`'-.  ;-;;,_
>   |,4-  ) )-,_. ,\ (  `'-'
>  '---''(_/--'  `-'\_) πr
>
> perl -e '$_=q#: 3|\ 5_,3-3,2_: 3/,`.'"'"'`'"'"' 5-.  ;-;;,_:  |,A-  ) )-,_. 
> ,\ (  `'"'"'-'"'"': '"'"'-3'"'"'2(_/--'"'"'  `-'"'"'\_): 
> 24πr::#;y#:#\n#;s#(\D)(\d+)#$1x$2#ge;print'
> - --> Ce message n’engage que son auteur <--
>



[HS] Android pour la bureautique

2022-03-21 Thread Olivier
Bonjour,

Pour différentes raisons, j'envisage de remplacer un PC portable par
une tablette Android avec clavier.

Ce PC portable est quasi-exclusivement utilisé pour du surf sur
Internet et l'édition de documents LibreOffice, échangés par courriel.

Autant le surf sur Internet me parait dans les cordes d'une tablette,
autant l'utilisation de LibreOffice ne me parait pas si évidente que
cela, tant d'un point de vue matériel (qualité du clavier des
tablettes, ...) que logiciel.

J'ai lu dans le magasin d'application Android, des commentaires sur la
version de LibreOffice publiée par Collabora.
Je trouve ces commentaires assez "déconcertants".

C'est pourquoi je préfère poser la question ici.

1. Que pensez-vous de LibreOffice sur Android ?
Est-ce utilisable au quotidien pour quelqu'un habitué à utiliser
l'explorateur de fichiers pour trouver ses documents ?

2. Quel dispositions en terme de sécurité (antivirus, contrôle du
téléchargement d'applications) (*) ?

Slts

(*) Une des raisons du passage à Android serait d'obtenir pour moi un
peu de répit de la part de personnes convaincues tous les 2 jours
d'avoir un virus, à la moindre anomalie ;-))



Re: Quels problèmes posés par un NAT sur plusieurs liens Internet ?

2022-03-21 Thread Pierre Malard
Salut,

Peut-être un simple problème de route ambiguë !

> Le 21 mars 2022 à 09:47, Olivier  a écrit :
> 
> Bonjour,
> 
> Je travaille sur des système sous Debian Bullseye devant implémenter
> la fonction routage vers Internet et NAT pour 100 à 200 utilisateurs
> d'un réseau WiFi.
> Pour améliorer les performances et la continuité de service, ces
> routeurs seront connectés à deux liens FTTH en mode actif-actif.
> 
> J'observe que dans sa configuration par défaut, la fonction Equal Cost
> Multi Path de Linux s'appuie sur un 5-uplet IP Srce/Dest, Port
> Srce/Dest, type de protocole IP pour choisir le lien en sortie.
> Choisir avec ce 5-uplet fait, si j'ai bien compris, que le noyau peut,
> pour une application comme SIP, faire sortir le flux de signalisation
> par le lien n°1, et le flux media par le lien n°2 puisque ces 2 flux
> utilisent des ports différents.
> 
> On peut considérer que la capacité d'une "application Internet" à bien
> fonctionner dans un environnement où un utilisateur est simultanément
> actif via plusieurs IP publiques distinctes est du ressort de celui
> qui met en ligne ces applications. En d'autres termes, à charge pour
> l'exploitant du service SIP de notre exemple de se débrouiller.
> 
> Néanmoins, je serai très intéressé de connaître les "utilisations
> classiques d'Internet pouvant être mises à mal par le passage d'une à
> plusieurs IP publiques" et de comprendre la raison pour laquelle ces
> applications dys-fonctionnent quand on introduit l'ECMP ou quelque
> chose d'équivalent.
> 
> Connaissez-vous une norme, une étude, un lien qui liste ces
> applications perturbées par la répartition de charge ?
> 
> Avec mon moteur de recherche, des choses comme "ECMP breaks" ne donne
> rien de bien pertinent.
> 
> Slts
> 

--
Pierre Malard


   |\  _,,,---,,_
   /,`.-'`'-.  ;-;;,_
  |,4-  ) )-,_. ,\ (  `'-'
 '---''(_/--'  `-'\_) πr

perl -e '$_=q#: 3|\ 5_,3-3,2_: 3/,`.'"'"'`'"'"' 5-.  ;-;;,_:  |,A-  ) )-,_. ,\ 
(  `'"'"'-'"'"': '"'"'-3'"'"'2(_/--'"'"'  `-'"'"'\_): 
24πr::#;y#:#\n#;s#(\D)(\d+)#$1x$2#ge;print'
- --> Ce message n’engage que son auteur <--



signature.asc
Description: Message signed with OpenPGP


Quels problèmes posés par un NAT sur plusieurs liens Internet ?

2022-03-21 Thread Olivier
Bonjour,

Je travaille sur des système sous Debian Bullseye devant implémenter
la fonction routage vers Internet et NAT pour 100 à 200 utilisateurs
d'un réseau WiFi.
Pour améliorer les performances et la continuité de service, ces
routeurs seront connectés à deux liens FTTH en mode actif-actif.

J'observe que dans sa configuration par défaut, la fonction Equal Cost
Multi Path de Linux s'appuie sur un 5-uplet IP Srce/Dest, Port
Srce/Dest, type de protocole IP pour choisir le lien en sortie.
Choisir avec ce 5-uplet fait, si j'ai bien compris, que le noyau peut,
pour une application comme SIP, faire sortir le flux de signalisation
par le lien n°1, et le flux media par le lien n°2 puisque ces 2 flux
utilisent des ports différents.

On peut considérer que la capacité d'une "application Internet" à bien
fonctionner dans un environnement où un utilisateur est simultanément
actif via plusieurs IP publiques distinctes est du ressort de celui
qui met en ligne ces applications. En d'autres termes, à charge pour
l'exploitant du service SIP de notre exemple de se débrouiller.

Néanmoins, je serai très intéressé de connaître les "utilisations
classiques d'Internet pouvant être mises à mal par le passage d'une à
plusieurs IP publiques" et de comprendre la raison pour laquelle ces
applications dys-fonctionnent quand on introduit l'ECMP ou quelque
chose d'équivalent.

Connaissez-vous une norme, une étude, un lien qui liste ces
applications perturbées par la répartition de charge ?

Avec mon moteur de recherche, des choses comme "ECMP breaks" ne donne
rien de bien pertinent.

Slts



Re: OT, Ayuda...

2022-03-21 Thread Camaleón
El 2009-12-22 a las 00:37 -0500, luis escribió:

Hola Luis Esteban,

> Necesito obtener este libro, gratis por favor. Tal vez alguien sabe dónde
> puedo descargarlo.
> 
> Ejercicios prácticos con React, de Carlos Santana Roldán.

No me parece correcto que mandes este tipo de peticiones a la lista.

El libro no tiene licencia libre y estamos en una lista de Debian, 
pones en un brete a los administradores y los recursos del proyecto.

Ya nos conoces a varios de por aquí, si quieres manda un correo privado.

Saludos,

-- 
Camaleón 



Re: Under each of these scenarios, what is the neatest and simplest way to manipulate the /etc/network/interfaces file?

2022-03-21 Thread Tim Woodall

On Sun, 20 Mar 2022, David Wright wrote:


On Sat 19 Mar 2022 at 03:14:54 (+0100), Stella Ashburne wrote:


There are instances in which my machine is connected to a mobile hotspot. And 
in some situations, it's connected to a smartphone via USB tethering. And when 
I'm in the office, I may connect it to a LAN cable.

Below are the contents of my /etc/network/interfaces file:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*


I would change this line to

source-directory /etc/network/interfaces.d

(which was the default on new buster installations).

I would then hive off all your interface configurations into
separate files in the directory /etc/network/interfaces.d
using all-ASCII filenames constructed from upper/lower-case
letters, digits, underscores, and minus-hyphens, as specified
on the man page, but with the string ".hidden" added to the end,
thus:

myphone-tethered.hidden
office-wired.hidden
wifi.hidden
hotspot.hidden

and so on. Files with a dot are ignored when included by means of
a source-directory directive.



I think just commenting out the allow-hotplug lines is sufficient. Then
you can use ifup/ifdown at will. The only 'problem' will be that an
interface doesn't start at boot.

(I'd second splitting into separate files anyway)



simple talking clock / reminder for when monitor is off and it is dark

2022-03-21 Thread Samuel Wales
i have to have all lights and monitors off at night.  but i have to
know the time so i can take medicine.

i use slock and turn off monitor with ddccontrol.  this might turn off
mouse and keyboard; i wouild have to check.

i want debian to tell me the time at certain times.  for example
tonight i have to take medicine at 2:40 am.

here are ideas:

- tell me time when i right click [kb much less accessible]
- tell me at a prespecified time like 2.40 am
- tell me the following hours: midnight, 1 am, 2am

any would be ok i think.

beeping would be ok too, such as the ship's bell's system or just 1
extra beep added to the time for those 3 times.

ideas please?  i am not going to be able to do anything particularly
complex, buyt i can script bash.

[if aboe not possible this would be off topic but if anybody has off
list a settable alarm or soething with a red light to see the time
[blue or white no good and pwm no good], that would be a lasst resort.
i don't hae a digita watch or cell phon e.]