Jessie for Udoo X86?

2017-04-16 Thread Larry Dighera

The new Udoo X86 boards have just begun to ship: . 

Is anyone able to provide a link to the 64-bit Debian Jessie USB/SD
installation ISO/img?

ADVthanksANCE



Re: Possibly erroneous "device not present" message during boot

2017-04-16 Thread David Wright
On Sat 15 Apr 2017 at 23:52:30 (+0200), Pascal Hambourg wrote:
> Le 15/04/2017 à 22:50, David Wright a écrit :
> >On Sat 15 Apr 2017 at 19:14:24 (+0200), Pascal Hambourg wrote:
> >>Le 15/04/2017 à 16:28, David Wright a écrit :
> >>>On Sat 15 Apr 2017 at 11:05:12 (+0200), Pascal Hambourg wrote:
> >>>
> A SD card reader such as the one the OP has just exposes the SD card
> as what it is, a SD/MMC card (/dev/mmcblk*).
> >>>
> >>>I assumed that the OP, writing about a laptop, had no card reader,
> >>>and was inserting the SD card directly into the computer.
> >>
> >>How do you name that slot on the laptop or desktop where you insert
> >>the SD card, if not an embedded card reader ?
> >
> >A slot, or an SD slot (as on this Dell), or a micro SD slot.
> 
> Behind the slot is a SD card reader. Lenovo names it a card reader.

Ok, ok. You're angling for congratulations for guessing what
Amazon and I call a card reader is what you prefer to call a
USB-to-SD card adapter.

Congratulations.

> >You seem to have had some difficulty with this part of my post:
> >
> >| It's not clear to me why an SD is being used in this way as the OP
> >| has at last revealed that the computer is unable to boot from an SD
> >| plugged in directly.
> 
> IIUC, at first the OP did not know that the computer was unable to
> boot from the internal SD card reader and discovered it during this
> thread.

_I_ didn't know whether the OP knew, suspected, or guessed one way
or the other when taking the card on approval. The later assertion
could be correct or incorrect: the experiment and observations
aren't reported. Other people in other places have reported
difficulties booting with /dev/mmcblk-style devices so I'm not
optimistic.

I can't experiment with my own hardware because my mmcblk-style
Dell laptop has a fault (which will probably lead to its demise)
meaning that the screen is only occasionally readable for about
one second at a time, and its VGA output is only turned on after
the kernel has loaded. So no CMOS screens, no Boot Menu, and no
Grub menu, as I don't have photographic recall.

> >(Of course, an SD card can be made to look like a
> >| USB stick just by sticking it in a card reader. Then it will boot.)
> 
> Obviously not with the OP's laptop internal card reader, which does
> not make the SD card look like a USB mass storage class device.

In the laptop's slot, it would appear not. If the methodology I
outlined elsewhere in the thread fails, then it would seem that
whatever is behind this slot needs an OS to read the card, whereas
the BIOS can be persuaded to read a USB stick without the need
for any OS.

Oddly, this ancient laptop (Acer) has a slot that makes the SD card
look like a /dev/sdX disk, and the BIOS is happy to boot from it.

Cheers,
David.



Re: Re: Systemd services (was Re: If Linux Is About Choice, Why Then ...)

2017-04-16 Thread Laurent Bigonville

Greg Wooledge > wrote:

On Fri, Apr 14, 2017 at 03:17:00PM +0200, Nicolas George wrote:
> Le quintidi 25 germinal, an CCXXV, Greg Wooledge a écrit :
> > Some day there will be actual end-user-friendly systemd documentation
> > somewhere, consolidating all of these pieces of wisdom together.  I hope.
>
> Note: systemd is not for end-users, it is for system administrator and
> distribution authors.

The end users of systemd are Linux system administrators.  You and me.
The people on this mailing list.  That's us, the users.  That's why
it's called "debian-user".

If you'd prefer "Some day there will be a system administrator's guide
for systemd", that's an acceptable wording.

There is already extensive documentation about how to administrate systemd:

