-
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
![Vintage Computer Tower - NOS - picture](/store/img/g/DhsAAOSw7VRmeEYM/s-l225/Vintage-Computer-Tower-NOS-.jpg)
Vintage Computer Tower - NOS -
$50.00
![BlueSCSI V2 WiFi (Desktop) Modern Storage for Vintage Computers Latest Model picture](/store/img/g/GXUAAOSwWZRmPnHK/s-l225/BlueSCSI-V2-WiFi-Desktop-Modern-Storage-for-Vintag.jpg)
BlueSCSI V2 WiFi (Desktop) Modern Storage for Vintage Computers Latest Model
$53.50
![BlueSCSI V2 WiFi (Narrow DB25) - Modern Storage for Vintage Computers picture](/store/img/g/-Q4AAOSwI3hmPnUb/s-l225/BlueSCSI-V2-WiFi-Narrow-DB25-Modern-Storage-for-Vi.jpg)
BlueSCSI V2 WiFi (Narrow DB25) - Modern Storage for Vintage Computers
$51.50
![Texas Instruments Compact Computer 40 CC-40 VINTAGE RARE With Math Module picture](/store/img/g/KX8AAOSwWslmeEW9/s-l225/Texas-Instruments-Compact-Computer-40-CC-40-VINTAG.jpg)
Texas Instruments Compact Computer 40 CC-40 VINTAGE RARE With Math Module
$48.88
![NEW Manufacture OLD STYLE Oval 3 Prong Power Cord HP style 125V 7A 875W Vintage picture](/store/img/g/M1IAAOSwoHlkXVZf/s-l225/NEW-Manufacture-OLD-STYLE-Oval-3-Prong-Power-Cord-.jpg)
NEW Manufacture OLD STYLE Oval 3 Prong Power Cord HP style 125V 7A 875W Vintage
$39.95
![vintage Am486 DX2-66 motherboard picture](/store/img/g/Q8oAAOSw7gBmeDRR/s-l225/vintage-Am486-DX2-66-motherboard-.jpg)
vintage Am486 DX2-66 motherboard
$300.00
![Vintage Dot Matrix Printer Contin Feed Paper 8.5 x 11. Lots of 5 to 250 sheets. picture](/store/img/g/498AAOSwJTdl1MqH/s-l225/Vintage-Dot-Matrix-Printer-Contin-Feed-Paper-8-5-x.jpg)
Vintage Dot Matrix Printer Contin Feed Paper 8.5 x 11. Lots of 5 to 250 sheets.
$4.00
![Vintage Tandy RADIO SHACK TRS-80 Model 4P Control Panel Assembly picture](/store/img/g/WkIAAOSwBmFmSPrH/s-l225/Vintage-Tandy-RADIO-SHACK-TRS-80-Model-4P-Control-.jpg)
Vintage Tandy RADIO SHACK TRS-80 Model 4P Control Panel Assembly
$32.55
![ULTRA GAMING CASE VINTAGE picture](/store/img/g/VDAAAOSwJMZmd3D6/s-l225/ULTRA-GAMING-CASE-VINTAGE.jpg)
ULTRA GAMING CASE VINTAGE
$75.00
![Vintage Apple IIGS Computer A2S6000 As Is Parts Only Turns on picture](/store/img/g/PUIAAOSwRh9meDFP/s-l225/Vintage-Apple-IIGS-Computer-A2S6000-As-Is-Parts-On.jpg)
Vintage Apple IIGS Computer A2S6000 As Is Parts Only Turns on
$99.99