Jump to content

bb.sh guided works, cannot connect or ssh


shadesoflight

Recommended Posts

I'm on openSUSE Tumbleweed. The problem is that guided setup finishes fine, but "Connect" just stays at "detecting".  I cannot ssh into 172.16.64.64 or 172.16.64.1

Edit: I _can_ ping 172.16.64.64 but I cannot connect to the internet with the bunny plugged in so I'm guessing internet is not quite shared yet.


After guided setup, I have this in my bb.sh:

bbver=1
sbunnynmask=255.255.255.0
sbunnynet=172.16.64.0/24
sbunnylan=enp0s20f0u6c2
sbunnywan=wlp4s0
sbunnygw=192.168.43.1
sbunnyhostip=172.16.64.64
sbunnyip=172.16.64.1
sfirsttime=0

The results of running "ip addr" is the following:
_before_ plugging in the bunny:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: wlp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether e4:a7:a0:25:8f:dc brd ff:ff:ff:ff:ff:ff
    inet 192.168.43.20/24 brd 192.168.43.255 scope global dynamic wlp4s0
       valid_lft 2866sec preferred_lft 2866sec
    inet6 fe80::96ba:2993:def5:6187/64 scope link 
       valid_lft forever preferred_lft forever
3: enp0s31f6: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether c8:5b:76:4d:d2:22 brd ff:ff:ff:ff:ff:ff
    inet 172.16.64.64/24 brd 172.16.64.255 scope global enp0s31f6
       valid_lft forever preferred_lft forever

_after_ plugging in the bunny:
 

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: wlp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether e4:a7:a0:25:8f:dc brd ff:ff:ff:ff:ff:ff
    inet 192.168.43.20/24 brd 192.168.43.255 scope global dynamic wlp4s0
       valid_lft 2824sec preferred_lft 2824sec
    inet6 fe80::96ba:2993:def5:6187/64 scope link 
       valid_lft forever preferred_lft forever
3: enp0s31f6: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether c8:5b:76:4d:d2:22 brd ff:ff:ff:ff:ff:ff
    inet 172.16.64.64/24 brd 172.16.64.255 scope global enp0s31f6
       valid_lft forever preferred_lft forever
28: enp0s20f0u6c2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 00:11:22:33:44:55 brd ff:ff:ff:ff:ff:ff
    inet 172.16.64.64/24 brd 172.16.64.255 scope global enp0s20f0u6c2
       valid_lft forever preferred_lft forever
    inet6 fe80::6450:292d:7ae8:4335/64 scope link 
       valid_lft forever preferred_lft forever



 

Edited by shadesoflight
Link to comment
Share on other sites

Follow-up:  I ran the command manually

ifconfig enp0s20f0u6c2 172.16.64.64 netmask 255.255.255.0 up

this results in the bunny at 172.16.64.64 -- but the ping command to check for it is pinging 172.16.64.1 (why?)

changing the "bunnyip" to 172.16.64.64 allows the bunny to be detected -- I still can't ssh into it though

Link to comment
Share on other sites

  • 2 weeks later...
On 3/19/2017 at 7:05 AM, shadesoflight said:

changing the "bunnyip" to 172.16.64.64 allows the bunny to be detected -- I still can't ssh into it though

That's because the Bash Bunny is at 172.16.64.1. Changing the IP to the one assigned to your machine will just mean that you are pinging yourself.

As to why bb.sh doesn't work, can you post any output that the script may give you?

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.

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