https://www.freedesktop.org/wiki/Software/systemd/#manualsanddocumentationforusersandadministrators

"The systemd for Administrators Blog Series" worth reading.


Re: how to force mysql to use the name of my machine instead of localhost

2017-04-16 Thread Joe
On Sun, 16 Apr 2017 20:45:56 +0100
Joe  wrote:

> On Sun, 16 Apr 2017 10:17:53 +0100
> Abdelkader Belahcene  wrote:
> 
> > *Thanks for reply and links*
> > 
> > 
> > *But I am sure, the problem is in mysql.*
> > *Look at this: *
> > 
> > *my count is lite@lite*
> > *and hostname  gives *
> > *lite@lite:/opt/lampp$ hostname*
> > *lite.umbb.dz *
> > 
> > 
> > *bin/mysql*
> > 
> > *ERROR 1045 (28000): Acces s denied for user
> > 'lite'@'localhost' (using password: YES)*
> > 
> > *Here it tries to connect as 'lite'@'localhost', I am
> > not  'lite'@'localhost', but lite@lite*
> > *then  same thing as root, even if use -h option : *
> > 
> > *lite@lite:/opt/lampp$ bin/mysql -u root -h lite*
> > *ERROR 1045 (28000): Access denied for user
> > 'root'@'localhost' (using password: YES)*
> > *I tried  again, using the complete name, it adds localhost*
> > 
> > *lite@lite:/opt/lampp$ bin/mysql -u r...@lite.umbb.dz
> >  -p*
> > *Enter password: *
> > *ERROR 1045 (28000): Access denied for user 'r...@lite.umbb.dz
> > '@'localhost' (using password: YES)*
> > *Thanks a lot*  
> 
> As deloptes said, the issue is in mysql permissions. I said a week
> ago:
> 
> "If it is a problem with mysql account privileges, then change them.
> 
> Mysql user privileges depend on the name of the user and the name of
> the machine the user is connecting *from*. The name of the machine
> that mysql is running on is irrelevant, and would be needed only when
> setting up the connection on the remote machine using the mysql
> server's hostname."
> 
> Wordpress will have created a user in the mysql privileges table, with
> (theoretically) exactly the correct access permissions. But the user
> is named '@localhost'. The best way to proceed is to create
> another user with exactly the same privileges, and exactly the same


> '', but '@'. So for

Sorry, of course, that should be 'of the Wordpress server'. Not awake
this evening.

> example the new user is '@12.34.45.67'.
> 
> What are you using to administer mysql? If a GUI-based method, such as
> phpmyadmin, then open it on the whole installation, and look at the
> Privileges tab for the user list, where you will find the user that
> Wordpress has created. Then within the 'mysql' database, look at the
> 'db' table for detailed privileges. If you have no explicit mysql
> administration utility, then use the built-in command line mysql
> interface.
> 
> I am deliberately not being more specific, as if you are using mysql
> or any other database, even just as an accessory to another
> application, you cannot avoid acquiring at least a basic
> understanding of administration, if only to avoid problems like the
> one you currently have.
> 



Re: how to force mysql to use the name of my machine instead of localhost

2017-04-16 Thread Joe
On Sun, 16 Apr 2017 10:17:53 +0100
Abdelkader Belahcene  wrote:

> *Thanks for reply and links*
> 
> 
> *But I am sure, the problem is in mysql.*
> *Look at this: *
> 
> *my count is lite@lite*
> *and hostname  gives *
> *lite@lite:/opt/lampp$ hostname*
> *lite.umbb.dz *
> 
> 
> *bin/mysql*
> 
> *ERROR 1045 (28000): Acces s denied for user 'lite'@'localhost' (using
> password: YES)*
> 
> *Here it tries to connect as 'lite'@'localhost', I am
> not  'lite'@'localhost', but lite@lite*
> *then  same thing as root, even if use -h option : *
> 
> *lite@lite:/opt/lampp$ bin/mysql -u root -h lite*
> *ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
> password: YES)*
> *I tried  again, using the complete name, it adds localhost*
> 
> *lite@lite:/opt/lampp$ bin/mysql -u r...@lite.umbb.dz
>  -p*
> *Enter password: *
> *ERROR 1045 (28000): Access denied for user 'r...@lite.umbb.dz
> '@'localhost' (using password: YES)*
> *Thanks a lot*

