Re: Modify LAN Settings



Prakash Krishnaswamy wrote:
Hi,

In my application I need to modify the IP address settings for eth0, eth1, wlan, etc. For this I had directly modified the file /etc/network/interfaces (in ubuntu).
I would like to do it in a proper way using the NetworkManager.
Can somebody tell me where to look out for the source, which library I have to use?

Thanks,
Prakash

Looks like libnm-glib can be used. When I go through the header files I find only functions to get configurations. Can some one tell me whether libnm-glib can be used to modify settings (like IP address) of eth0, wlan0, etc.
If so any pointer to some examples would be helpful.

Thanks,
Prakash


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