[01:14] <sbalneav> Evening all
[01:16] <cliebow> Hoooooooo!
[02:05] <Kamping_Kaiser> hi both
[04:34] <sbalneav> jsgotangco: Hey there!
[04:34] <jsgotangco> hi!
[05:34] <moquist> sbalneav: as best as I can tell by the dash man-page, this should work:
[05:34] <moquist> echo abc | read ij
[05:34] <moquist> and yet it doesn't.
[05:34] <moquist> ij is not set.
[05:34] <sbalneav> hm
[05:35] <moquist> This is to replace read var1 var2 <<<"$o", of course.
[05:35] <moquist> :p
[05:35] <sbalneav> one sec...
[05:35] <moquist> this doesn't work in bash, either, FWIW.
[05:35] <sbalneav> lemme play for a minute
[05:53] <moquist> sbalneav: In the source, the dash 'read' builtin executes this:
[05:53] <sbalneav> moquist
[05:53] <moquist> read(0, &c, 1)
[05:53] <sbalneav> echo "foo bar baz" | while read I J K ; do
[05:53] <sbalneav>     echo "$I $J $K"
[05:53] <sbalneav> done
[05:54] <sbalneav> Wierd.
[05:54] <sbalneav> But works :)
[05:54] <moquist> yeah...totally weird.
[05:54] <sbalneav> It's completely non-intitive
[05:54] <sbalneav> err
[05:54] <sbalneav> intuitive
[05:55] <moquist> no, that doesn't work the same way. It gets read to read through stdin, though.
[05:56] <monteslu> does dash stand for something? Boure again I can understand
[05:56] <sbalneav> "Don't Ask"?
[05:56] <monteslu> sweet
[05:56] <monteslu> guess cash would have been confusing
[05:56] <moquist> sbalneav: it sets I repeatedly
[05:57] <sbalneav> hm
[05:57] <sbalneav> $ ./foo.sh
[05:57] <sbalneav> foo bar baz
[05:57] <moquist> that's maybe OK, but I might as well be using 'sed' by this point.
[05:57] <moquist> a=`echo "a\nb\nc"`; echo "$a" | while read I J K ; do echo i: $I; echo j: $J; echo k: $K; done
[05:57] <moquist> that'll show ya. :)
[05:57] <sbalneav> Ah, well, you've got NEWLINES in there.
[05:57] <sbalneav> Didn't tell me that :)
[05:58] <moquist> true.
[05:58] <moquist> come to think of it, I won't have them.
[05:58] <moquist> Maybe your code works after all. :-)
[05:58] <sbalneav> Could always do a echo ".." | tr '\n' ' ' | while...
[05:59] <moquist> that is so weird.
[05:59] <sbalneav> Yeah, you can see why they came up with bash
[05:59] <sbalneav> posix shell is kinda limited.
[05:59] <moquist> echo foo bar baz | if read I J K; then echo i: $I; echo j: $J; echo k: $K; fi
[06:00] <moquist> it works, churns the proc, and then... SEGFAULT!
[06:00] <sbalneav> you can FORCE it to do what you want.  But messily
[06:00] <sbalneav> SEGFAULT!
[06:00] <sbalneav> I gotta try that
[06:00] <sbalneav> $ echo foo bar baz | if read I J K; then echo i: $I; echo j: $J; echo k: $K; fi
[06:00] <sbalneav> i: foo
[06:00] <sbalneav> j: bar
[06:00] <sbalneav> k: baz
[06:01] <sbalneav> Seems ok on mine.
[06:02] <moquist> really? double WTF.
[06:03] <moquist> again. crashed my dash and dumped me back into bash.
[06:03] <sbalneav> Wow
[06:04] <sbalneav> sbalneav@edubuntu:~$ dash
[06:04] <sbalneav> $  echo foo bar baz | if read I J K; then echo i: $I; echo j: $J; echo k: $K; fi
[06:04] <sbalneav> i: foo
[06:04] <sbalneav> j: bar
[06:04] <sbalneav> k: baz
[06:04] <sbalneav> $ exit
[06:04] <sbalneav> sbalneav@edubuntu:~$
[06:04] <sbalneav> Hmmm
[06:04] <sbalneav> you on gutsy or feisty?
[06:04] <sbalneav> that was on gutsy
[06:05] <sbalneav> Woah!
[06:05] <sbalneav> Feisty it segfaults!
[06:05] <sbalneav> $ echo foo bar baz | if read I J K; then echo i: $I; echo j: $J; echo k: $K; fi
[06:05] <sbalneav> i: foo
[06:05] <sbalneav> j: bar
[06:05] <sbalneav> k: baz
[06:05] <sbalneav> Segmentation fault (core dumped)
[06:06] <sbalneav> man, THAT's a bug!
[06:06] <Kamping_Kaiser> neat
[06:07] <moquist> sbalneav: echo "foo bar baz" | (read x y z; echo x: $x y: $y z: $z)
[06:08] <sbalneav> yeah, but now you're in a subshell
[07:48] <moquist> $!$#. My vmware server just died again.
[09:13] <RichEd> moquist: you still around ?
[09:13] <moquist> yes
[09:13] <RichEd> well hello then :)
[09:13] <moquist> hello indeed
[12:24] <flingle> hello, i am having trouble getting thin clients to boot from the server :(
[12:25] <flingle> the pxe lan card boots up and detects the DHCP server, its assigned an ip address and then says TFTP... but doesnt seem to be doing anything at all
[12:25] <flingle> there is no firewall on the edubuntu server.... iptables allows everything through
[12:26] <flingle> the dhcp server is configed to:
[12:26] <flingle> subnet 192.168.1.0 netmask 255.255.255.0 {
[12:27] <flingle> range 192.168.1.20 192.168.1.200
[12:27] <flingle> filename "/ltsp/i386/pxelinux.0";
[12:27] <flingle> option root-path "/opt/ltsp/i386";
[12:27] <flingle> }
[12:27] <flingle> any ideas what is going wrong? or what I have missed?
[12:29] <flingle> anyone awake?
[12:33] <ogra> thats all your dhcp config has ?
[12:33] <ogra> i think your should have at least a network and netmask address ....
[12:33] <ogra> and a broadcast entry
[12:34] <ogra> add:   option broadcast-address 192.168.1.255;
[12:34] <ogra> and:   option subnet-mask 255.255.255.0;
[12:35] <ogra> beyond that make sure there is no other dhcp server running in that network anywhere
[12:42] <flingle> i will add that, although there are two dhcp configs, there the one from dhcp3 and the one for ltsp
[12:42] <flingle> but the ltsp one takes over it seems
[12:45] <flingle> there are two eths, eth0 and 1, eth0 is the dhcp server
[12:45] <flingle> i just added those lines into the dhcp3 config file, restarted it, will bootup the thin client now to see if it works
[12:47] <flingle> hmmmz, still the same problem :(
[12:47] <flingle> any other ideas?
[12:48] <ogra> thats a stock edubuntu install ?
[12:51] <ogra> or ubuntu with added ltsp server ?
[12:55] <flingle> yup latest version
[12:56] <flingle> default settings
[12:56] <ogra> latest = feisty ? or latest dev release (gutsy)?
[12:57] <flingle> sorry latest stable, feisty
[12:57] <ogra> good ...
[12:58] <ogra> so are you 100% sure there is no other dhcp server in your net (i.e. on a router or so)
[12:58] <flingle> oh i remember your nick now, i read some guy having the same problem as me, and he mentioned you helped him out, cant remember the site now :(
[12:59] <flingle> nope, i am just doing this as a test, just a server (edubuntu) + a thin client connected to each other through a hub
[12:59] <ogra> hmm, weird
[01:00] <ogra> did you tweak your inetd.conf or the settings for tftpd-hpa in /etc/default ?
[01:01] <flingle> nope i read in some forums and compared, and they seem to be ok
[01:01] <ogra> the tftp server should be started from inetd, there is a line for that in the inetd.conf file
[01:01] <flingle> just left it as default
[01:01] <flingle> yup, one sec, i will post it for you
[01:02] <ogra> if its more than three or four lines, please use the pastebot
[01:02] <ogra> !pastebin
[01:02] <ubotu> pastebin is a service to post large texts so you don't flood the channel. The Ubuntu pastebin is at http://paste.ubuntu-nl.org (make sure you give us the URL for your paste - see also the #ubuntu channel topic)
[01:03] <flingle> tftp dgram udp wait root /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot
[01:03] <ogra> good, thats fine then
[01:03] <flingle> its ok i cant paste, i have to see the monitor and type in here, as that server is not connected to the network
[01:03] <ogra> /var/lib/tftpboot/ltsp/i386 should have some kernel and initramfs files
[01:04] <flingle> the dhcp server is working fine though, cause the thin client gets an ip and default gateway from the pxe bootup... just doesnt seem to load the linux image :(
[01:04] <ogra> ok
[01:05] <flingle> yup there are several files in there with some symlinks
[01:05] <flingle> some .img files
[01:05] <ogra> goo
[01:05] <ogra> d
[01:05] <flingle> and the pxelinux.0 file
[01:05] <ogra> do you see any trace of the tftp request in your logs ?
[01:06] <flingle> on which log can i check that? :( syslog ?
[01:06] <ogra> yeah
[01:06] <ogra> something like: in.tftpd[18167] : tftp: client does not accept options
[01:07] <flingle> nope nada
[01:07] <ogra> hmm, its definately a dhcp problem then
[01:08] <ogra> did you make any changes to /etc/hosts.allow or some such ?
[01:08] <flingle> nope all at default
[01:08] <flingle> will tail -f the syslog and bootup the thin client again to see what it logs
[01:08] <ogra> is your second interface configured ? you said you have two
[01:08] <flingle> yeah second interface = 192.168.1.2
[01:08] <ogra> and the first one ?
[01:08] <flingle> with same subnet mask
[01:09] <flingle> first = 192.168.1.254
[01:09] <ogra> well, there is your prob then :)
[01:09] <flingle> would thin client setup work only on one eth?
[01:09] <ogra> sure
[01:10] <flingle> :O cause ltsp was telling me that it needed another adapter to be correctly configed, thats why i installed another eth card
[01:10] <ogra> one interface is usually the thin client network... the other can act as dhcp client in another network ...
[01:10] <flingle> :O
[01:10] <flingle> how shall i config the other adapter? or shall i just remove it?
[01:10] <ogra> dhcpd will detect the interface that has a static confoig and that matches the dhcpd.conf file
[01:11] <flingle> yup they are both static and i have setup dhcp to use eth 0 which is the 192.168.1.254
[01:11] <ogra> now you have configured both to be in the same network ... so it will just server on the first interface it finds
[01:11] <ogra> plug the hub into the other interface  for a quuick fix :)
[01:12] <flingle> i have changed it on /etc/default/dhcpd though
[01:12] <ogra> or remove the second interface if you dont need it ...
[01:12] <flingle> they are both plugged into the same hub hehz
[01:12] <ogra> thats an option too, but having both in the same address space is a bad idea anyway ...
[01:12] <ogra> eek
[01:12] <ogra> that cant work then :)
[01:12] <flingle> hehe
[01:13] <ogra> just remove one (and revert the change to /etc/default
[01:13] <ogra> )
[01:13] <flingle> would it work if i just disable it?
[01:13] <ogra> yes, and unplug
[01:13] <flingle> ahz oki will try it ou
[01:13] <flingle> t
[01:13] <ogra> ethernet will not know where to send its packages to :)
[01:14] <flingle> i getcha, oki i will do that now and come back with a result ;)
[01:14] <ogra> the default setup for edubuntu is to have one interfaces statically configfured for ltsp ... the other usually does act as dynamic dhcp client ... so you can attach your server to an existing network without clashing with any existing dhcp server
[01:15] <ogra> if you dont want internet connection its the easdiest to just use one interface ...
[01:20] <cliebow> flingle:dont suppose you can fire up wireshark and look the network packets over?
[01:21] <ogra> cliebow, both interfaces plugged to the same hub, both share the same ip space
[01:21] <ogra> even wireshark wont know what to do with these packaets i suppose :)
[01:25] <cliebow> dont suppose it is that next-server problem?
[01:25] <ogra> nope
[01:25] <flingle> fantastic ogra its working now
[01:25] <flingle> thanks a lot for your help !
[01:25] <ogra> :)
[01:26] <flingle> one more question if you dont mine me asking
[01:26] <ogra> i suspect you might get login probs now
[01:26] <flingle> how come if there are two lan cards on the server, it wont work?
[01:26] <ogra> best is to run: sudo ltsp-update-sshkeys if that is the case
[01:26] <flingle> nah i logged in through a root login and it works :P just gotta try with normal level users
[01:26] <ogra> two lan cards in the server wor4ks fine
[01:26] <flingle> cheers
[01:27] <ogra> (i'm currently working via such a setup)
[01:27] <flingle> how is the extra card supposed to be configed?
[01:27] <ogra> your probl4em is that you plugged both into the same hub *and* configured both for the same address sopace
[01:28] <ogra> plug it into a different network (your LAN with the router for example)
[01:28] <ogra> and configure it for this net ...
[01:28] <ogra> (either with a static IP or as dhcp client)
[01:34] <flingle> oki doki thnx once more ;)
[01:34] <flingle> le f00d is h3r3 :))
[01:35] <ogra> :)
[01:35] <ogra> enjoy
[01:35] <flingle> wants some chips?
[01:35] <ogra> ah, no, i have cacke downstairs... just needs some coffee :)
[01:35] <ogra> *cake
[01:35] <flingle> heh
[01:35] <flingle> cu l8r
[01:36] <ogra> yup
[01:45] <cliebow> ogrta:ohh both interfaces in same network...heh..i ve been there too 8~)
[03:09] <sbalneav> Morning all
[03:11] <sbalneav> ogra: ping
[03:15] <th1a> hi RichEd.
[03:15] <RichEd> hi th1a
[03:15] <RichEd> chatting to my new boss today about the conference
[03:15] <th1a> RichEd: You have a new boss?
[03:47] <jsgotangco> hello
[03:47] <Kamping_Kaiser> hi
[03:56] <sgonzalez> I have edubuntu 7.04 installed. It's been working for a while, and yes, I've added some stuff... I can be more specific if you need... but now when I log off, it hangs at the "Quit" screen... the one with the log off/hibernate/restart/shutdown/etc... I've rebooted twice. Any ideas?
[03:58] <ogra> sgonzalez, likely bug 105709
[03:58] <ubotu> Launchpad bug 105709 in ltsp "sound config not reset after thin client usage" [Undecided,Fix committed]  https://launchpad.net/bugs/105709
[04:01] <sgonzalez> ogra: thanks... that sounds about right. Seems like it shouldn't affect users other than myself so I'll wait until after school to try it. I appreciate it!
[04:39] <bddebian> Heya
[04:40] <Kamping_Kaiser> hey
[04:40] <bddebian> Hi Kamping_Kaiser
[04:41] <Kamping_Kaiser> :)
[04:48] <sgonzalez> I'm trying to install x11vnc on my ltsp clients following these directions: wiki.ubuntu.com/InstallX11VncOnLtspClients. After I chroot into the clients, I can't install x11vnc... says it's not found. I set up repos on my server and can install x11vnc there... is there another repo setting for clients? any idea why I can't install?
[04:49] <LaserJock> ogra: what do you think about putting openclipart on the Addon CD?
[04:50] <ogra> LaserJock, hmm
[04:50] <ogra> quite space consuming i guess
[04:51] <LaserJock> yeah
[04:51] <sgonzalez> LaserJock & Ogra: I'd like to see templates for open office also... if it doesn't fit on a CD, can it be like an update that you run?
[04:52] <LaserJock> ogra: 184MB total, but that's a lot for people to download too
[04:52] <ogra> sgonzalez, it can go neither on the liveCd nor on the first server CD due to space constraints ...
[04:53] <ogra> but itr could go on the server-addon CD
[04:53] <ogra> LaserJock, 184M ???
[04:53] <ogra> no way
[04:53] <LaserJock> hehe, fine
[04:53] <LaserJock> I didn't think it was *that* big but I just checked
[04:54] <LaserJock> the png package is 138MB
[04:54] <ogra> we'd need a third CD :)
[04:54] <LaserJock> I wonder if the pngcrush it
[04:54] <LaserJock> *they
[04:54] <ogra> server-addon-content
[04:54] <LaserJock> server-addon-clipart ;-)
[04:55] <sgonzalez> ogra: maybe I'm too newbie, but can't there be a little script on the add-on CD that downloads this from somewhere on the web? Kind of like a repo?
[04:56] <LaserJock> sgonzalez: I'd think that they would work just fine on the Addon CD
[04:56] <LaserJock> we just need content
[04:56] <LaserJock> and time to package it up
[05:00] <sgonzalez> LaserJock: If there's space, I'd love to see these templates from here added too... http://ooextras.sourceforge.net/downloads/simpress/. The ones currently included in OO are limited and fairly lame. It makes my staff demand MS Office :)
[05:07] <LaserJock> sgonzalez: looks roughly doable. There is a downloadable tarball and it seems to be either GPL or LGPL licensed
[05:07] <sgonzalez> ogra: any chance you understand why I can't install x11vnc when I've chrooted into the terminal?
[05:09] <ogra> sgonzalez, depends on the error
[05:11] <sgonzalez> ogra: I did a "sudo chroot /opt/ltsp/i386", then apt-get install x11vnc. The error was E: Couldn't find package x11vnc
[05:11] <ogra> its in universe
[05:12] <ogra> add universe to the sources.list in the chroot, run apt-get update there and then you should be able to get it
[05:14] <sgonzalez> ogra: I have added it to the server... do I need to repeat this for ltsp? If so, do I stay chrooted and edit sources.list?
[05:14] <ogra> right
[05:15] <sgonzalez> ogra: thanks :)
[05:35] <obiyoda> is there a way to set grub to boot off of the network for a thin client
[08:25] <sgonzalez> Hi... I'm trying to use gconf-editor. Everything I read tells me to just type that in a terminal, but when I do, it tells me it can't open a display and then how to see a full list of command line options with --help. I read those and the man page but still can't get this to run. Suggestions?
[08:29] <sbalneav> sgonzalez: You're sshing into a box?
[08:32] <sgonzalez> sbalneav: nope, sitting at it
[08:34] <sbalneav> You must be as a different user, then.
[08:35] <sbalneav> gconf-editor needs the DISPLAY variable set up,
[08:35] <sbalneav> so however you're running it, DISPLAY's not set up correctly.
[08:37] <sgonzalez> sbalneav: Can I set this up? This is  a new install. I'm logged in as the only user (the one I created on install) and in sudo. I've done this before without a problem so I'm not sure what I've done differently this time.
[08:38] <sbalneav> right
[08:38] <sbalneav> you're in suod
[08:38] <sbalneav> sudo
[08:38] <sbalneav> if you want to run gconf as root, use gksu
[08:39] <sgonzalez> sbalneav: that did it... thanks!
[09:13] <balbir_> finally, I configured ltsp, and users are happy
[09:14] <LaserJock> cool
[09:14] <balbir_> but have some concern
[09:14] <balbir_> right now I am using minimal configuration desktop
[09:15] <balbir_> can we shift for some thin client
[09:15] <balbir_> what is the recommended one
[09:15] <balbir_> I know only WYSE
[09:17] <balbir_> me using PXE for getting the client run, can we use XDMCP|RDP|ICA using ltsp in edubuntu
[09:19] <balbir_> ping, any suggestion/recommendatoin
[09:20] <LaserJock> I'm not sure what you are asking about exactly
[09:20] <balbir_> oh sorry, let me eleborate it, sorry for being so consize
[09:21] <balbir_> what should I use at the client side, if it's diskless computer which one should I use?
[09:22] <LaserJock> which one of what?
[09:22] <balbir_> I tried this http://www.wyse.com/products/winterm/S10/index.asp
[09:23] <balbir_> any recommendation for client side configuration
[09:24] <LaserJock> ohhh, I get you now
[09:24] <LaserJock> it is just for LTSP?
[09:47] <RichEd> [09:48] <LaserJock> argg
[09:49] <LaserJock> at least I got lunch in time
[09:59] <Dimen> Hello all
[10:00] <Dimen> I have a question relating to formatting an HD under edubuntu..  I need to format it using HFS+ but do not know how..
[10:00] <RichEd> [10:01] <LaserJock> Dimen: HFS+ yikes
[10:02] <LaserJock> Dimen: I think you'll need to google around and be careful
[10:02] <Dimen> that bad huh?
[10:03] <Dimen> heh..  I'm putting an image on it (OS X...  using the dd command..) and it doesn't seem to be working..
[10:03] <Dimen> i thought maybe formatting it in HFS+ instead of FAT32 might help..
[10:05] <Dimen> well, even after formatting to fat32 (which i just did) i'm trying to drag a file to the new drive and it's saying that I do not have permission..  how do i get permission? :)
[10:06] <LaserJock> hmm
[10:06] <LaserJock> just making an HFS+ partition should be doable I think
[10:06] <LaserJock> althought with dd do you even need to do that?
[10:08] <Dimen> i guess not..  but it's not working so I don't know what's up..  Also, i just tried to copy again using the cp command.  same error unless i use sudo.  any way around using sudo cause i'd hate to have to use the command line every time i want to copy a file..
[10:13] <Dimen> i just don't understand the point of having to use the command line in edubuntu to write files to usb disks and what not..
[10:27] <LaserJock> Dimen: why do you have to?
[10:36] <Dimen> LaserJock: Image editing can't be done if you can't write to a file, right?
[10:37] <LaserJock> well, you can save it as another file
[10:37] <Dimen> LaserJock:  Or if I have a hard disk and want to backup all my images...
[10:37] <Dimen> it won't let me write to the disk..  here are the permissions drwxr-xr-x
[10:40] <Dimen> laserjock: can't save it as another file if I don't have write access.
[10:40] <LaserJock> well, you have bigger issues then
[10:40] <LaserJock> is this in your home directory?
[10:41] <Dimen> nope, i'm using the ubuntu live CD..  and just want to write to the hard disk in my computer
[10:41] <Dimen> i mounted hda1 to /media/hda1
[10:41] <ogra> and hda1 is hfs+ ?
[10:42] <Dimen> nope, fat32, and the only way to copy files to hda1 is via a terminal window as such "sudo cp filename /media/hda1
[10:42] <LaserJock> ah
[10:44] <Dimen> know how to fix that?
[10:49] <LaserJock> well, that's pretty common to mount it that way from a LiveCD
[10:50] <LaserJock> you could just a file browser using sudo
[10:50] <Dimen> how do i do that?
[10:51] <LaserJock> in a terminal I think you can run gksudo nautilus and it should work
[10:51] <LaserJock> it might be somewhere in the menu too but I can't remember
[10:52] <Dimen> nice, thank you, that really helps
[10:53] <LaserJock> Dimen: that's basically running the file browser as root so be careful ;-)
[10:55] <Dimen> lol, well if there isn't another option....
[10:56] <Dimen> what's so bad about running it as root though?
[10:57] <LaserJock> well, you can accidentally remove files important for the system to run, for instance
[11:01] <Tirion> Hello! I want  work with russian translation of Edubuntu Handbook. Please told me, how can I join to the translation team.
[11:02] <LaserJock> Tirion: you might what to talk to #ubuntu-translators or #ubuntu-ru
[11:03] <Tirion> Thank you.
[11:21] <RichEd> Tirion: see https://wiki.ubuntu.com/TranslatingUbuntu
[11:21] <sbalneav> ok, heading home.
[11:21] <sbalneav> be on tonight.
[11:22] <sbalneav> LaserJock: If you find out how to build the doco package from the svn, email me.
[11:22] <sbalneav> then I can daily update in my ppa.
[11:22] <sbalneav> sbalneav@ltsp.org