[02:02] anyone there? [02:02] resc_user_2809: yes [02:02] !ask [02:02] Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [02:05] Great. Well, I've got a problem that I can't seem to figure out. I'm running from rescatux, as you can probably tell because I'm have problems with my Wubi install. Everything was going fine last night until I sut my maching down. Then I booted up not to long ago into ubuntu and got dropped into GRUB. I'm faily new to linux so I'm a little perplexed as to how to get ubuntu to boot. I tried rescatux to see if I could restor [02:05] e grub but it gave me an error. I ran the filesystem checks and everything is fine so anyone think they could help me out. Thanks. [02:08] what errors are you getting [02:09] "Grub was not installed. Something went wrong! :(" [02:10] resc_user_2809: have you tried doing a re-install of wubi [02:11] I haven't yet, though I kind of hope there is a way I can get it worked out without a reinstall. I don't want to lose everything on ubuntu. :/ [02:11] one sec [02:12] resc_user_2809: per the wubi wiki: Never try to correct Wubi boot problems by reinstalling Grub2 [02:13] resc_user_2809: https://wiki.ubuntu.com/WubiGuide [02:13] resc_user_2809: you may have to choose which route you want to take [02:14] alright. I'll take a look at the guide. Maybe I'll be able to find something that will help me boot again. thanks. [02:15] i would look into backing up files and doing the reinstall again [02:17] Yeah. That may be what I end up doing. Alright, I'm gonna see what else I can find out. Thanks again. [02:20] is anyone using dual monitors? [02:21] CacheMoney: nope sorry [02:28] CacheMoney: I do at work, what's youre question? [02:29] your* [02:52] can i have your monitor? [03:04] Is MSN safe on ubuntu against hackers? [03:06] StepNjump: No protocol is particularity safer than the other. [03:07] However, if security is something you're interesting in, I recommend privacy plug-ins in your instant messaging applications like OTR and Privacy Please. [03:07] OTR is used in Pidgin, Kopete and other clients, I believe (even XChat) [03:07] jalcine, its because I read that msn doesnt use encryption but other messengers like AIM do... I know this guy is a hacker but he is requesting me to add him on MSN. I wouldnt want him to break in my computer. If I dont click on links, should I be ok? [03:08] It's probably noteworthy to mention that privacy and security are not the same thing... [03:08] jalcine mmm OTR! I will look into that. Yes I use kopete [03:09] StepNjump: It's unlikely that someone would be able to compromise your system directly through a messenging service. Most messenger services got clever a long time ago, and realized there needed to be a "middleman" server that they control between the two people chatting for this very reason. I would however avoid creating a direct connection, and of course I shouldn't need to mention don't download files from the individual. [03:09] dangertux: you're right, shouldn't have made a careless mistake like that. [03:10] It's not really careless, it's easy to lump the two together. [03:10] afk for a bit [03:11] dangertux ok you mean like no DCC chat? [03:11] StepNjump: Exactly. [03:11] ok sure... thank you for your help guys [03:11] StepNjump: Endpoint encryption also won't help in this case, since you're communicating with the person, it would be decrypted for them... So third parties would not be as much of a concern. Good luck! [03:12] Ok I read that if not encrypted, he could read what I write to other people in an article yesterday === jalcine is now known as webjadmin_ [06:21] Hello My name is Kaung. [06:22] How to rebuild the Ubuntu OS? [06:25] How to start for build Ubuntu OS? [06:26] Kaungkub, do you mean install? [06:26] Not [06:26] !patience | Kaungkub [06:26] Kaungkub: Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or http://ubuntuforums.org or http://askubuntu.com/ [06:27] Kaungkub: you want to build Ubuntu from scratch? [06:27] Rebuild Ubuntu OS by source code .iso? [06:27] I'm not sure [06:27] There's ISOs begging for you to download them. [06:28] Kaungkub, there is a minimal cd for a netload. [06:28] Umm, I have source code by this ling [06:28] link [06:28] http://mirror.anl.gov/pub/ubuntu-iso/DVDs/ubuntu/11.10/release/source/ [06:29] How to start build OS by source code? [06:31] Aha, Me too. [06:31] g'night [06:31] But, I don't know [06:31] hi everyone. just wondering how to edit startup applications. I noticed the 'startup applications' application..but the app I added doesn't seem to be starting [06:32] for build [06:32] Yep, [06:32] But, How to build the source code. [06:33] Help me pls. === angela-android is now known as nothingspecial [10:25] o/ [18:09] Goodbye. [18:34] <_ted__> hello all, new potential ubuntu user here with a few questions... :) [18:36] <_ted__> i have tried ubuntu on a usb stick and really like it, it's pretty confusing to start out but I think I can get on with it.... however running it off USB is a little slow so I wanted to try it on a laptop [18:37] <_ted__> i have an old NEC machine kicking around that has a restore partition on it (press Fsomething during startup on the NEC splash screen), will installing ubuntu on the 'normal' HD remove this functionality? [18:46] I do not think so _ted__. However try searching in ubuntu forums too [18:58] <_ted__> thanks m0hi - just trying to register at ubuntu forums, waiting for the verify email :) [18:58] okeis =] [18:59] <_ted__> is there a general rule for partitioned sections of an HD? it's a hidden partition of some sort as i cannot view it in windows explorer [19:00] <_ted__> [followon] if i run ubuntu on the usb stick, will the file manager in there be able to "see" any hidden partitions? [19:04] yes [19:06] <_ted__> hmm, i think i might go and scope that out then, i will be back no doubt.... i am the uber noob :) [19:06] <_ted__> thanks :) [19:46] hello all :) [19:46] Hello ukchris [19:47] Hello :) [19:48] hi catlover2 [19:48] I am new to ubuntu (running 11.10 on a USB for now) and am trying to view the full file structure of the machine (essentially my computer on a windows system), what is the best way to do this? [19:49] *context* trying to find a possibly hidden restore partition that may reside on this laptop [19:49] ukchris, click file system in the left hand pane of the file browser [19:50] But if the partition is not mounted it will not be there [19:51] ok, so essentially it will be able to see the area already prescribed as 'the linux' partition? [19:51] and not say the main hdd? [19:52] If the other partitions have been mounted automatically they will be under /media when you click file system [19:53] here it only finds 'cdrom' which i presume is the cdrom drive, under devices (in the left hand panel) i can see HDD but clicking on it gives me a mount error --- 'exit code 21' [19:54] ps please excuse my VERY beginner qs :) [19:55] no problem that is the idea of this channel [19:57] ukchris, press Ctrl-Alt-T, then type [19:57] sudo fdisk -l [19:58] paste the out put in the paste bin http://paste.ubuntu.com/ then post the url here [19:59] done : http://paste.ubuntu.com/880884/ [20:00] presume sudo fdisk is sort of like dir/p in dos? [20:00] no idea ukchris :) [20:00] *shows age* :) [20:00] ukchris: a bit. [20:01] * nothingspecial shows complete lack of interest in computers until his 30s [20:01] please, no 5 1/4 inch floppy jokes :) [20:02] ok so I assume that /dev/sda1 is your hidden recovery partition [20:02] and /dev/sdb2 is your windows installation [20:02] looks like it nothingspecial, looking at the pastebin, there looks like two 'drives', one stock NTFS and one hidden, this latter is probably the restore partition [20:03] so what did you want to do with it? [20:03] get inside it? [20:03] LOC! [20:03] ? [20:04] no, leave it intact when i install ubuntu over the windows installation. the restore partition is a windows install that I may need in the future if i ever need to get this machine back to factory state :) [20:05] nothingspecial: low orbit cannon [20:05] ok, so do you know how to do that? [20:05] been wanting to try ubuntu as my 'hobby' os on this old laptop for awhile but may need to give it back to work one day [20:06] nothingspecial > no, hoping the install will allow me to choose a location BUT read some confusing stuff about 'GRUB' amending booting so any manufacturer boot options are no longer accessible..... [20:06] I see, well during the install you will be asked how you want to install ubuntu, you choose "something else" [20:07] problem is i don;t know what GRUB is? lol :) [20:07] grub is a linux bootloader [20:07] ahh, and is it integral to the OS? [20:08] Well it will let you boot whichever OS [20:08] where as mbr will not ;) [20:09] right, so if i don't want dual boot i can just install onto the current windows part of the drive and the boot will remain as is... i.e. manufacturer splash then OS? [20:09] But to be honest I have never had a windows recovery partition so I can't tell you with absolute certainty how you deal with it when installing ubuntu [20:09] i'm guessing you have a custom rig so don't see any manufacturer splash screen on start up? [20:10] no no, you see the splas, then grub loads [20:10] splash [20:10] and let's you choose between OSes [20:10] I run a dual-boot (or tri-boot, if you add the recovery part) of Windows 7 and Ubuntu. [20:10] ahh, that's good then, so theoretically i should be ok [20:11] jalcine > and the recovery is factory installed? [20:11] Yup. [20:11] and when you installed ubuntu you just selected the relevent partition and away you went? [20:11] I had to keep the Windows partition for the family, so I just resized the Windows partition and cut out 4 GB for swap (pagefile on Windows) [20:12] ukchris: you can do that, too, yes. [20:12] nice :) made me a happy man, thanks you guys [20:12] Thanks Ubiquity :P [20:12] That's the installation utility for Ubuntu. [20:13] got to go [20:13] cya [20:13] take care nothingspecial, cheer man :) [20:14] i'm currently running from a usb pen and when i start from here i get an option to install to hard drive, is this the best way to install ubuntu over an existing install (after backing up files - easy as it is a clean install anyway)? [20:17] Typically, yes. [20:18] You can run Ubuntu alongside Windows, though it'd be a tad bit slower. [20:18] !wubi [20:18] Wubi is an Ubuntu installer for Windows users that allows you to install and uninstall Ubuntu like a Windows application, in a simple and safe way. http://wubi-installer.org/support.php and https://wiki.ubuntu.com/WubiGuide for troubleshooting. Please file bugs at http://launchpad.net/wubi/+filebug. For Ubuntu Oneiric/11.10 http://releases.ubuntu.com/oneiric/wubi.exe [20:18] Very, very useful if you don't want to touch Windows but want Ubuntu. [20:20] yeah ithought about that but have a couple of other machine running various iterations of windows (a work laptop and a personal desktop), this is an old POS from the office that I use to play with new things (but eventually they'll want it back - hence wanting to keep a way of setting it back to stock) [20:20] i reckon it is too old to really work as a dual boot or 'within' anything [20:21] the usb pen works OK but I like it and want to dig a little deeper [20:22] Okay, in the installation window, there's typically a window showing the drives available. [20:22] From there, you should be able to select the one you want to use for Ubuntu's install. [20:23] The smaller one is (of course) the recovery partition so you just avoid clicking it. [20:23] hopefully that will show the restore partition as a seperate drive given that the previous command shows the two drives as seperate drives (sda 1 &2) [20:23] it does. [20:23] partitions are shown separately. [20:24] excellent stuff, i can see linux and i getting on just fine :) [20:24] :D Hope to see you back here soon, be it for support or to hang out :) [20:25] i have no doubt jalcine! :) [20:25] i will have a load of general questions about applications i have no doubt, and when i learn things it is always good to pass them on :) [20:26] So true, that's why we here at UBT do our best to reach everyone. [20:26] The ubuntu wiki https://wiki.ubuntu.com is filled with information over the time of user experiences. [20:26] and our little factoid bot helps out too. [20:26] ;ubuntu [20:28] most people i speak to have nothing but good things to say about mving to a *nux and most point out *buntu as a good place to start but like anything getting from NO knowledge to even a little knowledge is the steepest part of the leanring curve :) [20:28] It is. [20:29] i originally bought a ps3 to try linux but that went awry when the kids wanted new games and sony stopped support [20:30] taken awhile to swing a machine that is essentially superfluous :) [20:31] heh I do hope you enjoy your time. I'm looking at lines of backtraces atm. [20:31] general qs: any recomendations for a 1) newsreader; 2) mediaviewer; 3) basic photo edit (i.e. irfan esque) [20:32] and is an ti-virus required on a linux only machine? [20:32] Ah, well, one question, you're installing Ubuntu or a different version of it (like Kubuntu, Lubuntu)? [20:33] ubuntu 11.10 (latest downloader on the site) - may end up with long term release but want to try bells and whistles first [20:34] Ah, well, I'm using Kubuntu, so in terms of recommending applications, it'd be sparse. [20:34] For media: RhythmBox for music and VLC for video [20:35] News reader like feeds? I use Akgreator on Kubuntu, but I'm not familiar with a Gnome reader. [20:35] ;GNOME [20:35] ahh VLC has a version for linux, that is a bonus :) [20:36] jalcine: !gnome [20:36] Unit193: thanks. [20:36] !gnome [20:36] news reader like news groups, i work in academia and we are still old schoool enough to post stuff in alt.text :) [20:36] GNOME is the default !desktop environment on Ubuntu up to 10.10 To install it from Kubuntu or Xubuntu, type « sudo apt-get install ubuntu-desktop » in a !terminal. [20:36] ukchris: that's before my age! lol, but I'm not sure about that one. [20:37] there'll be something out there i have no doubt :) [20:38] right, i'm off to goo and install and play, see you guys soon and thanks :) [20:47] where would i type a start up script to run for a specific user as soon as they log in to a server? [20:53] philipballew: Are you talking about as soon as they login to ssh? You could add it to their .bash_profile file or just .profile would work as well. [20:53] philipballew: Those files would be found in their home directory (since I didn't specify it) [20:55] my memory is loaded at 90% and my CPU is running around the same. I was wondering.. If I were to put more RAM in my computer, would my CPU start cooling down a bit? [20:56] StepNjump: Not necessarily, CPU and Memory consumption are not really tied. If you were swapping out to disk a lot I would say that adding RAM would help. [20:57] StepNjump: By default linux tries to cache as much as it can in memory (it's faster than reading it from the disk) so ideally you want to see your memory being consumed. [20:59] dangertux, its actually a telnet session [20:59] philipballew: It should still apply, it's whenever their shell is loaded (by anything including at the console) [21:00] this is a headless install and i need the user to connect as soon as the loggin. ans then stay logged in dangertux [21:00] where in the .profile? [21:00] philipballew: .profile should be in their home directory. Neither file is probably created by default (specifically if it's a new user) I would add .bash_profile [21:00] thats right. [21:01] sorry its monday [21:01] philipballew: Then just add whatever you want them to run you can just try a quick test put echo "hello word" in .bash_profile and try logging in as that user [21:01] philipballew: when their shell executes it should execute that as well. [21:02] philipballew: Obviously if you want them to automatically start some program you could just make that a wrapper for the program [21:02] but if i put telnet user name and password in the file it will autologgin i guess [21:02] philipballew: You'd probably have to put something like echo "password" [21:02] woops [21:02] philipballew: echo "password" | telnet o 111.111.111.111 [21:03] or something like that [21:04] philipballew: That should actually (if telnet can except the input from stdin) autoconnect them without prompting for a password [21:04] dangertux, there is a password [21:04] philipballew: if that's what you want (there username would also probably have to be the same on the telnet server) [21:04] the user name is public I believe [21:05] its for a library for work [21:05] philipballew: So...let's say that my password is tuxxy and my username is public. The user public would have the following in it's .bash_profile echo -e "tuxxxy" | telnet o telnet.server.ip [21:06] philipballew: that SHOULD log them in automatically. (you might have to tweak the pipe, and there may be a switch for telnet instead of piping echo) [21:07] dangertux, lets say the servers name is bob would i just do [21:07] philipballew: Or is that not what you're wanting to do? I might be misunderstanding. [21:07] echo -e "tuxxxy" | telnet o telnet.bog [21:07] ok [21:07] here is exactly what i want to do: [21:08] have the computer automaticly login to a telnet session to a local server and then never log out untill i say so [21:08] philipballew: okay then the above command you posted should be right (I don't have a telnet server handy to test) [21:08] all after i log in to the user account i made called booksearch [21:08] i do. ill play with it [21:09] philipballew: The onyl thing is they could always ctrl+c out of it so you'll need to set the command up in some kind of infinite while loop [21:10] dangertux, that wouldnt be to hard right? [21:10] no it's jsut a bash while loop that never ends [21:10] philipballew: so just set a variable call it var equal to 0 and while var=0 do your command [21:11] and this goes into my .bash or .profile? [21:11] philipballew: if your command returns an exit code (like if they control+c) it restarts the loop [21:11] philipballew: I would say create .bash_profile [21:11] philipballew: or .profile would probably work just fine .bash_profile is the more "linux way" .profile is the "ubuntu" way but they all go to the same place. [21:13] okay. so echo -e "password" | telnet o serverdomain [21:13] and then make it loop? [21:13] philipballew: Yep that should work, like I said you might want to man telnet, there may be a specific switch you can give it to take data from stdin. [21:14] yeah, and dangertux I need to make it never timeout [21:17] philipballew: So long as you don't configure the client to timeout , I believe that it won't time out unless the physical network fails [21:17] its worth a shot. now to just make it loop [21:17] philipballew: outside of that I know you can specify notimeout with perl or python scripts, but I think the rest may just be on the server side (I don't happen to have xinetd handy to test) [21:18] my work wont give me accsess to that [21:18] * philipballew shouldnt have said he works for anonymous in the interview [21:19] lol [21:19] Well you can nicely ask the sysop if there is atimeout [21:19] and they can probaly work with you [21:19] true, any timeout would be on the server or client side? [21:19] http://www.cyberciti.biz/faq/bash-infinite-loop/ [21:20] philipballew: It can be specified on both, however by default I believe the client will assume there is to be no timeout unless you specify one [21:20] philipballew: The server can also time the connection out, which we've established you don't have control over. [21:20] alright. if it times out ill have to call the admins [21:20] they dont like me after saying i dont like going to a school that uses windows server 2003 [21:21] That script should get you where you want to be also... [21:21] yea. i just found it [21:24] dangertux, what would I want to add to this? http://paste.ubuntu.com/881007/ [21:26] philipballew: I mean technically nothing, it's fairly rudimentary and they could quite easily escape that still. But it should be enough deterrent to keep anyone from trying too hard. Unless of course you want to add some additional functionality. Which should be in the program that this telnet session is offering anyway right? [21:27] philipballew: You might get rid of the sleep 1 [21:27] philipballew: Would make it slightly harder to escape from the session. [21:27] http://paste.ubuntu.com/881012/ [21:28] would I need to set a variable for while though? [21:28] Not in this case, if you don't specify a variable or condition it assumes it is true [21:28] that's what makes that loop infinite [21:28] and would the done make the script stop? [21:29] philipballew: When the condition becomes false [21:29] philipballew: Which it never does, because it's an infinite loop [21:29] philipballew: the done is spurious it does nothing in this case. [21:29] so my script is good as is to test I think dangertux [21:29] philipballew: Yeah give it a shot and see if it works. [21:30] alright. hold your horses [21:30] philipballew: if anything the telnet commadn will give you issues I'm afk for a minute brb though [21:30] okay [21:34] back [21:39] dangertux, I get the error could not resolve o/my.domain.name: servername not supported for ai_socktype [21:42] ill get rid of the o [21:42] philipballew: Yea hti might be that... but... [21:42] yeah it* [21:43] philipballew : yep that o is a windows thing lol [21:45] i see that now :) [21:45] its all good [21:46] so it works then? [21:57] dangertux, I get an error saying: [21:58] Connected to servername.school.edu. [21:58] Escape character is '^]'. [21:58] Connection closed by foreign host. [22:02] does that ring anything === yofel_ is now known as yofel [22:27] philipballew: That's not an error that means it connected, but for some reason disconnected afterwards. [22:32] dangertux, what would make that happen? server side? [22:33] because just pasting echo -e "password" | telnet servername.domain.edu into my terminal on my laptop produces the same error [22:36] philipballew: Does connecting with telnet hostname then logging in properly work correctly? [22:37] yes dangertux [22:38] philipballew: Try telnet -a hostname [22:38] in the same convention [22:39] no, same error. :) [22:39] philipballew: is the username on the local system the same as the remote is expecting? [22:40] thats it!! [22:40] the user name is not in the scritp [22:40] http://paste.ubuntu.com/881048/ [22:40] the user name is public [22:40] well the -a flag pulls the username from the environment [22:41] so you'd want to add export USER=public to your script (probably outside of the loop) [22:41] the user name on the desktop is different then the one in the server. let me try to add this [22:42] i can just change the users name to public as well [22:42] http://paste.ubuntu.com/881116/ [22:43] philipballew: I'm pretty sure that the variable needs to be exported. [22:43] philipballew: that just sets the USER variable in that script, telnet is pulling it from your environment. [22:44] the user name is public i need to connect with. so is my script good then? [22:45] philipballew: If you change your script to read export USER=public [22:45] philipballew: as opposed to just USER=public [22:47] lets test it [22:51] You'll have better luck using something like expect to automate a telnet session [22:52] dangertux, and change it to be a then e? [22:52] Yeah that's what I was thinking [22:52] #tcl might be able to help out with that [22:52] hold on a sec philipballew [22:52] * philipballew holds! [22:53] philipballew: try sometihng like this http://paste.ubuntu.com/881133/ [22:54] ill try it right now [22:55] dangertux, should i install expect [22:55] dangertux: If you want that to work lol [22:55] But the question is would you be able to install it on the computers at your work? [22:55] if not then this is a moot point [22:56] they dont care if i install it on the client desktop no. i cant touch the server though [22:56] You don't need it on the server just the client. [22:57] sudo apt-get install expect [22:59] they dont care what i do, they just hired me bacause i know "linux" and they dont [22:59] but telnet, never used it till today [23:16] dangertux, the script runs then spits out a few errors. Where can I see these errors [23:16] logs of what? [23:16] messages? [23:17] or syslog maybe [23:19] is it a problem if i have the # still in the script? [23:20] yeah...take out the comments [23:20] I'm not sure that expect knows what to do with those [23:20] Try running it seperately you wil lhave to wrap it to execute it, you can't call it from directly inside your loop either [23:20] so make that a seperate file then execute it from within your script [23:21] when i type the scriot in my terminal is says No command 'spawn' found, did you mean: [23:21] Command 'spawg' from package 'spawg' (universe) [23:21] spawn: command not found [23:21] it's an expect script not a bash script [23:22] it needs to be executed in the context of expect [23:22] thats right... [23:26] http://smacak.wordpress.com/2010/08/15/automatic-login-expect-scripts-telnet-and-ssh/ [23:26] i might try this one dangertux