Comments (11)
Hi there yourself,
I am currently working on a Ubuntu/ amd64 version of the guide. I hope to have it available this coming week.
The problem is in the bridging. I'll try to get that worked out. The Raspberrry Pi OS and Ubuntu are enough different that it requires different guides.
Your usb adapter is based on the rtl8812au? If so, good. If not, then what is it? The reason I ask is that many of the Realtek drivers say they can do AP mode but they really don't do a good job. The 8812au is the exception. It really does do a good job of AP mode.
Nick
from 8812au.
That's very good news.
My ubuntu is not really ubuntu anymore because I have modified it a lot, but I can test your guide.
Yes, I do have 8812au (1200 Mbps). My card can do bridging with your version of the driver, but I had problem bridging with the previous versions (like Aircrack's version). Currently, I use network-manager to make my hotspot. It works, I could make a very stable wifi 5 hotspot, but the speed is limited to 176 Mbps (tested channel 48 only), the last time I checked. Also, in network-manager devices connected to the same hotspot are unable to see each other, which is problematic for Chromecast and Airplay functioning. With your hostapd guide, I could make a hotspot with 576 Mbps speed but clients do not get an IP. Even with the network-manager, whenever I bridge eth with wlan devices unable to get an IP. (I worked all this weekend to fix the problem but I could not).
I was wondering is there a way to increase the network-manager hotspot speed?
from 8812au.
I am making good progress on the new Ubuntu guide today but it may be a couple of days before I am ready for it to be tested. It should provide a stable 80 Mhz channel width capability. It appears the key is properly disabling Network Manager and going fully with a properly setup systemd-networkd configuration.
FWIW, the Aircrack version of the driver is based on an older version of the driver from Realtek. When I started work on this version, it became apparent to me quickly that this version is a dramatically better driver than the old version. I'm no fan of Realtek out-of-kernel drivers but this driver is by far the best driver I have ever seen from Realtek. The other Realtek drivers do not compare at all. Now, that is not to say that it is a great driver. The overall best driver for AC1200/AC1300 class USB WiFi on Linux is the mt7612u and it is not close.
from 8812au.
WoW, I wished I had one of mt7612u, but I'm sure 8812au will get better. I hope, it is mainlined in the kernel someday.
Good luck with the new guide! Please let me know whenever you needed an Ubuntu tester.
from 8812au.
Two items on the agenda:
- Below is a link to the new Ubuntu guide. It works here but it is really an alpha version. It is not well documented so please make notes for me. You may need to clean up things you did from the previous guide.
https://github.com/morrownr/7612u/blob/main/Bridged_Wireless_Access_Point-Ubuntu-1.md
- I also maintain the below repo to provide USB WiFi info to Linux users:
https://github.com/morrownr/USB-WiFi
from 8812au.
1 and 2) Thanks for sharing this guide and the repo with me!
I have ubuntu 18.04. I tested the guide. It is well written. I suggest masking the network manager as the network-manager-gnome applet was able to start network-manager in my case.
Is networking service (/etc/network/interfaces) is still needed after enabling systemd-networkd?
Is it possible to combine all systemd-networkd config files in on file?
Unfortunately, I could not make a functioning hotspot. The problem was not with your guide.
Let me explain. I have an old spare Dell Inspiron 6400 laptop (core 2 duo CPU with 4 GB of ram and USB 2 ports) that I intend to use as a router/hotspot/media server. I have two eth interfaces: one of them is a USB dongle connected to the Internet modem, and the other one is a built-in eth connected to the TV. I also have AC1200 wifi acting as an access point.
The computer is connected to the Internet with a Spectrum (the Internet company) modem. The modem is acting very peculiar. For instance, whenever I connect it to a different eth (or boot to a different OS with the same eth) interface I need to restart the modem to be able to connect to the Internet. Otherwise (i.e., without a restart), the connection is not going to be established. Whenever, I bridge two eth interfaces (or eth with wlan), even after restarting the modem I am unable to get a connection. Likewise, bridge members like wlan are unable to get an IP.
However, the network manager allows functional Internet sharing without making a bridge connection. I have no idea how because I have limited knowledge of networking.
from 8812au.
Quote: " I suggest masking the network manager as the network-manager-gnome applet was able to start network-manager in my case."
Reply: Good idea. I did not think of that.
Quote: "Is networking service (/etc/network/interfaces) is still needed after enabling systemd-networkd?"
Reply: I am pretty sure it is not needed. I think, though I am not an expert yet, that systemd-network is basically a self contained networking management system. It is not full featured yet like Network Manager is but almost all distros use systemd whereas not all distros use Network Manager... and that is the reason I am using it. The RasPiOS does not use Network Manager.
Quote: "Is it possible to combine all systemd-networkd config files in one file?"
Reply: I will have to investigate further. I did make some modes today to the file names to clarify the order in which they are processed.
I have to admit that my head hurt after reading what you have and what you are trying to do. This might be easier to do with a RasPi4b and the RasPiOS. Have you considered that? You could then let the Dell Laptop be a laptop but it might be best to use a distro that does not use Gnome. Just some thoughts.
Nick
from 8812au.
Thanks for the suggestions. I might try OpenWrt first or buy a router that supports OpenWrt.
One thing, networking service (/etc/network/interfaces) is not part of the network manager. It is a different service (sudo systemctl stop networking).
from 8812au.
I use two systems as Dumb APs (they could also be full up wifi routers). My fiber modem/router serves as the main router in my network. I use OpenWrt on a ZyXEL NBG6817 and hostapd on a RasPi4b with an Alfa AWUS036ACM usb wifi adapter. Both are very good. The RasPi setup is a lot cheaper and more flexible.
Thanks for saying something about the networking.service. It think it is a one time shot service and I need to fully investigate how it fits into the scenario. I had looked at it and other things many moons ago when originally looking at a setup for the RasPi but there are so many moving parts that are hard to keep up with.
from 8812au.
I'll look into them. How do you feel about one of these WiFi 6 devices. A few of them are based on the driver you like.
https://openwrt.org/toh/views/toh_extended_all?dataflt%5BWLAN+5.0GHz*%7E%5D=ax
from 8812au.
The Linksys E8450 and the Belkin RT3200 are the same device with different stickers as far as I can tell. I've heard some good things about them but they are new so I guess we will see. They run the mt7915 chipset. That chipset is available in usb format so I'm hoping we see a usb wifi adapter based on it one of these days.
I follow the linux-wireless list to keep up with the happenings in order to try to maintain these Realtek out-of-kernel drivers. I like what I see from Intel, Atheros and Mediatek. The problem is that Intel and Atheros aren't releasing new chips for USB applications.
from 8812au.
Related Issues (20)
- Kali 2020.4 USB3.0 and High power does not work๏ผ HOT 3
- 802.1x dynamic VLANs HOT 6
- (solved) Aircrack-Ng segmentation fault and crash HOT 2
- (solved) Dunno what happened but Im getting weird TX Values on Raspbian managed mode HOT 11
- (solved) Problem with kernel 5.4.83-v7l+ on RPi HOT 16
- (in progress) Could not locate dkms.conf file HOT 4
- (solved) kernel version 5.10.0 HOT 2
- (solved) Error! Could not locate dkms.conf file. File: does not exist. HOT 4
- Original Realtek 5.9.3.2 driver HOT 2
- (solved) unstable driver with last kernel in kali x86 HOT 6
- (in-progress) Driver doesn't seem to support B.A.T.M.A.N adv setup HOT 3
- (in-progress) Installation issue: An error occurred. dkms build error = 10 HOT 4
- (pulling hair ! - ubuntu 21.04 - chipset 8811au - Kernel 5.11.x. It worked 3 days and stopped HOT 35
- Some thoughts on Kernel 5.10
- Injection not functional on 5ghz HOT 5
- Please do not post issues in this repo. Please see README for a link to the proper repo.
- Where to find old versions? HOT 16
- . HOT 2
- Info: Running **hostapd**, Access Point, with this driver... HOT 2
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 8812au.