Jump to content

Problems with bb.sh and ICS


Recommended Posts


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 from and tried pinging out to but didn get any response. 

So i checked my routes and saw that the default gateway was set to instead of my

So removed default gateway with : route del default gw

And added a new one: route add default gw

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? 




Link to comment
Share on other sites

the ICS ip for the bunny is and then you can ssh into it with 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.

Link to comment
Share on other sites

bb.sh never worked for me. Here's as simple script I made to make it work for me

ifconfig $2 netmask
iptables -X
iptables -F
iptables -A FORWARD -i $1 -o $2 -s -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


  • Upvote 1
Link to comment
Share on other sites

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.. 



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...