NetworkManager bug / question.

Eric e.clifford at att.net
Wed Oct 28 05:06:17 GMT 2009


We at Team America discovered a possible known and fixed bug
with NetworkManager,  it kept assigning default gw different
than that which we can clearly see in NetworkManager.

1)
We dug into it and found it was reading /etc/network/interfaces,
and ahah, there was the erroneous default router ip. We fixed
it, then /etc/init.d/NetworkManager restart and it still had the
same wrong IP,  Where was it getting it from?

2)
We found a workaround article, paraphrasing, "stick a file in
/etc/network/if-up.d/ called whateva, and in that file, 
  route del gw
  route add default gw 192.168.good.one
What? you mean we stick any file in that directory and it gets
run?  Isn't that a bad Idea?  it's kinda like rc scripts, but those
are organized, S98startItUp runs after S97startItFirst.  How does if-up
deamon know which to run first in the 'run whateva in here' directory?

Thanks
Team AmEricA





More information about the ubuntu-devel mailing list