slow connections to non-bridged hostapd/dnsmasq wireless access point (was pointers to material...)

2017-06-11 Thread Joel Rees
(famous last words)

On Sat, Jun 10, 2017 at 3:53 PM, Joel Rees  wrote:
> I now have connection for both the wireless and the netbook that is acting
> as the AP. I took out the bridge entirely, quit trying to play with
> port forwarding,
> just used dead simple setup. dnsmasq was the only missing piece, if I had
> not been focusing on bridging.  Bridging is probably for the other direction.
>
> But the wireless is pretty slow, so I'm not sure I'm finished.
>
> I have to go take care of some family business, when I'm done I'll
> post the details.
>
> But it's really pretty simply. I was just working too hard.

But it's too slow to maintain a connection.

After mucking around a bit, I haven't really come up with anything. So
I'll post my
configurations (names changed as usual):

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

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
#iface eth0 inet dhcp

iface eth0 inet static
address 172.28.45.58
network 172.28.45.0
netmask 255.255.255.192
broadcast 172.28.45.63
gateway 172.28.45.32
dns-nameservers 172.28.45.32 208.67.222.222 8.8.4.4
#

wireless wlan0
allow-hotplug wlan0
#iface wlan0 inet manual
iface wlan0 inet static
address 172.28.43.168
netmask 255.255.255.192
network 172.28.43.128
broadcast 172.28.43.191
gateway 172.28.45.58
dns-nameservers 172.28.45.58 172.28.45.32 208.67.222.222 8.8.4.4
--

--/etc/hostapd/hostapd.conf
### Wireless network name ###
interface=wlan0

### Driver Name ###
driver=nl80211

### Set your bridge name ###
#bridge=br0

### Country name code in ISO/IEC 3166-1 format. ###
# This is used to set regulatory domain.
# Set as needed to indicate country in which device is operating.
# This can limit available channels and transmit power.
### (IN == INDIA, UK == United Kingdom, US == United Stats and so on ) ###
country_code=JP

### SSID: ###
ssid=MonkeyMagic

### channel number (some drivers will only accept 0) ###
### (some drivers will not accept 0) ###
channel=1,6,10

### operation mode (a = IEEE 802.11a, b = IEEE 802.11b, g = IEEE 802.11g) ###
hw_mode=g
ieee80211n=1
ht_capab=[HT40+][SHORT-GI-40][DSSS_CCK-40]

### WPA mode: ###
wpa=2

### passphrase (WiFi password): ###
wpa_passphrase=n0+m4REALpa55P#ra$e

## Key management algorithms ##
wpa_key_mgmt=WPA-PSK

## Set cipher suites (encryption algorithms) ##
## TKIP = Temporal Key Integrity Protocol
## CCMP = AES in Counter mode with CBC-MAC
wpa_pairwise=TKIP
rsn_pairwise=CCMP
## Shared Key Authentication ##
auth_algs=1
## Accept all MAC address ###
macaddr_acl=0
## Don't mess with media-specific tuning. ##
wme_enabled=0
--

/etc/dnsmasq.conf
# Configuration file for dnsmasq.
#
# Format is one option per line, legal options are the same
# as the long options legal on the command line. See
# "/usr/sbin/dnsmasq --help" or "man 8 dnsmasq" for details.

# Listen on this specific port instead of the standard DNS port
# (53). Setting this to zero completely disables DNS function,
# leaving only DHCP and/or TFTP.
#port=5353

# The following two options make you a better netizen, since they
# tell dnsmasq to filter out queries which the public DNS cannot
# answer, and which load the servers (especially the root servers)
# unnecessarily. If you have a dial-on-demand link they also stop
# these requests from bringing up the link unnecessarily.

# Never forward plain names (without a dot or domain part)
domain-needed
# Never forward addresses in the non-routed address spaces.
bogus-priv


# Uncomment this to filter useless windows-originated DNS requests
# which can trigger dial-on-demand links needlessly.
# Note that (amongst other things) this blocks all SRV requests,
# so don't use it if you use eg Kerberos, SIP, XMMP or Google-talk.
# This option only affects forwarding, SRV records originating for
# dnsmasq (via srv-host= lines) are not suppressed by it.
#filterwin2k

# Change this line if you want dns to get its upstream servers from
# somewhere other that /etc/resolv.conf
#resolv-file=

# By  default,  dnsmasq  will  send queries to any of the upstream
# servers it knows about and tries to favour servers to are  known
# to  be  up.  Uncommenting this forces dnsmasq to try each query
# with  each  server  strictly  in  the  order  they   appear   in
# /etc/resolv.conf
#strict-order

# If you don't want dnsmasq to read /etc/resolv.conf or any other
# file, getting its servers from this file instead (see below), then
# uncomment this.
#no-resolv

# If you don't want dnsmasq to poll /etc/resolv.conf or other resolv
# files for 

Re: Debian Stretch avec Cinnamon

2017-06-11 Thread Haricophile
Le Sun, 11 Jun 2017 23:41:18 +0200,
Miguel Vilar  a écrit :

> Si vous avez des questions, je peux essayer de vous donner des 
> informations plus précises.
 
Un vieux compaq mini est imprécis, je me poserais la question de
l'accélération graphique 3d en rapport avec le GPU, il y a une option
"software" je crois avec Cinamon.

Ceci étant j'utilise Mate et ai perdu l'usage du fond d'écran durant
quelque temps, c'est revenu il y a quelque jours. Comme les gnomes
on la manie de casser les API, je deviens méfiant...

-- 
haricoph...@aranha.fr 



Re: Compiler segfault when building the kernel

2017-06-11 Thread Celejar
On Sun, 11 Jun 2017 14:52:55 +0200
deloptes  wrote:

> Celejar wrote:
> 
> > So I'll have to decide whether to report against kernel-package, gcc,
> > or not at all.
> 
> build a simple and clean chroot and test there. If bug present report if not
> use the kernel build there on your current system.
> 
> Avoid mixing build and production systems if possible - chroot is cheep and
> handy.

Thanks. Will try further testing when I get a chance.

Celejar



Please help me resize my ext4 file system to size > 16TB

2017-06-11 Thread Ram Ramesh

Hi,

  I have kernel 3.13 and e2fsprog 1.42.9 (as part of mybuntu 14.04.5 
LTS). With this, is it possible to resize2fs my ext4 RAID6 /dev/md0 to 
24TB (ie >16TB)? If so, please help me get there. If not, please 
recommend the upgrades needed to the setup before this can be done. So, 
far, my google says I need to do "tune2fs -O extents,uninit_bg,dir_index 
/dev/md0" which I already did and I still get the dreaded message 
"resize2fs: New size too large to be expressed in 32 bits."


There are mentions of a 64bit option for the ext4 file system. I can see 
how this relates to the error message from resize2fs, but I do not know 
what I should do to get that update done for my /dev/md0. Also all of 
the message that I come across relating to 64bit option, only talk 
about  how to *create* a brand new file system with 64bit. None of them 
tell me how to convert existing one. In fact, many of them scare me 
saying that it will be unsupported in older kernels. I am not really 
sure if my kernel is too old or not. Also, they talk about a switch -b 
for resize2fs that is not supported in the version installed currently 
on my system/release.


Pleas help me figure out the correct sequence of steps. What packages 
need update, if current kernel/release is ok? Or, do I need to upgrade 
to a newer release before this is possible?


Thanks
Ramesh



Debian Stretch avec Cinnamon

