[02:02] <resc_user_2809> anyone there?
[02:02] <stlsaint> resc_user_2809: yes
[02:02] <stlsaint> !ask
[02:02] <ubot2`> 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] <resc_user_2809> 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] <resc_user_2809> 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] <stlsaint> what errors are you getting
[02:09] <resc_user_2809> "Grub was not installed. Something went wrong! :("
[02:10] <stlsaint> resc_user_2809: have you tried doing a re-install of wubi
[02:11] <resc_user_2809> 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] <stlsaint> one sec
[02:12] <stlsaint> resc_user_2809: per the wubi wiki: Never try to correct Wubi boot problems by reinstalling Grub2
[02:13] <stlsaint> resc_user_2809: https://wiki.ubuntu.com/WubiGuide
[02:13] <stlsaint> resc_user_2809: you may have to choose which route you want to take
[02:14] <resc_user_2809> 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] <stlsaint> i would look into backing up files and doing the reinstall again
[02:17] <resc_user_2809> Yeah. That may be what I end up doing. Alright, I'm gonna see what else I can find out. Thanks again.
[02:20] <CacheMoney> is anyone using dual monitors?
[02:21] <stlsaint> CacheMoney: nope sorry
[02:28] <dangertux> CacheMoney: I do at work, what's youre question?
[02:29] <dangertux> your*
[02:52] <sluckxz> can i have your monitor?
[03:04] <StepNjump> Is MSN safe on ubuntu against hackers?
[03:06] <jalcine> StepNjump: No protocol is particularity safer than the other.
[03:07] <jalcine> 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] <jalcine> OTR is used in Pidgin, Kopete and other clients, I believe (even XChat)
[03:07] <StepNjump> 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] <dangertux> It's probably noteworthy to mention that privacy and security are not the same thing...
[03:08] <StepNjump> jalcine mmm OTR! I will look into that. Yes I use kopete
[03:09] <dangertux> 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] <jalcine> dangertux: you're right, shouldn't have made a careless mistake like that.
[03:10] <dangertux> It's not really careless, it's easy to lump the two together.
[03:10] <dangertux> afk for a bit
[03:11] <StepNjump> dangertux ok you mean like no DCC chat?
[03:11] <dangertux> StepNjump: Exactly.
[03:11] <StepNjump> ok sure... thank you for your help guys
[03:11] <dangertux> 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] <StepNjump> Ok I read that if not encrypted, he could read what I write to other people in an article yesterday
[06:21] <KAUNGKUB> Hello My name is Kaung.
[06:22] <KAUNGKUB> How to rebuild the Ubuntu OS?
[06:25] <Kaungkub> How to start for build Ubuntu OS?
[06:26] <Fyodorovna> Kaungkub, do you mean install?
[06:26] <Kaungkub> Not
[06:26] <benonsoftware> !patience | Kaungkub
[06:26] <ubot2`> 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] <webjadmin_> Kaungkub: you want to build Ubuntu from scratch?
[06:27] <Kaungkub> Rebuild Ubuntu OS by source code .iso?
[06:27] <Kaungkub> I'm not sure
[06:27] <webjadmin_> There's ISOs begging for you to download them.
[06:28] <Fyodorovna> Kaungkub, there is a minimal cd for a netload.
[06:28] <Kaungkub> Umm, I have source code by this ling
[06:28] <Kaungkub> link
[06:28] <Kaungkub> http://mirror.anl.gov/pub/ubuntu-iso/DVDs/ubuntu/11.10/release/source/
[06:29] <Kaungkub> How to start build OS by source code?
[06:31] <Kaungkub> Aha, Me too.
[06:31] <webjadmin_> g'night
[06:31] <Kaungkub> But, I don't know
[06:31] <havok_> 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] <Kaungkub> for build
[06:32] <Kaungkub> Yep,
[06:32] <Kaungkub> But, How to build the source code.
[06:33] <Kaungkub> Help me pls.
[10:25] <s-fox> o/
[18:09] <s-fox> 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] <M0hi> 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] <M0hi> 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] <M0hi> 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] <ukchris> hello all :)
[19:46] <jalcine> Hello ukchris
[19:47] <catlover2> Hello :)
[19:48] <nothingspecial> hi catlover2
[19:48] <ukchris> 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] <ukchris> *context* trying to find a possibly hidden restore partition that may reside on this laptop
[19:49] <nothingspecial> ukchris, click file system in the left hand pane of the file browser
[19:50] <nothingspecial> But if the partition is not mounted it will not be there
[19:51] <ukchris> ok, so essentially it will be able to see the area already prescribed as 'the linux' partition?
[19:51] <ukchris> and not say the main hdd?
[19:52] <nothingspecial> If the other partitions have been mounted automatically they will be under /media when you click file system
[19:53] <ukchris> 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] <ukchris> ps please excuse my VERY beginner qs :)
[19:55] <nothingspecial> no problem that is the idea of this channel
[19:57] <nothingspecial> ukchris, press Ctrl-Alt-T, then type
[19:57] <nothingspecial> sudo fdisk -l
[19:58] <nothingspecial> paste the out put in the paste bin http://paste.ubuntu.com/ then post the url here
[19:59] <ukchris> done : http://paste.ubuntu.com/880884/
[20:00] <ukchris> presume sudo fdisk is sort of like dir/p in dos?
[20:00] <nothingspecial> no idea ukchris :)
[20:00] <ukchris> *shows age* :)
[20:00] <jalcine> ukchris: a bit.
[20:01]  * nothingspecial shows complete lack of interest in computers until his 30s
[20:01] <ukchris> please, no 5 1/4 inch floppy jokes :)
[20:02] <nothingspecial> ok so I assume that /dev/sda1 is your hidden recovery partition
[20:02] <nothingspecial> and /dev/sdb2 is your windows installation
[20:02] <ukchris> 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] <nothingspecial> so what did you want to do with it?
[20:03] <nothingspecial> get inside it?
[20:03] <jalcine> LOC!
[20:03] <nothingspecial> ?
[20:04] <ukchris> 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] <jalcine> nothingspecial: low orbit cannon
[20:05] <nothingspecial> ok, so do you know how to do that?
[20:05] <ukchris> 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] <ukchris> 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] <nothingspecial> I see, well during the install you will be asked how you want to install ubuntu, you choose "something else"
[20:07] <ukchris> problem is i don;t know what GRUB is? lol :)
[20:07] <nothingspecial> grub is a linux bootloader
[20:07] <ukchris> ahh, and is it integral to the OS?
[20:08] <nothingspecial> Well it will let you boot whichever OS
[20:08] <nothingspecial> where as mbr will not ;)
[20:09] <ukchris> 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] <nothingspecial> 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] <ukchris> i'm guessing you have a custom rig so don't see any manufacturer splash screen on start up?
[20:10] <nothingspecial> no no, you see the splas, then grub loads
[20:10] <nothingspecial> splash
[20:10] <nothingspecial> and let's you choose between OSes
[20:10] <jalcine> I run a dual-boot (or tri-boot, if you add the recovery part) of Windows 7 and Ubuntu.
[20:10] <ukchris> ahh, that's good then, so theoretically i should be ok
[20:11] <ukchris> jalcine > and the recovery is factory installed?
[20:11] <jalcine> Yup.
[20:11] <ukchris> and when you installed ubuntu you just selected the relevent partition and away you went?
[20:11] <jalcine> 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] <jalcine> ukchris: you can do that, too, yes.
[20:12] <ukchris> nice :) made me a happy man, thanks you guys
[20:12] <jalcine> Thanks Ubiquity :P
[20:12] <jalcine> That's the installation utility for Ubuntu.
[20:13] <nothingspecial> got to go
[20:13] <nothingspecial> cya
[20:13] <ukchris> take care nothingspecial, cheer man :)
[20:14] <ukchris> 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] <jalcine> Typically, yes.
[20:18] <jalcine> You can run Ubuntu alongside Windows, though it'd be a tad bit slower.
[20:18] <jalcine> !wubi
[20:18] <ubot2`> 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] <jalcine> Very, very useful if you don't want to touch Windows but want Ubuntu.
[20:20] <ukchris> 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] <ukchris> i reckon it is too old to really work as a dual boot or 'within' anything
[20:21] <ukchris> the usb pen works OK but I like it and want to dig a little deeper
[20:22] <jalcine> Okay, in the installation window, there's typically a window showing the drives available.
[20:22] <jalcine> From there, you should be able to select the one you want to use for Ubuntu's install.
[20:23] <jalcine> The smaller one is (of course) the recovery partition so you just avoid clicking it.
[20:23] <ukchris> 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] <jalcine> it does.
[20:23] <jalcine> partitions are shown separately.
[20:24] <ukchris> excellent stuff, i can see linux and i getting on just fine :)
[20:24] <jalcine> :D Hope to see you back here soon, be it for support or to hang out :)
[20:25] <ukchris> i have no doubt jalcine! :)
[20:25] <ukchris> 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] <jalcine> So true, that's why we here at UBT do our best to reach everyone.
[20:26] <jalcine> The ubuntu wiki https://wiki.ubuntu.com is filled with information over the time of user experiences.
[20:26] <jalcine> and our little factoid bot helps out too.
[20:26] <jalcine> ;ubuntu
[20:28] <ukchris> 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] <jalcine> It is.
[20:29] <ukchris> i originally bought a ps3 to try linux but that went awry when the kids wanted new games and sony stopped support
[20:30] <ukchris> taken awhile to swing a machine that is essentially superfluous :)
[20:31] <jalcine> heh I do hope you enjoy your time. I'm looking at lines of backtraces atm.
[20:31] <ukchris> general qs: any recomendations for a 1) newsreader; 2) mediaviewer; 3) basic photo edit (i.e. irfan esque)
[20:32] <ukchris> and is an ti-virus required on a linux only machine?
[20:32] <jalcine> Ah, well, one question, you're installing Ubuntu or a different version of it (like Kubuntu, Lubuntu)?
[20:33] <ukchris> 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] <jalcine> Ah, well, I'm using Kubuntu, so in terms of recommending applications, it'd be sparse.
[20:34] <jalcine> For media: RhythmBox for music and VLC for video
[20:35] <jalcine> News reader like feeds? I use Akgreator on Kubuntu, but I'm not familiar with a Gnome reader.
[20:35] <jalcine> ;GNOME
[20:35] <ukchris> ahh VLC has a version for linux, that is a bonus :)
[20:36] <Unit193> jalcine: !gnome
[20:36] <jalcine> Unit193: thanks.
[20:36] <jalcine> !gnome
[20:36] <ukchris> news reader like news groups, i work in academia and we are still old schoool enough to post stuff in alt.text :)
[20:36] <ubot2`> 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] <jalcine> ukchris: that's before my age! lol, but I'm not sure about that one.
[20:37] <ukchris> there'll be something out there i have no doubt :)
[20:38] <ukchris> right, i'm off to goo and install and play, see you guys soon and thanks :)
[20:47] <philipballew> 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] <dangertux> 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] <dangertux> philipballew: Those files would be found in their home directory (since I didn't specify it)
[20:55] <StepNjump> 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] <dangertux> 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] <dangertux> 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] <philipballew> dangertux, its actually a telnet session
[20:59] <dangertux> philipballew: It should still apply, it's whenever their shell is loaded (by anything including at the console)
[21:00] <philipballew> 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] <philipballew> where in the .profile?
[21:00] <dangertux> 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] <philipballew> thats right.
[21:01] <philipballew> sorry its monday
[21:01] <dangertux> 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] <dangertux> philipballew: when their shell executes it should execute that as well.
[21:02] <dangertux> philipballew: Obviously if you want them to automatically start some program you could just make that a wrapper for the program
[21:02] <philipballew> but if i put telnet user name and password in the file it will autologgin i guess
[21:02] <dangertux> philipballew: You'd probably have to put something like echo "password"
[21:02] <dangertux> woops
[21:02] <dangertux> philipballew: echo "password" | telnet o 111.111.111.111
[21:03] <dangertux> or something like that
[21:04] <dangertux> philipballew: That should actually (if telnet can except the input from stdin) autoconnect them without prompting for a password
[21:04] <philipballew> dangertux, there is a password
[21:04] <dangertux> philipballew: if that's what you want (there username would also probably have to be the same on the telnet server)
[21:04] <philipballew> the user name is public I believe
[21:05] <philipballew> its for a library for work
[21:05] <dangertux> 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] <dangertux> 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] <philipballew> dangertux, lets say the servers name is bob would i just do
[21:07] <dangertux> philipballew: Or is that not what you're wanting to do? I might be misunderstanding.
[21:07] <philipballew>  echo -e "tuxxxy" | telnet o telnet.bog
[21:07] <dangertux> ok
[21:07] <philipballew> here is exactly what i want to do:
[21:08] <philipballew> have the computer automaticly login to a telnet session to a local server and then never log out untill i say so
[21:08] <dangertux> philipballew: okay then the above command you posted should be right (I don't have a telnet server handy to test)
[21:08] <philipballew> all after i log in to the user account i made called booksearch
[21:08] <philipballew> i do. ill play with it
[21:09] <dangertux> 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] <philipballew> dangertux, that wouldnt be to hard right?
[21:10] <dangertux> no it's jsut a bash while loop that never ends
[21:10] <dangertux> philipballew: so just set a variable call it var equal to 0 and while var=0 do your command
[21:11] <philipballew> and this goes into my .bash or .profile?
[21:11] <dangertux> philipballew: if your command returns an exit code (like if they control+c) it restarts the loop
[21:11] <dangertux> philipballew: I would say create .bash_profile
[21:11] <dangertux> 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] <philipballew> okay. so  echo -e "password" | telnet o serverdomain
[21:13] <philipballew> and then make it loop?
[21:13] <dangertux> 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] <philipballew> yeah, and dangertux I need to make it never timeout
[21:17] <dangertux> 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] <philipballew> its worth a shot. now to just make it loop
[21:17] <dangertux> 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] <philipballew> my work wont give me accsess to that
[21:18]  * philipballew shouldnt have said he works for anonymous in the interview
[21:19] <dangertux> lol
[21:19] <dangertux> Well you can nicely ask the sysop if there is atimeout
[21:19] <dangertux> and they can probaly work with you
[21:19] <philipballew> true, any timeout would be on the server or client side?
[21:19] <philipballew> http://www.cyberciti.biz/faq/bash-infinite-loop/
[21:20] <dangertux> 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] <dangertux> philipballew: The server can also time the connection out, which we've established you don't have control over.
[21:20] <philipballew> alright. if it times out ill have to call the admins
[21:20] <philipballew> they dont like me after saying i dont like going to a school that uses windows server 2003
[21:21] <dangertux> That script should get you where you want to be also...
[21:21] <philipballew> yea. i just found it
[21:24] <philipballew> dangertux, what would I want to add to this? http://paste.ubuntu.com/881007/
[21:26] <dangertux> 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] <dangertux> philipballew: You might get rid of the sleep 1
[21:27] <dangertux> philipballew: Would make it slightly harder to escape from the session.
[21:27] <philipballew> http://paste.ubuntu.com/881012/
[21:28] <philipballew> would I need to set a variable for while though?
[21:28] <dangertux> Not in this case, if you don't specify a variable or condition it assumes it is true
[21:28] <dangertux> that's what makes that loop infinite
[21:28] <philipballew> and would the done make the script stop?
[21:29] <dangertux> philipballew: When the condition becomes false
[21:29] <dangertux> philipballew: Which it never does, because it's an infinite loop
[21:29] <dangertux> philipballew: the done is spurious it does nothing in this case.
[21:29] <philipballew> so my script is good as is to test I think dangertux
[21:29] <dangertux> philipballew: Yeah give it a shot and see if it works.
[21:30] <philipballew> alright. hold your horses
[21:30] <dangertux> philipballew: if anything the telnet commadn will give you issues I'm afk for a minute brb though
[21:30] <philipballew> okay
[21:34] <dangertux> back
[21:39] <philipballew> dangertux, I get the error could not resolve o/my.domain.name: servername not supported for ai_socktype
[21:42] <philipballew> ill get rid of the o
[21:42] <dangertux> philipballew: Yea hti might be that... but...
[21:42] <dangertux> yeah it*
[21:43] <dangertux> philipballew : yep that o is a windows thing lol
[21:45] <philipballew> i see that now :)
[21:45] <philipballew> its all good
[21:46] <dangertux> so it works then?
[21:57] <philipballew> dangertux, I get an error saying:
[21:58] <philipballew> Connected to servername.school.edu.
[21:58] <philipballew> Escape character is '^]'.
[21:58] <philipballew> Connection closed by foreign host.
[22:02] <philipballew> does that ring anything
[22:27] <dangertux> philipballew: That's not an error that means it connected, but for some reason disconnected afterwards.
[22:32] <philipballew> dangertux, what would make that happen? server side?
[22:33] <philipballew> because just pasting echo -e "password" | telnet servername.domain.edu into my terminal on my laptop produces the same error
[22:36] <dangertux> philipballew: Does connecting with telnet hostname then logging in properly work correctly?
[22:37] <philipballew> yes dangertux
[22:38] <dangertux>  philipballew: Try telnet -a hostname
[22:38] <dangertux> in the same convention
[22:39] <philipballew> no, same error. :)
[22:39] <dangertux> philipballew: is the username on the local system the same as the remote is expecting?
[22:40] <philipballew> thats it!!
[22:40] <philipballew> the user name is not in the scritp
[22:40] <philipballew> http://paste.ubuntu.com/881048/
[22:40] <philipballew> the user name is public
[22:40] <dangertux> well the -a flag pulls the username from the environment
[22:41] <dangertux> so you'd want to add export USER=public to your script (probably outside of the loop)
[22:41] <philipballew> the user name on the desktop is different then the one in the server. let me try to add this
[22:42] <philipballew> i can just change the users name to public as well
[22:42] <philipballew> http://paste.ubuntu.com/881116/
[22:43] <dangertux> philipballew: I'm pretty sure that the variable needs to be exported.
[22:43] <dangertux> philipballew: that just sets the USER variable in that script, telnet is pulling it from your environment.
[22:44] <philipballew> the user name is public i need to connect with. so is my script good then?
[22:45] <dangertux> philipballew: If you change your script to read export USER=public
[22:45] <dangertux> philipballew: as opposed to just USER=public
[22:47] <philipballew> lets test it
[22:51] <geirha> You'll have better luck using something like expect to automate a telnet session
[22:52] <philipballew> dangertux, and change it to be a then e?
[22:52] <dangertux> Yeah that's what I was thinking
[22:52] <geirha> #tcl might be able to help out with that
[22:52] <dangertux> hold on a sec philipballew
[22:52]  * philipballew holds!
[22:53] <dangertux> philipballew: try sometihng like this http://paste.ubuntu.com/881133/
[22:54] <philipballew> ill try it right now
[22:55] <philipballew> dangertux, should i install expect
[22:55] <dangertux> dangertux: If you want that to work lol
[22:55] <dangertux> But the question is would you be able to install it on the computers at your work?
[22:55] <dangertux> if not then this is a moot point
[22:56] <philipballew> they dont care if i install it on the client desktop no. i cant touch the server though
[22:56] <dangertux> You don't need it on the server just the client.
[22:57] <philipballew> sudo apt-get install expect
[22:59] <philipballew> they dont care what i do, they just hired me bacause i know "linux" and they dont
[22:59] <philipballew> but telnet, never used it till today
[23:16] <philipballew> dangertux, the script runs then spits out a few errors. Where can I see these errors
[23:16] <philipballew> logs of what?
[23:16] <dangertux> messages?
[23:17] <dangertux> or syslog maybe
[23:19] <philipballew> is it a problem if i have the # still in the script?
[23:20] <dangertux> yeah...take out the comments
[23:20] <dangertux> I'm not sure that expect knows what to do with those
[23:20] <dangertux> 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] <dangertux> so make that a seperate file then execute it from within your script
[23:21] <philipballew> when i type the scriot in my terminal is says No command 'spawn' found, did you mean:
[23:21] <philipballew>  Command 'spawg' from package 'spawg' (universe)
[23:21] <philipballew> spawn: command not found
[23:21] <dangertux> it's an expect script not a bash script
[23:22] <dangertux> it needs to be executed in the context of expect
[23:22] <philipballew> thats right...
[23:26] <philipballew> http://smacak.wordpress.com/2010/08/15/automatic-login-expect-scripts-telnet-and-ssh/
[23:26] <philipballew> i might try this one dangertux