OpenWRT Custom Image erzeugen
Für D-Link 825 B1/C1: Barrier Breaker for ar71xx architecture
cd ~ mkdir openwrt && cd openwrt wget http://downloads.openwrt.org/snapshots/trunk/ar71xx/OpenWrt-ImageBuilder-ar71xx_generic-for-linux-x86_64.tar.bz2 tar -xvjf OpenWrt-ImageBuilder-ar71xx_generic-for-linux-x86_64.tar.bz2 cd OpenWrt-ImageBuilder-ar71xx_generic-for-linux-x86_64
Für Asus WL500gP: Barrier Breaker for brcm47xx architecture
cd ~ mkdir openwrt && cd openwrt wget http://downloads.openwrt.org/snapshots/trunk/brcm47xx/OpenWrt-ImageBuilder-brcm47xx_generic-for-linux-x86_64.tar.bz2 tar -xvjf OpenWrt-ImageBuilder-brcm47xx_generic-for-linux-x86_64.tar.bz2 cd OpenWrt-ImageBuilder-brcm47xx_generic-for-linux-x86_64
Beispiel:
Creating the directory for the configuration files, using scp to transfer uci configuration files from an OpenWrt router to the files/etc/config directory, generating an image for DIR825C1 with custom packages and uci configuration files.
mkdir -p files/etc/config
scp root@192.168.1.1:/etc/config/network files/etc/config/
scp root@192.168.1.1:/etc/config/wireless files/etc/config/
scp root@192.168.1.1:/etc/config/firewall files/etc/config/
make image PROFILE=DIR825C1 PACKAGES="liblua lua libuci-lua libubus-lua uhttpd uhttpd-mod-ubus luci-lib-ipkg luci-i18n-english luci-i18n-german luci-sgi-cgi luci-lib-core luci-lib-nixio luci-lib-sys luci-lib-web luci-proto-core luci-proto-ppp luci-theme-base luci-theme-openwrt luci-theme-bootstrap luci-mod-admin-core luci-mod-admin-full luci-app-firewall libiw libiwinfo libiwinfo-lua mii-tool net-tools-mii-tool net-tools-netstat zlib libopenssl openssl-util ssmtp luci-app-commands luci-app-diag-core kmod-tun liblzo openvpn-openssl git screen tcpdump rsync" FILES=files/
fürr D-Link B1-Revision:
make image PROFILE=DIR825B1 PACKAGES="liblua lua libuci-lua libubus-lua uhttpd uhttpd-mod-ubus luci-lib-ipkg luci-i18n-english luci-i18n-german luci-sgi-cgi luci-lib-core luci-lib-nixio luci-lib-sys luci-lib-web luci-proto-core luci-proto-ppp luci-theme-base luci-theme-openwrt luci-theme-bootstrap luci-mod-admin-core luci-mod-admin-full luci-app-firewall libiw libiwinfo libiwinfo-lua mii-tool net-tools-mii-tool net-tools-netstat zlib libopenssl openssl-util ssmtp luci-app-commands luci-app-diag-core kmod-tun liblzo openvpn-openssl git screen tcpdump rsync" FILES=files/
für D-Link 825 C1-Revision:
make image PROFILE=DIR825C1 PACKAGES="liblua lua libuci-lua libubus-lua uhttpd uhttpd-mod-ubus luci-lib-ipkg luci-i18n-english luci-i18n-german luci-sgi-cgi luci-lib-core luci-lib-nixio luci-lib-sys luci-lib-web luci-proto-core luci-proto-ppp luci-theme-base luci-theme-openwrt luci-theme-bootstrap luci-mod-admin-core luci-mod-admin-full luci-app-firewall libiw libiwinfo libiwinfo-lua mii-tool net-tools-mii-tool net-tools-netstat zlib libopenssl openssl-util ssmtp luci-app-commands luci-app-diag-core kmod-tun liblzo openvpn-openssl git screen tcpdump rsync" FILES=files/
für Asus WL500gP v1-Revision:
make image PROFILE= PACKAGES="liblua lua libuci-lua libubus-lua uhttpd uhttpd-mod-ubus luci-lib-ipkg luci-i18n-english luci-i18n-german luci-sgi-cgi luci-lib-core luci-lib-nixio luci-lib-sys luci-lib-web luci-proto-core luci-proto-ppp luci-theme-base luci-theme-openwrt luci-theme-bootstrap luci-mod-admin-core luci-mod-admin-full luci-app-firewall libiw libiwinfo libiwinfo-lua mii-tool net-tools-mii-tool net-tools-netstat zlib libopenssl openssl-util ssmtp luci-app-commands luci-app-diag-core kmod-tun liblzo openvpn-openssl git screen tcpdump rsync" FILES=files/
Make sure to remove the /tmp directory to get modified package selection from profiles to work.
← zurück