[OpenWRT] 실시간 로그 보기
logread -f
https://oldwiki.archive.openwrt.org/toh/netis/wf-2881 http://netiskorea.com/product.php?uid=50&model=WF2881
Image configuration [*] Preinit configuration options > 내부 네트워크 주소 변경 [*] Version configuration options > 제품명 및 버전정보 변경
OpenWRT menuconfig에서 내부네트워크 및 제품명 변경하기 더 읽기"
◎테스트 장비: ipTIME A1004 (Entry Point Address: 0x8000C150) ◎신 이미지: openwrt-18.06.5-ramips-mt7620-mt7620a_mt7530-squashfs-sysupgrade.bin ◎준비물: HxD Hexa Editor, CRC32 체크섬 (https://emn178.github.io/online-tools/crc32_checksum.html) ※uImage Header /* * Legacy format image header, * all data in network byte order (aka natural aka bigendian). */ typedef struct image_header { uint32_t ih_magic; /* Image Header Magic Number */ uint32_t ih_hcrc; /* Image Header
ipTIME 공유기 커스텀 펌웨어 플래싱 방법 더 읽기"
■공식 펌웨어 이미지(.bin) 구성 Scan Time: 2019-12-08 21:39:20 Signatures: 193 Target File: a1004_kr_10_072.bin MD5 Checksum: de6963f995259349e8c873640cfb6f10 DECIMAL HEX DESCRIPTION ——————————————————————————————————- 0 0x0 uImage header, header size: 64 bytes, header CRC: 0xA7B947AD, created: Tue Sep 4 15:36:57 2018, image size: 3681097 bytes, Data Address: 0x80000000, Entry Point: 0x8000C150, data CRC: 0xC03DB7A2, OS: Linux, CPU: MIPS,
setup_openwrt_openvpn_uci.sh
[WeVO 11AC NAS] UCI를 사용한 OpenVPN 설정 더 읽기"
setup_openwrt_openvpn_conf.sh
[WeVO 11AC NAS] OpenVPN 인증서 설정파일(ovpn) 만들기 더 읽기"
아래 스크립트를 리눅스에서 실행하여 GeoIP DB를 만든다. 아래 스크립트를 OpenWRT에서 실행하여 GeoIP를 설치한다. download_geoip_in_pc.sh 10_setup_geoip.sh
[WeVO 11AC NAS] GeoIP 적용하기 더 읽기"
■ 펌웨어 플래싱 1. 사용자 PC에서 scp를 이용하여 펌웨어를 밀어넣는다. rmdir /S /Q %USERPROFILE%\.ssh scp openwrt-18.06.5-ramips-mt7621-11acnas-squashfs-sysupgrade.bin root@192.168.1.1:/tmp 2. OpenWRT CLI(192.168.1.1)에 접속하여 아래 명령으로 펌웨어를 플래싱한다. mtd -r write /tmp/openwrt-18.06.5-ramips-mt7621-11acnas-squashfs-sysupgrade.bin firmware ■ xr_geoip 플래싱 1. 사용자 PC에서 scp를 이용하여 파일을 밀어넣는다. rmdir /S /Q %USERPROFILE%\.ssh scp openwrt_xt_geoip_20191106.tar.gz root@192.168.1.1:/tmp 2. OpenWRT CLI(192.168.1.1)에 접속하여 아래 명령으로 적용한다. rm
[WeVO 11AC NAS] CLI에서 펌웨어 플래싱 및 공장초기화 더 읽기"
57600 / 7 / Odd / 1 Ralink RT3350 id:1 rev:2 (320MHz) 212.58 BogoMIPS Asus RT-G32 B1 (rt-g32-b1) console=ttyS0,57600 rootfstype=squashfs,jff Memory: 29292k/32768k rt2880-pinmux
[SL-R6804] 시리얼 연결 및 보드 정보 더 읽기"
OpenWRT를 빌드 후 openwrt/bin/targets/ramips/rt305x 디렉토리에 가면 openwrt-imagebuilder-18.06.5-ramips-rt305x.Linux-x86_64.tar.xz가 있으며, 이 빌더를 사용해 패키지를 손쉽게 구성하여 이미지를 생성할 수 있다. ■ 다운로드: http://downloads.openwrt.org/releases/18.06.5/targets/ramips/rt305x/openwrt-imagebuilder-18.06.5-ramips-rt305x.Linux-x86_64.tar.xz ■ 사용방법: https://openwrt.org/docs/guide-user/additional-software/imagebuilder https://openwrt.org/docs/guide-user/additional-software/saving_space make info : 이미지 생성이 가능한 타켓들을 보여준다. make clean : 초기화 make build : 이미지를 생성한다. ■ 예제: make clean make image PROFILE=”rt-g32-b1″ \ EXTRA_IMAGE_NAME=”sl_r6804″ \ PACKAGES=”uhttpd uhttpd-mod-ubus libiwinfo-lua
[SL-R6804] Image Builder를 사용한 이미지 생성 더 읽기"
vi ~/.bash_profile 해서 export TERM=xterm 추가 후 SSH 클라이언트의 터미널 타입도 동일하게 셋팅
make menuconfig 에서 글자가 깨져 나올 때 조치방법 더 읽기"
umount /overlay && jffs2reset && reboot now
OpenWRT CLI에서 Hard Factory Reset 더 읽기"
1. 사용자 PC에서 scp를 이용하여 펌웨어를 밀어넣는다. rmdir /S /Q %USERPROFILE%\.ssh scp openwrt-18.06.4-r7808-ef686b7292-ramips-mt7621-11acnas-squashfs-sysupgrade.bin root@192.168.1.1:/tmp 2. OpenWRT CLI에 접속하여 아래 명령으로 펌웨어를 플래싱한다. mtd -r write /tmp/openwrt-18.06.4-r7808-ef686b7292-ramips-mt7621-11acnas-squashfs-sysupgrade.bin firmware
[WeVO 11AC NAS] OpenWRT CLI에서 펌웨어 업데이트 더 읽기"