Re: it is avahi? Re: network

2013-06-25 Thread Hannu Virtanen
I have been reading recommended texts how to do network setup.  


1) 


Chapter 5. Network setup has got one notice telling something about 'wheezy'. 

Maybe the problem has something to do with my upgrade to the latest stable: 

It says: 





Tip

Although this document still uses old ifconfig(8) with IPv4 for its network 
configuration examples, Debian is moving to ip(8) with IPv4+IPv6 in the wheezy 
release. Patches to update this document are welcomed. 




2) 


I tried to do some fixing and  etc/hosts looks now like this: 


127.0.0.1 localhost
127.0.1.1 gone.thusgone

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

---

4) 


But still avahi is telling the same message about the network configuration 
being .local, which is not the recommended way. Where is that .local setup 
existing? 


5) 


Does anybody know if the problem has really most to do with my laptop 
configuration or with my new ZyXEL modem? 



-hv


>
> From: Sebastian Salvino 
>To: Michael  
>Cc: debian-laptop@lists.debian.org
>Sent: Tuesday, June 25, 2013 2:59 AM
>Subject: Re: it is avahi? Re: network
> 
>
>
>You'll have to edit your /etc/hosts file to reflect a different domain.
>Hope it helps!
>On Jun 24, 2013 8:44 PM, "Michael"  wrote:
>
>But ugh, that's a lot of stuff to study, when the problem may be rather 
>trivial.
>>
>>How about try reinstalling all avahi packages. (Using a package manager, 
>>check anything with *avahi* in their names.)
>>
>>I recommend to move to Debian 'testing' anyway (i.e. upgrade) except your 
>>laptop is way old. I bet the upgrade fixes the error message.
>>
>>
>>--
>>To UNSUBSCRIBE, email to debian-laptop-requ...@lists.debian.org
>>with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
>>Archive: http://lists.debian.org/20130625014353.46e09...@mirrors.kernel.org
>>
>>
>
>


--
To UNSUBSCRIBE, email to debian-laptop-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1372149367.82211.yahoomail...@web161301.mail.bf1.yahoo.com



Re: it is avahi? Re: network

2013-06-25 Thread Andrey Rahmatullin
On Tue, Jun 25, 2013 at 01:36:07AM -0700, Hannu Virtanen wrote:
> But still avahi is telling the same message about the network configuration 
> being .local, which is not the recommended way. Where is that .local setup 
> existing? 
At the DNS servers you are using.

-- 
WBR, wRAR


--
To UNSUBSCRIBE, email to debian-laptop-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130625084947.gb31...@belkar.wrar.name



Re: it is avahi? Re: network

2013-06-25 Thread Hannu Virtanen


From: Andrey Rahmatullin : 



But still avahi is telling the same message about the network configuration 
>> being .local, which is not the recommended way. Where is that .local setup 
> existing? 


> At the DNS servers you are using




Do you mean that I should look for DNS servers? 


Where are they residing in debian wheezy? 


-hv



- Original Message -
> From: Andrey Rahmatullin 
> To: debian-laptop@lists.debian.org
> Cc: 
> Sent: Tuesday, June 25, 2013 11:49 AM
> Subject: Re: it is avahi? Re: network
> 
> On Tue, Jun 25, 2013 at 01:36:07AM -0700, Hannu Virtanen wrote:
>>  But still avahi is telling the same message about the network configuration 
> being .local, which is not the recommended way. Where is that .local setup 
> existing? 
> At the DNS servers you are using.
> 
> -- 
> WBR, wRAR
> 
> 
> --
> To UNSUBSCRIBE, email to debian-laptop-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact 
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/20130625084947.gb31...@belkar.wrar.name
> 


-- 
To UNSUBSCRIBE, email to debian-laptop-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1372154748.317.yahoomail...@web161305.mail.bf1.yahoo.com



Re: it is avahi? Re: network

2013-06-25 Thread Hannu Virtanen
Here are some basic file contents concerning the Network Setup. 

-

less /etc/hostname


