=== Lcawte is now known as Lcawte|Away === zmoylan-1i is now known as zmoylan-pi [05:12] hi all [05:12] any of the night owls around;p [05:17] *bark* [05:18] hi:D [06:08] this show allegiance is cool [06:08] hm dafty left so he was awake [07:48] good morning everyone === Lcawte|Away is now known as Lcawte [10:00] morning everyone [10:05] * zmoylan-pi guesses knightwise will try a greeting of 'everyone' around 11:30 based on current 2 datapoints :-) [10:33] morning boys and girls. [11:21] hey guys, i have no swap on ubuntu 14.04. It making my pc slow [11:25] not having swap doesn't make your pc slow. [11:27] no, before when i had swap my computer was working fine. Now, without it i have open 10 tabs on chrome and my pc tend to freeze [11:27] *i cant open 10 tabs [11:28] Typically when you have no swap and you run low on ram, things will start to get killed [11:28] by any chance, how can i add swap [11:28] how did you remove it? [11:29] i dont remember... [11:30] did you have some, which you disabled, or did you install without it? [11:30] i remember having swap when i installed ubuntu [11:30] in a terminal, type this command and paste the output [11:30] sudo fdisk -l [11:31] it will list all partitions on all disks [11:31] Disk /dev/sda: 80.0 GB, 80000000000 bytes 255 heads, 63 sectors/track, 9726 cylinders, total 156250000 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000b63 Device Boot Start End Blocks Id System /dev/sda1 * 2048 3905535 1951744 82 Linux swap / Solaris /dev/sda2 [11:40] so you still have some swap configured [11:41] MrIndeed: can you paste the contents of /etc/fstab to http://paste.ubuntu.com please [11:41] do i click on paste? [11:43] yeah, put a nickname in and paste [11:43] it will give you a url [11:43] let me have that url [11:43] http://paste.ubuntu.com/10220251/ [11:46] you have lots of linux installs? [11:46] can you :- [11:46] cat /etc/fstab [11:46] and put that on pastebin? [11:47] http://paste.ubuntu.com/10220349/ [11:51] ok, so see line 19? [11:51] the # in front of it means it's commented out [11:51] you could edit the file, remove that single # from that line and save it, then reboot and you're done. [11:51] So, to edit the file:- [11:52] sudo nano /etc/fstab [11:52] (this will ask for your password) [11:52] okay [11:52] what should i edit [11:53] go down to line 19 (the one that has #UUID=6bf84c3d-00ce-4e5e-9f01-b191c1125b2d none swap sw 0 0 [11:53] its the only line with # in front of UUID [11:53] just use cursor arrows to move to that line, and get rid of the hash only [11:53] then when done, press CTRL+X to save and exit [11:54] so i make #UUID=6bf84c3d-00ce-4e5e-9f01-b191c1125b2d to UUID=6bf84c3d-00ce-4e5e-9f01-b191c1125b2d [11:54] yes [11:55] it says "There is still a process running in this terminal. Closing the terminal will kill it." [11:56] did you ctrl+x to close nano? [11:56] and say "yes" when it asks to save? [11:57] when it says save modified buffer do i type yes or do i press y [11:57] yes, then enter [11:58] it still says swap not available [11:59] what says that? [12:00] system monitor [12:00] ok. editing the file is one part [12:00] there's two other things. [12:00] 1) reboot for the change to take effect [12:00] or [12:00] and/or [12:00] 2) type this command to activate swap immediately:- [12:00] sudo swapon -a [12:01] which one is the best option [12:03] well, do "sudo swapon -a" now, to test [12:03] and then run system monitor [12:03] if it says you have swap then you're done. [12:03] the reboot isn't _required_ it's just the quick-and-dirty way to make the change you made take effect [12:03] swapon: cannot find the device for UUID=6bf84c3d-00ce-4e5e-9f01-b191c1125b2d swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory [12:03] oh dear [12:03] do you have lots of linux installs on that machine? [12:04] oh, no, just one, with lots of partitions? [12:04] one with lots of partitions [12:04] what if you "sudo swapon /dev/sda1" ? [12:05] swapon: /dev/sda1: read swap header failed: Invalid argument [12:06] ok, lets undo the change we made [12:06] sudo nano /etc/fstab [12:06] put the # back on line 19 [12:08] how do i save [12:08] ctrl+x [12:09] it wont close [12:09] the nano [12:09] what does it say when you do ctrl+x? [12:10] save modified file [12:10] so, say "yes" then enter [12:11] oh [12:11] okay [12:17] MrIndeed: what happens if you run "sudo swapon -s" ? [12:18] Filename Type Size Used Priority [12:18] thats it? [12:18] what about when you run "dmesg | grep swap" ? [12:19] nothing [12:20] hmm [12:21] we can reformat your swap partition, which should fix it. [12:22] sudo mkfs.swap /dev/sda1 [12:22] ^ that will format the swap partition [12:22] Just a thought, is the uud correct for the swap partion [12:22] s/uud/uuid/ [12:22] well it can't even manually mount it [12:22] 12:05 < MrIndeed> swapon: /dev/sda1: read swap header failed: Invalid argument [12:23] Right [12:23] eh [12:23] sudo mkfs.swap /dev/sda1 sudo: mkfs.swap: command not found [12:24] oops [12:24] my bad [12:24] sudo mkswap /dev/sda1 [12:27] so, run that, and it will format your swap partition [12:27] then you should be able to run:- [12:27] sudo swapon /dev/sda1 [12:28] and it should be active? [12:28] Setting up swapspace version 1, size = 1951740 KiB no label, UUID=5b796113-7280-4ac7-9080-1c115a727b90 [12:28] oh yes [12:28] it worked [12:28] ok, thats okay for this session [12:28] but we need to edit /etc/fstab again to make it permanent [12:29] so:- [12:29] sudo nano /etc/fstab [12:29] add a new line:- [12:29] make a new line? [12:29] UUID=5b796113-7280-4ac7-9080-1c115a727b90 none swap sw 0 0 [12:29] ya [12:30] where do i put this new line [12:30] anywhere [12:30] it doesn't matter [12:30] at the buttom [12:30] thats fine [12:30] once you have added that line, we need to remove another line [12:30] okay [12:31] add a # to the /dev/mapper/cryptswap1 line [12:31] to the start [12:32] to this "/dev/mapper/cryptswap1 none swap sw 0 0" [12:32] ya [12:32] #/dev/mapper/cryptswap1 none swap sw 0 0 [12:32] looks good. [12:32] and than save it? [12:33] yes [12:33] done [12:34] you should be good now. we can test it though [12:34] first, we can temporarily disable swap in this session:- [12:34] lets do that [12:34] sudo swapoff /dev/sda1 [12:34] okay [12:34] then we can test the config you edited:- [12:34] sudo swapon -a [12:35] swapon: cannot find the device for UUID=5b796113-7280-4ac7-9080-1c115a727b90 [12:35] wat [12:35] i know [12:35] this uuid stuf is nonsense :) [12:36] ok, edit the file again [12:36] sudo nano /etc/fstab [12:36] we can do it the old school way [12:36] change the line from UUID=5b796113-7280-4ac7-9080-1c115a727b90 none swap sw 0 0 to... [12:36] /dev/sda1 none swap sw 0 0 [12:36] wait, did you tell me to put a '# on the new line [12:36] to this [12:36] sudo nano /etc/fstab [12:37] UUID=5b796113-7280-4ac7-9080-1c115a727b90 none swap sw 0 0 [12:37] no, that line should look as you have it [12:37] just to confirm [12:37] do you want to paste the current state of it to http://paste.ubuntu.com ? [12:37] so we can see where we are? [12:37] http://paste.ubuntu.com/10220964/ [12:38] i see nothing wrong there [12:38] but screw it, lets change it (or comment that line out and make a new one) [12:38] dev/sda1 none swap sw 0 0 [12:38] er [12:38] /dev/sda1 none swap sw 0 0 [12:39] make a new line [12:39] ya [12:39] okay did that [12:39] ok, save [12:39] then try "sudo swapon -a" again? [12:40] no luck [12:40] swapon: cannot find the device for UUID=5b796113-7280-4ac7-9080-1c115a727b90 [12:40] uh [12:41] wait [12:41] did you comment that line out?:) [12:41] (you need to # out that line) [12:41] swap showed up on system moniter [12:41] ok, so the last line worked, but it barfed on the UUID line [12:41] so you still need to comment that [12:41] by "comment" I mean put # in front of it [12:41] on what line [12:41] UUID=5b796113-7280-4ac7-9080-1c115a727b90 none swap sw 0 0 [12:42] that one should have # in front [12:42] okay [12:43] I think we're done? [12:43] do we test? [12:43] sure [12:43] sudo swapoff /dev/sda1 [12:44] sudo swapon -a [12:44] it works!!! [12:44] \o/ [12:44] Great success. [12:45] one more thing, should swap remain at 0%? [12:45] it gets used as needed [12:46] you are awesome mate [12:46] heh [12:46] thanks [12:46] break a leg [12:46] \o/ [12:49] ubuntu on click, :) [12:52] the phone? [12:57] on a normal pc. [12:58] on dev pc's, in an american prison. [12:58] or teaching pc's. [12:58] teaching prisoners programming,. [13:06] ah okay, yeah. i saw a report about that [13:08] ah === MooDoo is now known as Guest72827 [14:13] #python [14:47] morning [14:49] time of day [14:50] Universal Gretting Time [14:53] tzag [15:57] heyhey [15:58] hmmm wifi is dodgy on my Surface pro linux install [15:58] lots of dropped packets [15:58] ive seen this before [15:59] looks like ill have to setup a different NON-N wifi router [17:26] knightwise: Which chipset is the wireless? There's a set of intel chipsets I've seen people moan about [17:56] it's valentines day which means it's time to settle down and watch some bloody violence in a mancave [18:08] fifth element, love story with action comedy and sci fi :-) [18:09] heh, that's a good movie [18:12] it meets all your requirements [18:24] penguin42: How can i see that ? [18:24] Ive had some issues with wifi chipsets and my brand of router before (when I installed ubuntu on my macbook pro) [18:25] to be sure i've setup a second wifi access point with a different chipset and set to BG only. [18:25] so far it looks like the wifi performance is improving [18:25] now all I need to get working is the suspend or even hibernate functionality [18:27] knightwise: lspci [18:31] http://pastebin.com/y9Tqi7FL [18:33] knightwise: Fun, I don't see any wifi - so hmm maybe it's not pci [18:33] knightwise: maybe lsusb? [18:33] http://pastebin.com/i0qye7dy [18:34] knightwise: ah there you go [18:34] knightwise: It's the Marvell chip [18:35] Stupid spiderman :) [18:35] Marvel :) [18:35] knightwise: Yeh, it uses telepathy rather than wifi [18:36] LOL [18:38] ive hooked it up to the BG router and now it seems to be goin g ok [18:39] battery life is awesome here [18:59] knightwise, just returned to pooter & read your "battery life is awesome" comment... you need a psychiatrist - you are not a battery ;) === MooDoo is now known as Guest36663 === MooDoo is now known as Guest83501 [21:37] Good morning peeps :) [21:37] !info hpodder [21:38] Package hpodder does not exist in utopic [21:39] good evening [21:39] Seems to have been left behind in 12.04. What to do? [21:39] what was it? [21:40] A podcatcher [21:41] Looks to have been abandoned :( [21:41] I need a headless podcast downloader [21:42] hpodder [21:42] oh [21:42] * popey scrolls up [21:43] Mopping up after upgrading my micro server from 12.04 to 14.04 [21:44] Good to see people still downloading ubuntu-mate-14.10-desktop-i386.iso from me [21:44] Radio of 58 now [21:51] why not just grab hpodder from 12.04? [21:52] If it works, fair enough [21:59] Who controls the factoids on lubotu3 and how do I go about changing one of them? [21:59] I recall going into a channel last year, but I don't recall which one [22:09] #ubuntu-irc [22:10] Yeah, tracked down the info via lengthy googling [22:10] !rat [22:10] rat is The Real Ale Train. A yearly Ubuntu UK loco event to celebrate friends, trains and ale. Saturday 2nd August 2014 Hampshire, UK: http://loco.ubuntu.com/events/ubuntu-uk/2745-real-ale-train-2014/ [22:10] Nope, that's not updated yet [22:14] it wont if you dont update it :) [22:15] I have. It's waiting on #ubuntu-ops to confirm the update [22:19] I got an automated support ticket response to my mailing list post from powerpro+tidQVWSOBK39I@rhinosupport.com [22:19] * bigcalm scratches his head [22:30] MooDoo: you about [22:33] bigcalm: bought my ticket [22:33] bigcalm: wat [22:35] popey: yay [22:35] popey: wat wat? [22:38] !rat [22:38] rat is The Real Ale Train. A yearly Ubuntu UK loco event to celebrate friends, trains and ale. Saturday 2nd August 2014 Hampshire, UK: http://loco.ubuntu.com/events/ubuntu-uk/2745-real-ale-train-2014/ [22:38] Ho hum [22:38] Might get changed at some point :) [22:38] * bigcalm heads to bed [22:40] so instead of a booze cruise it's an ale rail :-) [22:41] hah [22:41] its really jolly good fun