Automatic Dhcpcd if no IP
Hi,
My university uses 802.1x security and every time I power up my computer I have to use wpa_supplicant to get auth (I've editet the /etc/rc.d/rc.local in order to do it at startup).
Everything works fine, the only problems is, sometimes I do get connected, but I don't get an IP address for reasons I don't quite know. And this forces me to login as root and use dhcpcd manually.
It's not a big deal, but I'd like to know if there's a way to automatize this process and allow dhcpcd to run automatically if I haven't an IP even if I'm connected to a network.
Thanks.
|