Re: How to force NetworkManager to don't add default router (with ifnet plugin on and dhcp)?



Em Monday 19 December 2011, Орлов Сергей Александрович escreveu:

> When I start network with "/etc/init.d/net.wlan0 start" it don't add

> default route. When I start network with "/etc/init.d/NetworkManager start

> " with ifnet plugin it add default router How to force NetworkManager to

> don't add default router (with ifnet plugin on and dhcp)?

>

> NetworkManager-0.8.4.0

>

> /etc/conf.d/net

> ----------

> enable_ipv6_0x444C494E4B5F574952454C455353="false"

> auto_0x444C494E4B5F574952454C455353="true"

> config_0x444C494E4B5F574952454C455353=( "dhcp" )

> dhcp_0x444C494E4B5F574952454C455353="nogateway"

> ----------

 

When using the keyfile plugin you need to add something like the lines below to connection file:

 

[ipv4]

ignore-auto-routes=true

I do not know how to do that with the ifnet plugin. I also never use ifnet since it causes more troubles than good for me.

 

--

Lamarque V. Souza

KDE's Network Management maintainer

http://planetkde.org/pt-br



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]