gone
/etc/hostname (END)


--
 less /etc/hosts



127.0.0.1 localhost
127.0.1.1 gone.thusgone

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
/etc/hosts (END) 


-

less  /etc/resolv.conf


# Generated by NetworkManager
domain Home
search Home
nameserver 192.168.1.1


---
---




- Original Message -
> From: Hannu Virtanen 
> To: "debian-laptop@lists.debian.org" 
> Cc: 
> Sent: Tuesday, June 25, 2013 1:05 PM
> Subject: Re: it is avahi? Re: network
> 
> 
> 
> From: Andrey Rahmatullin : 
> 
> 
> 
> But still avahi is telling the same message about the network configuration 
>>>  being .local, which is not the recommended way. Where is that .local 
> setup 
>>  existing? 
> 
> 
>>  At the DNS servers you are using
> 
> 
> 
> 
> Do you mean that I should look for DNS servers? 
> 
> 
> Where are they residing in debian wheezy? 
> 
> 
> -hv


--
To UNSUBSCRIBE, email to debian-laptop-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1372155416.74289.yahoomail...@web161304.mail.bf1.yahoo.com



Re: it is avahi? Re: network

2013-06-25 Thread Matus UHLAR - fantomas

On 24.06.13 13:50, Hannu Virtanen wrote:

thanks for the messages.

The thing is that the network works.

But it is complaining that something is configured .local.

Do you know if it is my computer or is it the vdsl modem?


look at the deomain setting on your router.

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
BSE = Mad Cow Desease ... BSA = Mad Software Producents Desease


--
To UNSUBSCRIBE, email to debian-laptop-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130625110848.ga20...@fantomas.sk



Re: it is avahi? Re: network

2013-06-25 Thread Michael
Hannu, just curious, how did you translate 'region' (in the error message) ?
Is the original finnish (?) word a technical term and what does it refer to 
exactly.


-- 
To UNSUBSCRIBE, email to debian-laptop-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130625142856.2c361...@mirrors.kernel.org



Re: it is avahi? Re: network

2013-06-25 Thread Hannu Virtanen
j> ust curious, how did you translate 'region' (in the error 
> message) ?
> Is the original finnish (?) word a technical term and what does it refer to 
> exactly.


The original Finnish: 

'Nykyisen verkkosi toimialue on .local'. 

At present my system doesn't give all error messages in English. 
Some debian experts might know what the original English term is??? 

with best, 

-hv




- Original Message -
> From: Michael 
> To: debian-laptop@lists.debian.org
> Cc: 
> Sent: Tuesday, June 25, 2013 3:28 PM
> Subject: Re: it is avahi?  Re: network
> 
> Hannu, just curious, how did you translate 'region' (in the error 
> message) ?
> Is the original finnish (?) word a technical term and what does it refer to 
> exactly.
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-laptop-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact 
> listmas...@lists.debian.org
> Archive: http://lists.debian.org/20130625142856.2c361...@mirrors.kernel.org
> 


-- 
To UNSUBSCRIBE, email to debian-laptop-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1372166081.54151.yahoomail...@web161304.mail.bf1.yahoo.com



Re: it is avahi? Re: network

2013-06-25 Thread Hannu Virtanen
"zzz might know what the original English term is???"

I guess 'toimialue' is 'domain' in English. 


-hv



