summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2002-12-11 14:57:54 (UTC)
committer mickeyl <mickeyl>2002-12-11 14:57:54 (UTC)
commitf9ab0941b88762b0c6c2f0a623f3067d6e1e9c49 (patch) (unidiff)
treed9d45a52b43b74029a9d5fd36b34016c55a1d036
parent7a17954c26add31f28b69989f54e0f28a17c8949 (diff)
downloadopie-f9ab0941b88762b0c6c2f0a623f3067d6e1e9c49.zip
opie-f9ab0941b88762b0c6c2f0a623f3067d6e1e9c49.tar.gz
opie-f9ab0941b88762b0c6c2f0a623f3067d6e1e9c49.tar.bz2
- include wellenreiter.desktop in .pro-file
- daemon now uses CARD_TYPE defined in header file (was: hardcoded CARD_TYPE_NG) (BTW. - we really need argument parsing and the config stuff ASAP) - default CARD_TYPE now is CARD_TYPE_HOSTAP
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/wellenreiter/daemon/source/daemon.cc2
-rw-r--r--noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh2
-rw-r--r--noncore/net/wellenreiter/opie-wellenreiter.control2
3 files changed, 3 insertions, 3 deletions
diff --git a/noncore/net/wellenreiter/daemon/source/daemon.cc b/noncore/net/wellenreiter/daemon/source/daemon.cc
index 95f2f83..cc72377 100644
--- a/noncore/net/wellenreiter/daemon/source/daemon.cc
+++ b/noncore/net/wellenreiter/daemon/source/daemon.cc
@@ -20,7 +20,7 @@ int main(int argc, char **argv)
20 20
21 fprintf(stderr, "wellenreiterd %s\n\n", VERSION); 21 fprintf(stderr, "wellenreiterd %s\n\n", VERSION);
22 22
23 if(!card_into_monitormode(&handletopcap, SNIFFER_DEVICE, CARD_TYPE_NG)) 23 if(!card_into_monitormode(&handletopcap, SNIFFER_DEVICE, CARD_TYPE))
24 { 24 {
25 wl_logerr("Cannot set card into mon mode, aborting"); 25 wl_logerr("Cannot set card into mon mode, aborting");
26 exit(-1); 26 exit(-1);
diff --git a/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh b/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh
index a3f8280..fad74cf 100644
--- a/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh
+++ b/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh
@@ -26,7 +26,7 @@ extern "C"
26 26
27/* only for now, until we have the daemon running */ 27/* only for now, until we have the daemon running */
28/*the config file should provide these information */ 28/*the config file should provide these information */
29#define CARD_TYPE CARD_TYPE_CISCO 29#define CARD_TYPE CARD_TYPE_HOSTAP
30 #define SBIN_PATH "/sbin/ifconfig %s promisc up" 30 #define SBIN_PATH "/sbin/ifconfig %s promisc up"
31#define WLANCTL_PATH "/sbin/wlanctl-ng" 31#define WLANCTL_PATH "/sbin/wlanctl-ng"
32 32
diff --git a/noncore/net/wellenreiter/opie-wellenreiter.control b/noncore/net/wellenreiter/opie-wellenreiter.control
index f34cc08..0ea27bf 100644
--- a/noncore/net/wellenreiter/opie-wellenreiter.control
+++ b/noncore/net/wellenreiter/opie-wellenreiter.control
@@ -1,4 +1,4 @@
1Files: bin/wellenreiter bin/wellenreiterd bin/orinoco_hopper pics/wellenreiter $QTDIR/lib/libwellenreiter.* 1Files: bin/wellenreiter bin/wellenreiterd bin/orinoco_hopper pics/wellenreiter apps/Applications/wellenreiter.desktop $QTDIR/lib/libwellenreiter.*
2Priority: optional 2Priority: optional
3Section: opie/applications 3Section: opie/applications
4Maintainer: Michael Lauer <mickeyl@handhelds.org> 4Maintainer: Michael Lauer <mickeyl@handhelds.org>