Re: [Trisquel-users] Booting Libreboot/Trisquel with full encryption

2016-06-14 Thread calle
I think that the don't reflash part only applies if you didn't go with full  
disk encryption. I could be wrong though.


Yes, I would consider the grub files on the disk irrelevant.


Re: [Trisquel-users] Booting Libreboot/Trisquel with full encryption

2016-06-14 Thread calle

What SuperTramp83 said.

Libreboot doesn't read grub from the disk. Grub is inside libreboot. So you  
need to modify your grub.cfg inside libreboot using the cbfstool. It's  
easiest to flash new modified roms from inside trisquel. I'm assuming you  
flashed the x200 yourself, so you don't need to worry to much about flashing  
a rom and then it doesn't boot as you can just reflash it externally again.


Re: [Trisquel-users] New ReTux Release and a Level Making Competition

2016-05-30 Thread calle

Yum, I love surströmming :)


Re: [Trisquel-users] Wifi for my x200

2016-04-30 Thread calle

> Is there a better wifi card that would connect my x200 to the internet?

Yes, I would recommend the ar5bhb92/ar9280.

Here's the results I got when I experimented with different Atheros wifi  
cards:  
https://trisquel.info/en/forum/what-wifi-speeds-can-i-expect#comment-79119


Re: [Trisquel-users] Secure XMPP/Jabber service, running over a free software server.

2015-09-30 Thread calle

Another alternative may be to look into tox, a distributed chat client.
https://tox.chat/


Re: [Trisquel-users] Secure XMPP/Jabber service, running over a free software server.

2015-09-30 Thread calle

OK, thanks for the clarification.


Re: [Trisquel-users] Kernel panic, what happened?

2015-09-30 Thread calle
I had a kernel panic a week ago or something like that, but I didn't think  
much of it so I didn't bother saving the log then.


[Trisquel-users] Kernel panic, what happened?

2015-09-29 Thread calle

I got a kernel panic, curious if anybody can see what happened.
Using latest Trisquel Mini. I wasn't at my computer when it happened so it  
shouldn't have been very busy.


