summaryrefslogtreecommitdiffstats
path: root/package/network
Commit message (Collapse)AuthorAgeFilesLines
* hostapd: fix "bad number" error due to missing wps_pbc_in_m1 option (since ↵Felix Fietkau2014-04-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | r39995) r39995 introduced a new parameter wps_pbc_in_m1 to wifi wps config, but apparently did not provide a default value 0. When that option's non-existing value is later evaluated in /lib/netifd/hostapd.sh, it causes the "bad number" error to be logged in syslog if user has not set the wps_pbc_in_m1 option. The error materialises only if user has enabled wps. Sat Apr 12 13:25:01 2014 daemon.notice netifd: radio1 (1254): sh: bad number Sat Apr 12 13:25:01 2014 daemon.notice netifd: radio0 (1253): sh: bad number Discussion in bug 15508: https://dev.openwrt.org/ticket/15508#comment:3 Error is caused by line 282: https://dev.openwrt.org/browser/trunk/package/network/services/hostapd/files/netifd.sh#L282 My patch sets the parameter's default value to 0, which does nothing. The default might also be set a bit later in the function, but this felt like the most clear place to do that. Signed-off-by hnyman <hannu.nyman@iki.fi> SVN-Revision: 40469
* lantiq: more vdsl related cleanupsJohn Crispin2014-04-112-6/+15
| | | | | | | | | | | * atm module needs to be loaded before linux-atm * use absolute firmware paths * extended validation * add a script for mounting an optional firmware partition Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 40460
* netifd: switch to using git.openwrt.orgFelix Fietkau2014-04-111-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40459
* uhttpd: do not attempt to configure Lua handler if referenced file does not ↵Jo-Philipp Wich2014-04-111-3/+5
| | | | | | | | exist Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 40457
* netifd: update to latest version, adds a force_link parameter to bring up an ↵Felix Fietkau2014-04-111-2/+2
| | | | | | | | interface without active device carrier Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40456
* netifd: update to the latest version, fixes some reload issues with proto=staticFelix Fietkau2014-04-101-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40449
* netifd: fix a regression related to ppp + multiple updates (ipv4 + ipv6)Felix Fietkau2014-04-101-2/+2
| | | | | | | | Fixes #15504 Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40443
* lantiq: move the dsl-modem config to network.@dsl-modem[-1]John Crispin2014-04-102-6/+6
| | | | | | | | make sure uci_defaults generates a proper uci config for the v/adsl modem Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 40439
* lantiq: vdsl init.d script should auto startJohn Crispin2014-04-091-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 40438
* lantiq: cleanup vdsl driver bringupJohn Crispin2014-04-091-13/+157
| | | | | | | | | | | | | | | | config interface 'wan' # a, b, j option annex b # a, b, av, bv option tone b # vdsl.bin option firmware # atm, ptm option xfer_mode atm Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 40437
* odhcpd: use correct defaults for interfaces not in UCISteven Barth2014-04-091-2/+2
| | | | SVN-Revision: 40435
* odhcp6c: fix recovering from status where all addresses have been lostSteven Barth2014-04-091-2/+2
| | | | SVN-Revision: 40432
* ds-lite: compatibility with ISPs that only offer public PDsSteven Barth2014-04-082-5/+9
| | | | SVN-Revision: 40422
* netifd: update to the latest version, fixes a l3_dev handling regression ↵Felix Fietkau2014-04-071-2/+2
| | | | | | | | leading to a crash Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40414
* odhcpd: improve managed PDSteven Barth2014-04-061-2/+2
| | | | SVN-Revision: 40395
* hostapd: update to version 2014-04-04Felix Fietkau2014-04-0631-604/+290
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40394
* odhcp6c: Add renew handler for proto dhcpv6Felix Fietkau2014-04-051-0/+9
| | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> SVN-Revision: 40386
* netifd: Add renew handler for proto dhcpFelix Fietkau2014-04-051-0/+9
| | | | | | Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> SVN-Revision: 40385
* netifd: update to latest version, fixes issues when l3 interface changes on ↵Felix Fietkau2014-04-051-2/+2
| | | | | | | | reload (e.g. ppp -> dhcp/static) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40384
* lantiq: cleanup the dsl control scriptsJohn Crispin2014-04-057-672/+15
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 40381
* odhcpd: add preliminary support for managed DHCPv6-PD and CER-IDSteven Barth2014-04-011-2/+12
| | | | SVN-Revision: 40355
* odhcp6c: add preliminary CER-ID supportSteven Barth2014-03-312-2/+15
| | | | SVN-Revision: 40351
* samba36: revert r40341John Crispin2014-03-309-136/+136
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 40343
* samba: update to 3.6.23 Signed-off-by: John Crispin <blogic@openwrt.org>John Crispin2014-03-309-136/+136
| | | | SVN-Revision: 40341
* dhcp: Fix broadcast parameter validation support, remove unused netmask ↵John Crispin2014-03-301-2/+1
| | | | | | | | parameter Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> SVN-Revision: 40332
* ltq-vdsl: add led status reportingJohn Crispin2014-03-301-8/+27
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 40322
* dropbear: move options.h editing to Build/ConfigureFelix Fietkau2014-03-291-3/+3
| | | | | | | | | fixes incremental build with change to CONFIG_DROPBEAR_ECC drop --with-shared which is unknown to configure Patch by Catalin Patulea <cat@vv.carleton.ca> SVN-Revision: 40300
* dropbear: add options SSHKeepAlive and IdleTimeout.Felix Fietkau2014-03-291-1/+5
| | | | | | | | | | | | | | | | Without timeout mechanism, if ssh client disconnected without sending FIN or RST, forked dropbear servers would hang there for KEX_RETRY_TIMEOUT seconds (8 hours). TCP keepalive is not implemented in dropbear yet, thus the name SSHKeepAlive. 300 seconds in this patch is selected from the default value of ServerAliveInterval for Debian ssh client (See man ssh_config). Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 40299
* dropbear: fix interface config settingFelix Fietkau2014-03-291-2/+2
| | | | | | Patch from #15070 SVN-Revision: 40298
* dropbear: update to 2014.63Felix Fietkau2014-03-297-52/+61
| | | | | | | | | | | | | | | | | Upstream changelog: https://matt.ucc.asn.au/dropbear/CHANGES This adds elliptic curve cryptography (ECC) support as an option, disabled by default. dropbear mips 34kc uClibc binary size: before: 161,672 bytes after, without ECC (default): 164,968 after, with ECC: 198,008 Signed-off-by: Catalin Patulea <cat@vv.carleton.ca> SVN-Revision: 40297
* 6rd / ds-lite: make the firewall-zones of nested-protocols configurableSteven Barth2014-03-269-12/+28
| | | | SVN-Revision: 40020
* dhcp: send 6rd-ORO when expecting 6rd-informationSteven Barth2014-03-262-1/+2
| | | | SVN-Revision: 40019
* uhttpd: update to latest version, improves cgi path handlingFelix Fietkau2014-03-221-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40005
* uhttpd: update to latest version, fixes HEAD requests to CGI scriptsFelix Fietkau2014-03-211-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40003
* netifd: update to the latest version, adds support for reloading proto ↵Felix Fietkau2014-03-211-2/+2
| | | | | | | | handlers on toplogy changes Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40001
* hostapd: add pbc_in_m1 optionFelix Fietkau2014-03-211-2/+3
| | | | | | | | | | | | Option pbc_in_m1 is being used as a WPS capability discovery workaround for PBC with Windows 7. Add possibility to enable this workaround from UCI. To enable it, turn on wps and set wps_pbc_in_m1 parameter to 1. Signed-off-by: Pawel Kulakowski <pawel.kulakowski@tieto.com> SVN-Revision: 39995
* ead: clean upFelix Fietkau2014-03-216-18/+16
| | | | | | | | | | | | | Remove unused variables Correct some (non important) memory leaks Remove fclose(NULL) Correct possible out of bound access spotted with cppcheck Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> SVN-Revision: 39994
* ead: set_nonblock() is doing nothing (typo)Felix Fietkau2014-03-211-1/+1
| | | | | | | | spotted with cppcheck Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> SVN-Revision: 39993
* ppp: remove ppp requirement from chatFelix Fietkau2014-03-211-1/+0
| | | | | | | | This patch removes dependancy of PPP from chat application as chat application can be used for other serial communication as well that is not dependant on PPP and therefore one should be able to install chat without PPP. There also are no dependencies within chat application for PPP. Signed-off-by: Oskari Rauta <oskari.rauta at gmail.com> SVN-Revision: 39992
* netifd: update to the latest version, fixes ubus handling of proto data itemsFelix Fietkau2014-03-201-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39970
* netifd: update to latest version, fixes an autostart handling with link ↵Felix Fietkau2014-03-201-2/+2
| | | | | | | | detection Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39967
* firewall: update to latest version, fixes a musl build errorFelix Fietkau2014-03-201-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39965
* iptables: fix issues with the new musl versionFelix Fietkau2014-03-203-40/+22
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39964
* pppd: fix build errors with muslFelix Fietkau2014-03-2014-26/+220
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39963
* odhcpd: fix more segfaults + ubus interactionSteven Barth2014-03-201-2/+2
| | | | SVN-Revision: 39960
* odhcpd: fix possible segfaultsSteven Barth2014-03-201-2/+2
| | | | SVN-Revision: 39958
* netifd: update to latest version, adds support for specifying a config pathFelix Fietkau2014-03-191-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39956
* polarssl: update to version 1.3.4 and add openssl compat patchFelix Fietkau2014-03-141-0/+221
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39930
* odhcp6c: pass on delegate-flag on to ds-lite interfaceSteven Barth2014-03-133-3/+6
| | | | SVN-Revision: 39910
* netifd: pass on delegate flag from dhcp to 6rdSteven Barth2014-03-133-3/+6
| | | | SVN-Revision: 39909