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

global name 'TunTapDevice' is not defined #19

Open
naren-jayram opened this issue Feb 22, 2021 · 3 comments
Open

global name 'TunTapDevice' is not defined #19

naren-jayram opened this issue Feb 22, 2021 · 3 comments

Comments

@naren-jayram
Copy link

root@naren-VirtualBox:/opt/fenrir-ocd# python Interface.py
You need 2 physical network interfaces to use FENRIR !

FENRIR > create_virtual_tap
EXCEPTION of type 'NameError' occured with message: 'global name 'TunTapDevice' is not defined'
To enable full traceback, run the following command: 'set debug true'

Machine Details:
Linux naren-VirtualBox 5.8.0-43-generic #49~20.04.1-Ubuntu SMP Fri Feb 5 09:57:56 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Note:

  1. FENRIR is running as Virtual box guest
  2. Host Machine has two physical NICs bridged into Guest machine
@Waffle-Wrath
Copy link
Contributor

Hello !

Unfortunately i cannot run live tests atm. However this error looks like a missing python package (probably python-pytun).
Did you install all the requirements ?

pip install python-pytun pip install scapy pip install Cmd2

Have a nice day !

@naren-jayram
Copy link
Author

Hi,

I have all the packages.

naren@naren-VirtualBox:/opt/peach$ pip list | grep -ecmd2 -e scapy -e pytun
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
cmd2 0.8.9
pytun 1.0.1
scapy 2.4.4

Please drop your email id to [email protected]. I need to understand how to test supplicant.

Thanks,
Naren

@Waffle-Wrath
Copy link
Contributor

I sent you an email.

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