Sep 29 18:29:15 binky kernel: [177994.643992] BUG: unable to handle kernel NULL 
pointer dereference at 002f
Sep 29 18:29:15 binky kernel: [177994.644111] IP: [] 
time_out_leases+0x3d/0xb0
Sep 29 18:29:15 binky kernel: [177994.644199] PGD a28d0067 PUD a58d2067 PMD 0 
Sep 29 18:29:15 binky kernel: [177994.644263] Oops:  [#1] SMP 
Sep 29 18:29:15 binky kernel: [177994.644309] Modules linked in: hidp xt_recent 
ip6t_REJECT xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT xt_limit 
xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack 
ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast 
nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack iptable_filter ip_tables 
x_tables rpcsec_gss_krb5 ctr ccm arc4 ath9k dm_multipath ath9k_common coretemp 
scsi_dh kvm_intel ath9k_hw kvm snd_hda_codec_conexant snd_hda_intel 
snd_hda_codec snd_hwdep snd_pcm thinkpad_acpi ath nvram snd_page_alloc 
snd_seq_midi snd_seq_midi_event rfcomm snd_rawmidi bnep serio_raw uvcvideo 
mac80211 snd_seq joydev videobuf2_vmalloc videobuf2_memops nfsv4 lpc_ich 
videobuf2_core videodev snd_seq_device snd_timer cfg80211 snd shpchp btusb 
bluetooth nfsd auth_rpcgss nfs_acl nfs soundcore lockd sunrpc fscache 
parport_pc ppdev lp parport mac_hid btrfs libcrc32c xts gf128mul hid_generic 
usbhid hid dm_crypt raid10 raid456 async_memcpy async_raid6_recov async_pq 
async_xor async_tx xor raid6_pq raid1 raid0 multipath linear dm_mirror 
dm_region_hash dm_log i915 ahci psmouse libahci e1000e i2c_algo_bit 
drm_kms_helper drm ptp pps_core video
Sep 29 18:29:15 binky kernel: [177994.645921] CPU: 1 PID: 2232 Comm: conky 
Tainted: G  I   3.13.0-63-generic #103+7.0trisquel2
Sep 29 18:29:15 binky kernel: [177994.646032] Hardware name: LENOVO 
74553SG/74553SG, BIOS CBET4000 4.0 05/18/2015
Sep 29 18:29:15 binky kernel: [177994.646123] task: 880134936000 ti: 
8800a588c000 task.ti: 8800a588c000
Sep 29 18:29:15 binky kernel: [177994.646215] RIP: 0010:[]  
[] time_out_leases+0x3d/0xb0
Sep 29 18:29:15 binky kernel: [177994.646326] RSP: 0018:8800a588dbf0  
EFLAGS: 00010286
Sep 29 18:29:15 binky kernel: [177994.646392] RAX: 00060006 RBX: 
 RCX: 8801359c8000
Sep 29 18:29:15 binky kernel: [177994.646481] RDX: 0006 RSI: 
81a6e33a RDI: 8800a8f3a930
Sep 29 18:29:15 binky kernel: [177994.646570] RBP: 8800a588dc00 R08: 
00015f80 R09: 880137b4de40
Sep 29 18:29:15 binky kernel: [177994.646658] R10: fefefefefefefeff R11: 
88000bb10f00 R12: 8800a8f3aa78
Sep 29 18:29:15 binky kernel: [177994.646747] R13: 8800a28f3900 R14: 
8800a8f3a930 R15: 880028ae9510
Sep 29 18:29:15 binky kernel: [177994.646836] FS:  7f5c3a6de700() 
GS:88013fd0() knlGS:
Sep 29 18:29:15 binky kernel: [177994.646901] CS:  0010 DS:  ES:  CR0: 
80050033
Sep 29 18:29:15 binky kernel: [177994.646901] CR2: 002f CR3: 
36341000 CR4: 07e0
Sep 29 18:29:15 binky kernel: [177994.646901] Stack:
Sep 29 18:29:15 binky kernel: [177994.646901]  880137b4de40 
8800a8f3a9b8 8800a588dc80 8120f210
Sep 29 18:29:15 binky kernel: [177994.646901]  880134ecb2a0 
 8000 8800a8f3a930
Sep 29 18:29:15 binky kernel: [177994.646901]  880028ae9500 
8800a8f3a930 880028ae9510 880134ecb2a0
Sep 29 18:29:15 binky kernel: [177994.646901] Call Trace:
Sep 29 18:29:15 binky kernel: [177994.646901]  [] 
__break_lease+0x60/0x360
Sep 29 18:29:15 binky kernel: [177994.646901]  [] 
do_dentry_open+0xf6/0x2e0
Sep 29 18:29:15 binky kernel: [177994.646901]  [] 
vfs_open+0x49/0x50
Sep 29 18:29:15 binky kernel: [177994.646901]  [] 
do_last+0x564/0x1240
Sep 29 18:29:15 binky kernel: [177994.646901]  [] ? 
link_path_walk+0x256/0x880
Sep 29 18:29:15 binky kernel: [177994.646901]  [] ? 
apparmor_file_alloc_security+0x5b/0x180
Sep 29 18:29:15 binky kernel: [177994.646901]  [] 
path_openat+0xbb/0x650
Sep 29 18:29:15 binky kernel: [177994.646901]  [] ? 
wake_up_state+0x10/0x20
Sep 29 18:29:15 binky kernel: [177994.646901]  [] 
do_filp_open+0x3a/0x90
Sep 29 18:29:15 binky kernel: [177994.646901]  [] ? 
__alloc_fd+0xa7/0x130
Sep 29 18:29:15 binky kernel: [177994.646901]  [] 
do_sys_open+0x129/0x280
Sep 29 18:29:15 binky kernel: [177994.646901]  [] ? 
SyS_futex+0x71/0x150
Sep 29 18:29:15 binky kernel: [177994.646901]  [] 
SyS_open+0x1e/0x20
Sep 29 18:29:15 binky kernel: [177994.646901]  [] 
system_call_fastpath+0x1a/0x1f
Sep 29 18:29:15 binky kernel: [177994.646901] Code: 53 48 8b 9f 48 01 00 00 eb 
1c 0f 1f 40 00 48 8b 83 80 00 00 00 48 85 c0 75 4b 49 8b 04 24 48 39 d8 74 64 
48 89 c3 48 85 db 74 6b <8b> 43 30 a8 24 74 64 f6 c4 03 74 5f 48 8b 83 88 00 00 
00 48 85 
Sep 29 18:29:15 

Re: [Trisquel-users] What WiFi speeds can I expect?

2015-09-21 Thread calle

OK, the results are in!

Here's how I tested:
On my local server (connected with gigabit tp to my Asus RT-AC68U) I ran
$ cat /dev/urandom | nc -l 1234
and on my X200 I ran
$ nc server.ip 1234 > /dev/null
I then monitored the speeds with conky and estimated the average speed I was  
getting.


Here's what I got
ar5b91 5.5-6 mb/s
ar5b92 12.5-13 mb/s
ar5b97 11.5-12 mb/s

So now I'm using the ar5b92 card and it seems to be performing nicely :)


Re: [Trisquel-users] What WiFi speeds can I expect?

2015-09-13 Thread calle
Yup, that's what I'm hoping for. Hopefully I'll be able to give a good review  
on which of the four cards I'll have in total works best for me.


Re: [Trisquel-users] What WiFi speeds can I expect?

2015-09-13 Thread calle
It's $25 for three cards, shipping included. That kind of money I can afford  
to spend :)


