xdavidhu / lanGhost

👻 A LAN dropbox chatbot controllable via Telegram
MIT License
353 stars 60 forks source link

Error while getting network info #10

Open Eugheer opened 6 years ago

Eugheer commented 6 years ago

Hello After starting lanGhost.py, it repeatedly says Error while getting network info. I checked the interface, it is enp0s3.

sudo: screen: command not found sudo: screen: command not found [I] Error while getting network info. Retrying... [I] Running iptables setup... [I] Scanning for new hosts... [I] Telegram bot started... [I] Error while getting network info. Retrying... [I] Scanning for new hosts... [I] Error while getting network info. Retrying... [I] Scanning for new hosts... [I] Error while getting network info. Retrying... [I] Scanning for new hosts... [I] Error while getting network info. Retrying... And this can repeat forever. Ubuntu 16.04 LTS. Running on VirtualBox

Eugheer commented 6 years ago

I also installed screen, but with it it doesn't work too. In telegram, if I type /scan, it doesn't show me that any device is online.

xdavidhu commented 6 years ago

Probably the VirtualBox interface is causing the problem. You should have a physical interface connected to a real network for lanGhost to work properly. If you can't use a physical interface, you could try setting up bridging for your virtual interface in VirtualBox and see if that solves your problem.

ManFromSiberia commented 6 years ago

Me too.. Have this problem, but im use Ubuntu 16.04 LTS without VirtualBox

jrossmanjr commented 5 years ago

This took me reinstalling nmap [sudo apt install nmap] to get it to work

Hryts commented 5 years ago

While running setup.py I had an exception: Traceback (most recent call last): File "/home/username/lanGhost/setup.py", line 151, in with open("/etc/network/interfaces") as f: FileNotFoundError: [Errno 2] No such file or directory: '/etc/network/interfaces' I checked and didn't find network directory So after starting lanGhost.py, I had the issue...

Hryts commented 5 years ago

Sorry! I was running it on Arch