Jump to content
vay3t

usb0 and usb1 not found

Recommended Posts

I did a factory reset to my bashbunny v1.5_298 and now when I connect it, the interfaces usb0 and usb1 are not created. here is the dmesg:

 

[  465.206690] usb 3-1: new high-speed USB device number 5 using xhci_hcd
[  465.347433] usb 3-1: New USB device found, idVendor=f000, idProduct=fff0, bcdDevice= 3.33
[  465.347439] usb 3-1: New USB device strings: Mfr=2, Product=3, SerialNumber=7
[  465.347443] usb 3-1: Product: RNDIS/Ethernet Gadget
[  465.347446] usb 3-1: Manufacturer: Linux 3.4.39 with sunxi_usb_udc
[  465.347448] usb 3-1: SerialNumber: ch000001

 

Share this post


Link to post
Share on other sites

I think Seb pinned a post in the Bash Bunny forum somewhere with the image for the bash bunny. Possibly try flashing that onto the bunny...? It may be a few versions behind, but when you update it, everything should work just fine.

 

EDIT: Almost forgot the link: https://wiki.bashbunny.com/#!downloads.md

Edited by MB60893
Forgot the link!

Share this post


Link to post
Share on other sites

I have the latest version. i cna access from serial console

 

root@bunny:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 9a:ff:91:11:11:11 brd ff:ff:ff:ff:ff:ff
3: tunl0: <NOARP> mtu 1480 qdisc noop state DOWN group default 
    link/ipip 0.0.0.0 brd 0.0.0.0
4: gre0: <NOARP> mtu 1476 qdisc noop state DOWN group default 
    link/gre 0.0.0.0 brd 0.0.0.0
5: sit0: <NOARP> mtu 1480 qdisc noop state DOWN group default 
    link/sit 0.0.0.0 brd 0.0.0.0
6: ip6tnl0: <NOARP> mtu 1452 qdisc noop state DOWN group default 
    link/tunnel6 :: brd ::

 

Edited by vay3t

Share this post


Link to post
Share on other sites

 

dmesg of bash bunny, i updated to 1.6 and i have same problem 😕

[    9.433432] usb open backing file: /dev/nandf, 0xd3c50800
[    9.433693] g_ether gadget: Mass Storage Function, version: 2009/09/11
[    9.433718] g_ether gadget: Number of LUNs=1
[    9.433749]  lun0: LUN: removable file: /dev/nandf
[    9.433805] gadget_is_softwinner_otg is not -int
[    9.433824] gadget_is_softwinner_otg is not -int
[    9.433862] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[    9.433905] g_ether gadget: g_ether ready
[    9.960079] g_ether gadget: high-speed config #2: CDC Ethernet (ECM)
[   21.355771] WRN:L1135(drivers/usb/sunxi_usb/udc/sunxi_udc.c):handle_ep0: ep0 setup end

 

Share this post


Link to post
Share on other sites
Posted (edited)

usb0 becomes available when using the ATTACKMODE RNDIS_ETHERNET or ECM_ETHERNET
Not by default in Arming-mode (switch 3)

 

[    7.757706] usb0: MAC AA:AA:AA:AA:AA:AA
[    7.757729] usb0: HOST MAC AA:AA:AA:AA:AA:AA
[    7.757834] gadget_is_softwinner_otg is not -int
[    7.757846] gadget_is_softwinner_otg is not -int
[    7.757881] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[    7.757913] g_ether gadget: g_ether ready
[    7.990441] ADDRCONF(NETDEV_UP): usb0: link is not ready
[    8.013252] WRN:L1075(drivers/usb/sunxi_usb/udc/sunxi_udc.c):ERR: dev->driver->setup failed. (-22)
[    8.514014] g_ether gadget: high-speed config #1: RNDIS
[    8.514971] ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
[   12.080124] CPU Budget: Temperature: 69 Limit state:0 item[1200000,4,-1,0 0]
[   12.080166] [ddrfreq] temperature=69 C, ddr freq up
[   12.580133] CPU Budget: Temperature: 70 Limit state:1 item[1200000,3,-1,0 0]
[   12.580169] [ddrfreq] temperature=70 C, ddr freq up
[   13.080224] CPU Budget: Temperature: 69 Limit state:0 item[1200000,4,-1,0 0]
[   13.080265] [ddrfreq] temperature=69 C, ddr freq up
[   18.550063] usb0: no IPv6 routers present
[  112.181765] g_ether gadget: high-speed config #1: RNDIS
[  173.080120] CPU Budget: Temperature: 70 Limit state:1 item[1200000,3,-1,0 0]
[  173.080162] [ddrfreq] temperature=70 C, ddr freq up
root@bunny:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN group default
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether aa:aa:aa:aa:aa:aa brd ff:ff:ff:ff:ff:ff
3: tunl0: <NOARP> mtu 1480 qdisc noop state DOWN group default
    link/ipip 0.0.0.0 brd 0.0.0.0
