I've made a mistake that I didn't make autoconnect=TRUE for the connection. This is why the system configuration was not correctly setup:P. As a result, I can setup connection totally without udev. So what we can benefit from udev? Why does ifupdown use it?
On Thu, Apr 22, 2010 at 11:12 AM, Mu Qiao <qiao...@gmail.com> wrote: > Hi all, > I'm writing a plugin for Gentoo. > > I've read the source code of ifupdown and ifcfg-rh. I find that > ifupdown use udev to bind device to connection. The main work it has > done during binding is getting the mac address of network interface > through udev API and adding it to corresponding connection setting. > However, I didn't find the same thing in ifcfg-rh. > > So I've tried to omit the udev part for my gentoo plugin. After > starting NetworkManager, although I can see the connection managed by > my plugin via nm-applet, ifconfig command shows that the network isn't > correctly setup. > Do I need to set mac address for each connection to let them work > correctly? Or there are other things that I didn't handle in the right > way? I've tried to remove mac address saved in > /etc/sysconfig/network-scripts/ifcfg-eth*, but NM still works > correctly. > -- > Best wishes, > Mu Qiao > -- Best wishes, Mu Qiao _______________________________________________ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list