Differences

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

Link to this comparison view

Next revision
Previous revision
tools:devuan [2019/08/24 16:09] – external edit 127.0.0.1tools:devuan [2019/08/24 17:31] (current) – [Install Broadcom WiFi driver (if present)] darron
Line 9: Line 9:
 Fetch the image (Raspberry Pi Zero) Fetch the image (Raspberry Pi Zero)
 <code> <code>
-wget https://downloads.raspberrypi.org/Devuan_lite_latest+wget http://devuan.ksx4system.net/devuan_ascii/embedded/devuan_ascii_2.0.0_armel_raspi1.img.xz
 </code> </code>
  
 Verify the file with the hash on the download page. Verify the file with the hash on the download page.
- 
-<code> 
-sha1sum 2018-10-09-Devuan-stretch-lite.zip  
-fe99e1c4e64c44a67468889e64d732f601968e87  2018-10-09-Devuan-stretch-lite.zip 
-</code> 
  
 Decompress. Decompress.
Line 30: Line 25:
 In this instance, the microsd card is detected as sdd. In this instance, the microsd card is detected as sdd.
 <code> <code>
-sudo dd if=2018-10-09-Devuan-stretch-lite.img of=/dev/sdd bs=4M+sudo dd if=devuan_ascii_2.0.0_armel_raspi1.img of=/dev/sdd bs=4M
 </code> </code>
  
Line 59: Line 54:
 #dtoverlay=w1-gpio,gpiopin=4 #dtoverlay=w1-gpio,gpiopin=4
 #dtoverlay=dht11,gpiopin=17 #dtoverlay=dht11,gpiopin=17
-</code> 
- 
-Enable network login for default user. 
-<code> 
-touch /mnt/ssh 
 </code> </code>
  
Line 75: Line 65:
 Mount the system partition and set up networking. This Mount the system partition and set up networking. This
 will allow us to login after the Pi boots and finalise the will allow us to login after the Pi boots and finalise the
-set up. Use eth0 or supported WiFi adapter, Eg. BELKIN +set up.
-FD?????.+
  
 <code> <code>
Line 84: Line 73:
 </code> </code>
  
-Protect resolv.conf from errant applications which may wish +If you need to use WiFI, EgBELKIN FD00000, place the 
-to break it+firmware in /lib/firmware (rt73.bin).
-<code> +
-chattr +i /mnt/etc/resolv.conf +
-</code>+
  
 Un mount the system partition. Un mount the system partition.
Line 95: Line 81:
 </code> </code>
  
-=== Install WiFi driver===+===Boot and login===
  
-=== Disable undesired services ===+=== Install Broadcom WiFi driver (if present)===
  
 <code> <code>
-update-rc.d dhcpcd disable +apt-get install firmware-brcm80211 
-update-rc.d motd disable +wget -q https://raw.githubusercontent.com/RPi-Distro/firmware-nonfree/master/brcm/brcmfmac43430-sdio.txt -O /lib/firmware/brcm/brcmfmac43430-sdio.txt
-update-rc.d triggerhappy disable +
-update-rc.d cron disable +
-update-rc.d dbus disable +
-update-rc.d dphys-swapfile disable +
-update-rc.d ntp disable +
-update-rc.d avahi-daemon disable +
-update-rc.d bluetooth disable +
-update-rc.d plymouth disable +
-update-rc.d paxctld disable+
 </code> </code>
 +=== Disable undesired services ===
  
 Edit /etc/inittab and disable unnecessary gettys and reboot. Edit /etc/inittab and disable unnecessary gettys and reboot.
  
-=== Set up swap === 
  
-Because we disabled the useless swap generator, do it by hand. 
-<code> 
-swapoff /var/swap 
-dd if=/dev/zero of=/var/swap bs=4M count=512 
-mkswap /var/swap 
-echo "/var/swap none swap sw 0 0" >> /etc/fstab 
-reboot 
-</code> 
  
 === Finish off === === Finish off ===