'netctl'에 해당되는 글 1건

  1. 2015.02.08 아치 리눅스 네트웍 설정 방법 4
IT2015. 2. 8. 15:49
반응형


아치 리눅스 네트웍 설정 방법

netctl start eth0/ens2/wls3


예제 프로 파일 들이다.

/etc/netctl/examples/

ethernet-dhcp

ethernet-static

wireless-wpa

wireless-wpa-static


이곳에서 필요한 파일을 cp * ../

하단으로 복사 후 설정 하여 사용한다.


[example 이다]


[root@fm2 netctl]# more ens2

Description='A basic static ethernet connection'

Interface=ens2

Connection=ethernet

IP=static

Address='10.10.10.20/24'

#Routes=('192.168.0.0/24 via 192.168.1.2')

Gateway='10.10.10.20'

#DNS=('192.168.1.1')


아래와 같이 사용 하기 위해서는

ipflugd,wpa_actiond  가 설치 되어 있어야 한다.

pacman -Q ipfulgd wpa_actiond

해서 있는지 확인 해보자.


vi ethernet-static


netctl enable profile

netctl reenable profile


ens2와 wls3 두개 있을 경우


netctl enable ens2

netctl enable wls3


자 재부팅 후 네트웍이 자동으로 살아 난다.

centos 7 도 이런 방식으로 바뀌는 추세다.

arch linux 이런식으로 변화 되었다.

이제 리눅스 사용자들의 혼란이 좀 있을 것 같다.


-끝-

반응형
Posted by Dream Come True