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


Channel log from 6 November 2010   (all times are UTC)

01:26alkisg has joined #ltsp
01:35
<hahlo>
g'morning, I have had perfectly working ubuntu 10.10 ltsp thin client system, I tried to feed it and make it fat, but fat lady doesn't sing well, if I start over do I just rm -rf all what is under /opt/ or do I need to remove also all ltsp-standalone-server config files?
01:41
<alkisg>
hahlo: rm -rf /opt/ltsp should suffice. What didn't you like with fat clients?
01:42
<hahlo>
I couldn't get it work did something wrong probably
01:42
<alkisg>
Also, you can just move it (sudo mv /opt/ltsp /opt/ltsp-fat) so that you don't have to build it again if you want to retry (e.g. you could have done the same mv for the thin chroot too)
01:43
Any specific errors that you want to troubleshoot?
01:44
<hahlo>
same ones I spoke earlier, I make sure that 2 nics server has nat and it worked on thin clients but not fat
01:44
<alkisg>
Thin clients do not need nat
01:44
Do you want to solve that problem or just move back to thin clients?
01:45
<hahlo>
how they connect internet then?
01:45
<alkisg>
Firefox on thin clients runs on the server
01:45
So it has direct access to the Internet
01:45
If you want to troubleshoot the problem, we can probably help...
01:46
<hahlo>
I followed these instructions, page is finn but commands are universal of course http://www.arkki.info/kirjasto/index.php?title=LTSP5_Kannettava_Demo
01:47
and that worked thin client system
01:47
but not fat
01:47
<alkisg>
You didn't need to do that for thin clients
01:47
So you have 2 network cards, eth0 and wlan0, right?
01:47
<hahlo>
wonder why this guy thought so he is finn veteran in ltsp
01:48
yes
01:48
<alkisg>
Can you run `ifconfig -a` on the server and put the result to pastebin?
01:48
!pastebot
01:48
<ltspbot>
alkisg: "pastebot" :: The LTSP pastebot is at http://ltsp.pastebin.com. Please paste all text longer than a line or two to the pastebot, as it helps to reduce traffic in the channel. Don't forget to paste the URL of the text here.
01:49
<hahlo>
alkisg: yes after little while I'm diffrent room now and have start ltsp like half an hour
01:50
<alkisg>
hahlo: when you had thin clients, didn't they have internet without going through that page instructions?
01:50
Those instructions are for *localapps*
01:50
...which as I said yesterday need NAT if you have 2 network cards on the server. The same is true for FAT clients.
01:51
Thin clients do not need NAT. Didn't they work without running those instructions?
01:52
Also, this page assumes that you have a DNS server running on your LTSP server, which I suppose you don
01:52
't
01:53
Finally, if you're using your laptop as the ltsp server, it's usually easier to use 1 NIC instead of 2.
02:17
<hahlo>
alkisg: didn't try without those instructions I made instructions first thin clients worked well
02:17
<alkisg>
hahlo: well, you didn't need to do them
02:17
Any of them
02:17
They are for a special case of LTSP called "localapps"
02:18
<hahlo>
ok I try now ifconfig -a on server
02:18
<alkisg>
Are you still with fat clients? Or did you switch to thin?
02:19
<hahlo>
still with fats
02:19
<alkisg>
OK
02:20
If you want, we can share your screen with VNC so that it takes less time to find out what you did wrong.
02:20
<hahlo>
http://pastebin.com/V4FsewVM
02:21
<alkisg>
Next, try: dig @localhost www.google.com
02:21
And upload /etc/ltsp/dhdpc.conf to pastebin
02:21
Because those instructions that you followed assume that you have a DNS server running on your laptop
02:22
<hahlo>
I try these on server or fat-client?
02:22
<alkisg>
On the server
02:22
<hahlo>
ok
02:22
<alkisg>
*/etc/ltsp/dhcpd.conf
02:25
<hahlo>
did I run command correctly space between dig and @ ? http://pastebin.com/USxhKaK
02:28
<alkisg>
" - Unknown paste ID, it may have expired or been deleted!"
02:28
Yes, with space between them
02:29
<hahlo>
http://pastebin.com/LPeTSBBw
02:29
can you see this?
02:29
<alkisg>
Yes
02:30
So you're telling your fat clients to use your laptop as a dns server, but did you install a dns server?
02:30
If you didn't, then internet won't work
02:30
Or tell your clients to use your actual dns server
02:30
OK, instead of running dig you can also check if you have a dns server with: sudo netstat -nap | grep :53
02:30
(on the server again)
02:32
<hahlo>
dig again http://pastebin.com/epHju0W1
02:33
<alkisg>
"no servers could be reached"
02:33
<hahlo>
my clients are laptop
02:33
and server is desktop
02:33
headless
02:33
<alkisg>
So by following that page you told your clients to use your desktop as the dns server, but a dns server isn't running there
02:34
That's what went wrong (at least)
02:34
One way to fix it is to put your actual dns server in dhcpd.conf
02:34
<hahlo>
I followed some instruction and it didn't mention dns
02:34
<alkisg>
cat /etc/resolv.conf ==> see your dns server there
02:35
That line in the wiki page is about DNS: option domain-name-servers 192.168.0.1;
02:35
<hahlo>
and where I put dns just line in dhcpd.conf?
02:36
<alkisg>
http://pastebin.com/LPeTSBBw ==> in line 11
02:36
<hahlo>
ok and then update-image?
02:36
<alkisg>
No
02:36
<hahlo>
reboot server?
02:36
<alkisg>
No update-image needed, but...
02:36
No
02:37
Just reboot client, but first...
02:37
<hahlo>
ok I try that
02:37
<alkisg>
...in order to troubleshoot the client we may need sudo access, so:
02:37
sudo gedit /var/lib/tftpboot/ltsp/i386/lts.conf
02:37
<hahlo>
yes sudo would be good
02:37
<alkisg>
create that file ^^ and put the following in it:
02:37
[Default]
02:37
SCREEN_02=shell
02:38
SCREEN_07=ldm
02:38
Then reboot a fat client
02:38
<hahlo>
have to use vim cause only ssh access on server
02:38
<alkisg>
ok
02:39
hahlo: also, option routers is wrong in your dhcpd.conf
02:40
option routers 192.168.0.1; ==> put your server IP there, 192.168.0.254
02:40
Then restart your dhcp server: sudo invoke-rc.d dhcp3-server restart
02:40
Then restart the fat client again
02:40
<hahlo>
ok
02:50
hmm network still doesn't work on fatclient cannot sudo either
02:51
something wrong in my fatclient now
02:52
maybe I should build it again from scratch?
02:52
<alkisg>
No
02:52
<hahlo>
ok
02:52
<alkisg>
On the fat client now, type: cat /etc/resolv.conf
02:52
Does it have your real dns server?
02:52
<hahlo>
yes
02:52
<alkisg>
Can you ping it?
02:53
ping ip
02:53
<hahlo>
but search example.com above it
02:53
<alkisg>
Yes, you put that in dhcpd.conf. it doesn't matter for now.
02:53
<hahlo>
I try ping
02:54
100% loss
02:54
<alkisg>
OK, now try: route -n | grep ^0
02:55
The second IP you see with route should be 192.168.0.254. Is it?
02:56
<hahlo>
command route is available /sbin/route
02:56
<alkisg>
Try: /sbin/route -n | grep ^0
02:56
<hahlo>
and sudo doesn't work
02:56
ok
02:56
<alkisg>
Right, sudo won't work within the session.
02:57
It will work if you switch to vt2, but you don't need that now
02:58
<hahlo>
I see only one line 0.0.0.0 192.168.0.254 0.0.0.0 eth0
02:58
<alkisg>
Nice
02:58
So the problem is that you didn't do NAT on the server
02:58
Go to the server, and run:
02:58
sudo -i
02:58
iptables -t nat -A POSTROUTING -j MASQUERADE
02:58
echo 1 > /proc/sys/net/ipv4/ip_forward
02:58
exit
02:59
Then try again to access the internet from the fat client
03:01
<hahlo>
it works !
03:01
<alkisg>
Nice. But the NAT we did wasn't permanent
03:01
You need to follow the NAT wiki page that I told you yesterday
03:02
<hahlo>
ok will look into it probably those my instructions didn't work at all but thin client didn't need them
03:02
<alkisg>
Also, delete the lts.conf file that you created, we won't need `sudo` on the fat client after all :)
03:03
<hahlo>
ok thanks
03:03
<alkisg>
Yes, I know that the thin clients do not need NAT. You shouldn't have followed that wiki page for thin clients.
03:03
<hahlo>
ok thanks again
03:03
<alkisg>
You're welcome
03:07alkisg has quit IRC
03:07alkisg1 has joined #ltsp
03:18alkisg1 has quit IRC
03:39dlezcano has quit IRC
03:40dlezcano has joined #ltsp
03:59sweetpi has joined #ltsp
04:11yanu_ has joined #ltsp
04:24bobby_C has joined #ltsp
04:56M4gic5t0rM has quit IRC
05:01alkisg has joined #ltsp
05:02dlezcano has quit IRC
05:13mistik1 has quit IRC
05:24M4gic5t0rM has joined #ltsp
05:29M4gic5t0rM has quit IRC
05:43dlezcano has joined #ltsp
05:50bobby_C has quit IRC
06:25alkisg has quit IRC
07:54dlezcano has quit IRC
07:56alkisg has joined #ltsp
08:06dlezcano has joined #ltsp
08:12komunista has joined #ltsp
08:23alkisg has quit IRC
09:02gorkhaan has quit IRC
09:11alkisg has joined #ltsp
09:19BWMerlin has joined #ltsp
09:51alkisg has quit IRC
09:57alkisg has joined #ltsp
10:05alkisg has quit IRC
10:26sweetpi has quit IRC
10:27BWMerlin has quit IRC
10:29dlezcano has quit IRC
10:52bobby_C has joined #ltsp
11:08alkisg has joined #ltsp
11:44alkisg has quit IRC
12:19dlezcano has joined #ltsp
12:34alkisg has joined #ltsp
12:38
<hahlo>
alkisg: now fatclient works as well thinclient before, thank you. Some questions still in mind, does fatclient use clients gpu too? and with fatclients does server do any computing?
12:39
<alkisg>
hahlo: fat clients are like normal installations except for the networked disk
12:39
They use their own CPU. The server only provides /home and the chroot and authentication
12:40
<hahlo>
what about 3d?
12:40
<alkisg>
They support 3D etc like if ubuntu was normally installed into them
12:40
So it depends on the graphics driver
12:41
E.g. if you have nvidia-based clients, they'll run better with the nvidia proprietary driver
12:41
<hahlo>
and you install graphic drivers in serverside chroot?
12:42
<alkisg>
Yes. What graphics cards do they have?
12:42
<hahlo>
I got ati hd3200
12:43
<alkisg>
No idea about ati, some of them have 3D support out of the box, with the open source drivers
12:43
<hahlo>
ok
12:43
is ltsp-cluster some other thing?
12:44
<alkisg>
ltsp-cluster is a way to do load-balancing if you have several ltsp servers, not just 1
12:44
<hahlo>
but there is no clustering between clients and server?
12:44
<alkisg>
No
12:45
<hahlo>
ok thanks
12:48alkisg has quit IRC
13:46alkisg has joined #ltsp
13:49dlezcano has quit IRC
13:57alkisg has quit IRC
14:14Davit has joined #ltsp
14:22Davit has quit IRC
14:39alkisg has joined #ltsp
14:39alkisg has joined #ltsp
14:52alkisg has quit IRC
14:55vagrantc has joined #ltsp
15:09Kicer86 has joined #ltsp
16:34Kicer86 has quit IRC
16:49otavio has joined #ltsp
16:49otavio has joined #ltsp
17:08Trixboxer has joined #ltsp
17:12komunista has quit IRC
17:18
<AndyGraybeal>
evening guys
17:19
it's saturday evening, i got the rest of the night and tomorrow off :)
17:28
<Trixboxer>
hi AndyGraybeal
17:29
hi guys, is it possible to spy graphics on fat-client from the server ?
17:34Phantomas has joined #ltsp
17:42
<AndyGraybeal>
hi trixboxejr
17:42
<Trixboxer>
jr ??
17:43
<AndyGraybeal>
trixboxer, i've seen that software made to be used with classrooms to monitor kids work.
17:43
jr, type..
17:43
typo
17:43
<Trixboxer>
np
17:43
<AndyGraybeal>
too much 'shine
17:43
<Trixboxer>
hmm
17:43
what software ?
17:43
<AndyGraybeal>
lemme look it up
17:43Appiah has quit IRC
17:44
<AndyGraybeal>
gimee a sec, i'm on dial-up
17:44
<Trixboxer>
np
17:44
take your time :)
17:45
AndyGraybeal: where are your from ?
17:45
<AndyGraybeal>
i live in southeastern ohio. how about yourselfd
17:46
<Trixboxer>
near mumbai, Mr. Obama has arrived 14 hrs earlier :)
17:46
have*
17:46
<AndyGraybeal>
italc
17:47
ah mumbai :) awesome. i've seen a blog from someon in mumbai school system.
17:47
<Trixboxer>
AndyGraybeal: can I pm you ?
17:47
<AndyGraybeal>
yes, sure, i'm not very knowledgable
17:53gorkhaan has joined #ltsp
17:55otavio has quit IRC
18:14Appiah has joined #ltsp
18:18
<AndyGraybeal>
did you have a look at italc?
18:19
<Trixboxer>
yeah, will set it up tomo
18:19
its near 5 am here.. have to go now for sleep
18:19
<AndyGraybeal>
:)
18:19
goodnight :)
18:20
<Trixboxer>
same to you :)... take good care
18:20Trixboxer has quit IRC
18:32mnemoc has joined #ltsp
18:49alkisg has joined #ltsp
18:50Phantomas has quit IRC
18:54
<AndyGraybeal>
does anyone use italc with ubuntu 10.04 ? i see the latest release is for karmic
18:55
<alkisg>
AndyGraybeal: http://packages.ubuntu.com/italc ==> 1.0.9.1 for everyone...
19:01
<AndyGraybeal>
okay thankyou
19:03
how are you tonight alkisg ?
19:04
<alkisg>
Very fine, just came back from the Saturday evening exit...
19:05
<AndyGraybeal>
i don't understand what that is.
19:05Phantomas has joined #ltsp
19:24Phantomas has left #ltsp
19:32alkisg has quit IRC
20:08Appiah has quit IRC
20:09pmatulis has quit IRC
20:09pmatulis has joined #ltsp
20:18bobby_C has quit IRC
20:30knipwim has quit IRC
20:30wwx has quit IRC
20:30sep has quit IRC
20:31knipwim has joined #ltsp
20:31sep has joined #ltsp
20:33wwx has joined #ltsp
21:01vagrantc has quit IRC
21:08artista_frustrad has quit IRC
21:22artista_frustrad has joined #ltsp
22:05chupacabra has quit IRC
23:24mistik1 has joined #ltsp
23:45Appiah has joined #ltsp
23:47chupacabra has joined #ltsp