Comments (12)
Hi @Ekiben542
How about we try this:
The Main Menu for this site is:
https://github.com/morrownr/USB-WiFi
Menu item 9 is about AP mode. It has example hostapd.conf files in the main document. Info for your adapter is there.
Debian 12 uses NetworkManager. For AP mode to work, you either have to tell NM to not message with the interface you are using or you need to purge/inactivate NM. There are examples of how to do as much in the document.
Let me know how it goes.
from 88x2bu-20210702.
How to keep Network Manager from causing problems. section? (I wonder if there is a way to purge/deactivate NM here.)
from 88x2bu-20210702.
From the guide:
This is the least intrusive way to keep NM from messing with hostapd:
How to keep Network Manager from causing problems.
Option 1:
Tell Network Manager to ignore specific devices.
$ sudo nano /etc/NetworkManager/NetworkManager.conf
add
[keyfile]
unmanaged-devices=interface-name:wlan0
Note: Remember to replace wlan0 with your interface name.
Here is the direct link to the guide: (Main Menu item 9)
https://github.com/morrownr/USB-WiFi/blob/main/home/AP_Mode/Bridged_Wireless_Access_Point.md
If you go to the bottom of the document and work your way up, you will see other options.
from 88x2bu-20210702.
It's working! Thank you.
from 88x2bu-20210702.
Glad you got it going.
from 88x2bu-20210702.
I'm experiencing the same thing again.
from 88x2bu-20210702.
NM can be a pain in the backside. I've been working on my AP guide more given the new version of RasPiOS, which change a lot of things.
I made the decision to fully disable NM:
sudo systemctl disable NetworkManager
I went with the following:
The networking:
systemd-networkd
systemd-resolved
The AP:
hostapd
That is for a bridged setup but it looks like the capability to do a routed setup are available but it would take some work. I went with systemd-networkd starting a new years ago as it is 24/7/365 dependable and other ways of setting up an AP are not quite that good.
You can see what I did in the current AP Mode guide.
from 88x2bu-20210702.
I purge NetworkManager (sudo apt purge NetworkManager), is it okay? (Can the above solution work?)
from 88x2bu-20210702.
Let's back up a moment and go over some things.
I was trying to create an access point using hostapd and dnsmasq...
dnsmasq tells me you want a routed AP. Does it need to be routed or can it be bridged? Bridged is easier.
If it can be bridged, I'll recommend you start with a clean sd with Debian 12 or RasPiOS 2023-10-10 and follow my AP guide exactly. It should work if you are able to understand the guide. I realize it is a long detailed guide but it helps you learn. Taking it slow and asking questions is a good idea. Setting up the driver for this adapter is important as well as you may need to stat in USB2 mode. I can go over that with you as well.
Keep in mind that what you are trying to do is somewhat complicated and one thing wrong will cause not to work. Relax, start clean and don't get in a hurry.
from 88x2bu-20210702.
Understood.
And I have a question: I'm currently running the AP with RaspAP, but should I install RaspAP when I do a clean install? Or should I follow your guide?
from 88x2bu-20210702.
The environment is Bookworm Debian 12 ...
You said the above so I assumed you are running Debian 12. I'm not sure what RaspAP is.
Please do a clean installation of the Raspberry Pi OS 2023-10-10 64 bit if you see that as an option. Once complete, please feel free to follow my guide:
https://github.com/morrownr/USB-WiFi/blob/main/home/AP_Mode/Bridged_Wireless_Access_Point.md
My guide does not cover installation of the Raspberry Pi OS or the installation of the driver in this repo. It does cover some details of driver configuration. You will need to pay attention to the driver options that you set and please send a copy to me so that I can confirm you used the correct options for AP mode.
from 88x2bu-20210702.
I'ts Working! thanks(If it doesn't work again, I'll open it (issue).)
from 88x2bu-20210702.
Related Issues (20)
- Driver install not working on TrueNAS Cobia 22.22 HOT 5
- Hostapd: works fine but disappear fast. HOT 18
- Missing Multicast Packets HOT 1
- (info) Working with T3U V1
- binary package for rtl88x2bu: 5.13.1 not found (Segmentation fault) HOT 10
- dbm cannot be changed
- Not working under secure boot with dkms installed HOT 3
- HOW TO CROSS COMPILE
- Why the upload speed is so slow? HOT 5
- (solved) 88x2bu and RHEL 9.3 HOT 6
- (solved) 88x2bu and Rocky 9.3 HOT 7
- Support for bridging? HOT 2
- MU-MIMO support HOT 1
- Ubuntu 23.10 Secure Boot? HOT 4
- Please document difference to mainline driver HOT 13
- modpost/insmod issue
- Does not compile on 6.2.0-37-generic on Ubuntu 22.04 - running OK on 6.2.0-34-generic HOT 21
- (requires fix in Linux kernel) Not working with Slackware-current and kernel 6.1.66 HOT 8
- Does not compile on 6.6.6-2-MANJARO
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 88x2bu-20210702.