2017-06-11 Thread Miguel Vilar

Bonsoir,
Je ne maîtrise pas l'anglais et je voudrais signaler une bizarrerie (un 
bogue ?) avec Stretch Cinnamon.
J'ai installé une Debian Stretch Cinnamon 32bits sur un vieux Compaq 
Mini. J'ai essayé certaines choses notamment changer le fond d'écran. Et 
bien ça ne fonctionne pas; cela ne fait pas planter le système, mais la 
fenêtre reste ouverte et on ne peut rien en faire, à part quitter (et 
encore, une fenêtre finit par apparaître pour nous demander si on veut 
forcer à quitter).
Si vous avez des questions, je peux essayer de vous donner des 
informations plus précises.

Cordiales salutations
Miguel Vilar



Re: ventilador a stretch en fer resume

2017-06-11 Thread tictacbum
no ho acabo d'entendre, però canviant el driver nouveau per
nvidia-legacy-340xx-driver s'ha solucionat lo del ventilador :)

El dia 10 de juny de 2017 a les 19:40, tictacbum  ha
escrit:

> tens raó, no sé com ho mirava..
> de totes maneres segueix fent lo del ventilador :(
>
> El dia 10 de juny de 2017 a les 18:34, Alex Muntada  ha
> escrit:
>
>> Lluís Gili:
>>
>> > El divendres, 9 de juny de 2017, a les 14:49:01 CEST, Àlex va
>> > escriure:
>> > > ...
>> > > Per si de cas fa servei, aquest matí han tornat ha actualitzar
>> > > el kernel 4.9.0-3, del 4.9.vint-i-algo al 4.9.30.
>> > > ...
>> > ostres a mi no m'ha vingut aquesta actualització, i no la veig
>> > a packages.debian.org, jo tinc instal·lat el meta-paquet
>> > linux-image-amd64 que ara apunta a linux-image-4.9.0-3-amd64
>>
>> Si fas «dpkg -l linux-image-4.9.0-3-amd64» hauries de veure que
>> diu «4.9.30-1» a la columna de la versió.
>>
>> Salut,
>> Alex
>>
>>
>


Grave bug when playing flash videos

2017-06-11 Thread Pétùr
I have a serious bug when using flashplayer in debian sid.

This bug freezes everything and I have to do a hard reboot. It happens
with flashplugin and pepperflash when I play a video with flash (both
tested with firefox and chromium). Today I am using pepperflash,
installed by the package browser-plugin-freshplayer-pepperflash.

The bug could occur after playing 2s or 2h. When I play a flash video, I
have ~50% chances to be affected.

I have some difficulties to see where it comes from. I need some help.

Here is the /var/log/debug for the time of the bug (occurred today at
21:25) :

https://hastebin.com/hupeqituji.sql

In /var/log/daemon.log I have some inconsistencies at 21:25:28
represented by:

^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@...

followed by:
Jun 11 21:25:28 punda systemd-modules-load[218]: Inserted module 'lp'
Jun 11 21:25:28 punda systemd-modules-load[218]: Inserted module 'ppdev'
Jun 11 21:25:28 punda systemd[1]: Starting Flush Journal to Persistent
Storage...
Jun 11 21:25:28 punda systemd[1]: Started Load/Save Random Seed.
Jun 11 21:25:28 punda systemd[1]: Started Flush Journal to Persistent
Storage.
Jun 11 21:25:28 punda systemd[1]: Started Create Static Device Nodes in
/dev.
Jun 11 21:25:28 punda systemd[1]: Starting udev Kernel Device Manager...
Jun 11 21:25:28 punda systemd[1]: Started udev Coldplug all Devices.
Jun 11 21:25:28 punda systemd[1]: Started Set the console keyboard layout.
Jun 11 21:25:28 punda systemd[1]: Reached target Local File Systems (Pre).

The same in syslog (a bunch of ^@^@^@^@^@^@^@^@^@^@^@^@^@^@...
 followed by the reboot informations).

Does someone have a idea?



Re: Downgrading specific packages with apt

2017-06-11 Thread solitone
On Sunday, 11 June 2017 20:06:48 CEST Brian wrote:
> if you change your sources.list to use a suitable
> one from snapshot.debian.org it will be found.

I didn't know that, thanks! 



Re: Downgrading specific packages with apt

2017-06-11 Thread Brian
On Sun 11 Jun 2017 at 11:13:21 +0200, solitone wrote:

> On Sunday, 11 June 2017 10:39:25 CEST Dejan Jocic wrote:
> > In case that you are on stable, perhaps in old stable repository, or its
> > backports, after you add those to sources.list. 
> 
> No, I'm on stretch, so I'm using the stretch repository:
> deb http://ftp.it.debian.org/debian/ stretch main non-free contrib
> 
> Since stretch is still in testing, several packages get upgraded regularly. 
> On 
> of those was chromium, which some days ago was upgraded from ver. 58 to 59. I 
> believe version 58 now is no longer in the stretch repository, so if you ask 
> apt to install that version, it doesn't find that.

That is correct. But if you change your sources.list to use a suitable
one from snapshot.debian.org it will be found.

> > I've suggested  it only because you were asking how to do it with apt
> 
> Yes, I see, and in fact apt would be my preferred tool, if downgrading were 
> possible with it.

The incentive to invetigate the suggestion above is probably minimal
because you have solved your issue.

-- 
Brian.



Re: NTP.conf pool vs server

2017-06-11 Thread Brian
On Sun 11 Jun 2017 at 10:57:51 -0500, David Wright wrote:

> On Wed 07 Jun 2017 at 17:26:30 (+0100), Brian wrote:
> > On Wed 07 Jun 2017 at 10:30:54 -0500, John Hasler wrote:
> > 
> > > Remove Ntp and install Chrony.
> > 
> > Too easy. There would be nothing to rant about. :)
> > 
> > https://chrony.tuxfamily.org/comparison.html
> 
> I read this and did exactly that:

It's good to see someone testing things.
 
> Start-Date: 2017-06-07  12:58:22
> Install: […], chrony:i386 (1.30-2+deb8u2), […]
> 
> I looked at, but didn't change, the configuration file.

Three machines running chrony here. One (which is always on) has an
original chrony.conf and the only change to the other one (a laptop
which is suspended overnight) is to use my ISP's time servers. The
third one has just been booted after not being used for fourteen
days; it uses a single one of my ISP's time servers.
 
> Two days later, the laptop¹ was still running about five seconds
> slow, so:
> 
> Start-Date: 2017-06-09  17:39:56
> Purge: […], chrony:i386 (1.30-2+deb8u2), […]
> 
> Start-Date: 2017-06-09  17:43:19
> Install: […], ntp:i386 (4.2.6.p5+dfsg-7+deb8u2)
> 
> I looked at, but didn't change, the configuration file.
> 
> By the time I had brought up two swissclocks (from my server
> and other laptop) all three second hands were marching in step
> (and within one second of the radio wall clock).
> 
> ¹ had been "running free".

Machines number 1 and 2 are in step with my radio clock. Machine
number 3 came up three seconds slow. Within 6 minutes it agreed
with the other machines. I cannot account for this because I've
never had cause to examine chrony's configuration or internal
workings. Perhaps it has to do with frequency of polling? At the
moment my motivation to find out why is not high.

All my other machines use systemd-timesyncd on the basis it is
already available on them. The first three have used chrony for
nearly ten years without a discernable problem.

-- 
Brian.



Re: Choose between amd64 and i386

