Anonymous

Networking/Procedures: Difference between revisions

From London Hackspace Wiki
some small updates
(mention redmine)
(some small updates)
Line 6: Line 6:


  <nowiki>
  <nowiki>
dd raspbian image (use the 02-09 one to avoid usb issues)
dd raspbian image (traditionally we use the 02-09 one to avoid usb issues, but that may not be needed anymore)
boot pi
boot pi
watch dhcp logs on boole
watch dhcp logs on boole
Line 30: Line 30:


add hostname to /etc/ansible/hosts in both the [lhshosts] and [rpis]
add hostname to /etc/ansible/hosts in both the [lhshosts] and [rpis]
sections, and [doorbot] if it's a doorbot, make the syslocation="something sensible"
sections, make syslocation="something sensible" (It's used for the SNMP sysLocation field)


then:
then:
Line 45: Line 45:
cd /etc/ansible
cd /etc/ansible


install python-apt which ansible needs:
install python-apt which ansible needs on the raspberry pi:


ansible -vvv -u pi -k -s -m command -a "apt-get -y install python-apt" "hostname"
ansible -vvv -u pi -k -s -m command -a "apt-get -y install python-apt" "hostname"