Jump to content

zup

Active Members
  • Content Count

    10
  • Joined

  • Last visited

About zup

  • Rank
    Hackling

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I fixed it. I just disabled the isc-dhcp-server service. The bunny framework starts this when it enables the network adapter. Somehow it had been enabled
  2. Hey! It did not work to add this to rc.local. it still get the same error. Maby rc.local runs this before the network device is ready?
  3. Well, I tried upgrading to Debian9 as the first thing I did when I got it. It broke and nothing worked at all basically. So I reverted it using a firmware downgrade before upgrading to 1.5 again.
  4. Jan 01 00:00:11 bunny networking[181]: Configuring network interfaces...Cannot find device "usb0" Jan 01 00:00:11 bunny networking[181]: Failed to bring up usb0. Jan 01 00:00:11 bunny networking[181]: done. Jan 01 00:00:11 bunny systemd[1]: Starting /etc/rc.local Compatibility... Jan 01 00:00:11 bunny systemd[1]: Started getty on tty2-tty6 if dbus and logind are not available. Jan 01 00:00:11 bunny systemd[1]: Starting Permit User Sessions... Jan 01 00:00:11 bunny systemd[247]: Failed at step EXEC spawning /etc/rc.local: Exec format error Jan 01 00:00:12 bunny systemd[1]: Starting LSB: Start NTP daemon... Jan 01 00:00:12 bunny systemd[1]: Starting LSB: DHCP server... Jan 01 00:00:12 bunny systemd[1]: Starting Login Service... Jan 01 00:00:12 bunny systemd[1]: Starting System Logging Service... Jan 01 00:00:12 bunny dhcpd[394]: Internet Systems Consortium DHCP Server 4.3.1 Jan 01 00:00:12 bunny dhcpd[394]: Copyright 2004-2014 Internet Systems Consortium. Jan 01 00:00:12 bunny dhcpd[394]: All rights reserved. Jan 01 00:00:12 bunny dhcpd[394]: For info, please visit https://www.isc.org/software/dhcp/ Jan 01 00:00:12 bunny dhcpd[480]: Internet Systems Consortium DHCP Server 4.3.1 Jan 01 00:00:12 bunny dhcpd[480]: Copyright 2004-2014 Internet Systems Consortium. Jan 01 00:00:12 bunny dhcpd[480]: All rights reserved. Jan 01 00:00:12 bunny dhcpd[480]: For info, please visit https://www.isc.org/software/dhcp/ Jan 01 00:00:12 bunny dhcpd[480]: Wrote 0 leases to leases file. Jan 01 00:00:12 bunny dhcpd[480]: Jan 01 00:00:12 bunny dhcpd[480]: No subnet declaration for usb0 (no IPv4 addresses). Jan 01 00:00:12 bunny dhcpd[480]: ** Ignoring requests on usb0. If this is not what Jan 01 00:00:12 bunny dhcpd[480]: you want, please write a subnet declaration Jan 01 00:00:12 bunny dhcpd[480]: in your dhcpd.conf file for the network segment Jan 01 00:00:12 bunny dhcpd[480]: to which interface usb0 is attached. ** Jan 01 00:00:12 bunny dhcpd[480]: Jan 01 00:00:12 bunny dhcpd[480]: Jan 01 00:00:12 bunny dhcpd[480]: Not configured to listen on any interfaces! Jan 01 00:00:12 bunny dhcpd[480]: Jan 01 00:00:12 bunny dhcpd[480]: If you think you have received this message due to a bug rather Jan 01 00:00:12 bunny dhcpd[480]: than a configuration issue please read the section on submitting Jan 01 00:00:12 bunny dhcpd[480]: bugs on either our web page at www.isc.org or in the README file Jan 01 00:00:12 bunny dhcpd[480]: before submitting a bug. These pages explain the proper Jan 01 00:00:12 bunny dhcpd[480]: process and the information we find helpful for debugging.. Jan 01 00:00:12 bunny dhcpd[480]: Jan 01 00:00:12 bunny dhcpd[480]: exiting. Apr 07 03:03:04 bunny isc-dhcp-server[334]: Starting ISC DHCP server: dhcpdcheck syslog for diagnostics. ... failed! Apr 07 03:03:04 bunny isc-dhcp-server[334]: failed! Apr 07 03:03:04 bunny systemd[1]: isc-dhcp-server.service: control process exited, code=exited status=1 Apr 07 03:03:04 bunny systemd[1]: Failed to start LSB: DHCP server. Apr 07 03:03:04 bunny systemd[1]: Unit isc-dhcp-server.service entered failed state. Apr 07 03:03:04 bunny bunny_framework[233]: Starting isc-dhcp-server (via systemctl): isc-dhcp-server.serviceJob for isc-dhcp-server.service Apr 07 03:03:04 bunny bunny_framework[233]: failed! Apr 07 03:03:20 bunny bunny_framework[233]: cat: /var/lib/dhcp/dhcpd.leases: No such file or directory Apr 07 03:03:21 bunny bunny_framework[233]: cat: /var/lib/dhcp/dhcpd.leases: No such file or directory Apr 07 03:03:21 bunny bunny_framework[233]: cat: /var/lib/dhcp/dhcpd.leases: No such file or directory Apr 07 03:03:22 bunny bunny_framework[233]: cat: /var/lib/dhcp/dhcpd.leases: No such file or directory Apr 07 03:03:22 bunny bunny_framework[233]: cat: /var/lib/dhcp/dhcpd.leases: No such file or directory Apr 07 03:03:23 bunny bunny_framework[233]: cat: /var/lib/dhcp/dhcpd.leases: No such file or directory Apr 07 03:03:23 bunny bunny_framework[233]: cat: /var/lib/dhcp/dhcpd.leases: No such file or directory Apr 07 03:03:24 bunny bunny_framework[233]: cat: /var/lib/dhcp/dhcpd.leases: No such file or directory Apr 07 03:03:24 bunny bunny_framework[233]: cat: /var/lib/dhcp/dhcpd.leases: No such file or directory Apr 07 03:03:25 bunny bunny_framework[233]: TARGET_IP = , TARGET_HOSTNAME = , HOST_IP = Apr 07 03:03:26 bunny bunny_framework[233]: cat: /var/lib/dhcp/dhcpd.leases: No such file or directory Apr 07 03:03:26 bunny bunny_framework[233]: cat: /var/lib/dhcp/dhcpd.leases: No such file or directory Apr 07 03:03:26 bunny test_network[1218]: Switch Position is switch1 - Target Hostname is - Target IP is - Host IP is 172.16.64.1 # service isc-dhcp-server status ● isc-dhcp-server.service - LSB: DHCP server Loaded: loaded (/etc/init.d/isc-dhcp-server) Active: failed (Result: exit-code) since Sun 2019-04-07 03:03:04 UTC; 14min ago Process: 322 ExecStart=/etc/init.d/isc-dhcp-server start (code=exited, status=1/FAILURE) Jan 01 00:00:12 bunny dhcpd[473]: ** Ignoring requests on usb0. If this is not what Jan 01 00:00:12 bunny dhcpd[473]: you want, please write a subnet declaration Jan 01 00:00:12 bunny dhcpd[473]: in your dhcpd.conf file for the network segment Jan 01 00:00:12 bunny dhcpd[473]: to which interface usb0 is attached. ** Jan 01 00:00:12 bunny dhcpd[473]: Apr 07 03:03:04 bunny isc-dhcp-server[322]: Starting ISC DHCP server: dhcpdcheck syslog for diagnostics. ... failed! Apr 07 03:03:04 bunny isc-dhcp-server[322]: failed! Apr 07 03:03:04 bunny systemd[1]: isc-dhcp-server.service: control process exited, code=exited status=1 Apr 07 03:03:04 bunny systemd[1]: Failed to start LSB: DHCP server. Apr 07 03:03:04 bunny systemd[1]: Unit isc-dhcp-server.service entered failed state. # service isc-dhcp-server start # service isc-dhcp-server status ● isc-dhcp-server.service - LSB: DHCP server Loaded: loaded (/etc/init.d/isc-dhcp-server) Active: active (running) since Sun 2019-04-07 03:20:41 UTC; 2s ago Process: 4592 ExecStart=/etc/init.d/isc-dhcp-server start (code=exited, status=0/SUCCESS) CGroup: /system.slice/isc-dhcp-server.service └─4601 /usr/sbin/dhcpd -q -cf /etc/dhcp/dhcpd.conf -pf /var/run/dhcpd.pid usb0 Apr 07 03:20:39 bunny dhcpd[4598]: Internet Systems Consortium DHCP Server 4.3.1 Apr 07 03:20:39 bunny dhcpd[4598]: Copyright 2004-2014 Internet Systems Consortium. Apr 07 03:20:39 bunny dhcpd[4600]: Internet Systems Consortium DHCP Server 4.3.1 Apr 07 03:20:39 bunny dhcpd[4600]: Copyright 2004-2014 Internet Systems Consortium. Apr 07 03:20:39 bunny dhcpd[4600]: All rights reserved. Apr 07 03:20:39 bunny dhcpd[4600]: For info, please visit https://www.isc.org/software/dhcp/ Apr 07 03:20:39 bunny dhcpd[4600]: Wrote 0 leases to leases file. Apr 07 03:20:39 bunny dhcpd[4601]: Server starting service. Apr 07 03:20:41 bunny isc-dhcp-server[4592]: Starting ISC DHCP server: dhcpd. Apr 07 03:20:41 bunny systemd[1]: Started LSB: DHCP server. Apr 07 03:21:04 bunny dhcpd[4601]: DHCPDISCOVER from 00:11:22:33:44:55 via usb0 Apr 07 03:21:05 bunny dhcpd[4601]: DHCPOFFER on 172.16.64.10 to 00:11:22:33:44:55 ([REDACTED]) via usb0 Apr 07 03:21:05 bunny dhcpd[4601]: DHCPREQUEST for 172.16.64.10 (172.16.64.1) from 00:11:22:33:44:55 ([REDACTED]) via usb0 Apr 07 03:21:05 bunny dhcpd[4601]: DHCPACK on 172.16.64.10 to 00:11:22:33:44:55 ([REDACTED]) via usb0
  5. I am using the 1.5 FW, and testing on a Windows 10 machine
  6. Hello there! Just got a bash bunny that worked fine when I got it. I decided to upgrade it using apt, and got a lot of issues. I fixed the problems I had with apt (fixed issues with procps), and now it seems to have some issues with DHCP when connecting to my computer using FNDIS_ETHERNET. If I connect the bunny and then set a static ip for it, I can ssh in as normal. Then I see that the service isc-dhcp-service has failed. If I try to start that service again, it seems like it works just fine. I get a dhcp lease from the computer and can GET TARGET_IP. So maby this is an issue with the usb0 interface not being ready when the dhcp server starts or something? I am not sure. It is pretty annoying that I have to set a static ip, log in with ssh, restart the service, set dynamic ip again just to get dhcp to work 😛 Have anyone else had any issues like this? I will provide you with more logs and stuff soon
  7. After I did the same thing as you (apt update and upgrade) and fixed the procps-thing, Dhcp did not work for my bash bunny. It looks like the service isc-dhcp-server fails on startup, and I have to manually set the ip for the ndis card. Then I can log in using ssh and just restart the iscp-dhcp-server service and it works fine. I think the issue is that the usb0 interface is not ready yet when the dhcp service tries to start and therefore it fail. I have yet found out how to fix this problem
  8. However I have noticed that even apt-get update does not work properly on a freshly installed bash bunny.. It seems like it is using Debian Jessie (Which already is pretty old) and the sources.list seems to include addresses that dont exist. deb http://httpredir.debian.org/debian jessie-updates main contrib non-free deb-src http://httpredir.debian.org/debian jessie-updates main contrib non-free Seems to be my problem. W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-updates/InRelease Unable to find expected entry 'main/source/Sources' in Release file (Wrong sources.list entry or malformed file) E: Some index files failed to download. They have been ignored, or old ones used instead. Also, the urls are deprecated (httpredir.debian.org just redirects to deb.debian.org, since the GeoMirror is deprecated)
  9. If you have issues with upgrading the Bash Bunny because of "procps", here is a fix for you that I found on the forums
×
×
  • Create New...