- Original Message -
> From: Hannu Virtanen 
> To: Michael ; "debian-laptop@lists.debian.org" 
> 
> Cc: 
> Sent: Tuesday, June 25, 2013 4:14 PM
> Subject: Re: it is avahi?  Re: network
> 
> j> ust curious, how did you translate 'region' (in the error 
>>  message) ?
>>  Is the original finnish (?) word a technical term and what does it refer to 
> 
>>  exactly.
> 
> 
> The original Finnish: 
> 
> 'Nykyisen verkkosi toimialue on .local'. 
> 
> At present my system doesn't give all error messages in English. 
> Some debian experts might know what the original English term is??? 
> 
> with best, 
> 
> -hv
> 
> 
> 
> 
> - Original Message -
>>  From: Michael 
>>  To: debian-laptop@lists.debian.org
>>  Cc: 
>>  Sent: Tuesday, June 25, 2013 3:28 PM
>>  Subject: Re: it is avahi?  Re: network
>> 
>>  Hannu, just curious, how did you translate 'region' (in the error 
>>  message) ?
>>  Is the original finnish (?) word a technical term and what does it refer to 
> 
>>  exactly.
>> 
>> 
>>  -- 
>>  To UNSUBSCRIBE, email to debian-laptop-requ...@lists.debian.org
>>  with a subject of "unsubscribe". Trouble? Contact 
>>  listmas...@lists.debian.org
>>  Archive: http://lists.debian.org/20130625142856.2c361...@mirrors.kernel.org
>> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-laptop-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact 
> listmas...@lists.debian.org
> Archive: 
> http://lists.debian.org/1372166081.54151.yahoomail...@web161304.mail.bf1.yahoo.com
>


--
To UNSUBSCRIBE, email to debian-laptop-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1372167209.32452.yahoomail...@web161303.mail.bf1.yahoo.com



Re: it is avahi? Re: network

2013-06-25 Thread Sebastian Salvino
http://avahi.org/wiki/AvahiAndUnicastDotLocal
On Jun 25, 2013 10:33 AM, "Hannu Virtanen" 
wrote:

> "zzz might know what the original English term is???"
>
> I guess 'toimialue' is 'domain' in English.
>
>
> -hv
>
>
>
> - Original Message -
> > From: Hannu Virtanen 
> > To: Michael ; "debian-laptop@lists.debian.org" <
> debian-laptop@lists.debian.org>
> > Cc:
> > Sent: Tuesday, June 25, 2013 4:14 PM
> > Subject: Re: it is avahi?  Re: network
> >
> > j> ust curious, how did you translate 'region' (in the error
> >>  message) ?
> >>  Is the original finnish (?) word a technical term and what does it
> refer to
> >
> >>  exactly.
> >
> >
> > The original Finnish:
> >
> > 'Nykyisen verkkosi toimialue on .local'.
> >
> > At present my system doesn't give all error messages in English.
> > Some debian experts might know what the original English term is???
> >
> > with best,
> >
> > -hv
> >
> >
> >
> >
> > - Original Message -
> >>  From: Michael 
> >>  To: debian-laptop@lists.debian.org
> >>  Cc:
> >>  Sent: Tuesday, June 25, 2013 3:28 PM
> >>  Subject: Re: it is avahi?  Re: network
> >>
> >>  Hannu, just curious, how did you translate 'region' (in the error
> >>  message) ?
> >>  Is the original finnish (?) word a technical term and what does it
> refer to
> >
> >>  exactly.
> >>
> >>
> >>  --
> >>  To UNSUBSCRIBE, email to debian-laptop-requ...@lists.debian.org
> >>  with a subject of "unsubscribe". Trouble? Contact
> >>  listmas...@lists.debian.org
> >>  Archive:
> http://lists.debian.org/20130625142856.2c361...@mirrors.kernel.org
> >>
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-laptop-requ...@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
> > listmas...@lists.debian.org
> > Archive:
> >
> http://lists.debian.org/1372166081.54151.yahoomail...@web161304.mail.bf1.yahoo.com
> >
>
>
> --
> To UNSUBSCRIBE, email to debian-laptop-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive:
> http://lists.debian.org/1372167209.32452.yahoomail...@web161303.mail.bf1.yahoo.com
>
>


Re: it is avahi? Re: network

2013-06-25 Thread Hannu Virtanen
Several times I have found the suggestion that I should add the line:  

domain-name=.alocal 

at the 

avahi-daemon.conf 

That advice is available at: 

http://avahi.org/wiki/AvahiAndUnicastDotLocal

---

I have done it already a few times. 

And it doesn't help. 

Here is my avahi-daemon.conf 