As deloptes said, the issue is in mysql permissions. I said a week ago:

"If it is a problem with mysql account privileges, then change them.

Mysql user privileges depend on the name of the user and the name of
the machine the user is connecting *from*. The name of the machine that
mysql is running on is irrelevant, and would be needed only when
setting up the connection on the remote machine using the mysql server's
hostname."

Wordpress will have created a user in the mysql privileges table, with
(theoretically) exactly the correct access permissions. But the user is
named '@localhost'. The best way to proceed is to create another
user with exactly the same privileges, and exactly the same '', but
'@'. So for example the new
user is '@12.34.45.67'.

What are you using to administer mysql? If a GUI-based method, such as
phpmyadmin, then open it on the whole installation, and look at the
Privileges tab for the user list, where you will find the user that
Wordpress has created. Then within the 'mysql' database, look at the
'db' table for detailed privileges. If you have no explicit mysql
administration utility, then use the built-in command line mysql
interface.

I am deliberately not being more specific, as if you are using mysql or
any other database, even just as an accessory to another application,
you cannot avoid acquiring at least a basic understanding of
administration, if only to avoid problems like the one you currently
have.

-- 
Joe



Do not work XDMCP GDM3

2017-04-16 Thread Konstantin
Dear Maintainer,


I'm setting up a server for multi-user use.
For this I use XDMCP, GDM3, xinetd, TightVNC
I changed the settings of /etc/gdm3/daemon.conf to:
[daemon]

[security]
DisallowTCP=false

[xdmcp]
Enable=true
MaxPending=4
MaxSessions=16
MaxWait=30
MaxWaitIndirect=30
PingIntervalSeconds=60
MaxPendingIndirect=4
DisplaysPerHost=2
HonorIndirect=true
Port=177

[greeter]

[debug]
  Enable = true

Settings for /etc/xinetd.d/vnc:
service vnc
{
   disable = no
   socket_type = stream
   protocol= tcp
   wait= no
   user= root
   server  = /usr/bin/Xvnc
   server_args = -inetd -once -query localhost -geometry 1024x768 -depth
16
   type= UNLISTED
   port 
}

Settings for  /etc/xinetd.conf:
defaults
{
log_type = SYSLOG daemon info
log_on_success  = HOST PID USERID
log_on_failure  = HOST USERID
cps = 200 5
}

Added to / etc / services:
vnc 5900/tcp#vncserver

But after all the changes, when connected through the client, only the
gray screen appears.
Made the configuration for a specific user .vnc / xstartup:
#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP
Desktop" &
#x-window-manager &
# Fix to make GNOME work
export XKL_XMODMAP_DISABLE=1
gnome-terminal &
mutter
/etc/X11/Xsession

When connected to an active user, everything works fine.

I need to, when connecting to a remote session, a window manager is
loaded where it is possible to select a user. When using Ligthdm this
happens, but I would like to use GDM3.



Re: Certificats https aléatoires suivant les navigateurs

2017-04-16 Thread andre_debian
On Saturday 15 April 2017 11:58:39 Jonathan bartoua Schneider wrote:
> Dans ta conf Apache tu as bien positionné la chaîne d'AC qui a émis les
> certificats (la directive est SSLCertificateChainFile) ?
> Si l'AC root est déjà trust par ta machine ou par le navigateur, tu as
> besoin de mettre au moins toutes les AC sauf la root, maps c'est souvent
> plus "propre" de mettre toute la chaîne. Si l'AC root n'est pas trust, tu
> auras toujours des exceptions parce que les autorités ne sont pas "de
> confiance" pour ta machine/navigateur.

