blob: ac4ae38480597b458dddc687acc790e96c12efcc (
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
35
36
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
|