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


Channel log from 27 January 2012   (all times are UTC)

00:01Damianos has joined IRC (Damianos!~Damianos@adsl-070-145-074-043.sip.cha.bellsouth.net)
00:01bengoa has joined IRC (bengoa!~bengoa@189-94-46-165.3g.claro.net.br)
00:02bengoa has left IRC (bengoa!~bengoa@189-94-46-165.3g.claro.net.br)
00:07dead_inside has left IRC (dead_inside!~dead_insi@76.75.3.174, Quit: Leaving...)
00:28freedomrun has left IRC (freedomrun!~quassel@BSN-61-43-204.dial-up.dsl.siol.net, Remote host closed the connection)
00:44Damianos has left IRC (Damianos!~Damianos@adsl-070-145-074-043.sip.cha.bellsouth.net, Quit: Damianos)
00:46vagrantc has joined IRC (vagrantc!~vagrant@75-150-46-245-Oregon.hfc.comcastbusiness.net)
00:54Damianos has joined IRC (Damianos!~Damianos@adsl-070-145-074-043.sip.cha.bellsouth.net)
01:20[GuS] has left IRC ([GuS]!~gustavo@unaffiliated/gus/x-663402, Remote host closed the connection)
01:26adrianorg_ has left IRC (adrianorg_!~adrianorg@189.58.226.241.dynamic.adsl.gvt.net.br, Ping timeout: 252 seconds)
02:09vagrantc has left IRC (vagrantc!~vagrant@75-150-46-245-Oregon.hfc.comcastbusiness.net, Ping timeout: 260 seconds)
02:10markit has left IRC (markit!~marco@88-149-177-66.staticnet.ngi.it, )
03:16map7_ has joined IRC (map7_!~map7@ppp118-209-108-64.lns20.mel4.internode.on.net)
03:16killermike has joined IRC (killermike!~killermik@2.26.89.14)
03:23yalu has left IRC (yalu!~yalu@166.23-200-80.adsl-dyn.isp.belgacom.be, Ping timeout: 252 seconds)
03:25yalu has joined IRC (yalu!~yalu@40.5-200-80.adsl-dyn.isp.belgacom.be)
03:36Parker955_Away is now known as Parker955
03:44abeehc has left IRC (abeehc!~bob@S010652540047e22e.gv.shawcable.net, Remote host closed the connection)
03:48alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
04:28Parker955 is now known as Parker955_Away
04:28alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.)
04:33alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
04:38staffencasa has left IRC (staffencasa!~staffenca@128-193-148-128.oregonstate.edu, Ping timeout: 248 seconds)
04:53ry has joined IRC (ry!~ry@static-71-183-64-28.nycmny.fios.verizon.net)
04:55
<map7_>
I'm setting up an ubuntu machine as a LTSP server should I be using NBD or NFS?
05:00
I'm currently getting this error on my LTSP clients 'mount: mounting /dev/nbd0 on /rofs failed: Input/output error'
05:00
has anyone experienced this?
05:17
<alkisg>
Ubuntu is using NBD by default, so you should prefer that unless you have specific needs
05:18
map7_: That error means that the client has problems reading the nbd mounted disk. Which ubuntu version are you using?
05:18
E.g. if you exported a directory instead of /opt/ltsp/images/i386.img, then you'd get this error.
05:20
<map7_>
alkisg, I've just been playing around with the nbdport variable on the kernel boot line and got it to work! So it looks like the client was looking on the wrong port number
05:23alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.)
06:19
<map7_>
Will the mythbuntu switch on ltsp-build-client work with nbd?
06:27freedomrun has joined IRC (freedomrun!~quassel@BSN-176-166-151.dial-up.dsl.siol.net)
06:53
<map7_>
Looks like the problem is when I start using 'mythbuntu' switches on the ltsp-build-client command
06:58VectorX has joined IRC (VectorX!knight@unaffiliated/vectorx)
06:59
<VectorX>
is there such a setup where when you drag windows apps around in the gui on thin clients there is no lag ? or will there always be a lag noticed ?
07:00
<map7_>
VectorX, check out crossover linux, I use it for thin clients and it works well for most apps
07:01
<VectorX>
the main os is ubuntu, so how would this help with the speed ?
07:05
<map7_>
i thought you were asking about 'microsoft windows apps' running within linux
07:06
<VectorX>
im sorry my bad wrong wording, i mean drag apps in the gui so you dont notice a lag
07:06
on tha thin client, ubuntu based
07:07
<map7_>
first make sure you are using 2d only, not compriz or any effects
07:07
pick a lighter theme
07:07
upgrade your network to 1Gbit
07:07
<VectorX>
net is 1gbit but client cards are 100
07:07
<map7_>
use more power graphics cards on thin clients
07:08
i don't have any lag at work, but my thin clients have 1Gbit and an intel on-board GPU (Intel 510MO Atom motherboard)
07:09
It could be the number of clients you have and the amount of traffic
07:09
<VectorX>
im just testing 2
07:09
but pemtium 2gz 512ram, basic onboard gfx
07:10
<map7_>
it could be the graphics card, I remember having the same issue with older thin clients
07:10
check that it's 2d
07:11
<VectorX>
although let me try a much faster system and see if there is a differece
07:11
bbib
07:11VectorX has left IRC (VectorX!knight@unaffiliated/vectorx, )
07:28loather has joined IRC (loather!~khudson@wsip-98-175-250-115.sd.sd.cox.net)
07:35loather has left IRC (loather!~khudson@wsip-98-175-250-115.sd.sd.cox.net, Quit: This computer has gone to sleep)
07:42laurei has joined IRC (laurei!3a069039@gateway/web/freenode/ip.58.6.144.57)
07:44
<laurei>
Good day LTSP'ers I have the problem with my LTSP that it won't accept logins from LDAP users, only local ones :(
07:57killermike has left IRC (killermike!~killermik@2.26.89.14, Remote host closed the connection)
08:05F-GT has left IRC (F-GT!~phantom@ppp121-44-54-88.lns20.syd6.internode.on.net, Quit: Leaving)
08:05F-GT has joined IRC (F-GT!~phantom@ppp121-44-54-88.lns20.syd6.internode.on.net)
08:44monteslu has left IRC (monteslu!~monteslu@ip68-109-174-213.ph.ph.cox.net, Ping timeout: 252 seconds)
08:56monteslu has joined IRC (monteslu!~monteslu@ip68-109-174-213.ph.ph.cox.net)
09:23freedomrun has left IRC (freedomrun!~quassel@BSN-176-166-151.dial-up.dsl.siol.net, Remote host closed the connection)
09:26bobby_C has joined IRC (bobby_C!~bobby@chello080108221029.1.13.vie.surfer.at)
09:35lifeboy_ has joined IRC (lifeboy_!~roland@196-209-243-215.dynamic.isadsl.co.za)
09:36dobber has joined IRC (dobber!~dobber@213.169.45.222)
09:38lifeboy_ has left IRC (lifeboy_!~roland@196-209-243-215.dynamic.isadsl.co.za, Client Quit)
09:39lifeboy_ has joined IRC (lifeboy_!~roland@196-209-243-215.dynamic.isadsl.co.za)
09:44Damianos has left IRC (Damianos!~Damianos@adsl-070-145-074-043.sip.cha.bellsouth.net, Quit: Damianos)
09:50lifeboy_ has left IRC (lifeboy_!~roland@196-209-243-215.dynamic.isadsl.co.za, Quit: Ex-Chat)
09:50lifeboy has joined IRC (lifeboy!~roland@196-209-243-215.dynamic.isadsl.co.za)
10:07khildin has joined IRC (khildin!~khildin@ip-83-134-213-97.dsl.scarlet.be)
10:37alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
10:37ogra_ has left IRC (ogra_!~ogra@p5098ed03.dip0.t-ipconnect.de, Excess Flood)
10:53ogra_ has joined IRC (ogra_!~ogra@p5098ed03.dip0.t-ipconnect.de)
10:59
<alkisg>
laurei: can you ssh to your ltsp server, using an ldap user?
11:00
If not, it's an LDAP configuration problem, which you should try to solve e.g. by asking in #ldap
11:02alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.)
11:22Damianos has joined IRC (Damianos!~Damianos@adsl-070-145-074-043.sip.cha.bellsouth.net)
11:39artista_frustrad has joined IRC (artista_frustrad!~fernando@200.247.43.2)
11:41bengoa has joined IRC (bengoa!~bengoa@2001:1291:229:2:216:cbff:feab:6cc9)
12:01freedomrun has joined IRC (freedomrun!~quassel@BSN-142-162-47.dial-up.dsl.siol.net)
12:02highvoltage has left IRC (highvoltage!~highvolta@ubuntu/member/highvoltage, Quit: Segmentation Fault)
12:02highvoltage has joined IRC (highvoltage!~highvolta@ubuntu/member/highvoltage)
12:25alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
12:25Trixboxer has joined IRC (Trixboxer!~Trixboxer@115.124.115.71)
12:33
<muppis>
alkisg, you should update gPXE in win-loader. ;)
12:35
<alkisg>
muppis: why 1.0 doesn't have a driver for your card?
12:35
<muppis>
Nop.e.
12:35
<alkisg>
1.0.1 didn't work with proxydhcp, and ipxe had some other bugs, so I was waiting for ipxe to have a release
12:35
<muppis>
nForce 2
12:35
<alkisg>
And ipxe has a driver for that?
12:35
You can just copy ipxe.lkrn and override that file
12:35
Here's a freshly compiled one:
12:36
http://people.ubuntu.com/~alkisg/tmp/ipxe.lkrn
12:36
<muppis>
Grabbed new gpxe from rom-o-matic and it worked.
12:36
<alkisg>
Nice
12:37
Now if anyone could write a wiki page about ipxe + win32-loader... :)
13:05alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.)
13:16brunolambert has joined IRC (brunolambert!bruno@nat/revolutionlinux/x-rrscgjlsehrcflba)
13:20Da-Geek has joined IRC (Da-Geek!~Da-Geek@82.111.116.66)
13:24Damianos has left IRC (Damianos!~Damianos@adsl-070-145-074-043.sip.cha.bellsouth.net, Quit: Damianos)
13:29bobby_C has left IRC (bobby_C!~bobby@chello080108221029.1.13.vie.surfer.at, Ping timeout: 272 seconds)
13:33adrianorg_ has joined IRC (adrianorg_!~adrianorg@187.58.140.29)
13:46Da-Geek has left IRC (Da-Geek!~Da-Geek@82.111.116.66, Quit: Leaving)
13:49Damianos has joined IRC (Damianos!~Damianos@adsl-070-145-074-043.sip.cha.bellsouth.net)
14:18bobby_C has joined IRC (bobby_C!~bobby@85-124-22-227.teleworker.xdsl-line.inode.at)
14:24alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
14:43piet has joined IRC (piet!5b606d20@gateway/web/freenode/ip.91.96.109.32)
14:44
<piet>
hi folks, is there a way to change the hostname via lts.conf. Read about an undocumented possibility to do that . . .
14:44
<alkisg>
HOSTNAME=XXX
14:45
Under [mac:address] sections
14:45
<||cw>
wouldn't that be better set via dhcp?
14:45
so it gets dns integrated?
14:45
<piet>
I want the original dns name instead of the <ltsp5> etc.
14:46
how to do that?
14:46
<||cw>
so your dhcp server doens't kow the mac is supposed to have that dns name?
14:47
I guess if it's separate and you have mappings for mac to ip and dns to ip then the lts.conf is the place to do it
14:47
<piet>
I didnt get the point . . .
14:48
in dhcp I have . . .
14:48
static ips via mac-addresses
14:48
and I want the ltsp to take those dns names
14:49
<||cw>
normally, as in not ltsp, if you want a certain mac address to get a certain hostname (except with windows) you put the host name mapping in your dhcp server
14:49
<piet>
what would be the best way to do that
14:49
<alkisg>
If your dhcp/dns servers are configured correctly, it's done automatically
14:50
<piet>
do You want to see an example?
14:50
<alkisg>
Is your ltsp server the only dhcp server in your network?
14:50
<piet>
Yes
14:50* ||cw <3 dnsmasq
14:50* alkisg too :)
14:51
<||cw>
makes these things so simple
14:51
<alkisg>
piet: edit /var/lib/tftpboot/ltsp/i386/pxelinux.cfg/default
14:51
Put "break=mount" there
14:51
Then do: cat /tmp/net-eth0.conf
14:51
You'll see the info the client gets from your dhcp server there
14:51
If you do see a correct HOSTNAME, then it's an ltsp problem
14:51
If you don't, it's a dhcp/dns configuration problem
14:52dead_inside has joined IRC (dead_inside!~dead_insi@76.75.3.174)
14:52
<piet>
ok I try this immediately . . .
14:52
<alkisg>
(break=mount will drop you to an initramfs prompt when the client boots)
14:53
<piet>
and there I do the cat thing?
14:53
<||cw>
alkisg: did you see my 3M touch driver solution?
14:53
<alkisg>
||cw: nope
14:53
<||cw>
also I reported that X -configure issue to the X package
14:54
https://help.ubuntu.com/community/UbuntuLTSP/3MMicroTouchDriver
14:54
<alkisg>
piet: did you put it in the same line as "quiet splash"?
14:54
<||cw>
i put it on the wiki :)
14:54
<alkisg>
piet: boot the client, you'll get a text prompt, run the command there
14:54
||cw: let me read...
14:55
||cw: very good! I think you'll be the ubuntultsp wiki maintainer for the next year... :D
14:55
<||cw>
heh
14:59
<stgraber>
hmm, I guess I'll need to convince vagrantc to tag 1.0 of ltsp-docs and upload that to Debian :)
14:59piet has left IRC (piet!5b606d20@gateway/web/freenode/ip.91.96.109.32, Quit: Page closed)
15:01ogra_ has left IRC (ogra_!~ogra@p5098ed03.dip0.t-ipconnect.de, Excess Flood)
15:03ogra_ has joined IRC (ogra_!~ogra@p5098ed03.dip0.t-ipconnect.de)
15:09Parker955_Away is now known as Parker955
15:10alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.)
15:40bobby_C has left IRC (bobby_C!~bobby@85-124-22-227.teleworker.xdsl-line.inode.at, Ping timeout: 272 seconds)
15:47alexqwesa has joined IRC (alexqwesa!~alex@alexo-veto.broker.freenet6.net)
15:49Mobe_ has left IRC (Mobe_!~Mobe@adsl-82-141-65-229.kotinet.com, Read error: Connection reset by peer)
15:49Mobe_ has joined IRC (Mobe_!~Mobe@adsl-82-141-65-229.kotinet.com)
15:56monteslu has left IRC (monteslu!~monteslu@ip68-109-174-213.ph.ph.cox.net, Read error: Operation timed out)
16:08piet has joined IRC (piet!5b606d20@gateway/web/freenode/ip.91.96.109.32)
16:09monteslu has joined IRC (monteslu!~monteslu@ip68-109-174-213.ph.ph.cox.net)
16:10staffencasa has joined IRC (staffencasa!~staffenca@128-193-148-128.oregonstate.edu)
16:10
<piet>
@alkisg that doesnt work as expected. It doesnt stop but says: missing keyword in configuration file. keyword break=mount . . .
16:12
any more ideas?
16:15alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
16:19Steve_The_Pirate has joined IRC (Steve_The_Pirate!~Gary@ip-80-238-8-128.bskyb.com)
16:20
<piet>
agsin: @alkisg that doesnt work as expected. It doesnt stop but says: missing keyword in configuration file. keyword break=mount . . .
16:25loather has joined IRC (loather!~khudson@wsip-98-175-250-115.sd.sd.cox.net)
16:29
<piet>
alkisg gave me a hint how to find out why I get a wrong hostname. This trick didnt work so I couldnt find out whos fault it is. DHCP or ltsp.
16:30
<alkisg>
piet: put your pxelinux.cfg/default file to pastebin
16:30
!pastebin
16:30
<ltsp>
alkisg: pastebin: the LTSP pastebin is at http://ltsp.pastebin.com. Please paste all text longer than a line or two to the pastebin, as it helps to reduce traffic in the channel. Don't forget to paste the URL of the text here.
16:32Steve_The_Pirate has left IRC (Steve_The_Pirate!~Gary@ip-80-238-8-128.bskyb.com, Ping timeout: 240 seconds)
16:33
<piet>
Because I have a section for every client in my lts.conf it wouldnt be a problem for me to set the hostname for every client. But for this I need the undocumented order to do that . . .
16:34
anybody who knows, whats going on?
16:34
<alkisg>
piet: did you see my answer above?
16:34
<piet>
this pastebin stuff?
16:36
Right now I feel a little disorientated I guess I didnt see Your answer . . .
16:38
ah you mean the pxelinux.cfg/default . . . wait
16:38
<alkisg>
That's the file where I told you to put the break=mount parameter
16:39
<piet>
yes Im on my way gimme some time . . .
16:41dobber has left IRC (dobber!~dobber@213.169.45.222, Remote host closed the connection)
16:44
<piet>
@ alkisg Sorry Im completly untrained in Your way of conversation. So pls stay patient with me. I put it to <http://pastebin.com/QHZJK9bX> I hope ;-)
16:45
<alkisg>
Delete line 13 and change line 6 to :
16:45
append ro initrd=initrd.img quiet splash nbdname=ltsp_i386 break=mount
16:46
(04:54:04 μμ) alkisg: piet: did you put it in the same line as "quiet splash"?
16:46
...if you also read that, 2 hours ago, you'd say "no", and you wouldn't have this problem
16:49Steve_The_Pirate has joined IRC (Steve_The_Pirate!~Gary@cpc16-haye17-2-0-cust169.haye.cable.virginmedia.com)
16:49
<piet>
I completely dont know what You mean - May be its why Im not a native English speaking person. I thought it would be good enough - obviously not.
16:50
What do You mean by <quiet splash>?
16:50
<alkisg>
Read the file
16:50
Find those words in it
16:51
You were supposed to put "break=mount" in line 6, but you put it in line 13
16:51
<piet>
ahhh, thank U
16:52
<alkisg>
Don't worry about your english they're fine. Just read what people tell you many times and ask if you don't understand something.
16:52
I'm not a native english speaker either, I'm greek :)
16:55
<piet>
@ alkisg: dont worry there are worst things ;-) I hope we 'll work it out -> I'll leave for the test . . .
16:55piet has left IRC (piet!5b606d20@gateway/web/freenode/ip.91.96.109.32, Quit: Page closed)
17:03Trixboxer has left IRC (Trixboxer!~Trixboxer@115.124.115.71, Ping timeout: 252 seconds)
17:03Trixboxer has joined IRC (Trixboxer!~Trixboxer@115.124.115.71)
17:07piet has joined IRC (piet!5b606d20@gateway/web/freenode/ip.91.96.109.32)
17:08Steve_The_Pirate has left IRC (Steve_The_Pirate!~Gary@cpc16-haye17-2-0-cust169.haye.cable.virginmedia.com, Quit: Leaving)
17:08Steve_The_Pirate has joined IRC (Steve_The_Pirate!~Gary@cpc16-haye17-2-0-cust169.haye.cable.virginmedia.com)
17:13
<piet>
@alkisg : The hostname was empty (''). So its the fault of the dhcp, if I follow Your explanation. The beginning of my dhcp-File is: <http://pastebin.com/yLPajpxK> to give You an idea . . .
17:14
@ alkisg: Hopefully U can see, what I did wrong.
17:21loather has left IRC (loather!~khudson@wsip-98-175-250-115.sd.sd.cox.net, Quit: This computer has gone to sleep)
17:26tkteun has joined IRC (tkteun!~tkteun@82-197-206-135.dsl.cambrium.nl)
17:27
<tkteun>
Hi, I recently started experimenting with LTSP for simple SDL games (like OpenTTD)
17:28
Now this spikes sometimes and this breaks gameplay
17:29
I've read the manual but somethings aren't really clear
17:29
Is it possible to configure client side channel bonding (prefferably LACP) in lts.conf?
17:29mnevans has joined IRC (mnevans!~mnevans@zero.geol.umd.edu)
17:30
<tkteun>
discriminating the clients that actually have multiple interfaces
17:30
<alkisg>
piet: I'm not using dhcp3-server, so I don't know that file syntax
17:31
<mnevans>
@alkisg, @stgraber, just to let you know, I revised the ltsp wiki page on setting up the AMD E-350 reflecting your help with that yesterday.
17:31
It is here: https://help.ubuntu.com/community/UbuntuLTSP/AMDE-350?highlight=%28\bCategoryLtsp\b%29
17:31
<alkisg>
tkteun: no, you can't do bonding from lts.conf
17:32
<mnevans>
To be specific: usb support at the localdev for a 64 bit client.
17:32
<alkisg>
mnevans good work :)
17:32
<mnevans>
Thanks again!
17:32
No, the work was all yours!
17:32
<tkteun>
about half of my clients have 3 rtl81.. chips, the others usually just one
17:32mnevans has left IRC (mnevans!~mnevans@zero.geol.umd.edu)
17:33
<alkisg>
tkteun: try running your game as a localapp, if your clients are good enough it'll run better
17:33
<tkteun>
I tried it, but with 800MHz they're not up to it
17:33
even worse than 100Mbps on ltsp
17:34
<alkisg>
I'm not sure if bonding on the client is worth the trouble... isn't it easy to upgrade them to gigabit?
17:35
<tkteun>
Is it possible to share one image across all my clients or should I make one especially for these clients?
17:35
CV 860A 3R80: http://www.synertrontech.com/products/Embedded%20Boards/cv_860a.htm
17:35
<alkisg>
You would setup bonding in the initramfs, before the image (assuming you're talking about nbd) is loaded
17:36
<piet>
@alkisg: What Do You meant about setting the hostname explicitly in lts.conf?
17:37
<alkisg>
piet: if a client has a mac address of 01:02:03:04:05:06, you put this in lts.conf:
17:37
[01:02:03:04:05:06]
17:37
HOSTNAME=pc01
17:37
And you'd need another such section for any other client
17:37
<tkteun>
The settings from initramfs remain in the nbd image?
17:37
<alkisg>
initramfs == initrd.img
17:37
nbd image == /opt/ltsp/images/i386.img
17:37
Unrelated
17:37
<piet>
@alkisg: thanx a lot . . .
17:40
<alkisg>
tkteun: the network is set up in the initramfs. After that, the connection must stay up at all times, no reconfiguration can be done. After that, the nbd image is mounted.
17:41
You did try LDM_DIRECTX=True, right?
17:41
<tkteun>
yes, definitely
17:41
<alkisg>
And also lowering the resolution or using 16 bit color depth helps
17:41
<tkteun>
generally it's alright, but it stalls every 1~2 seconds
17:42
So the initramfs is also where ipconfig resides?
17:42
<alkisg>
Yes, and udhcpc too
17:43
<tkteun>
because I ran into a little bug in there too where ipconfig decides on which 1 of the ports it takes dhcp from
17:44
ending up in a kernel panic if there's no connection on the last interface
17:44
eth2 in my case
17:44
<alkisg>
Which distro/version are you using?
17:45
<tkteun>
debian on the ltsp server with another debian dhcp server
17:45
isc dhcp
17:53vagrantc has joined IRC (vagrantc!~vagrant@c-76-105-252-50.hsd1.or.comcast.net)
17:54
<tkteun>
alkisg: Okay, thanks a lot!
17:55
you've given me enough to go by
17:55
I'll start reading about this
17:56
because honestly I still don't know enough about this boot process
17:57Steve_The_Pirate has left IRC (Steve_The_Pirate!~Gary@cpc16-haye17-2-0-cust169.haye.cable.virginmedia.com, Quit: Leaving)
17:57
<tkteun>
I think I'll let pxelinux do the discrimination between clients and make changes in the initrd, at least for this dhcp issue
17:58
have you got any recommendations for documentation on this?
17:59||cw has left IRC (||cw!~chris@phpgroupware/cw, Remote host closed the connection)
18:02
<alkisg>
tkteun: you just need to put an "if" in the initramfs, no different images or whatsoever
18:02
If it's one of those special clients, do bonding
18:03
<vagrantc>
initramfs tweaking?
18:03
<alkisg>
But you'll need to dig into how to add stuff to the initramfs etc
18:03
He wants to do bonding in the clients
18:03
<vagrantc>
bonding in the initramfs... whoah.
18:03
<alkisg>
In some of them, that is
18:03
<vagrantc>
a most unusual use case?
18:03||cw has joined IRC (||cw!~chris@gateway.wilsonmfg.com)
18:03||cw has joined IRC (||cw!~chris@phpgroupware/cw)
18:04
<tkteun>
sounds like an adventure :)
18:04
<alkisg>
Yeah I tried to tell him it's usually easier to upgrade the clients to gigabit, but he has 2-3 ethernet port in his motherboards
18:04
Yes, it is an adventure :)
18:04
<vagrantc>
an educational experience you'll learn from ... other than that, probably not worth the hassel :)
18:04
<tkteun>
strange motherboards... no pcmcia but three 8139's
18:05
<alkisg>
It would probably be easier to fix your lag problem though, if it's only once per 1-2 seconds
18:05
<tkteun>
so, does anyone have any recommended reading for custom initrd-ltsp
18:05
<alkisg>
Try man initramfs-tools
18:06
<tkteun>
on my gigabit client the bandwidth spikes to 40MB/s when the others lag
18:06
<alkisg>
Is that spike caused by the game?
18:06
<tkteun>
think it's an sdl problem
18:06
<alkisg>
Maybe you could change the code a bit so that it doesn't use network spikes but it causes more regulated traffic
18:07
<||cw>
sdl over 100Mbit?
18:07* ||cw shudders
18:07
<tkteun>
bubble breaker is more continuous
18:07
especially in the intro
18:07
<alkisg>
And _that_ advanture would be worth the hussle, if it helps playing sdl games over 100mbps :D
18:08
<tkteun>
but I must say it's amazing that vlc player and flash works quite good already
18:09
<||cw>
those then to stream and constant rates, and most videos are only 1Mbps anyway
18:09
<alkisg>
Vlc uses xvideo, i.e. 12 bpp resized on the client
18:09
So it's about 50 mbps for a normal divx
18:09
<||cw>
still, stream
18:09
games burst
18:10
<alkisg>
||cw: the 1mbps stream is until the server, then it's normal X traffic, not compressed video
18:10
E.g. you can't watch a dvd with 100mbps, it requires 125 mbps
18:10
And if I remember well HD video is about 600mbps
18:11
<tkteun>
the traffic is usually 7MiB/s with 11MiB/s spikes
18:11
<alkisg>
That's bytes, not bits, right?
18:11
<tkteun>
with youtube/vlc
18:11
<alkisg>
Youtube is much different than vlc
18:12
Don't compare them
18:12
One uses xvideo, the other not
18:12
If you switch to fullscreen, flash uses more bandwidth, vlc not
18:12
The formula for xvideo is video width * video height * 12 bpp * frame rate
18:12
<tkteun>
yeah, flash fullscreen is the devil
18:12
<alkisg>
While for flash it's window width * window height * screen bpp * frame rate
18:13
(with video i mean the original video dimentions, independed of the size you're watching it in)
18:13
<tkteun>
isn't it possible to limit that screen bpp to 12 then?
18:13
xorg.conf?
18:13
<alkisg>
No
18:13
!flash
18:13
<ltsp>
alkisg: flash: Yes, flash sucks. Make sure you have LDM_DIRECTX=True in your lts.conf file, or if it's just youtube you're after, try some flash replacing plugin like https://addons.mozilla.org/el/firefox/addon/161869/ (per user installation, gecko-mediaplayer is also needed).
18:13
<alkisg>
Only with different youtube players that would use xvideo
18:14
<tkteun>
still no html5 youtube
18:15
<alkisg>
I haven't checked if html5 capable browsers use xvideo
18:15
It'd be very nice for ltsp if they did
18:15
<tkteun>
but they would use some ffmpeg player
18:16
vlc/mplayer
18:19
Well thanks for the insights, I'll make sure to make a nice Guide when I succeed
18:19
see you later
18:19
<alkisg>
bb
18:20freedomrun has left IRC (freedomrun!~quassel@BSN-142-162-47.dial-up.dsl.siol.net, Read error: Connection reset by peer)
18:22tkteun has left IRC (tkteun!~tkteun@82-197-206-135.dsl.cambrium.nl, Quit: KVIrc 4.1.1 Equilibrium http://www.kvirc.net/)
18:27staffencasa has left IRC (staffencasa!~staffenca@128-193-148-128.oregonstate.edu, *.net *.split)
18:27lifeboy has left IRC (lifeboy!~roland@196-209-243-215.dynamic.isadsl.co.za, *.net *.split)
18:27cheche has left IRC (cheche!cheche@46.25.86.250, *.net *.split)
18:27muppis has left IRC (muppis!muppis@viuhka.fi, *.net *.split)
18:27ncd209_ has left IRC (ncd209_!~ncd209@jetmaintain12.pndsl.co.uk, *.net *.split)
18:27piet has left IRC (piet!5b606d20@gateway/web/freenode/ip.91.96.109.32, *.net *.split)
18:27laurei has left IRC (laurei!3a069039@gateway/web/freenode/ip.58.6.144.57, *.net *.split)
18:28muppis has joined IRC (muppis!muppis@viuhka.fi)
18:28ncd209_ has joined IRC (ncd209_!~ncd209@jetmaintain12.pndsl.co.uk)
18:28lifeboy has joined IRC (lifeboy!~roland@196-209-243-215.dynamic.isadsl.co.za)
18:28staffencasa has joined IRC (staffencasa!~staffenca@128-193-148-128.oregonstate.edu)
18:28cheche has joined IRC (cheche!cheche@46.25.86.250)
18:33jtsop has joined IRC (jtsop!~quassel@cust-206-99.on5.ontelecoms.gr)
18:42xsl has joined IRC (xsl!~silence@unaffiliated/xsl)
18:57markit has joined IRC (markit!~marco@88-149-177-66.staticnet.ngi.it)
18:59
<markit>
hi, anyone with the correct line to add in /etc/network/interfaces to direct traffic to squid transparently? Or, with the system correctly setup (I use shorewall), be able to "extract" the command to give to iptables?
19:02
<mmetzger>
markit: You mean an IPTables Redirect?
19:03
<markit>
mmetzger: something like (shoudl work, but yesterday did not) iptables -t nat -A PREROUTING -m owner ! --uid-owner proxy -p tcp --dport 80 -j REDIRECT --to-port 3128
19:03
I've 2 interfaces
19:03
I've enabled forwarding and nat, from fat clients and from server navigation is ok
19:03
I've also setup squid, and now I would like to use it as transparent proxy
19:04
with shorewall I'm able to do so
19:04
but would love avoid shorewall and just setup iptables directly
19:04
<mmetzger>
And Squid is running on the same box as where you have the iptables rule?
19:04
<markit>
yes
19:04
that's why I need ! --uid-owner
19:04
to avoid the "recursion"
19:05
<mmetzger>
any other port blocking on the INPUT chain? (or at least, is 80 open?)
19:05
<markit>
I ask just in case that someone already has the 3-4 rules needed to make ltsp work like I want
19:05
mmm with iptables "clean" I apply
19:05
echo 1 > /proc/sys/net/ipv4/ip_forward
19:06
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
19:06
<mmetzger>
I've set something up similar recently, but it's not quite the same deal
19:06
<markit>
(eth0 is WAN)
19:06
and it works fine
19:06
but I know almost nothing about iptables (ok, shame on me)
19:07
btw, my ltsp server is on a pc that at the moment is used by one of my childre, so cant' directly experiment right now
19:08
<mmetzger>
My setup doesn't use the --uid-owner piece as it's actually a completely separate firewall but I am redirecting port traffic for a few specific ports.
19:09
My main issues were the INPUT chain being open for the ports being accepted, and then remembering that REDIRECT only works locally.
19:14
<markit>
I've the feeling I 've to stick with shorewall and the config I know works, and then study iptables working
19:15
<alkisg>
If shorewall configures your iptables ok, why don't you just dump them and examine them?
19:18alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.)
19:20alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
19:20
<vagrantc>
markit: i've got some transparent firewalling rules with ferm
19:21
markit: transparent proxy, that is
19:22
probably need both a PREROUTING and POSTROUTING rule
19:22
to cover both DNAT and SNAT
19:23
<markit>
vagrantc: I have a shorewall setup that works
19:23
but iptables-write or whatever is called
19:24
produces a file that is not a list of iptables command
19:24
but a sort of "pseudo code"
19:24
so can't learn the 3-4 commands I need from them
19:26
<vagrantc>
you need to switch to raw iptables for some reason?
19:30
<markit>
simplicity
19:30
I think shorewall is too much for just nat and squid
19:31
I use it because is the only one I know the correct setup
19:31
I'm writing some installation scripts for ltsp and schools
19:31
(ruby and in italian)
19:31
<vagrantc>
i've found ferm to provide a really simple wrapper around iptables that doesn't limit you or do too much
19:31
<alkisg>
Go go Europe :P
19:31
<markit>
so would love to have a menu option to install "streight simple" or "with shorewall"
19:32
alkisg: hehehe, hi :)
19:32
<alkisg>
$ sudo ltsp-chroot
19:32
cp: not writing through dangling symlink «/opt/ltsp/i386/etc/resolv.conf»
19:32
==> we need to fix that :-/
19:32
<vagrantc>
but still give some flexibility like defining variables and essentially loops and flow control
19:33
<markit>
alkisg: my needs top ten list for epoptes has changed a little.. "send files" from teacher account to his class is become the TOP one now
19:33
alkisg: I've to try latest epoptes and see if the "class stuff" is ok for my setup/vision
19:33
seems that LTSP is eating a lot of my time :(
19:33
<alkisg>
markit: I'm afraid that (send files) will have to wait for a later version
19:33
Hehe I know what you mean
19:34
<markit>
FAT P4 1.5GB ram, 100Mbs, KDE boots and is usable after.... 3 minutes!!!! too much
19:34
there must be something wrong
19:34
I've to run for food, my wife is yelling at me! :)
19:34
see you later, thanks
19:35
<alkisg>
Did you enable nbd compression?
19:37
<||cw>
markit: I'd agree. I can have a via 500Mhz 512MB ram boot and rdesktop and login to XP in less than 2 minute
19:38
maybe less than a minute
19:38
alkisg: is that a default?
19:40
<alkisg>
!nbd-compression
19:40
<ltsp>
alkisg: nbd-compression: In Ubuntu >= 10.04, to make your clients go faster, you can reenable NBD compression: https://help.ubuntu.com/community/UbuntuLTSP/FatClients#Reenabling_NBD_compression
19:42xsl has left IRC (xsl!~silence@unaffiliated/xsl, Quit: Connection reset by fear)
19:44
<||cw>
so do i need to disable proxy in 10.04, or is the problem fixed?
19:44
<alkisg>
!nbd-proxy
19:44
<ltsp>
alkisg: nbd-proxy: Ubuntu 10.04 and 10.10 use a wrapper called nbd-proxy, which is causing networking problems for some people. See https://bugs.launchpad.net/ltsp/+bug/589034. It's been disabled by default in 11.04, see http://bazaar.launchpad.net/~ltsp-upstream/ltsp/ltsp-trunk/revision/1803
19:46alexqwesa_ has joined IRC (alexqwesa_!~alex@alexo-veto.broker.freenet6.net)
19:46alexqwesa has left IRC (alexqwesa!~alex@alexo-veto.broker.freenet6.net, Ping timeout: 245 seconds)
19:49jtsop has left IRC (jtsop!~quassel@cust-206-99.on5.ontelecoms.gr, Remote host closed the connection)
19:52
<||cw>
fun
19:58bengoa has left IRC (bengoa!~bengoa@2001:1291:229:2:216:cbff:feab:6cc9, Quit: Leaving.)
20:02alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.)
20:18alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
20:31artista_frustrad has left IRC (artista_frustrad!~fernando@200.247.43.2, Quit: Leaving)
20:41khildin has left IRC (khildin!~khildin@ip-83-134-213-97.dsl.scarlet.be, Quit: I'm gone, bye bye)
20:46vagrantc has left IRC (vagrantc!~vagrant@c-76-105-252-50.hsd1.or.comcast.net, Ping timeout: 252 seconds)
20:51brunolambert has left IRC (brunolambert!bruno@nat/revolutionlinux/x-rrscgjlsehrcflba, Ping timeout: 252 seconds)
20:57
<markit>
alkisg: yes, I did, except if I did something wrong
20:58
and I'm on 11.04
20:58irule has joined IRC (irule!~irule@187.139.66.248)
21:01
<alkisg>
markit: grep ^[^#] /etc/ltsp/ltsp-update-image.conf
21:02
<markit>
alkisg: my ltsp server is a dual boot of my children's pc, and one of my children is using it at the moment
21:02
<alkisg>
Can't you ssh to it?
21:02
Ah
21:02
Dualboot, sorry
21:02
<markit>
but I've my install script
21:02
<alkisg>
So anyway check if the NO_COMP variable is commented out
21:02
<markit>
that, except if I did something wrong, removed the comment in NO_COMP
21:02
<alkisg>
It needs to put a comment, not remove it
21:02
<markit>
ops, commented sorry
21:02
<alkisg>
OK
21:03
<markit>
system(%q[sed -i '/^NO_COMP.*/s/^/# /' /etc/ltsp/ltsp-update-image.conf])
21:03
<alkisg>
What are your client specs?
21:03
<markit>
P4 with 1.5GB ram
21:03
P4@3 ghz
21:03
video board is not very good, sort of SiSomething
21:03
<alkisg>
How long does it take to reach the LDM screen?
21:04
<markit>
let me negotiate with my children :)
21:04
<alkisg>
From the moment that the kernel is loaded, to ldm
21:04
Haha
21:04
Nah never mind let the kids play
21:04
Time for me to go anyway
21:04
<markit>
naaaa, too games is not good
21:04
I do it for his health ;P
21:04
<alkisg>
Hehe
21:04
<markit>
ah, I see
21:04
ok, no problem
21:05
<alkisg>
With your specs, I'd say about 20 secs to LDM and another 20 to login
21:05
<markit>
KDE in fat looks so slow
21:05
<alkisg>
If it takes 20 + 1 minute for you, there's something wrong with the KDE login, or with sshfs, etc
21:05
<markit>
server, that is a dual core, goes to KDM in 20 seconds
21:05
<alkisg>
Or maybe dns timeouts, etc etc
21:06
<markit>
etc etc is my problem
21:06
really I feel myself not good enough to troubleshoot yet
21:06
is like a "ritual"
21:06
if I do things correct, it works
21:06
<alkisg>
If it takes 1 minute to reach LDM, then it's another problem
21:06
<markit>
if I do some mistake, the God punishes me
21:06
and I have to call alkisg for the rescue
21:06
;P
21:06
<alkisg>
Haha what did you do wrong, burned the food while cooking? :D
21:07
You deserve 5 min boot times then
21:07
<markit>
hehehe, I want to script everything to avoid possible mistakes of "oh, yep, that other 51° parameter..."
21:08
dmesg shows NBD_DISCONNECT and googling I've found a chat transcription
21:08
where a certain alkisg says it's normal, it's how LDM checks for a newer version of the nbd disk, to offer to reboot the client
21:08
<alkisg>
If it's for /dev/nbd9, ignore it
21:08
Haha
21:09
I've been here too long, time to let others speak more :D
21:09
<markit>
:)
21:10Steve_The_Pirate has joined IRC (Steve_The_Pirate!~Gary@cpc16-haye17-2-0-cust169.haye.cable.virginmedia.com)
21:12
<alkisg>
'night all
21:12alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.)
21:12moquist has joined IRC (moquist!~moquist@173-13-101-253-NewEngland.hfc.comcastbusiness.net)
21:13[GuS] has joined IRC ([GuS]!~gustavo@186.19.173.126)
21:13[GuS] has joined IRC ([GuS]!~gustavo@unaffiliated/gus/x-663402)
21:34mgariepy has left IRC (mgariepy!mgariepy@ubuntu/member/mgariepy, Quit: Leaving)
21:58markit has left IRC (markit!~marco@88-149-177-66.staticnet.ngi.it, )
22:34irule has left IRC (irule!~irule@187.139.66.248, Ping timeout: 252 seconds)
23:08piet has joined IRC (piet!5b606d20@gateway/web/freenode/ip.91.96.109.32)
23:09
<piet>
hi folks, I had been here this afternoon with a question about hostnames already . . .
23:11
ltsp unfortunately doesnt set the dnsdomainname as the hostname of the client . . .
23:12
I didn't find a way to make dhcp giving ltsp this name to handle . . .
23:12
<Hyperbyte>
piet, why do you need hostnames like that on your client?
23:12
<piet>
it could be easily scripted like <hostname $(hostname -A)> . . .
23:13
@Hyperbyte: because its normal . . .
23:14
in my network the dns-name is e.g. <fibu.medianet> so I want the hostname to be <fibu> . . .
23:15
<Hyperbyte>
DNS name is something different than hostname though.
23:15
<piet>
the same network handles this (without ltsp) exactly this way . . .
23:16
I have expiriences in ubuntu, suse and gentoo and have never seen it different with dhcp and bind9 working . . .
23:17
only ltsp names my ws <ltsp3>. That makes administration for me more complicated . . .
23:17
<Hyperbyte>
piet, since all LTSP clients use the same image, hostname isn't hard-coded but decided dynamically.
23:17
piet, why does it make administration more complicated? I'm trying to understand your actual problem here, to hopefully give you useful advice...
23:18vagrantc has joined IRC (vagrantc!~vagrant@c-76-105-252-50.hsd1.or.comcast.net)
23:19
<piet>
I dont wat to have a list aside to translate the <ltsp3> of one of my ws to <fibu> . . .
23:20
dynamically generation is ok but why not <hostname $(hostname -A)>?
23:20
<Hyperbyte>
So basically, you want to pre-determine the hostname of LTSP clients?
23:21
<piet>
not me, the system automatically . . .
23:22
<Hyperbyte>
I'm sorry, I don't understand the question. The system does automatically assign the hostnames, as 'ltsp' and the last digits of the IP address.
23:22
If you want a client that normally uses 'ltsp3' to have a hostname of 'fibu', you can do so in the lts.conf file.
23:22
<piet>
and I want it to be equal to its dnsdomainname . . .
23:22
<vagrantc>
by default, ltsp clients determine their hostname by prepending ltsp to a number based on the ip address.... but you can change that behavior with configuration values
23:23
should be able to do that
23:23
not sure if we have code for it built in, but it shouldn't be hard to write a patch and get it applied upstream.
23:24Trixboxer has left IRC (Trixboxer!~Trixboxer@115.124.115.71, Remote host closed the connection)
23:24
<piet>
I mean I k n o w how ltsp does it . . .
23:24
<vagrantc>
although i am merely speaking for ubuntu/debian... i don't know how other distros handle this.
23:24
piet: then file a patch to get it to do what you want.
23:24
<piet>
but the normal behaviour under ubuntu in a net is the way I want it to, because its logic, isnt it?
23:26
Im a real newbie in here so pls, what do You mean by <file a patch>?
23:27
<vagrantc>
it's free software, propose an actual fix.
23:27
rather than a theoretical one...
23:27Parker955 is now known as Parker955_Away
23:27
<vagrantc>
i don't think there will be objection to the idea... it requires some implementation though
23:28
or file a bug, and see if people fix it...
23:28Parker955_Away is now known as Parker955
23:29
<piet>
I tested the small code <hostname $(hostname -A)> and that seems to work on a running ltsp workstation . . .
23:31
but I have absolutely no idea and no plan, where I could place that code. I told You Im an absolute newbie in ltsp and Im realy glad having been lucky to get the whole thing working at all
23:32
<vagrantc>
piet: ok, so you've got a feature request, you've got some idea technically what needs to be done ... you use ubuntu?
23:32
<piet>
yes
23:33
<vagrantc>
so you should file a bug report, i think at launchpad: https://bugs.launchpad.net
23:34
<piet>
do You think this is a bug?
23:34
<vagrantc>
or a feature request... same difference
23:34
<piet>
more a feature than a bug, isnt it?
23:35
<vagrantc>
not an important distinction, really.
23:36
<piet>
don't You have an idea where I could place this little code-piece? <rc.local> in chroot wouldnt be that good, because the network stuff is not necessarily finished.
23:38
<vagrantc>
piet: put it in the chroot (i.e. /opt/ltsp/i386/etc/mycustomrcfile) and use RCFILE_01=/etc/mycustomrcfile
23:39
you'll have to run ltsp-update-image for it to take effect.
23:40
<piet>
1st thing is understood the rcfile doesnt mean anything to me
23:41
<stgraber>
vagrantc: hey, I was wondering if you'd be interested in tagging ltsp-docs 1.0 and getting that in Debian? We've been on 0.99~bzrSOMETHING for years now ;)
23:43
<piet>
hey my dear fellow English is not my native tongue . . .
23:44
what do You think: a nearly 60 year old guy could do to Your documentation?
23:45
<vagrantc>
stgraber: seems reasonable.
23:45
<piet>
so what do You mean by <RCFILE_01=/etc/mycustomrcfile> ?
23:46
<vagrantc>
piet: add it in lts.conf
23:46
piet: it's a configuration option
23:47
piet: do you have ltsp-docs installed? you can read the manpage for lts.conf: man lts.conf
23:47
<piet>
ahhhhhhhhhh, thats what I wanted to hear. thank You, thank You, thank You
23:47
<vagrantc>
piet: the manual shipped with ltsp-docs is also useful, in /usr/share/doc/ltsp-docs/
23:48
piet: what do you keep using <> for?
23:49
<piet>
little separation of text like quotes but for shure that it will look like it should . . .
23:51
You could also do something like >>Hello<<
23:51darkpixel_ has left IRC (darkpixel_!~darkpixel@curetheitch/staff/darkpixel, Quit: Leaving.)
23:52
<piet>
thank U for the hints of documentation <good to know> ;-)
23:54
pls dont missunderstand me, Im not ungradeful. But I have my own project around ubuntu running - with lots of work and just comming from gentooly thin-client project..
23:55
So I dont want to stand up over here trying to tell the cracks of this beautiful software, that is going to minimize my administrational work, how to do there job.
23:56
so pls forgive me, if I dont start a bug-report for <hostname $(hostname -A)> ok?
23:59
isn't there a possibility to set the code-piece into the <lts.conf> file without the detour around a file?