IP Address in Python (Windows)
From StackOverflow, my changes:
- Py3 compat (no big deal)
- Added DHCP support
- Use CurrentControlSet (saner IMHO)
Upgrading to Fedora 21
These are mostly my personal note-to-self, but in case it helps somebody else…
fedup - I've used this a few times, and man does it make upgrades easy. I had some key problems but those were easy enough to fix.
My web server was "down" and I was looking at
iptables and saw all this stuff about zones, etc. I checked
/etc/sysconfig/iptables and it looked good so when I ran
system-config-firewall-tui it told me that "
FirewallD is active, please use firewall-cmd" - of course, now I see that in the FAQ (I used
It looks like they have a new Firewall Daemon. In the end, all I had to do was:
firewall-cmd --add-service=http --zone=public --permanent firewall-cmd --reload
There are other commands I used in between like
--get-services to see what was predefined and
--list-services to ensure
http was added after the reload.
Since it's in a VM, I do have a screenshot of the happy hot dog that mysteriously isn't in my