$:/etc/avahi# less avahi-daemon.conf

# This file is part of avahi.
#
# avahi is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# avahi is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
# License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with avahi; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA.

# See avahi-daemon.conf(5) for more information on this configuration
# file!

[server]
#host-name=foo
#domain-name=local
domain-name=.alocal
#browse-domains=0pointer.de, zeroconf.org
use-ipv4=yes
use-ipv6=yes
#allow-interfaces=eth0
#deny-interfaces=eth1
#check-response-ttl=no
#use-iff-running=no
#enable-dbus=yes
#disallow-other-stacks=no
#allow-point-to-point=no
#cache-entries-max=4096
#clients-max=4096
#objects-per-client-max=1024
#entries-per-entry-group-max=32
ratelimit-interval-usec=100
ratelimit-burst=1000

[wide-area]
enable-wide-area=yes

[publish]
#disable-publishing=no
#disable-user-service-publishing=no
#add-service-cookie=no
#publish-addresses=yes
#publish-hinfo=yes
#publish-workstation=yes
#publish-domain=yes
#publish-dns-servers=192.168.50.1, 192.168.50.2
#publish-resolv-conf-dns-servers=yes
#publish--on-ipv4=yes
#publish-a-on-ipv6=no

[reflector]
#enable-reflector=no
#reflect-ipv=no

[rlimits]
#rlimit-as=
rlimit-core=0
rlimit-data=4194304
rlimit-fsize=0
rlimit-nofile=768
rlimit-stack=4194304
rlimit-nproc=3
~
~
(END)

-

Something seems to be wrong with that advice. 

-hv


P.S. 


I think that I should reconfigure the network... 






>
> From: Sebastian Salvino 
>To: Hannu Virtanen  
>Cc: debian-laptop@lists.debian.org; Michael  
>Sent: Tuesday, June 25, 2013 6:07 PM
>Subject: Re: it is avahi? Re: network
> 
>
>
>http://avahi.org/wiki/AvahiAndUnicastDotLocal


--
To UNSUBSCRIBE, email to debian-laptop-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1372178645.25398.yahoomail...@web161305.mail.bf1.yahoo.com



Re: it is avahi? Re: network

2013-06-25 Thread Michael
Hannu,

The only things a fresh avahi-daemon installation puts into the config (that 
is, not commented) are:

[server]
use-ipv4=yes
use-ipv6=yes
ratelimit-interval-usec=100
ratelimit-burst=1000

[wide-area]
enable-wide-area=yes

[publish]

[reflector]

[rlimits]
rlimit-core=0
rlimit-data=4194304
rlimit-fsize=0
rlimit-nofile=768
rlimit-stack=4194304
rlimit-nproc=3

If there was a domain name default, it would be "domain-name=local" (but 
commented out), without dot. But it will be derived from your hostname anyway. 

So maybe try commenting (disabling) any domain setup. If any, it should be 
something like 'gone.local' if gone is your machine. 

Check the /etc/avahi/hosts file too. My version has commented examples, only:
# Examples:
# 192.168.0.1 router.local
# 2001::81:1 test.local

so i guess it should work w/o any manual explicit configuration too.

Also check if you got libnss-mdns installed, which is recommended by avahi.

I am sorry i can not easily check how it works w/o manual configuration. I just 
can't remember any installation asked me anything about it so i guess the 
defaults should work out of the box.

I deinstalled any avahi services on all machines in this small intranet because 
we don't seem to have any need for it, and we didn't miss anything afterwards. 
For example, i don't understand why laptops need a avahi-daemon, or rather, why 
avahi-discover should be depending on the daemon. Do you really want to publish 
your laptop 'files to access' in a mixed environment ?
 
We have one printer and it seems network access via IPP works fine even without 
avahi. I guess a roaming laptop or smartphone could benefit in some trusted 
environment though. But seriously, in which business or university environment 
do you send off a printing job from your laptop without first being granted 
explicit access to the printer ? 
I admit i am oldfashioned and do not understand any modern usages of multicast 
dns.

