'우분투'에 해당되는 글 2건

우분투의 런레벨은 아래와 같다. 

  0 : halt
  1 : single
  2 : default (GUI)
  3 : GUI
  4 : GUI
  5 : GUI
  6 : reboot
 

현재 런 레벨을 확인하려면 아래와 같이 입력한다. 

  $ who -r

'linux' 카테고리의 다른 글

Iconv 로 인코딩 변경하기  (0) 2011.09.26
LFS(Linux From Scratch)  (0) 2011.09.23
화면 캡쳐하는 방법  (0) 2011.09.21
svn+ssh 사용법  (0) 2011.09.21
shell script  (0) 2011.09.21
블로그 이미지

김유석0

,

데비안 계열에서는 아래 설정 파일을 통해 네트웍 설정을 변경합니다.

 

 

/etc/network/interface

 

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
 auto eth0
 iface eth0 dhcp
 iface eth0 inet static
 address 192.168.1.69
 netmask 255.255.255.0
 network 192.168.1.0
 broadcast 192.168.1.255
 gateway 192.168.1.1
 dns-nameservers 168.126.63.1

 

우부투 계열에서도 interface 설정 파일을 사용하지만 만약 gnome desktop 에서 네트웍 관련 설정을 건드리게 되면 interface 설정 파일을 무력화 됩니다.

 

 이후에는 아래 위치에 있는 설정 파일을 사용하게 됩니다.

 

/etc/NetworkManager/system-connections/Auto eth0

 

 

 만약 /etc/network/interface 설정 파일을 사용하고 싶다면 "Auto eth0" 파일을 삭제하면 됩니다.

 

 

'linux' 카테고리의 다른 글

shell script  (0) 2011.09.21
init.d run script 를 쉽게 각 run level 에 등록하는  (0) 2011.09.21
MAC 변경하는 법  (0) 2011.09.21
윈도우용 서브버전 클라이언트 TOTOISE  (0) 2011.09.21
windows hosts 파일 위치  (0) 2011.09.21
블로그 이미지

김유석0

,