4: gre0: <NOARP> mtu 1476 qdisc noop state DOWN group default
    link/gre 0.0.0.0 brd 0.0.0.0
5: sit0: <NOARP> mtu 1480 qdisc noop state DOWN group default
    link/sit 0.0.0.0 brd 0.0.0.0
6: ip6tnl0: <NOARP> mtu 1452 qdisc noop state DOWN group default
    link/tunnel6 :: brd ::
7: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether aa:aa:aa:aa:aa:aa brd ff:ff:ff:ff:ff:ff
    inet 172.16.64.1/24 brd 172.16.64.255 scope global usb0
    inet6 fe80::aaaa:aa:aaaa:aaaa/64 scope link
       valid_lft forever preferred_lft forever

 

Edited by WatskeBart
added command - ip a

Share this post


Link to post
Share on other sites

Hi, i have the bash bunny in mode switch 2 and 1 but not exits usb0 and usb1. 

i have the same problem.

root@bunny:~# dmesg
[    7.884312] usb open backing file: /dev/nandf, 0xd3c66c00
[    7.884514] g_ether gadget: Mass Storage Function, version: 2009/09/11
[    7.884529] g_ether gadget: Number of LUNs=1
[    7.884548]  lun0: LUN: removable file: /dev/nandf
[    7.884592] gadget_is_softwinner_otg is not -int
[    7.884601] gadget_is_softwinner_otg is not -int
[    7.884624] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[    7.884650] g_ether gadget: g_ether ready
[    8.346314] g_ether gadget: high-speed config #2: CDC Ethernet (ECM)
[    9.392168] WRN:L1135(drivers/usb/sunxi_usb/udc/sunxi_udc.c):handle_ep0: ep0 setup end
[    9.908712] WRN:L1135(drivers/usb/sunxi_usb/udc/sunxi_udc.c):handle_ep0: ep0 setup end
[    9.917851] WRN:L1135(drivers/usb/sunxi_usb/udc/sunxi_udc.c):handle_ep0: ep0 setup end
[   10.018168] WRN:L1135(drivers/usb/sunxi_usb/udc/sunxi_udc.c):handle_ep0: ep0 setup end
[   19.656429] WRN:L1135(drivers/usb/sunxi_usb/udc/sunxi_udc.c):handle_ep0: ep0 setup end
[   38.922589] netlink: 20 bytes leftover after parsing attributes.
[   38.922635] netlink: 20 bytes leftover after parsing attributes.
[   38.922941] netlink: 20 bytes leftover after parsing attributes.
[   38.923688] netlink: 20 bytes leftover after parsing attributes.

 

Share this post


Link to post
Share on other sites
On 7/23/2019 at 10:33 PM, Panic said:

Hi, i have the bash bunny in mode switch 2 and 1 but not exits usb0 and usb1. 

i have the same problem.


root@bunny:~# dmesg
[    7.884312] usb open backing file: /dev/nandf, 0xd3c66c00
[    7.884514] g_ether gadget: Mass Storage Function, version: 2009/09/11
[    7.884529] g_ether gadget: Number of LUNs=1
[    7.884548]  lun0: LUN: removable file: /dev/nandf
[    7.884592] gadget_is_softwinner_otg is not -int
[    7.884601] gadget_is_softwinner_otg is not -int
[    7.884624] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[    7.884650] g_ether gadget: g_ether ready
[    8.346314] g_ether gadget: high-speed config #2: CDC Ethernet (ECM)
[    9.392168] WRN:L1135(drivers/usb/sunxi_usb/udc/sunxi_udc.c):handle_ep0: ep0 setup end
[    9.908712] WRN:L1135(drivers/usb/sunxi_usb/udc/sunxi_udc.c):handle_ep0: ep0 setup end
[    9.917851] WRN:L1135(drivers/usb/sunxi_usb/udc/sunxi_udc.c):handle_ep0: ep0 setup end
[   10.018168] WRN:L1135(drivers/usb/sunxi_usb/udc/sunxi_udc.c):handle_ep0: ep0 setup end
[   19.656429] WRN:L1135(drivers/usb/sunxi_usb/udc/sunxi_udc.c):handle_ep0: ep0 setup end
[   38.922589] netlink: 20 bytes leftover after parsing attributes.
[   38.922635] netlink: 20 bytes leftover after parsing attributes.
[   38.922941] netlink: 20 bytes leftover after parsing attributes.
[   38.923688] netlink: 20 bytes leftover after parsing attributes.

 

Set a payload with ATTACKMODE RNDIS_ETHERNET or ECM_ETHERNET

Then you will see usb0

Share this post


Link to post
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.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...