Fedora has generated no end of confusion by having two packages named dhcpd and dhcp-server. I do this:
su dnf -y install dhcpdThis puts the files I expect into /etc/dhcp. Then I try to dnf remote this and install dhcpd-server instead. It doesn't understand removing dhcpd and' then tells me dhcpd-server is already installed! Who knows what this is all about, but I press on.
Somewhere I hope to find an old dhcpd.conf file on my system. I find a candidate in /oldroot/etc/dhcp, so:
cd /etc/dhcp mv dhcpd.conf dhcpd.Fedora cp /oldroot/etc/dhcp/dhcpd.conf dhcpd.Tom cp dhcpd.Tom dhcpd.conf
systemctl enable dhcpd systemctl enable dhcpd-service systemctl start dhcpd (fails) systemctl start dhcpd-serviceDon't blame me for the confusion Fedora has generated with two names for the same thing.
firewall-cmd --add-service=dhcp firewall-cmd --runtime-to-permanentIt reports success for both of these commands, so I guess this worked.
su dnf -y install wireshark wiresharkI have only ever had luck running wireshark as root. I specify for a capture filter:
udp port 67This works! One thing I hate about wireshark is that whatever GUI package they used to build it does not support cut and paste. The MAC address is b8:27:eb:f0:04:1c. I add this entry:
host rpi { hardware ethernet b8:27:eb:f0:04:1c; fixed-address 192.168.0.29; option host-name "rpi"; }Then I restart the server:
systemctl restart dhcpd
I cycle power, see appropriate traffic via wireshark, then "ping rpi" and it works!
ssh tom@rpiThis also works using the password I have noted down.
And I am extremely pleased to find that picocom is already installed on the rpi.
I plug in my USB to serial gadget and see /dev/ttyUSB0 appear, then:
picocom /dev/ttyUSB0 ..... EEPROM: Using RS232 A port. Selftest Completed. Sun Workstation, Model Sun-3/200 Series. ROM Rev 3.0, 16MB memory installed, Serial #13355. Ethernet address 8:0:20:0:4:B1, Host ID 1300342B. Testing 8 Megabytes of Memory ... Completed. Auto-boot in progress... EEPROM boot device...Boot: ie(0,0,0) ie: No CarrierAll this took only a little bit over an hour.
Tom's Computer Info / tom@mmto.org