00:33 | Phantomas has left IRC (Phantomas!~phantomas@ubuntu/member/phantomas, Quit: Leaving.) | |
02:26 | andygraybeal has joined IRC (andygraybeal!~andy@h17.22.30.71.dynamic.ip.windstream.net) | |
03:15 | cyberorg has left IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg, Ping timeout: 256 seconds) | |
03:16 | cyberorg has joined IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg) | |
03:40 | telex has left IRC (telex!teletype@freeshell.de, Remote host closed the connection) | |
03:42 | telex has joined IRC (telex!teletype@freeshell.de) | |
03:55 | AlexPortable has left IRC (AlexPortable!uid7568@gateway/web/irccloud.com/x-whnnucookbjyigfp, Quit: Connection closed for inactivity) | |
04:08 | cyberorg has left IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg, Ping timeout: 244 seconds) | |
04:09 | cyberorg has joined IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg) | |
04:39 | cyberorg has left IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg, Ping timeout: 244 seconds) | |
05:15 | cyberorg has joined IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg) | |
05:46 | ricotz has joined IRC (ricotz!~rico@p5B2AA1EB.dip0.t-ipconnect.de) | |
05:46 | ricotz has joined IRC (ricotz!~rico@ubuntu/member/ricotz) | |
06:08 | cyberorg has left IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg, Remote host closed the connection) | |
06:12 | cyberorg has joined IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg) | |
06:28 | uXus has joined IRC (uXus!~uXus@217.77.222.72) | |
06:46 | work_alkisg is now known as alkisg | |
06:58 | cyberorg has left IRC (cyberorg!~cyberorg@opensuse/member/Cyberorg, Quit: cyberorg) | |
09:02 | lmds_ has joined IRC (lmds_!~lmds@tui.pi-et-ro.net) | |
09:07 | uXus has left IRC (uXus!~uXus@217.77.222.72, Quit: ail bi bek) | |
09:11 | uXus has joined IRC (uXus!~uXus@217.77.222.72) | |
09:55 | Phantomas has joined IRC (Phantomas!~phantomas@ubuntu/member/phantomas) | |
10:05 | alkisg has left IRC (alkisg!~alkisg@srv1-dide.ioa.sch.gr, Ping timeout: 240 seconds) | |
10:07 | work_alkisg has joined IRC (work_alkisg!~alkisg@srv1-dide.ioa.sch.gr) | |
11:10 | AlexPortable has joined IRC (AlexPortable!uid7568@gateway/web/irccloud.com/x-sqzixnjxbffyofny) | |
11:12 | telex has left IRC (telex!teletype@freeshell.de, Remote host closed the connection) | |
11:14 | telex has joined IRC (telex!teletype@freeshell.de) | |
12:01 | Faith has joined IRC (Faith!~paty@unaffiliated/faith) | |
13:34 | ben_roose has joined IRC (ben_roose!~roose@roose.cs.wichita.edu) | |
14:11 | brianr_ has joined IRC (brianr_!~brianr@out.ewbc.com) | |
14:12 | <brianr_> Good Morning All!
| |
14:13 | ben_roose has left IRC (ben_roose!~roose@roose.cs.wichita.edu, Ping timeout: 240 seconds) | |
14:13 | <brianr_> I just set up a new LTS instance on Ubuntu 14.04 LTS, it works very nicely for our purposes. However I have one issue right now, and that is that the thin client's hostname is being generated randomly and not using DNS
| |
14:13 | i have googled ... but cannot quite find a way to force it to lookup the address
| |
14:14 | ben_roose has joined IRC (ben_roose!~roose@roose.cs.wichita.edu) | |
14:14 | <brianr_> anyone?
| |
14:18 | vmlintu_ has joined IRC (vmlintu_!~vmlintu@dsl-jnsbrasgw2-58c07e-86.dhcp.inet.fi) | |
14:32 | vmlintu_ has left IRC (vmlintu_!~vmlintu@dsl-jnsbrasgw2-58c07e-86.dhcp.inet.fi, Ping timeout: 252 seconds) | |
14:44 | vmlintu_ has joined IRC (vmlintu_!~vmlintu@dsl-jnsbrasgw2-58c07e-86.dhcp.inet.fi) | |
15:00 | HeliosLHD_ has joined IRC (HeliosLHD_!~roger@184.53.0.7) | |
15:01 | HeliosLHD has joined IRC (HeliosLHD!~roger@184.53.0.7) | |
15:01 | HeliosLHD_ has left IRC (HeliosLHD_!~roger@184.53.0.7, Remote host closed the connection) | |
15:01 | HeliosLHD has left IRC (HeliosLHD!~roger@184.53.0.7, Read error: Connection reset by peer) | |
15:02 | AlexPortable has left IRC (AlexPortable!uid7568@gateway/web/irccloud.com/x-sqzixnjxbffyofny, Remote host closed the connection) | |
15:02 | HeliosLHD has joined IRC (HeliosLHD!~roger@184.53.0.7) | |
15:06 | HeliosLHD has left IRC (HeliosLHD!~roger@184.53.0.7, Quit: Ex-Chat) | |
15:19 | vmlintu_ has left IRC (vmlintu_!~vmlintu@dsl-jnsbrasgw2-58c07e-86.dhcp.inet.fi, Ping timeout: 240 seconds) | |
15:23 | vmlintu_ has joined IRC (vmlintu_!~vmlintu@dsl-jnsbrasgw2-58c07e-86.dhcp.inet.fi) | |
15:32 | <Faith> brianr_, what order is on the chroot client /etc/host.conf ?
| |
15:32 | brianr_, verify if it is: order bind,hosts
| |
15:33 | <brianr_> ah it is hosts, bind
| |
15:35 | <Faith> try to change to bind,host
| |
15:35 | bind,hosts *
| |
15:38 | uXus has left IRC (uXus!~uXus@217.77.222.72, Quit: ail bi bek) | |
15:38 | work_alkisg is now known as alkisg | |
15:38 | <alkisg> brianr_: are you using ipappend 3?
| |
15:38 | <brianr_> yes
| |
15:38 | uXus has joined IRC (uXus!~uXus@217.77.222.72) | |
15:38 | <alkisg> Then the client is not making a dhcp request
| |
15:38 | So it's not receiving its DNS
| |
15:39 | Why are you using ipappend 3, do you have a router as the dhcp server?
| |
15:40 | <brianr_> i am using an external DHCP server
| |
15:40 | it is not the LTS box
| |
15:40 | <alkisg> Can you modify it to include bootname etc?
| |
15:41 | <brianr_> you mean, assign the hostname via the DHCP config?
| |
15:42 | <alkisg> For dhcp, you can either modify your existing dhcp server or use proxydhcp + ipappend 3 in the ltsp server
| |
15:42 | You're doing the second option, and that prevents the client from getting a dns name etc
| |
15:43 | You can assign the hostname in the dhcp config too, yes
| |
15:43 | But only if you stop using proxydhcp
| |
15:43 | And of course you can also set HOSTNAME=xxx in lts.conf
| |
15:49 | AlexPortable has joined IRC (AlexPortable!uid7568@gateway/web/irccloud.com/x-ufokytywwpxrkrhy) | |
15:52 | <brianr_> this is our second lts box, the other one is ubuntu 13.10 and it uses the same dhcp server, but is pulling the correct hostname
| |
15:52 | it isnt using ipappend
| |
15:53 | <alkisg> LTS = Long Term Support, LTSP = Linux Terminal Server Project
| |
15:53 | <brianr_> i just removed ipappend from the new box and re-ordered the host.conf and it is still assigning a random hostname
| |
15:53 | <alkisg> So one is using ipappend 3 and the other doesn't?
| |
15:53 | What are the contents of host.conf?
| |
15:53 | I.e. how are you setting the hostname?
| |
15:54 | <brianr_> i am expecting the hostname to be set via DNS
| |
15:54 | order bind,hosts
| |
15:54 | multi on
| |
15:55 | uXus has left IRC (uXus!~uXus@217.77.222.72, Quit: ail bi bek) | |
15:56 | <brianr_> gonna try changing the DHCP server config
| |
15:57 | <alkisg> I don't understand how DNS will set the hostname without DHCP
| |
15:58 | If you're not using IPAPPEND 3, then the udhcpc client at initramfs does a DHCP request
| |
15:58 | In the reply, there's a DNS name, that the client writes to /etc/hostname
| |
15:58 | No reverse DNS lookups anywhere...
| |
15:59 | I don't see how your 13.10 LTSP box would work without DHCP hostnames either
| |
16:01 | <brianr_> so, the clients hit a DHCP server, but DHCP is all reservations. Each thin client has a hostname in DNS and is given the cooresponding IP based upon their mac address
| |
16:07 | hmm adding the option host-name didnt help
| |
16:07 | to the DHCP config
| |
16:08 | <alkisg> Do you mean that you have configured the DHCP server to do DNS lookups?
| |
16:08 | Then ok, that can work. What are the contents of this file on the client?
| |
16:08 | /var/cache/ltsp/net-eth0.conf
| |
16:08 | This is the file that contains the DHCP data
| |
16:09 | (including the hostname)
| |
16:13 | <brianr_> only the apv4 address, netmask, gateway, rootserver, and rootpath are populated
| |
16:13 | kwmiebach has left IRC (kwmiebach!sid16855@gateway/web/irccloud.com/x-rdpwbczlrlnabqbc, Remote host closed the connection) | |
16:14 | <brianr_> that is with ipappend not set
| |
16:14 | <alkisg> What's the output of `cat /proc/cmdline`? Does it have an ip=xxx stanza?
| |
16:15 | <brianr_> yep
| |
16:16 | has the ip, gateway, mask, boot server
| |
16:16 | not seeing the DNS servers ...
| |
16:16 | <alkisg> Then ipappend 3 is in effect
| |
16:17 | You didn't manage to remove it from the correct pxelinux.cfg/default, probably...
| |
16:17 | Without ipappend 3, you shouldn't be getting an ip= stanza
| |
16:19 | <brianr_> here is a typical stanza for my DHCP server for the thin clients
| |
16:19 | host tc01 {
| |
16:19 | hardware ethernet 00:00:00:00:00:00;
| |
16:19 | fixed-address 192.168.1.1;
| |
16:19 | next-server 192.168.2.1;
| |
16:19 | option root-path "/opt/ltsp/i386";
| |
16:19 | filename "/ltsp/i386/pxelinux.0";
| |
16:19 | }
| |
16:20 | on our DNS server there is an entry for tc01
| |
16:20 | matching the fixed address here ..
| |
16:21 | when clients boot to existing 13.10 box, they get the real hostname on the login page, not the random ltspxxxx that clients get when they hit the new box
| |
16:22 | <alkisg> Is the 13.10 box an ltsp client?
| |
16:22 | Also, note that you're still using ipappend 3, which is surely an issue
| |
16:22 | Solve that certain problem first, then check if other problems still exist or not
| |
16:23 | <brianr_> ok, so i should remove ipappend 3
| |
16:23 | <alkisg> Yes
| |
16:25 | <brianr_> when i set that i put it in /etc/ltsp/update-kernels.conf and then ran update-kernels, so by removing it i am commenting it out and runnning update-kernels again ...
| |
16:25 | kwmiebach has joined IRC (kwmiebach!sid16855@gateway/web/irccloud.com/x-tzhkvouptwnthzhc) | |
16:26 | <alkisg> Directly edit /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/default
| |
16:26 | Once you get it working, then try it with update-kernels.conf
| |
16:26 | Because it's a bit tricky...
| |
16:27 | <brianr_> i see there they are all set to ipappend 2
| |
16:28 | <alkisg> (07:16:13 μμ) brianr_: has the ip, gateway, mask, boot server
| |
16:28 | ==> that's ipappend 3, not 2
| |
16:28 | ipappend 2 is BOOTIF=xxx
| |
16:28 | The end result is that when you boot the client, you won't see an ip=xxx entry in the /proc/cmdline
| |
16:29 | About your DHCP+DNS configuration, I think you're using "get-lease-hostnames true;", which should work fine without ipappend 3.
| |
16:35 | dtcrshr has joined IRC (dtcrshr!~datacrush@unaffiliated/datacrusher) | |
16:37 | <brianr_> use-host-decl-names is on yes
| |
16:37 | <alkisg> ...I'm writing one thing and you're reading another :)
| |
16:39 | <brianr_> if in the pxelinux.cfg/default if ipappend is set to 2 , where is it pulling 3 from?
| |
16:39 | <alkisg> If you're sure you've set it to 2, then maybe it's getting it from another path, e.g. /srv/tftp instead of /var/lib/tftp
| |
16:40 | Try adding a fake parameter, e.g. foo=bar, in pxelinux.cfg/default, to verify that you're editing the correct file
| |
16:40 | uXus has joined IRC (uXus!~uXus@217.77.222.72) | |
16:40 | <brianr_> well, i commented out ipappend and the thin client wouldnt boot
| |
16:41 | <alkisg> And with ipappend 2 it booted?
| |
16:42 | uXus has left IRC (uXus!~uXus@217.77.222.72, Client Quit) | |
16:42 | <brianr_> nope , now nothing is booting
| |
16:43 | <alkisg> It is not booting at all, or are you getting and initramfs shell?
| |
16:43 | *an
| |
16:43 | <brianr_> shell
| |
16:43 | <alkisg> Then you have 2 dhcp servers
| |
16:44 | cat /tmp/net-eth0.conf will tell you the ip of your rogue dhcp server
| |
16:44 | or, ipconfig -n eth0
| |
16:44 | (in initramfs)
| |
16:47 | dtcrshr has left IRC (dtcrshr!~datacrush@unaffiliated/datacrusher, Ping timeout: 252 seconds) | |
16:47 | <brianr_> nah it pulled from the right dhcp server
| |
16:47 | uXus has joined IRC (uXus!~uXus@217.77.222.72) | |
16:50 | telex has left IRC (telex!teletype@freeshell.de, Remote host closed the connection) | |
16:51 | uXus has joined IRC (uXus!~uXus@217.77.222.72) | |
16:51 | <brianr_> nbd-server : requested export not found ..
| |
16:52 | telex has joined IRC (telex!teletype@freeshell.de) | |
16:54 | vmlintu_ has left IRC (vmlintu_!~vmlintu@dsl-jnsbrasgw2-58c07e-86.dhcp.inet.fi, Ping timeout: 255 seconds) | |
17:08 | <alkisg> brianr_: did you actually see the contents of /tmp/net-eth0.conf in the initramfs?
| |
17:08 | ROOTSERVER there was correct?
| |
17:09 | What are the contents of /proc/cmdline now? Maybe you edited something wrong, e.g. root=/dev/nbd instead of root=/dev/nbd0?
| |
17:28 | <brianr_> nbd server is sort of flaky ...
| |
17:29 | we are back where we started from
| |
17:31 | <alkisg> Nah, I think we just have communication issues :)
| |
17:32 | As long as you have ip=xx in your kernel command line, you didn't manage to remove ipappend 3.
| |
17:32 | And ipappend 3 isn't required for booting when you have one dhcp server
| |
17:33 | That's your issue, try to solve it
| |
17:34 | <brianr_> ahh so ... when ndb-server crapped out i rebooted
| |
17:35 | well first i ran /usr/share/ltsp/update-kernels and lts-update-image,
| |
17:35 | then rebooted ...
| |
17:36 | now pxelinux.cfg/default shows ipappend=3
| |
17:37 | <alkisg> Again, edit it manually first
| |
17:37 | I don't know how to continue if you're not reading what I'm suggesting...
| |
17:37 | I think I'd better pause until you manage to figure out how to manually remove ipappend 3, without running ltsp-update-kernels etc.
| |
17:37 | <brianr_> just comment out ipappend=3 in pxelinux.cfg/default ?
| |
17:37 | <alkisg> Yes (for the 4th time... :-/)
| |
17:38 | <brianr_> update kernels?
| |
17:39 | <alkisg> No
| |
17:40 | <brianr_> drops to initramfs
| |
17:41 | <alkisg> Change ipappend 3 to ipappend 2 and reboot the client
| |
17:41 | Uncomment it
| |
17:56 | <brianr_> still dropping to initramfs
| |
17:56 | default ltsp-NBD
| |
17:56 | ontimeout ltsp-NBD
| |
17:56 | # This file is regenerated when update-kernels runs.
| |
17:56 | # Do not edit, see /etc/ltsp/update-kernels.conf instead.
| |
17:56 | label ltsp-NBD
| |
17:56 | menu label LTSP, using NBD
| |
17:56 | kernel vmlinuz-3.16.0-45-generic
| |
17:56 | append ro initrd=initrd.img-3.16.0-45-generic init=/sbin/init-ltsp quiet splash root=/dev/nbd0
| |
17:56 | ipappend 2
| |
17:57 | <alkisg> It's a dhcp issue
| |
17:57 | On the client, check /tmp/net-eth0.conf
| |
17:57 | And run `ipconfig -n eth0`
| |
17:58 | And before those, just `ip a`
| |
17:58 | You either have wrong dhcp server configuration, that doesn't reply properly when the client identifier is udhcpc, or you have another rogue dhcp server
| |
18:00 | <brianr_> there is no net-eth0.conf ... its a symlin to /run and it isnt there
| |
18:00 | but there is a dhcp-info.conf and all the info in there looks good, cept there isnt any referenceing the boot server
| |
18:01 | well, there is siaddr which is the LTSP box
| |
18:02 | and /proc/cmdline has no ip=, just a bootif
| |
18:03 | <alkisg> What does `ipconfig -n eth0` tell you?
| |
18:03 | Does it return rootserver=the ltsp server?
| |
18:04 | <brianr_> yup
| |
18:05 | <alkisg> The udhcpc script generates dhcp-info.conf
| |
18:05 | Then it translates it to net-eth0.conf
| |
18:05 | So if net-eth0.conf isn't there, it can't boot
| |
18:06 | Try to remove quit-splash. What is the last error message that you see?
| |
18:06 | !quiet-splash
| |
18:06 | <ltsp> quiet-splash: to disable the splash screen in Ubuntu, in order to see any boot error messages, run sudo gedit /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/default and remove quiet splash plymouth:force-splash vt.handoff=7
| |
18:07 | <alkisg> You can also try to manually run /scripts/init-premount/udhcpc in the initramfs, and then check for net-eth0.conf again
| |
18:08 | In the end, /run/net-eth0.conf should have the correct ROOTSERVER for nbd-server to pick it up
| |
18:08 | I.e. the ltsp server's IP
| |
18:10 | <brianr_> running udhcpc yields RTNETLINK answers: File exists
| |
18:10 | <alkisg> That's just a warning, ignore it
| |
18:10 | Check the files
| |
18:11 | <brianr_> net-eth0.conf is now populated and everything looks good
| |
18:12 | <alkisg> Try removing quiet-splash and watching for the last error message
| |
18:16 | <brianr_> setting up nbd-client .... negotiation: .. Error: server closed connection
| |
18:17 | then it runs /scripts/local-premount which of course has some i/o errors
| |
18:17 | because nbd0 isnt there
| |
18:17 | <alkisg> In the place where quiet-splash was, put nbdroot=1.2.3.4
| |
18:17 | replace with your ltsp server's ip
| |
18:20 | Aaaah another possible issue
| |
18:20 | What's the value for ROOTPATH?
| |
18:21 | And, what are the contents of /etc/nbd-server/conf.d ?
| |
18:21 | <brianr_> putting nbdroot= didnt work, but it gives a different error
| |
18:21 | insufficient information to se up nbd
| |
18:21 | *set
| |
18:22 | <alkisg> Do answer the previous 2 questions, I think those are the issue...
| |
18:23 | And, which ubuntu version is this one?
| |
18:23 | 14.04?
| |
18:23 | <brianr_> 14.04 yep
| |
18:24 | root path on dhcp server is /opt/ltsp/i386
| |
18:24 | <alkisg> head -n 1 /etc/nbd-server/conf.d/*
| |
18:25 | <brianr_> rootpath in dhcp-info.conf is full path to /opt/ltsp/images/i386.img
| |
18:26 | <alkisg> That's the issue
| |
18:26 | It needs to be the same as the header in nbd-server/conf.d/ltsp_i386.conf, e.g. [/opt/ltsp/i386]
| |
18:27 | Otherwise it can't locate the correct export
| |
18:27 | <brianr_> ==> /etc/nbd-server/conf.d/ltsp_i386.conf <==
| |
18:27 | [/opt/ltsp/i386]
| |
18:27 | ==> /etc/nbd-server/conf.d/swap.conf <==
| |
18:27 | [swap]
| |
18:27 | <alkisg> So, dhcp issue, fix the rootpath in your dhcp server
| |
18:27 | Set it to /opt/ltsp/images
| |
18:38 | <brianr_> so, would ipappend hide the fact that the dhcp and nbd paths were not the same?
| |
18:41 | <alkisg> Yes, it makes it default to /opt/ltsp/i386
| |
18:41 | Since it doesn't get it from dhcp then
| |
18:43 | * alkisg waves | |
18:43 | alkisg is now known as work_alkisg | |
18:44 | vmlintu_ has joined IRC (vmlintu_!~vmlintu@dsl-jnsbrasgw2-58c07e-86.dhcp.inet.fi) | |
18:59 | vmlintu_ has left IRC (vmlintu_!~vmlintu@dsl-jnsbrasgw2-58c07e-86.dhcp.inet.fi, Ping timeout: 244 seconds) | |
19:00 | <brianr_> damnit , nbd-client netgotiation error server closed connection
| |
19:02 | derp
| |
19:48 | ricotz has left IRC (ricotz!~rico@ubuntu/member/ricotz, Quit: Ex-Chat) | |
20:38 | epoptes_user1 has joined IRC (epoptes_user1!8b5bcb06@gateway/web/freenode/ip.139.91.203.6) | |
20:40 | brianr_ has left IRC (brianr_!~brianr@out.ewbc.com, Quit: Leaving) | |
20:43 | Faith has left IRC (Faith!~paty@unaffiliated/faith, Quit: Saindo) | |
20:56 | STV has joined IRC (STV!7664f56f@gateway/web/freenode/ip.118.100.245.111) | |
20:57 | <STV> anyone can help me on installing and configuring LTSP on Ubuntu 15.04 , i cannot find any guide in the internet
| |
21:07 | STV has left IRC (STV!7664f56f@gateway/web/freenode/ip.118.100.245.111, Quit: Page closed) | |
22:06 | ben_roose has left IRC (ben_roose!~roose@roose.cs.wichita.edu, Remote host closed the connection) | |
22:43 | championofcyrodi has left IRC (championofcyrodi!~cott@50-205-35-98-static.hfc.comcastbusiness.net, Ping timeout: 264 seconds) | |
22:59 | championofcyrodi has joined IRC (championofcyrodi!~cott@50-205-35-98-static.hfc.comcastbusiness.net) | |
23:00 | telex has left IRC (telex!teletype@freeshell.de, Remote host closed the connection) | |
23:02 | telex has joined IRC (telex!teletype@freeshell.de) | |
23:14 | championofcyrodi has left IRC (championofcyrodi!~cott@50-205-35-98-static.hfc.comcastbusiness.net, Quit: Leaving.) | |
23:15 | championofcyrodi has joined IRC (championofcyrodi!~cott@50-205-35-98-static.hfc.comcastbusiness.net) | |
23:49 | Phantomas has left IRC (Phantomas!~phantomas@ubuntu/member/phantomas, Read error: Connection reset by peer) | |