-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Failed to bring up br0" #4
Comments
Sorry for late reply! |
No other errors that I can remember. I'll have to check when I get home about that and if I have the bridge utility installed. One more thing, while I have you, do you know anything about getting the whole backdoor part of this working. I've looked everywhere and can't seem to get and even clue as to how it all works. I'm afraid that if anything it's only left me more confused. So if you have any insight or maybe could throw out a little step by step I would be most sincerely greatful. |
^as would many others..from what I've seen many people are having much trouble with getting the backdoors to funtion. |
Ok, let me know. Though I'm wondering, are you saying that while there is an error bringing up br0, HackPi still seems to be working? E.g, when connected to a computer, it is detected and starts PoisonTap? As for the backdoor, unfortunately, I don't quite know how it works either, sorry... But I'll be digging around to get a better understanding one of these days. |
Having the same issue!
EDIT:
This may be because the USB dwc2 is currently 4.4.48+ and not 4.4.38+ and therefore overwriting the file will cause the error. |
Ah! You're right, I will correct the default path. |
Thanks a lot! |
Very nice installer, thanks! |
sure thing! |
Indeed. We could add a check to abort installation if the kernel version is different from the ones that exist. |
I will try to implement this check. |
It's possible that this error occurs at startup, when the dummy ethernet gadget is created for fingerprinting purposes. br0 can't start at this point (it's normal). Then, when the real gadget is created, br0 can start (and apparently does, otherwise I think you wouldn't be able to connect to it and Windows wouldn't recognize it). |
Could you please explain why the bridge interface is needed in first place? |
I explained it in the readme file (agreed, it's a bit long!) :). Also, because of an update, MacOs is not longer smart enough to ignore the RNDIS function (which needs to be declared first for Windows) and load the ECM function as it used to (and Linux still does). So, the ECM function needs to be declared first, and that means there will only be one usb interface that could be brought up: usb0. Everything that would be bound to the usb1 interface would fail. Finally, it is somehow future-proof: if at some point I decide to add a new function (EEM?), I will only need to add it to the list of interfaces bound by the bridge and not worry about other configurations. |
Sorry, but i still dont get why the second interface (usb1) is needed and why it is not possible to just use usb0.
You mean this?: /etc/network/interface
/etc/rc.local
|
No, I simply meant this: /etc/network/interface
However, the duplicates lines you've quoted are something I need to clean up. They shouldn't be needed in /etc/network/interface but if I remove them, it didn't seem to be working anymore... About the bridge, it's not that you can't use usb0... I'll try to explain better. But at this point, HackPi actually doesn't know which interface the host will use, because it doesn't know what kind of host it's connected to (except for MacOs thanks to fingerprinting, but that is another story). Windows will connect to the usb0 interface, but Linux will skip that one and connect to the usb1 interface. That means the servers and network configuration had to be set up on usb1 too, otherwise HackPi wasn't working during my tests. |
Ah, now I get it. Thanks for the explanation. |
You're welcome. |
At this point i think the error message has to do something with the duplicated lines / auto start of the interfaces.
And ifconfig shows:
|
Yeah probably. However, each time I changed anything to these lines, it would stop working altogether... I'm looking into it. From what I can see of brctl show and ifconfig output, it does indeed seem to be correctly working (well, that, and also the fact that you can SSH into it!) |
This is exactly what happens to me.
Any news? |
No news for now, I've been busy on other projects. But I'll get back to it probably this week. |
Hi, in the code you say sudo chmod +x installer.sh but give the error no such file etc :c i should change for install.sh? |
Hey, where in the code? The "install.sh" states:
|
Thanks u! everything works in my raspberry pi zero!. it's there a tutorial for the end server 🤔 |
Nice to hear! I updated the Readme. |
Alright! However, i cant access HTTPS sites anymore with HackPi attached :( |
Yeah, seems like it... |
Failed to bring up br0, other than that everything is looking good. Any suggestions?
The text was updated successfully, but these errors were encountered: