summaryrefslogtreecommitdiffstats
path: root/minikrebs/doc/QUICKSTART
blob: de2c7362f22aa0ef5a5fd1da2e9c0db85364aff1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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}}

    ifconfig eth0 192.168.0.1 && dnsmasq -d