How to generate "Auto eth0" from command line ?



Hi i'm new to NetworkManager.

In ubuntu 10.4, if i remember this correctly, by default,
there's NO "Auto Eth0" under /etc/NetworkManager/...

If in the menu i edit eth0 to use static ip, there'll be a "Auto Eth0“ file.

1. My question is how to generate this file from command line ?

2. How to generate uuid for eth0, heard there's a "blkid" command,
but /dev/eth0 is not available in linux ?

Thanks very much ! 


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