티스토리 뷰
728x90
/etc/rc.local 파일 rc.local
#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. # Print the IP address _IP=$(hostname -I) || true if [ "$_IP" ]; then printf "My IP address is %s\n" "$_IP" fi exit 0
/etc/network/interfaces 파일 interfaces
# interfaces(5) file used by ifup(8) and ifdown(8) # Please note that this file is written to be used with dhcpcd # For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf' # Include files from /etc/network/interfaces.d: source-directory /etc/network/interfaces.d auto lo iface lo inet loopback iface eth0 inet manual allow-hotplug wlan0 iface wlan0 inet manual wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf allow-hotplug wlan1 iface wlan1 inet manual wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
/etc/wpa_supplicant/wpa_supplicant.conf 파일 wpa_supplicant.conf
country=GB ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1
펌웨어 업그레이드
$ sudo BRANCH=next rpi-update $ sudo shutdown -r now
WIFI 자동연결 설정
출처 : Setting up WiFi connection
$ sudo vi /etc/network/interfaces
내용 추가
auto wlan0
WIFI 절약모드 끄기
$ sudo iwconfig wlan0 power off
서비스 비활성화
$ sudo update-rc.d nginx disable $ sudo update-rc.d supervisor disable
댓글
300x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- 동경
- 레이싱모델 익스트림 포토 페스티벌
- ffmpeg
- flex
- Linux
- 서울오토살롱
- KOBA
- Java
- SAS
- JavaScript
- BPI-M4
- Spring MVC
- oracle
- 지스타2007
- Xcode
- MySQL
- Delphi Tip
- 튜닝쇼 2008
- NDK
- 송주경
- ubuntu
- ble
- Spring
- android
- 일본여행
- 전예희
- sas2009
- Mac
- Delphi
- koba2010
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
글 보관함