kickthemout: AttributeError: 'NoneType' object has no attribute 'src'

Hello, i got this error when i running > python kickthemout.py can u help me? thanks 😄

File "kickthemout.py", line 291, in <module>
    defaultGatewayIP = getGatewayIP()
  File "kickthemout.py", line 236, in getGatewayIP
    return getGateway_p.src
AttributeError: 'NoneType' object has no attribute 'src'

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 16 (7 by maintainers)

Commits related to this issue

Most upvoted comments

It should work now. Thanks for notifying us.

There was a problem while attempting to programmatically obtain the Gateway IP address. We made a few changes to the main script and now allow manual entry for when such errors occur. You should be all set.

Thanks, I had to run pip install -r requirements.txt as root.

The script needs to be run as root.

Please let us know if it works or if you are experiencing any further issues.