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


Channel log from 22 July 2014   (all times are UTC)

01:05championofcyrodi has joined IRC (championofcyrodi!~championo@50-205-35-98-static.hfc.comcastbusiness.net)
01:08telex has left IRC (telex!~telex@freeshell.de, Remote host closed the connection)
01:10telex has joined IRC (telex!~telex@freeshell.de)
02:03championofcyrodi has left IRC (championofcyrodi!~championo@50-205-35-98-static.hfc.comcastbusiness.net, Remote host closed the connection)
02:09shan has joined IRC (shan!3b59f91c@gateway/web/freenode/ip.59.89.249.28)
02:10
<shan>
Hello Everybody!
02:10shan is now known as Guest60525
02:10
<Guest60525>
I am using ltps on 10.04
02:11
of late I have been getting an error saying cannot connect nbd server and shows the busybox command prompt
02:11
Could some one help me in resolving this issue?
02:16
jammcq could you please throw some light on this issue?
02:17
you have helped me on a lot of issues earlier :)
02:46Guest60525 has left IRC (Guest60525!3b59f91c@gateway/web/freenode/ip.59.89.249.28, Ping timeout: 246 seconds)
02:52Phantomas has left IRC (Phantomas!~Phantomas@ubuntu/member/phantomas, Ping timeout: 240 seconds)
02:52Phantomas has joined IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)
04:10jammcq has left IRC (jammcq!~jam@c-24-11-53-228.hsd1.mi.comcast.net, Quit: WeeChat 0.4.2)
05:14freedomrun has joined IRC (freedomrun!~freedomru@unaffiliated/freedomrun)
05:46
<FrozenZia>
Morning all.
05:47
A question if anyone's here yet/still: In trying to track down some nbd-server issues I've been having, alkisg suggested
05:47
!nbd-client
05:47
<ltsp`>
nbd-client: To try mounting the NBD image from the client initramfs: nbd-client 192.168.67.1 -N /opt/ltsp/i386 /dev/nbd0
05:48
<FrozenZia>
However, I've only now realized that I have no /opt/ltsp/i386.
05:50
at least I've assumed that is supposed to point to a directory on the server
05:54
<vagrantc>
well, /opt/ltsp/i386 is used as the name for NBD named exports
05:54
so that it's consistant with the NFS exported root-path that DHCP hands out
05:54
FrozenZia: and hi!
05:55
<FrozenZia>
vagrantc: hey hi back @ ya - always nice to see you here if nothing else.
05:55
<vagrantc>
this should be configured in /etc/nbd-server/conf.d/ltsp_i386.conf ... if i recall correctly
05:55
<FrozenZia>
I get a syslog msg "connect from 192.168.0.102, assigned file is /opt/ltsp/images/i386.img"
05:55
<vagrantc>
sounds good.
05:55
<FrozenZia>
So that makes sense.
05:56
Also "Can't open authorization file /etc/ltsp/nbd-server.allow (No such file or directory)."
05:56
But after that "Starting to serve"...
05:56
<vagrantc>
yeah, the auth file handling was broken in some version, but it should be harmless
05:57
there was an issue where it failed to work if the file was present
05:57
but it being missing is just a noisy warning in syslog... though it's been a while since i've looked into it
05:58
<FrozenZia>
Ok. alkisg troubleshot w/me a while on this and said I've got an extra dhcp-server in my network.
05:58
I HAVE had a separate PC set up as essentially as a firewall, using firestarter,
05:59
<vagrantc>
not uncommon for such things to serve DHCP ..
05:59
<FrozenZia>
and only yesterday discovered that it's no longer supported (or something).
05:59
<vagrantc>
!proxydhcp | echo FrozenZia
05:59
<ltsp`>
FrozenZia proxydhcp: A proxy DHCP server is defined by the PXE specification as a server which sends auxiliary boot information to clients, like the boot filename, tftp server or rootpath, but leaves the task of IP leasing to the normal DHCP server. More info: https://help.ubuntu.com/community/UbuntuLTSP/ProxyDHCP
05:59
<vagrantc>
that might be helpful ^^
05:59
<FrozenZia>
Yeah, it WAS my dhcp server.
06:00
<vagrantc>
so you've turned it off? or just disabled the DHCP server part?
06:00
or tried to disable it but it's sneakily re-enabling itself and causing problems for LTSP? :)
06:02
<FrozenZia>
Long story short - I reinstalled 12.04 on that machine and followed some instructions to set it up as a firewall again. So yes, I am now getting IPs from the server that I intend to.
06:03
But alkisg's troubleshooting clues seemed to simply point to that dhcp-server, so I'm not clear where the "extra" one is supposed to be exactly.
06:03
(or rather NOT supposed to be)
06:04
changing ipappend from 2 to 3 in pxelinux.cfg/default "helped" the situation.
06:12Grembler has joined IRC (Grembler!~Ben@cpc29-aztw22-2-0-cust128.18-1.cable.virginm.net)
06:30
<vagrantc>
FrozenZia: well, start turning off computers and wireless APs and routers until you find the culprit
06:31
FrozenZia: as "ipappend 3" fixing it definitely means it was getting dhcp responses from something else
06:32Phantomas1 has joined IRC (Phantomas1!~Phantomas@ubuntu/member/phantomas)
06:32
<FrozenZia>
Argh. Second verse, same as the first...
06:33alexxtasi has joined IRC (alexxtasi!~alex@unaffiliated/alexxtasi)
06:33Phantomas has left IRC (Phantomas!~Phantomas@ubuntu/member/phantomas, Ping timeout: 250 seconds)
06:36
<FrozenZia>
Set up is (RJ45 socket to ISP)--(Ubuntu firewall PC)--(8-port switch)--(LTSP-server)
06:37
also (8-port switch)--(LTSP-client)
06:37
There *IS* also a wireless router plugged into the (8-port switch), but even with it turned off, I still get the same problem.
06:38
So it's NOT an nbd-sever problem at this point?
06:39
<vagrantc>
is there any possibility the switch is doing dhcp?
06:39
the wireless AP is suspect, too...
06:40
i've seen malconfigured ones do all manner of havoc on a network.
06:41
FrozenZia: the ubuntu firewall PC is definitely not doing DHCP? and the LTSP server is doing DHCP?
06:44
<FrozenZia>
vagrantc: no, the ubuntu fw pc definitely IS doing DHCP and the LTSP server is the LTSP-PNP setup using dnsmasq (?)
06:45
Sorry if you're having a "why didn't u tell me that in the 1st place" moment.
06:45
<vagrantc>
got it
06:46
in that case, ipappend 3 is needed!
06:46
works as expected. :)
06:47
<FrozenZia>
argh. seriously? Did something change, then, b/c I swear it's been working w/ipappend 2 up till about I don't know a month or 2 ago?
06:48
No, I'm lying.
06:48
I specifically did this: echo 'IPAPPEND=3' >> /etc/ltsp/update-kernels.conf
06:49
when installing...
06:49
hmmmm -- which now seems to be commented out...
06:56
Uh what? Running update-kernels seems to have 0 effect.
06:59
<vagrantc>
using ltsp-pnp ?
06:59
it probably copies the files from the nbd image.
07:00
you might need to regenerate the NBD image with ltsp-update-image --cleanup / ... if i'm remembering that right
07:02
<FrozenZia>
ok, will try that. Tx for your help vagrantc!
07:03
<vagrantc>
presuming that runs the /usr/share/ltsp/update-kernels hook ...
07:03
you might want to run that first, just in case.
07:03
this was on 12.04 ?
07:04
we made a bunch of changes right after 12.04 to all that code.
07:04
ubuntu 12.04
07:08freedomrun has joined IRC (freedomrun!~freedomru@unaffiliated/freedomrun)
07:13vagrantc has left IRC (vagrantc!~vagrant@freegeek/vagrantc, Quit: leaving)
07:18
<FrozenZia>
yeah, this is 12.04
07:21
I just thought that running /usr/share/ltsp/update-kernels "by hand" would generate a new pxelinux.cfg/default
07:21Phantomas1 has left IRC (Phantomas1!~Phantomas@ubuntu/member/phantomas, Ping timeout: 255 seconds)
07:46andygraybeal has left IRC (andygraybeal!~andy@h151.203.130.174.dynamic.ip.windstream.net, Ping timeout: 240 seconds)
07:50bitcheker has joined IRC (bitcheker!~bitchecke@dynamic-adsl-62-10-102-125.clienti.tiscali.it)
07:54andygraybeal has joined IRC (andygraybeal!~andy@h151.203.130.174.dynamic.ip.windstream.net)
07:54freedomrun has left IRC (freedomrun!~freedomru@unaffiliated/freedomrun, Quit: So long and thanks for all the fish.)
08:04bennabiy has left IRC (bennabiy!~bennabiy@unaffiliated/bennabiy, Ping timeout: 250 seconds)
08:10bobby_C has joined IRC (bobby_C!~bobby@188.20.161.210)
08:14
<FrozenZia>
yep -- ltsp-update-image took care of it.
08:18bobby_C has left IRC (bobby_C!~bobby@188.20.161.210, Quit: Goin' down hard)
08:22
<SpComb>
what does IPAPPEND=3 do in this case that's relevant?
08:22
I mean, I have a similar setup with a separate DHCP server and LTSP server, and I just have the DHCP server setup with the suitable next-server/boot-file stuff, and it works without any IPAPPEND magics
08:24
well, apart from the default 'IPAPPEND 2'
08:25
<FrozenZia>
Well, if I understand the update-kernels.conf correctly the "magic" part of 3 compared to 2 is just that the boot commandline gets ip=<client-ip>:<boot-server-ip>:<gw-ip>:<netmask> added to it.
08:26
<SpComb>
yeah, how is that different from the dhclient within the ltsp client image getting the same stuff from DHCP?
08:26
FrozenZia: although wait, do you still have multiple DHCP servers on your network?
08:27
the only way I see that working is if the pxeboot rom gets multiple dhcp responses, of which one has the boot options present, and it selects that one in favour of the other, and then the ltsp client image happens to select the other one
08:27
which would be madness
08:31
only way I see that working as in -> with ipappend 3 the ltsp client image will use the same dhcp response that the pxeboot room chose
08:49MircoB has joined IRC (MircoB!~chatzilla@host67-45-dynamic.6-87-r.retail.telecomitalia.it)
08:52
<FrozenZia>
SpComb: No, I actually never DID have multiple DHCP servers -- just the one, but it was NOT the ltsp-server
08:53
<SpComb>
yeah, I don't get the ipappend 3
08:53
I have a similar setup and it works fine with the defaults
09:54|Paradox| has left IRC (|Paradox|!~iamparado@c-71-56-171-154.hsd1.va.comcast.net, *.net *.split)
09:54dsugar100 has left IRC (dsugar100!~dsugar@columbia.tresys.com, *.net *.split)
09:54pppingme has left IRC (pppingme!~pppingme@unaffiliated/pppingme, *.net *.split)
09:55dsugar100 has joined IRC (dsugar100!~dsugar@columbia.tresys.com)
09:55|Paradox| has joined IRC (|Paradox|!~iamparado@c-71-56-171-154.hsd1.va.comcast.net)
09:56pppingme has joined IRC (pppingme!~pppingme@unaffiliated/pppingme)
10:35khildin has joined IRC (khildin!~khildin@ip-80-236-219-68.dsl.scarlet.be)
10:59bennabiy has joined IRC (bennabiy!~bennabiy@unaffiliated/bennabiy)
11:02MircoB has left IRC (MircoB!~chatzilla@host67-45-dynamic.6-87-r.retail.telecomitalia.it, Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140605174243])
11:36khildin has left IRC (khildin!~khildin@ip-80-236-219-68.dsl.scarlet.be, Remote host closed the connection)
12:08Faith has joined IRC (Faith!~paty@unaffiliated/faith)
12:28championofcyrodi has joined IRC (championofcyrodi!~championo@50-205-35-98-static.hfc.comcastbusiness.net)
13:06championofcyrodi has left IRC (championofcyrodi!~championo@50-205-35-98-static.hfc.comcastbusiness.net)
13:13flo1546796 has joined IRC (flo1546796!~flo154679@unaffiliated/flo1546796)
13:40flo1546796 has left IRC (flo1546796!~flo154679@unaffiliated/flo1546796, Quit: Quitte)
13:51championofcyrodi has joined IRC (championofcyrodi!~championo@50-205-35-98-static.hfc.comcastbusiness.net)
14:20bitcheker has left IRC (bitcheker!~bitchecke@dynamic-adsl-62-10-102-125.clienti.tiscali.it, Ping timeout: 260 seconds)
14:38alexxtasi has left IRC (alexxtasi!~alex@unaffiliated/alexxtasi)
14:57
<kb8wmc>
good day to all...I am attempting to build an LTSP-PNP server from the instructions provided by Alkis...I have a question regarding both steps 2 and 3...I am using Ubuntu 10.04 RTAI in order to run LinuxCNC...Regarding instruction 2 does anyone have a working example of how to setup the repository mentioned in step 2 and what does it contain and where is it placed? Second question relates...
14:57
...to step 3, am I to understand that the grub menu must be changed to reflect access via the Recovery mode? and does anyone have working example related to step 3...? thank you in advance for any help and directions....
14:59
further, if there are any more in depth instructions relating to the above, could someone provide a link to point me in that direction?
15:08jammcq has joined IRC (jammcq!~jam@c-24-11-53-228.hsd1.mi.comcast.net)
15:15
<||cw>
!ltsp-pnp
15:15
<ltsp`>
ltsp-pnp: ltsp-pnp is an alternative (upstream) method to maintain LTSP installations for thin and fat clients that doesn't involve chroots: https://help.ubuntu.com/community/UbuntuLTSP/ltsp-pnp
15:16
<||cw>
kb8wmc: is that the instructions you were following?
15:18
<kb8wmc>
no, it was from another page as follows: http://ubuntu.5.x6.nabble.com/Simpler-method-for-fat-thin-client-setups-td4677965.html
15:19
thanks for the above link
15:19
<||cw>
a 2 year old mailing list post is very likely to be out of date :)
15:20
and grub should already have a recovery mode option
15:20
been there since at least 6.04, probably since the beginning
15:20
<kb8wmc>
I can access the grub menu using the "shift" key
15:22
<||cw>
but, that repo has 5.2 for 10.04, and doens't say what version is actually needed. 5.5 is the newest, but it's not been packaged for 10.04
15:23
alkis does come here frequently, his handle is alkisg
15:24
<kb8wmc>
just wondering what has to be done from within the recovery mode....I see on the version differences....roger on alkis visiting here
15:24
<||cw>
according to the wiki, nothing. I thing that's old instructions
15:24
<kb8wmc>
the other question involves setting up and pointing to a repository
15:24
ok...
15:25
I will have to read and read again the instructions you provided
15:26
<||cw>
commands for that are in the wiki
15:26
<kb8wmc>
rgr that....will study them carefully before I actually attempt
15:29
I did manage to setup an LTSP thin client server without problems, but ran into the FAT client information which is more to my needs
15:29
just need to know how to set it up without too many problems
15:30
<||cw>
ltsp-pnp is nice, but it's not required for fat clients
15:31
https://help.ubuntu.com/community/UbuntuLTSP/FatClients
15:31
you need 5.2+ for this, which the repos from the pnp wiki will get you on 10.04
15:32
<kb8wmc>
I found that out and may have to use the other install method as you have linked to, the PNP just sounded so much easier
15:32
and sounds easier to manage as well
15:32
<||cw>
it can be easier, give it a shot. I'm not sure if it works on 5.2
15:34
<kb8wmc>
I may make the attempt with 5.2, but want to check with alkis prior to making the attempt and understand the setting up "repository" concept, which I cannot quite understand as yet
15:35
<||cw>
I suggest trying in a virtual machine, or on a system you can re-install
15:35
what OS's are you most familiar with?
15:36
<kb8wmc>
yes, I have system available I could try it on...
15:36
<||cw>
a repository is basically just a collection of software
15:36
debian and ubuntu use repositories for everything
15:36
<kb8wmc>
I mostly run Ubuntu, two versions of it, and PCLinuxOS
15:37
<||cw>
so in ubuntu, you have main, security, univer, and multiverse by default
15:37
you can add partner repository in the gui, or custom ones
15:37
<kb8wmc>
yes, but what does the repository point to, from what I read and thought I understood, it is a special repository, sort of a local repository
15:37
<||cw>
or add them via command line
15:38Grembler has left IRC (Grembler!~Ben@cpc29-aztw22-2-0-cust128.18-1.cable.virginm.net, Quit: I Leave)
15:38
<kb8wmc>
rgr that, I can add repositories via cli
15:38
<||cw>
in this case it's a launchpad PPA repository
15:39
<kb8wmc>
rgr...does it point to the ppa of alkisg
15:39
<||cw>
on the technical level, it's just a website with a certain layout and special index files that apt understands.
15:40
one he manages, yes
15:40
<kb8wmc>
I just discovered that alkis has a ppa repository
15:40
ok...thanks for that info
15:41
I now understand...you answered my question #2
15:42
I was only going by the original link I had found which described a future repository
15:42
and somehow thought it might point to a localized repository
15:44
I had the misconception of creating a local repository on the server somehow and using it for doing the build and updates
16:51
||cw: I have decided to build the FAT client according to the wiki version which will work under 5.2....
16:53
do you know if it is necessary to install the anything at all in the "LATE PACKAGES=" portion of ltsp-build-client.conf file?
16:59
<||cw>
it's not, you can enter the chroot and install packages later.
17:00
it's just an easy way to get the packages you know you'll need installed right away
17:01
<kb8wmc>
ok...thanks so much for all your input
17:02Phantomas has joined IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)
17:44championofcyrod1 has joined IRC (championofcyrod1!~championo@50-205-35-98-static.hfc.comcastbusiness.net)
17:46championofcyrodi has left IRC (championofcyrodi!~championo@50-205-35-98-static.hfc.comcastbusiness.net)
17:47championofcyrod1 has joined IRC (championofcyrod1!~championo@50-205-35-98-static.hfc.comcastbusiness.net)
18:03freedomrun has joined IRC (freedomrun!~freedomru@unaffiliated/freedomrun)
18:05bitcheker has joined IRC (bitcheker!~bitchecke@dynamic-adsl-62-10-102-125.clienti.tiscali.it)
18:24jaskaran has joined IRC (jaskaran!~jaskaran@27.255.252.239)
18:52vagrantc has joined IRC (vagrantc!~vagrant@freegeek/vagrantc)
18:55ogra_ has left IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de, Ping timeout: 260 seconds)
18:56ogra_ has joined IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de)
19:00jaskaran has left IRC (jaskaran!~jaskaran@27.255.252.239, Quit: Ex-Chat)
19:10DanishMan has joined IRC (DanishMan!~kvirc@62-243-156-218-static.dk.customer.tdc.net)
19:16
<bennabiy>
ogra_: does ldm have root privs on the localhost in a fat client environment?
19:16
<ogra_>
uh, i dont know ... fat clients were after my time :) ... thats an alksis question
19:16
<bennabiy>
he wants to avoid ldm like the plague :)
19:16
<ogra_>
haha
19:17
<bennabiy>
I just wrote a little patch to the ssh.c plugin, but it did not seem to take effect
19:17
<ogra_>
it certainly runs as root on thin clients (if that didnt change in the last years)
19:17
<jammcq>
ogra_: howdy!!!
19:17
<ogra_>
hey hey
19:17
<bennabiy>
somehow it should be root, if it is able to add a /etc/passwd entry
19:17
<ogra_>
right
19:17
<bennabiy>
jammcq: when is the room topic going to be updated?
19:18
<jammcq>
umm, I dunno
19:18
what should we change it to?
19:18
<bennabiy>
jammcq: well, considering the StackExchange is no longer valid...
19:22
<jammcq>
other than getting rid of the stackexchange thing, i'm not even sure what else to say
19:23
I guess the irc logs is still current
19:24
<bennabiy>
yes. Perhaps point to where current (or as current as possible) documentation can be found?
19:25
ogra_: Do you remember the ldm code at all?
19:25championofcyrod1 has left IRC (championofcyrod1!~championo@50-205-35-98-static.hfc.comcastbusiness.net, Ping timeout: 240 seconds)
19:25
<ogra_>
very very roughly ...
19:26
<bennabiy>
my changes compiled, and I installed the .deb in my chroot, and rebuilt my image, but I am seeing no evidence of it working (writing a /etc/shadow entry)
19:26
<ogra_>
(i think i touched it last about 4-5 years ago)
19:26
<bennabiy>
I wonder if it is getting hit with one of the rc scripts after it fires
19:26
<ogra_>
and back then we only started thinking about fat clients
19:27
(when i left it it was simply a graphical "ssh -X" cllient, not much more)
19:27
<bennabiy>
I am wondering where would be the best place to call a function that requires the info from sshinfo->username and sshinfo->password to write to a file on the chroot.
19:28
Hmm, who has done the work on it since?
19:28
sbalneav ?
19:28ChanServ sets mode: +o jammcq
19:28jammcq changes topic to "This is the place for support of LTSP. Ask your question and hang around for an answer. Check IRC logs at http://irclogs.ltsp.org"
19:29
<ogra_>
i think the initial fat mode came from gadi and was all scripts and wrappers
19:29
no idea who took over then
19:30
<bennabiy>
maybe I need to write to a tmp file, and then have an rc script move it into place
19:30* ogra_ guesses vagrantc and stgraber are most likely the last guys that cared for ldm
19:32championofcyrod1 has joined IRC (championofcyrod1!~championo@50-205-35-98-static.hfc.comcastbusiness.net)
19:33
<bennabiy>
vagrantc: thoughts?
19:34
<vagrantc>
bennabiy: is this the patch in launchpad?
19:34
<bennabiy>
ldm-ssh
19:34
lp:~bennabiy/ltsp/ldm-ssh
19:35
<vagrantc>
might take a look at it later
19:35
<bennabiy>
I think I need to fire up an actual box so I can root shell
19:59
hmm.
20:01telex has left IRC (telex!~telex@freeshell.de, Remote host closed the connection)
20:02telex has joined IRC (telex!~telex@freeshell.de)
20:03
<bennabiy>
just added a little more logging to see if it is firing.
21:06Faith has left IRC (Faith!~paty@unaffiliated/faith, Quit: Saindo)
21:17championofcyrod1 has left IRC (championofcyrod1!~championo@50-205-35-98-static.hfc.comcastbusiness.net)
21:17bitcheker has left IRC (bitcheker!~bitchecke@dynamic-adsl-62-10-102-125.clienti.tiscali.it, Quit: {exiting})
21:25DanishMan has left IRC (DanishMan!~kvirc@62-243-156-218-static.dk.customer.tdc.net, Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
21:53nickcol has joined IRC (nickcol!586235cd@gateway/web/freenode/ip.88.98.53.205)
21:56nickcol has left IRC (nickcol!586235cd@gateway/web/freenode/ip.88.98.53.205, Client Quit)
21:57MircoB has joined IRC (MircoB!~chatzilla@95.235.41.35)
22:11mealstrom has left IRC (mealstrom!~Thunderbi@109.86.153.34, Ping timeout: 264 seconds)
22:23MircoB has left IRC (MircoB!~chatzilla@95.235.41.35, Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140605174243])
23:04jammcq has left IRC (jammcq!~jam@c-24-11-53-228.hsd1.mi.comcast.net, Quit: WeeChat 0.4.2)
23:31andygraybeal has left IRC (andygraybeal!~andy@h151.203.130.174.dynamic.ip.windstream.net, Ping timeout: 240 seconds)
23:37adrianorg has left IRC (adrianorg!~adrianorg@179.187.27.166.dynamic.adsl.gvt.net.br, Ping timeout: 240 seconds)
23:45andygraybeal has joined IRC (andygraybeal!~andy@h83.201.130.174.dynamic.ip.windstream.net)
23:59NeonLicht has left IRC (NeonLicht!~NeonLicht@darwin.ugr.es, Ping timeout: 255 seconds)