dts 파일 컴파일

dts – device tree source textdtb – device tree blob ~/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_rt305x/linux-3.10.36/scripts/dtc/dtc \-O dtb \-o ~/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_rt305x/SR-K100.dtb \~/openwrt/target/linux/ramips/dts/SR-K100.dts

dts 파일 컴파일 더 읽기"

OpenWRT Boot Sequence

1) Bootloader (uboot, redboot, adam2, grub, …) 2) Linux kernel starts, tries to find the mtd partition called “rootfs”, mounts it 3) Linux executes /etc/preinit 4) Preinit waits a few seconds for failsafe triggering 5) Preinit mounts or initializes the jffs2 overlay 6) Preinit loads kernel modules specified in /etc/modules.d/ 7) Preinit executes hotplug2, a

OpenWRT Boot Sequence 더 읽기"

OpenWRT BuildRoot 빌드 방법

▤ RT305x 타겟보드를 기준으로 설명. ■ OpenWRT BuildRoot 다운로드 git clone git://git.openwrt.org/openwrt.git ▷종류 별12.09 branch (Attitude Adjustment)git clone git://git.openwrt.org/12.09/openwrt.gitgit clone git://git.openwrt.org/12.09/packages.git ■ 디렉토리를 이동한다. cd openwrt ■ feeds feeds는 OpenWRT 패키지의 업데이트/다운로드/빌드 스크립트.설정파일 : ./feeds.conf.default 최신버전으로 패키지 목록을 업데이트 한다.’-a’ 는 특정 패키지가 아닌 모든 패키지를 의미한다. ./scripts/feeds update -a./scripts/feeds install -a ■ OpenWRT 나만의

OpenWRT BuildRoot 빌드 방법 더 읽기"

OpenWRT VLAN 설정

■ 가용한 포트와 상태 보기 # swconfig dev rt305x showGlobal attributes:        enable_vlan: 1        alternate_vlan_disable: 0Port 0:        disable: 0        doubletag: 0        untag: 1        led: 5        lan: 1        recv_bad: 0        recv_good: 0        pvid: 1        link: port:0 link:downPort 1:        disable: 0        doubletag: 0        untag: 1        led: 5        lan: 1        recv_bad: 0        recv_good: 21375        pvid: 1        link: port:1 link:up

OpenWRT VLAN 설정 더 읽기"

OpenWRT에 pure-ftpd 설치하기

1. libelf 설치 wget -P /tmp http://192.168.1.2/libelf_0.8.13-1_ramips.ipkopkg install /tmp/libelf_0.8.13-1_ramips.ipk 2. pure-ftpd 설치 wget -P /tmp http://192.168.1.2/pure-ftpd_1.0.32-3_ramips.ipkopkg install /tmp/pure-ftpd_1.0.32-3_ramips.ipk 3. root 패스워드 변경 passwd root이후로는 ssh로만 접속가능 4. /etc/init.d/pure-ftpd restart orpure-ftpd -B 5. /etc/init.d/pure-ftpd enable

OpenWRT에 pure-ftpd 설치하기 더 읽기"

ipTIME N604M

wget http://192.168.1.2/openwrt-ramips-rt305x-rt-g32-b1-squashfs-sysupgrade.bin -P /tmpmtd -r write /tmp/openwrt-ramips-rt305x-rt-g32-b1-squashfs-sysupgrade.bin firmwaresysupgrade -v /tmp/openwrt-ramips-rt305x-rt-g32-b1-squashfs-sysupgrade.bin make image PROFILE=”RTG32B1″ PACKAGES=” \base-files \busybox \dnsmasq \dropbear \firewall \hotplug2 \ip \iptables \iw \kernel \kmod-button-hotplug \kmod-cfg80211 \kmod-crypto-aes \kmod-crypto-arc4 \kmod-crypto-core \kmod-eeprom-93cx6 \kmod-gpio-button-hotplug \kmod-input-core \kmod-input-gpio-keys-polled \kmod-input-polldev \kmod-ipt-conntrack \kmod-ipt-core \kmod-ipt-nat \kmod-ipt-nathelper \kmod-leds-gpio \kmod-lib-crc-ccitt \kmod-lib-crc-itu-t \kmod-mac80211 \kmod-nls-base \kmod-ppp \kmod-pppoe \kmod-pppox \kmod-rt2800-lib \kmod-rt2800-pci \kmod-rt2x00-lib \kmod-rt2x00-pci \kmod-rt2x00-soc \libc \libgcc \libgcrypt \libgpg-error

ipTIME N604M 더 읽기"

TP-Link TL-WR740N

wget http://192.168.1.2/openwrt-ar71xx-generic-tl-wr740n-v4-squashfs-factory.binsysupgrade -v /tmp/openwrt-ar71xx-generic-tl-wr740n-v4-squashfs-factory.bin # origmake image PROFILE=TLWR740 PACKAGES=”base-files busybox dnsmasq dropbear firewall \hotplug2 iptables iw jshn kernel kmod-ath kmod-ath9k kmod-ath9k-common kmod-cfg80211 \kmod-crypto-aes kmod-crypto-arc4 kmod-crypto-core kmod-gpio-button-hotplug \kmod-ipt-conntrack kmod-ipt-core kmod-ipt-nat kmod-ipt-nathelper kmod-leds-gpio \kmod-ledtrig-default-on kmod-ledtrig-netdev kmod-ledtrig-timer -kmod-ledtrig-usbdev kmod-lib-crc-ccitt \kmod-mac80211 kmod-nls-base kmod-ppp kmod-pppoe kmod-pppox -kmod-usb-core -kmod-usb-ohci \-kmod-usb2 kmod-wdt-ath79 libblobmsg-json libc libgcc libip4tc libiwinfo libiwinfo-lua libjson \liblua libnl-tiny libubox

TP-Link TL-WR740N 더 읽기"

OpenWRT StrongSwan IPSec VPN 설정

■ 시험 환경 – OpenBSDWAN IP: 10.10.10.51LAN IP : 192.168.10.254LAN Network : 192.168.10.0/24Test PC : 192.168.10.2 – OpenWRT RouterWAN IP : 10.10.10.250LAN IP : 192.168.1.1LAN Network : 192.168.1.0/24Test PC : 192.168.1.2 ■ OpenWRT Router 설정 ▶ /etc/config/ipsec # /etc/config/ipsecconfig ‘ipsec’  option ‘zone’ ‘vpn’  list listen ” config ‘remote’ ‘acme’  option ‘enabled’ ‘1’  option ‘gateway’ ‘10.10.10.51’ 

OpenWRT StrongSwan IPSec VPN 설정 더 읽기"

위로 스크롤