Forum | Documentation | Website | Blog

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

bb-wlan0-defaults (1.20230623.0)


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent 095fdd55
Branches
No related merge requests found
Showing
with 189 additions and 4 deletions
bb-wlan0-defaults (1.20230202.1-0~bookworm+20230405) bookworm; urgency=low
bb-wlan0-defaults (1.20230623.0-0~bookworm+20230623) bookworm; urgency=low
* Rebuild for repos.rcn-ee.com
-- Robert Nelson <robertcnelson@gmail.com> Wed, 05 Apr 2023 16:10:01 -0500
-- Robert Nelson <robertcnelson@gmail.com> Fri, 23 Jun 2023 09:36:36 -0500
bb-wlan0-defaults (1.20230202.1-0~bullseye+20230405) bullseye; urgency=low
bb-wlan0-defaults (1.20230623.0-0~bullseye+20230623) bullseye; urgency=low
* Rebuild for repos.rcn-ee.com
-- Robert Nelson <robertcnelson@gmail.com> Wed, 05 Apr 2023 16:10:01 -0500
-- Robert Nelson <robertcnelson@gmail.com> Fri, 23 Jun 2023 09:36:36 -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=="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"
[keyfile]
unmanaged-devices=interface-name:SoftAp0
[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/99-unmanaged-devices.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/wpa_supplicant/wpa_supplicant-mlan0.conf ] ; then
cp -v /etc/bbb.io/templates/wpa_supplicant-mlan0.conf /etc/wpa_supplicant/wpa_supplicant-mlan0.conf
fi
if [ ! -f /etc/wpa_supplicant/wpa_supplicant-wlan0.conf ] ; then
cp -v /etc/bbb.io/templates/wpa_supplicant-wlan0.conf /etc/wpa_supplicant/wpa_supplicant-wlan0.conf
fi
if [ ! -f /etc/hostapd/hostapd.conf ] ; then
cp -v /etc/bbb.io/templates/bb-hostapd.conf /etc/hostapd/hostapd.conf
fi
if [ -d /etc/NetworkManager/conf.d/ ] ; then
cp -v /etc/bbb.io/templates/99-unmanaged-devices.conf /etc/NetworkManager/conf.d/
fi
#DEBHELPER#
exit 0
bb-wlan0-defaults (1.20230623.0-0~jammy+20230623) jammy; urgency=low
* Rebuild for repos.rcn-ee.com
-- Robert Nelson <robertcnelson@gmail.com> Fri, 23 Jun 2023 09:36:36 -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
[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 $@
[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"
}
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=="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"
[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