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


Channel log from 11 November 2017   (all times are UTC)

00:13vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)
01:59lucascastro has joined IRC (lucascastro!~lucas@201.182.221.14)
02:30Freejack has left IRC (Freejack!~quassel@unaffiliated/freejack, Ping timeout: 240 seconds)
02:37Freejack has joined IRC (Freejack!~quassel@unaffiliated/freejack)
05:43kjackal has joined IRC (kjackal!~quassel@2a02:587:3119:d100:ab:55d:965c:d428)
07:08vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
07:25forum has joined IRC (forum!~Thunderbi@93-82-98-169.adsl.highway.telekom.at)
07:27forum has left IRC (forum!~Thunderbi@93-82-98-169.adsl.highway.telekom.at, Client Quit)
07:41vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)
07:46jaidev has joined IRC (jaidev!67c0ccc3@gateway/web/freenode/ip.103.192.204.195)
07:46
<jaidev>
hi need some help for mnt folders
07:46
manager is able to see the mnt folders but the users get an empty mnt folder
07:47
the access to the mnt is mentioned in the fstab and the mounting is done from there
07:47
we are using a qnap NAS
07:56
Hi anyone?
08:06jaidev has left IRC (jaidev!67c0ccc3@gateway/web/freenode/ip.103.192.204.195, Ping timeout: 260 seconds)
08:36jaidev has joined IRC (jaidev!67f9781a@gateway/web/freenode/ip.103.249.120.26)
08:36
<jaidev>
need HELP with mnt folders
08:38
<quinox1>
hello
08:39
I'm not sure about your particulars, but I usually use `mount` or `findmnt` to examine active mounts
08:40
which can differ from `fstab` because mounts can fail, mounts can be added later etc.
08:44
<alkisg>
jaidev: are you in the correct channel? Are you using ltsp, or just qnap?
08:45
LTSP is about linux clients booted from a server on the network, without local disks
08:52
<jaidev>
we have configured LTSP for fatclient
08:52
added a QNAP NAS for storage
08:52
the admin is able to see the mounted folders
08:52
the users are not
08:52
needed help for that
08:53
<alkisg>
jaidev: what FSTAB line did you put to lts.conf?
08:53
<jaidev>
i didnt put any
08:55
<alkisg>
That's how fat clients mount nfs shares...
08:55
<jaidev>
ah ok. could you please guide me?
08:55
<alkisg>
You want the server to mount an nfs share, and the clients to see it via sshfs?
08:55
What is the fstab line on your server?
08:56
<jaidev>
yes i have added the nas on the server
08:56
the server is able to see it but not the clients
08:56
<alkisg>
Yes tell us the line
08:56
<jaidev>
i have added the fstab lines in etc/fstab
08:57
ok 1 minute
08:57
<alkisg>
cat /etc/fstab => and tell us
09:00
<jaidev>
hi
09:00
did you get the lines?
09:00
<alkisg>
No
09:00
You didn't copy them here
09:01
<jaidev>
i am pasting the line here but it's not going through
09:02
<alkisg>
If it starts with /, put a space before
09:02
Because / is special for irc
09:02
<jaidev>
ah ok ok
09:02
//192.168.0.200/admin /mnt/admin cifs username=admin,password=xxx,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
09:02
thank you
09:03
is this what you want?
09:04
<alkisg>
OK so one option is to put this in lts.conf: LOCAL_APPS_EXTRAMOUNTS=/mnt/admin
09:04
<jaidev>
ok
09:05
so i remove the # next to LOCAL_APPS_EXTRAMOUNTS=/mnt/admin?
09:05
will this work?
09:06
<alkisg>
I haven't seen any #, I don't know what you are talking about
09:06
# means comment, so yes you don't need a comment there
09:06
<jaidev>
yes that's what i mean
09:07
LOCAL_APPS_EXTRAMOUNTS=/mnt/admin
09:10
alkisg: for more than 1 folders?
09:10
<alkisg>
jaidev: then you use commas, LOCAL_APPS_EXTRAMOUNTS=/mnt/admin,/mnt/folder2
09:10
<jaidev>
ok thank you
09:10
and then rebuild the image?
09:11
<alkisg>
The other way is to use:
09:11
FSTAB_0="//192.168.0.200/admin /mnt/admin cifs username=admin,password=xxx,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0"
09:11
You don't need to rebuild the image
09:11
<jaidev>
ok
09:12
i have FSTAB_1, as per the second option i should add the FSTAB_0 as another line?
09:13
<alkisg>
The second option will work if you have the password file in the chroot
09:13
So to do that one, you'll need ltsp-update-image...
09:13
<jaidev>
ok
09:13
i am trying the first one you suggested
09:14
not working. mnt of the user is still blank
09:14
<alkisg>
The mount folder needs to exist
09:14
If you don't have the mount folder in the chroot, you can create it with:
09:15
INIT_COMMAND_0="mkdir -p /mnt/admin"
09:15
<jaidev>
i have the folders created on /mnt
09:16
<alkisg>
On the client, if you run ls /var/cache/ltsp, do you see some env files?
09:17
If yes, put them to pastebin, after you remove any sensitive data...
09:17
!paste
09:17
<ltsp>
paste: 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.
09:18
<jaidev>
i see ltsp_config_env
09:18
<alkisg>
Right, paste that one
09:19
<jaidev>
i am sorry but how do i paste the file?
09:19
client does not have nano rights
09:20
ok got it
09:20
i'll do it
09:20
<alkisg>
cat /var/cache/ltsp/ltsp_config_env | nc termbin.com 9999
09:20
This puts it directly to termbin.com
09:20
You can move it elsewhere if it has sensitive data...
09:22
<jaidev>
ok pasted it
09:22
got a message http://termbin.com/msst
09:23
<alkisg>
jaidev: so, these are the options the client sees
09:24
The client didn't see any FSTAB option
09:24
Nor any EXTRAMOUNTS option
09:24
<jaidev>
ok
09:24
<alkisg>
Either you put them in the wrong lts.conf, or in the wrong place inside lts.conf
09:25
<jaidev>
this where is put it /var/lib/tftpboot/ltsp/amd64/lts.conf
09:25
<alkisg>
This sounds correct
09:25
<jaidev>
ok
09:28
you think i should try the FSTAB_0?
09:32Statler has joined IRC (Statler!~Georg@p579FECED.dip0.t-ipconnect.de)
09:36
<alkisg>
jaidev: no, I think you should fix your lts.conf, it has errors
09:37
Maybe you put the lines in the wrong place, e.g. under [wrong header]
09:37
Put them under [default]
09:37
Can you paste your lts.conf?
09:38
<jaidev>
sure
09:38
same place termbin?
09:39
<alkisg>
termbin, pastebin, wherever you want
09:40
<jaidev>
http://termbin.com/gda9
09:40
<alkisg>
jaidev: did you reboot the client after you edited lts.conf?
09:42
<jaidev>
yes just doing that now - i signed in out didnt reboot. sorry
09:43
sorry
09:43
<alkisg>
np
09:44
<jaidev>
alkisg thank you buddy. thank you :)
09:44
thank you
09:45
<alkisg>
:)
09:47
<jaidev>
alkisg which book/literature would you suggest for me to read about ubuntu/ltsp linux admin?
09:47ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
09:47
<alkisg>
jaidev: I don't think anyone has written an ltsp book
09:47
About ubuntu books, I don't know but there are many
09:48
wiki.ltsp.org has all the documentation we have
09:51
<jaidev>
alkisg thank you once again.
09:52
<alkisg>
np
09:57jaidev has left IRC (jaidev!67f9781a@gateway/web/freenode/ip.103.249.120.26, Quit: Page closed)
14:11zibis has joined IRC (zibis!~zibi@mail.linseco.pl)
14:24zibis has left IRC (zibis!~zibi@mail.linseco.pl, Quit: zibis)
14:34vagrantc has joined IRC (vagrantc!~vagrant@2600:3c01:e000:21:21:21:0:100b)
14:34vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
15:44GodFather has left IRC (GodFather!~rcc@47.33.250.142, Quit: Ex-Chat)
15:44GodFather has joined IRC (GodFather!~rcc@47.33.250.142)
16:37kjackal has left IRC (kjackal!~quassel@2a02:587:3119:d100:ab:55d:965c:d428, Remote host closed the connection)
16:38GodFather has left IRC (GodFather!~rcc@47.33.250.142, Quit: Ex-Chat)
16:38GodFather_ has joined IRC (GodFather_!~rcc@47.33.250.142)
16:43vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)
16:58Statler has left IRC (Statler!~Georg@p579FECED.dip0.t-ipconnect.de, Remote host closed the connection)
17:45dre has joined IRC (dre!481b65b7@gateway/web/freenode/ip.72.27.101.183)
17:45
<dre>
hello\
17:45
good day
17:46
i am trying to setup a labaratory using fat clients
17:46
however the clients wont boot
17:47
i get an error message that says alert! /etc/nbd0 etc........
17:47
my server has 2 nics
17:48
and i am using ubuntu-mate as adviced by the guide
18:12
hello
18:32dre has left IRC (dre!481b65b7@gateway/web/freenode/ip.72.27.101.183, Quit: Page closed)
18:32dre has joined IRC (dre!481b65b7@gateway/web/freenode/ip.72.27.101.183)
18:33
<dre>
hello
19:14
<alkisg>
Hello dre
19:14
!ltsp-manager
19:14
<ltsp>
ltsp-manager: LTSP Manager is a GUI tool that makes LTSP maintenance easy. It's the recommended way to install LTSP in common setups. More info: http://wiki.ltsp.org/wiki/Ltsp-manager
19:14
<alkisg>
See the installation steps there, it includes the fix for nbd
21:13dre has left IRC (dre!481b65b7@gateway/web/freenode/ip.72.27.101.183, Ping timeout: 260 seconds)
22:10ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
22:36vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)