2017-06-11 Thread Rodolfo Medina
Rodolfo Medina  writes:

> Felix Miata  writes:
>
>> Rodolfo Medina composed on 2017-06-11 15:53 (UTC+0100):
>>
>>> Impossible to boot from live iso, neither with Knoppix nor Debian...  It
>>> only allows booting into Windows.  Instead, with non-live Debian iso, it is
>>> possible to boot into USB stick but then, when you choose any item from
>>> Debian Installation menu, everything sticks and display gets messed.
>> .
>> Have you tried using Windows to start the Debian installer?
>> https://wiki.debian.org/DebianInstaller/Loader
>> https://en.wikipedia.org/wiki/Win32-loader
>
> That sounds promising to me...  I'll let you know.  Thanks.


When I try to run it, from within Windows, error appears: `This program doesn't
support Windows 6.2.9200 SPO yet'.  And it stops.  In fact, I have Windows 10 -
if it's that.

Rodolfo



Re: Choose between amd64 and i386

2017-06-11 Thread Rodolfo Medina
Felix Miata  writes:

> Rodolfo Medina composed on 2017-06-11 15:53 (UTC+0100):
>
>> Impossible to boot from live iso, neither with Knoppix nor Debian...  It
>> only allows booting into Windows.  Instead, with non-live Debian iso, it is
>> possible to boot into USB stick but then, when you choose any item from
>> Debian Installation menu, everything sticks and display gets messed.
> .
> Have you tried using Windows to start the Debian installer?
> https://wiki.debian.org/DebianInstaller/Loader
> https://en.wikipedia.org/wiki/Win32-loader

That sounds promising to me...  I'll let you know.  Thanks.

Rodolfo



Re: Depends xxx <- Version: 3:20161105-1

2017-06-11 Thread Narcis Garcia
__
I'm using this express-made address because personal addresses aren't
masked enough at this list's archives. Mailing lists service
administrator should fix this.
El 10/06/17 a les 18:54, Alex Muntada ha escrit:
> Narcis Garcia:
> 
>> Hola, estic intentant fer un paquet que depengui d'un altre
>> (iputils-ping), però la versió d'aquest altre a Debian està
>> marcada amb una notació que no domino:
>> 3:20161105-1
>>
>> - Quina és la versió del programari? 3?
> 
> La versió del codi original és 20161105, la de debian 1, però
> degut a diversos canvis en la manera de versionar els orginals
> (fins a 3 cops), ha calgut afegir el prefix 3 per poder fer les
> comparacions.
> 
> https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Version
> 
>> - Quina és la millor fórmula pel fitxer «control» del meu nou paquet
>> tenint en compte que em serveix qualsevol des de la 3:20020927 de
>> Debian-Sarge o més enrere si fos el cas?
>>
>> Depends: iputils-ping (>= 3)
>> Depends: iputils-ping (>= 20020927)
> 
> Aquestes segur que no perquè s'interpreta que en realitat duen
> el prefix «0:» al davant i no t'interessa en cap dels dos casos.
> 
>> Depends: iputils-ping (>= 3:20020927)
> 
> Aquesta sembla una bona aposta. En qualsevol cas, et recomano que
> facis proves amb el dpkg, per exemple:
> 
> $ dpkg --compare-versions 3:20161105-1 ge 3:20020927 && echo true
> true
> 
> Salut,
> Alex
> 

Ei gràcies, vaig obtenir una resposta similar en una altra llista, però
aquesta està fonamentada i tot; millor.



Re: NTP.conf pool vs server

2017-06-11 Thread David Wright
On Wed 07 Jun 2017 at 17:26:30 (+0100), Brian wrote:
> On Wed 07 Jun 2017 at 10:30:54 -0500, John Hasler wrote:
> 
> > Remove Ntp and install Chrony.
> 
> Too easy. There would be nothing to rant about. :)
> 
> https://chrony.tuxfamily.org/comparison.html

I read this and did exactly that:

Start-Date: 2017-06-07  12:58:22
Install: […], chrony:i386 (1.30-2+deb8u2), […]

I looked at, but didn't change, the configuration file.

Two days later, the laptop¹ was still running about five seconds
slow, so:

Start-Date: 2017-06-09  17:39:56
Purge: […], chrony:i386 (1.30-2+deb8u2), […]

Start-Date: 2017-06-09  17:43:19
Install: […], ntp:i386 (4.2.6.p5+dfsg-7+deb8u2)

I looked at, but didn't change, the configuration file.

By the time I had brought up two swissclocks (from my server
and other laptop) all three second hands were marching in step
(and within one second of the radio wall clock).

¹ had been "running free".

Cheers,
David.



Re: [Stretch] Comportement étrange de NeoVIM avec le Terminal Mac (résolu)

2017-06-11 Thread Pierre Malard
Géant,

Effectivement, le /etc/vim/vimrc semble ne plus être actif.

Merci à tous.

> Le 10 juin 2017 à 08:22, Jacques  a écrit :
> 
> Le 10/06/2017 à 04:36, Charles Plessy a écrit :
>> Le Sat, Jun 10, 2017 at 12:38:16AM +0200, Pierre Malard a écrit :
>>> 
>>> Par contre, j’ai un comportement très étrange avec le terminal Apple. Je ne
>>> peux plus utiliser la sélection, ni le copier/coller. À chaque fois que je
>>> sélectionne un texte sous NeoVIM cela passe en mode « VISUAL » et m’interdit
>>> toute action autre que celle prévue dans ce mode. C’est exactement comme si
>>> j’avais tapé un « v » et déplacé le curseur avec les flèches ! C’est un
>>> mélange des genres entre les deux applications très dérangeantes et
>>> pénalisantes.
>> 
>> Bonjour Pierre,
>> 
>> J'ai ça dans tous les terminaux: c'est la conséquence d'avoir l'option
>> `mouse=a` par défaut (via `/usr/share/vim/vim80/defaults.vim`):
>> 
>> - https://superuser.com/questions/436890/cant-copy-to-clipboard-from-vim
>> - 
>> https://stackoverflow.com/questions/4608161/copy-text-out-of-vim-with-set-mouse-a-enabled
>> - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837880
>> 
>> Bonne fin de semaine,
>> 
>> Charles
>> 
> 
> Bonjour,
> 
> Pour recupérer le copier/coller dans vim , creer ou completer le fichier
> /etc/vim/vimrc.local (ou ~/.vim/vimrc) avec la ligne suivante:
> let g:skip_defaults_vim = 1
> 
> 
> 
> D'après /usr/share/doc/vim/NEWS.Debian.gz:
>  Vim now ships with a defaults.vim file which, when the user has no
> vimrc, enables some options that have historically been disabled by
> default. This is described in more detail at ":help defaults.vim".
> 
>  Since defaults.vim is loaded when the user's vimrc would typically be
>  loaded, it will override any settings in /etc/vim/vimrc(.local).
>  In order to disable the loading of defaults.vim, add
> 
>let g:skip_defaults_vim = 1
> 
>  to /etc/vim/vimrc(.local).
> 
> Bon week-end
> 
> Jacques

--
Pierre Malard

  « Les utopies ne sont souvent que des vérités prématurées »
  Alphonse de Lamartine
   |\  _,,,---,,_
   /,`.-'`'-.  ;-;;,_
  |,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


Re: Choose between amd64 and i386

2017-06-11 Thread Felix Miata
Rodolfo Medina composed on 2017-06-11 15:53 (UTC+0100):

