Re: [Trisquel-users] Uninstalled metapackage trisquel-mini, lost WiFi

2015-06-21 Thread moxalt
Sorry. I'm doing all of this through the mailing lists- when you said
attachment I was expecting to find and *e-mail* attachment. Sorry.



Re: [Trisquel-users] Uninstalled metapackage trisquel-mini, lost WiFi

2015-06-21 Thread csh

https://u.teknik.io/WtARxF.png


Re: [Trisquel-users] Uninstalled metapackage trisquel-mini, lost WiFi

2015-06-21 Thread moxalt
> # ifconfig wlan0 essid ATT2G3X2z5
> Error for wireless request "Set ESSID" (8B1A) :
>   SET failed on device wlan0 ; Operation already in progress.

You probably have some sort of WLAN autoconnection set up. I didn't know
Trisquel did that. By the way, it's iwconfig for this step, not
ifconfig.

Anyway, congratulations on getting it working. You'll have to tell me
whether Trisquel Mini did indeed appear on boot.

PS. You mentioned attached dmesg output- there were no attachments. Are
you sure you sent some? Maybe Drupal stripped them.



Re: [Trisquel-users] Uninstalled metapackage trisquel-mini, lost WiFi

2015-06-20 Thread csh
Success!  I now have WiFi.  I'm hoping that Trisquel Mini will appear when I  
reboot.


I had strange messages when I booted my computer.  They looked quite bad. The  
dmesg output is attached.



# ifconfig up
up: error fetching interface information: Device not found


However, ifconfig wlan0 up did work.


# ifconfig wlan0 essid ATT2G3X2z5
Error for wireless request "Set ESSID" (8B1A) :
 SET failed on device wlan0 ; Operation already in progress.


Ping to example.net succeeded.




Re: [Trisquel-users] Uninstalled metapackage trisquel-mini, lost WiFi

2015-06-19 Thread moxalt
Wunderbar. That means you can avoid having to configure wpa_supplicant.
Boot the installed system, and (I'm assuming it's in text mode, since
trisquel-mini contains the DE as well) run the following (as root):

ifconfig  up

In the vast majority of cases this will be wlan0, so:

ifconfig wlan0 up

If not you can find out by running ifconfig without arguments, and it
will list your network interfaces. Then:

iwconfig wlan0 essid 

replacing  with the name of your wireless network.

dhclient wlan0

This will assign your computer an IP fetched from a DHCP server, and is
the last step. You should now have a network connection, if your wifi is
open as you say. Try:

apt-get update
apt-get install trisquel-mini

and see if it now works.



Re: [Trisquel-users] Uninstalled metapackage trisquel-mini, lost WiFi

2015-06-19 Thread csh

yes


Re: [Trisquel-users] Uninstalled metapackage trisquel-mini, lost WiFi

2015-06-19 Thread csh


But
first, is your wifi network open, or does it use WEP or WPA?


Open.


Re: [Trisquel-users] Uninstalled metapackage trisquel-mini, lost WiFi

2015-06-19 Thread moxalt
If you really want to try and follow the Live CD+decryption+chroot
route, then by all means feel free, but chrooting into encrypted
partitions can be really finnicky, and that is the cause of all those
weird errors (the chrooting itself, which is hardly ideal, and the
encryption).

There is a far easier way to escape from all this pandemonium. But
first, is your wifi network open, or does it use WEP or WPA? This will
determine the tools required.



Re: [Trisquel-users] Uninstalled metapackage trisquel-mini, lost WiFi

2015-06-19 Thread csh

Bump.

Demoted my own post by commenting on another thread.


[Trisquel-users] Uninstalled metapackage trisquel-mini, lost WiFi

2015-06-19 Thread csh

I broke my system.  I tried the following.  I am stuck.  I need help.

Started on Trisquel Mini.  Uninstalled metapackage trisquel-mini.


sudo apt-get remove trisquel-mini


No NetworkManager, lost WiFi.  Solution: reinstall NetworkManager without  
WiFi.


Booted live Trisquel.  Decrypted Trisquel Mini root volume.

Chrooted to Trisquel Mini root volume.


sudo chroot /media/trisquel/ee2acd05-1b50-470f-add3-cebc0298a5ee/ bash


Installed NetworkManager in chroot.


root@trisquel:/# sudo apt-get install --yes network-manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  iputils-arping libgnome-bluetooth11 libnm-glib-vpn1 libnm-gtk-common
  libnm-gtk0 network-manager-gnome network-manager-pptp
  network-manager-pptp-gnome pptp-linux wpasupplicant
Suggested packages:
  gnome-bluetooth network-manager-openconnect-gnome
  network-manager-openvpn-gnome network-manager-vpnc-gnome wpagui
  libengine-pkcs11-openssl
