Bitwise Posted May 4, 2017 Share Posted May 4, 2017 Hi, I just received my Bunny and wanted to start to play with it, but i'm stuck with the autoconfig for the ICS. Ran sudo ./bb.sh, did the guided config. everything went ok. Afer that i ssh-ed into 172.16.64.1 from 172.16.64.10 and tried pinging out to 8.8.8.8 but didn get any response. So i checked my routes and saw that the default gateway was set to 172.16.64.64 instead of my 172.16.64.10. So removed default gateway with : route del default gw 172.16.64.64 And added a new one: route add default gw 172.16.64.10 Now i tried pinging again and it works, got a response. now if i reboot i have to do the del / add route procedure again to get a connection. Does anybody know how to resolve this? Quote Link to comment Share on other sites More sharing options...
b0N3z Posted May 4, 2017 Share Posted May 4, 2017 the ICS ip for the bunny is 172.16.64.64 and then you can ssh into it with 172.16.64.1 and should have a connection. Ive used the guided setup with the pineapple and tried with the bunny but have never had luck and alternatively switch to using bb.sh with the manual setup. From your post you seem like you know what your doing with ip address and using the manual configuration for bb.sh should be easy. when asked for your gateway, use your routers gateway not the bunny or pc. also if you have ufw on it will cause problems. Quote Link to comment Share on other sites More sharing options...
LowValueTarget Posted May 4, 2017 Share Posted May 4, 2017 bb.sh never worked for me. Here's as simple script I made to make it work for me #!/bin/bash ifconfig $2 172.16.64.64 netmask 255.255.255.0 iptables -X iptables -F iptables -A FORWARD -i $1 -o $2 -s 172.16.64.0/24 -m state --state NEW -j ACCEPT iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A POSTROUTING -t nat -j MASQUERADE echo 1 > /proc/sys/net/ipv4/ip_forward Then I just feed it the wan iface and lan iface sh ./bbshare.sh eth0 eth1 1 Quote Link to comment Share on other sites More sharing options...
Bitwise Posted May 7, 2017 Author Share Posted May 7, 2017 Thanks for the replies.. I found a way to make it work.. Everytime i want to connect the bunny, i start bb.sh and select [G]uided then press [enter] twice, plugin the bunny and now somehow it gives me the right addresses.. Quote Link to comment Share on other sites More sharing options...
Bitwise Posted May 7, 2017 Author Share Posted May 7, 2017 P.s. after the [enter] i'm also pressing [c]... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.