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 14:44] – root | software:freebsd:wifi_owrt [2022/06/29 01:33] (current) – root | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | For peoples who want to use linux WiFi drivers on FreeBSD | + | ====== OpenWRT as FreeBSD |
- | This "how-to" (draft) | + | For peoples who want to use Linux WiFi drivers on FreeBSD with minimum support overhead :)\\ |
- | No more pain with slow speed, no strange wpa_supplicant gui tools :) | + | \\ |
+ | 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 upgrades WiFi speed from | ||
- | media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11a | ||
- | to 866Mbps on my notebook with intel 8265. | ||
- | + | ===== Resources | |
- | 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 38: | 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 52: | Line 51: | ||
# For AMD systems | # For AMD systems | ||
hw.vmm.amdvi.enable=" | hw.vmm.amdvi.enable=" | ||
+ | </ | ||
- | 4. Start OpenWRT | + | 3. Start OpenWRT |
+ | < | ||
/ | / | ||
/ | / | ||
Line 70: | Line 70: | ||
-l bootrom,/ | -l bootrom,/ | ||
owrt | owrt | ||
+ | </ | ||
- | 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 |
+ | </ | ||
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 93: | Line 97: | ||
- | {{tag> | + | {{tag> |