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

ERROR: Your adapter can not be a station (i.e. be connected) and an AP at the same time #101

Closed
TornaxO7 opened this issue Nov 18, 2020 · 4 comments

Comments

@TornaxO7
Copy link

Describe the bug
If I start wihotspot like this on my raspberry pi 3B+ with sudo wihotspot than this pops up:

(wihotspot-gui:5479): dbind-WARNING **: 10:16:09.237: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
pkexec --user root create_ap wlan0 eth0 ' Tornax-Pi' 'ChiBaYanni16122019' --mkconfig /etc/create_ap.conf --freq-band 2.4
Config options written to '/etc/create_ap.conf'
WARN: brmfmac driver doesn't work properly with virtual interfaces and
      it can cause kernel panic. For this reason we disallow virtual
      interfaces for your adapter.
      For more info: https://github.com/oblique/create_ap/issues/203
ERROR: Your adapter can not be a station (i.e. be connected) and an AP at the same time
Command not found or exited with error status

but it's also connected with an ethernet cable. So shouldn't the (in built) wifi-adapter be free?

To Reproduce

  1. Connect a raspberry pi with an ethernet cable
  2. ssh into it
  3. execute sudo wihotspot

Expected behavior
I expected that it works.

Screenshots
Current settings:
image

The output after clicking the Create Hotspot button:
image

Desktop (please complete the following information):
image

The version should be the latest. I just installed a new raspbian image on my raspberry pi with rpi-imager.

@lakinduakash
Copy link
Owner

Can you try with no-virt option enabled?

@TornaxO7
Copy link
Author

TornaxO7 commented Jan 3, 2021

@lakinduakash I'm sorry for the late answer!!

So here are the settings:
image

And that's the output:

pkexec --user root create_ap wlan0 eth0 'My Raspberry Pi' 'BestPasswordEver' --mkconfig /etc/create_ap.conf --freq-band 2.4 --no-virt
Config options written to '/etc/create_ap.conf'
WARN: brmfmac driver doesn't work properly with virtual interfaces and
      it can cause kernel panic. For this reason we disallow virtual
      interfaces for your adapter.
      For more info: https://github.com/oblique/create_ap/issues/203
ERROR: Your adapter can not be a station (i.e. be connected) and an AP at the same time
Command not found or exited with error status

By the way, happy new year!

@lakinduakash
Copy link
Owner

lakinduakash commented Jan 4, 2021

I have no way to test with raspberry pi currently. But this thread oblique/create_ap#203 has some solutions as it prints. Might be helpful.

And happy new year for you too!

@TornaxO7
Copy link
Author

TornaxO7 commented Jan 4, 2021

Thanks for the link! I'll give it try and sorry again for letting you waiting for about 2 months.

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