IRC chat logs for #ltsp on irc.libera.chat (webchat)


Channel log from 24 May 2009   (all times are UTC)

00:07otavio has quit IRC
00:34moquist has quit IRC
00:36hanthana has joined #ltsp
00:55yanqui has quit IRC
01:28moquist has joined #ltsp
02:01
<cyberorg>
alkisg, i've only tested with mem=64M as boot parameter, it sort of works, but don't think it is usable in production
02:01
<alkisg>
Hey cyberorg
02:02
Does it use the memory compression thing?
02:02
<cyberorg>
alkisg, yes, it uses nbdswap and compcache both
02:03
<alkisg>
OK, thanks :)
02:05
<cyberorg>
alkisg, we think of everything ;) but base suse itself is bit on a high diet, most distros are more friendly to low end hardwares
02:07
<alkisg>
Heh... I liked the live ltsp, edu apps, user management etc though, it has everything integrated. I'll try it live this week.
02:13
<cyberorg>
alkisg, nubae can't seem to stop drooling over it ;)
02:28
<nubae>
well its just so easy
02:29
Laserjock was asking about it yesterday too
02:29
he asked me why the edu project doesn't use official rpms
02:29
I told him the idea of policy under openSUSE was very different
02:30
that u can find the same rpms in multiple repos
02:30
wasn't able to really explain what he wanted to know... did u see the questions?
02:37
<alkisg>
In a "standard" installation, the LTSP server has 2 NICs, one for the LTSP clients and one for the external network. Now, if a PC from the "external" network wants to boot of the LTSP server (e.g. by using gpxe), is there anything that prevents it to do so?
02:38
I'm asking because it would be very easy to make dnsmasq offer the boot filename on all NICs, so it would work on any configuration... and I wonder if that's a security concern.
02:39
<nubae>
well u set dhcp to talk to a particular eth device
02:39
<alkisg>
Yeah, but a "malicius" client may easily bypass dhcp by using gpxe
02:39
<nubae>
so unless u enable it, I dont see it being a security issue
02:40
<cyberorg>
alkisg, firewall
02:40
<alkisg>
OK, but that would be done manually in any case
02:40
<nubae>
well, doesnt the dhcp server still need to give out an address?
02:40
<alkisg>
NO
02:40
You may get one from the "external" dhcp server and fill in the boot filename yourself.
02:41
I mean, (afaik) if I'm connected to the same switch with your server "external" nic, I'm able to boot off of it
02:41
So, dnsmasq listening on all availables interfaces wouldn't be any different security wise... That's too easy to implement
02:41
<nubae>
well try it
02:41
:-)
02:42
<alkisg>
I don't have a 2 NIC PC handy :P I'll try it in vbox
02:53alkisg1 has joined #ltsp
02:54
<alkisg1>
Yup, it works fine. So unless someone configures his firewall, a 2 NIC setup doesn't offer any additional protection to a 1-NIC setup.
02:55alkisg has quit IRC
02:55alkisg1 is now known as alkisg
02:55
<alkisg>
So for a plug'n'play ltsp, dnsmasq could listen in proxydhcp mode and offer a boot filename in all interfaces...
02:59
<cyberorg>
alkisg, fedora has live ltsp server too, you may want to check that out as well
03:00
<alkisg>
cyberorg: the tools (dnsmasq and gpxe) become available yesterday, so I bet it doesn't have the method I'm looking for.
03:00
<cyberorg>
new dnsmasq released?
03:00
<alkisg>
No, not yet, just a test version that supports proxydhcp mode
03:01
New version will be released soon
03:01
I'm looking to create an ltsp-server-proxydhcp package that doesn't include a dhcp server at all.
03:01
<cyberorg>
ah ok, we have last one on our DVD
03:14nubae has quit IRC
03:15nubae has joined #ltsp
03:34alkisg has quit IRC
03:46intelliant_ has joined #ltsp
03:48intelliant_ has quit IRC
04:02intelliant has quit IRC
04:06ogra has quit IRC
04:07ogra has joined #ltsp
04:17syn has quit IRC
04:18intelliant has joined #ltsp
04:59michael1 has quit IRC
05:01michael1 has joined #ltsp
05:12intelliant_ has joined #ltsp
05:14ian1 has joined #ltsp
05:14ian1 is now known as ianpamplona
05:14
<ianpamplona>
hello everybody
05:19ianpamplona has left #ltsp
05:30intelliant has quit IRC
05:32Selveste1 has joined #ltsp
05:39ogra_ has joined #ltsp
05:45intelliant has joined #ltsp
05:46ogra has quit IRC
05:48Selveste1 has quit IRC
06:16hanthana has quit IRC
06:22ogra__ has joined #ltsp
06:28intelliant has quit IRC
06:28intelliant has joined #ltsp
06:33alkisg has joined #ltsp
06:38ogra_ has quit IRC
06:45ogra_ has joined #ltsp
06:49ogra__ has quit IRC
06:57mikkel has joined #ltsp
07:21GGD has joined #ltsp
07:40Egyptian[Home] has quit IRC
08:00Egyptian[Home] has joined #ltsp
08:03htikethegreat has joined #ltsp
08:26nubae has quit IRC
08:29nubae has joined #ltsp
08:30htikethegreat has quit IRC
09:03
<alkisg>
Err, would sed or awk be more suitable for the following script?
09:03
"Open dnsmasq.conf and replace the first 'dhcp-range=xxx' line with a new one. Delete all other 'dhcp-range=xxx' lines, if they exist. If no such line was found, append the new 'dhcp-range=xxx' line at the end of the dnsmasq.conf file".
09:10
<laga>
can you reformulate that to "delete all dhcp-range lines and append a new one to the end of the file"?
09:12hanthana has joined #ltsp
09:30
<alkisg>
That would be too easy :)
09:32
Thanks - I've found out that dnsmasq supports multiple configuration files, so I'll have the regular one in /etc/dnsmasq.conf which is maintained only by the user, and "mine" in /etc/ltsp/dnsmasq.conf which would be re-created each time.
09:34
(and I'll put the dhcp-ranges in mine)
09:48intelliant has quit IRC
09:53
<alkisg>
Duh... even more easier than that, there's a configuration file in /etc/dnsmasq.d. OK, now for the if-up script...
10:02try2free has joined #ltsp
10:07pmatulis has joined #ltsp
10:16alkisg has quit IRC
10:16alkisg1 has joined #ltsp
10:23
<nubae>
I dont like awk very much, sed is much easier to understand and read
10:23
but they both do about the same job
10:28try2free has left #ltsp
10:30
<ltsppbot>
"alkisg" pasted "/etc/network/if-up.d/ltsp-proxydhcp" (54 lines) at http://pastebot.ltsp.org/356
10:31
<alkisg1>
Ready!!! dnsmasq 2.48 and this is all that's needed to make LTSP work with an external dhcp server, _without_ modifying the external dhcp server.
10:33
It even supports PXE menus (that's _before_ pxelinux.0)
10:37rcmysoft has joined #ltsp
10:38
<rcmysoft>
hey, my ltsp server is still runnig, total cool that thing, smile
10:39
as i had problems you tried to help me, for thanks i found a cool web online instrument that link i will give you, perhaps i can be needed for support things.
10:40
so lookup at http://drop.io it can be used quickliy for support things.
10:41
so bye, and let the servers running, smile
10:43rcmysoft has left #ltsp
10:50DarKnesS_WolF has joined #ltsp
10:53
<pmatulis>
alkisg1: can you elaborate a bit? :) which server leases addresses?
10:53
<alkisg1>
That's for when a dhcp server already exists in the network.
10:54
E.g. suppose you have a 1 NIC ltsp-server, and another, existing dhcp server
10:54
With that it's plug'n'play, the "other" dhcp server gives the leases, and the ltsp-server only fills in the boot filename and next-server dhcp options.
10:55alkisg1 is now known as alkisg
10:55
<pmatulis>
ok, clients will keep asking for a boot image until they get one from dnsmasq?
10:56
<alkisg>
PXE clients? They'll keep acting like usual
10:57
I.e. they'll get the boot file name from dnsmasq, and download it (usually pxelinux.0) from the ltsp server
10:59
<pmatulis>
i understand what you're saying, just having trouble seeing that in your script
11:00
<alkisg>
The script only generates a .conf file, it doesn't need any loops or something
11:00
dnsmasq does the rest
11:00
I've tried it, works fine
11:01
This is the line that tells dnsmasq the boot filename: dhcp-boot=/ltsp/i386/pxelinux.0
11:01
And this one is to make it act as a proxydhcp: dhcp-range=$IP,proxy
11:02
<pmatulis>
is this something new?
11:03
<alkisg>
Yes, it was implemented today
11:03
<pmatulis>
those 2 options?
11:03
<alkisg>
(dnsmasq, that is)
11:03
Yes
11:03
<pmatulis>
nice
11:03
what do you mean by "Each time a new IP is aquired"?
11:04
<alkisg>
I mean that if I install ltsp-server in my laptop, and go to lab#1, I'll get an IP, and a configuration file will be written for dnsmasq.
11:04
Then, if I go to lab#2, the configuration file will be updated
11:05
So it'll work no matter how many times I change the IP of the ltsp-server...
11:05
<pmatulis>
and where is this code placed?
11:06
<alkisg>
The file I've uploaded to pastebot, or the new dnsmasq version?
11:06
<pmatulis>
pastebot
11:07
<alkisg>
That's all there is to it, no official repository or anything... (yet ;))
11:08
<pmatulis>
no, i mean where is it found on the ltsp-server machine?
11:08
<alkisg>
/etc/network/if-up.d/ltsp-proxydhcp
11:08
/etc/network/if-up.d/ltsp-proxydhcp
11:09nubae1 has joined #ltsp
11:09nubae1 is now known as Nuba1
11:09nubae has quit IRC
11:09Nuba1 is now known as nubae
11:09
<pmatulis>
[ "$IFACE" != "lo" ] || exit 0 ?
11:10
<alkisg>
pmatulis: what distro do you have?
11:10
<pmatulis>
ubuntu, but i'm not talking about that, you got a script that references itself?
11:11
<alkisg>
You may see a similar script in "/etc/network/if-up.d/ltsp-keys" file
11:12
$IFACE is the name of the interface, not the script.
11:13
<pmatulis>
yes, i got that part (!)
11:33pmatulis has quit IRC
11:39mikkel has quit IRC
12:41otavio has joined #ltsp
13:09ogra_ has quit IRC
13:45vagrantc has joined #ltsp
13:45intelliant has joined #ltsp
14:03DarKnesS_WolF has quit IRC
14:21ogra has joined #ltsp
15:04vagrantc has quit IRC
15:05skipjack has joined #ltsp
15:05
<skipjack>
Hello
15:26
I jave some troubles with pulseaudio, it's crashing after Few seconds playing an mp3 file or an video file
15:28SDuensin has quit IRC
15:36hanthana has quit IRC
15:55intelliant has quit IRC
15:56ogra has quit IRC
16:15Ryan52 has quit IRC
16:22alkisg1 has joined #ltsp
16:22ogra has joined #ltsp
16:22alkisg has quit IRC
16:32alkisg1 has quit IRC
16:32alkisg has joined #ltsp
16:33alkisg has joined #ltsp
16:48otavio has joined #ltsp
16:49otavio has joined #ltsp
16:54alkisg has quit IRC
16:54alkisg has joined #ltsp
16:54sebas891 has joined #ltsp
16:57
<sebas891>
hi folks, LTSP is a great software, I guess you all know that!
16:59
I cannot find documentation on how to install more than one package "--late-packages" when I do the buildclient.
16:59
any clues?
16:59alkisg has quit IRC
17:00alkisg has joined #ltsp
17:02
<Appiah_>
sebas891: chroot into the image and install the packages?
17:03
<sebas891>
Appiah_: I want to have it in a script during the install of the server.
17:03
<alkisg>
sebas891: seperate them with commas
17:04
Details in /usr/share/ltsp/plugins/ltsp-build-client/Debian/30-late-plugins (depends on your distro)
17:05
<Appiah_>
oh
17:05Appiah_ is now known as Appiah
17:06
<sebas891>
alkisg: I got packages not found ... with a comma
17:06
<skipjack>
Hey ppl. I have much troubles with playing sound on thinclient. after few secs it's break. I think pulseaudio daemon is crashing
17:07
<alkisg>
sebas891: do you have the exact error message? Can you upload it to pastebot along with the command line you used?
17:07gea has quit IRC
17:07gea has joined #ltsp
17:09
<alkisg>
sebas891: it could be a bug, it may need an eval() or something for more than one package...
17:11
<sebas891>
alkisg: I put " --late-packages ssh,munin-node " I get the following:" E: No se pudo encontrar el paquete ssh,munin-node"
17:11
<alkisg>
Yup, sounds like it's a bug, let me try...
17:11
(distro?)
17:12
<sebas891>
I put the "--late-packages ssh munin-node" only one of the 2 packages gets installed...
17:12
alkisg: ubuntu 9.04
17:12
<ogra>
try --late-packages "ssh munin-node"
17:13
<sebas891>
I tried repeating the --late-packages twice, and only the last statement is considered...
17:13
ogra: I will try this now, :)
17:14
<ogra>
if that doesnt work its definately a bug, though note that you also need the kernel package in that list, it overrides the default which would let you end up without any kernel
17:14
<sebas891>
by the way, I use a proxy of the packages, it's very useful when testing!
17:16
ogra: it's working it seems... :)
17:16Remaille has joined #ltsp
17:16
<alkisg>
LATE_PACKAGES="$(echo $option_late_packages_value | tr ',' ' ')"
17:16
Comma should also be working :)
17:17
<sebas891>
well, it's not...
17:17
sure it's a comma there and not a dot ?
17:17
<alkisg>
I copy/paste that..
17:18
<sebas891>
in which file is that ?
17:18
<ogra>
we should just link to the debian plugin
17:18
seems that has a fix ubuntu is missing
17:19
<sebas891>
ogra: it work with "ssh munin-node"
17:19
<alkisg>
Ah, right
17:19
<sebas891>
brb
17:19
<ogra>
right, but still it should work with the comma, just linking the debian plugin is better
17:19* ogra wuld appreciate if someone filed a bug
17:22
<alkisg>
sebas891, will you? Say that "/usr/share/ltsp/plugins/ltsp-build-client/Ubuntu/030-late-packages should link to /usr/share/ltsp/plugins/ltsp-build-client/Debian/030-late-packages" to enable it to accept comma seperated packages...
17:22
<sebas891>
ok, in which bug tracker should I do that?
17:23
<alkisg>
launchpad
17:23
<sebas891>
ok.
17:23gea has quit IRC
17:23
<alkisg>
sebas891: https://bugs.launchpad.net/ubuntu/+source/ltsp/+filebug
17:23
<sebas891>
:)
17:24
I'll try it as well, or you did try it?
17:25
<alkisg>
No no, it's your bug :)
17:25
<sebas891>
:)
17:26
I will try the fix as you proposed.
17:29Ryan52 has joined #ltsp
17:30haole has joined #ltsp
17:30
<haole>
hi... i'm trying to setup a ltsp environment, but i'm having some troubles with tftp... on the client, i get messages like "ARP timeout" and "cannot open connection"... is there an easy way to see which port atftp uses and if it is firewalled? i'm noob in setting networks
17:39
<sebas891>
alkisg ogra : thanks for the help to solve the problem, here is the mini bug report: https://bugs.launchpad.net/ubuntu/+source/ltsp/+bug/380072
17:40sebas891 has quit IRC
17:40alkisg has quit IRC
17:41haole has quit IRC
17:42sebas891 has joined #ltsp
17:45Remaille has quit IRC
17:45skipjack has left #ltsp
17:50haole has joined #ltsp
17:52
<haole>
hello there... i'm having troubles setting my ltsp server using pxe with dhcp and tftp... dhcp seems to work fine, but TFTP complains about not finding some file and halting the boot... using tcmdump, i've got this output: http://pastebin.com/d9e6b539
17:52
what could be wrong?
19:14nubae1 has joined #ltsp
19:14nubae has quit IRC
20:10try2free has joined #ltsp
20:22otavio has quit IRC
20:51haole has quit IRC
20:57try2free has left #ltsp
21:33GGD_ has joined #ltsp
21:35SDuensin has joined #LTSP
21:37GGD has quit IRC
21:38GGD_ is now known as GGD
21:44cyberorg has quit IRC
22:05ajohnson has quit IRC
22:17knipwim has quit IRC
22:20knipwim has joined #ltsp
22:30hanthana has joined #ltsp
22:38GGD has quit IRC
22:50knipwim_ has joined #ltsp
22:55knipwim has quit IRC
23:07try2free has joined #ltsp
23:28try2free has quit IRC
23:30alkisg has joined #ltsp
23:34sebas891 has quit IRC