My ifconfig: command not found for some reason

The ifconfig binary is located in /sbin/ which doesn't seem to be in your $PATH.

You can add it by appending the line /sbin to /etc/paths.