-
Knoppix 7.0.5 and Ahavi setup
Hello,
I am trying to get XBMC working on Knoppix, such that I connect to it from an iPad using remote control for xbmc.
I need to setup Zeroconf in order to have my Knoppix being discovered on my local network.
I can connect to internet from my Knoppix/XBMC machine without any problem.
To setup avahi on Knoppix, I edited:
- /etc/localhost to a give it 'xbmcknoppix' as name.
- /etc/nsswitch.conf to have:
hosts: files mdns4_minimal dns mdns4
- /etc/default/avahi-daemon to have:
AVAHI_DAEMON_START=1
But following command fails:
ping xbmcknoppix.local
Any help in getting that working is more than welcome ![Wink](images/smilies/icon_wink.gif)
Also i would like to understand, how I check if:
- knoppix 7 is using systemd, sysvinit or both?
- DBUS is running and working?
- if there is a firewall active?
- to ensure Avahi can open port UDP 5353?
- NetworkManager create problems with avahi?
This the documentation I used to try get avahi work:
http://wiki.ubuntuusers.de/Avahi
https://help.ubuntu.com/community/HowToZeroconf
https://wiki.archlinux.org/index.php/Anahi
-
Senior Member
registered user
If you want to find out if avahi daemon is running you could issue
Code:
sudo /etc/init.d/avahi-daemon status
I think that you should add the service 'avahi-daemon' to the SERVICES string in /etc/rc.local, e.g.
Code:
SERVICES="cups avahi-daemon"
Reboot your xbmcknoppix and try again to connect to that system.
-
Thanks just tried it. Now i have avahi running. Also i double checked that dbus is running ![Wink](images/smilies/icon_wink.gif)
Also i have to add into my /etc/avahi/avahi.host, following line: 127.0.0.1 xbmcknoppix.local
Now calling "ping xbmcknoppix.local" works.
But I still cannot access my knoppix from any other Pc on my local network. Having XBMC running a web server on 8080, I checked on knoppix with wget http://10.10.10.100:8080 that it serves html pages. Now doing the same from any Pc on my network don't return anything?
Note, knoppix is installed on harddrive.
Any idea why other Pc cannot access my knoppix services (i.e. Web or Avahi)?
-
Senior Member
registered user
I am running Knoppix 7.0.5 CD inside a virtual machine (Oracle VirtualBox) on a Windows 7 host.
The virtual machine has to be part of my local network. Therefore I use a network bridge connected to the WLAN adapter on the host. The virtual machine receives its IP address from the local DHCP service in the router.
The configuration file /etc/nsswitch.conf has got a line
Code:
hosts: files mdns4_minimal dns mdns4
The /etc/default/avahi.conf has two lines
Code:
AVAHI_DAEMON_DETECT_LOCAL=1
AVAHI_DAEMON_START=1
In the file /etc/hostname I changed Microknoppix to the new name 'vboxknoppix'.
I edited the file /etc/hosts and changed 'Microknoppix' to the new name 'vboxknoppix'.
In /etc/rc.local I added 'avahi-daemon' to the SERVICES string so that it is started automatically.
I rebooted the virtual machine. Now I can reach that system within the local network under its name 'vboxknoppix.local'. Example: tomcat6 runs inside the virtual machine listening on port 8080. http://vboxknoppix.local:8080 lets me connect to that service.
Maybe this short description can help you a bit further.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![Dell PowerEdge R730 2x E5-2699V3 2.3Ghz 36 Core 128GB RAM H730 X520-I350 2x750W picture](/store/img/g/W38AAOSwtcVjVC0Z/s-l225/Dell-PowerEdge-R730-2x-E5-2699V3-2-3Ghz-36-Core-12.jpg)
Dell PowerEdge R730 2x E5-2699V3 2.3Ghz 36 Core 128GB RAM H730 X520-I350 2x750W
$329.99
![Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD picture](/store/img/g/vx0AAOSwvwFlExVY/s-l225/Dell-PowerEdge-R630-Server-2x-E5-2680-V4-28-Cores-.jpg)
Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD
$197.99
![Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays picture](/store/img/g/GAcAAOSw9Q1mGSZW/s-l225/Dell-Poweredge-R630-Server-2x-E5-2620-V4-16-Cores-.jpg)
Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays
$159.99
![Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config picture](/store/img/g/CdkAAOSwY0BmYMoF/s-l225/Dell-Poweredge-R730xd-LFF-14-Bay-2U-Server-Choose-.jpg)
Dell Poweredge R730xd LFF 14-Bay 2U Server | Choose Your CPU & RAM Config
$489.99
![Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330 picture](/store/img/g/ZD0AAOSwm41mOZYw/s-l225/Dell-PowerEdge-R630-Server-2x-E5-2640v3-2-60Ghz-16.jpg)
Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330
$182.65
![1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE picture](/store/img/g/7KoAAOSwephiKTf4/s-l225/1U-Supermicro-Server-10-Bay-2x-Intel-Xeon-3-3Ghz-8.jpg)
1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 240GB SSD 2x 10GBE
$259.00
![Dell PowerEdge R720xd 26HDD 300gb 2.5-inch E5-2697 X 2CPU 384RAM 7.2 Tb HDD  picture](/store/img/g/yAwAAOSwdyNlgQ8d/s-l225/Dell-PowerEdge-R720xd-26HDD-300gb-2-5-inch-E5-2697.jpg)
Dell PowerEdge R720xd 26HDD 300gb 2.5-inch E5-2697 X 2CPU 384RAM 7.2 Tb HDD 
$180.00
![Dell PowerEdge T620 8-Bay LFF Xeon E5-2660 0 2.20GHz 48GB NO HDD S110 Server picture](/store/img/g/ZfUAAOSw~TFmclF7/s-l225/Dell-PowerEdge-T620-8-Bay-LFF-Xeon-E5-2660-0-2-20G.jpg)
Dell PowerEdge T620 8-Bay LFF Xeon E5-2660 0 2.20GHz 48GB NO HDD S110 Server
$174.99
![HPE ProLiant DL360 Gen9 4LFF 2x E5-2667v3 3.2GHz =16 Cores 32GB P440AR 4xRJ45 picture](/store/img/g/xFoAAOSwbzdmNL82/s-l225/HPE-ProLiant-DL360-Gen9-4LFF-2x-E5-2667v3-3-2GHz-1.jpg)
HPE ProLiant DL360 Gen9 4LFF 2x E5-2667v3 3.2GHz =16 Cores 32GB P440AR 4xRJ45
$216.00
![1U Server ( 4x VM's ) Hosting VPS Short Depth 20](/store/img/g/mY0AAOSwFDNhGq7d/s-l225/1U-Server-4x-VM-s-Hosting-VPS-Short-Depth-20-1U-Xe.jpg)
1U Server ( 4x VM's ) Hosting VPS Short Depth 20" 1U Xeon 3.5Ghz 16GB X10SLM-F
$149.00