Well. in your situation, i would deinstall (with complete 'purge') anything 
with 'avahi' in its name, except it breaks essential other packages (for 
example, cups and gvfs need some avahi libs), especially the daemon. Then, i'd 
check if something i need does not work anymore. If so, reinstall 
avahi-discover. With luck, the error will be gone with a new package default 
config.

It should be noted that such a task needs some experience (or boldness) with 
'apt-get' or a good package manager. It's rather easy, and safe, if you know 
how to use 'aptitude'. If you configured things manually, and want to preserve 
the config, don't use 'purge'. Keep in mind that even if you deinstalled half 
your system, it can be reinstalled in a few moments, if only you keep track of 
what was removed (for example, the /var/log/aptitude).


gl mi


-- 
To UNSUBSCRIBE, email to debian-laptop-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130625200440.0d571...@mirrors.kernel.org



Re: it is avahi? Re: network

2013-06-25 Thread Sebastian Salvino
Please email back the output of:

dig local. SOA
On Jun 25, 2013 3:05 PM, "Michael"  wrote:

> Hannu,
>
> The only things a fresh avahi-daemon installation puts into the config
> (that is, not commented) are:
>
> [server]
> use-ipv4=yes
> use-ipv6=yes
> ratelimit-interval-usec=100
> ratelimit-burst=1000
>
> [wide-area]
> enable-wide-area=yes
>
> [publish]
>
> [reflector]
>
> [rlimits]
> rlimit-core=0
> rlimit-data=4194304
> rlimit-fsize=0
> rlimit-nofile=768
> rlimit-stack=4194304
> rlimit-nproc=3
>
> If there was a domain name default, it would be "domain-name=local" (but
> commented out), without dot. But it will be derived from your hostname
> anyway.
>
> So maybe try commenting (disabling) any domain setup. If any, it should be
> something like 'gone.local' if gone is your machine.
>
> Check the /etc/avahi/hosts file too. My version has commented examples,
> only:
> # Examples:
> # 192.168.0.1 router.local
> # 2001::81:1 test.local
>
> so i guess it should work w/o any manual explicit configuration too.
>
> Also check if you got libnss-mdns installed, which is recommended by avahi.
>
> I am sorry i can not easily check how it works w/o manual configuration. I
> just can't remember any installation asked me anything about it so i guess
> the defaults should work out of the box.
>
> I deinstalled any avahi services on all machines in this small intranet
> because we don't seem to have any need for it, and we didn't miss anything
> afterwards. For example, i don't understand why laptops need a
> avahi-daemon, or rather, why avahi-discover should be depending on the
> daemon. Do you really want to publish your laptop 'files to access' in a
> mixed environment ?
>
> We have one printer and it seems network access via IPP works fine even
> without avahi. I guess a roaming laptop or smartphone could benefit in some
> trusted environment though. But seriously, in which business or university
> environment do you send off a printing job from your laptop without first
> being granted explicit access to the printer ?
> I admit i am oldfashioned and do not understand any modern usages of
> multicast dns.
>
> Well. in your situation, i would deinstall (with complete 'purge')
> anything with 'avahi' in its name, except it breaks essential other
> packages (for example, cups and gvfs need some avahi libs), especially the
> daemon. Then, i'd check if something i need does not work anymore. If so,
> reinstall avahi-discover. With luck, the error will be gone with a new
> package default config.
>
> It should be noted that such a task needs some experience (or boldness)
> with 'apt-get' or a good package manager. It's rather easy, and safe, if
> you know how to use 'aptitude'. If you configured things manually, and want
> to preserve the config, don't use 'purge'. Keep in mind that even if you
> deinstalled half your system, it can be reinstalled in a few moments, if
> only you keep track of what was removed (for example, the
> /var/log/aptitude).
>
>
> gl mi
>
>
> --
> To UNSUBSCRIBE, email to debian-laptop-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive:
> http://lists.debian.org/20130625200440.0d571...@mirrors.kernel.org
>
>