On Tue, Nov 24, 2020 at 04:26:29AM +0100, Johannes Kimmel wrote:
> Fixes: FS#3426
> Ref: https://bugs.openwrt.org/index.php?do=details&task_id=3426
>
> V2:
> - bump PKG_RELEASE
> - add small explaination about behaviour changes
>
> Signed-off-by: Johannes Kimmel
while sending a mail to openwrt-dev,
i got this answer, which doesnt make any sense,
because the list only accepts "registered" users anyway:
: host mail.openwrt.org[78.24.191.176]
said: 554 5.7.1 Service unavailable; Client host [176.9.57.138] blocked
using bl.spamcop.net; Blocked - see http://ww
* Eric Schultz [03.05.2015 20:28]:
> Hey, I wanted to let folks know about this open source tool for finding
> errors in shell scripts that I stumbled on:
> https://github.com/koalaman/shellcheck. Not sure on how applicable it will
> be to the complex features that OpenWrt uses but if it worked we
today I was searching for a non-running uhttpd and
recognized, that there are no error messages anymore
if something goes wrong. in 62ff68fb / r38023
# procd: convert various packages to procd style init.d scripts
# Signed-off-by: John Crispin
the debug-output was commented out. was this intende
* Jo-Philipp Wich [11.05.2015 10:29]:
> this is already fixed in trunk. The uhttpd stderr is relayed to syslog
> there.
thank you - i see:
this is not very intuitive. can this be send to console
when user is interactive? (like: loggger -s message)
bye, bastian
___
* Jo-Philipp Wich [11.05.2015 11:47]:
> > this is not very intuitive. can this be send to console
> > when user is interactive? (like: loggger -s message)
>
> Not easily as it is procd logging the services stderr. One can implement
> a "test" or "debug" start action though which would calculate t
* Jo-Philipp Wich [11.05.2015 12:34]:
> > it think thats too special - there should be a generic way to
> > get direct feedback on the commandline when something fails without
> > doing magic. what if we e.g. 'export INTERACTIVE=1' via /etc/profile
> > so procd / a called script is aware of this?
* Miklos Szeredi [19.05.2015 11:19]:
> The work directory is needed for atomic copy-up and similar. It is not
> actually
> necessary to mount a read-only overlay. Post 4.0 it is possible to mount the
> overlay without workdir (but even then it won't happen automatically in case
> the
> upper f
runtime tested on ar71xx with kernel 3.18.11
this paritially fixes #19564
Signed-off-by: Bastian Bittorf
---
...unt-read-only-if-workdir-can-t-be-created.patch | 114
1 file changed, 114 insertions(+)
create mode 100644
target/linux/ar71xx/patches-3.18/910-overlayfs
while editing a ticket, i saw:
Warning: The change has been saved, but an error occurred while sending
notifications: (451, 'Error while writing spool file')
bye, bastian
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwr
* Steven Barth [20.05.2015 19:43]:
> http://downloads.openwrt.org/chaos_calmer/15.05-rc1/
Thank you!
when will this work?:
git clone git://git.openwrt.org/15.05/openwrt.git
> * Known Issues
> - libusb-1.0 is currently not installable (#19668). This is already
this is a joke 8-) there are ~
* Christian Mehlis [21.05.2015 12:49]:
> >+--- a/fs/overlayfs/super.c
> > b/fs/overlayfs/super.c
> >+@@ -529,7 +529,7 @@ static int ovl_remount(struct super_block *sb, int
> >*flags, char *data)
>
> this function was added with linux 4.0, so your patch for 3.18 does
> not apply.
>
> Can you
on my buildserver i cannot install packages and
must use e.g. './staging_dir/host/bin/quilt'.
but quilt does not start with:
make target/linux/{clean,prepare} V=s QUILT=1
bastian@gcc20:~/openwrt$ which quilt || echo missing
missing
bastian@gcc20:~/openwrt$ ./staging_dir/host/bin/quilt --version
* Jo-Philipp Wich [21.05.2015 15:18]:
> Did you try something like
> export PATH="$PATH:/home/bastian/openwrt/staging_dir/host/bin" ?
meanwhile yes, but it does not work like i exspected.
should'nt quilt open, when a patch cannot be applied cleanly?
bye, bastian
_
* Christian Mehlis [21.05.2015 12:49]:
> Can you give me a hint to make it work with 3.18?
can you please try to apply the appended patch with
git am <$file
make target/linux/clean
make
bye, bastian
>From f5d917da8665f1a3c79e5beb34acea7daf019ff5 Mon Sep 17 00:00:00 2001
From: Bastia
* Jo-Philipp Wich [21.05.2015 20:50]:
> > meanwhile yes, but it does not work like i exspected.
> > should'nt quilt open, when a patch cannot be applied cleanly?
>
> Uhm no. At least I never encountered such behavior.
ok, lets say i have copied a patch into the kernel-patches folder
which cannot
* Jo-Philipp Wich [22.05.2015 07:16]:
> If the patches all apply despite fuzz:
[...]
thank you very much - it works now! bye, bastian
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/open
* Juan Orti Alcaine [26.05.2015 07:59]:
> - swapon "$zram_dev"
> + swapon -p 100 "$zram_dev"
please use at least:
swapon -p X $dev || swapon $dev
so it can work even without '-p' option,
which is optional in busybox.
bye, bastian
This is the case e.g. if JFFS2 partition is full.
see: https://www.mail-archive.com/linux-unionfs@vger.kernel.org/msg00246.html
runtime tested on ar71xx with kernel 3.18.14 and r45772 (rebased)
this paritially fixes #19564
Signed-off-by: Bastian Bittorf
---
...-overlayfs-fallback-to-readonly
* Jo-Philipp Wich [27.05.2015 18:40]:
> This should get corrected (and upstream notified about it as well).
e.g. 'failed to create work directory'?
bye, bastian
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cg
: Bastian Bittorf
---
...-overlayfs-fallback-to-readonly-when-full.patch | 109
1 file changed, 109 insertions(+)
create mode 100644
target/linux/ar71xx/patches-3.18/910-overlayfs-fallback-to-readonly-when-full.patch
diff --git
a/target/linux/ar71xx/patches-3.18/910
while working on a minimal image, i tried
to build without usign. is it possible to
let it depend on opkg? can i send a patch for this?
bye, bastian
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/
* Christian Mehlis [29.05.2015 19:00]:
> this patch is superfluous because it's already merged...
Thomas is right, i send it only for ar71xx, but it should
be in the generic 3.18-patchfolder. I'am already compiling
some other platforms and test it. if ok, i will send v5
which will revert the old
* Bastian Bittorf [23.10.2014 11:28]:
> odhcp6c: script: only call firewall, if installed
>
> we dont use fw3, so i was wondering about error-messages in syslog
> about fw3. check if 'fw3' is in place, before calling it.
>
> Signed-off-by: Bastian Bittorf
> ---
We dont use fw3, so i was wondering about error-messages in syslog
about fw3. check if 'fw3' is in place, before calling it.
Signed-off-by: Bastian Bittorf
---
package/network/ipv6/odhcp6c/files/dhcpv6.script |4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
* Steven Barth [31.05.2015 20:56]:
> The patch is malformed and cannot be applied.
i just sent a rebased version (the old was from 2014).
bye, bastian
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mail
* Steven Barth [01.06.2015 10:46]:
> Is that okay with you as well https://dev.openwrt.org/changeset/45867 ?
it's ok for me, but IMHO not the proper way,
because you are hiding errors, if there are any...
bye, bastian
___
openwrt-devel mailing list
ope
asons too.
There's no reason that the mount itself should fail, overlayfs can work
fine without a workdir, as long as the overlay isn't modified.
So mount it read-only and don't allow remounting read-write.
Add a couple of WARN_ON()s for the impossible case of workdir being used
d
/overlay/upper/...
Signed-off-by: Bastian Bittorf
---
package/base-files/files/etc/profile |4
1 file changed, 4 insertions(+)
diff --git a/package/base-files/files/etc/profile
b/package/base-files/files/etc/profile
index 3dd58e1..007baf0 100644
--- a/package/base-files/files/etc
* Hendrik Lüth [10.06.2015 12:58]:
> + for i in /etc/profile.d/* ; do
> +if [ -r $i ]; then
> + . $i
> +fi
> + done
> + unset i
> +fi
i like the idea, but please use at least:
command . $i
or
( . $i )
otherwise a syntax error / file error will prevent a login.
also use the unof
* thomas.lan...@lantiq.com [10.06.2015 13:59]:
> I think this will not work, as /etc/profile (and these additional files) is
> expected to be executed in the current shell context.
> Otherwise adding shell variables or extending $PATH will not work. So you
> cannot execute them in a subshell.
o
* Matthias Schiffer [10.06.2015 14:26]:
> Why should errors in these files cause login issues? This is shell and
> there's no -e, problematic lines will print an error and be skipped.
i have seen a lot of strange things. think about
flash readerrors or stack corruption or $youridea 8-)
i think w
* Hendrik Lüth [10.06.2015 20:38]:
> Weather a script needs to get called in failsafe mode or not depends
> on the script, so I'd like to not skip it.
no, failsafe is failsafe is failsafe and should do mostly nothing.
bye, bastian
___
openwrt-devel mai
* Yousong Zhou [10.06.2015 20:38]:
> > distributions. This allows packages to install their own scripts into
> > /etc/profile.d/.
>
> IMO, OpenWrt is not like most of other Linux distributions. So what are
> those other packages that need this and the current specific use cases?
I agree, that O
* Nikos Mavrogiannopoulos [11.06.2015 09:35]:
> individual service). However, a way to reduce the impact would be for
> netifd to restart transmission if crashed. Can that be done already, or
> inittab is the only option?
you can convert the initscript for using 'procd'.
take as an example the fi
* Hans Dedecker [12.06.2015 12:15]:
> + if [ -n "$res_mask" -a "$mask" != 32 ]; then
> + [ "$mask" -gt "$res_mask" ] || [ "$res_mask" = 32 ] && {
if you send a v3, please use here:
[ "$mask" -gt "$res_mask" -o "$res_mask" = 32 ] && {
...
}
> + [ -n "$l
* Hendrik [15.06.2015 09:02]:
> i just wanted to ask for your oppinions on the second verison of my
> patch.
why didnt you pay attention for all the suggestions? bye, bastian
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.o
* younfan33 [17.06.2015 08:52]:
> --- target/linux/ramips/base-files/lib/preinit/06_set_iface_mac(revision
> 0)
> +++ target/linux/ramips/base-files/lib/preinit/06_set_iface_mac(revision
> 0)
> @@ -0,0 +1,113 @@
> +#
> +# Copyright (C) 2011 OpenWrt.org
> +#
> +
> +preinit_set_mac_
* Hannu Nyman [18.06.2015 11:06]:
> Other possibility could be divide opkg.conf into two: a
> build-specific default download repo list (to be overwritten in
> sysupgrade) and a user-specific config file with config options and
> possible additional download locations (to be preserved).
IMHO this
* Stefan Tomanek [18.06.2015 15:39]:
> Can anyone supply any different ideas or provide some feedback?
maybe: disabled services are stored during sysupgrade in
e.g. /lib/upgrade/keep.d/services_disabled
and this file will be read line by line during firstboot/uci-defaults
(and services diabled a
* Javier Domingo Cansino [26.06.2015 17:22]:
> Thanks for sharing!!
short comment from myself (for the next hangout).
everyone who is speaking should do a
short "introduce myself" with background.
bye, bastian
___
openwrt-devel mailing list
openwrt-dev
* Peter Uithoven [29.06.2015 13:20]:
> We do a little bit of our own wifi config. We try to find (using scanlist)
> known wifi networks and connect to them, when non appropriate are found we
> create a accesspoint.
> In the future, when connecting to a known networks fails it should also
> become
* Peter Uithoven [29.06.2015 15:27]:
> > > If I understand the OpenWRT wiki hotplug is replaced by procd?
> >
> > no. netifd will start hotplug if an interface comes up.
> >
> > But, why does the wiki say this then? Is that info incorrect? Is netifd an
> exception?
>
you are right - procd will c
* ben [30.06.2015 06:48]:
> Signed-off-by: ben
> ---
> package/network/services/hostapd/files/netifd.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/package/network/services/hostapd/files/netifd.sh
> b/package/network/services/hostapd/files/netifd.sh
> index 23d2e7e
While working with 'tc' we found something strange:
Our filters apply without errors, but we cannot see
them with 'tc filter show dev $dev'.
Also when running 'tc monitor' in another terminal, we
only see 'qdisc' related things, but not filters.
It seems that it happens from r37xxx till now/trunk
In our community we are struggling now, what we can buy.
TP-Link 4900 and 4300 are EOL now in Germany. What else is there?
- 8mb+ flash
- 450 mbit ath9k 2.4 GHz
- 450 mbit ath9k 5 GHz
- 128mb ram
- 5 gigabit ports
- OpenWrt 8-)
bye, bastian
___
openwrt-
* Jonathan Bennett [01.07.2015 20:33]:
> I have had great success with the tp-link Archer c7. It fits the bid
> nicely, if it is available.
no, it does not fit. it has only an ath10k-radio for 5ghz.
bye, bastian
___
openwrt-devel mailing list
openwrt-d
* Emmanuel Deloget [01.07.2015 21:50]:
> You should try Aliexpress - it seems they still have some 4900 (be aware
> that prices might be a bit weird).
my question is not about "tricks" to get these devices.
it's about what can be found everywhere.
is 2.4+5ghz ath9k really outdated? bye, bastian
* Etienne Champetier [02.07.2015 10:51]:
> > is 2.4+5ghz ath9k really outdated? bye, bastian
>
> maybe you can explain why only ath9k (mesh? binary blob?)
We like on 4 things:
- ratecontrol in userspace (minstrel)
- powercontrol in userspace (not upstream yet)
- IBSS/adhoc together with AP-mode
* Ferry Huberts [30.06.2015 18:38]:
> We did a bug-fix release of olsrd v1.
yesterday i updated the OpenWrt routing-packages
for trunk|14.07|15.05 - thank you all!
BTW: no issues so far when using 'musl' libc.
as always: please compile, test and report 8-)
bye, bastian
_
just for the admin:
Warning: The ticket has been created, but an error occurred while
sending notifications: (421, 'Unexpected failure, please try later')
while submitting this new ticket:
https://dev.openwrt.org/ticket/20029
bye, bastian
___
openwrt-de
* Bruno Randolf [03.07.2015 13:15]:
> I am writing here to ask wether someone has done this already, or if
> there are any other concerns or opinions. Please let me know!
I think nearly every wireless community has something like this.
A good approach is IMHO the sven-ola "check different routing
* Bruno Randolf [03.07.2015 13:15]:
> I am writing here to ask wether someone has done this already, or if
> there are any other concerns or opinions. Please let me know!
IMHO useful would be to have a hotplug-events during
every change of default-route (for every interface).
(e.g. new|change|del
* Kevin Darbyshire-Bryant [26.07.2015 16:35]:
> The next question is how? It looks like a few other packages create a
> subdir in 'keep.d' with a file containing a list of files that should be
> preserved by default. I would anticipate creating 'samba' & 'dnsmasq'
> subdirs though the package Ma
* Lawrence D'Anna [26.07.2015 16:39]:
> > What prereq can be forced that makes force even a worthwhile option? If
> > it works anyway, why not just drop the prereq check? If it still won't
> > work, what's the point in allowing a force?
>
> In my case it was because the prereq checks didn’t thi
i build it for ar71xx, and these are the numbers [bytes]:
before:
359736 build_dir/target-mips_34kc_musl-1.1.10/busybox-1.23.2/busybox
208071 bin/ar71xx/packages/base/busybox_1.23.2-1_ar71xx.ipk
after:
359884 build_dir/target-mips_34kc_musl-1.1.10/busybox-1.23.2/busybox
209115 bin/ar71xx/packages
* Rafał Miłecki [11.08.2015 21:01]:
is there a special reason, that you are using
exec /sbin/poweroff
instead of just
/sbin/poweroff
bye, bastian
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailma
* Rafał Miłecki [12.08.2015 15:10]:
> I think you're commenting on a wrong patch.
sorry, yes - the comment applies to:
a643de25/r40909 and i just stumpled upon this
while reading the affected sources of your patch.
@stefan: why is this 'exec' needed?
bye, bastian
___
* Alexander Couzens [07.08.2015 20:48]:
> lock -n is similiar to flock -n. If the lock was already taken,
> fail with exit code = 1 and write error message to stderr.
see: http://mywiki.wooledge.org/BashFAQ/045
internally we are using 'mkdir' which is called via a 'lock()' function:
if mkdir /tm
* Alexander Couzens [06.08.2015 19:05]:
> lock -n is similiar to flock -n. If the lock was already taken,
> fail with exit code = 1 and write error message to stderr.
sorry, forget to ask:
is this "more" atomic than 'mkdir mypath || return'?
bye, bastian
_
* Sami Olmari [07.08.2015 15:48]:
> In openwrt you are free to configure each and every radio as own unit, so
> use whatever SSID you see fit for each radio. This is default basic OpenWrt
> stuff :)
seems that Afkar has 1 radio which must be switched between 2.4 and 5 GHz,
Afkar?
bye, bastian
_
builder can simply add there files.
v1 initial work of Hendrik Lüth
v2 changes regarding RFC (e.g. thomas.lan...@lantiq.com)
v3 changes regarding RFC (e.g. mschif...@universe-factory.net)
v4 keep it simple and mimic OpenWrt style
Signed-off-by: Bastian Bittorf
---
package/base-files/files/etc
* karlp [04.09.2015 12:30]:
> > + for FILE in /etc/profile.d/*.sh; do
> > + [ -e "$FILE" ] && . "$FILE"
>
> Why the -e? You only got existing files in the glob above right? If
no, when the directory is empty, you get
FILE='/etc/profile.d/*.sh'
> Maybe "local" could be used to avoid
* edgar.sol...@web.de [04.09.2015 12:30]:
> note from a bystander. this looks wrong - path/file names containing spaces
> will be delimited by for. probably better use
for the sent patch this works:
root@box:~ touch "A 1"
root@box:~ touch "A 2"
root@box:~ for FILE in A*; do ls -l "$FILE"; done
* karlp [04.09.2015 12:30]:
> Maybe "local" could be used to avoid the unset FILE line, but at least
on 2nd tought i must object, that if we use a function,
our environment is polluted with a function (how to unload it?),
so it's easier to just unset a variable.
bye, bastian
* Karl Palsson [04.09.2015 15:02]:
> So let's -d test the directory instead of -e testing every file just in
> case the directory didn't exist?
even if the directory exists but is empty, the globbing fails.
but i get your point. what about:
[ -n "$( ls -1 $dir )" ] && {
for FILE in $dir/*; do
* Luiz Angelo Daros de Luca [04.09.2015 17:48]:
> Normally I like to use find instead of glob
> With minpath, maxpath, name and etc, you get safe empty result when dir is
> empty.
IMHO this is overkill here. You are correct, but...
bye, bastian
___
ope
* Adrian Kotelba [06.09.2015 20:05]:
> Serving precompressed content with uhttpd.
please write more about the usecase. it looks useless?!
bye, bastian
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mail
* Adrian Kotelba [07.09.2015 11:36]:
> Well, it could be useful for low-end devices with small storage
> capacity and slow networks, see https://dev.openwrt.org/ticket/14333.
> The static content, mostly text-based HTML, Java, and css files, could
> be stored as gzip or zopfli precompressed files.
* Adrian Kotelba [07.09.2015 15:18]:
> > ok, as far as i understand the patch, if somebody
> > tries to http_get file 'xy.html' and the webserver
> > finds 'xy.html.gz' it serves this file, right?
>
> Right. More preciselly, if somebody tries to http_get file 'xy.html'
> and the webserver does fi
* Adrian Kotelba [07.09.2015 18:57]:
> Thanks for hints. So, in other words, you propose to compress the
> files on the fly, right?
> I am afraid that low-end devices may not have enough cpu power to do that.
this is really fast. gzip compresses at ~1megabyte/sec on a typical router.
this means 1
Thanks for fully switching to 'ip' and abandon 'ifconfig/route'.
Back in 2008 with r11157 i started the first discussion with
a patch and the core team was against it. i tried again in 2009,
but the additional 12k was just to much [1] for adding. Several
discussions in IRC always leaded to 'too mu
* Steven Barth [11.09.2015 11:44]:
> Well it's not yet abandoned we still have to migrate a lot of
> stuff under target/ and in the feeds. ifconfig and route won't
> go away before that happens.
thanks for pointing at it:
user@build:~/openwrt$ git grep 'ifconfig ' | wc -l
57
i see that as a dire
* John kerry [15.09.2015 08:52]:
> I have to write some condition in
> /etc/hotplug.d/button/50-wps/ file
>
> I have to configure cat /etc/hotplug.d/button/00-wps file for following
> condition:
> if [ "$BUTTON" = "BTN_2" ] && [ "$ACTION" = "pressed" ]; then
>
> I have to check eth0.1 if link is
* John kerry [15.09.2015 13:44]:
> Hi,
>
> I have added following condition but its not working:
>
> MYDEV='eth0'
>
> if [ "$ACTION" = "pressed" -a "$BUTTON" = "BUT_2" ] && {
remove the 'if'
> devstatus "$MYDEV" | grep '"up": true' && {
> echo "255" >
> /sys/devices/platform/leds-gp
* John kerry [16.09.2015 08:10]:
> Hi,
>
> I have changed the script as below:
>
> MYDEV='eth0.2'
>
> ["$ACTION" = "pressed" -a "$BUTTON" = "BUT_2" -a "INTERFACE" = 'wan'] &&
^^^ a space here, so [ "$ACTION" - the same at the end: 'wan' ]
use "$INTERFACE" with the '$'
please learn shell-sc
* John kerry [16.09.2015 11:32]:
> even i checked on http://www.shellcheck.net/ , its not giving any feedback,
> it seems correct but still its not working.
add 1 line on top of your script for debugging:
set | logger
and check with 'logread -f' the output when you press the button.
bye, basti
* John kerry [16.09.2015 12:18]:
> I am getting below log:
ok, i see: INTERFACE is not set, so you have to remove the check for
this var and hardcode it.
please stop sending mails like this, debug on your own with a local friend.
bye, bastian
___
open
* amine ahd [14.01.2016 10:29]:
thank you, patch applies...
> start_service() {
> - local server enabled enable_server peer
> + local server enabled enable_server peer ntpservers
> + local use_dhcp="$(uci -q get system.ntp.use_dhcp)"
>
> validate_ntp_section ntp || {
>
* Daniel Dickinson [14.01.2016 17:35]:
> If on trunk, what compile options do use to make the images build
> successfully? I get failed compiles with warning that the image is
> too big on any brcm47xx target I tried, so unless wl-500gp is bigger
> than most of them, I'm thinking you're either do
* Amine Aouled Hamed [15.01.2016 10:03]:
> > please make var 'iface' local and while you are there, move
> > all the 'local' declaration to the head of the function.
>
> Wouldn't be better if the local vars inside of the if and for statements
> stay inside?
maybe thats personal preference, i lik
* Nishant Sharma [18.01.2016 15:40]:
> I was wondering if there is a way to dissociate STAs who say go below
> a minimum threshold SNR or signal level of say -65dBm in a multi-AP
> scenario?
we also faced this, while doing roaming.
i workaround is to have something like:
#!/bin/sh
iw event | wh
* Nishant Sharma [19.01.2016 07:46]:
> >ubus call hostapd.$dev del_client '{ "addr" : "$mac", "reason" :
> >"assoc toomany", "ban_time" : 1 }'
> Thanks for the pointers. It works for me.
>
> What exactly is ban_time unit? I presume it's millisecond.
yes, milliseconds.
> Where can I find mor
* Weedy [19.01.2016 07:46]:
> > I was wondering if there is a way to dissociate STAs who say go below a
> > minimum threshold SNR or signal level of say -65dBm in a multi-AP scenario?
> >
> option disassoc_low_ack1
> Adjust this code to trigger higher?
yes, this also helps but is NOT enough.
* amine ahd [19.01.2016 10:12]:
> start_service() {
> - local server enabled enable_server peer
> -
> + local server enabled enable_server peer ntpservers iface status
> ntpserver dump
> + local dhcp_ifaces="$(uci -q get system.ntp.dhcp_ifaces)"
> +
please remove whitespaces in
* open...@daniel.thecshore.com [20.01.2016
07:21]:
> @@ -5,30 +5,34 @@ set_classless_routes() {
> local max=128
> local type
thanks for that, i have it also on my todo-list.
please remove also the 'local type' here.
> done
> }
>
> setup_interface() {
> - echo "udhcpc:
* amine ahd [20.01.2016 10:09]:
thank you!
> The current state of NTP is to load the list of NTP servers
> from the static file /etc/config/system.
> This patch allows ntpd to get NTP servers from DHCP.
like john wrote already:
if you edit the first line of the commit-message, please write:
bu
* Petr Štetiar [20.01.2016 10:14]:
thank you!
> START=00
> +STOP=90
> +
> +rtc_dev=/dev/rtc0
> +hwclock=/sbin/hwclock
please use varname in UPPERCASE if global (just a style issue)
the rest looks good to me.
bye, bastian
___
openwrt-devel mailing li
* Daniel Dickinson [20.01.2016 10:18]:
> >>+ local prefix="$(
> >>+ eval "$(ipcalc.sh 0.0.0.0 ${subnet:-255.255.255.0})"
> >>+ echo -n $PREFIX
> >
> >dont use '-n'
>
> Why not? It prevents echo from emitting an unwanted newline.
it's not POSIX and really unneeded here (it
* Daniel Dickinson [20.01.2016 10:18]:
> >>+ local prefix="$(
> >>+ eval "$(ipcalc.sh 0.0.0.0 ${subnet:-255.255.255.0})"
> >>+ echo -n $PREFIX
> >
> >dont use '-n'
>
> Why not? It prevents echo from emitting an unwanted newline.
by the way:
is somebody fluent enough in AWK
* open...@daniel.thecshore.com [20.01.2016
14:01]:
> +# From Bastian Bittorf
> +# Included in this file to avoid dependencies
> +mask2cidr()
please drop the comment, thank you.
> +{
> + local x=${1##*255.}
> + local allones=$(( (${#1} - ${#x}) * 2 ))
> + local
* open...@daniel.thecshore.com [21.01.2016
07:06]:
> From: Daniel Dickinson
>
> Allow to use dependencies on 'ip' command without forcing a
> particular version by having ip-full and busybox (if ip
> applet enabled), as well as renamed ip package
> (to ip-tiny) all provides the ip virtual packa
* Petr Štetiar [21.01.2016 12:22]:
> boot() {
> + [ -e "$RTC_DEV" ] && [ -e "$HWCLOCK" ] && $HWCLOCK -s -f $RTC_DEV &&
> exit 0
thank you! can you please do in this line a:
&& return
and introduce a helper (maybe overengineered 8-)
deps_ok() {
[ -e "$RTC_DEV" ] && [ -e "$HWCLOCK"
* John Crispin [21.01.2016 13:30]:
> hang on there, this looks like bastel basti scriptowahn
8-) but the 'exit VS. return' is valid...
bye, bastian
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman
* Daniel Dickinson [22.01.2016 07:55]:
> >>- export dev_${dir}="ifconfig $dev up txqueuelen 5 >&- 2>&-
> >>+ export dev_${dir}="ip link set $dev up txqueuelen 5 >&- 2>&-
> >This doesn't actually work...
>
> Is it unsupported by busybox ip applet? It is correct on fedora, but
* Daniel Dickinson [22.01.2016 07:55]:
> For a netifd protocol is there way to tell netifd to *not*
> automatically try to restart the connection?
we have samething similar for PPPoE.
option 'authfail' '1' # since r33291
check package/network/services/ppp/files/ppp.sh
bye, bastian
_
* John Clark [22.01.2016 07:55]:
> Is it intentional that wget is not available by default in the
> current trunk? I noticed this because /sbin/sysupgrade is failing in
> the current build of designated driver due to this. I thought I
> would point it out.
yes, is was dropped with r48386 + 4837
with r48379 and r48386 the path of wget changed.
respect that and adjust the dirname.
this fixes #21680
Signed-off-by: Bastian Bittorf
---
package/base-files/files/lib/upgrade/common.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/base-files/files/lib/upgrade
* John Clark [22.01.2016 07:55]:
> Is it intentional that wget is not available by default in the
i just send a patch. thanks for spotting this.
bye, bastian
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-b
* Martin Tippmann [23.01.2016 14:23]:
> The daemon should work fine, at least curl and wget on Ubuntu handle it fine.
i cannot reproduce this here:
root@box:~ wget -qO - http://127.0.0.1:2006|wc -l
709
root@box:~ command -V wget
wget is a tracked alias for /bin/wget
(so it's working fine)
bye,
1 - 100 of 791 matches
Mail list logo