From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Darrington Subject: Re: Graphical Installer - Call for Testing. Date: Sun, 15 Jan 2017 12:56:41 +0100 Message-ID: <20170115115641.GA22782@jocasta.intra> References: <20170104075928.GA23509@jocasta.intra> <87eg07cybi.fsf@gmail.com> <20170113063511.GA18383@jocasta.intra> <20170115065548.GA20820@jocasta.intra> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fdj2RfSjLxBAspz7" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59422) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cSjQY-00055y-Eh for guix-devel@gnu.org; Sun, 15 Jan 2017 06:56:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cSjQV-00060f-3I for guix-devel@gnu.org; Sun, 15 Jan 2017 06:56:50 -0500 Received: from de.cellform.com ([88.217.224.109]:55979 helo=jocasta.intra) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cSjQU-00060V-Qk for guix-devel@gnu.org; Sun, 15 Jan 2017 06:56:47 -0500 Content-Disposition: inline In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Chris Marusich Cc: guix-devel@gnu.org --fdj2RfSjLxBAspz7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 15, 2017 at 01:20:56AM -0800, Chris Marusich wrote: =20 --8<---------------cut here---------------start------------->8--- config_file=3D"$(mktemp --tmpdir wireless-XXXXX.cfg)" trap "rm -f $config_file" EXIT cat > "$config_file" << EOM network=3D{ ssid=3D"my-network-id" key_mgmt=3DNONE wep_key0=3Dmy-wep-key } EOM wpa_supplicant -i wlp2s0 -c "$config_file" -B dhclient -v wlp2s0 --8<---------------cut here---------------end--------------->8--- =20 Does your installer assume a specific (non-WEP) wireless encryption protocol? That might explain the issue. Yes. That will be the reason. I've assumed that encryption if present is = PSK. I'm not sure how to determine off air what kind of encryption an AP wants.= =20 Maybe someone can enlighten me. =20 > * What would you suggest instead of the "Reboot" message? =20 I think the USB stick needs to be mounted in order for the system to function, right? So it seems like we can't unmount it before rebooting... I know that Ubuntu's installer ejects the installation CD and asks the user to remove it and then reboot, so it must be possible to arrange for the media to be physically removed without crashing the system. I'm not sure how to do that, though. =20 Until that's figured out, maybe just say something like: "To avoid accidentally booting into the installation media, please shut down the computer, remove the installation media, and turn the computer back on= =2E" How's that? Too verbose? =20 I think it's ok in this kind of application to have verbose messages. I'll= think about=20 something along the lines you suggest. J' --=20 Avoid eavesdropping. Send strong encrypted email. PGP Public key ID: 1024D/2DE827B3=20 fingerprint =3D 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key. --fdj2RfSjLxBAspz7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlh7Y3kACgkQimdxnC3oJ7MJvACcDNAqTWBArxEyQuuGigg44hju r8cAmwQ6R870Qnf/DpiKZC0aEonLYju/ =oP4M -----END PGP SIGNATURE----- --fdj2RfSjLxBAspz7--