Felix Fietkau
cc44a0b0da
remove obsolete kernel dependencies and version checks
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:44:28 +00:00
Nicolas Thill
efbdb2cc8f
bump a bunch of packages updated after 10.03
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21477 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-16 13:46:57 +00:00
Jo-Philipp Wich
261d88e81a
[package] swconfig: mask on brcm47xx
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-30 15:55:08 +00:00
Gabor Juhos
f11f6fe400
swconfig: Add cpu port index to help output.
...
Let swconfig provide the cpu port index in its help page. This is
needed as e.g. Atheros switches have their cpu port at port 0, not
port 5.
This could allow e.g. luci to get a rough overview of the layout of
the switch.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-16 19:32:40 +00:00
Gabor Juhos
1a53666807
swconfig: Fix switch name.
...
This patch fixes a small typo in swconfig's client side that caused
it to print the interface name instead of the switch's device name
on the help page.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-16 19:32:32 +00:00
Florian Fainelli
ef04ec88b8
[package] fix swconfig build failure on brcm63xx
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20829 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12 14:01:55 +00:00
Felix Fietkau
a1275e31aa
swconfig: Remove unused code
...
Signed-off-by: Martin Mares <mj@ucw.cz>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 17:33:46 +00:00
Felix Fietkau
edc6ce2048
swconfig: add copyright for Martin Mares
...
Signed-off-by: Martin Mares <mj@ucw.cz>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-15 17:29:07 +00:00
Felix Fietkau
9a4f0bc43b
swconfig: use print_attr_val() in CMD_GET
...
Use the print_attr_val() function introduced by the previous patch
to simplify the get command.
Signed-off-by: Martin Mares <mj@ucw.cz>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-15 17:29:04 +00:00
Felix Fietkau
643c4e1303
swconfig: add show command
...
Add a "show" command, which displays all attributes of the selected port,
VLAN, or of the whole switch.
Signed-off-by: Martin Mares <mj@ucw.cz>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-15 17:29:00 +00:00
Felix Fietkau
f5d08467e2
swconfig: clean up command line parsing
...
The command line parser was unsystematic and it silently ignored
many illegal combinations of options. Try to clean that up.
Signed-off-by: Martin Mares <mj@ucw.cz>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-15 17:28:56 +00:00
Gabor Juhos
6f781ad0bc
swconfig: show tagged port flag
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-20 07:06:12 +00:00
Felix Fietkau
45b797478c
swconfig: support providing the switch device name in an option instead of the section name - necessary to support switches that contain characters such as "-"
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-18 00:38:04 +00:00
Nicolas Thill
f5007fbcc3
add _GNU_SOURCE to CPPFLAGS required to include <bits/socket.h> on recent eglibc revisions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-26 19:01:50 +00:00
Jo-Philipp Wich
cf15b9d709
[package] swconfig: clear ip address on the switch interface, this prevents duplicate assignments of 192.168.1.1 on the DIR-300 at least
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-16 14:23:01 +00:00
Andy Boyett
fd376111a2
[package] bump some revisions and update copyrights
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-10 10:07:04 +00:00
Felix Fietkau
cc84e60842
move /bin/swconfig to /sbin
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-24 22:05:49 +00:00
Felix Fietkau
90cfc524b6
swconfig: fix kernel version dependency
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-01 22:14:06 +00:00
Felix Fietkau
80b702a504
swconfig: use libnl-tiny instead of libnl
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-30 13:57:38 +00:00
Felix Fietkau
2fe9c95f5b
automatically configure switches when swconfig is installed
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-21 18:48:48 +00:00
Felix Fietkau
1a7b537ebb
swconfig: implement uci loading support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-21 01:35:30 +00:00
Felix Fietkau
435f52ff52
swconfig: fix up kernel dependencies
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-20 18:57:50 +00:00
Felix Fietkau
5bdd866100
get rid of $Id$ - it has never helped us and it has broken too many patches ;)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +00:00
Nicolas Thill
8ae9e2cf0f
[package] replace some -I & -L flags with $(TARGET_CPPFLAGS) & $(TARGET_LDFLAGS) when appropriate
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-24 00:08:08 +00:00
Felix Fietkau
dabd596e39
add new switch configuration api
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-18 20:44:53 +00:00