This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
software:freebsd:wifi_owrt [2022/05/18 19:38] – root | software:freebsd:wifi_owrt [2022/06/29 01:33] (current) – 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" (draft) | + | 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. \\ | No more pain with slow speed, no strange wpa_supplicant gui tools. \\ | ||
\\ | \\ | ||
- | This upgrades WiFi speed from\\ | + | This upgrades WiFi speed from "36Mbps mode 11a" |
- | media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11a\\ | + | |
- | to \\ | + | |
- | 866Mbps on my notebook with intel 8265.\\ | + | |
===== Resources required ===== | ===== Resources required ===== | ||
- | - 256 Mb ram | + | * 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 45: | Line 38: | ||
cloned_interfaces=" | cloned_interfaces=" | ||
ifconfig_tap0_name=" | ifconfig_tap0_name=" | ||
- | ifconfig_wifi0=" | + | ifconfig_wifi0=" |
ifconfig_wifi0_ipv6=" | ifconfig_wifi0_ipv6=" | ||
</ | </ | ||
Line 61: | Line 54: | ||
- | 4. Start OpenWRT | + | 3. Start OpenWRT |
< | < | ||
/ | / | ||
Line 79: | Line 72: | ||
</ | </ | ||
- | To disable output remove: "-l com1, | + | To disable output remove: "-l com1, |
" | " | ||
- | 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=' | ||
- | uci set network.lan.gateway=' | + | uci set network.lan.gateway=' |
- | uci add_list network.lan.dns=' | + | uci add_list network.lan.dns=' |
uci commit network | uci commit network | ||
/ | / | ||
opkg update | opkg update | ||
- | opkg install luci | + | opkg install luci wpad-mesh-wolfssl iwlwifi-firmware-iwl3168 kmod-iwlwifi |
</ | </ | ||
Line 104: | Line 97: | ||
- | {{tag> | + | {{tag> |