The following NEW packages will be installed:
  iputils-arping libgnome-bluetooth11 libnm-glib-vpn1 libnm-gtk-common
  libnm-gtk0 network-manager network-manager-gnome network-manager-pptp
  network-manager-pptp-gnome pptp-linux wpasupplicant
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,795 kB of archives.
After this operation, 7,670 kB of additional disk space will be used.
Get:1 http://us.archive.trisquel.info/trisquel/ belenos-updates/main  
wpasupplicant i386 2.1-0ubuntu1.3 [734 kB]
Get:2 http://us.archive.trisquel.info/trisquel/ belenos-updates/main  
iputils-arping i386 3:20121221-4ubuntu1.1 [26.2 kB]
Get:3 http://us.archive.trisquel.info/trisquel/ belenos-updates/main  
network-manager i386 0.9.8.8-0ubuntu7.1 [493 kB]
Get:4 http://us.archive.trisquel.info/trisquel/ belenos-updates/main  
libgnome-bluetooth11 i386 3.8.2.1-0ubuntu4.2 [55.8 kB]
Get:5 http://us.archive.trisquel.info/trisquel/ belenos-updates/main  
libnm-glib-vpn1 i386 0.9.8.8-0ubuntu7.1 [12.9 kB]
Get:6 http://us.archive.trisquel.info/trisquel/ belenos-updates/main  
libnm-gtk-common all 0.9.8.8-0ubuntu4.3 [5,492 B]
Get:7 http://us.archive.trisquel.info/trisquel/ belenos-updates/main  
libnm-gtk0 i386 0.9.8.8-0ubuntu4.3 [60.1 kB]
Get:8 http://us.archive.trisquel.info/trisquel/ belenos-updates/main  
network-manager-gnome i386 0.9.8.8-0ubuntu4.3 [309 kB]
Get:9 http://us.archive.trisquel.info/trisquel/ belenos/main pptp-linux i386  
1.7.2-7 [47.3 kB]
Get:10 http://us.archive.trisquel.info/trisquel/ belenos/main  
network-manager-pptp i386 0.9.8.2-1ubuntu2 [22.4 kB]
Get:11 http://us.archive.trisquel.info/trisquel/ belenos/main  
network-manager-pptp-gnome i386 0.9.8.2-1ubuntu2 [27.9 kB]

Fetched 1,795 kB in 16s (107 kB/s)
sh: 1: cannot create /dev/null: Permission denied
sh: 1: cannot create /dev/null: Permission denied
dpkg-preconfigure: unable to re-open stdin: No such file or directory
E: Can not write log (Is /dev/pts mounted?) - openpty (2: No such file or  
directory)

Selecting previously unselected package wpasupplicant.
(Reading database ... 213174 files and directories currently installed.)
Preparing to unpack .../wpasupplicant_2.1-0ubuntu1.3_i386.deb ...
Unpacking wpasupplicant (2.1-0ubuntu1.3) ...
Selecting previously unselected package iputils-arping.
Preparing to unpack .../iputils-arping_3%3a20121221-4ubuntu1.1_i386.deb ...
Unpacking iputils-arping (3:20121221-4ubuntu1.1) ...
Selecting previously unselected package network-manager.
Preparing to unpack .../network-manager_0.9.8.8-0ubuntu7.1_i386.deb ...
Unpacking network-manager (0.9.8.8-0ubuntu7.1) ...
Selecting previously unselected package libgnome-bluetooth11.
Preparing to unpack .../libgnome-bluetooth11_3.8.2.1-0ubuntu4.2_i386.deb ...
Unpacking libgnome-bluetooth11 (3.8.2.1-0ubuntu4.2) ...
Selecting previously unselected package libnm-glib-vpn1.
Preparing to unpack .../libnm-glib-vpn1_0.9.8.8-0ubuntu7.1_i386.deb ...
Unpacking libnm-glib-vpn1 (0.9.8.8-0ubuntu7.1) ...
Selecting previously unselected package libnm-gtk-common.
Preparing to unpack .../libnm-gtk-common_0.9.8.8-0ubuntu4.3_all.deb ...
Unpacking libnm-gtk-common (0.9.8.8-0ubuntu4.3) ...
Selecting previously unselected package libnm-gtk0.
Preparing to unpack .../libnm-gtk0_0.9.8.8-0ubuntu4.3_i386.deb ...
Unpacking libnm-gtk0 (0.9.8.8-0ubuntu4.3) ...
Selecting previously unselected package network-manager-gnome.
Preparing to unpack .../network-manager-gnome_0.9.8.8-0ubuntu4.3_i386.deb ...
Unpacking network-manager-gnome (0.9.8.8-0ubuntu4.3) ...
Selecting previously unselected package pptp-linux.
Preparing to unpack .../pptp-linux_1.7.2-7_i386.deb ...
Unpacking pptp-linux (1.7.2-7) ...
Selecting previously unselected package network-manager-pptp.
Preparing to unpack .../network-manager-pptp_0.9.8.2-1ubuntu2_i386.deb ...
Unpacking network-manager-pptp (0.9.8.2-1ubuntu2) ...
Selecting previously unselected package network-manager-pptp-gnome.
Preparing to unpack .../network-manager-pptp-gno