Skip to content
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

[Guide] Internet Sharing via PFSense / OPNSense / FreeBSD #81

Open
jetbalsa opened this issue Nov 4, 2019 · 1 comment
Open

[Guide] Internet Sharing via PFSense / OPNSense / FreeBSD #81

jetbalsa opened this issue Nov 4, 2019 · 1 comment

Comments

@jetbalsa
Copy link

jetbalsa commented Nov 4, 2019

USB RDNIS Gadgets are a little funky on FreeBSD

  1. Add g_ether.dev_addr=8e:7a:7e:37:6f:bb g_ether.host_addr=8e:7a:7e:37:6f:aa g_ether.use_eem=0 to the end of /boot/cmdline.txt
  2. Add a onstart script (In OpnSense this is /usr/local/etc/rc.syshook.d/start/100-pwn) with
#!/bin/sh
kldunload if_cdce
kldload if_urndis

You will want to make sure this is very late in the startup due to USB has to be loaded and the device is detected, don't forget to chmod +x!

To check if everything worked, in ifconfig you should see a device with a hwaddr of 8e:7a:7e:37:6f:aa
if you don't, make sure the startup script is very late in the boot process and reboot!

@evilsocket
Copy link
Owner

any chance you can send a PR for https://github.com/evilsocket/www.pwnagotchi.ai ?

@evilsocket evilsocket transferred this issue from evilsocket/pwnagotchi Nov 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants