라우터에 OpenWrt 설치하기

라우터의 하드웨어가 문제인지 소프트웨어가 문제인지 와이파이가 자주 끊겨서 펌웨어를 바꿔 보기로 했다. 버전 18.06.4를 설치했다.

2019 년 10 월 18 일 금요일 오후 1:05:50 MDT

1   OpenWrt 펌웨어 업그레이드 및 재설정하기

처음 설치했던 버전 18.06.4를 21.02.2로 업데이트했다.

2022 년 2 월 20 일 일요일 오전 10:24:42 MST
  1. System ⇒ Flash Firmware
    • Flash new firmware image
      • Keep settings and retain the current configuration: Uncheck
      • Flash
  2. Login without password
  3. System ⇒ Administration
    • Router Password
  4. System ⇒ System
    • General Settings
      • Hostname
      • Timezone
    • Language and Style
      • Design: BootstrapLight
  5. Network ⇒ Interfaces
    • LAN ⇒ Edit
      • IPv4 address
  6. Network ⇒ Wireless
    • Edit and enable default networks
    • Add a new guest network
      • Network: guest
  7. Network ⇒ Interfaces
    • Edit guest
      • General Settings
        • Protocol: Static address
        • IPv4 address
        • IPv4 netmask
      • Firewall Settings
        • Create firewall-zone: guest
      • DHCP Server
  8. Network ⇒ Firewall
    • Edit guest
      • Input: reject
      • Allow forward to destination zones: wan
    • Traffic Rules
      • Add Guest DHCP
        • Source zone: guest
        • Destination zone: Device (input)
        • Destination port: 67
      • Add Guest DNS
        • Source zone: guest
        • Destination zone: Device (input)
        • Destination port: 53
  9. System ⇒ Administration
    • SSH Access
      • Interface: lan
      • Port
      • Password authentication: Uncheck
      • Allow root logins with password: Uncheck
    • SSH-Keys
      • Add key: Drag the SSH public key file
  10. Run
    mkdhcp.sh > dhcp.cfg
    scp dhcp.cfg router-hostname:
    ssh router-hostname
    cat dhcp.cfg >> /etc/config/dhcp
  11. Network ⇒ DHCP and DNS
    • Static Leases
      • Save & Apply
  12. Network ⇒ Hostnames
    • Add hostnames
  13. Network ⇒ Firewall
    • Port Forwards

참고문헌

이 칸을 비워 두세요.