network manager 備忘録

/etc/sysconfig/network-scritpsとか/etc/network/interface

iface eth0 inet static

address 192.168.1.x

netmask 255.255.255.0

gateway 192.168.1.1

とか
なんてもう古古っすよw

これからは
/etc/NetworkManager/system-connections
っすね

でも Auto\ eth0って...... 美しくない


root@ubunt1004-32-2:/etc/NetworkManager/system-connections# ls -ltr
合計 4
-rw------- 1 root root 497 2011-02-09 23:56 Auto eth0

root@ubunt1004-32-2:/etc/NetworkManager/system-connections# cat Auto\ eth0 

[connection]
id=Auto eth0
uuid=a7f52ed8-9acd-45eb-af20-xxxxxxxxxxxxx
type=802-3-ethernet
autoconnect=true
timestamp=0

[ipv4]
method=manual
dns=192.168.1.41;
dns-search=hirasawa.local;
addresses1=192.168.1.2;24;192.168.1.1;
ignore-auto-routes=false
ignore-auto-dns=false
dhcp-send-hostname=false
never-default=false

[802-3-ethernet]
speed=0
duplex=full
auto-negotiate=true
mac-address=0:d:61:40:83:f1
mtu=0

[ipv6]
method=ignore
ignore-auto-routes=false
ignore-auto-dns=false
never-default=false
root@ubunt1004-32-2:/etc/NetworkManager/system-connections#