1

How can I automate a root command after (not during) startup?

view story
linux-howto

http://askubuntu.com – I'm using Ubuntu 12.04 LTS, but I need to run the following command: sudo dhclient after startup to acquire a stable ethernet connection. I am running dhclient during startup already, through the /etc/rc.local file. Someone please help me run this command after-startup automatically (by removing it's requirement for root, or some other means), or suggest a different way of troubleshooting my ethernet connection. Otherwise I'll have to start using Windows more than Ubuntu :( Thanks, R0fls Here's the output of ifconfig before and after dhclient BEFORE: eth0 Link encap:Ethernet HWaddr (HowTos)