Changes between Version 59 and Version 60 of WikiStart
- Timestamp:
- May 16, 2013, 6:20:16 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v59 v60 112 112 113 113 ## use scp to upload all packages for install 114 scp -r packages root@192.168.1.20:/tmp/ 114 #type yes/enter password 115 scp -r packages root@192.168.1.1:/tmp/ 115 116 116 117 ## use ssh to uninstall wpad and install other packages 117 ssh root@192.168.1. 20 "opkg remove wpad-mini;install /tmp/packages/*.ipk;exit"118 ssh root@192.168.1.1 "opkg remove wpad-mini;opkg install /tmp/packages/*.ipk;exit" 118 119 119 120 ## use scp to backup current config files to local pc for use as template 120 121 mkdir backup 121 scp -r root@192.168.1. 20:/etc backup/122 scp -r root@192.168.1.1:/etc backup/ 122 123 }}} 123 124 … … 139 140 cp backup/etc/config/wireless customize/etc/config/ 140 141 141 cp backup/etc/init.d/openvpn customize/etc/ config/142 cp backup/etc/init.d/sysntpd customize/etc/ config/143 144 cp backup/etc/firewall.user customize/etc/ config/145 cp backup/etc/inittab customize/etc/ config/146 cp backup/etc/rc.local customize/etc/ config/147 148 touch customize/ etc/sbin/wifi-update142 cp backup/etc/init.d/openvpn customize/etc/init.d/ 143 cp backup/etc/init.d/sysntpd customize/etc/init.d/ 144 145 cp backup/etc/firewall.user customize/etc/ 146 cp backup/etc/inittab customize/etc/ 147 cp backup/etc/rc.local customize/etc/ 148 149 touch customize/sbin/wifi-update 149 150 touch customize/usr/sbin/iopenvpn 150 151 … … 387 388 option channel 5 #! Unique channels must be set since multiple AP's at one site differs 1,6,11! <--- 388 389 option macaddr MACADDRESS # this will be set by another script, leave it alone!!! <--- 389 option hwmode 11 bg #when using 5ghz vs 2,4ghz '11na' must be set! <---390 option hwmode 11ng #when using 5ghz vs 2,4ghz '11na' must be set! <--- 390 391 option htmode HT20 391 392 list ht_capab SHORT-GI-40 … … 552 553 tar -xf $nameofyour.tar 553 554 cp keys/* customize/etc/openvpn/ 554 555 555 }}} 556 557 Fix file permissions! 558 {{{ 559 chmod +x customize/usr/sbin/iopenvpn 560 561 chmod +x customize/sbin/wifi-update 562 563 chmod +x customize/etc/init.d/sysntpd 564 565 chmod +x customize/etc/init.d/openvpn 566 567 chmod +x customize/etc/openvpn/up.sh 568 569 chmod +x customize/etc/rc.local 570 571 chmod +x customize/etc/firewall.user 572 573 chmod +x customize/etc/inittab 556 574 }}} 557 575 … … 559 577 {{{ 560 578 ## copy/install customized template to AP 561 scp -r customize/ root@192.168.1.100:/579 scp -r customize/* root@192.168.1.1:/ 562 580 563 581 ## login