> Impossible to boot from live iso, neither with Knoppix nor Debian...  It only
> allows booting into Windows.  Instead, with non-live Debian iso, it is 
> possible
> to boot into USB stick but then, when you choose any item from Debian
> Installation menu, everything sticks and display gets messed.
.
Have you tried using Windows to start the Debian installer?
https://wiki.debian.org/DebianInstaller/Loader
https://en.wikipedia.org/wiki/Win32-loader
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

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

Felix Miata  ***  http://fm.no-ip.com/



Re: Choose between amd64 and i386

2017-06-11 Thread Rodolfo Medina
Richard Owlett  writes:

> I suggest using
> 
>
> It is a command line only version of Debian -the lowest common denominator
> approach to what will run on your hardware.


Impossible to boot from live iso, neither with Knoppix nor Debian...  It only
allows booting into Windows.  Instead, with non-live Debian iso, it is possible
to boot into USB stick but then, when you choose any item from Debian
Installation menu, everything sticks and display gets messed.

Rodolfo



Re: Debian installation issues

2017-06-11 Thread Richard Owlett

On 06/11/2017 08:34 AM, Michael Fothergill wrote:

On 10 June 2017 at 14:05, Richard Owlett  wrote:


On 06/09/2017 03:37 PM, Michael Fothergill wrote:


On 9 June 2017 at 20:59, Fungi4All  wrote:

Here is some relevant reading of installing linux system besides Win8 and

in some cases the same problem exists on Win 10.
https://askubuntu.com/questions/221835/installing-ubuntu-
alongside-a-pre-
installed-windows-with-uefi




​I read through some of this.  If I understood it correctly, if you buy a
machine that comes with e.g. Windows 10 installed for you then this secure
boot feature would make it difficult to boot and install certain Linux
distributions - but some versions of Ubuntu might be OK apparently.

But if you would buy such a machine, do you not also get the Windows key
codes for the OS...?

If you do, then could you not just back up the work files on the
installation and then uninstall Windows and reinstall it with the
secure boot feature turned off and then install the Linux distro
of your choice?

When I get a new PC I specifically request that it has no operating
system on it and then install everything from scratch.



I follow a variation on that that suits my personal/idiosyncratic
preferences for buying used/reconditioned hardware (no need for cutting
edge) and buying locally rather than online (fewer communication snafus).

I go into the store with a live DVD or flash drive. I began doing this to
see if a standard install of Debian had appropriate drivers. I found a
secondary advantage in discovering how straight forward it was to boot from
something other than the default hard disk. A couple months ago I had
occasion to go one step further and while and do a full install while in
the store (odd permutation of hardware and software).
YMMV




I have not encountered this problem as yet.



I'm not clear to what "this problem" refers.



​As I understand it, it is possible to purchase a PC or laptop which has
Windows 10 preinstalled on the hard drive.

Apparently the default installation in a UEFI capable machine includes
something called the "secure boot" facility.  This new feature makes
installing Linux distros difficult in some cases.
We have been trying to help the OP with this problem.



Thank you. I hadn't been sure if you were referring to his overall 
problem or a specific aspect.


From a Ubuntu related reference someone gave, "secure boot" is a known 
problem for his hardware.








Re: Debian installation issues

2017-06-11 Thread Michael Fothergill
On 10 June 2017 at 14:05, Richard Owlett  wrote:

> On 06/09/2017 03:37 PM, Michael Fothergill wrote:
>
>> On 9 June 2017 at 20:59, Fungi4All  wrote:
>>
>> Here is some relevant reading of installing linux system besides Win8 and
>>> in some cases the same problem exists on Win 10.
>>> https://askubuntu.com/questions/221835/installing-ubuntu-
>>> alongside-a-pre-
>>> installed-windows-with-uefi
>>>
>>>
>>
>> ​I read through some of this.  If I understood it correctly, if you buy a
>> machine that comes with e.g. Windows 10 installed for you then this secure
>> boot feature would make it difficult to boot and install certain Linux
>> distributions - but some versions of Ubuntu might be OK apparently.
>>
>> But if you would buy such a machine, do you not also get the Windows key
>> codes for the OS...?
>>
>> If you do, then could you not just back up the work files on the
>> installation and then uninstall Windows and reinstall it with the
>> secure boot feature turned off and then install the Linux distro
>> of your choice?
>>
>> When I get a new PC I specifically request that it has no operating
>> system on it and then install everything from scratch.
>>
>
> I follow a variation on that that suits my personal/idiosyncratic
> preferences for buying used/reconditioned hardware (no need for cutting
> edge) and buying locally rather than online (fewer communication snafus).
>
> I go into the store with a live DVD or flash drive. I began doing this to
> see if a standard install of Debian had appropriate drivers. I found a
> secondary advantage in discovering how straight forward it was to boot from
> something other than the default hard disk. A couple months ago I had
> occasion to go one step further and while and do a full install while in
> the store (odd permutation of hardware and software).
> YMMV
>
>
>
>> I have not encountered this problem as yet.
>>
>
> I'm not clear to what "this problem" refers.
>

​As I understand it, it is possible to purchase a PC or laptop which has
Windows 10 preinstalled on the hard drive.

Apparently the default installation in a UEFI capable machine includes
something called the "secure boot" facility.  This new feature makes
installing Linux distros difficult in some cases.
We have been trying to help the OP with this problem.

Regards

MF

​


>
>
>> Cheers
>>
>> MF
>>
>
>
>
>


ré-empaquetage noyau stretch

2017-06-11 Thread humbert . olivier . 1
Bonjour la liste,

j'ai besoin de recompiler un noyau avec certaines options spécifiques, et je le 
fais en suivant une méthode faite a partir du guide debian : 
https://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-common-official

Je fais ça sur une stretch. Cette méthode fonctionne sur une debian 64 bits, 
mais plante sur une debian 32 bits et je ne sais pas pourquoi.

Après avoir vu le plantage de la compilation une première fois, j'ai réessayé 
en me modifiant pas les options de configuration du noyau pour voir si le 
plantage provenait des options spécifiques sélectionnées ou pas. Juste en 
reconstruisant un noyau debian 4.9 32bits PAE de base donc. Ça plante aussi.

Voici les commandes utilisées sur une debian stretch a jour :

wget http://http.debian.net/debian/pool/main/l/linux/linux_4.9.30-1.dsc
wget http://http.debian.net/debian/pool/main/l/linux/linux_4.9.30.orig.tar.xz
wget 
http://http.debian.net/debian/pool/main/l/linux/linux_4.9.30-1.debian.tar.xz

su -c "apt-get build-dep linux"
dpkg-source -x linux_4.9.30-1.dsc

cd linux-4.9.30/
fakeroot debian/rules debian/control-real
fakeroot make -f debian/rules.gen setup_i386_none_686-pae
fakeroot debian/rules source

date && fakeroot make -f debian/rules.gen binary-arch_i386_none_686-pae -j2 && 
date
# (les "date" ici sont juste la pour que je puisse voir combien de temps a pris 
la compilation/empaquetage )

ça compile sans erreur pendant plus de 4 ou 5 heures (pentium dual 1.6Ghz 2G 
RAM) et ça plante avec :
...
...
...
  CC [M]  net/wireless/lib80211_crypt_ccmp.o
  CC [M]  net/wireless/lib80211_crypt_tkip.o
  LD  net/wireless/built-in.o
  LD [M]  net/wireless/cfg80211.o
  LD  net/built-in.o
