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


Channel log from 1 October 2009   (all times are UTC)

00:05alkisg has quit IRC
00:27dkostousov has quit IRC
02:21Selveste1 has joined #ltsp
02:28nubae|work has joined #ltsp
03:05yoshi_ has joined #ltsp
03:11yoshi_ has quit IRC
03:12yoshi_ has joined #ltsp
03:21dkostousov has joined #ltsp
03:57otavio_ has quit IRC
04:20FGXR6 has joined #ltsp
04:22F-GT has quit IRC
04:32wwx has quit IRC
04:36mikkel_ has joined #ltsp
04:52Selveste1 has quit IRC
05:10Selveste1 has joined #ltsp
05:19ogra has quit IRC
05:20ogra has joined #ltsp
05:25F-GTSC has joined #ltsp
05:27FGXR6 has quit IRC
05:31wwx has joined #ltsp
06:25alkisg has joined #ltsp
06:27pmatulis has joined #ltsp
06:45lucascoala has joined #ltsp
07:07lucascoala has quit IRC
07:09lucascoala has joined #ltsp
07:22bobby_C has joined #ltsp
07:23bieb has joined #ltsp
07:25garymc has joined #ltsp
07:28shawnp0wers has joined #ltsp
07:30yoshi__ has joined #ltsp
07:35lucascoala has quit IRC
07:36cliebow has joined #ltsp
07:37lucascoala has joined #ltsp
07:46fixxxermet has joined #ltsp
07:47
<fixxxermet>
I'm looking to setup a ltsp ubuntu server for pxe booting workstations. How does ltsp handle multiple users working on the same box?
07:47cyberorg has quit IRC
07:47yoshi_ has quit IRC
07:47yoshi__ is now known as yoshi_
07:49Kicer86 has joined #ltsp
07:50
<alkisg>
fixxxermet: linux is a multi user system, so no problem?
07:50
<fixxxermet>
alkisg: I've just never used it this way so I am curious to see what happens :)
07:50
<alkisg>
Works fine; just void logging into gnome from the same user and from different locations simultaneously...
07:51yoshi_ has quit IRC
07:51yoshi_ has joined #ltsp
07:51
<fixxxermet>
Can I still setup ldap authentication?
07:51Selveste1_ has joined #ltsp
07:51
<alkisg>
Sure
07:52otavio has joined #ltsp
07:54
<fixxxermet>
One more for now: I'm installing a 64-bit ltsp server but my clients are 32bit. Using the ubuntu alternate CD with the "Install an LTSP Server" option, do I get to pick which architecture?
07:55wwx has quit IRC
07:56
<alkisg>
Nope
07:57Gadi has joined #ltsp
07:57
<alkisg>
You need to use ltsp-build-client --arch=i386 later on
07:57
<fixxxermet>
So both i386 and amd64 will be built.
07:57Selveste1 has quit IRC
08:00
<alkisg>
hhnhu
08:00
(heh my kids got my kbd :))
08:00otavio has joined #ltsp
08:00
<fixxxermet>
hehe
08:01
<alkisg>
fixxxermet: you don't need to select "install an ltsp server" when it boots, if you're not gonna use it
08:03
<fixxxermet>
Doesn't that install some additional dependencies or something?
08:05
<alkisg>
Not really... a "sudo apt-get install ltsp-server" (or ltsp-server-standalone) is all you need
08:05
...and ltsp-build-client after that.
08:07
<Gadi>
(just set a static IP before you do that, too)
08:07* Gadi waves to alkisg
08:07
<Gadi>
and his kids
08:07
:)
08:07
<alkisg>
Hey Gadi!
08:07
(they're the little ones, can't read yet :()
08:07
<Gadi>
sure they can - they just don't want you to realize it
08:08
clever kids....
08:08
<alkisg>
:D
08:10
<fixxxermet>
alkisg: Super - thanks.
08:10
<alkisg>
yw
08:18
<fixxxermet>
Then I'd might as well use ubuntu-server and apt-get install ltsp-server
08:19
<alkisg>
You'll also need the ubuntu-desktop package...
08:20
<fixxxermet>
ah
08:24shawnp0wers has quit IRC
08:24bieb has quit IRC
08:24alkisg has quit IRC
08:24ogra has quit IRC
08:24otavio has quit IRC
08:24Gadi has quit IRC
08:24yoshi_ has quit IRC
08:24garymc has quit IRC
08:24dkostousov has quit IRC
08:24Topslakr has quit IRC
08:24_UsUrPeR_ has quit IRC
08:24johnny has quit IRC
08:24knipwim has quit IRC
08:24dberkholz has quit IRC
08:24pmatulis has quit IRC
08:24Selveste1_ has quit IRC
08:24bobby_C has quit IRC
08:24yanu has quit IRC
08:24elias_a has quit IRC
08:24cliebow has quit IRC
08:24NeonLicht has quit IRC
08:24ltsplogbot has quit IRC
08:24sutula has quit IRC
08:24Ryan52 has quit IRC
08:24lejo has quit IRC
08:24F-GTSC has quit IRC
08:24japerry has quit IRC
08:24ltsppbot has quit IRC
08:24moldy has quit IRC
08:24rjune__ has quit IRC
08:24vlt has quit IRC
08:24leio has quit IRC
08:24rm-rf has quit IRC
08:24chrisinajar has quit IRC
08:24gentgeen__ has quit IRC
08:24ajohnson has quit IRC
08:24panthera has quit IRC
08:24tarbo has quit IRC
08:24shogunx has quit IRC
08:24zamba has quit IRC
08:24map7|away has quit IRC
08:24|Paradox| has quit IRC
08:24Yaroze has quit IRC
08:24fixxxermet has quit IRC
08:24sbalneav has quit IRC
08:24benGREEN has quit IRC
08:24Patina has quit IRC
08:24loather-work has quit IRC
08:25otavio has joined #ltsp
08:25Gadi has joined #ltsp
08:25Selveste1_ has joined #ltsp
08:25yoshi_ has joined #ltsp
08:25fixxxermet has joined #ltsp
08:25cliebow has joined #ltsp
08:25shawnp0wers has joined #ltsp
08:25garymc has joined #ltsp
08:25bieb has joined #ltsp
08:25bobby_C has joined #ltsp
08:25pmatulis has joined #ltsp
08:25alkisg has joined #ltsp
08:25F-GTSC has joined #ltsp
08:25ogra has joined #ltsp
08:25dkostousov has joined #ltsp
08:25yanu has joined #ltsp
08:25Topslakr has joined #ltsp
08:25japerry has joined #ltsp
08:25_UsUrPeR_ has joined #ltsp
08:25dberkholz has joined #ltsp
08:25johnny has joined #ltsp
08:25knipwim has joined #ltsp
08:25zamba has joined #ltsp
08:25gentgeen__ has joined #ltsp
08:25ajohnson has joined #ltsp
08:25ltsppbot has joined #ltsp
08:25moldy has joined #ltsp
08:25NeonLicht has joined #ltsp
08:25rjune__ has joined #ltsp
08:25map7|away has joined #ltsp
08:25chrisinajar has joined #ltsp
08:25elias_a has joined #ltsp
08:25ltsplogbot has joined #ltsp
08:25Ryan52 has joined #ltsp
08:25sutula has joined #ltsp
08:25lejo has joined #ltsp
08:25vlt has joined #ltsp
08:25rm-rf has joined #ltsp
08:25tarbo has joined #ltsp
08:25leio has joined #ltsp
08:25shogunx has joined #ltsp
08:25panthera has joined #ltsp
08:25|Paradox| has joined #ltsp
08:25Yaroze has joined #ltsp
08:25Patina has joined #ltsp
08:25benGREEN has joined #ltsp
08:25sbalneav has joined #ltsp
08:25loather-work has joined #ltsp
08:26lucascoala has joined #ltsp
08:26lucascoala_ has joined #ltsp
08:32lucascoala_ has quit IRC
08:45cyberorg has joined #ltsp
09:05wwx has joined #ltsp
09:08cliebow has quit IRC
09:11garymc has quit IRC
09:22cg_uira has joined #ltsp
09:33
<fixxxermet>
Does it matter if I get ldap working before or after install ltsp-server-standalone and building the client?
09:35tstafford_ has joined #ltsp
09:39Ahmuck_Sr has joined #ltsp
09:42jayson has joined #ltsp
10:02
<Gadi>
fixxxermet: no - the authentication is on the server side, so it does not impact the client side at all
10:10otavio_ has joined #ltsp
10:13alkisg has quit IRC
10:14alkisg has joined #ltsp
10:17Selveste1_ has quit IRC
10:27dro has joined #ltsp
10:30
<dro>
do any of you use a windows dhcp server for ltsp?
10:30
I do and the only way i can get certains clients to boot, is to have a tftp server on the windows dhcp server
10:33
<alkisg>
You could also point them to the tftp server of the ltsp server....
10:34Selveste1_ has joined #ltsp
10:34
<dro>
alkisg: in the windows scope? i tried defining a custom tftp server but that didn't work
10:34otavio has quit IRC
10:34
<alkisg>
I think it's in the docs, lemme see.
10:35CAN-o-SPAM has joined #ltsp
10:36
<dro>
what started everything, was that this morning, all my ltsp clients stopped working with a tftp timeout error
10:37
I restarted the tftp server, and now they start booting and get an ip address and then say, error: connection refused and then a list of mount errors
10:37
<alkisg>
You usually copy the kernels over to the windows tftp server?
10:38
<dro>
alkisg: yes what I end up doing, is each time i update the chroot i copy over the /var/lib/tftpboot/ltsp directory to the windows tftp
10:38
<alkisg>
Yeah you'd better use the ltsp server as the tftp server. /me is still looking...
10:38
<dro>
alkisg: ty
10:39
<alkisg>
https://help.ubuntu.com/community/UbuntuLTSP/LTSPWindowsDHCP
10:39
066 Boot Server Host Name: <ip address>
10:39
<dro>
I have that set as 172.16.20.1
10:39
which is the ip of the ltsp server
10:40
<alkisg>
and?
10:40
<dro>
i set all the scope options that the help page said
10:40
017: root path - /opt/ltsp/i386
10:41
067: Bootfile Name - /ltsp/i386/pxelinux.0
10:43otavio_ has quit IRC
10:43otavio has joined #ltsp
10:43jayson has quit IRC
10:44
<alkisg>
dro, one way to debug this is to boot a client with gpxe, and see what dhcp options actually reach the client
10:45
<dro>
alkisg: ok i will look into that, ty
10:50bobby_C has quit IRC
10:50yoshi_ has quit IRC
10:52
<dro>
!pastebot
10:52
<ltspbot>
dro: "pastebot" is The LTSP pastebot is at http://pastebot.ltsp.org. Please paste all text longer than a line or two to the pastebot, as it helps to reduce traffic in the channel. A link to the content will be pasted in the channel.
10:52
<ltsppbot>
"dro" pasted "cnc@ltsp:~$ netstat -tunapl (N" (31 lines) at http://pastebot.ltsp.org/568
10:52
<dro>
alkisg: shouldn't tftp be in the "listening" state?
10:53
<alkisg>
dro: try this: netstat -nap | grep :69
10:54
<dro>
udp 0 0 0.0.0.0:69 0.0.0.0:* 2318/inetd
10:54
<alkisg>
So it's listening.
10:54
(you could also try installing tftp-hpa = the client, and then run `tftp localhost`, and then `bin`, and then `get ltsp/i386/pxelinux.0`.
10:55
Do the clients actually try to load pxelinux.0, and fail?
10:55
If not, then it's a dhcp problem, not a tftp problem...
10:57Selveste1_ has quit IRC
10:58
<dro>
alkisg: different clients are doing different things
10:58
occasionally it fails trying to load pxelinux.0 about 1 out of 20 times
10:59
but that was fixed after i rebooted the ltsp server
10:59
i did a dist-upgrade this morning and rebuilt the client, so needed to reboot
10:59
new kernel
11:00
<alkisg>
"(07:01:12 μμ) dro: but that was fixed after i rebooted the ltsp server" ==> didn't you say that your tftp server was in the *windows* machine?
11:00
How could rebooting the ltsp server fix the windows tftp server?
11:00
<dro>
alkisg: two different things, the pxelinux.0 boot error shoudl be resolved by rebooting the ltsp serve since i loaded a new kernel thru dist-upgrade for the ltsp server and chroot
11:03
<alkisg>
I don't get it. Isn't pxelinux.0 on the windows server?
11:03
<dro>
alkisg: yes but it's also on the ltsp server
11:03
alkisg: lets just start over
11:03
about half of my ltsp clients will not boot
11:03
<alkisg>
dro, sorry, got to go right now
11:03
I'll be back later on
11:03
<dro>
alkisg: ty for your help
11:03
<alkisg>
Bye..
11:04alkisg has quit IRC
11:08GodFather has joined #ltsp
11:12
<cg_uira>
Hi, I rebuild the initramfs for 3c509 module with the follow command:
11:13
# mkinitramfs 2.6.24-24-generic -o /var/lib/tftpboot/ltsp/i386/placas_isa/initramfs-2.6.24-placaisa
11:13
But now, I have the error when I boot the client:
11:13
request_module: runaway loop modprobe binfmt-464c
11:14
I have a 64-bit server
11:14
but 32-bit clients
11:14
I think that the new initramfs is 64-bit
11:15
<ogra>
ouch
11:15
dont use mkinitramfs
11:15
<cg_uira>
then, I down know what are the options for rebuild 32-bit
11:15
<ogra>
never ever
11:15
<cg_uira>
but, how rebuild initranfs, then?
11:16
<ogra>
you use update-initramfs *inside* the chroot
11:16
do the following:
11:17
sudo gedit /opt/ltsp/i386/usr/share/initramfs-tools/hook-functions
11:17
scroll down to the "auto_add_modules" function
11:17
<cg_uira>
ok
11:17
<ogra>
in the "net)" case statement you already see a lot of NIC modules
11:17
add yours
11:18vagrantc has joined #ltsp
11:18
<ogra>
save the file
11:18
then: sudo chroot /opt/ltsp/i386/ update-initramfs -u
11:18
then: sudo ltsp-update-kernels
11:19
now you should have the updated initramfs that was created under /opt/ltsp/i386/boot in /var/lib/tftpboot/ltsp/i386/
11:19
and should be able to boot
11:19
<Gadi>
prolly better to add it to .../etc/initramfs-tools/modules, no?
11:20
<ogra>
not sure
11:20
i had mixed results :)
11:20
<Gadi>
loverly
11:20
:)
11:20* ogra -> afk
11:20staffencasa has joined #ltsp
11:21
<cg_uira>
ok, thanks...now I'll try to boot the client
11:24strattog has quit IRC
11:24Sarten-X2 has quit IRC
11:24stgraber has quit IRC
11:24korcan has quit IRC
11:24Lumiere has quit IRC
11:24klausade has quit IRC
11:25
<cg_uira>
ogra: not work
11:25
kernel panic in the client
11:26
<Gadi>
cg_uira: did you run ltsp-update-kernels after you rebuilt the initramfs?
11:26Lumiere has joined #ltsp
11:27
<Gadi>
(outside the chroot)
11:27
<cg_uira>
Gadi: yes
11:27stgraber has joined #ltsp
11:27
<cg_uira>
outside?
11:27
yes
11:27
<Gadi>
if you add "break=mount" to the kernel command line, you can drop into initramfs and see if the module was copied in
11:28
<cg_uira>
the output was: Updating /var/lib/tftpboot directories for chroot: /opt/ltsp/amd64 Updating /var/lib/tftpboot directories for chroot: /opt/ltsp/i386
11:28
<Gadi>
add it to: /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/default
11:28otavio_ has joined #ltsp
11:28
<Gadi>
also, I am assuming you pxe boot not etherboot
11:28
is that correct?
11:29
<cg_uira>
3c509 isa need etherboot
11:29
<Gadi>
ah, then you have an extra step
11:29
do:
11:29
chroot /opt/ltsp/i286
11:29
oops
11:29
chroot /opt/ltsp/i386
11:30
<cg_uira>
ok
11:30
<Gadi>
/usr/share/ltsp/update-kernels
11:30
(I think thats the script name)
11:30
<cg_uira>
no such file or directory
11:30
<Gadi>
hmm...
11:30otavio has quit IRC
11:30
<Gadi>
ls /usr/share/ltsp
11:31Sarten-X has joined #ltsp
11:31
<cg_uira>
/usr/share/ltsp is not here
11:31
<Gadi>
in the chroot?
11:31
<cg_uira>
yes
11:31
<Gadi>
hmm... what distro?
11:32
<cg_uira>
ubuntu 8.04
11:32
<Gadi>
do you have an /usr/lib/ltsp?
11:32
<cg_uira>
yes
11:32
<Gadi>
we moved it at one point
11:32
ah, ok
11:32
/usr/lib/ltsp/update-kernels
11:33
<cg_uira>
I did
11:33
<Gadi>
ok, now exit the chroot
11:33
and run: sudo ltsp-update-kernels
11:34
<cg_uira>
ok
11:34
<Gadi>
that extra command that we did was to make an "nbi" image suitable for etherboot from your new initramfs
11:34
<cg_uira>
ah, I understand
11:34
<Gadi>
if you change the initramfs again, run update-initramfs and then that other command
11:34
<cg_uira>
ok, I'll try the client
11:35
<Gadi>
btw, I *believe* that if you want update-initramfs to copy more stuff into the initramfs, you need: update-initramfs -c -k <kernel-version>
11:35
as opposed to update-initramfs -u
11:35
so, you may want to try that, if this does not work
11:36
<cg_uira>
ok, thank you
11:37
don't work
11:37korcan has joined #ltsp
11:43
<ogra>
Gadi, -u looks in /boot by default
11:43
as long as -u is run chrooted it should be fine
11:44
<Gadi>
ogra: I have had case where when I have added drivers into the initramfs, they would not be pulled in with a simple -u
11:44
<ogra>
strange
11:44
<Gadi>
yeah
11:45
as you say, mixed results ;)
11:45
<cg_uira>
Gadi: When I use -c -k options the output is: Cannot find /lib/modules/2.6.24-24-generic
11:47
<Gadi>
you need to specify the kernel in the chroot
11:48
in the chroot, do: ls /lib/moduels
11:48
<cg_uira>
yes, this is the error
11:48
<Gadi>
er, ls /lib/modules
11:48
what is the directory name?
11:48
<cg_uira>
what directory?
11:48
<Gadi>
do this:
11:49
sudo chroot /opt/ltsp/i386
11:49
ls /lib/modules
11:49
what is the output?
11:49
<cg_uira>
2.6.24-16-generic
11:49
<Gadi>
there ya go
11:49
now, do:
11:49
update-initramfs -c -k 2.6.24-16-generic
11:50
/usr/lib/ltsp/update-kernels
11:50
like that
11:50
<cg_uira>
yes, no error now
11:51
<Gadi>
when all that's done, exit from the chroot
11:51
and run: sudo ltsp-update-kernels
11:51
and try to boot the thin client
11:54
<cg_uira>
I'm sorry, it's not booting
11:54
it have a kernel panic
11:55staffencasa_ has joined #ltsp
11:56
<cg_uira>
can't open /tmp/net-eth0.conf
11:56
is the output
11:56
<Gadi>
cg_uira: try this:
11:56
edit /opt/ltsp/i386/etc/initramfs-tools/modules
11:57
add a line that reads:
11:57
3c509
11:57
and save it
11:57
next, do the same in /opt/ltsp/i386/etc/modules
11:57
then, repeat the update-initramfs, etc.
11:58spectra has joined #ltsp
11:58
<cg_uira>
ok, I'll do it
11:59* Gadi runs to a meeting - bbiab
12:03
<cg_uira>
Gadi: yes! it's working!!
12:03strattog has joined #ltsp
12:03
<cg_uira>
thanks Gadi!
12:04
<vagrantc>
3c509 ... those are getting might old.
12:06johnny has left #ltsp
12:09staffencasa_ has quit IRC
12:09staffencasa_ has joined #ltsp
12:10
<Ahmuck_Sr>
but they work great
12:12staffencasa has quit IRC
12:12staffencasa_ has quit IRC
12:12staffencasa has joined #ltsp
12:17johnny has joined #ltsp
12:17johnny is now known as Guest54051
12:20fotanus has joined #ltsp
12:52pasmen has joined #ltsp
13:05alkisg has joined #ltsp
13:06Guest54051 has left #ltsp
13:07johnny has joined #ltsp
13:07garymc has joined #ltsp
13:09
<dro>
in my dhcpd.conf do I need to configure a tftp option?
13:12pasmen has quit IRC
13:16staffencasa_ has joined #ltsp
13:19
<alkisg>
dro: if you use the linux dhcp server, no. If it's on a different machine, yes, you need to set "next-server".
13:19
<dro>
alkisg: i wish i could set next-server on a windows dhcp server
13:20
<alkisg>
dro: people are doing it, so it should be possible. Yet, if you can't, there's another way: https://help.ubuntu.com/community/UbuntuLTSP/ProxyDHCP
13:20
<vagrantc>
you actually need to set next-server with current upstream isc dhcpd v3, though ubuntu patched it to use the old behavior (defaulting to the dhcp server).
13:21
debian doesn't patch dhcp3-server, so you need to set it on debian.
13:21
<alkisg>
This way you can send the ip leases from the windows dhcp server, and the "next-server" directive from dhcpd.conf
13:21staffencasa_ has joined #ltsp
13:21
<vagrantc>
one of the things i like about dnsmasq :)
13:21
<alkisg>
vagrantc: thanks, I didn't know that...
13:22
<vagrantc>
alkisg: no problem :)
13:22
<dro>
this may very well break all my clients though
13:22
i read an article where some pxe clients have a bug that they look for the tftp server from the dhcp server
13:22
<vagrantc>
it was a stupid change on isc's dhcp server... merely on the grounds that it wasn't explicitly listed in the RFC's
13:22
<dro>
because my tftp server on my windows dhcp server is broken, that would in turn break all my clients
13:23
<vagrantc>
but the behavior has been like that for 10+ years ... so why they changed it seemed silly.
13:24
<alkisg>
Well... it's an opportunity to update the dhcpd.conf shipped with ltsp :)
13:24
dro: "they look for the tftp server from the dhcp server" => what does that mean? That they won't work if the tftp server is different from the dhcp server? I've never heard such a bug...
13:24
<vagrantc>
alkisg: ubuntu ltsp ships a dhcpd.conf that assumes the patch is applied. upstream ltsp ships one that assumes the patch isn't applied.
13:25
<dro>
alkisg: here is the situation i have
13:25
alkisg: if i turn off my windows dhcp server, and enable dhcp on my ltsp server, everything works great
13:26
<alkisg>
OK... but I was hoping for a more extended version, with examples for static entries and maybe using the new syslinux module that detects the i386/amd64 architecture etc...
13:26
<dro>
alkisg: if i run windows dhcp and do next-server on the ltsp server, about 1/3 of the clients will not boot until i enable the tftp server on the windows dhcp server and copy over /var/lib/tftpboot/ltsp to the tftpserver driectory on the windows server
13:26
<vagrantc>
alkisg: well, patches are appreciated :)
13:27
<alkisg>
vagrantc: ok, I'll put that to my always-getting-longer todo list :D
13:27
<vagrantc>
sounds like some of dro's pxe clients don't respect the next-server setting
13:27
<alkisg>
dro: there are 2 places where you can define next-server
13:28
One is inside the "dhcp struct", the other one is in the "extended options"
13:28
I've heard of clients (not pxe ones, though) that have the problem that the can't read the extended next-server option
13:28
So I think that if you *properly* configure your windows server, it'll work...
13:28
<vagrantc>
maybe use the proxydhcp stuff with dnsmasq?
13:28
<alkisg>
Yeah I gave him the link above
13:29
Dro, also give the proxydhcp stuff a shot. It works for me in all the cases I've heard.
13:29
<dro>
ok i'll try that, but what is weird is that it all worked fine until today
13:29
<alkisg>
Maybe a windows update was applied?
13:30
<dro>
who knows
13:30
i really hate microsoft
13:30
<vagrantc>
alkisg: speaking of todo lists ... i never really spent the time figuring out how to integrate the ltsp-server-pnp stuff "properly"
13:30
<dro>
i wish these schools would realize they need to stop using windows
13:31
<alkisg>
vagrantc: I don't think it's needed anymore. The main reason I developed that was to get around the ltsp-server-standalone dependencies. Since I've found a workaround (=apt-get install ltsp-server *twice*!) I abandoned it...
13:32
<dro>
lol
13:32
<alkisg>
Now, if there was a way for automatically generated configuration to co-exist with user-defined configuration settings, I could revive the project...
13:33GodFather has quit IRC
13:33
<vagrantc>
alkisg: what's the workaround?
13:34staffencasa has quit IRC
13:34
<alkisg>
https://help.ubuntu.com/community/UbuntuLTSP/ProxyDHCP#Installing%20dnsmasq
13:34staffencasa_ has quit IRC
13:34staffencasa has joined #ltsp
13:34
<alkisg>
My problem was that I couldn't remove ltsp-server-standalone without removing ltsp-server
13:34
<dro>
ok I've done the proxy update
13:34
should i rebuild the image?
13:35
<alkisg>
You've installed dnsmasq instead of dhcp3-server? No, no need to update the image...
13:35
<dro>
yes
13:35
that guide is quite easy to follow
13:35
<alkisg>
Thanks :)
13:35Ahmuck_Sr has quit IRC
13:36
<dro>
you write it?
13:36
*claps hands*
13:36
<alkisg>
Yup
13:36
<vagrantc>
alkisg: it gets autoremoved or something like that?
13:36
<alkisg>
*bows humbly*
13:36dro has quit IRC
13:36
<alkisg>
vagrantc: yeah, if I don't do "apt-get install ltsp-server" twice, it gets autoremoved
13:36dro has joined #ltsp
13:37
<vagrantc>
alkisg: normally when i run "apt-get install package" it marks it as manually installed
13:37
<alkisg>
vagrantc: but maybe now that LDM_SSHOPTIONS is again working upstream, it would make sense to work again on the ltsp-server-pnp package... because now with LDM_SSHOPTIONS it's possible to have a dynamic IP on the ltsp server.
13:37
Yes, unless it needs to be updated
13:38
<dro>
*dances* that seems to have worked on my test client alkisg
13:38
I will go try the lab
13:38
<alkisg>
In which case it updates it instead of marking it as manually installed
13:38
dro, nice going!
13:38
<vagrantc>
alkisg: ah.
13:38
alkisg: crazy games with LDM_SSHOPTIONS, eh?
13:38
<dro>
alkisg: i spoke too soon
13:38
it passed the tftp portion but then i got the mounting errors
13:39
<alkisg>
vagrantc: yup... there *are* some use cases where usability comes first, and security last...
13:39
dro: no problem there
13:39
dro: see the page again a little lower, it describes this problem and how to work around it
13:39
I.e. either use IPAPPEND 3 or put nbdroot as a kernel parameter
13:39
<dro>
i'm using ip append 3
13:39
*ipappend 3
13:40
<alkisg>
Hmmmm what mounting errors exactly?
13:40
<dro>
i'll pastebin
13:40
!pastebot
13:40
<ltspbot>
dro: "pastebot" is The LTSP pastebot is at http://pastebot.ltsp.org. Please paste all text longer than a line or two to the pastebot, as it helps to reduce traffic in the channel. A link to the content will be pasted in the channel.
13:41
<alkisg>
dro: you could also try putting nbdroot=10.160.31.10:2000 right next of "quiet splash" in pxelinux.cfg/default
13:41
(instead of ipappend 3)
13:41
<ltsppbot>
"cnc" pasted "rootserver: 172.16.20.1 roothp" (5 lines) at http://pastebot.ltsp.org/569
13:42
<alkisg>
dro: maybe you didn't put ipappend 3 in the correct place
13:42
Can you pastebin your pxelinux.cfg/default?
13:42
<dro>
sure
13:43jammcq has joined #ltsp
13:43yoshi_ has joined #ltsp
13:43
<jammcq>
hello friends
13:43
<alkisg>
!j
13:43
<ltspbot>
alkisg: "j" is jammcq!!!!!!!!!!!!!!!!!!!!!!!
13:43
<jammcq>
hey alkisg
13:43
<ltsppbot>
"cnc" pasted "rootserver: 17DEFAULT vmlinuz" (2 lines) at http://pastebot.ltsp.org/570
13:44
<alkisg>
dro, is "rootserver: 17" by mistake there?
13:44
<vagrantc>
alkisg: proxydhcp is on port 4011 ? i remember getting all sorts of error messages for thin clients that wouldn't boot because of something to do with that port way back when... swapped out the switch and it started working fine.
13:44
<dro>
weird
13:44
it's on my paste
13:45
but not in my file?
13:45
<alkisg>
vagrantc: nope, it's listening on the standard dhcp port, 67
13:45
vagrantc: the specification also mentions 4011 (or something similar, I don't remember exactly) but simon never got to implement this, there was no need
13:45
<ltsppbot>
"cnc" pasted "pxelinux.cfg/default" (2 lines) at http://pastebot.ltsp.org/571
13:45
<vagrantc>
alkisg: curious.
13:46
<alkisg>
vagrantc: as it worked with only 67 for all known roms
13:46
The specs are a little vague at that point
13:46
<vagrantc>
sure
13:46
<alkisg>
So the gpxe guys also decided to follow simon's interpretation
13:46
<vagrantc>
but that means you can't run the proxydhcp and regular dhcp on the same host?
13:47
<alkisg>
Well, sure, but you'll need dnsmasq as the regular dhcp server
13:47Lns has joined #ltsp
13:47
<alkisg>
I.e. it could server regular dhcp on 10.160.31.x and proxy dhcp on 192.168.0.x (on another nic of course)
13:47
<vagrantc>
alkisg: well, i remember it working like a charm and not messing up other networks. i'm glad you've put work into it!
13:48
<alkisg>
I only gave 1-2 weeks to convince them to do it upstream :) :D
13:48
No actual work whatsoever :P
13:49
But I do think that a ltsp-server-proxydhcp package would be nice, one that would work out of the box with dnsmasq as a dependency
13:49
No weird dynamic settings stuff; just a one-time autodetection while generating the first config file.
13:49
It would make it easy to install ltsp with 1 nic only
13:50
<dro>
alkisg: if i add nbdroot=172.16.20.1:2000 to my pxelinux.cfg/default do i need to take out ipappend 3
13:51
<alkisg>
You don't *need* to remove it, but you don't need it there either
13:51
If you remove it, it'll ask for a second lease (=that's what it usually does), if you keep it, it'll reuse the ip it got while pxe-booting
13:52
<dro>
ok
13:52
i tried adding that extra option, nbdroot=10.160.31.10:2000, still same mount errors
13:53
<alkisg>
What does your pxelinux.cfg/default look like now? Paste it here...
13:53
<ltsppbot>
"cnc" pasted "pxelinux.cfg/default" (2 lines) at http://pastebot.ltsp.org/572
13:54
<alkisg>
Can you boot a client with gpxe? I'm curious on what it actually receives...
13:54
Maybe the windows server does send a next-server setting
13:54
<dro>
not exactly sure
13:54
<alkisg>
So dnsmasq is unable to override it
13:54
<dro>
how do i gpxe boot?
13:54
<alkisg>
Do you have a PC that has a floppy, cd *or* a hard disk around?
13:55
<dro>
yes
13:55
<alkisg>
http://rom-o-matic.net/gpxe/gpxe-git/gpxe.git/contrib/rom-o-matic/
13:55
For a floppy, just press "get image"
13:55
If you have a linux pc around, you could also get gpxe.krn and put it to grub
13:57
dro: wait a minute. What's your windows server ip?
13:57
<dro>
172.16.0.5
13:57
172.16.0.5 - windows server
13:57
172.16.20.1 - ltsp server
13:57
<alkisg>
I saw the pastebot again: http://pastebot.ltsp.org/569
13:57
rootserver: 172.16.20.1
13:57
So it correctly got the next server setting. When was that? With the windows dhcp? Or with ipappend 3?
13:58
<dro>
ipappend 3
13:58
<alkisg>
What's your subnet mask?
13:58
<dro>
but
13:58
i'm still using windows dhcp and ipappend 3
13:59
255.255.0.0
13:59
<alkisg>
OK. Ditch gpxe and let's work on that; it should be booting
13:59
Go to the same setup as the pastebin (or any other setup that gives you rootserver=ltsp-server)
14:00
Then, put break=mount as a kernel parameter
14:00
<dro>
ok
14:00
so right now it says (initramfs)
14:00
type it in there?
14:01
<alkisg>
Woah, you're fast :)
14:01
<dro>
it was already there
14:01
lol
14:01
i put it in
14:01
<alkisg>
So you 're on a command line now?
14:02Ahmuck_Sr has joined #ltsp
14:02shawnp0wers has quit IRC
14:02
<dro>
yes
14:02
<alkisg>
(I meant that you put DEFAULT vmlinuz ro initrd=initrd.img break=mount in pxelinux.cfg/default) - ok ok
14:03
I don't remember if mount is the correct "breakpoint", did it display the rootserver line?
14:03
<dro>
oh i c 1 sec
14:03
<alkisg>
btw, also remove quiet splash
14:04
<dro>
tftp timeout
14:05
ok it booted that time
14:05
<alkisg>
Do put ipappend 3 or nbdroot...
14:05
<dro>
ohh ok
14:05
i took those out lol
14:07
ok
14:07
it booted up to a (initramfs) prompt
14:08
alkisg: next step?
14:08
<alkisg>
Sorry I was making some milk for the kiddos
14:09
Did it print the rootserver line?
14:09
<dro>
i didn't watch
14:09
lol i'll do it again
14:09
<alkisg>
No
14:09
If it did, you'd be seeing if right above the prompt
14:09
Let me see what's the correct breakpoint..
14:09
<dro>
alkisg: i didn't see it but i also took this out of pxelinux.cfg/default nbdroot=10.160.31.10:2000
14:10
i added it back in and am rebooting now
14:10
I don't see it
14:10
<alkisg>
Gimme 5' :)
14:14pmatulis has quit IRC
14:17
<alkisg>
OK back
14:17
What do you see if you run ifconfig?
14:17
Do you have network working at that point?
14:18
dro: ^^^
14:18
<dro>
alkisg: checking now
14:18
i typed ifconfig
14:18
got nothing
14:18
isn't it ipconfig here?
14:18
ipconfig said ipconfig: no devices to configure
14:19
<alkisg>
Both are there - busybox emulates ifconfig
14:19
<dro>
ifconfig just returns back to the prompt
14:19
<alkisg>
With ipconfig you'd need ipconfig eth0
14:19
<dro>
i did ipconfig eth0
14:19
and bam, it pulled an ip address
14:20
and rootserver: 172.16.20.1 roothpath: /opt/ltsp/i386
14:20
<alkisg>
It should already have an ip address...
14:20
<dro>
filename : ltsp/i386/pxelinux.0
14:20
<alkisg>
(from ipappend 3)
14:20
That was from your windows server, we don't want that
14:20* alkisg checks if break=mount is the correct point
14:23Sarten-X2 has joined #ltsp
14:23Sarten-X has quit IRC
14:26
<alkisg>
Nope, it isn't
14:26
<dro>
alkisg: just to let you know, that in virtualbox my pxe VM boots just fine while the rest of my clients do not
14:27
<alkisg>
They do boot some times thought, right?
14:27
<dro>
they did a few times this morning
14:28
but then they all stopped because of the tftp errors
14:28
i can double check though in the lab
14:28jammcq has quit IRC
14:28
<alkisg>
Nah, just to make sure that it's a dhcp/tftp problem and not a module problem
14:29
dro: reboot again *without* break=mount, sorry, that was the wrong breakpoint
14:29
When it hangs again at the initramfs prompt, give:
14:31
nbd-client 172.16.20.1 2000 /dev/nbd0 -persist
14:32
and see if that says connection refused or not.
14:32
<dro>
alkisg: 5 in the lab booted perfectly
14:33
<alkisg>
I'm guessing it's a race condition problem here
14:33
<dro>
alkisg: how would i fix that
14:33
this laptop is smoking fast
14:33
<alkisg>
Do the ones not booting show rootserver = the ltsp server?
14:33
<dro>
no
14:33
<alkisg>
They show the windows server?
14:33
Or nothing at all?
14:34
You can press shift+page up to see the previous lines
14:34
in the console
14:34
<dro>
i can only test with this laptop
14:34
all the ones that didn't work earlier were turned off
14:34
and as they're being turned on, they're all working
14:35
but to answer your question
14:35
on my test laptop, it doesn't show rootserver = ltspserver
14:36
<alkisg>
What does it show at the point where ipconfig runs?
14:36
<dro>
with the break in or out?
14:37
<alkisg>
Out
14:37
<dro>
whoa
14:37
<alkisg>
Because at the pastebin previously, it *did* show rootserver = ltsp server
14:37
<dro>
my test laptop decided to start working
14:37
lol
14:37
<alkisg>
Heh
14:37
<dro>
maybe it decided to not work unless it was off for a w hile
14:38
it's what i get for letting my boss buy a levovo LOL
14:38
<alkisg>
Heh... it needed a break :)
14:38
<dro>
alkisg: thank you, i very much appreicate your help
14:38
i am new to this stuff and trying to do better
14:38
<alkisg>
Np... if you ever find out what the exact problem was, do tell :)
14:38
<dro>
i will
14:38
but
14:38
i think the masquerading was the fix
14:38
<alkisg>
?
14:38
<dro>
jut this pos laptop weirded out
14:39
i mean ProxyDHCP
14:39
<alkisg>
What masquerading?
14:39
<dro>
https://help.ubuntu.com/community/UbuntuLTSP/ProxyDHCP
14:39
<alkisg>
Ah, ok
14:39
<dro>
I am about to walk around and test more clients
14:39
alkisg: will let you know if i see something strange
14:39
<alkisg>
It doesn't do masquerading, it just sends a complemantary dhcp offer
14:39
proxy == helper in this context
14:39
ok
14:47bieb has left #ltsp
14:57garymc has quit IRC
14:59
<dro>
alkisg: worked like a champ, ty again
15:00Kicer86 has quit IRC
15:24shawnp0wers has joined #ltsp
15:49Gadi has left #ltsp
15:49_UsUrPeR_ is now known as etyack
15:50etyack is now known as _UsUrPeR_
15:50fixxxermet has left #ltsp
15:52garymc has joined #ltsp
15:52garymc has quit IRC
16:04alkisg has quit IRC
16:15dro has quit IRC
16:20Sarten-X has joined #ltsp
16:23Sarten-X2 has quit IRC
16:25cg_uira has quit IRC
16:42Ahmuck_Sr has quit IRC
16:53
<Lns>
CAN-o-SPAM: ping?
16:53
<CAN-o-SPAM>
Lns: whats happenin
16:53
<Lns>
hey
16:54
How's the 1500 series TCs you offer with the atom chipset compared to the 1220 PXE?
16:54
Performance wise with localapps, can you give me a brief rundown of how much better it is, or are they about the same, ... ?
16:56
<CAN-o-SPAM>
processor is much faster more memory standard, video is significantly better
16:56
<Lns>
no quirks w/the atom chipset?
16:56
can you tell me whether they work OOTB w/Ubu 8.04/LTSP?
16:57fotanus has left #ltsp
16:57
<CAN-o-SPAM>
video on 1220 is 64m shared video on 1520 is 224m shared
16:57
quirks: one fix required for dual monitor use
16:57
<Lns>
they probably won't be using dual monitors
16:58
hmmm
16:58
ok, thanks =)
16:59
<CAN-o-SPAM>
lns: any chance you'll be in socal the 20th - 25th will you?
16:59
lns: 8.04 out of the box ya
16:59
<Lns>
cool
16:59
nope on socal.. :( i'll be in L.A. in mid November though
16:59
just for a day or 2
16:59
(brother's wedding)
17:00
<CAN-o-SPAM>
ah ok
17:00
your not going to LTSP BTS?
17:01
<Lns>
no :( I'm totally broke and there's way too much stuff going on for me until Jan 1st that I have to hang around here for :(
17:01
I hope you guys have an awesome time though! Hey hopefully i'll at least be able to give you guys the video I've been making for LTSP
17:01
to show at bts
17:02
<CAN-o-SPAM>
Lns: any pre-production sneak previews i can get ;)
17:03
<Lns>
Hehe, I haven't even seen any yet ;)
17:03
my videographer is currently working on it, we just did the last shoot yesterday at one of the schools
17:04
it should be good though, hopefully the best ltsp/linux open source thin client video out there
17:06
<CAN-o-SPAM>
wow, talkin a big game ;)
17:06
<Lns>
CAN-o-SPAM: how are your N20 servers doing out in the field?
17:06
hehe, well i searched YouTube a while back and never got any real quality production videos..i might have missed some though!
17:06
<CAN-o-SPAM>
Lns: great, we just shipped one to Polou, Koror (look it up, i want to visit)
17:07
<Lns>
cool :)
17:12
<CAN-o-SPAM>
Lns: are you still paying an arm and a leg for this vid?
17:14
<Lns>
yeah
17:14
but it'll be worth it :)
17:14shawnp0wers has quit IRC
17:15
<Lns>
I'm keeping it very generalized so my company name is hardly even in it. I'm hoping many people will be able to use it to convince their respective "powers that be" about the benefits of thin clients and open source =)
17:15Selveste1 has joined #ltsp
17:15
<Lns>
whether I'm the one implementing it or not
17:18
<CAN-o-SPAM>
so wheres the shameless DisklessWorkstations.com plug supposed to go ;)
17:21
<Lns>
Well I'll be sure to put that in the description on youtube along with the other people :)
17:22
The video will show a 1220 on it actually, too :)
17:22
(mine)
17:25
<CAN-o-SPAM>
nice
17:25
you got yours back?
17:33
<Lns>
yep, thank you again, it works perfectly (on it right now in fact)
17:33
I love the 1220's
17:33
you don't offer them in different face colors do you?
17:34
CAN-o-SPAM: ^^
17:34
<CAN-o-SPAM>
lns: heh no .. we just started offering ram & warranty upgrades, take it ez on me ;)
17:34
<Lns>
hehehe
17:35
well if you ever do, i'd love a cyan/blue color :)
17:35
very easy on the eyes
17:35
anyway i'm outtie, talk to you all later =)
17:37Lns has quit IRC
17:41maddog187 has joined #ltsp
17:41
<maddog187>
hey guys
17:41lucascoala has quit IRC
17:41
<maddog187>
i just installed the live k12 linux dvd to hdd
17:41
i then boot up my client machine
17:42
and i get the following error failed to read dhcp lease file
17:43
mount: missing mount point
17:43
any ideas what to do
17:49
<CAN-o-SPAM>
maddog187: try #k12ltsp
17:50
<maddog187>
k thanks
17:50CAN-o-SPAM has quit IRC
17:50
<maddog187>
umm no one is there
17:56otavio_ has quit IRC
17:57otavio has joined #ltsp
18:17japerry has quit IRC
18:22mikkel_ has quit IRC
18:51staffencasa has quit IRC
19:39try2free has joined #ltsp
19:54try2free has left #ltsp
19:56Selveste1 has quit IRC
20:27map7|away has quit IRC
20:30map7 has joined #ltsp
20:52Egyptian[Home] has joined #ltsp
20:53map7 has quit IRC
20:53map7 has joined #ltsp
21:04jammcq has joined #ltsp
21:04
<jammcq>
hey friends
21:15map7 has quit IRC
21:15Ahmuck_Sr has joined #ltsp
21:32map7 has joined #ltsp
21:45Ahmuck_Sr is now known as Ahmuck
21:51jammcq_ has joined #ltsp
22:05jammcq has quit IRC
22:09jammcq_ has quit IRC
22:09Egyptian[Home] has quit IRC
22:09Sarten-X has quit IRC
22:09dkostousov has quit IRC
22:09map7 has quit IRC
22:09tstafford_ has quit IRC
22:09cyberorg has quit IRC
22:09knipwim has quit IRC
22:09Topslakr has quit IRC
22:09dberkholz has quit IRC
22:09_UsUrPeR_ has quit IRC
22:09maddog187 has quit IRC
22:09otavio has quit IRC
22:09korcan has quit IRC
22:09elias_a has quit IRC
22:09yanu has quit IRC
22:09Lumiere has quit IRC
22:09vagrantc has quit IRC
22:09ltsplogbot has quit IRC
22:09NeonLicht has quit IRC
22:09sutula has quit IRC
22:09Ryan52 has quit IRC
22:09stgraber has quit IRC
22:09lejo has quit IRC
22:09Ahmuck has quit IRC
22:09spectra has quit IRC
22:09wwx has quit IRC
22:09ltsppbot has quit IRC
22:09rm-rf has quit IRC
22:09rjune__ has quit IRC
22:09vlt has quit IRC
22:09chrisinajar has quit IRC
22:09leio has quit IRC
22:09F-GTSC has quit IRC
22:09moldy has quit IRC
22:09strattog has quit IRC
22:09panthera has quit IRC
22:09gentgeen__ has quit IRC
22:09shogunx has quit IRC
22:09tarbo has quit IRC
22:09ajohnson has quit IRC
22:09zamba has quit IRC
22:09|Paradox| has quit IRC
22:11jammcq_ has joined #ltsp
22:11map7 has joined #ltsp
22:11Ahmuck has joined #ltsp
22:11Egyptian[Home] has joined #ltsp
22:11otavio has joined #ltsp
22:11maddog187 has joined #ltsp
22:11Sarten-X has joined #ltsp
22:11strattog has joined #ltsp
22:11spectra has joined #ltsp
22:11korcan has joined #ltsp
22:11stgraber has joined #ltsp
22:11Lumiere has joined #ltsp
22:11vagrantc has joined #ltsp
22:11tstafford_ has joined #ltsp
22:11wwx has joined #ltsp
22:11cyberorg has joined #ltsp
22:11F-GTSC has joined #ltsp
22:11dkostousov has joined #ltsp
22:11yanu has joined #ltsp
22:11Topslakr has joined #ltsp
22:11_UsUrPeR_ has joined #ltsp
22:11dberkholz has joined #ltsp
22:11knipwim has joined #ltsp
22:11zamba has joined #ltsp
22:11gentgeen__ has joined #ltsp
22:11ajohnson has joined #ltsp
22:11ltsppbot has joined #ltsp
22:11moldy has joined #ltsp
22:11NeonLicht has joined #ltsp
22:11rjune__ has joined #ltsp
22:11|Paradox| has joined #ltsp
22:11panthera has joined #ltsp
22:11shogunx has joined #ltsp
22:11leio has joined #ltsp
22:11tarbo has joined #ltsp
22:11chrisinajar has joined #ltsp
22:11elias_a has joined #ltsp
22:11ltsplogbot has joined #ltsp
22:11Ryan52 has joined #ltsp
22:11sutula has joined #ltsp
22:11lejo has joined #ltsp
22:11vlt has joined #ltsp
22:11rm-rf has joined #ltsp
22:39alkisg has joined #ltsp
22:39japerry has joined #ltsp
22:43japerry has quit IRC
23:25yanu has quit IRC
23:28yanu has joined #ltsp
23:44jammcq_ has quit IRC
23:48alkisg has quit IRC
23:57alkisg has joined #ltsp
23:57Ahmuck has quit IRC