On Sunday 16 April 2017 02:29:10 Frederic MASSOT wrote:
> Le 15/04/2017 à 11:22, andre_deb...@numericable.fr a écrit :
> > J'ai installé sur un serveur Web,
> > - les certificats StartSSL (gratuits) toujours valides,
> > - et j'ai acheté les certificats tout récemment chez OVH.
> > Suivant les navigateurs, Firefox, TOR, Chrome, Opera, Epiphany,
> > le site Web affiche une erreur de certificats,
> > que ce soient avec les certificats d'OVH ou de StartSSL.
> > Ça marche avec un ou deux navigateurs et pas avec d'autres,
> > et vice versa.
> > Quels certificats fonctionnent quelquesoient les navigateurs ?

> Test ton site web avec le test SSL de Qualys :
> https://www.ssllabs.com/ssltest/
> Tu auras pas mal d'infos sur ta config.

Merci pour votre aide.
 
Dans le fichier OVH .chain, il y a l'intermédiaire suivi du certificat pour le 
SSLCertificateChainFile.

J'ai recréé les certificats en ce sens, et maintenant les navigateurs ne 
couinent plus, Pas essayé encore avec le navigateur IE,
car il faut rebooter sous Windows.

Le test SSL (TLS) donnent quelques erreurs que j'ai dû mal à comprendre :
-DNS CAA, No (more info),
-Chain issues Incorrect order, Extra certs,
-IE 6 / XP No FS 1  No SNI 2 Server closed connection,
-IE 8 / XP No FS 1  No SNI 2 Server sent fatal alert: handshake_failure,
-Edge 13 / Win Phone 10 Client does not support DH parameters >1024 bits.

Bonne soirée,

André



Re: RTL8111 Networking Drivers

2017-04-16 Thread Cindy-Sue Causey
On 4/16/17, Mark Fletcher  wrote:
> On Sun, Apr 16, 2017 at 09:12:14AM -0500, Ron Bales wrote:
>> Why do you not include the drivers for RTL8111 I have not used Mint for
>> years because the network never worked I found the drivers and installed
>> them but way to much trouble I was getting ready to give up for good and
>> found the instructions to install. The network works fine in Ubuntu?


I can't speak for that specifically, but perhaps it's because it's
non-free'ly available? If so, that would be one reason it's not
included in a standard Debian package. Other distributions handle
those cases differently, and that would be why it would, yes, indeed,
be found instantly available even in the most basic of installs.


> To whom are you addressing this question?

:)

Is there maybe a definitive (itemized) list of what's free and not? If
it's non-free, this isn't a bug so that's off the checklist. Next
there are the instances where things *are* free, but use cases have
not occurred such that an omission was apparent..

Or something like that... there. :)

Never mind (sort of) because I next got the idea to attempt an
"rtl8111 debian firmware" Internet search. That landed this
"firmware-realtek" package:

https://packages.debian.org/jessie/firmware-realtek

Clicking that red "non-free" word brought this:

https://www.debian.org/doc/debian-policy/ch-archive.html#s-non-free

+ QUOTED TEXT +

2.2.3 The non-free archive area

The non-free archive area contains supplemental packages intended to
work with the Debian distribution that do not comply with the DFSG
[Debian Free Software Guidelines] or have other problems that make
their distribution problematic. They may not comply with all of the
policy requirements in this manual due to restrictions on
modifications or other limitations.

Packages must be placed in non-free if they are not compliant with the
DFSG or are encumbered by patents or other legal issues that make
their distribution problematic.

In addition, the packages in non-free

* must not be so buggy that we refuse to support them, and

* must meet all policy requirements presented in this manual that it
is possible for them to meet. [5]

Referenced Footnote #5: "It is possible that there are policy
requirements which the package is unable to meet, for example, if the
source is unavailable. These situations will need to be handled on a
case-by-case basis."

+ END QUOTED TEXT +