Makefile:150: recipe for target 'sub-make' failed
make[3]: *** [sub-make] Error 2
Makefile:24: recipe for target '__sub-make' failed
make[2]: *** [__sub-make] Error 2
make[2]: Leaving directory 
'/home/mon_utilisateur/Bureau/linux-4.9.30/debian/build/build_i386_none_686-pae'
debian/rules.real:190 : la recette pour la cible « 
debian/stamps/build_i386_none_686-pae » a échouée
make[1]: *** [debian/stamps/build_i386_none_686-pae] Erreur 2
make[1] : on quitte le répertoire « /home/mon_utilisateur/Bureau/linux-4.9.30 »
debian/rules.gen:92 : la recette pour la cible « 
binary-arch_i386_none_686-pae_real » a échouée
make: *** [binary-arch_i386_none_686-pae_real] Erreur 2

Rappel : la même séquence de commande produit un .deb correct d'un noyau 
fonctionnel sur un système debian stretch 64 bits.

Des idées ?
Olivier



Re: Adding metadata tags to wav files

2017-06-11 Thread Gener Badenas
Have you tried using Kid3?  Doc says it supports wav file.  Not CLI program
though.

On Sun, Jun 11, 2017 at 1:34 AM, Rodolfo Medina 
wrote:

> I successfully add metadata tags (album, artist, title, genre...) to mp3
> files
> using ffmpeg:
>
>  $ ffmpeg -i input.mp3 -c copy -metadata title="Yesterday" output.mp3
>
> .  When I do the same with wav format, the tags are then properly shown by
> ffmpeg itself, but they aren't by common media players.  Has anyone ever
> experimented that, with ffmpeg or other tools?
>
> Thanks,
>
> Rodolfo
>
>


-- 
My Java Blog 


Re: Compiler segfault when building the kernel

2017-06-11 Thread deloptes
Celejar wrote:

> So I'll have to decide whether to report against kernel-package, gcc,
> or not at all.

build a simple and clean chroot and test there. If bug present report if not
use the kernel build there on your current system.

Avoid mixing build and production systems if possible - chroot is cheep and
handy.

regards





Re: Trying to install Debian on Acer One 10 laptop-tablet

2017-06-11 Thread Thomas Schmitt
Hi,

i wrote:
> > The symptoms described in this thread appear to happen already when GRUB
> > is still in control and offers its boot menu. Or did i get this wrong ?

Rodolfo Medina wrote:
> I enter `Boot Manager', and there are two possible options:
>  Windows Boot Manager
>  EFI USB Device (General UDisk)
> I choose the second and here I am in Debian installation menu. 

I understand that this menu is not yet Linux but bootloader.
Since you obviously have EFI without BIOS emulation active, the bootloader
from the Debian ISO is GRUB (from BIOS it would be ISOLINUX).


> I tried with both Install and `64 bit install', and also, now, with `64 bit
> graphical install'; and, in all those cases, what happens is that the image
> becomes confused and the keyboard sticks and no command is more possible.

So you can properly operate the menu ?
In that case it would probably not be GRUB which fails but already Linux.
A matter of the booted kernel and its modules in the initrd.


> So, as far as I understand, Debian live isos will also probably fail

Did you already try the very newest Debian ISOs ? Maybe they have newer
Linux kernels. E.g.
  
https://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/multi-arch/iso-cd/debian-testing-amd64-i386-netinst.iso

Sifting through the mailing list archive, i see a proposal by Pascal
Hambourg in
  https://lists.debian.org/debian-user/2017/06/msg00406.html
which did not yet get a reply:
> > > The next step would be to select "expert install", GUI or not. It
> > > should display a lot of kernel messages before switching to the
> > > frame buffer or GUI installer menu. If it does not, then the kernel
> > > freeze happens very early in the boot process.

This might help to determine which of both systems is to blame:
GRUB or Linux.

