Developing lightweight computation at the DSG edge
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Quick Mesh Project
qMp packages
Commits
d93cd4c2
Commit
d93cd4c2
authored
Jun 29, 2011
by
hitz
Browse files
Added /etc/init.d/firewall
parent
820a762d
Changes
4
Hide whitespace changes
Inline
Side-by-side
HOWTO
View file @
d93cd4c2
...
...
@@ -23,10 +23,6 @@ nano feeds.conf # adapt path to .../13f/packages
./scripts/feeds update -a
./scripts/feeds install -a
## Only for HT40+ (MiMo) and ath9k
mv ../qmp/files/etc/config/wireless ../qmp/files/etc/config/wireless_g
mv ../qmp/files/etc/config/wireless_n ../qmp/files/etc/config/wireless
## Configuring system
make menuconfig
* Target System (BCM947xxx, x86, atheros,...)
...
...
@@ -45,11 +41,13 @@ make menuconfig
cp ../qmp/patches/004-ibss.patch package/mac80211/patches/
cp ../qmp/patches/002-ibss_ht40.patch package/iw/patches/
patch -p1 -i ../qmp/patches/mac80211.sh_ht40.patch package/mac80211/files/lib/wifi/mac80211.sh
rm package/mac80211/patches/542-mac80211_enable_iftype_wds_aggregation.patch
## Compiling
make kernel_menuconfig
(* General Setup -> Small Systems -> ELF Core dumps )
(* Networking -> options -> IPv6 -> routing-tables )
(* File systems -> Dnotify support && Inotify file change notification support && Inotify support for userspace )
time make V=99
...
...
packages/qmp-small-node/Makefile
View file @
d93cd4c2
...
...
@@ -10,10 +10,9 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME
:=
qmp-small-node
PKG_RELEASE
:=
1
PKG_SOURCE_URL
:=
@SF/qmp-small-node
PKG_SOURCE
:=
$(PKG_NAME)
-
$(PKG_VERSION)
.tar.gz
#PKG_SOURCE_URL:=@SF/qmp-small-node
#PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_BUILD_DIR
:=
$(BUILD_DIR)
/
$(PKG_NAME)
include
$(INCLUDE_DIR)/package.mk
...
...
@@ -54,6 +53,20 @@ define Package/qmp-small-node/description
Addons
for
small
qmp
nodes
(4MByte
flash)
endef
define
Package/qmp-small-node/conffiles
/etc/config/qmp
endef
define
Build/Prepare
mkdir
-p
$(PKG_BUILD_DIR)
endef
define
Build/Configure
endef
define
Build/Compile
endef
define
Package/qmp-small-node/install
$(CP)
./files/*
$(1)/
chmod
755
$(1)/etc/init.d/qmp_autoconf
...
...
@@ -61,3 +74,4 @@ endef
$(eval
$(call
BuildPackage,qmp-small-node))
packages/qmp-small-node/files/etc/init.d/firewall
0 → 100644
View file @
d93cd4c2
patches/002-ibss_ht40.patch
View file @
d93cd4c2
...
...
@@ -13,7 +13,7 @@ diff -Nrup a/ibss.c b/ibss.c
argv++;
argc--;
+ if (argc && parse_channel_typ
.
e(argv[0], &htval)) {
+ if (argc && parse_channel_type(argv[0], &htval)) {
+ NLA_PUT_U32(msg, NL80211_ATTR_WIPHY_CHANNEL_TYPE, htval);
+ argv++;
+ argc--;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment