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


Channel log from 6 August 2018   (all times are UTC)

01:18adrianorg has joined IRC (adrianorg!~adrianorg@189.58.239.227.dynamic.adsl.gvt.net.br)
01:22adrianor1 has left IRC (adrianor1!~adrianorg@177.18.173.123, Ping timeout: 240 seconds)
02:56deepanshuG has joined IRC (deepanshuG!~d78ui98@27.57.172.8)
03:28deepanshuG has left IRC (deepanshuG!~d78ui98@27.57.172.8, Ping timeout: 240 seconds)
04:31deepanshuG has joined IRC (deepanshuG!~d78ui98@182.70.198.150)
04:40deepanshuG has left IRC (deepanshuG!~d78ui98@182.70.198.150, Ping timeout: 268 seconds)
06:17ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
09:41
<Hyperbyte>
Judging from the amount of personal messages I received I guess we keep the +r flag for now.
09:56
<fiesh>
oh yes please
10:52GodFather has left IRC (GodFather!~rcc@174-081-217-069.dhcp.chtrptr.net, Remote host closed the connection)
12:00Faith has joined IRC (Faith!~Paty_@unaffiliated/faith)
12:09ogra has joined IRC (ogra!~ogra_@ubuntu/member/ogra)
12:58lucascastro has joined IRC (lucascastro!~lucas@177-185-139-236.isotelco.net.br)
14:06GodFather has joined IRC (GodFather!~rcc@2600:1007:b017:f182:71a3:1d81:ec99:df1)
14:26spectra has left IRC (spectra!~spectra@debian/developer/spectra, Ping timeout: 240 seconds)
14:26bcg has left IRC (bcg!~b@2001:2003:54f9:42f6::1, Ping timeout: 240 seconds)
14:30bcg has joined IRC (bcg!~b@2001:2003:54f9:42f6::1)
14:36spectra has joined IRC (spectra!~spectra@debian/developer/spectra)
14:58lucascastro has left IRC (lucascastro!~lucas@177-185-139-236.isotelco.net.br, Read error: Connection reset by peer)
16:03
<quinox>
instead of +s we could do +s
16:03
*instead of +r we could do +s
16:03
"This channel will not appear on channel lists or WHO or WHOIS output unless you are on it."
16:03
I would assume the bots just retrieve the channel list and go through it one by one
16:05
<ogra>
they also started to send PMs
16:05
(not sure if they pull that out of channel info or from some global user list though)
16:28GodFather has left IRC (GodFather!~rcc@2600:1007:b017:f182:71a3:1d81:ec99:df1, Ping timeout: 245 seconds)
18:10lucascastro has joined IRC (lucascastro!~lucas@200.141.207.18)
18:21lucascastro has left IRC (lucascastro!~lucas@200.141.207.18, Remote host closed the connection)
18:30deepanshuG has joined IRC (deepanshuG!~d78ui98@27.57.169.254)
18:41ltsp has joined IRC (ltsp!bot@ltsp.org)
18:42
<||cw>
I'm in several channels are that arne't +s or +r and didn't get hit, and they have more users than this one.
18:47alkisg has joined IRC (alkisg!c15ccb10@ubuntu/member/alkisg)
18:52alkisg has left IRC (alkisg!c15ccb10@ubuntu/member/alkisg, Quit: Page closed)
18:54alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
18:55
<deepanshuG>
Does dnsmasq really work in normal mode(non proxy dhcp)?
18:56
If i do a `ping google.com` I get Ip address but no packets are sent If I do a `ping 8.8.8.8` It does not work If I do a nslookup google.com. I get the ip address In all the cases the internet does not work from the browser.
19:07
<alkisg>
deepanshuG: if you can't ping 8.8.8.8, DNS isn't related at all
19:07
Do you have a 2 NIC setup, or a 1 NIC setup?
19:11
<deepanshuG>
2 nic
19:11
<alkisg>
deepanshuG: then you need to do nat on your ltsp server
19:11
This is not at all related to dns or dnsmasq
19:11
It's an iptables thing
19:11
!nat
19:11
<ltsp>
nat: To set up NAT in your LTSP server, set its internal IP to 192.168.67.1 and put http://bazaar.launchpad.net/~ts.sch.gr/sch-scripts/trunk/view/head:/debian/sch-scripts.if-up to /etc/network/if-up.d/sch-scripts. This also takes care of flow-control issues, possibly increasing your network speed 10 times. :)
19:11
<alkisg>
Hmm let me update that URL there
19:12
<deepanshuG>
yes. It is requried for communication with vagrant.
19:12
<alkisg>
I'm not sure if you're asking how to do it, or if you're saying that you already did it
19:12
If you can't ping 8.8.8.8 from the client, you haven't done NAT correctly
19:13
<deepanshuG>
vagrant has nat setip by default
19:13
<alkisg>
Do you need help or not?
19:13
<deepanshuG>
Yes I need some help
19:13
internt on client works in proxy dhcp mode
19:13
<alkisg>
OK. I don't know about vagrant, but here is the correct setup for virtualbox:
19:13
the server is 2 nic, one is nat and the other is intnet, internal network
19:13
the client is 1 nic, in the internal network
19:14
There is no dhcp server in the internal network by default, and no nat
19:14
And at that point, you do dhcp and nat from the ltsp server
19:14
Does this match your target setup?
19:14
<deepanshuG>
no.
19:14
<alkisg>
OK, what is your setup in vagrant?
19:14
<deepanshuG>
1 have 2 nic one is nat. other bridged.
19:14
<alkisg>
Bridged with what?
19:14
On your physical host, how many nics?
19:15
<deepanshuG>
2
19:15
<alkisg>
One for internet, the other for ltsp?
19:15
<deepanshuG>
yes.
19:16
<alkisg>
And the vagrant ltsp server nics... is one of them doing nat on the internet-facing nic, and the other bridged to the ltsp-facing nic?
19:16
<deepanshuG>
Is is possible for you take a look at setup by sharing screen?
19:16
Please.
19:17
<alkisg>
OK do this: x11vnc -connect 193.92.203.1
19:17
OK do this: x11vnc -connect 193.92.203.16
19:18
<deepanshuG>
thank you.
19:19
<alkisg>
deepanshuG: tell me the names of your nics, are they eno1=ltsp and wlx00e12902b2dc=internet?
19:20
Not in the vm
19:20
In the host
19:20
<deepanshuG>
eno1 is ltsp
19:21
<alkisg>
and wlx00e12902b2dc=internet?
19:21
<deepanshuG>
eno1 is providing internt as well
19:22
<alkisg>
So your server has a one-nic setup?
19:22
*your host
19:22
<deepanshuG>
yes.
19:22
<alkisg>
And you want to emulate a 2-nic setup with only one nic?
19:23
<deepanshuG>
maybe. But inside vm there are 2 nic. One for vagrant communication
19:23
another bridged to host nic for ltsp
19:23
<alkisg>
Do you want to be able to boot real clients, and not only vm clients?
19:23
<deepanshuG>
no just vm clients
19:23
<alkisg>
Then why are you using bridged mode?
19:24
<deepanshuG>
In case vm client is on another comupter
19:24
<alkisg>
If it's on another computer, who is going to give it an IP? Your router's dhcp server, or the ltsp server?
19:24
<deepanshuG>
ltsp server.
19:26
<alkisg>
What is 192.168.1.6?
19:27
<deepanshuG>
ltsp server vm
19:27
<alkisg>
I lost you, can you close and open vnc again?
19:27
<deepanshuG>
sure
19:28
<alkisg>
x11vnc -connect 193.92.203.16
19:29
IP-Config: eno1 complete (dhcp from 192.168.1.1):
19:29
IP-Config: eno1 complete (dhcp from 192.168.1.6):
19:30
So the problem now is that you have 2 dhcp servers on the same subnet. Chaos. Don't do that. Change your test plan.
19:30
<deepanshuG>
okay.
19:30
<alkisg>
Either use an internal network,
19:30
or use wlan=internet, wired=ltsp network
19:31
<deepanshuG>
Yes. Internal network works. But we wanted to support other vm clients as well
19:31
can we remove one of the dhcp server?
19:31
<alkisg>
What is 192.168.1.1?
19:31
<deepanshuG>
just for testing.
19:31
router dhcp server
19:31
<alkisg>
Is it your router?
19:31
Do you really want to remove that?
19:31
<deepanshuG>
I can disable it. just for testing.
19:32
<alkisg>
Suppose a client boots
19:32
And it gets an ip from the ltsp server, 192.168.1.6
19:32
<deepanshuG>
true.
19:32
But no internt connection.
19:32
<alkisg>
How will the client know that your internet is gateway is at 192.168.1.1?
19:32
This is a bad setup
19:32
<deepanshuG>
ohh.
19:32
true.
19:33
<alkisg>
You can make the client work, but it's hard to have a different ip for dhcp, and a different for gateway on the same subnet
19:33
<deepanshuG>
okay.
19:33
<alkisg>
You can do it with a dnsmasq option, but I don't think it is what you really want
19:33
I think that what you want is a better test plan
19:33
My advice is: 2 nic setup = internal network. 1 nic setup = proxydhcp.
19:34
So if you want to test vm clients on another computer, use proxydhcp
19:34
<deepanshuG>
indeed.
19:34
<alkisg>
How to configure gateway in dnsmasq: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2004q4/000006.html
19:35
This will make the client have internet; but it's not a good test anyway,change your test
19:35
I.e. dhcp-option=3,192.168.1.1
19:35
<deepanshuG>
okay thanks I will try this out
19:35
<alkisg>
Don't. It's a bad setup.
19:35
Change your test setup.
19:36
<deepanshuG>
okay.
19:36
<alkisg>
You can get internet from wlan, and use local network with bridged mode without router there
19:37GodFather has joined IRC (GodFather!~rcc@174-081-217-069.dhcp.chtrptr.net)
19:37
<deepanshuG>
Also I read somewhere in standalone mode ltsp server is gateway to internt. Can i configure ltsp server to be gateway?
19:38
<alkisg>
Yes. In this case, this will happen:
19:38
The client will get an ip from the ltsp server=192.168.1.6
19:38
<deepanshuG>
Thats something I wanted to do.
19:38
<alkisg>
and the ltsp server will then need to do NAT to 192.168.1.1
19:38
You need to configure NAT manually then
19:38
This NAT is not related to the vagrant/qemu/virtualbox NAT
19:39
<deepanshuG>
so In every case 192.168.1.1
19:39
<alkisg>
Also, it's best to use a different subnet then, e.g. ltsp server=192.168.67.1
19:39
<deepanshuG>
is needed
19:39
<alkisg>
No the client gateway would be 192.168.1.6
19:39
And the ltsp server would forward it to 192.168.1.1
19:39
and the router would forward it to your isp, etc etc
19:39
Lots of NATs to reach the internet
19:39
<deepanshuG>
okay. Nice.
19:40
<alkisg>
So on your tests, try not to have 2 different gateways or dhcp servers on the same subnet
19:40
If you need that, it's a bad test
19:40
<deepanshuG>
Sure.
19:41
<alkisg>
And btw, in your "2 nic ltsp server setup with a vm client on another computer", the second ltsp nic doesn't do anything
19:41
You can see it's a bad test from that as well
20:01ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
20:08alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.)
20:18deepanshuG has left IRC (deepanshuG!~d78ui98@27.57.169.254, Ping timeout: 240 seconds)
20:23
<quinox>
||cw: my reasoning being most people visiting this channel come here via info on websites, not by browsing the channel list and realizing they too use LTSP
20:24
<||cw>
hm, I'm pretty sure I came here via the channel list originally
21:06Faith has left IRC (Faith!~Paty_@unaffiliated/faith, Quit: Leaving)
21:44GodFather has left IRC (GodFather!~rcc@174-081-217-069.dhcp.chtrptr.net, Ping timeout: 240 seconds)
21:47GodFather has joined IRC (GodFather!~rcc@174-081-217-069.dhcp.chtrptr.net)
21:55GodFather has left IRC (GodFather!~rcc@174-081-217-069.dhcp.chtrptr.net, Ping timeout: 244 seconds)
22:20stellasolitaria has left IRC (stellasolitaria!~jhonny5@159.213.93.166, Read error: Connection reset by peer)