Difference between revisions of "Raspberry Pi"

From Tech
Jump to navigationJump to search
Line 7: Line 7:
 
To enable wlan0, as mentioned [http://www.raspberrypi.org/phpBB3/viewtopic.php?f=27&t=7592 here in a comment]:
 
To enable wlan0, as mentioned [http://www.raspberrypi.org/phpBB3/viewtopic.php?f=27&t=7592 here in a comment]:
   
<nowiki>cat > /etc/network/interfaces <<EOF
+
<nowiki>
  +
cat > /etc/network/interfaces <<EOF
 
auto lo
 
auto lo
   
Line 18: Line 19:
 
wpa-psk "PASSWORD"
 
wpa-psk "PASSWORD"
 
EOF
 
EOF
  +
</nowiki>

Revision as of 12:30, 19 November 2020

  • Initial user: pi, password: raspberry
  • Enable ssh on boot: create file named 'ssh' on boot partition
  • First Raspberry Pi, MAC=b8:27:eb:f5:5e:0b
  • Second: MAC=b8:27:eb:79:41:20 (hostname: tvu-s003)


To enable wlan0, as mentioned here in a comment:

cat > /etc/network/interfaces <<EOF
auto lo

iface lo inet loopback
iface eth0 inet dhcp

auto wlan0
iface wlan0 inet dhcp
wpa-ssid "SSID"
wpa-psk "PASSWORD"
EOF