seemoo-lab / opendrop

An open Apple AirDrop implementation written in Python
https://owlink.org
GNU General Public License v3.0
8.63k stars 273 forks source link

RuntimeError: Interface awdl0 does not have an IPv6 address. Make sure that `owl` is running. #55

Closed santiagodemierre closed 3 years ago

santiagodemierre commented 3 years ago

opendrop receive

Traceback (most recent call last): File "/home/santiago/.local/bin/opendrop", line 8, in sys.exit(main()) File "/home/santiago/.local/lib/python3.6/site-packages/opendrop/cli.py", line 36, in main AirDropCli(sys.argv[1:]) File "/home/santiago/.local/lib/python3.6/site-packages/opendrop/cli.py", line 75, in init self.receive() File "/home/santiago/.local/lib/python3.6/site-packages/opendrop/cli.py", line 156, in receive self.server = AirDropServer(self.config) File "/home/santiago/.local/lib/python3.6/site-packages/opendrop/server.py", line 54, in init 'Make sure that owl is running.'.format(self.config.interface)) RuntimeError: Interface awdl0 does not have an IPv6 address. Make sure that owl is running.

opendrop find Looking for receivers. Press enter to stop ... Traceback (most recent call last): File "/home/santiago/.local/bin/opendrop", line 8, in sys.exit(main()) File "/home/santiago/.local/lib/python3.6/site-packages/opendrop/cli.py", line 36, in main AirDropCli(sys.argv[1:]) File "/home/santiago/.local/lib/python3.6/site-packages/opendrop/cli.py", line 77, in init self.find() File "/home/santiago/.local/lib/python3.6/site-packages/opendrop/cli.py", line 96, in find self.browser = AirDropBrowser(self.config) File "/home/santiago/.local/lib/python3.6/site-packages/opendrop/client.py", line 44, in init 'Make sure that owl is running.'.format(config.interface)) RuntimeError: Interface awdl0 does not have an IPv6 address. Make sure that owl is running.

BingliangLi commented 3 years ago

I have the same problem. I also find a similar issue here

PS C:\Users\lbing> opendrop find
Key file or certificate does not exist
Create new self-signed certificate in C:\Users\lbing/.opendrop\keys
Looking for receivers. Press enter to stop ...
Traceback (most recent call last):
  File "c:\users\lbing\anaconda3\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "c:\users\lbing\anaconda3\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\lbing\anaconda3\Scripts\opendrop.exe\__main__.py", line 7, in <module>
  File "c:\users\lbing\anaconda3\lib\site-packages\opendrop\cli.py", line 36, in main
    AirDropCli(sys.argv[1:])
  File "c:\users\lbing\anaconda3\lib\site-packages\opendrop\cli.py", line 77, in __init__
    self.find()
  File "c:\users\lbing\anaconda3\lib\site-packages\opendrop\cli.py", line 96, in find
    self.browser = AirDropBrowser(self.config)
  File "c:\users\lbing\anaconda3\lib\site-packages\opendrop\client.py", line 43, in __init__
    raise RuntimeError('Interface {} does not have an IPv6 address. '
RuntimeError: Interface awdl0 does not have an IPv6 address. Make sure that `owl` is running.
PS C:\Users\lbing> opendrop receive
Key file or certificate does not exist
Create new self-signed certificate in C:\Users\lbing/.opendrop\keys
Traceback (most recent call last):
  File "c:\users\lbing\anaconda3\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "c:\users\lbing\anaconda3\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\lbing\anaconda3\Scripts\opendrop.exe\__main__.py", line 7, in <module>
  File "c:\users\lbing\anaconda3\lib\site-packages\opendrop\cli.py", line 36, in main
    AirDropCli(sys.argv[1:])
  File "c:\users\lbing\anaconda3\lib\site-packages\opendrop\cli.py", line 75, in __init__
    self.receive()
  File "c:\users\lbing\anaconda3\lib\site-packages\opendrop\cli.py", line 156, in receive
    self.server = AirDropServer(self.config)
  File "c:\users\lbing\anaconda3\lib\site-packages\opendrop\server.py", line 53, in __init__
    raise RuntimeError('Interface {} does not have an IPv6 address. '
RuntimeError: Interface awdl0 does not have an IPv6 address. Make sure that `owl` is running.
boaz-warshawsky commented 3 years ago

@santiagodemierre Make sure that your mac WIFI is on

santiagodemierre commented 3 years ago

I was trying to connect iphone 6 to my linux computer I checked the wifi connection and it's on. They are both on the same network and they are connected via bluetooth

On Wed, Oct 21, 2020 at 3:53 AM Boaz Warshawsky notifications@github.com wrote:

@santiagodemierre https://github.com/santiagodemierre Make sure that your mac WIFI is on

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/seemoo-lab/opendrop/issues/55#issuecomment-713351771, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAUJFBTOYI5KS3NCKBM4EZTSL2AQJANCNFSM4SOWQ4CQ .

BingliangLi commented 3 years ago

Hi, thanks in advance. I’m using Opendrop on Windows 10 and iPad Pro 2020(but obviously the problem is with my PC). I checked my IPv6 setting and it’s not enabled, however, after I enabled it (and restarted my PC) I still have the same problem 🤔 I checked my proxy it doesn’t block IPv6 address. Is this problem related to IPv6 access?

发送自 Windows 10 版邮件https://go.microsoft.com/fwlink/?LinkId=550986应用

发件人: Boaz Warshawskymailto:notifications@github.com 发送时间: 2020年10月21日 14:53 收件人: seemoo-lab/opendropmailto:opendrop@noreply.github.com 抄送: Bingliang Limailto:bingliangl@outlook.com; Commentmailto:comment@noreply.github.com 主题: Re: [seemoo-lab/opendrop] RuntimeError: Interface awdl0 does not have an IPv6 address. Make sure that owl is running. (#55)

@santiagodemierrehttps://github.com/santiagodemierre Make sure that your mac WIFI is on

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/seemoo-lab/opendrop/issues/55#issuecomment-713351771, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALZH56YZFCFY27Y4AV2IRQDSL2AQJANCNFSM4SOWQ4CQ.

schmittner commented 3 years ago

Please check the requirements regarding AWDL. OpenDrop currently requires to run on either macOS or Linux. On Linux, you will have to run our OWL implementation (this is what the error message is telling you @santiagodemierre)