-
Notifications
You must be signed in to change notification settings - Fork 59
/
README
67 lines (50 loc) · 1.37 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Avahi Aliases
=============
Copyright 2013 Zenobius Jiricek
This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. To view a copy of this license, visit:
http://creativecommons.org/licenses/by-sa/3.0/.
Basically:
1. You can use this for commerical and personal projects.
2. You must give me credit in your product.
3. If you alter, transform, or build upon this work, you may
distribute the resulting work only under the same or similar
license to this one.
But you should really read the full liscense :
http://creativecommons.org/licenses/by-sa/3.0/
Install
==========
```
sudo apt-get install python-avahi
sudo pip install git+git://github.com/airtonix/avahi-aliases.git
```
Uninstall
==========
```
sudo pip uninstall avahi-aliases
```
Usage
==========
Daemon Control:
-----------------
```
sudo service avahi-alias start
sudo service avahi-alias restart
sudo service avahi-alias stop
```
Creating Aliases
-----------------
1. `sudo nano /etc/avahi/aliases.d/default`
2. insert something.local on a new line
3. save
4. ???
5. profit
Notes:
* aliases must end in `.local`
* One alias per line
* blank lines are ignored
* lines prefixed with `#` are ignored
* you must manually restart the daemon after modifying alias files
Todo
=====
1. implement `sudo avahi-alias add/remove aliasname`
2. implement `sudo avahi-alias list`