Re: [Trisquel-users] What WiFi speeds can I expect?

2015-09-13 Thread calle
My router is already set to only n. It doesn't make any difference if the Mac  
is present or not or if I move the thinkpad around.


output:

$ sudo lshw -C network
  *-network
   description: Ethernet interface
   product: 82567LM Gigabit Network Connection
   vendor: Intel Corporation
   physical id: 19
   bus info: pci@:00:19.0
   logical name: eth0
   version: 03
   serial: 00:1f:16:11:72:ba
   capacity: 1Gbit/s
   width: 32 bits
   clock: 33MHz
   capabilities: pm msi bus_master cap_list ethernet physical tp 10bt  
10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
   configuration: autonegotiation=on broadcast=yes driver=e1000e  
driverversion=2.3.2-k firmware=1.8-3 latency=0 link=no multicast=yes  
port=twisted pair
   resources: irq:44 memory:e170-e171 memory:e1724000-e1724fff  
ioport:4000(size=32)

  *-network
   description: Wireless interface
   product: AR9285 Wireless Network Adapter (PCI-Express)
   vendor: Qualcomm Atheros
   physical id: 0
   bus info: pci@:02:00.0
   logical name: wlan0
   version: 01
   serial: 74:f0:6d:0d:6f:bb
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress bus_master cap_list ethernet physical  
wireless
   configuration: broadcast=yes driver=ath9k  
driverversion=3.13.0-63-generic firmware=N/A ip=172.27.27.172 latency=0  
link=yes multicast=yes wireless=IEEE 802.11bgn

   resources: irq:17 memory:e150-e150


Re: [Trisquel-users] What WiFi speeds can I expect?

2015-09-11 Thread calle
I've bought a AR9280, a AR9281 and a AR9287 to see if they are any better.  
Will be back with results when I get them in the mail :)


Re: [Trisquel-users] What WiFi speeds can I expect?

2015-09-10 Thread calle
I was downloading the same file from my NAS on both computers. Both computers  
approx 3 meters from the router. The file was traveling from my NAS, cat6  
cable, Asus RT-AC68U, WiFi, to laptop, in both cases. Transfer was over SMB.


I'm at work now, but when I get home I do a better test for the actual  
speeds. My thinking is that I can set up my home server like this:

$ cat /dev/urandom | nc -l 1234
and then on my laptop
$ nc server.ip 1234 > /dev/null

That should be a better indicator for actual max speeds. I'll try to get that  
done tonight.


Is anybody else using an X200 with Atheros AR9285? What kind of speeds are  
you getting?


Re: [Trisquel-users] What WiFi speeds can I expect?

2015-09-10 Thread calle
OK, I did the test with urandom described above. My MacBook is stable at 16  
megabyte/s. My X200 is fluctuating wildly but seems to average around 500  
kilobyte/s.


The Bit Rate from iwconfig says 65 Mb/s but the card is capable of 150 Mb/s  
(to my understanding). Nobody else here running a libreboot X200 with an  
atheros card? Does the transfer speeds not get any better that this?


Re: [Trisquel-users] What WiFi speeds can I expect?

2015-09-10 Thread calle
The machines are sitting next to each other. Or do you mean switch the  
network cards of the computers? I don't think that's going to work...


[Trisquel-users] Good network monitor for Trisquel Mini?

2015-09-09 Thread calle
I can't seem to find a network monitor to put in the tray for my Trisquel  
Mini LXDE. There's a great panel applet called "resource monitors", but it  
only shows graphs for CPU and RAM. I wan't network usage as well. Any ideas  
where I can find something like that?


