Forum | Documentation | Website | Blog

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

bb-wlan0-defaults (1.20230922.1)


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent 759ebcec
Branches
No related merge requests found
Showing
with 181 additions and 11 deletions
bb-wlan0-defaults (1.20230922.0-0~lunar+20230922) lunar; urgency=low
bb-wlan0-defaults (1.20230922.1-0~lunar+20240417) lunar; urgency=low
* udev call hostapd@SoftAp0.service directly
-- Robert Nelson <robertcnelson@gmail.com> Fri, 22 Sep 2023 10:29:39 -0500
-- Robert Nelson <robertcnelson@gmail.com> Wed, 17 Apr 2024 15:32:50 -0500
bb-wlan0-defaults (1.20230922.0-0~mantic+20230922) mantic; urgency=low
bb-wlan0-defaults (1.20230922.1-0~mantic+20240417) mantic; urgency=low
* udev call hostapd@SoftAp0.service directly
-- Robert Nelson <robertcnelson@gmail.com> Fri, 22 Sep 2023 10:29:39 -0500
-- Robert Nelson <robertcnelson@gmail.com> Wed, 17 Apr 2024 15:32:50 -0500
SUBSYSTEM=="net", ACTION=="add", KERNEL=="wlan[0-9]", DRIVERS=="iwlwifi" \
RUN+="/usr/sbin/iw dev %k interface add SoftAp0 type managed"
SUBSYSTEM=="net", ACTION=="add", KERNEL=="wlan[0-9]", DRIVERS=="wl18xx_driver" \
RUN+="/usr/sbin/iw dev %k interface add SoftAp0 type managed"
SUBSYSTEM=="net", ACTION=="add", KERNEL=="mlan[0-9]", DRIVERS=="mwifiex_pcie" \
RUN+="/usr/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"
[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=BeagleV-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 [ ! -f /etc/hostapd/SoftAp0.conf ] ; then
cp -v /etc/bbb.io/templates/bb-hostapd.conf /etc/hostapd/SoftAp0.conf
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.20230922.1-0~noble+20240417) noble; urgency=low
* udev call hostapd@SoftAp0.service directly
-- Robert Nelson <robertcnelson@gmail.com> Wed, 17 Apr 2024 15:32:50 -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
[Match]
Name=mlan0
Type=wlan
[Link]
RequiredForOnline=yes
[Network]
DHCP=ipv4
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#DH_VERBOSE = 1
# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
%:
dh $@
override_dh_builddeb:
dh_builddeb -- -Zzstd -z19
[Match]
Name=wlan0
Type=wlan
[Link]
RequiredForOnline=yes
[Network]
DHCP=ipv4
ctrl_interface=DIR=/run/wpa_supplicant GROUP=netdev
update_config=1
p2p_disabled=1
#country=US
network={
ssid="BeagleBone-WXYZ"
psk="BeagleBone"
}
ctrl_interface=DIR=/run/wpa_supplicant GROUP=netdev
update_config=1
p2p_disabled=1
#country=US
network={
ssid="BeagleBone-WXYZ"
psk="BeagleBone"
}
bb-wlan0-defaults (1.20230922.0-0~sid+20230922) sid; urgency=low
bb-wlan0-defaults (1.20230922.1-0~sid+20240417) sid; urgency=low
* udev call hostapd@SoftAp0.service directly
-- Robert Nelson <robertcnelson@gmail.com> Fri, 22 Sep 2023 10:29:39 -0500
-- Robert Nelson <robertcnelson@gmail.com> Wed, 17 Apr 2024 15:32:50 -0500
......@@ -11,4 +11,4 @@ include /usr/share/dpkg/default.mk
dh $@
override_dh_builddeb:
dh_builddeb -- -Zxz
dh_builddeb -- -Zzstd -z19
......@@ -2,7 +2,7 @@
package_name="bb-wlan0-defaults"
debian_pkg_name="${package_name}"
package_version="1.20230922.0"
package_version="1.20230922.1"
package_source=""
src_dir=""
......@@ -17,6 +17,7 @@ debian_patch=""
clear_changelog="enable"
sid_version="~sid+20230922"
lunar_version="~lunar+20230922"
mantic_version="~mantic+20230922"
sid_version="~sid+20240417"
lunar_version="~lunar+20240417"
mantic_version="~mantic+20240417"
noble_version="~noble+20240417"
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