Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit acf06bbd authored by Robert Nelson's avatar Robert Nelson
Browse files

bb-wlan0-defaults (1.20240622.0)


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent cce4afd1
Branches
No related merge requests found
Showing
with 138 additions and 6 deletions
* udev call hostapd@SoftAp0.service directly
* Add BeagleY-AI early cc33xx hostapd support
......@@ -2,5 +2,7 @@ SUBSYSTEM=="net", ACTION=="add", KERNEL=="wlan[0-9]", DRIVERS=="iwlwifi" \
RUN+="/sbin/iw dev %k interface add SoftAp0 type managed"
SUBSYSTEM=="net", ACTION=="add", KERNEL=="wlan[0-9]", DRIVERS=="wl18xx_driver" \
RUN+="/sbin/iw dev %k interface add SoftAp0 type managed"
SUBSYSTEM=="net", ACTION=="add", KERNEL=="wlan[0-9]", DRIVERS=="cc33xx_driver" \
RUN+="/sbin/iw dev %k interface add SoftAp0 type __ap"
SUBSYSTEM=="net", ACTION=="add", KERNEL=="mlan[0-9]", DRIVERS=="mwifiex_pcie" \
RUN+="/sbin/iw dev %k interface add SoftAp0 type __ap"
SUBSYSTEM=="net", KERNEL=="SoftAp0", DRIVERS=="iwlwifi", TAG+="systemd", ENV{SYSTEMD_WANTS}="hostapd@SoftAp0.service"
SUBSYSTEM=="net", KERNEL=="SoftAp0", DRIVERS=="mwifiex_pcie", TAG+="systemd", ENV{SYSTEMD_WANTS}="hostapd@SoftAp0.service"
SUBSYSTEM=="net", KERNEL=="SoftAp0", DRIVERS=="wl18xx_driver", TAG+="systemd", ENV{SYSTEMD_WANTS}="hostapd@SoftAp0.service"
SUBSYSTEM=="net", KERNEL=="SoftAp0", DRIVERS=="cc33xx_driver", TAG+="systemd", ENV{SYSTEMD_WANTS}="hostapd@SoftAp0.service"
bb-wlan0-defaults (1.20240212.0-0~bookworm+20240212) bookworm; urgency=low
bb-wlan0-defaults (1.20240622.0-0~bookworm+20240622) bookworm; urgency=low
* udev call hostapd@SoftAp0.service directly
* Add BeagleY-AI early cc33xx hostapd support
-- Robert Nelson <robertcnelson@gmail.com> Mon, 12 Feb 2024 09:59:07 -0600
-- Robert Nelson <robertcnelson@gmail.com> Sat, 22 Jun 2024 15:13:24 -0500
......@@ -2,5 +2,7 @@ SUBSYSTEM=="net", ACTION=="add", KERNEL=="wlan[0-9]", DRIVERS=="iwlwifi" \
RUN+="/sbin/iw dev %k interface add SoftAp0 type managed"
SUBSYSTEM=="net", ACTION=="add", KERNEL=="wlan[0-9]", DRIVERS=="wl18xx_driver" \
RUN+="/sbin/iw dev %k interface add SoftAp0 type managed"
SUBSYSTEM=="net", ACTION=="add", KERNEL=="wlan[0-9]", DRIVERS=="cc33xx_driver" \
RUN+="/sbin/iw dev %k interface add SoftAp0 type __ap"
SUBSYSTEM=="net", ACTION=="add", KERNEL=="mlan[0-9]", DRIVERS=="mwifiex_pcie" \
RUN+="/sbin/iw dev %k interface add SoftAp0 type __ap"
SUBSYSTEM=="net", KERNEL=="SoftAp0", DRIVERS=="iwlwifi", TAG+="systemd", ENV{SYSTEMD_WANTS}="hostapd.service"
SUBSYSTEM=="net", KERNEL=="SoftAp0", DRIVERS=="mwifiex_pcie", TAG+="systemd", ENV{SYSTEMD_WANTS}="hostapd.service"
SUBSYSTEM=="net", KERNEL=="SoftAp0", DRIVERS=="wl18xx_driver", TAG+="systemd", ENV{SYSTEMD_WANTS}="hostapd.service"
SUBSYSTEM=="net", KERNEL=="SoftAp0", DRIVERS=="cc33xx_driver", TAG+="systemd", ENV{SYSTEMD_WANTS}="hostapd.service"
bb-wlan0-defaults (1.20240212.0-0~bullseye+20240212) bullseye; urgency=low
bb-wlan0-defaults (1.20240622.0-0~bullseye+20240622) bullseye; urgency=low
* udev call hostapd@SoftAp0.service directly
* Add BeagleY-AI early cc33xx hostapd support
-- Robert Nelson <robertcnelson@gmail.com> Mon, 12 Feb 2024 09:59:07 -0600
-- Robert Nelson <robertcnelson@gmail.com> Sat, 22 Jun 2024 15:13:24 -0500
......@@ -2,5 +2,7 @@ SUBSYSTEM=="net", ACTION=="add", KERNEL=="wlan[0-9]", DRIVERS=="iwlwifi" \
RUN+="/sbin/iw dev %k interface add SoftAp0 type managed"
SUBSYSTEM=="net", ACTION=="add", KERNEL=="wlan[0-9]", DRIVERS=="wl18xx_driver" \
RUN+="/sbin/iw dev %k interface add SoftAp0 type managed"
SUBSYSTEM=="net", ACTION=="add", KERNEL=="wlan[0-9]", DRIVERS=="cc33xx_driver" \
RUN+="/sbin/iw dev %k interface add SoftAp0 type __ap"
SUBSYSTEM=="net", ACTION=="add", KERNEL=="mlan[0-9]", DRIVERS=="mwifiex_pcie" \
RUN+="/sbin/iw dev %k interface add SoftAp0 type __ap"
SUBSYSTEM=="net", KERNEL=="SoftAp0", DRIVERS=="iwlwifi", TAG+="systemd", ENV{SYSTEMD_WANTS}="hostapd@SoftAp0.service"
SUBSYSTEM=="net", KERNEL=="SoftAp0", DRIVERS=="mwifiex_pcie", TAG+="systemd", ENV{SYSTEMD_WANTS}="hostapd@SoftAp0.service"
SUBSYSTEM=="net", KERNEL=="SoftAp0", DRIVERS=="wl18xx_driver", TAG+="systemd", ENV{SYSTEMD_WANTS}="hostapd@SoftAp0.service"
SUBSYSTEM=="net", KERNEL=="SoftAp0", DRIVERS=="cc33xx_driver", TAG+="systemd", ENV{SYSTEMD_WANTS}="hostapd@SoftAp0.service"
bb-wlan0-defaults (1.20240212.0-0~jammy+20240212) jammy; urgency=low
bb-wlan0-defaults (1.20240622.0-0~jammy+20240622) jammy; urgency=low
* udev call hostapd@SoftAp0.service directly
* Add BeagleY-AI early cc33xx hostapd support
-- Robert Nelson <robertcnelson@gmail.com> Mon, 12 Feb 2024 09:59:07 -0600
-- Robert Nelson <robertcnelson@gmail.com> Sat, 22 Jun 2024 15:13:24 -0500
SUBSYSTEM=="net", ACTION=="add", KERNEL=="wlan[0-9]", DRIVERS=="iwlwifi" \
RUN+="/sbin/iw dev %k interface add SoftAp0 type managed"
SUBSYSTEM=="net", ACTION=="add", KERNEL=="wlan[0-9]", DRIVERS=="wl18xx_driver" \
RUN+="/sbin/iw dev %k interface add SoftAp0 type managed"
SUBSYSTEM=="net", ACTION=="add", KERNEL=="wlan[0-9]", DRIVERS=="cc33xx_driver" \
RUN+="/sbin/iw dev %k interface add SoftAp0 type __ap"
SUBSYSTEM=="net", ACTION=="add", KERNEL=="mlan[0-9]", DRIVERS=="mwifiex_pcie" \
RUN+="/sbin/iw dev %k interface add SoftAp0 type __ap"
SUBSYSTEM=="net", KERNEL=="SoftAp0", DRIVERS=="iwlwifi", TAG+="systemd", ENV{SYSTEMD_WANTS}="hostapd@SoftAp0.service"
SUBSYSTEM=="net", KERNEL=="SoftAp0", DRIVERS=="mwifiex_pcie", TAG+="systemd", ENV{SYSTEMD_WANTS}="hostapd@SoftAp0.service"
SUBSYSTEM=="net", KERNEL=="SoftAp0", DRIVERS=="wl18xx_driver", TAG+="systemd", ENV{SYSTEMD_WANTS}="hostapd@SoftAp0.service"
SUBSYSTEM=="net", KERNEL=="SoftAp0", DRIVERS=="cc33xx_driver", TAG+="systemd", ENV{SYSTEMD_WANTS}="hostapd@SoftAp0.service"
[Match]
Name=SoftAp0
[Link]
RequiredForOnline=no
[Network]
DHCP=no
Address=192.168.8.1/24
DHCPServer=on
interface=SoftAp0
# a simply means 5GHz
# g simply means 2.4GHz band
hw_mode=g
# the channel to use
channel=1
# limit the frequencies used to those allowed in the country
#ieee80211d=1
# the country code
#country_code=US
# 802.11n support
ieee80211n=1
# QoS support, also required for full speed on 802.11n/ac/ax
wmm_enabled=1
ssid=BeagleBone-WXYZ
# 1=wpa, 2=wep, 3=both
auth_algs=1
wpa=2
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
wpa_passphrase=BeagleBone
macaddr_acl=0
ignore_broadcast_ssid=0
logger_syslog=-1
logger_syslog_level=2
debian/81-add-SoftAp0-interface.rules /etc/udev/rules.d/
debian/82-SoftAp0-start-hostpad.rules /etc/udev/rules.d/
debian/SoftAp0-DHCPServer.network /etc/bbb.io/templates/
debian/bb-hostapd.conf /etc/bbb.io/templates/
debian/mlan0-DHCP.network /etc/bbb.io/templates/
debian/wlan0-DHCP.network /etc/bbb.io/templates/
debian/wpa_supplicant-mlan0.conf /etc/bbb.io/templates/
debian/wpa_supplicant-wlan0.conf /etc/bbb.io/templates/
debian/local-ignore-softap0.conf /etc/bbb.io/templates/
#!/bin/sh
#
# see: dh_installdeb(1)
set -e
if [ ! -f /etc/systemd/network/mlan0-DHCP.network ] ; then
cp -v /etc/bbb.io/templates/mlan0-DHCP.network /etc/systemd/network/mlan0.network
fi
if [ ! -f /etc/systemd/network/SoftAp0.network ] ; then
cp -v /etc/bbb.io/templates/SoftAp0-DHCPServer.network /etc/systemd/network/SoftAp0.network
fi
if [ ! -f /etc/systemd/network/wlan0.network ] ; then
cp -v /etc/bbb.io/templates/wlan0-DHCP.network /etc/systemd/network/wlan0.network
fi
if [ -d /etc/NetworkManager/conf.d/ ] ; then
cp -v /etc/bbb.io/templates/local-ignore-softap0.conf /etc/NetworkManager/conf.d/
fi
#DEBHELPER#
exit 0
bb-wlan0-defaults (1.20240622.0-0~noble+20240622) noble; urgency=low
* udev call hostapd@SoftAp0.service directly
* Add BeagleY-AI early cc33xx hostapd support
-- Robert Nelson <robertcnelson@gmail.com> Sat, 22 Jun 2024 15:13:24 -0500
8
Source: bb-wlan0-defaults
Section: misc
Priority: extra
Maintainer: Robert Nelson <robertcnelson@gmail.com>
Build-Depends:
debhelper (>= 9)
Standards-Version: 4.5.1
Package: bb-wlan0-defaults
Architecture: all
Pre-Depends:
hostapd
Depends:
${shlibs:Depends}
, ${misc:Depends}
, iw
Description: beagleboard.org wlan0 defaults
wlan0 defaults
[keyfile]
unmanaged-devices=interface-name:SoftAp0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment