Search Debian Channel Logs

Monday, March 6, 2017

#debian channel featuring c-c, somiaj, SpeedyG, greycat, CeBe, semitones,

teraflops 2017-03-06 09:45:47
wants*
greycat 2017-03-06 09:46:04
#bash does not want to see Debian-specific commands and errors
semitones 2017-03-06 09:46:07
Do I want to set up "dynamic DNS?" "Dynamic DNS is a dynamic IP Address to be aliased to a static hostname, allowing a computer on your network to be more easily accessible from the Internet"
CeBe 2017-03-06 09:46:14
semitones: the two options pointed out by greycat
teraflops 2017-03-06 09:46:18
fair enough
c-c 2017-03-06 09:46:44
teraflops: well, looks like it is related to parameter expansion (null params)
CeBe 2017-03-06 09:47:05
semitones: the IP you get on the internal network should be different from the IP you have on the internet, so that seems unrelated to dynDNS
unborn 2017-03-06 09:47:16
semitones: log into your router where you pi is connected found it and make it reserved.. done
c-c 2017-03-06 09:47:23
teraflops: or, perhaps the way apt-get handles args/params has changed into more picky one
unborn 2017-03-06 09:47:28
- this also have nothing to do with debian
greycat 2017-03-06 09:47:35
Am I the only person who does not understand what a "base desktop install script" is supposed to do? Isn't it just one apt-get command and you're done?
bazhang 2017-03-06 09:48:31
greycat, perhaps the 'automatix' of olden days
teraflops 2017-03-06 09:48:56
idk i did not read the sctipt
teraflops 2017-03-06 09:49:03
script :S
SpeedyG 2017-03-06 09:49:22
or the yum group-install equivalent ? :)
unborn 2017-03-06 09:49:54
semitones: regards dyndns its fairly very easy to do but you need to understand dns essentially if you would like to run it with your bind9.. if you running pi as router which would be very poor decision you can use something like dnsmasq - but again, google is your help
unborn 2017-03-06 09:52:58
semitones: if you decided to do dyndns with bind9, you also would need to write some script.sh to perform update of ip address and run it in cron like every hour or whatever you prefer however as I said, setup dns is easy, you just need to know what are you doing.
unborn 2017-03-06 09:53:30
dyndns = on your own.. no 3th party involved whatsoever
unborn 2017-03-06 09:54:54
semitones: dnsmasq is easy.. no dns understanding need it, and I guess you could still write some script.sh with cron to update the records in it.
semitones 2017-03-06 09:55:03
here's a problem though - on ##networking they told me my eth0 DCHP seems to be borked... according to ifconfig, the IP address given through ethernet is 169.254.196.75, where the wlan0 ip address is 192.168.1.12. Does that make a difference?
unborn 2017-03-06 09:55:17
records meh I mean text entries aka one lines
teraflops 2017-03-06 09:55:34
semitones: hostname is not the same as fdqn, the easiest way of doing what you want is harcoding a hostname in /etc/hosts, this is not useful if you have several machines on your lan. you could setup avahi too. also if your router does reflection/nat loopbak and you setup a domain name properly you could connect to the fdqn from the inside (lan)
unborn 2017-03-06 09:55:55
greycat: sure. good luck
semitones 2017-03-06 09:56:22
teraflops, I do have several machines, so I guess that's out. I also already modified /etc/hosts trying to do that -- maybe that could be messing thigns up?
`Kevin 2017-03-06 09:57:17
semitones: indeed 169.254/16 netblock suggests you did not get a proper DHCP OFFER from your dhcp server
teraflops 2017-03-06 09:57:18
semitones: how did you edited /etc/hosts and on which machine?
teraflops 2017-03-06 09:57:23
edit*
somiaj 2017-03-06 09:57:52
semitones: depending on the netmask those two networks cna't talk to eachother, the 192.168.1.12 looks like a standard internel network, while the 169.254.x.x looks like a default that avahi sets
somiaj 2017-03-06 09:58:24
if you are using wifi, you may want to disable/not bring up the eth0 interface
`Kevin 2017-03-06 09:59:03
^ 169.254 is a link local RFC specd address space :)
unborn 2017-03-06 09:59:18
greycat: I was talking about proper bind9 setup as your very own dyndns.. I mentioned dyndns on your own, no 3th party involved meaning his bind would provide that dyndns service.
unborn 2017-03-06 09:59:26
anyway that was just site note
teraflops 2017-03-06 09:59:41
semitones: avahi is fine in you lan if you trust the machines there
semitones 2017-03-06 09:59:43
teraflops, I used SSH to edit /etc/hosts from the computer I'm typing on right now -- I could pastebin the /etc/hosts. I probably did other things too trying to change the hostname
semitones 2017-03-06 10:00:37
I'd prefer to use the 192.168.1.x network since all the other computers have IPs like that
greycat 2017-03-06 10:01:36
Editing /etc/hosts should not change your IP addresses.
semitones 2017-03-06 10:01:43
I'm not sure what avahi is so learning that would take some research
unborn 2017-03-06 10:02:01
semitones: check hostname command and hostname -f ...does both give you same output?
teraflops 2017-03-06 10:02:03
semitones: for the sake of clarity, where you edit /etc/hosts file is the machine from which you want to connect to the relay, right?
teraflops 2017-03-06 10:02:03
unborn: unrelated
unborn 2017-03-06 10:02:03
teraflops: how?
somiaj 2017-03-06 10:02:03
semitones: I am not a fan of avahi, but it is the windows like thing that trys to discover your address in various ways.
semitones 2017-03-06 10:02:03
thanks for the explanation somiaj!
unborn 2017-03-06 10:02:03
nah forgot it.. i did try to help
somiaj 2017-03-06 10:02:07
semitones: but it is something that gets installed on desktops.
c-c 2017-03-06 10:02:14
ok, my problem was related to bash array expansion, fyi
teraflops 2017-03-06 10:02:41
semitones: avahi catalog/make discoverable all services and machines in your lan, and give them a name
semitones 2017-03-06 10:02:47
teraflops, I'm not sure exactly what you mean, but I edited the /etc/hosts on the machine that I want to use as the znc bounce, which is the machine that's having trouble getting a DHCP lease on its ethernet port. Does that help?
semitones 2017-03-06 10:02:58
unborn, I'm trying everything :)
semitones 2017-03-06 10:03:10
http://paste.debian.net/918454/ hosts file
teraflops 2017-03-06 10:04:56
semitones: the hosts approach is editing /etc/hosts in the machine from which I'm going to connect to the rpi. so I add 192.168.199.34 znc.local then I can ping znc.local
bazhang 2017-03-06 10:05:38
teraflops, is that debian or raspbian
teraflops 2017-03-06 10:05:44
idk
teraflops 2017-03-06 10:05:56
bazhang: it's semitones issue
teraflops 2017-03-06 10:06:24
semitones: wrong :S
semitones 2017-03-06 10:06:26
bazhang, raspbian -- how different are they? (also hello old friend :)
bazhang 2017-03-06 10:06:57
semitones, raspbian has their own support channel, you realize
c-c 2017-03-06 10:07:21
I would like to hear comments. Currently my 'default ultralight openbox default desktop pack' -installer uses bash to achieve install. Do you think this is a good approach? Metapackages are annoyings as no grouping or comments possible, makes mainteinance difficult. https://github.com/csmr/jesbang
semitones 2017-03-06 10:08:13
teraflops, ah so if I understand, I would edit the hosts file on every device that wanted to connect through the network to the device in question?
unborn 2017-03-06 10:08:15
semitones: yeah I can see it.. I am very well good in web stuff from server to code, however in past I was massive pain in butt for ops here, and as you talking to most of them, I often with other users get notification for no reason to not listening to me (as you had few minutes ago) which I am fine with it.. means you should take their advice, even if it is looking like massive palava to you right now. Most of them are really great!
teraflops 2017-03-06 10:08:24
semitones: right
semitones 2017-03-06 10:08:28
should we take this conversation to #raspbian? I thought this was general enough to be here
teraflops 2017-03-06 10:08:58
semitones: not me, I do not use rapbian :P but you got the idea
`Kevin 2017-03-06 10:09:12
bazhang: its fairly low level stuff what he is trying to acomplish, i wouldnt say its even distro specific
bazhang 2017-03-06 10:09:29
just an fyi
teraflops 2017-03-06 10:09:30
I run debian in my bananapis and odroids
`Kevin 2017-03-06 10:09:32
yep :)
unborn 2017-03-06 10:13:09
.local domains on your local network can give you some headache as well..
unborn 2017-03-06 10:15:59
correct me if I am wrong but didnt semitones asked to have one device on network to point other devices to correct path / ip on network instead of editing hosts file on each machine? also phones or tablets?
unborn 2017-03-06 10:16:16
*to point to
semitones 2017-03-06 10:21:38
I think that's right - i want the other machines' irc clients (including phones) to be able to talk to this device, both within the network and from over the internet (via port forwarding)
semitones 2017-03-06 10:22:28
right now I'm troubleshooting with the ##networking crew -- definitely learned a lot here that is helping me there
unborn 2017-03-06 10:25:18
semitones: thats what I understood originally.. I was always massive pain in butt for ops here coz english is my 4th language and really here I very very often miss post means I come and reply sometimes to something which is not really relevant any more.. but I am trying to be better and I think, advice to go and edit hots on each device is just ... - how you going to do it on tablets and phones? iphone or android.. I don't think so you would be even
unborn 2017-03-06 10:25:49
able to do it..
semitones 2017-03-06 10:26:23
yeah I think that's what the ops and everyone was saying too. I wonder if it will be as simple as just disabling the wlan0 interface in the end... :p i'm still working on understanding how it's currently configured