/srv/irclogs.ubuntu.com/2015/02/14/#ubuntu-uk.txt

=== Lcawte is now known as Lcawte|Away
=== zmoylan-1i is now known as zmoylan-pi
mappshi all05:12
mappsany of the night owls around;p05:12
zmoylan-pi*bark*05:17
mappshi:D05:18
mappsthis show allegiance is cool06:08
mappshm dafty left so he was awake06:08
knightwisegood  morning everyone07:48
=== Lcawte|Away is now known as Lcawte
knightwisemorning everyone10:00
* zmoylan-pi guesses knightwise will try a greeting of 'everyone' around 11:30 based on current 2 datapoints :-) 10:05
brobostigonmorning boys and girls.10:33
MrIndeedhey guys, i have no swap on ubuntu 14.04. It making my pc slow11:21
popeynot having swap doesn't make your pc slow.11:25
MrIndeedno, 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 freeze11:27
MrIndeed*i cant open 10 tabs11:27
popeyTypically when you have no swap and you run low on ram, things will start to get killed11:28
MrIndeedby any chance, how can i add swap11:28
popeyhow did you remove it?11:28
MrIndeedi dont remember...11:29
popeydid you have some, which you disabled, or did you install without it?11:30
MrIndeedi remember having swap when i installed ubuntu11:30
popeyin a terminal, type this command and paste the output11:30
popeysudo fdisk -l11:30
popeyit will list all partitions on all disks11:31
MrIndeedDisk /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:31
popeyso you still have some swap configured11:40
popeyMrIndeed: can you paste the contents of /etc/fstab to http://paste.ubuntu.com please11:41
MrIndeeddo i click on paste?11:41
popeyyeah, put a nickname in and paste11:43
popeyit will give you a url11:43
popeylet me have that url11:43
MrIndeedhttp://paste.ubuntu.com/10220251/11:43
popeyyou have lots of linux installs?11:46
popeycan you :-11:46
popeycat /etc/fstab11:46
popeyand put that on pastebin?11:46
MrIndeedhttp://paste.ubuntu.com/10220349/11:47
popeyok, so see line 19?11:51
popeythe # in front of it means it's commented out11:51
popeyyou could edit the file, remove that single # from that line and save it, then reboot and you're done.11:51
popeySo, to edit the file:-11:51
popeysudo nano /etc/fstab11:52
popey(this will ask for your password)11:52
MrIndeedokay11:52
MrIndeedwhat should i edit11:52
popeygo down to line 19 (the one that has #UUID=6bf84c3d-00ce-4e5e-9f01-b191c1125b2d none            swap    sw              0       011:53
popeyits the only line with # in front of UUID11:53
popeyjust use cursor arrows to move to that line, and get rid of the hash only11:53
popeythen when done, press CTRL+X to save and exit11:53
MrIndeedso i make #UUID=6bf84c3d-00ce-4e5e-9f01-b191c1125b2d to UUID=6bf84c3d-00ce-4e5e-9f01-b191c1125b2d11:54
popeyyes11:54
MrIndeedit says "There is still a process running in this terminal. Closing the terminal will kill it."11:55
popeydid you ctrl+x to close nano?11:56
popeyand say "yes" when it asks to save?11:56
MrIndeedwhen it says save modified buffer do i type yes or do i press y11:57
popeyyes, then enter11:57
MrIndeedit still says swap not available11:58
popeywhat says that?11:59
MrIndeedsystem monitor12:00
popeyok. editing the file is one part12:00
popeythere's two other things.12:00
popey1) reboot for the change to take effect12:00
popeyor12:00
popeyand/or12:00
popey2) type this command to activate swap immediately:-12:00
popeysudo swapon -a12:00
MrIndeedwhich one is the best option12:01
popeywell, do "sudo swapon -a" now, to test12:03
popeyand then run system monitor12:03
popeyif it says you have swap then you're done.12:03
popeythe reboot isn't _required_ it's just the quick-and-dirty way to make the change you made take effect12:03
MrIndeedswapon: cannot find the device for UUID=6bf84c3d-00ce-4e5e-9f01-b191c1125b2d swapon: /dev/mapper/cryptswap1: stat failed: No such file or directory12:03
popeyoh dear12:03
popeydo you have lots of linux installs on that machine?12:03
popeyoh, no, just one, with lots of partitions?12:04
MrIndeedone with lots of partitions12:04
popeywhat if you "sudo swapon /dev/sda1" ?12:04
MrIndeedswapon: /dev/sda1: read swap header failed: Invalid argument12:05
popeyok, lets undo the change we made12:06
popeysudo nano /etc/fstab12:06
popeyput the # back on line 1912:06
MrIndeedhow do i save12:08
popeyctrl+x12:08
MrIndeed it wont close12:09
MrIndeedthe nano12:09
popeywhat does it say when you do ctrl+x?12:09
MrIndeedsave modified file12:10
popeyso, say "yes" then enter12:10
MrIndeedoh12:11
MrIndeedokay12:11
popeyMrIndeed: what happens if you run "sudo swapon -s" ?12:17
MrIndeedFilenameTypeSizeUsedPriority12:18
popeythats it?12:18
popeywhat about when you run "dmesg | grep swap" ?12:18
MrIndeednothing12:19
popeyhmm12:20
popeywe can reformat your swap partition, which should fix it.12:21
popeysudo mkfs.swap /dev/sda112:22
popey^ that will format the swap partition12:22
DJonesJust a thought, is the uud correct for the swap partion12:22
DJoness/uud/uuid/12:22
popeywell it can't even manually mount it12:22
popey12:05 < MrIndeed> swapon: /dev/sda1: read swap header failed: Invalid argument12:22
DJonesRight12:23
MrIndeedeh12:23
MrIndeedsudo mkfs.swap /dev/sda1 sudo: mkfs.swap: command not found12:23
popeyoops12:24
popeymy bad12:24
popeysudo mkswap /dev/sda112:24
popeyso, run that, and it will format your swap partition12:27
popeythen you should be able to run:-12:27
popeysudo swapon /dev/sda112:27
popeyand it should be active?12:28
MrIndeedSetting up swapspace version 1, size = 1951740 KiB no label, UUID=5b796113-7280-4ac7-9080-1c115a727b9012:28
MrIndeedoh yes12:28
MrIndeedit worked12:28
popeyok, thats okay for this session12:28
popeybut we need to edit /etc/fstab again to make it permanent12:28
popeyso:-12:29
popeysudo nano /etc/fstab12:29
popeyadd a new line:-12:29
MrIndeedmake a new line?12:29
popeyUUID=5b796113-7280-4ac7-9080-1c115a727b90 none swap sw 0 012:29
popeyya12:29
MrIndeedwhere do i put this new line12:30
popeyanywhere12:30
popeyit doesn't matter12:30
MrIndeedat the buttom12:30
popeythats fine12:30
popeyonce you have added that line, we need to remove another line12:30
MrIndeedokay12:30
popeyadd a # to the /dev/mapper/cryptswap1 line12:31
popeyto the start12:31
MrIndeedto this "/dev/mapper/cryptswap1 none swap sw 0 0"12:32
popeyya12:32
MrIndeed#/dev/mapper/cryptswap1 none swap sw 0 012:32
popeylooks good.12:32
MrIndeedand than save it?12:32
popeyyes12:33
MrIndeeddone12:33
popeyyou should be good now. we can test it though12:34
popeyfirst, we can temporarily disable swap in this session:-12:34
MrIndeedlets do that12:34
popeysudo swapoff /dev/sda112:34
MrIndeedokay12:34
popeythen we can test the config you edited:-12:34
popeysudo swapon -a12:34
MrIndeedswapon: cannot find the device for UUID=5b796113-7280-4ac7-9080-1c115a727b9012:35
popeywat12:35
MrIndeedi know12:35
popeythis uuid stuf is nonsense :)12:35
popeyok, edit the file again12:36
popeysudo nano /etc/fstab12:36
popeywe can do it the old school way12:36
popeychange the line from UUID=5b796113-7280-4ac7-9080-1c115a727b90 none swap sw 0 0   to...12:36
popey/dev/sda1 none swap sw 0 012:36
MrIndeedwait, did you tell me to put a '# on the new line12:36
MrIndeedto this12:36
MrIndeedsudo nano /etc/fstab12:36
MrIndeedUUID=5b796113-7280-4ac7-9080-1c115a727b90 none swap sw 0 012:37
popeyno, that line should look as you have it12:37
popeyjust to confirm12:37
popeydo you want to paste the current state of it to http://paste.ubuntu.com ?12:37
popeyso we can see where we are?12:37
MrIndeedhttp://paste.ubuntu.com/10220964/12:37
popeyi see nothing wrong there12:38
popeybut screw it, lets change it (or comment that line out and make a new one)12:38
popeydev/sda1 none swap sw 0 012:38
popeyer12:38
popey /dev/sda1 none swap sw 0 012:38
MrIndeedmake a new line12:39
popeyya12:39
MrIndeedokay did that12:39
popeyok, save12:39
popeythen try "sudo swapon -a" again?12:39
MrIndeedno luck12:40
MrIndeedswapon: cannot find the device for UUID=5b796113-7280-4ac7-9080-1c115a727b9012:40
popeyuh12:40
MrIndeedwait12:41
popeydid you comment that line out?:)12:41
popey(you need to # out that line)12:41
MrIndeedswap showed up on system moniter12:41
popeyok, so the last line worked, but it barfed on the UUID line12:41
popeyso you still need to comment that12:41
popeyby "comment" I mean put # in front of it12:41
MrIndeedon what line12:41
popeyUUID=5b796113-7280-4ac7-9080-1c115a727b90 none swap sw 0 012:41
popeythat one should have # in front12:42
MrIndeedokay12:42
popeyI think we're done?12:43
MrIndeeddo we test?12:43
popeysure12:43
popeysudo swapoff /dev/sda112:43
popeysudo swapon -a12:44
MrIndeedit works!!!12:44
popey\o/12:44
popeyGreat success.12:44
MrIndeedone more thing, should swap remain at 0%?12:45
popeyit gets used as needed12:45
MrIndeedyou are awesome mate12:46
popeyheh12:46
popeythanks12:46
MrIndeedbreak a leg12:46
popey\o/12:46
brobostigonubuntu on click, :)12:49
popeythe phone?12:52
brobostigonon a normal pc.12:57
brobostigonon dev pc's, in an american prison.12:58
brobostigonor teaching pc's.12:58
brobostigonteaching prisoners programming,.12:58
popeyah okay, yeah. i saw a report about that13:06
brobostigonah13:08
=== MooDoo is now known as Guest72827
mickybadia#python14:13
diddledanmorning14:47
Myrttitime of day14:49
diddledanUniversal Gretting Time14:50
bashrctzag14:53
knightwiseheyhey15:57
knightwisehmmm wifi is dodgy on my Surface pro linux install15:58
knightwiselots of dropped packets15:58
knightwiseive seen this before15:58
knightwiselooks like ill have to setup a different NON-N wifi router15:59
penguin42knightwise: Which chipset is the wireless? There's a set of intel chipsets I've seen people moan about17:26
diddledanit's valentines day which means it's time to settle down and watch some bloody violence in a mancave17:56
zmoylan-pififth element, love story with action comedy and sci fi :-)18:08
diddledanheh, that's a good movie18:09
zmoylan-piit meets all your requirements18:12
knightwisepenguin42: How can i see that ?18:24
knightwiseIve had some issues with wifi chipsets and my brand of router before (when I installed ubuntu on my macbook pro)18:24
knightwiseto be sure i've setup a second wifi access point with a different chipset and set to BG only.18:25
knightwiseso far it looks like the wifi performance is improving18:25
knightwisenow all I need to get working is the suspend or even hibernate functionality18:25
penguin42knightwise: lspci18:27
knightwisehttp://pastebin.com/y9Tqi7FL18:31
penguin42knightwise: Fun, I don't see any wifi - so hmm maybe it's not pci18:33
penguin42knightwise: maybe lsusb?18:33
knightwisehttp://pastebin.com/i0qye7dy18:33
penguin42knightwise: ah there you go18:34
penguin42knightwise: It's the Marvell chip18:34
knightwiseStupid spiderman :)18:35
knightwiseMarvel :)18:35
penguin42knightwise: Yeh, it uses telepathy rather than wifi18:35
knightwiseLOL18:36
knightwiseive hooked it up to the BG router and now it seems to be goin g ok18:38
knightwisebattery life is awesome here18:39
SuperEngineerknightwise, just returned to pooter & read your "battery life is awesome" comment... you need a psychiatrist - you are not a battery ;)18:59
=== MooDoo is now known as Guest36663
=== MooDoo is now known as Guest83501
bigcalmGood morning peeps :)21:37
bigcalm!info hpodder21:37
lubotu3Package hpodder does not exist in utopic21:38
penguin42good evening21:39
bigcalmSeems to have been left behind in 12.04. What to do?21:39
penguin42what was it?21:39
bigcalmA podcatcher21:40
bigcalmLooks to have been abandoned :(21:41
bigcalmI need a headless podcast downloader21:41
popeyhpodder21:42
popeyoh21:42
* popey scrolls up21:42
bigcalmMopping up after upgrading my micro server from 12.04 to 14.0421:43
bigcalmGood to see people still downloading ubuntu-mate-14.10-desktop-i386.iso from me21:44
bigcalmRadio of 58 now21:44
popeywhy not just grab hpodder from 12.04?21:51
bigcalmIf it works, fair enough21:52
bigcalmWho controls the factoids on lubotu3 and how do I go about changing one of them?21:59
bigcalmI recall going into a channel last year, but I don't recall which one21:59
popey#ubuntu-irc22:09
bigcalmYeah, tracked down the info via lengthy googling22:10
bigcalm!rat22:10
lubotu3rat 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
bigcalmNope, that's not updated yet22:10
popeyit wont if you dont update it :)22:14
bigcalmI have. It's waiting on #ubuntu-ops to confirm the update22:15
bigcalmI got an automated support ticket response to my mailing list post from powerpro+tidQVWSOBK39I@rhinosupport.com22:19
* bigcalm scratches his head22:19
davmor2MooDoo: you about22:30
popeybigcalm: bought my ticket22:33
popeybigcalm: wat22:33
bigcalmpopey: yay22:35
bigcalmpopey: wat wat?22:35
bigcalm!rat22:38
lubotu3rat 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
bigcalmHo hum22:38
bigcalmMight get changed at some point :)22:38
* bigcalm heads to bed22:38
zmoylan-piso instead of a booze cruise it's an ale rail :-)22:40
popeyhah22:41
popeyits really jolly good fun22:41

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!