August 12, 2012

6 RTNETLINK answers: File exists

If you've come across error "RTNETLINK answers: File exists" when using dhclient to renew IP address, here's how I did it:

root@SERVER02 :dhclient eth0 -r  
root@SERVER02 :dhclient eth0  

The -r option releases current configuration for the interface, allowing dhclient to create new config file.

6 comments:

  1. Thank you m(_ _)m
    I went through so much troubles and I wish I found your page earlier...

    ReplyDelete
  2. Finally solved with assistance from this post, thanks so much.

    ReplyDelete
  3. Why doesn't anyone think a "file exists" message which fails to state WHICH file already exists is a bug?

    ReplyDelete
  4. Ah, thanks a lot for this!

    ReplyDelete
  5. Hi ! Found this very useful in combination with:
    http://askubuntu.com/questions/355515/could-not-write-bytes-broken-pipe-12-04
    http://askubuntu.com/questions/104066/enable-wi-fi-in-recovery-terminal

    Thanks!

    ReplyDelete

 

Kaustubh Ghanekar Copyright © 2011 - |- Template created by O Pregador - |- Powered by Blogger Templates