@Pascal:
Do i get it right that you assume the last visible menu runs already
under control of Linux ?
But i see the texts reported by Rodolofo in Debian ISOs in the GRUB
menu file /boot/grub/grub.cfg :
  menuentry --hotkey=i 'Install' {
  menuentry --hotkey=6 '64 bit install' {
  menuentry --hotkey=g 'Graphical install' {

So i assume that the last good graphics stems from GRUB and the last
user interaction was received by GRUB.
Question is whether the machine's user interface dies when GRUB ends
its life or while Linux is starting up.


> all I can do is waiting for Knoppix 8 iso image to be downloadable...

If it is about the Linux kernel then Knoppix will not be a way to get
the latest Linux kernel. It might of course have a drivers which the
Debian ISOs don't have. So when it is out it is worth a try.

You could try some other distro ISOs whether you get to see at least
a few kernel boot messages after choosing a menu item. Success with
another freely downloadable ISO could help to find out what goes wrong
with the Debian ISOs on your machine.


Have a nice day :)

Thomas



Re: Trying to install Debian on Acer One 10 laptop-tablet

2017-06-11 Thread Curt
On 2017-06-11, Rodolfo Medina  wrote:
>
> So, as far as I understand, Debian live isos will also probably fail and all I
> can do is waiting for Knoppix 8 iso image to be downloadable...

Haven't been following the play by play, but maybe something here could
be applicable to your case:

https://gist.github.com/franga2000/2154d09f864894b8fe84

Maybe you've already seen it.

> Rodolfo
>
>


-- 
"It might be a vision--of a shell, of a wheelbarrow, of a fairy kingdom on the
far side of the hedge; or it might be the glory of speed; no one knew." --Mrs.
Ramsay, speculating on why her little daughter might be dashing about, in "To
the Lighthouse," by Virginia Woolf.



Re: Downgrading specific packages with apt

2017-06-11 Thread Eduardo M KALINOWSKI
On 11-06-2017 05:06, solitone wrote:
> But where do you find old packages in case you no longer
> have them in /var/cache/apt/archives?

http://snapshot.debian.org/


-- 
A rolling disk gathers no MOS.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



Re: Trying to install Debian on Acer One 10 laptop-tablet

2017-06-11 Thread Rodolfo Medina
"Thomas Schmitt"  writes:

> Hi,
>
> Rodolfo Medina wrote:
>> I downloaded Knoppix and burned it onto DVD support, but unfortunately
>> it seems no possible to boot the machine from DVD: no such
>> option in start up boot menu.
>
> If it's Knoppix 7, then it will only boot via BIOS or EFI Legacy BIOS
> Emulation.
> Knoppix 8 has boot entries for EFI. But it seems still only available
> on the german Linux Magazin DVD for DELUG members.
>
>
> The symptoms described in this thread appear to happen already when GRUB
> is still in control and offers its boot menu. Or did i get this wrong ?

Thanks.  I'm not expert enough to tell if you are right.  The symptoms I
described already and here they are again:

With USB Debian installation pendrive plugged in, pressing power button
together with volume up takes me into the front page of the PC settings: there
is:

 ->Boot Manager
 ->Device Manager
 ->Boot From File
 ->Administer Secure Boot
 ->Setup Utility

I enter `Boot Manager', and there are two possible options:

 Windows Boot Manager
 EFI USB Device (General UDisk)

I choose the second and here I am in Debian installation menu.  There is:

 Install
 64 bit install
 Graphical install
 64 bit graphical install
 Advanced options ...
 Install with speech synnthesis
 64 bit speech install

I tried with both Install and `64 bit install', and also, now, with `64 bit
graphical install'; and, in all those cases, what happens is that the image
becomes confused and the keyboard sticks and no command is more possible.

> If it happens in GRUB, then Knoppix 8 would be a highly interesting
> alternative. Unlike nearly all other distros it does not use GRUB for EFI
> booting but rather offers an EFI system partition which contains SYSLINUX
> and a complete little GNU/Linux system.
> So the early boot technology on EFI is very different from Debian's.
>
> If it can be confirmed that the problem is actually in GRUB, not in
> Linux, then we'd have a good reason to ask Klaus Knopper to release
> Knoppix 8 as ISO image.

So, as far as I understand, Debian live isos will also probably fail and all I
can do is waiting for Knoppix 8 iso image to be downloadable...

Rodolfo



Re: how to get xvid codec even though non-free is there in my /etc/apt/sources.list

2017-06-11 Thread Nicolas George
Le tridi 23 prairial, an CCXXV, shirish शिरीष a écrit :
> Vlc gives me this -
> 
> [7fa1180009c8] vdpau_avcodec generic error: decoder profile not 
> supported: 7

This means that it is trying to use a hardware-accelerated decoder, and
the hardware does not support decoding that particular video.

VLC should fall back to using a software codec, and be able to decode
that video without additional codec.

As a quick test, you should try ffplay.

Regards,

-- 
  Nicolas George


signature.asc
Description: Digital signature


Re: Trying to install Debian on Acer One 10 laptop-tablet

2017-06-11 Thread Thomas Schmitt
Hi,

Dejan Jocic wrote:
> Knoppix can be used from USB too, with added bonus of heaving persistent
> storage on it.

Knoppix 7 can be installed onto USB stick like on a hard disk.
But first you need to boot it from DVD. This booting and installation
can possibly be done on some other computer.
  http://knopper.net/knoppix/knoppix760-en.html
   paragraph "Booting from Flash"
  http://knoppix.net/wiki/Category:Hard_drive_Installation

Alternatively one could try to use some ISO-to-USB-stick repacker
like Rufus. (Dunno which boot loader it would install.)


Have a nice day :)

Thomas



Re: how to get xvid codec even though non-free is there in my /etc/apt/sources.list

2017-06-11 Thread shirish शिरीष
at bottom :-

On 11/06/2017, shirish शिरीष  wrote:
> Dear Friends,
>
> Please CC me as I'm not subscribed to the list. I am trying to watch a
> video which unfortunately uses xvid codec. I do have libxvidcore4
> installed (using stretch) but it still complains about not having the
> right codec. Can anyone help ?
>
> --
>   Regards,
>   Shirish Agarwal  शिरीष अग्रवाल
>   My quotes in this email licensed under CC 3.0
> http://creativecommons.org/licenses/by-nc/3.0/
> http://flossexperiences.wordpress.com
> EB80 462B 08E1 A0DE A73A  2C2F 9F3D C7A4 E1C4 D2D8
>

Vlc gives me this -

[7fa1180009c8] vdpau_avcodec generic error: decoder profile not supported: 7
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i915_drv_video.so
libva info: va_openDriver() returns -1
[7fa11800cc08] vdpau_avcodec generic error: decoder profile not supported: 7

Maybe the above helps.

-- 
  Regards,
  Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
EB80 462B 08E1 A0DE A73A  2C2F 9F3D C7A4 E1C4 D2D8



how to get xvid codec even though non-free is there in my /etc/apt/sources.list

2017-06-11 Thread shirish शिरीष
Dear Friends,

Please CC me as I'm not subscribed to the list. I am trying to watch a
video which unfortunately uses xvid codec. I do have libxvidcore4
installed (using stretch) but it still complains about not having the
right codec. Can anyone help ?

-- 
  Regards,
  Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
EB80 462B 08E1 A0DE A73A  2C2F 9F3D C7A4 E1C4 D2D8



Re: Downgrading specific packages with apt

2017-06-11 Thread solitone
On Sunday, 11 June 2017 10:39:25 CEST Dejan Jocic wrote:
> In case that you are on stable, perhaps in old stable repository, or its
> backports, after you add those to sources.list. 

No, I'm on stretch, so I'm using the stretch repository:
deb http://ftp.it.debian.org/debian/ stretch main non-free contrib

Since stretch is still in testing, several packages get upgraded regularly. On 
of those was chromium, which some days ago was upgraded from ver. 58 to 59. I 
believe version 58 now is no longer in the stretch repository, so if you ask 
apt to install that version, it doesn't find that.

> I've suggested  it only because you were asking how to do it with apt

Yes, I see, and in fact apt would be my preferred tool, if downgrading were 
possible with it.

Thanks!






Re: Trying to install Debian on Acer One 10 laptop-tablet

2017-06-11 Thread Thomas Schmitt
Hi,

Rodolfo Medina wrote:
> I downloaded Knoppix and burned it onto DVD support, but unfortunately
> it seems no possible to boot the machine from DVD: no such
> option in start up boot menu.

If it's Knoppix 7, then it will only boot via BIOS or EFI Legacy BIOS
Emulation.
Knoppix 8 has boot entries for EFI. But it seems still only available
on the german Linux Magazin DVD for DELUG members.


The symptoms described in this thread appear to happen already when GRUB
is still in control and offers its boot menu. Or did i get this wrong ?

If it happens in GRUB, then Knoppix 8 would be a highly interesting
alternative. Unlike nearly all other distros it does not use GRUB for EFI
booting but rather offers an EFI system partition which contains SYSLINUX
and a complete little GNU/Linux system.
So the early boot technology on EFI is very different from Debian's.

If it can be confirmed that the problem is actually in GRUB, not in
Linux, then we'd have a good reason to ask Klaus Knopper to release
Knoppix 8 as ISO image.


Have a nice day :)

Thomas



Re: Downgrading specific packages with apt

2017-06-11 Thread Fungi4All
UTC Time: June 11, 2017 7:39 AM
From: lisi.re...@gmail.com

On Sunday 11 June 2017 08:16:11 Fungi4All wrote:
> Below please find Lisi's answer on whether packages should be reverted or
> not.

!! There is nothing there - not surprising since I have never passed an
opinion on any such thing. Does the version that went directly to solitone
have a complete invention by you, that you daren't let the list see since
they would know that I didn't say any such thing?? If so, then please,
Solitone, let me and the list know what I am supposed to have said.

Lisi

What I meant was that since you cared about answering the op's question
you would care to answer it as well.
Your question prompted me to look whether I had answered as I thought I
did, only to see it was a personal response not to the list.
Pretty jumpy, ain't ya?

Re: Trying to install Debian on Acer One 10 laptop-tablet (was: Choose between amd64 and i386)

2017-06-11 Thread Dejan Jocic
On 11-06-17, Rodolfo Medina wrote:
> Felix Miata  writes:
> 
> > Rodolfo Medina composed on 2017-06-10 1+:50 (UTC+0100):
> > .
> >> ...as I described, Debian doesn't even manage to start up on that 
> >> machine...
> >> and that's my problem...  I don't use Windows and so the machine is there
> >> permanently unused, waiting and hoping for next Debian releases to work in
> >> the next - not too far - future...
> > .  Give Knoppix a try. If any Debian can, if any Linux can, odds are
> > extremely high that Knoppix can. If it can't, I'm sure Klaus would like to
> > know the details: debian-knop...@lists.debian.org
> 
> 
> Thanks for the suggestion: I downloaded Knoppix and burned it onto DVD 
> support,
> but unfortunately it seems no possible to boot the machine from DVD: no such
> option in start up boot menu.
> 
> I'll try now Debian live isos as kindly suggested by other listers.
> 
> Rodolfo
> 

