diff options
author | makefu <root@pigstarter.de> | 2013-01-14 00:50:15 +0000 |
---|---|---|
committer | makefu <root@pigstarter.de> | 2013-01-14 00:50:15 +0000 |
commit | a2195f3c9f382acebcf49b3043944f34609e4550 (patch) | |
tree | c542ab73193cd81ecd6482806c05b2fb6560cdae /minikrebs/doc/QUICKSTART | |
parent | b6144a1e1b24a82d479741edd12fa3ad7a744c58 (diff) | |
parent | abf9916bc1add17888308877fa4eb9da330297ef (diff) |
Merge branch 'master' of https://github.com/krebscode/painload
Diffstat (limited to 'minikrebs/doc/QUICKSTART')
-rw-r--r-- | minikrebs/doc/QUICKSTART | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/minikrebs/doc/QUICKSTART b/minikrebs/doc/QUICKSTART new file mode 100644 index 00000000..ac4ae384 --- /dev/null +++ b/minikrebs/doc/QUICKSTART @@ -0,0 +1,37 @@ +# Quickstart to get your own own krebs on wr703n + +!important this is pseudo code, so please use your brains + + cd /krebs/minikrebs + ./prepare krebs + builder/init + +# Stock image +connect to krebs + + dhclient eth0 + firefox 192.168.1.1 + {{goto the firmware-upgrade page}} + {{upload ../builder/bin/ar71xx/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin}} + {{wait}} + {{reconnect power}} + +# Upgrade image + + {{ start krebs in recovery mode}} + ifconfig eth0 192.168.1.3 + sysctl net.ipv4.ip_forward=1 + iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE #assuming wlan0 provides internet access + telnet 192.168.1.1 + mount_root + passwd + /etc/init.d/dropbear start + exit + OWN_IP=192.168.1.3 ./upgrade 192.168.1.1 + {{reconnect power}} + {{password is minikrebs}} + +# when minikrebs is in dhcp-client mode + echo 'dhcp-range=192.168.0.50,192.168.0.150,12h' > /etc/dnsmasq.conf + ifconfig eth0 192.168.0.1 && dnsmasq -d + |