=== compiledkernel is now known as Guest6400 | ||
yvan300 | hey i just got a kernel panic,.......where are the system logs located? | 01:12 |
---|---|---|
seidos | yvan300, /var/log I think | 01:13 |
yvan300 | seidos, thanks, that was it | 01:17 |
=== compiledkernel is now known as Guest38060 | ||
holder | I can't change directory. $ cd /home/user/Desktop doesn't work. What am I doing wrong? | 04:20 |
IAmNotThatGuy | holder: "user= your login name" | 04:21 |
IAmNotThatGuy | I will give as $ cd /home/devil/Desktop | 04:22 |
IAmNotThatGuy | holder: you are here? | 04:22 |
holder | IAmNotThatGuy: Yep, I know that, it's not working with my login name | 04:22 |
IAmNotThatGuy | do one thing. Use tab key to auto fill | 04:23 |
IAmNotThatGuy | when you press cd /<tab>, It will list the folders. Check whether you gave the name correctly | 04:24 |
IAmNotThatGuy | holder: is it working?? | 04:26 |
IAmNotThatGuy | holder: http://i38.tinypic.com/281ecms.png thats mine | 04:26 |
holder | IAmNotThatGuy: the tab trick is | 04:26 |
holder | IAmNotThatGuy: i'll screenshot | 04:27 |
IAmNotThatGuy | okay | 04:27 |
holder | IAmNotThatGuy: http://tinypic.com/r/2jb4k5s/4 | 04:30 |
IAmNotThatGuy | holder: press F<tab key> | 04:31 |
holder | It finds the wrong file | 04:33 |
holder | instead of the iso it finds the original file | 04:34 |
IAmNotThatGuy | hey It will just load the directory | 04:34 |
IAmNotThatGuy | Not the .iso files | 04:34 |
holder | Actually it works | 04:34 |
IAmNotThatGuy | :o | 04:34 |
holder | Lol, thanks, the file was locked or something | 04:35 |
IAmNotThatGuy | okay good luck holder (: | 04:35 |
IAmNotThatGuy | holder: the problem is solved? | 04:53 |
holder | IAmNotThatGuy: Nope, but it's a problem within a problem | 04:53 |
IAmNotThatGuy | what happened holder? | 04:54 |
holder | I want to play a windows game on linux, but the install keeps failing and I don't know if the problem is with the file or wine | 04:55 |
=== compiledkernel is now known as Guest30238 | ||
IAmNotThatGuy | awww.... | 04:59 |
=== bootstrap is now known as bootstrap` | ||
holder | IAmNotThatGuy: How's your knowledge on wine? | 05:08 |
holder | of* | 05:08 |
IAmNotThatGuy | I am not that much good with wine as we don't prefer using wine holder | 05:10 |
holder | What do you prefer for windows applications? | 05:11 |
IAmNotThatGuy | actually what game you are trying to run? | 05:13 |
IAmNotThatGuy | we mostly find an alternate in linux environment | 05:13 |
holder | Football manager 2010 | 05:13 |
IAmNotThatGuy | ahha | 05:13 |
IAmNotThatGuy | go inside the folder and try right clicking foot.exe and select run with wine | 05:14 |
IAmNotThatGuy | I know that alone | 05:14 |
IAmNotThatGuy | I ll brb | 05:16 |
Mohan_chml | holder, you got any solution? | 05:42 |
holder | Nope, but i'm in wine's irc channel working on it | 05:48 |
jaybird | Hey folks.How do I change themes, once I've found something I like? | 05:49 |
Mohan_chml | jaybird, download that theme, right click the desktop, click change desktop background, click the themes tab | 05:51 |
Mohan_chml | in that you canfind "install" button | 05:51 |
Mohan_chml | jaybird, then you can select the theme and can Install them | 05:51 |
Mohan_chml | jaybird, you there?? | 05:52 |
jaybird | yep, firefox just decided to conk out. | 05:52 |
Mohan_chml | argh! | 05:53 |
jaybird | chrome it is.. | 05:53 |
jaybird | lol, guess it wasn't firefox then. My wireless says it's perfectly connected, but both of the browsers aren't working. just loading forever. | 05:57 |
jaybird | any idea what might be causing this? | 05:57 |
Mohan_chml | open terminal and type ping www.google.com | 05:58 |
Mohan_chml | the response time will tell your internet speed jaybird | 05:58 |
jaybird | PING google.com (173.194.33.104) 56(84) bytes of data. | 05:59 |
jaybird | 64 bytes from 173.194.33.104: icmp_seq=1 ttl=54 time=29.1 ms | 05:59 |
Mohan_chml | jaybird, hmmmm 29.1 ms | 06:00 |
jaybird | It seems to be working again, but I noticed lately it'll just stop working for what appears to be no reason. Like even when the wireless is fine. | 06:00 |
shredder12 | what's the issue jaybird | 06:02 |
jaybird | My internet keeps conking out [loading forever, until I restart], even though the wireless has full bars | 06:02 |
shredder12 | jaybird: you mean it takes a lot of time to connect? or websites load very slowly? | 06:03 |
jaybird | Oh, when it gets like that, sites won't even load at all. | 06:04 |
shredder12 | jaybird: are you able to ping at least. I had a similar issue but it was some trouble with DNS queries. The browser just kept showing "looking up somewebsite.com" | 06:05 |
jaybird | yes, that exactly. I was able to ping | 06:06 |
jaybird | how can I solve the problem, if that's the issue? | 06:06 |
shredder12 | jaybird: lets see if that is the issue. run this command "dig lifehacker.com". In the output you will see a line "Query time". What time does it shows? | 06:07 |
jaybird | 66 msec | 06:08 |
shredder12 | jaybird: thats decent. DNS doesn't seem to be a problem here. At the moment, it even seems that your network is working fine | 06:08 |
shredder12 | jaybird: are you able to load websites now? | 06:09 |
jaybird | Yep, I'm able to load them right now. But the problem seems to happen randomly... | 06:09 |
shredder12 | jaybird: Does reconnecting the network helps then? | 06:10 |
jaybird | Yes. | 06:10 |
jaybird | I just wish I could get to the root of the problem so I wouldn't be reconnecting all the time... | 06:13 |
shredder12 | jaybird: I am not sure what is the issue now, but when your network goes down again, use "tail -n 20 /var/log/syslog". this will show you the last 20 lines of system log. We might be able to find our some clue there | 06:13 |
shredder12 | jaybird: btw, how often does this happen? | 06:13 |
jaybird | It's happened three times within the past...4 hours, maybe? But will do. | 06:13 |
Mohan_chml | jaybird, when the problem comes again, try the ping command | 06:15 |
Mohan_chml | that will tell you whether you are connected or not | 06:15 |
shredder12 | jaybird: you can even use "tail -f /var/log/syslog" to see the most recent log. So, as soon as you discover that the connection is lost, you can immediately look for some hint in the logs. I can't guarantee that it will help, but it usually does | 06:16 |
Mohan_chml | if it is working now, then we cant find the exact problem | 06:16 |
shredder12 | jaybird: yes, and try the "dig " command too, check the Query time. | 06:16 |
Mohan_chml | as you said both firefox and chrome has the same problem, it must be the problem of the network or the wireless | 06:16 |
jaybird | Ohh, okay. That's understandable. Also, this laptop had wireless issues for a while now. Back when it was running windows the wireless didn't work at all. So it could be a hardware issue. | 06:17 |
shredder12 | jaybird: yes, that could be a h/w issue. | 06:18 |
jaybird | Oh btw, now that my internet's working again, I installed the theme I wanted without a problem. :) thank you! | 06:22 |
jaybird | [that was my initial issue] | 06:22 |
duanedesign | morning all | 11:51 |
=== JMS is now known as JoeMaverickSett | ||
=== Mohan_chml is now known as IAmNotThatGuy | ||
Tallon | What version of Ubuntu do I need to get to run on a 64-bit Atom processor, the front page download 64-bit option gives me 10.04-desktop-amd64.iso. is that the right one even though I'm using an Intel processor? | 14:52 |
=== IAmNotThatGuy is now known as Mohan_chml | ||
robs1 | Good morning all | 14:59 |
robs1 | I have a newbie question am hoping someone can help me with. | 14:59 |
robs1 | I am trying to find the .ssh directory and cannot seem to find it. I did an "ls -a" on both / and /root | 15:00 |
paultag | robs1, cd ~ | 15:01 |
paultag | robs1, it's full unexpanded name is ~/.ssh | 15:01 |
Mohan_chml | Tallon, its okay to download and Install.. | 15:01 |
Mohan_chml | heya paultag | 15:01 |
paultag | Mohan_chml, heyya | 15:01 |
paultag | Oh great | 15:02 |
paultag | you're welcome robs1 | 15:02 |
Mohan_chml | paultag, I am afraid robs1 didn't watch ya :P | 15:02 |
paultag | :) | 15:02 |
Mohan_chml | lol | 15:02 |
Mohan_chml | paultag, your turn (: | 15:03 |
paultag | robs1, did you get my last message? | 15:03 |
robs1 | Nope...I got disconnected for some reason | 15:03 |
paultag | <paultag> robs1, cd ~ | 15:03 |
paultag | <paultag> robs1, it's full unexpanded name is ~/.ssh | 15:03 |
Tallon | @Mohan, ok thanks just wasn't sure with the amd in the title | 15:03 |
robs1 | I tried that | 15:03 |
robs1 | root@svlso-3-3:~# ls -a ~/.ssh | 15:04 |
robs1 | ls: cannot access /root/.ssh: No such file or directory | 15:04 |
robs1 | root@svlso-3-3:~# | 15:04 |
Mohan_chml | Tallon, (: | 15:04 |
paultag | robs1, first of all, working as root is really really dumb | 15:04 |
paultag | robs1, second of all, you need to ssh one time :) | 15:04 |
paultag | robs1, it imports conf directories as you need them | 15:04 |
robs1 | okay...I backed out of root and am operating as a regular user | 15:05 |
paultag | robs1, ssh one time | 15:06 |
paultag | robs1, and you will have this directory | 15:06 |
robs1 | doing so now | 15:06 |
robs1 | Ah, ok. I now see the .ssh directory | 15:07 |
robs1 | Thanks paultag...that got me going. | 15:09 |
paultag | sure robs1 | 15:09 |
paultag | robs1, good luck! | 15:10 |
robs1 | btw...in this case, it is not dumb to be working as root because I am installing a backup solution that requires that this be done as root | 15:10 |
paultag | robs1, that's not true | 15:10 |
paultag | robs1, run the installer with sudo | 15:10 |
paultag | robs1, you should *never* have to use root | 15:10 |
robs1 | I'm installing an enterprise backup solution....it says that it must be installed as root...or the install will not complete | 15:11 |
robs1 | And I verified that to be true. | 15:11 |
paultag | yes robs1, so use sudo | 15:11 |
paultag | robs1, never work as root, run *single* commands under root with su -c 'foo' or sudo foo | 15:12 |
robs1 | yes, very good point paultag...am newbie so it shows LOL | 15:12 |
paultag | robs1, if you don't have sudo on the machine, you have an issue | 15:12 |
paultag | v:) | 15:12 |
paultag | Doh | 15:12 |
paultag | robs1, :) | 15:12 |
robs1 | np...it is actually kinda cool that mirc has support channels such as this | 15:13 |
paultag | robs1, yeah, we love helping. There's a whole community of people to help | 15:13 |
robs1 | how do I verify that sudo is actually installed. I know what sudo is, just haven't played with it | 15:13 |
paultag | robs1, also wiki pages, help pages, manuals | 15:13 |
paultag | robs1, what distro are you running ( I hope Ubuntu? ) | 15:13 |
robs1 | yes ubuntu | 15:13 |
paultag | robs1, dpkg -l | grep sudo | 15:13 |
robs1 | I like it so much that I also have it insalled on my mahcine at home. I love ubuntu unix and I am one of its crusader | 15:14 |
paultag | robs1, there should be a line that says "ii sudo" | 15:14 |
robs1 | checking it now | 15:14 |
paultag | robs1, it's Linux, not UNIX :) | 15:14 |
robs1 | hehe...okay...HP-UX is what I mostly support | 15:14 |
robs1 | yup its there | 15:15 |
robs1 | larger than life | 15:15 |
paultag | mm | 15:15 |
paultag | robs1, you can check the suoders by the /etc/sudoers file | 15:15 |
paultag | robs1, you need "root" ( but you can use sudo when you see root ) | 15:15 |
paultag | robs1, on Ubuntu the root account is disabled | 15:15 |
robs1 | wow thanks for this great help...I'm doing exactly as you say | 15:15 |
paultag | robs1, and it should stay this way | 15:16 |
paultag | robs1, Oh sure, no problem | 15:16 |
paultag | robs1, esp if it's a server, if people know there is a "root" account with admin, they will try and hack this account | 15:16 |
robs1 | yeah no doubt | 15:16 |
robs1 | lowlifes | 15:16 |
paultag | robs1, so if you disable this account and do admin work via sudo + regular user, it's harder to break into | 15:16 |
paultag | they would need the /etc/passwd file to get a listing of people on the machine | 15:17 |
robs1 | one other thing...for some reason...I keep getting disconnected from mirch and I keep having to log back in | 15:17 |
Mohan_chml | robs1, you kow what!! paultag is one of the hackers :P | 15:17 |
paultag | Mohan_chml, ssshhhh! :P | 15:17 |
Mohan_chml | lol | 15:17 |
paultag | robs1, Humm, does your internet drop often? | 15:17 |
robs1 | lol you guys are hilarious | 15:17 |
robs1 | nope....its a corporate network | 15:18 |
paultag | robs1, I'm reading here you're at HP | 15:18 |
paultag | robs1, awesome :) | 15:18 |
Mohan_chml | robs1, then why you are often getting disconnected? | 15:18 |
paultag | robs1, Interesting. I wonder why you drop off a big line | 15:18 |
robs1 | that is a good question Mohan | 15:18 |
Mohan_chml | he he... answer please: | 15:19 |
robs1 | this laptop has limited memory 1GB so maybe the limited memory address space just can't handle it | 15:19 |
paultag | I can't imagine | 15:19 |
paultag | irc is circa-1991 | 15:19 |
* Mohan_chml too | 15:19 | |
robs1 | it kinda sucks but hey | 15:19 |
paultag | robs1, try using webchat.freenode.net | 15:20 |
Mohan_chml | paultag, GOTO work | 15:20 |
paultag | robs1, if that drops something else is going on | 15:20 |
paultag | robs1, that is port 80 ( not 6667 ) and over HTTP not IRC it's self | 15:20 |
robs1 | that's a good idea about switching irc servers | 15:20 |
paultag | robs1, you're on Freenode now :) | 15:20 |
robs1 | yes isn't that where Im supposed to be | 15:21 |
paultag | robs1, so if that drops it's not filters or anything | 15:21 |
robs1 | oh ok | 15:21 |
robs1 | I noticed something that as long a I keep typing...I don't get disconnected. But if I go like 30 secons without typing... then boom it drops me like a hot potato | 15:22 |
paultag | Oh humm! | 15:23 |
paultag | robs1, this server has a PING system | 15:23 |
paultag | robs1, if you client does not PONG you get the boot from timeout | 15:23 |
robs1 | ok, and.... | 15:23 |
robs1 | Ah!!! | 15:23 |
paultag | robs1, and when you type it resets the PING timeout | 15:23 |
robs1 | so what can I do to make my client ping | 15:23 |
philinux | Need a pointer with a script and chroot | 15:23 |
paultag | robs1, use another client :( | 15:23 |
paultag | philinux, hola | 15:23 |
robs1 | lol | 15:24 |
paultag | robs1, haha | 15:24 |
paultag | robs1, windows or GNU/Linux over there> | 15:24 |
philinux | o/ | 15:24 |
Mohan_chml | heya philinux | 15:24 |
paultag | philinux, what can I help with | 15:24 |
robs1 | yeah I'm running windows as my client...ubuntu is not my client | 15:24 |
philinux | Got a script for maverick so I can chroot from lucid | 15:24 |
paultag | robs1, let's see, Try webchat.freenode for now | 15:24 |
paultag | robs1, I think you can run some other ones, perhaps someone will poke in the conversation | 15:25 |
robs1 | okay thanks | 15:25 |
paultag | robs1, sure thing | 15:25 |
paultag | philinux, debootstrap'ed ? | 15:25 |
philinux | Last line is this but there must be a better way. sudo chroot /mnt/lucid /bin/bash -c "cat /opt/apti && /bin/bash" | 15:25 |
philinux | in the file apti is aptitude update && aptitude safe-upgrade. I'm fed up with typing this. If I use that as the command the terminal quits after it | 15:26 |
philinux | As it cats the file I can then copy and paste it into the terminal. I'd like it to be run and then keep the terminal open | 15:28 |
paultag | philinux, Sorry, what are you trying to do? | 15:28 |
philinux | Enter chroot display "aptitude update && aptitude safe-upgrade" run it but keep terminal window open | 15:29 |
robs1 | Did paultag leave? | 15:31 |
philinux | robs1: Dont think so | 15:32 |
robs1 | he's a good dude | 15:32 |
robs1 | helped me and didn't even have to | 15:32 |
Mohan_chml | paultag, ping | 15:33 |
paultag | Back :) | 15:34 |
paultag | sorry | 15:34 |
Mohan_chml | paultag, wb :) | 15:34 |
paultag | tyty | 15:35 |
paultag | I was at work :) | 15:35 |
philinux | Enter chroot display "aptitude update && aptitude safe-upgrade" run it but keep terminal window open | 15:35 |
Mohan_chml | paultag, but robs left :P | 15:35 |
paultag | oh nooes | 15:35 |
paultag | philinux, why not have it do it automatically? | 15:35 |
philinux | paultag: I can but the terminal quits. Wont stay open | 15:36 |
paultag | heyya robs1 | 15:36 |
paultag | philinux, that's if you exec it | 15:36 |
robs1 | Hello Paul!!! | 15:36 |
paultag | philinux, you can fork it back off in the bg on entry | 15:36 |
philinux | paultag: how | 15:36 |
paultag | philinux, if you are *only* using this chroot for "fun" add it to your bashrc, let me verify the command I'm thinking of | 15:36 |
paultag | philinux, yup it works | 15:37 |
paultag | philinux, $(apt-get update && apt-get upgrade) & | 15:37 |
philinux | I tried this sudo chroot /mnt/maverick /bin/bash -c "aptitude update && aptitude safe-upgrade" | 15:37 |
paultag | philinux, that should kick it off in the bg, and so long as the shell is open that'll run | 15:37 |
paultag | philinux, yeah, but bash will exit after the -c call cuz it will exec it | 15:37 |
paultag | philinux, same reason a shell exits after a ./foo.sh | 15:38 |
paultag | ./foo.sh is short for | 15:38 |
paultag | bash foo.sh | 15:38 |
paultag | or, with flags | 15:38 |
paultag | /bin/bash -c "foo.sh" | 15:38 |
philinux | So it needs to be sudo chroot /mnt/maverick /bin/bash $(aptitude update && aptitude safe-upgrade) & | 15:38 |
paultag | philinux, if you can stand to have it lock up primary thread, don't fork it | 15:39 |
paultag | philinux, but remember this will run *every* time you login | 15:39 |
philinux | Thats the idea then keep term open | 15:39 |
paultag | philinux, might also want a > /dev/null &2>1 on there too | 15:39 |
philinux | It not for fun mav testing | 15:39 |
paultag | philinux, yeah, so just remove the last & on it | 15:39 |
paultag | philinux, and add that to the bashrc | 15:39 |
philinux | E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) | 15:43 |
philinux | E: Couldn't lock list directory..are you root? | 15:43 |
philinux | paultag: does not get the chroot prompt | 15:43 |
paultag | whoh wtf | 15:44 |
paultag | philinux, not your host bashrc | 15:44 |
paultag | philinux, the chroot bashrc :) | 15:44 |
philinux | I've not touched the bachrc at all this is run from a script on lucid | 15:44 |
paultag | philinux, I'm lost | 15:45 |
philinux | paultag: http://paste.ubuntu.com/476975/ | 15:46 |
paultag | philinux, well shucks, that's not what I said :) | 15:47 |
philinux | paultag: ignore the reference to lucid I should have changed it to maverick | 15:47 |
philinux | errr | 15:47 |
paultag | philinux, is dev/sdb1 device static or dynamic ( I take it you do not bootstrap this often ) ? | 15:47 |
philinux | sdb1 is second HD | 15:48 |
philinux | Internal | 15:48 |
paultag | philinux, that's not the question ;) | 15:48 |
philinux | bootstrap? | 15:48 |
paultag | philinux, how did you install mav ? | 15:48 |
philinux | live cd to second HD. I run lucid chroot to update mava and boot into it now and then. | 15:49 |
paultag | philinux, Ah, I see what you're doing. | 15:49 |
paultag | philinux, let me bootstrap and test right quickly | 15:50 |
philinux | paultag: so script used to stop at prompt and then I have to type aptitude etc. Want to not have to type | 15:50 |
tommyguitfiddle | Can someone walk me through updating my kernel with Linux audio drivers from Asus website? | 15:50 |
paultag | philinux, bootstrapping now. Give me a few minutes to work this out | 15:50 |
philinux | Cheers | 15:50 |
paultag | DAMNIT | 15:58 |
paultag | I just got it phil | 15:58 |
paultag | sudo chroot chroot/ bash -c 'apt-get update && apt-get upgrade && bash' | 15:58 |
paultag | if phil gets back, someone paste that for me | 16:00 |
paultag | I have to do some work ( at work ) | 16:00 |
tommyguitfiddle | Can someone walk me through updating my kernel with Linux audio drivers for my Asus motherboard? | 16:07 |
paultag | tommyguitfiddle, sorry, I'm at work now | 16:08 |
paultag | tommyguitfiddle, wait around | 16:08 |
tommyguitfiddle | paultag, will do. | 16:09 |
paultag | * philinux has quit (Ping timeout: 240 seconds) | 16:10 |
paultag | <paultag> DAMNIT | 16:10 |
paultag | <paultag> I just got it phil | 16:10 |
paultag | <paultag> sudo chroot chroot/ bash -c 'apt-get update && apt-get upgrade && bash' | 16:10 |
paultag | <paultag> if phil gets back, someone paste that for me | 16:10 |
paultag | <paultag> I have to do some work ( at work ) | 16:10 |
philinux | Not quit | 16:10 |
philinux | paultag: nice try but terminal quits | 16:11 |
paultag | philinux, I'm calling BS on that | 16:11 |
paultag | philinux, I just ran it and it works here | 16:11 |
philinux | Just ran the script and the terminal vanishes | 16:12 |
paultag | sec | 16:12 |
philinux | hang on | 16:12 |
paultag | philinux, http://paste.ubuntu.com/476986/ | 16:12 |
paultag | philinux, yeah I'm calling B.S. | 16:12 |
philinux | paultag: It doesn't run the update just exits pronto | 16:14 |
paultag | philinux, it works here. Something is going wrong over there :) | 16:14 |
paultag | philinux, the only way it will fail is if the update or upgrade fails | 16:14 |
philinux | http://paste.ubuntu.com/476989/ Line 10 works as expected. | 16:16 |
paultag | philinux, I don't know what you're doing | 16:17 |
paultag | philinux, let me clarify | 16:18 |
philinux | If I run it with line 10 active this is what happens | 16:18 |
paultag | philinux, http://paste.ubuntu.com/476990/ | 16:19 |
paultag | philinux, it runs fine | 16:19 |
paultag | philinux, there's my log | 16:19 |
philinux | paultag: http://paste.ubuntu.com/476991/ | 16:22 |
philinux | Thats the result from my script with line 10 active | 16:22 |
paultag | philinux, I don't really care about that part | 16:22 |
paultag | philinux, paste the apt-get update && apt-get upgrade | 16:22 |
paultag | philinux, there is an error in that, there is no other reason bash would not start | 16:23 |
philinux | Wheres' the error located? | 16:23 |
paultag | philinux, you tell me :) | 16:24 |
philinux | Ok well I'll just stick with my original script it works apart from having to copy and paste update upgrade bit into the command line | 16:25 |
paultag | philinux, could you please run my commanad and paste the error so I can help you get apt working, so your shell works? | 16:25 |
paultag | philinux, we can talk about it all day, but I need to know what error it is | 16:25 |
philinux | If I run the script with this: sudo chroot chroot/ bash -c 'apt-get update && apt-get upgrade && bash' I dont get any errors the terminal just quits | 16:26 |
philinux | If I manually run it it gives this. | 16:27 |
philinux | sudo chroot chroot/ bash -c 'apt-get update && apt-get upgrade && bash' | 16:28 |
philinux | chroot: cannot change root directory to chroot/: No such file or directory | 16:28 |
paultag | well dur | 16:28 |
paultag | philinux, change chroot/ to /mnt/whatever | 16:28 |
paultag | philinux, chroot is what i'm using here | 16:28 |
philinux | Ah change what? | 16:28 |
paultag | /mnt/lucid/ | 16:28 |
paultag | philinux, sudo chroot /mnt/lucid/ bash -c 'apt-get update && apt-get upgrade && bash' | 16:28 |
philinux | chroot: cannot change root directory to /mnt/lucid/: No such file or directory | 16:29 |
paultag | philinux, ... | 16:29 |
paultag | philinux, did you write that script? | 16:29 |
philinux | No got it off forums I think | 16:30 |
paultag | that explains it | 16:30 |
paultag | philinux, put that in your script | 16:30 |
paultag | philinux, chroot/ refers to a dir where the sdb device is mounted | 16:30 |
paultag | philinux, change that path to match the mount command's | 16:30 |
philinux | This is original script I cobbled together. http://paste.ubuntu.com/476995/ | 16:32 |
philinux | Running this get me the root prompt | 16:33 |
philinux | Commands entered after line 10 are just ignored | 16:34 |
paultag | philinux, http://paste.ubuntu.com/476997/ | 16:34 |
paultag | well yeah | 16:34 |
philinux | Yes Yes | 16:37 |
philinux | paultag: Cheers | 16:38 |
paultag | philinux, no problems | 16:38 |
paultag | problem * | 16:38 |
philinux | was it the /bin/bash causing the problem or what | 16:39 |
paultag | no philinux | 16:40 |
paultag | philinux, you had the wrong path | 16:40 |
paultag | philinux, or if you had the chroot before it then it won't execute until that ends | 16:40 |
paultag | philinux, I don't know | 16:40 |
paultag | it just makes sense if you write it from scratch | 16:40 |
philinux | Sorted now anyway | 16:41 |
paultag | yuppers | 16:41 |
=== simar__mohaar is now known as simar | ||
raymac007 | I have a headless linux server. I want to do a fresh install in linux. Can this be done via ssh? | 18:08 |
raymac007 | . . . a fresh install of linux. | 18:08 |
drubin | r<tab> no | 18:16 |
siculars | hey gang, in ubuntu server , outside of top, how can i figure out which processes are using x memory? a fresh boot of ubuntu comes up using like 300+ mb ram | 18:28 |
paultag | siculars, give "ps -eo pmem,pcpu,rss,vsize,args | sort -k 1 -r | more" a try | 18:30 |
drubin | holy cow. Hope you had that saved some where :) | 18:31 |
siculars | whoa. bash hackery ftw | 18:31 |
paultag | ( process memory, process cpu, res. set size, vm side, args ) | 18:31 |
paultag | siculars, :) | 18:32 |
drubin | but still ;-p | 18:32 |
paultag | drubin, aye, I keep a ninja kit | 18:32 |
drubin | paultag: ^5 | 18:32 |
paultag | ^5 | 18:32 |
paultag | siculars, all set? | 18:32 |
siculars | so i should be looking at the vm size? | 18:32 |
siculars | whats res.set sieze | 18:33 |
paultag | siculars, the first column is the memory size | 18:33 |
paultag | siculars, resident set size | 18:33 |
paultag | siculars, http://en.wikipedia.org/wiki/Resident_set_size <-- this does it better then me | 18:33 |
paultag | Resident Set Size is the portion of a process's memory that is held in RAM. The rest of the memory exists in swap or the filesystem (never loaded or previously unloaded parts of the executable). | 18:33 |
siculars | o0o | 18:33 |
paultag | siculars, might help debug ninja ram users | 18:34 |
siculars | is it possible that free -m is reporting such a high number of mem usage due to including the 256mb swap ? | 18:34 |
* Mohan_chml says paultag is a geek, but he twists the answers for the beginners :P | 18:34 | |
siculars | cause i find it hard to believe the system is using that much ram with nothing running on it | 18:34 |
paultag | siculars, there should be a swap column -- the Mem: column is your hardware only | 18:35 |
siculars | its a 512mb linode ubuntu vm | 18:35 |
paultag | Mohan_chml, siculars here is not a beginner :) | 18:35 |
paultag | Mohan_chml, he's using shell only on a vps, he can handle it | 18:35 |
Mohan_chml | Wow | 18:35 |
siculars | not a complete beginner ;) | 18:35 |
paultag | siculars, what services are you running? | 18:35 |
paultag | siculars, any chance this is a webhost? | 18:35 |
siculars | but this is sort of a beginner question , no ? | 18:36 |
* Mohan_chml dk what paultag said with a whole command line keywords | 18:36 | |
paultag | siculars, meh, but we can help, we're cool like that :) | 18:36 |
siculars | its just running nginx , which comes up in your bash-fu but is negligible (cause its nginx and not ... apache) | 18:36 |
paultag | siculars, have you tweeked mysql and apache2 to cut it's ram fat? | 18:36 |
paultag | :) | 18:36 |
paultag | siculars, try this. I worked with another guy in here to cut my vps down to almost zero usage. Sec | 18:37 |
paultag | siculars, I went from | 18:37 |
paultag | Requests per second: 13.21 [#/sec] (mean) | 18:37 |
siculars | here is my output from the bash-fu | 18:37 |
siculars | http://pastie.org/1088762 | 18:37 |
paultag | to Requests per second: 1942.31 [#/sec] (mean) | 18:37 |
siculars | im really not running anything on it yet ... | 18:38 |
paultag | siculars, what's free -m | 18:38 |
Mohan_chml | paultag, you are mean!! @_@ | 18:38 |
paultag | Mohan_chml, :) | 18:38 |
Mohan_chml | (: | 18:38 |
paultag | siculars, FY(future)I -- http://blog.bodhizazen.net/linux/optimize-wordpress-for-speed/ | 18:38 |
siculars | and this is 32b ubuntu ... not 64b mem pig ubuntu | 18:38 |
paultag | siculars, hehe, +1, I'm with you 100% | 18:38 |
paultag | siculars, what's the free -m dump look like? | 18:39 |
siculars | http://pastie.org/1088766 | 18:40 |
paultag | siculars, thanks, that was going to be my next question. You're nothing close to a beginner, thanks for the tidy kickback :) | 18:40 |
paultag | Oh shoot, I think I know... | 18:41 |
siculars | i really don't get it ... | 18:41 |
paultag | I read this obscure article once siculars | 18:41 |
paultag | siculars, let me try and find it, it explains whats going on | 18:41 |
paultag | ( better then I could do right now ) | 18:41 |
siculars | thanks , much obliged paultag | 18:42 |
paultag | siculars, sure, give me a sec to find it, it was on a mailing list or some no-name blog | 18:43 |
siculars | whoa . i asked this question on the linode chan (irc.oftc.net) and like 10 ppl replied with http://www.linuxatemyram.com/ | 18:45 |
paultag | Thats it!! | 18:46 |
paultag | siculars, hahaha, that's the one | 18:46 |
paultag | siculars, give them my thanks, I needed to get that link again | 18:46 |
paultag | siculars, :) | 18:49 |
siculars | ya , that was pretty noobtastic . stupid disk buffers screwing with my free mem readouts makin me all crazy | 18:50 |
paultag | siculars, no no no, not at all | 18:50 |
siculars | according to my new understanding i have 467 mb free on a 512 node . that makes me happy | 18:50 |
paultag | siculars, you would not know unless you are a kernel guy who works on the disk optimizations | 18:51 |
paultag | siculars, I had to be told, and I've been using since 01 | 18:51 |
siculars | ya , im looking to run some stuff on this box .... nginx , nodejs , redis and riak for a demo at tonights nyc.js | 18:53 |
philinux | Another minor problem. Cant seem to access a printer. It's shared it says. Here's the network. http://filebin.ca/vzvhs/Network.odg | 18:57 |
philinux | Cant access it from laptop. Not bothered about access from xp machine | 18:57 |
=== bootstrap` is now known as bootstrap | ||
paultag | siculars, nice :) | 19:00 |
paultag | siculars, do you live in NY? | 19:00 |
siculars | ya | 19:00 |
paultag | siculars, yankees SUCK | 19:01 |
siculars | paultag: lol | 19:01 |
paultag | siculars, Boston guy here | 19:01 |
siculars | paultag: but they win ;) | 19:01 |
paultag | siculars, we have twice the wins you do this millennium | 19:01 |
siculars | but what do you have to show for it | 19:01 |
paultag | siculars, the best damn team in the nation | 19:01 |
paultag | siculars, I was just down in long island not too long ago | 19:02 |
paultag | pretty rad, NYC is nice for a few days ;) | 19:02 |
siculars | or ... forever ! | 19:03 |
paultag | over my cold hard sox-loving body | 19:03 |
siculars | nyc ftw . don't get me wrong , boston is nice for a visit . but its just so ... small | 19:03 |
philinux | Come on guys have a look at my network. | 19:03 |
paultag | siculars, nyc is just so... dirty | 19:03 |
paultag | philinux, Humm, oh right. sec | 19:03 |
philinux | Cheers. I think I need to find it's IP address. I'm not a networking expert at all | 19:04 |
paultag | philinux, is ubuntu laptop on the router again? | 19:04 |
siculars | best thing to come out of boston outside of your uni's are matt daemon ben aflack movies | 19:04 |
paultag | erm, not again* | 19:04 |
philinux | paultag: yes laptop see router wirelessly just fine | 19:04 |
paultag | siculars, bah :P | 19:04 |
siculars | paultag: hehe | 19:05 |
paultag | siculars, we have some awesome beans | 19:05 |
paultag | siculars, and a flood of molassis that killed some people | 19:05 |
philinux | paultag: ubuntu machine is connected to router by two homeplug units so it's directly wired | 19:05 |
paultag | philinux, is cups running on the machine? | 19:05 |
paultag | ubuntu machine | 19:06 |
philinux | paultag: yes ubuntu machine can print to printer just fine | 19:06 |
paultag | philinux, http://localhost:631/ | 19:06 |
paultag | philinux, see if that helps any | 19:06 |
philinux | Yep been there, although I've set the printer to shared cups says it not shared. How do I get it's IP address | 19:07 |
paultag | philinux, ifconfig | 19:07 |
philinux | right so I use that command on the machine connected to the printer | 19:07 |
paultag | philinux, ifconfig | grep inet\ addr | tr ":" " " | awk '{print $3}' | 19:07 |
paultag | philinux, on the printer host | 19:07 |
philinux | Cheers. I'll give that a go tomoz when I'm at GF's. | 19:08 |
paultag | philinux, sure thing | 19:08 |
philinux | It's beer oclock now so thanks for help | 19:08 |
paultag | philinux, cheers | 19:08 |
paultag | siculars, say, are you on IRC often? | 19:09 |
siculars | ya , just not in this chan | 19:09 |
siculars | people who hit an ubunut-beginner chan on irc cant be that beginner | 19:09 |
paultag | siculars, we're always looking for good talent to help around here, you've got the right kind of 'tude and know-how | 19:09 |
paultag | siculars, nah :) | 19:09 |
paultag | siculars, #ubuntu-beginners-team is where we "hang out", if you're interested | 19:10 |
siculars | o0o | 19:10 |
siculars | lets take a look | 19:10 |
paultag | siculars, we also have a dev team that needs some love, you mentioned you were a JS guy? | 19:10 |
=== zkriesse_ is now known as zkriesse | ||
nika_ | hey, so I got a question to the tune of "should I install in the first place", is this the right place to ask? | 22:11 |
seidos | nika_, whether or not you should install in the first place is a personal decision, even assuming ubuntu will work perfectly on your hardware | 22:14 |
pedro3005 | You can always go back if you don't like it | 22:18 |
nika_ | i understand :) it's more like, how much fidgeting with the config can I expect on a netbook install? has anyone here done it? my experience is, the more recent/common the hardware, the less fine-tuning, and vice-versa. But i'm thinking of buying a new netbook, which i know nothing about. | 22:18 |
seidos | nika_, you should check out the hcl located here: http://www.ubuntuhcl.org/ | 22:19 |
nika_ | thanks | 22:19 |
seidos | I'm not entirely sure "newer" necessarily means "more compatible" | 22:19 |
seidos | I never installed on a netbook, just a laptop and desktop | 22:20 |
nika_ | yeah, ok, wow. thanks seidos, that website has more info than i can process in one stare :) | 22:21 |
seidos | nika_, I would recommend against buying anything that has less than a 5 rating on the hcl, if possible. But I have looked at netbooks on the hcl. | 22:24 |
seidos | s/have/haven't | 22:24 |
nika_ | ok, will keep that in mind | 22:24 |
=== kermiac-work is now known as kermiac | ||
raubvogel | How do I specify which repository to use during a fresh ubuntu install? | 22:51 |
phillw | raubvogel: have a read through https://help.ubuntu.com/community/Repositories/Ubuntu | 22:59 |
phillw | that gives all the details of altering things | 22:59 |
raubvogel | phillw: I am running a sed script to change the repositories post-install to my internal one. I was just wondering if I could change it *during* the initial install. | 23:08 |
phillw | raubvogel: you'd have to ask one of those on here; I do not know the answer to that | 23:09 |
phillw | paultag: ping ^^ | 23:10 |
paultag | phillw: second, quad tasking | 23:11 |
paultag | wait around, I'll get back to this task in less then an hour | 23:11 |
phillw | raubvogel: he will get back, so please do wait | 23:12 |
=== Laggg is now known as Laggg|newb |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!