Knoppix can be used from USB too, with added bonus of heaving persistent
storage on it. Debian live is DVD/CD version too, with option to put it
on USB. And what exactly do you mean by can not boot from DVD? It does
not have BIOS option to set it to boot from DVD, or you did not try
setting BIOS options?





Re: Downgrading specific packages with apt

2017-06-11 Thread Dejan Jocic
On 11-06-17, solitone wrote:
> On Sunday, 11 June 2017 08:39:25 CEST Lisi Reisz wrote:
> > please, Solitone, let me and the list know what I am supposed to have said.
>  
> No Lisi, I don't have more info than the list regarding what you supposedly 
> said on this 
> topic  :-)
> 
> In any case, I've just removed the hold on the 4 chromium packages and 
> upgraded. 
> Everything's fine, chromium 59 does not have the issue that chrome 59 has.
> 
> In case I had to downgrade, I would have uninstalled those 4 packages, and 
> reinstalled 
> version 58 with dpkg, using the .deb files stored in /var/cache/apt/archives. 
> 
> I'm wonder whether Dejan's suggestion actually works:
> # apt-get install package=package-version-number
> Whenever I try it I always get something like this:
> 
> # apt install chromium=58.0.3029.96-1 
> 
> I believe this means the old version is no longer available in the 
> repository. So if you want 
> to downgrade you need to have the package stored locally. But where do you 
> find old 
> packages in case you no longer have them in /var/cache/apt/archives?
> 
> 

In case that you are on stable, perhaps in old stable repository, or its
backports, after you add those to sources.list. Perhaps you will need to
use another option with it too, like --allow-downgrades. I've suggested
it only because you were asking how to do it with apt, otherwise I would
tell you to use dpkg method and to check archives. 





Re: Trying to install Debian on Acer One 10 laptop-tablet

2017-06-11 Thread Rodolfo Medina
Rodolfo Medina  writes:

> Felix Miata  writes:
>
>> Rodolfo Medina composed on 2017-06-10 1+:50 (UTC+0100):
>> .
>>> ...as I described, Debian doesn't even manage to start up on that
>>> machine...  and that's my problem...  I don't use Windows and so the
>>> machine is there permanently unused, waiting and hoping for next Debian
>>> releases to work in the next - not too far - future...
>> .  Give Knoppix a try. If any Debian can, if any Linux can, odds are
>> extremely high that Knoppix can. If it can't, I'm sure Klaus would like to
>> know the details: debian-knop...@lists.debian.org
>
>
> Thanks for the suggestion: I downloaded Knoppix and burned it onto DVD
> support, but unfortunately it seems no possible to boot the machine from DVD:
> no such option in start up boot menu.
>
> I'll try now Debian live isos as kindly suggested by other listers.


...from USB stick.

Rodolfo



Trying to install Debian on Acer One 10 laptop-tablet (was: Choose between amd64 and i386)

2017-06-11 Thread Rodolfo Medina
Felix Miata  writes:

> Rodolfo Medina composed on 2017-06-10 1+:50 (UTC+0100):
> .
>> ...as I described, Debian doesn't even manage to start up on that machine...
>> and that's my problem...  I don't use Windows and so the machine is there
>> permanently unused, waiting and hoping for next Debian releases to work in
>> the next - not too far - future...
> .  Give Knoppix a try. If any Debian can, if any Linux can, odds are
> extremely high that Knoppix can. If it can't, I'm sure Klaus would like to
> know the details: debian-knop...@lists.debian.org


Thanks for the suggestion: I downloaded Knoppix and burned it onto DVD support,
but unfortunately it seems no possible to boot the machine from DVD: no such
option in start up boot menu.

I'll try now Debian live isos as kindly suggested by other listers.

Rodolfo



Re: ifconfig network resolution (Re: pointers to material for using netbook's wireless as access point)

2017-06-11 Thread Joe
On Sun, 11 Jun 2017 17:03:40 +0900
Joel Rees  wrote:

> On Sun, Jun 11, 2017 at 4:57 PM, Joe  wrote:

> >
> > I've seen this kind of behaviour a very long time ago, and I can't
> > really believe it is still happening, but...  
> 
> See the other sub-thread. But it does go to class C instead of the
> partial class C when the device address comes at the end of the list.
> 

OK, not what I saw then. I was bitten by a bit of system software
somewhere that treated the 10. network as class A regardless of
netmask. I never got to the bottom of it, but I never again used 10. as
anything other than class A. It was quite a few years ago.

-- 
Joe



Re: Downgrading specific packages with apt

2017-06-11 Thread solitone
On Sunday, 11 June 2017 08:39:25 CEST Lisi Reisz wrote:
> please, Solitone, let me and the list know what I am supposed to have said.
 
No Lisi, I don't have more info than the list regarding what you supposedly 
said on this 
topic  :-)

In any case, I've just removed the hold on the 4 chromium packages and 
upgraded. 
Everything's fine, chromium 59 does not have the issue that chrome 59 has.

In case I had to downgrade, I would have uninstalled those 4 packages, and 
reinstalled 
version 58 with dpkg, using the .deb files stored in /var/cache/apt/archives. 

I'm wonder whether Dejan's suggestion actually works:
# apt-get install package=package-version-number
Whenever I try it I always get something like this:

# apt install chromium=58.0.3029.96-1 

I believe this means the old version is no longer available in the repository. 
So if you want 
to downgrade you need to have the package stored locally. But where do you find 
old 
packages in case you no longer have them in /var/cache/apt/archives?




Re: ifconfig network resolution (Re: pointers to material for using netbook's wireless as access point)

2017-06-11 Thread Joel Rees
On Sun, Jun 11, 2017 at 4:57 PM, Joe  wrote:
> On Sat, 10 Jun 2017 10:57:47 +0900
> Joel Rees  wrote:
>
>> Experimenting from the command line, I find myself puzzled about the
>> arguments for ifconfig.
>>
>> Reading the manual, it would appear that the arguments for ifconfig
>> should be something like this:
>>
>> ifconfig eth0 netmask 255.255.255.224 netmask 255.255.255.224
>> broadcast 10.19.23.223 10.19.23.94
>>
>> But the command returns with
>>
>> SIOCSIFNETMASK: Can't allocate this address.
>> SIOCSIFBRDADDR: Can't allocate this address.
>>
>> If I repeat the command, it gives no errors, but the netmask and
>> broadcast address end up full class A (255.0.0.0 and 10.255.255.255).
>>
>> Anyone have an idea what's happening?
>>
>
> Could you humour me for a moment, and try the exercise with one of the
> 192.168... networks, with the same sized subnet?
>
> I've seen this kind of behaviour a very long time ago, and I can't
> really believe it is still happening, but...

See the other sub-thread. But it does go to class C instead of the partial
class C when the device address comes at the end of the list.

--
Joel Rees

Trying to re-invent the entire industry all by myself:
http://defining-computers.blogspot.jp/



Re: ifconfig network resolution (Re: pointers to material for using netbook's wireless as access point)

2017-06-11 Thread Joe
On Sat, 10 Jun 2017 10:57:47 +0900
Joel Rees  wrote:

> Experimenting from the command line, I find myself puzzled about the
> arguments for ifconfig.
> 
> Reading the manual, it would appear that the arguments for ifconfig
> should be something like this:
> 
> ifconfig eth0 netmask 255.255.255.224 netmask 255.255.255.224
> broadcast 10.19.23.223 10.19.23.94
> 
> But the command returns with
> 
> SIOCSIFNETMASK: Can't allocate this address.
> SIOCSIFBRDADDR: Can't allocate this address.
> 
> If I repeat the command, it gives no errors, but the netmask and
> broadcast address end up full class A (255.0.0.0 and 10.255.255.255).
> 
> Anyone have an idea what's happening?
> 

Could you humour me for a moment, and try the exercise with one of the
192.168... networks, with the same sized subnet?

I've seen this kind of behaviour a very long time ago, and I can't
really believe it is still happening, but...

-- 
Joe



Re: ifconfig network resolution

2017-06-11 Thread Joel Rees
On Sun, Jun 11, 2017 at 2:04 PM, Lisi Reisz  wrote:
> On Saturday 10 June 2017 21:18:42 Cindy-Sue Causey wrote:
>> My apologies in advance because I'm asking that without knowing if he
>> does or does not actually speak Japanese. He might be able to read
>> that quite well. In that case, I'm envious because that's on a #Life
>> to-do bucket list for me.. :)
>
> He lives in Japan and probably actually has a Japanese computer that has to
> be persuaded to talk English. ;-).

