Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
computer:raspberry_pi_audio_capture [2019/08/07 01:36]
tdobes
computer:raspberry_pi_audio_capture [2019/08/07 01:48] (current)
tdobes
Line 34: Line 34:
 adduser tdobes adm adduser tdobes adm
 adduser tdobes systemd-journal adduser tdobes systemd-journal
 +
 +aptitude install firmware-brcm80211 # rpi3 wifi firmware
 +aptitude install ifmetric iw wireless-tools ifplugd wpasupplicant
 +sed -i -e '​s/​^REGDOMAIN=$/​REGDOMAIN=US/​g'​ /​etc/​default/​crda
 +sed -i -e '​s/​^INTERFACES=""/​INTERFACES="​eth0"/​g'​ /​etc/​default/​ifplugd
 +sed -i -e '​s/​^allow-hotplug eth0/#​allow-hotplug eth0/​g'​ /​etc/​network/​interfaces
 +systemctl restart ifplugd
 +
 +echo >> /​etc/​network/​interfaces
 +echo '​allow-hotplug wlan0' >> /​etc/​network/​interfaces
 +echo 'iface wlan0 inet manual'​ >> /​etc/​network/​interfaces
 +echo ' ​ wpa-driver nl80211,​wext'​ >> /​etc/​network/​interfaces
 +echo ' ​ wpa-roam /​etc/​wpa_supplicant/​wpa_supplicant.conf'​ >> /​etc/​network/​interfaces
 +echo >> /​etc/​network/​interfaces
 +echo 'iface auditorium inet dhcp' >> /​etc/​network/​interfaces
 +echo ' ​ metric 1' >> /​etc/​network/​interfaces
 +cat > /​etc/​wpa_supplicant/​wpa_supplicant.conf <<EOF
 +country=US
 +ctrl_interface=DIR=/​var/​run/​wpa_supplicant GROUP=netdev
 +update_config=1
 +
 +network={
 +  ssid="​auditorium-staff"​
 +  scan_ssid=1
 +  psk="​**PASSWORD**"​
 +  priority=10
 +  id_str="​auditorium"​
 +}
 +EOF
 +chmod -x /​etc/​wpa_supplicant/​action_wpa.sh # ensures that ifplugd doesn'​t disconnect wifi - see http://​raspberrypi.stackexchange.com/​questions/​31780/​wpa-supplicant-conf-with-two-network-cards-not-working-when-wpa-roam
  
 # Clean-up and optimization # Clean-up and optimization
computer/raspberry_pi_audio_capture.txt · Last modified: 2019/08/07 01:48 by tdobes
Recent changes RSS feed Driven by DokuWiki Valid XHTML 1.0 Valid CSS