avahi setup on Arch
This commit is contained in:
parent
ee28f25e1d
commit
ddd7bbd7ef
|
@ -118,6 +118,11 @@ Where **sdX** is the microSD drive. You can check which drive is the microSD dri
|
||||||
|
|
||||||
With the drive removed and inserted. Copying to the microSD will take a while, so go and do something less boring instead. When it's complete remove it from your system and insert it into the SBC. Connect an ethernet cable between the SBC and your internet router, then connect the power cable. On the Beaglebone Black you will see some flashing LEDs, but on other SBCs there may not be any visual indication that anything is booting.
|
With the drive removed and inserted. Copying to the microSD will take a while, so go and do something less boring instead. When it's complete remove it from your system and insert it into the SBC. Connect an ethernet cable between the SBC and your internet router, then connect the power cable. On the Beaglebone Black you will see some flashing LEDs, but on other SBCs there may not be any visual indication that anything is booting.
|
||||||
|
|
||||||
|
On Arch/Parabola set up avahi so that you can access the system on its local address.
|
||||||
|
|
||||||
|
sudo sed -i 's|hosts:.*|hosts: files mdns_minimal [NOTFOUND=return] dns myhostname|g' /etc/nsswitch.conf
|
||||||
|
sudo pacman -S avahi nss-mdns
|
||||||
|
|
||||||
With the board connected and running you can ssh into the system with:
|
With the board connected and running you can ssh into the system with:
|
||||||
|
|
||||||
ssh fbone@freedombone.local -p 2222
|
ssh fbone@freedombone.local -p 2222
|
||||||
|
|
Binary file not shown.
|
@ -237,7 +237,8 @@ if [[ $MESH_CLIENT_INSTALL == $'yes' || $MESH_CLIENT_INSTALL == $'y' || $MESH_CL
|
||||||
if [ ! -f /usr/bin/pacman ]; then
|
if [ ! -f /usr/bin/pacman ]; then
|
||||||
sudo apt-get -y install avahi-utils avahi-autoipd avahi-dnsconfd
|
sudo apt-get -y install avahi-utils avahi-autoipd avahi-dnsconfd
|
||||||
else
|
else
|
||||||
sudo pacman -S --noconfirm avahi
|
sudo pacman -S --noconfirm avahi nss-mdns
|
||||||
|
sudo sed -i 's|hosts:.*|hosts: files mdns_minimal [NOTFOUND=return] dns myhostname|g' /etc/nsswitch.conf
|
||||||
fi
|
fi
|
||||||
sudo ${PROJECT_NAME}-mesh-install -f tox_node
|
sudo ${PROJECT_NAME}-mesh-install -f tox_node
|
||||||
sudo ${PROJECT_NAME}-mesh-install -f toxic
|
sudo ${PROJECT_NAME}-mesh-install -f toxic
|
||||||
|
|
Loading…
Reference in New Issue