I have a 1989 Macintosh SE/30 and a 1993 Macintosh LC III and their SCSI discs are dead, so what are the options?
Brilliant!
Rubbish!
After making the SD card (I'm using a 8GB card with no UI, 4BG would work excpet that I have a 2GB disc image).
add to the windows partition of the SD card (called
My Pi Zero doesn’t have wifi beause they weren't available. Therefore I got a cheap USB wifi adapter.
Turns out it's an RT8188EUS.
What’s going on?
Here is Here is The interface Initially First remove the annoying spam. Then install a cooler MOTD. The contents of And in Although in practice the IP address will be the same every time, in principle it would be nice to report
the IP address to the My first tought was to use (Which, of course, requires ssh keys to have been exchanged.)
You can then do something like this:
This seems to work only when the interface gets a new address, but I want it to report every time
the interface comes up. Therefore I need the Unfortunately it never runs and I can’t work out why. Next to install RaSCSI.
The RaSCSI web interface is running on port 80 (for me this is The disc image needs to be attached. This can be done in the web interface, on in the command shell:
Next steps: ISO images; the reason the RaSCSI could be useful over and above the BlueSCSI is to install A/UX on the SE/30.
Apparently NetBSD runs on m68k...ssh
;
this allows remote SSH into the RaspberryPi so you don’t need a monitor — if you can get the network up.
WiFi drivers for RT8188EUS
$ lsusb
Bus 001 Device 006: ID 0bda:8179 Realtek Semiconductor Corp. RTL8188EUS 802.11n Wireless Network Adapter
$ ip a
3: wlan0:
/etc/network/interfaces.d/wlan0
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
/etc/wpa_supplicant/wpa_supplicant.conf
country=GB
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="mini31"
psk="TOP_SECRET"
}
wlan0
connects to my access point (which is Debian running on a Mac Mini 3,1).
sudo ifup wlan0
didn’t make it work as it wouldn’t get an IP address via DHCP. However,
after a reboot it came up.
MOTD
$ sudo rm /etc/motd
$ sudo apt-get install fortune fortunes-off cowsay
$ sudo touch /etc/update-motd.d/50-motd
/etc/update-motd.d/50-motd
should be:
uptime | awk '{print "up: " $3 " " $4 " la: 1:" $11 " 5:" $12 " 15:" $13}'
df -h | grep root | awk '{print "df: " $4 " (" $5 ")"}'
vcgencmd measure_temp
/usr/games/fortune -a | /usr/games/cowsay
/etc/ssh/sshd_confi
set PrintLastLog no
.Reporting IP address
mini31
.
There seem to be a few possible ways to do this:
@reboot
in crontab
;/etc/network/if-up.d
;/etc/dhcp/dhclient-exit-hooks.d
.dhclient-exit-hooks.d
because I want to know about IP addresses and DHCP is where they come from.
Therefore I add a script to /etc/dhcp/dhclient-exit-hooks.d
:
if [ -z $new_ip_address ]; then
exit 0
fi
echo "$(date +"%d %b %y %H:%m") $interface $new_ip_address" | ssh -T rwb@mini31 " cat >> pi-ip.txt"
alias sshpi=ssh pi@$(tail -n 1 /home/rwb/pi-ip.txt | awk -F'[ /]' '{print $5}')
/etc/network/if-up.d
approach:
#!/bin/sh
# See /etc/rc.local
date=`date +"%b %d %H:%M"`
ip=`ip -o -f inet a | grep 192.168 | awk '{print $4}'`
if [ -z "$ip" ]; then
logger "ip-to-mini31-cron got no IP"
exit 0
fi;
echo "$date: $ip if-up.d" | ssh -i /home/pi/.ssh/id_rsa rwb@192.168.1.31 "cat - >> pi-ip.txt"
logger "ip-to-mini31-cron reported $ip"
Installing RaSCSI
$ sudo apt-get update
$ sudu apt full-upgrade # something to do with version of Debian changing
$ sudo apt-get update && sudo apt-get install --yes git libspdlog-dev
$ git clone https://github.com/akuker/RASCSI.git
$ cd RASCSI/
$ ./easyinstall.sh # choose option 0: install RaSCSI Service + web interface + 600MB Drive (recommended)
# The image is created at /home/pi/images/600MB.hda
$ cd ~/RASCSI/src/raspberrypi
$ make all CONNECT_TYPE=FULLSPEC
$ sudo make install CONNECT_TYPE=FULLSPEC
$ sudo systemctl restart rsyslog
$ sudo systemctl status rascsi # running, so it must have installed
$ sudo shutdown -r now
# does rascsi come back up?
# yes!
http://192.168.1.193/
).
Note that it’ not https
.
$ rasctl -i 0 -c attach -t hd -f /home/pi/images/600MB.hda
$ rasctl -l