This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
software:freebsd:wifi_owrt [2022/05/18 14:45] – root | software:freebsd:wifi_owrt [2022/06/28 18:46] – root | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== OpenWRT as FreeBSD WiFi driver ====== |
- | For peoples who want to use linux WiFi drivers on FreeBSD with minimum support overhead :) | + | For peoples who want to use Linux WiFi drivers on FreeBSD with minimum support overhead :)\\ |
+ | \\ | ||
+ | This how-to describes how to use OpenWRT as driver with WebUI for WiFi adapters. | ||
+ | No more pain with slow speed, no strange wpa_supplicant gui tools. \\ | ||
+ | \\ | ||
+ | This upgrades WiFi speed from " | ||
- | This " | ||
- | No more pain with slow speed, no strange wpa_supplicant gui tools :) | ||
- | This upgrades WiFi speed from | + | ===== Resources |
- | media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11a | + | |
- | to 866Mbps on my notebook with intel 8265. | + | |
- | + | | |
- | + | | |
- | Resourses | + | |
- | - 256 Mb ram | + | |
- | - 128 Mb on hard drive | + | |
- | - IOMMU support | + | |
- | - FreeBSD AMD64 | + | |
1. Download EFI based build. | 1. Download EFI based build. | ||
WWW: https:// | WWW: https:// | ||
+ | < | ||
cd /root/ | cd /root/ | ||
fetch https:// | fetch https:// | ||
gunzip openwrt-x86-64-generic-squashfs-combined-efi.img.gz | gunzip openwrt-x86-64-generic-squashfs-combined-efi.img.gz | ||
+ | </ | ||
- | 2. Install sysutils/ | + | 2. Configure system: |
- | CSM not required. | + | |
- | Patch required to build port (last attached): | + | |
- | https:// | + | |
- | + | ||
- | + | ||
- | 3. Configure system: | + | |
WWW: | WWW: | ||
https:// | https:// | ||
Line 40: | Line 34: | ||
/ | / | ||
+ | < | ||
kld_list=" | kld_list=" | ||
cloned_interfaces=" | cloned_interfaces=" | ||
ifconfig_tap0_name=" | ifconfig_tap0_name=" | ||
- | ifconfig_wifi0=" | + | ifconfig_wifi0=" |
ifconfig_wifi0_ipv6=" | ifconfig_wifi0_ipv6=" | ||
+ | </ | ||
/ | / | ||
+ | < | ||
# bhyve PCI device passthru. | # bhyve PCI device passthru. | ||
# " | # " | ||
Line 54: | Line 51: | ||
# For AMD systems | # For AMD systems | ||
hw.vmm.amdvi.enable=" | hw.vmm.amdvi.enable=" | ||
+ | </ | ||
- | 4. Start OpenWRT | + | 3. Start OpenWRT |
+ | < | ||
/ | / | ||
/ | / | ||
Line 72: | Line 70: | ||
-l bootrom,/ | -l bootrom,/ | ||
owrt | owrt | ||
+ | </ | ||
To disable output remove: "-l com1, | To disable output remove: "-l com1, | ||
Line 77: | Line 76: | ||
- | 5. Configure OpenWRT: | + | 4. Configure OpenWRT: |
+ | < | ||
uci set network.lan.ipaddr=' | uci set network.lan.ipaddr=' | ||
uci set network.lan.netmask=' | uci set network.lan.netmask=' | ||
Line 87: | Line 87: | ||
opkg update | opkg update | ||
opkg install luci | opkg install luci | ||
+ | </ | ||
+ | |||
Now web GUI can be used to install wpad*, hostapd*, WiFi driver and other staff. | Now web GUI can be used to install wpad*, hostapd*, WiFi driver and other staff. | ||
Line 95: | Line 97: | ||
- | {{tag> | + | {{tag> |