Site Tools


software:freebsd:wifi_owrt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
software:freebsd:wifi_owrt [2022/05/18 19:38]
root
software:freebsd:wifi_owrt [2022/06/28 18:46]
root
Line 1: Line 1:
-====== FreeBSD WiFi using OpenWRT as driver ======+====== 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) describes how to use OpenWRT as driver with web GUI for WiFi adapters.+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 11ato 866Mbps on my notebook with intel 8265.\\
-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 +  128 Mb on hard drive 
-IOMMU support +  IOMMU support 
-FreeBSD AMD64+  FreeBSD AMD64
  
  
 1. Download EFI based build. 1. Download EFI based build.
 WWW: https://openwrt.org/docs/guide-developer/uefi-bootable-image WWW: https://openwrt.org/docs/guide-developer/uefi-bootable-image
 +<code>
 cd /root/ cd /root/
 fetch https://downloads.openwrt.org/snapshots/targets/x86/64/openwrt-x86-64-generic-squashfs-combined-efi.img.gz fetch https://downloads.openwrt.org/snapshots/targets/x86/64/openwrt-x86-64-generic-squashfs-combined-efi.img.gz
 gunzip openwrt-x86-64-generic-squashfs-combined-efi.img.gz gunzip openwrt-x86-64-generic-squashfs-combined-efi.img.gz
 +</code>
  
  
-2. Install sysutils/bhyve-firmware from ports. +2. Configure system:
-CSM not required. +
-Patch required to build port (last attached): +
-https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211074 +
- +
- +
-3. Configure system:+
 WWW: WWW:
 https://www.freebsd.org/doc/handbook/virtualization-host-bhyve.html https://www.freebsd.org/doc/handbook/virtualization-host-bhyve.html
Line 45: Line 38:
 cloned_interfaces="tap0" cloned_interfaces="tap0"
 ifconfig_tap0_name="wifi0" ifconfig_tap0_name="wifi0"
-ifconfig_wifi0="DHCP up"+ifconfig_wifi0="inet 192.0.2.1 netmask 255.255.255.0 up"
 ifconfig_wifi0_ipv6="inet6 accept_rtadv auto_linklocal -ifdisabled" ifconfig_wifi0_ipv6="inet6 accept_rtadv auto_linklocal -ifdisabled"
 </code> </code>
Line 61: Line 54:
  
  
-4. Start OpenWRT+3. Start OpenWRT
 <code> <code>
 /usr/sbin/bhyvectl --destroy --vm=owrt /usr/sbin/bhyvectl --destroy --vm=owrt
Line 83: Line 76:
  
  
-5. Configure OpenWRT:+4. Configure OpenWRT:
 <code> <code>
 uci set network.lan.ipaddr='172.16.0.49' uci set network.lan.ipaddr='172.16.0.49'
Line 104: Line 97:
  
  
-{{tag>software freebsd net netgraph wifi openwrt mysoft}}+{{tag>software freebsd net netgraph wifi openwrt howto}}
software/freebsd/wifi_owrt.txt · Last modified: 2022/06/29 01:33 by root