Difference between revisions of "openwrt guide"

From thelinuxwiki
Jump to: navigation, search
(Created page with " ==changing network setting== Edit /etc/config/network directly Run /etc/init.d/network restart ===disabling ipv4=== uci set 'network.lan.ipv6=off' uci set 'network.wan...")
 
 
(One intermediate revision by one user not shown)
Line 7: Line 7:
 
Run /etc/init.d/network restart
 
Run /etc/init.d/network restart
  
===disabling ipv4===
+
===disabling ipv6===
  
 
  uci set 'network.lan.ipv6=off'
 
  uci set 'network.lan.ipv6=off'
Line 15: Line 15:
 
  uci commit
 
  uci commit
  
???
+
===installing openssh===
 +
 
 +
[https://openwrt.org/docs/guide-user/services/ssh/openssh_instead_dropbear Replace Dropbear to OpenSSH + SFTP]
  
 
[[category:openwrt]]
 
[[category:openwrt]]

Latest revision as of 16:13, 7 May 2024


changing network setting

Edit /etc/config/network directly

Run /etc/init.d/network restart

disabling ipv6

uci set 'network.lan.ipv6=off'
uci set 'network.wan.ipv6=off'
uci set 'dhcp.lan.dhcpv6=disabled'
/etc/init.d/odhcpd disable
uci commit

installing openssh

Replace Dropbear to OpenSSH + SFTP