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


Channel log from 1 May 2011   (all times are UTC)

00:11leio (~leio@gentoo/developer/leio) left irc: Read error: Connection reset by peer
00:15leio (~leio@gentoo/developer/leio) joined #ltsp.
00:15leio (~leio@gentoo/developer/leio) left irc: Read error: Connection reset by peer
00:16leio (~leio@gentoo/developer/leio) joined #ltsp.
01:05bobby_C (~bobby@85-124-22-227.teleworker.xdsl-line.inode.at) joined #ltsp.
01:43otavio (~otavio@debian/developer/otavio) left irc: Ping timeout: 264 seconds
02:16bobby_C (~bobby@85-124-22-227.teleworker.xdsl-line.inode.at) left irc: Read error: Operation timed out
03:12bobby_C (~bobby@85-124-22-227.teleworker.xdsl-line.inode.at) joined #ltsp.
03:12alkisg (~alkisg@ubuntu/member/alkisg) left irc: Quit: Leaving.
03:32bobby_C (~bobby@85-124-22-227.teleworker.xdsl-line.inode.at) left irc: Ping timeout: 260 seconds
03:39bobby_C (~bobby@85-124-22-227.teleworker.xdsl-line.inode.at) joined #ltsp.
04:21Trixboxer (~Trixboxer@office.supportdepartment.net) joined #ltsp.
04:56jd42 (~jd42@124.41.228.153) joined #ltsp.
05:09bobby_C (~bobby@85-124-22-227.teleworker.xdsl-line.inode.at) left irc: Ping timeout: 260 seconds
05:27ogra_ (~ogra@p5098ed03.dip0.t-ipconnect.de) left irc: Excess Flood
05:28ogra_ (~ogra@p5098ed03.dip0.t-ipconnect.de) joined #ltsp.
06:36ogra_ (~ogra@p5098ed03.dip0.t-ipconnect.de) left irc: Excess Flood
06:36ogra_ (~ogra@p5098ed03.dip0.t-ipconnect.de) joined #ltsp.
07:20Mobe (~Mobe@adsl-85-217-46-70.kotinet.com) joined #ltsp.
07:36brunolambert (~brunolamb@dsl-150-141.b2b2c.ca) joined #ltsp.
07:36brunolambert (~brunolamb@dsl-150-141.b2b2c.ca) left irc: Client Quit
08:13leio_ (~leio@gentoo/developer/leio) joined #ltsp.
08:16leio (~leio@gentoo/developer/leio) left irc: Ping timeout: 258 seconds
08:23alkisg (~alkisg@ubuntu/member/alkisg) joined #ltsp.
10:02LoveStorm (Storm@217.18.70.231) left irc: Ping timeout: 276 seconds
10:42LoveStorm (Storm@217.18.70.231) joined #ltsp.
10:58chupacabra (~chupacabr@cpe-70-112-10-45.austin.res.rr.com) left irc: Read error: Operation timed out
11:39artista_frustrad (~artista_f@189.75.201.155) left irc: Ping timeout: 246 seconds
11:47alazyworkaholic (~alan@201.22.55.136.dynamic.adsl.gvt.net.br) joined #ltsp.
11:52artista_frustrad (~artista_f@189.75.201.155) joined #ltsp.
11:56
<alazyworkaholic>
Is the dhcp3-server package a necessary part of an ltsp-server-standalone setup?
11:57chupacabra (~chupacabr@cpe-70-112-10-45.austin.res.rr.com) joined #ltsp.
12:03Trixboxer (~Trixboxer@office.supportdepartment.net) left irc: Quit: "Achievement is not the end, its the beginning of new journey !!!"
12:08
<alkisg>
alazyworkaholic: no, it's a "recommended" package, which means you can chose not to install it
12:08
Or you can install "ltsp-server" instead of "ltsp-server-standalone"
12:09
<alazyworkaholic>
alkisg: thanks for the reply. My 'server' is my regular desktop. The client's a netbook. Following the (scant) information out there it seems that for that case I should be using the standalone version.
12:10
I managed to get ltsp working a few days ago on 10.10, but then the upgrade to 11.04 broke it. I've tried purging & reinstalling every pkg related to ltsp, removing /opt/ltsp but I won't work. The packages I've reinstalled are: openssh-server ltsp-server-standalone dhcp3-server. I did ltsp-build-client --arch i386 and ltsp-update-sshkeys
12:10
<alkisg>
alazyworkaholic: how is it broken? specific error messages help
12:10
Also, if you have a home setup where the router is the dhcp server, you can install dnsmasq instead of dhcp3-server (proxydhcp)
12:11
<alazyworkaholic>
I wish I had them. The client just doesn't connect at all. Times out & then starts its regular boot process
12:12
<alkisg>
Do you have a chroot currently? /opt/ltsp/images/i386.img ?
12:14
<alazyworkaholic>
I'm rebuilding the image now, but yes, I confirmed I did.
12:15
I think it's a networking/dhcp thing. The netbook isn't able to connect. (i think)
12:16
<alkisg>
Can you describe your network setup?
12:16
How many nics, switches, routers, dhcp servers etc
12:17
<alazyworkaholic>
Sure. It's a simple home setup. One dsl modem hooked into an el-cheapo 100 mbps router that has the desktop @ a static wired 192.168.1.100, & a wired connection to the netbook as well. Here's my /etc/ltsp/dhcp.conf http://pastebin.com/FKGEVu33
12:18
<alkisg>
Do you have a dhcp server on your router?
12:18
<alazyworkaholic>
yes.
12:18
<alkisg>
You can't have 2 dhcp servers on the same subnet
12:18
Read about this, it's more suited to home setups: https://help.ubuntu.com/community/UbuntuLTSP/ProxyDHCP
12:20
<alazyworkaholic>
If it matters, the first time it worked, I had turned of the router's dhcp server. Then I turned it back on, but it continued to work. However, after the upgrade, it didn't work with or without the router's dhcp server.
12:22
Should it work with just the router's dhcp server (I don't know how the netbook would know to get the kernel from the desktop) or do I have to configure the /etc/ltsp/dhcp.conf? If so, Does mine look correct?
12:23
<alkisg>
If you decide to use a proxydhcp server, then you don't need a dhcpd.conf
12:23
You choices are (1) use a proxydhcp or (2) turn off the router dhcp server
12:23
or (3) use hackish methods :)
12:23
Pick one!
12:24
<alazyworkaholic>
I'm worried about turning off the router's dhcp server, because then won't other devices that connect wirelessly (ipod, laptop, etc) no longer be able to get an ip address.
12:24
<alkisg>
(or use 2 nics + another switch, if you have them handy)
12:24
I agree, I propose (1) for you
12:24
<alazyworkaholic>
ok, if i use proxydhcp, should I remove dhcp3-server & delete the /etc/ltsp/dhcp.conf file?
12:25
<alkisg>
Something like that. Just follow the instructions on the wiki, they'll tell you what to remove and how
12:25
<alazyworkaholic>
ok, I'll work on that. Many thanks!
12:26
<alkisg>
No problem. If you don't get it working, *don't* erase your chroot, we can just fix it.
12:34bobby_C (~bobby@85-124-22-227.teleworker.xdsl-line.inode.at) joined #ltsp.
12:35komunista (~slavko@adsl-195-168-236-079.dynamic.nextra.sk) joined #ltsp.
12:46
<alazyworkaholic>
alkisg: if you're still there, what's the difference between ltsp-server & ltsp-server-standalone? I had read that since the server is my regular desktop (i.e. not headless) I should use standalone, but the wiki you sent me to is ltsp-server.
12:48
<alkisg>
alazyworkaholic: ltsp-server-standalone contains dhcp3-server, which you don't need since you're using a dhcp server on your router
12:48
<alazyworkaholic>
ok thanks!
12:48
<alkisg>
Follow the wiki page, it's the one that suits your setup
13:01ogra_ (~ogra@p5098ed03.dip0.t-ipconnect.de) left irc: Excess Flood
13:01ogra_ (~ogra@p5098ed03.dip0.t-ipconnect.de) joined #ltsp.
13:04otavio (~otavio@debian/developer/otavio) joined #ltsp.
13:04otavio (~otavio@debian/developer/otavio) left irc: Client Quit
13:05otavio (~otavio@189.114.111.55) joined #ltsp.
13:05otavio (~otavio@189.114.111.55) left irc: Changing host
13:05otavio (~otavio@debian/developer/otavio) joined #ltsp.
13:12
<alazyworkaholic>
alkisg: is this a problem?
13:12
Setting up dnsmasq (2.57-1) ...
13:12
* Starting DNS forwarder and DHCP server dnsmasq
13:12
dnsmasq: failed to create listening socket for port 53: Address already in use
13:12
[fail]
13:12
invoke-rc.d: initscript dnsmasq, action "start" failed.
13:13
<alkisg>
alazyworkaholic: yes, it's a problem. Did you create the /etc/dnsmasq.d/ltsp.conf file as suggested in the wiki page?
13:14
<alazyworkaholic>
no, but that 's the enxt step. I'll do that then reinstall. thanks.
13:14
<alkisg>
reinstall what?
13:14
<alazyworkaholic>
dnsmasq
13:15
<alkisg>
Ah you mean restart?
13:15
sudo service dnsmasq restart
13:15
<alazyworkaholic>
ok
13:15
<alkisg>
That's the command you need, after creating the file
13:19
<alazyworkaholic>
alkisg: I didn't see anything to change in the ltspconf. Then I ran the below & got
13:19
alan@Desktop:~$ sudo service dnsmasq restart
13:19
* Restarting DNS forwarder and DHCP server dnsmasq
13:19
dnsmasq: failed to bind DHCP server socket: Address already in use
13:20
<alkisg>
You didn't uninstall the dhcp server then
13:20
Also, you need to change this line in dnsmasq ltsp.conf:
13:20
dhcp-range=10.160.31.10,proxy
13:20
Put your router IP there
13:23
<alazyworkaholic>
Ok I changed it to dhcp-range=192.168.1.1,proxy but I did remove dhcp3-server. Should I also remove dhcp3-client & dhcp3-common?
13:23
<alkisg>
No
13:23
Run: sudo netstat -nap | grep :68
13:23
What's the output?
13:24
<alazyworkaholic>
mptjomg
13:24
nothiing
13:25
<alkisg>
Sorry, 67, not 68
13:25
sudo netstat -nap | grep :67
13:25
<alazyworkaholic>
udp 0 0 192.168.100.1:6771 0.0.0.0:* 2574/python2.7
13:25
udp 0 0 192.168.122.1:6771 0.0.0.0:* 2574/python2.7
13:25
udp 0 0 192.168.1.100:6771 0.0.0.0:* 2574/python2.7
13:25
udp 0 0 127.0.0.1:6771 0.0.0.0:* 2574/python2.7
13:25
udp 0 0 0.0.0.0:6771 0.0.0.0:* 2574/python2.7
13:25
udp 0 0 0.0.0.0:67 0.0.0.0:* 1532/dnsmasq
13:25
udp 0 0 0.0.0.0:67 0.0.0.0:* 1501/dnsmasq
13:25
<alkisg>
Err it failed to bind but it did bind? I don't get it
13:26
OK, try to boot your client
13:26
<alazyworkaholic>
??? I'm confused. That's the output.
13:26
<alkisg>
And also go to system > settings > log viewer
13:27
<alazyworkaholic>
same as before, just times out & boots normally.
13:27
<alkisg>
Did you go to the log viewer? In daemon.log you'll see dnsmasq logs
13:28
Or just run: grep dnsmasq /var/log/daemon.log | tail -n 3
13:29
<alazyworkaholic>
no output.
13:29
nothing in the log
13:29
<alkisg>
Something's not right. OK, let's go again:
13:29
sudo service dnsmasq stop
13:29
sudo service dnsmasq start
13:29
Does it display warnings?
13:30
<alazyworkaholic>
yes, it says stopping, then not running. when I start it it says address already in use
13:31
<alkisg>
sudo service dnsmasq stop
13:31
ps aux | grep dnsmasq
13:31
What does this tell you?
13:32alazyworkaholic (alan@201.22.55.136.dynamic.adsl.gvt.net.br) left #ltsp.
13:34alazyworkaholic (~alan@201.22.55.136.dynamic.adsl.gvt.net.br) joined #ltsp.
13:34
<alazyworkaholic>
alan@Desktop:~$ ps aux | grep dnsmasq
13:34
nobody 1501 0.0 0.0 21688 1072 ? S 15:39 0:00 dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/default.pid --conf-file= --except-interface lo --listen-address 192.168.122.1 --dhcp-range 192.168.122.2,192.168.122.254 --dhcp-lease-max=253 --dhcp-no-override
13:34
nobody 1532 0.0 0.0 21688 1076 ? S 15:39 0:00 dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/network1.pid --conf-file= --except-interface lo --listen-address 192.168.100.1 --dhcp-range 192.168.100.128,192.168.100.254 --dhcp-lease-max=127 --dhcp-no-override
13:34
alan 22794 0.0 0.0 9148 1036 pts/1 S+ 17:31 0:00 grep --color=auto dnsmasq
13:35
alkisg: sry, pidgin died on me. It didn't take the jump to 11.04 well either.
13:36
should I try sudo killall dnsmasq & then restart the service?
13:37
<alkisg>
alazyworkaholic: it seems that libvirt or something is telling dnsmasq to use your dhcp port
13:37
Are you currently using virtualization?
13:37
<alazyworkaholic>
not currently, but I have virt-manager installed.
13:37
<alkisg>
OK, temporarily, run: sudo killall dnsmasq
13:37
<alazyworkaholic>
Don't use it much. Get rid of it?
13:38
<alkisg>
See if that allows "sudo service dnsmasq start" to start without warnings
13:38
<alazyworkaholic>
started without warnings!
13:38
<alkisg>
OK, retry booting your client
13:39
<alazyworkaholic>
It's WORKING!
13:39
oh, wait.
13:39
:(
13:39
but at least we have an error message
13:40
Trying to lead: pxelinux.cfg/default
13:40
rror: failed to connect to NBD server 192.168.1.1:2000.
13:41
<alkisg>
Is that your nbd server? Or that's your router?
13:41
I mean, is it your desktop pc?
13:42
<alazyworkaholic>
192.168.1.1 is the router's ip. The desktop's is 192.168.1.100
13:42
<alkisg>
You didn't do the step with "IPAPPEND 3"
13:42
sudo gedit /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/default
13:42
and put "IPAPPEND 3" at a new line at the end of that file
13:42
Save, reboot client
13:54
<alazyworkaholic>
my pxelinux.cfg/default
13:54
http://pastebin.com/u4qqsDyP
13:55
it's there, but the client now get to the ubuntu loading screen for a few seconds (purple with moving dots under the logo) then drops to initramfs
14:02
<alkisg>
alazyworkaholic: on that initramfs, run: cat /proc/cmdline
14:02
Do you see a long "ip=xx:xx:xx:xx" parameter there?
14:02
Ah
14:03
You may want to try to remove "autoconf=dhcp"
14:03
It should be working with that, but maybe something broke in natty
14:03
<alazyworkaholic>
ip=192.168.1.106:192.168.1.100:192.168.1.1:255.255.255.0 BOOTIF=01-00-1e-68-93-f9-ae
14:04
<alkisg>
Try removing that "autoconf=dhcp" part
14:05
<alazyworkaholic>
removed that, still the same.
14:05
do I have to update something, like ltsp-update-image?
14:05
<alkisg>
No. That doesn't sound right. And the error is still that it tries to connect to your router for the nbd image?
14:05
I.e. still that one? (11:40:41 PM) alazyworkaholic: rror: failed to connect to NBD server 192.168.1.1:2000.
14:07
<alazyworkaholic>
yeah, the same.
14:07
<alkisg>
OK, something's broken in Natty
14:07
Now instead of nbdport=2000, try putting: nbdroot=192.168.1.100:2000
14:08
<alazyworkaholic>
did that, nope. same
14:09
<alkisg>
On the client, on the initramfs prompt, try: nbd-client 192.168.1.100 2000 /dev/nbd0
14:09
Do you see "negotiation ... size... " etc?
14:10jd42 (~jd42@124.41.228.153) left irc: Ping timeout: 246 seconds
14:10
<alazyworkaholic>
Negotiation: Error: Server closed connection Exiting
14:11
<alkisg>
alazyworkaholic: it seems that you have more than 1 problems
14:11
It's getting late here, so I'll have to go in a few minutes. Want me to help you with vnc so that we finish this quickly?
14:11
(no port forwarding needed)
14:11
<alazyworkaholic>
sure
14:11
<alkisg>
sudo apt-get install x11vnc
14:11
<alazyworkaholic>
you need my ip?
14:11
<alkisg>
No
14:11
x11vnc -connect alkisg.dyndns.org
14:13
<alazyworkaholic>
Installed it, now?
14:14
<alkisg>
(12:11:50 AM) alkisg: x11vnc -connect alkisg.dyndns.org
14:15xet7 (~xet7@a91-156-231-116.elisa-laajakaista.fi) joined #ltsp.
14:16
<alazyworkaholic>
ran that in a terminal, it says it's making a connection to client on host alkisg.dyndns.org port 5500
14:16
The VNC desktop is Desktop:2 PORT=5902
14:16
<alkisg>
alazyworkaholic: ah dyndns is broken
14:17
79.166.158.20
14:17
x11vnc -connect 79.166.158.20
14:17
ok got it
14:23jd42 (~jd42@124.41.238.218) joined #ltsp.
14:24
<alkisg>
alazyworkaholic: I think something's broken in your logs, dnsmasq and inetd don't write to daemon.log
14:27dlezcano (~dlezcano@AToulouse-159-1-59-237.w92-134.abo.wanadoo.fr) joined #ltsp.
14:27
<alkisg>
alazyworkaholic: try to boot a client
14:28
<alazyworkaholic>
You sir, are incredible. It's there.
14:28
<alkisg>
Nice
14:28
The problem was the /etc/nbd-server/config
14:28
Did you manually put it there?
14:28
<alazyworkaholic>
no
14:28
<alkisg>
Hmmm maybe a bug report needs to be filed then, in launchpad for ltsp
14:29
(left vnc)
14:29
Good luck with LTSP, and goodnight all.
14:29
<alazyworkaholic>
Thanks a lot. I'll look through what you did there & try to figure it out.
14:29
Have a very good night.
14:29alkisg (~alkisg@ubuntu/member/alkisg) left irc: Quit: Leaving.
14:44bobby_C (~bobby@85-124-22-227.teleworker.xdsl-line.inode.at) left irc: Ping timeout: 246 seconds
15:17komunista (~slavko@adsl-195-168-236-079.dynamic.nextra.sk) left irc: Quit: Leaving.
15:55ogra_ (~ogra@p5098ed03.dip0.t-ipconnect.de) left irc: Excess Flood
15:56ogra_ (~ogra@p5098ed03.dip0.t-ipconnect.de) joined #ltsp.
16:15alazyworkaholic (alan@201.22.55.136.dynamic.adsl.gvt.net.br) left #ltsp.
16:32
17:25brunolambert (~brunolamb@gw-dcmtl.rlnx.com) joined #ltsp.
17:34brunolambert (~brunolamb@gw-dcmtl.rlnx.com) left irc: Ping timeout: 246 seconds
18:40ball (~ball@c-98-226-194-183.hsd1.il.comcast.net) joined #ltsp.
20:30ball (~ball@c-98-226-194-183.hsd1.il.comcast.net) left irc: Quit: .
21:03alkisg (~alkisg@ubuntu/member/alkisg) joined #ltsp.
21:12Ahmuck (~quietly@p178n22.ruraltel.net) joined #ltsp.
21:12Ahmuck-Sr (~quietly@p178n22.ruraltel.net) left irc: Ping timeout: 276 seconds
21:23tekoholic (tekoholic@bbis.us) left irc: Ping timeout: 240 seconds
21:33tekoholic (tekoholic@bbis.us) joined #ltsp.
21:37tekoholic (tekoholic@bbis.us) left irc: Client Quit
21:38Mobe (~Mobe@adsl-85-217-46-70.kotinet.com) left irc: Ping timeout: 240 seconds
21:56alkisg (~alkisg@ubuntu/member/alkisg) left irc: Quit: Leaving.
23:02Trixboxer (~Trixboxer@office.supportdepartment.net) joined #ltsp.
23:23alkisg1 (~alkisg@ubuntu/member/alkisg) joined #ltsp.
23:31jd42 (~jd42@124.41.238.218) left irc: Read error: Connection reset by peer
00:00--- Mon May 2 2011