selfjungle Just another WordPress weblog

21Apr/150

openwrt post-flash

# set root password
telnet 192.168.1.1
  passwd

# install web UI
ssh root@192.168.1.1
  opkg update
# if you'll get 404 errors, edit /etc/opkg.conf and change the package paths:
# https://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/packages
  opkg install luci-ssl
# if you have default_postinst: not found, script returned status 127 errors, check if the package version is ok: http://downloads.openwrt.org/barrier_breaker/14.07-rc3/ar71xx/generic/packages maybe?
# remove & try again:
opkg remove --force-remove luci-ssl px5g libustream-polarssl libpolarssl luci luci-proto-ppp luci-mod-admin-full luci-base luci-lib-nixio  uhttpd-mod-ubus  uhttpd lua luci-app-firewall  luci-theme-bootstrap libiwinfo-lua liblua libuci-lua rpcd luci-lib-ip libubus-lua

# start web server
/etc/init.d/uhttpd start
/etc/init.d/uhttpd enable

# enable wifi
uci set wireless.@wifi-device[0].disabled=0; uci commit wireless; wifi
uci show wireless | grep disabled

login to https://192.168.1.1 and do the rest...

Tagged as: No Comments