Re: [Trisquel-users] What WiFi speeds can I expect?

2015-09-09 Thread calle
Seems it can get better, but I've already done the stuff in this post with no  
difference:

https://askubuntu.com/a/186603


Re: [Trisquel-users] Good network monitor for Trisquel Mini?

2015-09-09 Thread calle

Hmm, well it's something :)
It suits my purposes for now at least.
But if anybody knows of something that's more like what I'm looking for it  
would be appreciated :)


[Trisquel-users] What WiFi speeds can I expect?

2015-09-09 Thread calle

I bought this Atheros AR5B95 AR9285 from amazon:
http://www.amazon.com/Atheros-AR5B95-AR9285-802-11A-PCI-E/dp/B0098VWMOE/ref=sr_1_1?ie=UTF8=1441819790=8-1=B0098VWMOE

But I'm not very satisfied with the wifi speed, I think it's quite slow.  
iwconfig says Bit Rate is 65 Mb/s, Tx-Power 31 dBm, Link Quality 70/70,  
Signal level -39 dBm.

I'm getting around 1 megabyte/s transfers.

But isn't that card supposed to be 802.11n? My MacBook with 802.11n has a Bit  
Rate of 217 Mb/s and downloads at around 11 megabytes/second.


Is there some config I should tweak to get faster wifi?


[Trisquel-users] Custom keyboard layout, Super+Space won't switch

2015-09-05 Thread calle
I bought a ThinkPad X200 and installed Trisquel 7, planning on installing  
libreboot later. But I want to use a customized keyboard layout and I can't  
get it to work.


I've /usr/share/X11/xkb/symbols/us to my liking, removed /var/lib/xkb/*.xkm  
and run sudo service lightdm restart. Then I went to System Settings >  
Language Support and selected "Keyboard input method system: None" (IBus  
seems to be for chinese, I don't want to run systems I don't need). Then  
System Settings > Region & Language > Input Sources where I added my custom  
layout. If I click the keyboard-button to view the selected keyboard layout  
it is correct. Next to the input sources list it says "Shortcuts: Switch to  
next source: Super+Space". So I open gedit and start typing. It's the  
standard layout. I press windows+space. Still the standard layout.


So, how do I switch between keyboard layouts? And how do I set which keyboard  
layout is the default keyboard layout, to be used when the machine boots?  
Should the topmost keyboard layout in the list be used? Because that isn't  
working either.


Any help greatly appreciated :)


Re: [Trisquel-users] Custom keyboard layout, Super+Space won't switch

2015-09-05 Thread calle

OK, I think I've come up with something that works.
- Fix my keyboard layout as described in my first post
- Leave Keyboard Layout Handler with "Keep system layouts"
- Create an executable file with the line 'setxkbmap -layout "us,se" -variant  
"myvariant," -option "grp:shifts_toggle"'

- In ~/.config/autostart create a file with the content:
[Desktop Entry]
Exec=/path/to/above/script
Type=Application

Now when I log in I have my US variant, and if I press both shift-keys it  
switches to a standard swedish keyboard layout. Awesome! :)


Re: [Trisquel-users] Custom keyboard layout, Super+Space won't switch

2015-09-05 Thread calle
I just downloaded the standard Trisquel. System Settings > Details says I'm  
using Gnome. I come from a Mac background and have been using Linux for  
servers (headless) so I'm not very familiar with Linux desktop stuff.


There is no Keyboard Layout Handler to choose when I right-click the bottom  
bar and pick "Add to panel...".


Re: [Trisquel-users] Custom keyboard layout, Super+Space won't switch

2015-09-05 Thread calle
I installed Trisquel Mini with LXDE instead. I'm able to switch between  
keyboard layouts using Keyboard Layout Handler. But then I addded my variant  
of the us keyboard layout using the method described in my first post and it  
won't show up in Keyboard Layout Handler. I can get it to load if I tell  
Keyboard Layout Handler to use the system layout and edit  
/etc/default/keyboard to use my layout. So the system can find it but it's  
not visible to Keyboard Layout Handler.


Why am I mucking about with this? I want to use a US layout as it's best  
suited for programming, but I'm in Sweden so I really need to be able to  
write ÅÄÖ. So I want a US layout with the ability to AltGr to ÅÄÖ on  
some buttons. This was quite easy to setup on my mac, but I'm really confused  
by the keyboard handling in Linux. There's xkb and input methods like xim and  
IBus and I can't understand how it fits together.