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