That would be why it takes extra steps to get an RTL8111 driver
functional. It turns out to in fact be about its relationship to
Debian's long standing, explicitly expressed policy regarding that
kind of thing

Cindy :)

-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* hoppity-hop-hop-hop! *



Re: Possibly erroneous "device not present" message during boot

2017-04-16 Thread Brian
On Sun 16 Apr 2017 at 15:31:56 +0100, Brian wrote:

> What GRUB makes of the OS device could be seen with
> 
>  grub-probe OS_device  (/dev/sdc1, say)

Correction:

 grub-probe -d  -t drive

-- 
Brian.



Re: RTL8111 Networking Drivers

2017-04-16 Thread Mark Fletcher
On Sun, Apr 16, 2017 at 09:12:14AM -0500, Ron Bales wrote:
> Why do you not include the drivers for RTL8111 I have not used Mint for
> years because the network never worked I found the drivers and installed
> them but way to much trouble I was getting ready to give up for good and
> found the instructions to install. The network works fine in Ubuntu?
> 

To whom are you addressing this question?

Mark



RTL8111 Networking Drivers

2017-04-16 Thread Ron Bales
Why do you not include the drivers for RTL8111 I have not used Mint for 
years because the network never worked I found the drivers and installed 
them but way to much trouble I was getting ready to give up for good and 
found the instructions to install. The network works fine in Ubuntu?




Re: Possibly erroneous "device not present" message during boot

2017-04-16 Thread Brian
On Thu 13 Apr 2017 at 20:05:22 +0200, Pascal Hambourg wrote:

> Ok then, here is my full theory. You're not going to like it.
> 
> We now know that the BIOS does not expose the SD card so GRUB cannot see it
> and the search command fails and prints the error message.
> 
> But then how does the system on the SD card boot ?
> 
> The purpose of the search command is to set the $root variable value with
> the device havind the searched UUID. As it fails, the variable remains
> unmodified and keeps its previous value. The menu entry does not set a
> default value for $root (which is rather unusual in my experience), so the
> current value comes from a previous assignement in grub.cfg. It's probably
> the root device of the system owning GRUB on the hard disk drive.

$root not being set bothered me. Could this (from grub-pc's changelog.gz)
be the reason?

 * util/grub.d/00_header.in: Only set root variable when GRUB_DRIVE
   could be identified by update-grub.

A way to identify how the OS sees the card is to use 'lsblk' before
and after inserting the card in the card reader.

What GRUB makes of the OS device could be seen with

 grub-probe OS_device  (/dev/sdc1, say)

'Twould be nice to know.

> (In GRUB's shell, you can print the $root value with the "set" command, and
> check that this partition contains a /boot/grub/vmlinuz-3.16.0-4-686-pae
> file directory with the command "ls /boot/grub".)
> 
> GRUB uses $root as a default device used in paths which do not specify a
> device, such as the ones in the linux and initrd commands of the menu entry.
> By chance, it seems that this location contains the same kernel as the one
> on the SD card, so GRUB can load and boot it from the hard disk drive. But
> GRUB passes the SD card partition as the root device root=/dev/mmcblk0p1 to
> the kernel command line, so the kernel comes from the disk and the root
> filesystem comes from the SD card. Unlike GRUB, the kernel does not rely on
> the BIOS to access the SD card.
> 
> David is right : you don't really boot from the SD card.
> GRUB is on the HDD. The kernel is on the HDD. Only the root filesystem is on
> the SD card.

The ultimate outcome gives every sign of success. However, strange
(and very often unwelcome) things can happen when the kernels on
the HDD and the booting device are different. Upgrading the HDD OS
to Stretch while leaving the distribution on the card at Jessie
would very likely not lead to a good experience.

-- 
Brian.



Re: Re: how to force mysql to use the name of my machine instead of localhost

2017-04-16 Thread deloptes
Abdelkader Belahcene wrote:

> *Thanks for reply and links*
> 
> 
> *But I am sure, the problem is in mysql.*
> *Look at this: *
> 
> *my count is lite@lite*
> *and hostname  gives *
> *lite@lite:/opt/lampp$ hostname*
> *lite.umbb.dz *
> 
> 
> *bin/mysql*
> 
> *ERROR 1045 (28000): Acces s denied for user 'lite'@'localhost' (using
> password: YES)*
> 
> *Here it tries to connect as 'lite'@'localhost', I am
> not  'lite'@'localhost', but lite@lite*
> *then  same thing as root, even if use -h option : *
> 
> *lite@lite:/opt/lampp$ bin/mysql -u root -h lite*
> *ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
> password: YES)*
> *I tried  again, using the complete name, it adds localhost*
> 
> *lite@lite:/opt/lampp$ bin/mysql -u r...@lite.umbb.dz 
> -p*
> *Enter password: *
> *ERROR 1045 (28000): Access denied for user 'r...@lite.umbb.dz
> '@'localhost' (using password: YES)*
> *Thanks a lot*

