라우터에 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
- System ⇒ Flash Firmware
- Flash new firmware image
- Keep settings and retain the current configuration: Uncheck
- Flash
- Flash new firmware image
- Login without password
- System ⇒ Administration
- Router Password
- System ⇒ System
- General Settings
- Hostname
- Timezone
- Language and Style
- Design: BootstrapLight
- General Settings
- Network ⇒ Interfaces
- LAN ⇒ Edit
- IPv4 address
- LAN ⇒ Edit
- Network ⇒ Wireless
- Edit and enable default networks
- Add a new guest network
- Network: guest
- Network ⇒ Interfaces
- Edit guest
- General Settings
- Protocol: Static address
- IPv4 address
- IPv4 netmask
- Firewall Settings
- Create firewall-zone: guest
- DHCP Server
- General Settings
- Edit guest
- 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
- Add Guest DHCP
- Edit guest
- 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
- SSH Access
- Run
mkdhcp.sh > dhcp.cfg scp dhcp.cfg router-hostname: ssh router-hostname cat dhcp.cfg >> /etc/config/dhcp
- Network ⇒ DHCP and DNS
- Static Leases
- Save & Apply
- Static Leases
- Network ⇒ Hostnames
- Add hostnames
- Network ⇒ Firewall
- Port Forwards