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


Channel log from 24 August 2010   (all times are UTC)

00:15poff_ has joined #ltsp
00:18poff_ has quit IRC
00:30alexqwesa has quit IRC
00:31alexqwesa_ has joined #ltsp
00:32alexqwesa_ has joined #ltsp
00:55Guerdal82 has left #ltsp
01:08bobby_C has joined #ltsp
01:10alkisg has joined #ltsp
01:20mistik1 has joined #ltsp
01:52johnny has joined #ltsp
02:09mikkel has joined #ltsp
02:10irule has quit IRC
02:29dobber has joined #ltsp
02:41biomorph_ has joined #ltsp
03:36dlezcano has quit IRC
04:10isojussi has joined #ltsp
04:11
<isojussi>
i have a weird problem. Client boots fine, but after entering username and password i can hear login sound but then in just gets back to login screen.
04:12bobby_C has quit IRC
04:13
<isojussi>
but I can login with user that have admin rights
04:17isojussi has quit IRC
04:19
<sep>
can you login with the problem user on the real server ? (iow is it a problem with the user or with ltsp? )
04:25biomorph_ has quit IRC
04:38alkisg has quit IRC
04:38Patina has quit IRC
04:40alkisg has joined #ltsp
04:40Patina has joined #ltsp
04:42dlezcano has joined #ltsp
05:04alexqwesa_ is now known as alexqwesa
05:23alkisg has quit IRC
05:41isojussi has joined #ltsp
05:42
<isojussi>
i have this problem http://ubuntuforums.org/archive/index.php/t-1474398.html , but those things does not help me to get users to login.
05:43alexqwesa has quit IRC
05:45alexqwesa has joined #ltsp
06:04bobby_C has joined #ltsp
06:08
<isojussi>
found a solution https://bugs.launchpad.net/ltsp/+bug/622641
06:11
anyone what is the command in lts.conf to disable sound?
06:30pmatulis has joined #ltsp
06:47dlezcano has quit IRC
06:56[GuS] has joined #ltsp
07:01isojussi has quit IRC
07:05Selveste1 has quit IRC
07:06Selveste1 has joined #ltsp
07:07dlezcano has joined #ltsp
07:10mae_tae has joined #ltsp
07:11
<mae_tae>
hello people, how do i fix this error ltsp-client-core, it says cannot be installed on this machine
07:14MornignSon has joined #ltsp
07:15johnny has quit IRC
07:23primeministerp has quit IRC
07:23primeministerp has joined #ltsp
07:28primeministerp has quit IRC
07:29primeministerp has joined #ltsp
07:30alkisg has joined #ltsp
07:32
<alkisg>
mae_tae: distro/version?
07:32
<mae_tae>
ubuntu 9
07:32
<alkisg>
And where/how are you trying to install ltsp-client-core? On the server or the chroot?
07:33
<mae_tae>
alkisg, i've notice that on the client side, it already receive its dynamic ip from the server, but it seems that tftpd doesnt work, seems like file not found
07:33
<alkisg>
Erm, let's step back, so, the problem is installing ltsp-client-core or tftp?
07:33
<mae_tae>
alkisg, that problem came out when i tried to type ltsp-update-sshkeys, it seems its not installed
07:34
<alkisg>
So you had a running ltsp installation so far?
07:34
And then you tried to type ltsp-update-sshkeys and a tftp problem happened?
07:34
<mae_tae>
alkisg, yes, i've done that already
07:34
alkisg, yes
07:34
<alkisg>
So you had an ltsp installation that was working without ltsp-update-sshkeys? That doesn't sound possible
07:35
<mae_tae>
alkisg, yes, so i notice it seems that tftpd is not working, so installed it again, thats why i got that error ltsp-client-core cannot be installed on this machine, i dont know if i still needed that
07:36
<alkisg>
mae_tae: well, the things you're saying do not make sense at all
07:36
tftpd doens't depend on ltsp-client-core
07:36
ltsp-client-core goes on the chroot, not on the server
07:36
<mae_tae>
alkisg, i just see on the client side that it has already that dhcp ip, and after that it seems it fails on tftp
07:36
<alkisg>
and, you can't have ltsp-server without ltsp-update-sshkeys
07:37
<mae_tae>
i see
07:37
<alkisg>
So, let's do this with commands instead
07:37
<mae_tae>
alkisg, do i need to put fixed ip address on eth0?
07:38
<alkisg>
Run this on the server: dpkg -l ltsp-server tftpd-hpa openbsd-inetd | grep ^ii
07:38
<mae_tae>
ok
07:39
<alkisg>
You (usually) need a fixed address on the nic that's facing the ltsp clients, yes
07:39
And usually it's on a completely different subnet (switch) that the other nic
07:39
<mae_tae>
i see
07:40
<alkisg>
But since you said you had it working before, this shouldn't be a problem, right?
07:40
What did the dpkg command return?
07:41
<mae_tae>
alkisg, sorry i can no longer test it, im now longer in the lab, ill try it tomorrow
07:41
<alkisg>
Erm, it won't make any difference
07:41
It was just a command to tell us which versions you have installed
07:41
<mae_tae>
alkisg, what usually do i expect in the result?
07:41
<alkisg>
You need to be on the lab to have good feedback
07:41
<mae_tae>
i see
07:43
alkisg, in the client side, what usually the error if it tfpd is not installed or not properly configured?
07:43
<alkisg>
tftp timeout
07:43
<mae_tae>
what i just remembered is that it has already received that dhcp ip, and fails on that tfpd, seems file not found
07:43
something like that
07:43
i see
07:44
alkisg, i remember its also edubuntu, its not ubuntu
07:45
<alkisg>
Also there's no 9 version, it's either 9.04 or 9.10 :)
07:45
<mae_tae>
alkisg, heheh, does version matters?
07:45
<alkisg>
Yes, that's why I asked
07:45
<mae_tae>
i see
07:45
how do i restart ltsp
07:46
or i just run that dhcp3-server
07:46
?
07:49
alkisg, if assuming everything is fine, would it have the same windows like in the server?
07:49
<alkisg>
mae_tae: read the docs for some details about how ltsp works
07:49
!docs
07:49
<ltspbot>
alkisg: "docs" :: For the most current documentation, see https://sourceforge.net/apps/mediawiki/ltsp/index.php?title=Ltsp_LtspDocumentationUpstream
07:50
<alkisg>
When you're at the lab and have a specific problem to debug, feel free to ping me
07:50
<mae_tae>
thanks alkisg, maybe if encounter an error again tomorrow, ill just write and present it to you again, thanks for time
07:51
<alkisg>
np
07:53
<mae_tae>
alkisg, last one, if ever if its connection time out, how do i fix it? what file will i modify? and lastly how do i restart ltsp?
07:54
<alkisg>
A tftp problem can usually be either a dhcpd.conf problem, a wrongly wired networking problem, a /etc/inetd.conf problem, or a /etc/default/tftpd-hpa problem
07:55
There's no ltsp service to restart. It consists of several daemons (tftp, dhcp, nbd, ssh...) which you restart seperately. Read the docs.
07:58
<mae_tae>
i see, i read an article also now, do i need to install also NFS? aside from that openssh-server
08:00
<alkisg>
You don't need to install anything other than ltsp-server-standalone, all dependencies are installed automatically. Again, docs. See also the web site docs: https://help.ubuntu.com/community/UbuntuLTSP/
08:01
<mae_tae>
yap, actually thats the one i followed that site
08:06mikkel has quit IRC
08:16mistik1 has quit IRC
08:19bobby_C has quit IRC
08:23mae_tae has quit IRC
08:29sep has quit IRC
08:34mikkel has joined #ltsp
08:35sep has joined #ltsp
09:07bobby_C has joined #ltsp
09:15jhutchins_lt has joined #ltsp
09:19wwx has quit IRC
09:20wwx has joined #ltsp
09:20cenobite has joined #ltsp
09:22dlezcano has quit IRC
09:30F-GT has quit IRC
09:43poff has quit IRC
09:52dlezcano has joined #ltsp
10:01F-GT has joined #ltsp
10:11jhutchins_lt has quit IRC
10:12jhutchins_lt has joined #ltsp
10:13staffencasa has joined #ltsp
10:54dobber has quit IRC
10:58mistik1 has joined #ltsp
11:00bobby_C has quit IRC
11:11jhutchins_lt has joined #ltsp
11:15jhutchins_lt has quit IRC
11:36poff has joined #ltsp
11:44cenobite has left #ltsp
12:06dlezcano has quit IRC
12:10otavio has quit IRC
12:15otavio has joined #ltsp
12:52
<[GuS]>
Hi guys, i am trying now to make sound works in LTSP5 terminals using gentoo. The conf that the guide suggest, it enough? http://en.gentoo-wiki.com/wiki/LTSP
12:58
<Appiah>
well
12:58
you could always try and find out? :)
13:08irule has joined #ltsp
13:08dlezcano has joined #ltsp
13:23grantk has joined #ltsp
13:42jhutchins_lt has joined #ltsp
13:44alkisg has quit IRC
14:01F-GT has quit IRC
14:13F-GT has joined #ltsp
14:30winthrowe has joined #ltsp
14:30vagrantc has joined #ltsp
14:32alkisg has joined #ltsp
14:33vmlintu has quit IRC
14:33
<winthrowe>
hello all, I'm having some kind of dchp problem. I can boot fine from the same switch as the server, but not from another switch. http://bit.ly/97JMcg seems to describe my problem, except I'm running a version it was supposed to be fixed in. any ideas?
14:35hawkI has joined #ltsp
14:40alkisg has quit IRC
14:48winthrowe has quit IRC
14:50[GuS] has quit IRC
14:54pmatulis has quit IRC
14:56hawkI has quit IRC
15:17mikkel has quit IRC
15:23jhutchins_lt has quit IRC
15:44alexqwesa has quit IRC
16:12mistik1 has quit IRC
16:13alexqwesa has joined #ltsp
16:17johnny has joined #ltsp
16:31kusznir_ is now known as kusznir
16:36winthrowe has joined #ltsp
16:37
<grantk>
I was wondering if it is a good idea to use a existing ltsp server as a ltsp-cluster app server?
16:38
I guess I should say will the existing ltsp install cause problems?
16:42mistik1 has joined #ltsp
16:44poff has quit IRC
16:48winthrowe has quit IRC
16:52irule has quit IRC
17:06hawkI has joined #ltsp
17:08MornignSon has quit IRC
17:11alkisg has joined #ltsp
17:27winthrowe has joined #ltsp
17:28
<winthrowe>
is there anyone who can give me a hand with ltsp booting in conjunction with cisco switches?
17:29
<johnny>
should just work right?
17:29
anyways.. this isn't a good time for support in this channel.. most people are away by this time of day
17:29
in fact, i was just passing time while my food is cooking
17:29
<winthrowe>
what's a better time, usually?
17:29
<johnny>
you should probably idle for awhile
17:30
<vagrantc>
winthrowe: just ask your questions, and people will respond when they can... try and stay online for as long as possible, really, so you might catch their replies...
17:30
there are people in all sorts of different timezones with different skillsets
17:31
<johnny>
0700 GMT - 1900 GMT or thereabouts
17:31
but yes vagrantc is right, be specific right off the back, nobody wants to spend time probing for questions
17:31
they are more likely to ignore it
17:32
<winthrowe>
when I boot a machine attached to the same switch as the server, everything is fine. when I try to boot a machine attached to another switch, the PXE dhcp is fine, but the linux portion just sends DHCPDISCOVER endlessly
17:33
<alkisg>
winthrowe: distro / version?
17:33
<winthrowe>
ubuntu 10.4
17:34
<alkisg>
Are you using the dhcp server on the ltsp server?
17:34
<winthrowe>
no, a preexisting debian box, I can grab versions if you'd like
17:35
<alkisg>
Nah, there's a bug with cisco routers functioning as dhcp servers, I was asking about that
17:36
Can you try fixing the netmask bug? let me find it...
17:36RiXtEr has joined #ltsp
17:37
<winthrowe>
alkisg: I can try pretty much anything, just let me know
17:37
<alkisg>
https://bugs.launchpad.net/ubuntu/+source/ltsp/+bug/604276
17:37
Uh, no, never mind that
17:38
That's after it gets the dhcp addresss
17:38
Hm....
17:38ThE-RiX has quit IRC
17:39vagrantc has quit IRC
17:39
<winthrowe>
that's what I've been saying the last few days :)
17:39
<alkisg>
One easy way to bypass this is to use ipappend 3, but I wonder why it won't work with 2 switches...
17:40
Does the debian dhcp server log say that it offers an address?
17:41
Or, if you could provide a tcpdump of the transaction...
17:43
<winthrowe>
where would you like it dumped from? I have a machine on a hub that I've been trying to use wireshark with, or I could go to the server
17:43
<alkisg>
The debian server would be best
17:44
Wireshark would also do, if it's on a hub with the dhcp server
17:44
<winthrowe>
no, it's on a hub with a client, I'm out at the remote site, but I can ssh to the dhcp server
17:46
actually, I have my servers mixed up, the dhcp runs gentoo. is there a specific tcpdump command you'd like me to run?
17:47
<alkisg>
The client side might also do (it's not necessarily the same as the server side, some switches might block some traffic)
17:48
Not sure about the command, maybe tcpdump -vv 'port 68 or port 69 ' ?
17:48
<winthrowe>
I can do both
17:52
ok, getting everything setup to cut down on any extrenuous packets
17:52
<alkisg>
Those are the dhcp ports, so just don't reboot any other pcs at that time
17:52
<winthrowe>
easy to say, but the server serves a few hundred clients
17:54
<alkisg>
Heh... but I think we'll see which one it is, the one that fails :D
17:54
Also, on another approach, after the tcpdump, try this: lucid is using udhcpc by default, not ipconfig. See if ipconfig works: put "break=mount" in /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/default, and on the busybox shell on the client, type: ipconfig eth0.
17:56
<winthrowe>
capturing now
17:58
where would you like me to put them?
17:58
<alkisg>
!pastebot
17:58
<ltspbot>
alkisg: "pastebot" :: The LTSP pastebot is at http://ltsp.pastebin.com. Please paste all text longer than a line or two to the pastebot, as it helps to reduce traffic in the channel. Don't forget to paste the URL of the text here.
18:00pmatulis has joined #ltsp
18:01
<winthrowe>
I notice my client capture has more packets the server: http://ltsp.pastebin.com/QABFxmeV
18:03mistik1 has quit IRC
18:05
<alkisg>
winthrowe: while I'm trying to read the dumps, can you try the ipconfig thing?
18:05
<winthrowe>
working on it already
18:07
the break=mount goes on the append line, correct?
18:08
<alkisg>
Yes, replace quiet splash with it
18:09
<winthrowe>
it's there, but it didn't seem to stop, but went right on to udhcpc
18:10
<alkisg>
Do you have next-server=the ltsp server in your dhcpd.conf?
18:10
<winthrowe>
I do
18:10
<alkisg>
Pastebin your pxelinux.cfg/default...
18:11
<winthrowe>
http://pastebin.com/bg9ibXwq
18:12
<alkisg>
...and then try this on your ltsp server: grep tftp /var/log/daemon.log | tail -n 20
18:12
Ah. Sorry, udhcpc runs on init-premount
18:12
Try break=init-premount, but I'm not sure if your keyboard will be working with that
18:13
<winthrowe>
well, hopefully, it's ps/2. I'll give a shot
18:14
<alkisg>
(I can only imagine a udhcpc bug so far...)
18:15
(which would be moot to report it, as the package in lucid is 5 years old, I requested an update for maverick and they did it, so it's a completely different udhcpc now in maverick... :-/)
18:15
<winthrowe>
still didn't stop with init-premount
18:15
<alkisg>
Try the grep command above
18:16
Is the tftp server actually used for pxelinux.0 etc?
18:16* alkisg hopes you're not using etherboot...
18:16
<winthrowe>
http://pastebin.com/G4ViZmDG
18:17
<alkisg>
I'm on a different timezone, but I don't see any new tries to load pxelinux.cfg/default, am I right?
18:17
<winthrowe>
yes, the pxelinux.0 is on the tftp server, which is the ltsp server, but not dhcp
18:18
I see one one line 15
18:18
<alkisg>
The last pxelinux.cfg/default was downloaded about 20 minutes ago
18:18
Didn't you just boot the client a couple of minutes ago?
18:18
<winthrowe>
you're right, I didn't check the timestamp
18:18
<alkisg>
Check if you have conflicting dhcp servers
18:21
<winthrowe>
how would I do that, besides seeing no dhcp security violations on the switches?
18:22
<alkisg>
The client isn't an etherboot client (with etherboot burned into its rom), right?
18:22
...but still we'd be seeing nbi.img there, never mind
18:22
So, if the client boots, and you're not seeing a tftp entry there, then another tftp server is used
18:22
<winthrowe>
I don't think so, they're HP desktops using onboard PXE nic
18:23
<alkisg>
*I mean if it loads a kernel, of course
18:23
<winthrowe>
and it does
18:23knipwim_ has joined #ltsp
18:23
<alkisg>
For a moment you should be seeing the server ip while the client boots (depending on the rom)
18:23
Check if that's the ltsp server or some other pc
18:24
<winthrowe>
one moment
18:24
<alkisg>
Or, you could use gpxe, it has a "config" command which shows all the data received from the dhcp server for pxe
18:24
!gpxe
18:24
<ltspbot>
alkisg: "gpxe" :: the successor to etherboot (http://etherboot.org). To download bootable floppy, cd, usb, kernel etc images, visit http://rom-o-matic.net/
18:24
<alkisg>
(boot from usb stick)
18:27knipwim has quit IRC
18:27
<winthrowe>
the ip=... line that has client ip, ltsp ip, broadcast, netmask? those are all correct
18:28
<alkisg>
Hmmm can you stop tftp on the ltsp server just for 2 minutes?
18:28
sudo stop tftpd-hpa
18:28
If the client boots then, we're sure it's using some other tftp server
18:28
<winthrowe>
I can, one moment.
18:30
I see TFTP.....
18:30
open timeout
18:30
<alkisg>
So, it's using the ltsp tftp server, but it's not logging the tftp request?! Wow...
18:30
Put verbose before starting it, moment..
18:30
(in /etc/default/tftpd-hpa)
18:31
TFTP_OPTIONS="--secure --verbose"
18:31
Then, sudo start tftpd-hpa, and then reboot the client and check the daemon.log
18:33* alkisg wonders why break=init-premount doesn't work then :-/
18:35
<winthrowe>
this should be everything relavant: http://pastebin.com/2nTygvDu
18:36
<alkisg>
Looks good. And still break=init-premount did nothing?
18:36
<winthrowe>
correct, still nothing.
18:36
<alkisg>
Can you change vmlinuz to vmlinuz-fake to pxelinux.cfg/default?
18:36
To verify that it doesn't find the kernel with that...
18:37
<winthrowe>
could not find image, and a boot: prompt
18:38
<alkisg>
....
18:38
<winthrowe>
I'll try gpxe, but I need to go downstairs to get some media of some kind
18:38
<alkisg>
OK, change of plans:
18:38
<winthrowe>
ok
18:38
<alkisg>
Let's try removing udhcpc, then ipconfig will be used. Do this:
18:39
Move /opt/ltsp/i386/usr/share/initramfs-tools/scripts/init-premount/udhcp to some backup location
18:39
Then, sudo chroot /opt/ltsp/i386 update-initramfs -u
18:40
Then, sudo ltsp-update-kernsl
18:40
*ltsp-update-kernels
18:40
And reboot the client. This will revert to using ipconfig
18:41
(of course also restore vmlinuz-fake to vmlinuz)
18:45
<winthrowe>
that seems to have done it.
18:45
<alkisg>
@$(*&@#(* my bad. It should be break=premount
18:45
<Kyle__>
Is there a way to trigger clients to restart with an update image (if they are at the long screen)?
18:45
<alkisg>
Anyway, it was probably a udhcpc bug. Is it booting now?
18:45
<winthrowe>
it is. I'd say definately a udhcpc bug
18:45
<Kyle__>
I noticed they automatically restart if there is a new image at the time of a log-out...
18:46
<alkisg>
winthrowe: unfortunately, it's not worth filing a bug against it, as it was a 5 year old package in lucid, and it's updated now
18:47
<winthrowe>
alksig: is there any reason I should think this is a workaround instead of a fix, as far as ltsp as a whole is concerned?
18:47
<alkisg>
winthrowe: well, if you ever update ltsp-client-core in the chroot, then the udhcp file will go there again, causing you the same problems
18:47staffencasa has quit IRC
18:47
<alkisg>
So, you should at least use dpkg-divert for it
18:49ogra has quit IRC
18:49
<alkisg>
Other than that, it's just the old (pre- 9.10) behavior. ipconfig doesn't renew its leases, but that rarely causes problems (dhcp servers usually ping to see if the ips are available before assigning them)
18:49ogra has joined #ltsp
18:51winthrowe has quit IRC
18:54alkisg has quit IRC
19:00irule has joined #ltsp
19:29grantk has left #ltsp
19:46ogra_cmpc has quit IRC
19:46
<nutron>
Can I use ranges in the MAC blocks in lts.conf?
19:47
I've noticed that I need to "LIKE = NVIDIA" for quite a few machines, all of the macs start the same way 00:17:1D .. etc. I'm wondering if that's possible, it's just ugly, though no one's gonna smack me upside the head if I have a 20K lts.conf file.
19:54pmatulis has quit IRC
19:56MornignSon has joined #ltsp
19:58ogra_cmpc has joined #ltsp
20:07rjune has quit IRC
20:38litlebuda has joined #ltsp
20:56[GuS] has joined #ltsp
21:02|GuS| has joined #ltsp
21:02|GuS| has joined #ltsp
21:03[GuS] has quit IRC
21:05vagrantc has joined #ltsp
21:07[GuS] has joined #ltsp
21:07|GuS| has quit IRC
21:13|GuS| has joined #ltsp
21:13|GuS| has joined #ltsp
21:13vagrantc has quit IRC
21:14[GuS] has quit IRC
21:36wolfraven has joined #ltsp
21:36wolfraven has left #ltsp
22:16M4gic5t0rM has joined #ltsp
22:22M4gic5t0rM1 has joined #ltsp
22:22M4gic5t0rM has quit IRC
22:22M4gic5t0rM1 has left #ltsp
22:24M4gic5t0rM has joined #ltsp
22:24|GuS| has quit IRC
22:29irule has quit IRC
22:29M4gic5t0rM has quit IRC
22:29M4gic5t0rM has joined #ltsp
22:37M4gic5t0rM has quit IRC
23:01sweetpi has joined #ltsp
23:08vagrantc has joined #ltsp
23:09irule has joined #ltsp
23:45japerry has joined #ltsp
23:54lasersoft1 has joined #ltsp