Sometimes *I* have to be persuaded to speak English.

> Now, I have debugged network problems on a UNIX computer that spoke Japanese,
> knowing none myself and reading even less.  AND I succeeded.  I felt very
> proud not just of myself but of UNIX.  (Japanese Macbook withMac-OSX)
>
> Lisi
>

I like Macs, too.

-- 
Joel Rees

One of these days I'll get someone to pay me
to design a language that combines the best of Forth and C.
Then I'll be able to leap wide instruction sets with a single #ifdef,
run faster than a speeding infinite loop with a #define,
and stop all integer size bugs with a bare cast.

More of my delusions:
http://reiisi.blogspot.com/2017/05/do-not-pay-modern-danegeld-ransomware.html
http://reiisi.blogspot.jp/p/novels-i-am-writing.html



Re: ifconfig network resolution

2017-06-11 Thread Joel Rees
On Sun, Jun 11, 2017 at 11:09 AM, Andy Smith  wrote:
> Hi Joel,
>
> On Sun, Jun 11, 2017 at 07:55:50AM +0900, Joel Rees wrote:
>> # If the address to be assigned is given first, which I think everyone
>> # pretty much does:
>>
>> myadm@mycomp:~$ env LANG=en_US.UTF-8 sudo ifconfig eth0:1 down
>> myadm@mycomp:~$ env LANG=en_US.UTF-8 sudo ifconfig eth0:1
>> 10.19.201.198 netmask 255.255.255.224 broadcast 10.19.201.223
>> myadm@mycomp:~$ env LANG=en_US.UTF-8 sudo ifconfig eth0:1
>> eth0:1Link encap:Ethernet  HWaddr 53:bc:81:02:21:bb
>>   inet addr:10.19.201.198  Bcast:10.19.201.223  Mask:255.255.255.224
>>   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>   Interrupt:42 Base address:0xa000
>>
>> # it seems to see the address first and set things as intended in one pass.
>> -
>>
>> Which is confusing to my middle-aged brain.
>
> Have you considered just using "ip"?

Once upon a time, I tried to learn ip.
It does not stick in my memory.
The fires burning from systemd
Still feel fresh and hot to me.
Too hot to think of words more pithy.
But when I left RH behind I felt free.

For a year or two.

When the inevitable happens, I'll probably just kill myself trying to
rewrite the whole thing from scratch, with a unified,logical basis,
and short, concise commands that don't try to take over the whole
system and the kitchen sink.

Just leave me alone in my codgerism.

--
Joel Rees

Trying to re-invent the industry all by myself:
http://defining-computers.blogspot.jp/



Re: Downgrading specific packages with apt

2017-06-11 Thread Lisi Reisz
On Sunday 11 June 2017 08:16:11 Fungi4All wrote:
> Below please find Lisi's answer on whether packages should be reverted or
> not.

!!  There is nothing there - not surprising since I have never passed an 
opinion on any such thing.  Does the version that went directly to solitone 
have a complete invention by you, that you daren't let the list see since 
they would know that I didn't say any such thing??  If so, then please, 
Solitone, let me and the list know what I am supposed to have said.

Lisi



Re: Downgrading specific packages with apt

2017-06-11 Thread Fungi4All
With all the confusion on reply reply-all I has send her/him this

UTC Time: June 10, 2017 10:06 AM
From: fungil...@protonmail.com
To: solitone 

UTC Time: June 10, 2017 9:55 AM
From: solit...@mail.com

On Saturday, 10 June 2017 05:45:22 CEST Fungi4All wrote:
> apt
>
> Hold a package:
> sudo apt-mark hold 
>
> Remove the hold:
> sudo apt-mark unhold 

That's ok. I can then:
$ sudo apt upgrade
to upgrade that package to the latest available version.

But my question was: once I've upgrated it, how can I *downgrade* it to its
previous version, in case I find out it doesn't work right? What's the best
practice to downgrade with apt?

Thanks

With a package like chrome/ium that runs at the upper level of the structure
(ie top floor 5th) you can take it away and then find the .deb or the source of 
a previously
working version and re-install it. Apt will not do this and the reason is:
If you were to do this at a lower level, like 2nd or 3rd, the structure above 
will collapse.
If you were to remove something like lxdm you will have no display manager to 
proceed.
You still have the entry level shell. All package managers are set to be moving 
forward
upstream as they call it.

In some cases you can substitute mid-level packages, as lightdm with lxdm. 
Neither can
coexist with the other. While your kernel is already built on one, apt will 
take one away
and replace its functions with the other. It will affect you next boot.

Below please find Lisi's answer on whether packages should be reverted or not.

Re: Downgrading specific packages with apt

2017-06-11 Thread Lisi Reisz
On Saturday 10 June 2017 10:45:22 Fungi4All wrote:
> UTC Time: June 10, 2017 7:42 AM
> From: solit...@mail.com
>
> On Friday, 9 June 2017 23:38:40 CEST Jimmy Johnson wrote:
> > I've never downgrade using apt, but with synaptic it's not too hard,
>
> Hi Jimmy, and thanks for your reply. I'm under Plasma Desktop, so I don't
> have synaptic--I use KDE's Discover. Although I use it only for automatic
> updates. For installing/removing packages, as well as setting a package on
> hold, I use apt. I'd rather use apt for downgrading as well.
>
> dpkg
>
> Put a package on hold:
>
> echo " hold" | sudo dpkg --set-selections
>
> Remove the hold:
>
> echo " install" | sudo dpkg --set-selections
>
> Display the status of your packages:
>
> dpkg --get-selections
>
> Display the status of a single package:
>
> dpkg --get-selections | grep ""
>
> apt
>
> Hold a package:
>
> sudo apt-mark hold 
>
> Remove the hold:
>
> sudo apt-mark unhold 
>
> aptitude
>
> Hold a package:
>
> sudo aptitude hold 
>
> Remove the hold:
>
> sudo aptitude unhold 
>
> thanks to askubuntu
>
> Cheers!

Yes, but it wasn't the question asked.  He already knows how to "hold" and has 
already done it.  He wants to be sure how to DOWNGRADE if he needs to do so.

I realise that in theory Solitone could be a she, and apologise if my 
impression that he is a man is wrong. :-(

Lisi