There is a difference between using localhost and 127.0.0.1 (AFAIR).
Using localhost enforces using unix socket and not interface (tcp)
connection (AFAIR)

It all depends on giving the right permissions to your user. I think giving
root permissions to external interface is discouraged.
Having said that, what you need to do is give permission to the user to
connect properly

GRANT ALL PRIVILEGES ON * to ''@'127.0.0.1'
identified by  '';

bin/mysql -u  -p -h 127.0.0.1 

GRANT ALL PRIVILEGES ON * to ''@'lite.umbb.dz'
identified by  '';

bin/mysql -u  -p -h lite.umbb.dz 

it's not exactly rocket science

regards



Re: Fecha de última modificación de archivos

2017-04-16 Thread Santiago Vila
On Sat, Apr 15, 2017 at 12:50:11AM +0200, laura wrote:
> 2017-04-13 17:54 GMT+02:00 JavierDebian :
> > La instalación copia archivos, y mantiene la fecha original de los mismo.
> 
> aunque hayas formateado para reinstalar? el instalador copia archivos antes
> del formateo?

No has entendido la respuesta que te acaban de dar.

La instalación instala paquetes.

Los paquetes contienen ficheros con una determinada fecha de modificación.

Cuando se instala un paquete, se mantiene esa fecha.

Ejemplo: ¿Por qué en una Debian jessie la orden /bin/hostname tiene fecha de 
2013?
Porque esa es la fecha que tiene dentro del paquete del que procede.



Re: customized Grub

2017-04-16 Thread Curt
On 2017-04-15, Richard Owlett  wrote:
>>
>> Do you have a clue what this thread is about? Or did you just
>> fancy that a Legacy GRUB driveby posting would perk things up
>> for everyone?
>>
>
> Careful ;)
> By my measurements you post 3 times for every time Felix has
> since 8/2015.

And you about two times both of them put together (without the redeeming
quality of munificence).

> Basically I agree with his post.

I like my steak rare.



Re: Re: how to force mysql to use the name of my machine instead of localhost

2017-04-16 Thread Abdelkader Belahcene
*Thanks for reply and links*


*But I am sure, the problem is in mysql.*
*Look at this: *

*my count is lite@lite*
*and hostname  gives *
*lite@lite:/opt/lampp$ hostname*
*lite.umbb.dz *


*bin/mysql*

*ERROR 1045 (28000): Acces s denied for user 'lite'@'localhost' (using
password: YES)*

*Here it tries to connect as 'lite'@'localhost', I am
not  'lite'@'localhost', but lite@lite*
*then  same thing as root, even if use -h option : *

*lite@lite:/opt/lampp$ bin/mysql -u root -h lite*
*ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
password: YES)*
*I tried  again, using the complete name, it adds localhost*

*lite@lite:/opt/lampp$ bin/mysql -u r...@lite.umbb.dz 
-p*
*Enter password: *
*ERROR 1045 (28000): Access denied for user 'r...@lite.umbb.dz
'@'localhost' (using password: YES)*
*Thanks a lot*