summaryrefslogtreecommitdiff
path: root/noncore
authorbenmeyer <benmeyer>2002-12-11 22:23:23 (UTC)
committer benmeyer <benmeyer>2002-12-11 22:23:23 (UTC)
commitd65c7e8b910aad92b65f55bbfbb3b7b19465d603 (patch) (side-by-side diff)
tree4d276956dcb5c897908d65e701ce71a0e5289e8b /noncore
parentee3251a889aed8ef0346743589e5166b7d4f673b (diff)
downloadopie-d65c7e8b910aad92b65f55bbfbb3b7b19465d603.zip
opie-d65c7e8b910aad92b65f55bbfbb3b7b19465d603.tar.gz
opie-d65c7e8b910aad92b65f55bbfbb3b7b19465d603.tar.bz2
Add wlan stuff
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/networksetup/TODO5
-rw-r--r--noncore/settings/networksettings/TODO5
2 files changed, 10 insertions, 0 deletions
diff --git a/noncore/net/networksetup/TODO b/noncore/net/networksetup/TODO
index 862d681..93cbab7 100644
--- a/noncore/net/networksetup/TODO
+++ b/noncore/net/networksetup/TODO
@@ -1,50 +1,55 @@
test WEP
WEP key in file wireless.conf is not encrypted !, therefore it is very easy to get the key out of the zaurus..
+WEP transimtion rat
+1 or 2
+5.5
+1
+Auto
udchcp needs to output the dhcp information so interfaces can read it
interfacesetupimp really doesn't need a interface* pointer
Possible other modules to write: ppp, ipsec, bluetooth, ipchains
PPP module needs to scan pppd.tdb to see what is currently active
WLAN - add possiblity to input text or hex without knowing "s:"
Interface setupimp needs to use kernel calls.
Automaticly update the main list of interfaces:
> That would be me. :-D netlink, can you point me in the right
> direction where I can get more info on it? (I figured there was some
> kenel call)
You can look up the meaning of the packets you receive, or you can just go
poll for changes you might be interested in each time you receive _any_
packet. Anything's better than periodic polling.
Note that you can't do this as non-root on some kernels. There's a patch
which can go into the hh.org kernel if it's not already there.
cf. http://marc.theaimsgroup.com/?l=linux-kernel&m=103520821605353&w=2
#include <asm/types.h>
#include <sys/socket.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
int main(int argc, char **argv)
{
int fd;
unsigned char buf[4096];
int ret;
int i, j;
struct sockaddr_nl snl;
fd = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE);
if (fd < 0) {
perror("socket");
exit(1);
}
snl.nl_family = AF_NETLINK;
snl.nl_pad = 0;
diff --git a/noncore/settings/networksettings/TODO b/noncore/settings/networksettings/TODO
index 862d681..93cbab7 100644
--- a/noncore/settings/networksettings/TODO
+++ b/noncore/settings/networksettings/TODO
@@ -1,50 +1,55 @@
test WEP
WEP key in file wireless.conf is not encrypted !, therefore it is very easy to get the key out of the zaurus..
+WEP transimtion rat
+1 or 2
+5.5
+1
+Auto
udchcp needs to output the dhcp information so interfaces can read it
interfacesetupimp really doesn't need a interface* pointer
Possible other modules to write: ppp, ipsec, bluetooth, ipchains
PPP module needs to scan pppd.tdb to see what is currently active
WLAN - add possiblity to input text or hex without knowing "s:"
Interface setupimp needs to use kernel calls.
Automaticly update the main list of interfaces:
> That would be me. :-D netlink, can you point me in the right
> direction where I can get more info on it? (I figured there was some
> kenel call)
You can look up the meaning of the packets you receive, or you can just go
poll for changes you might be interested in each time you receive _any_
packet. Anything's better than periodic polling.
Note that you can't do this as non-root on some kernels. There's a patch
which can go into the hh.org kernel if it's not already there.
cf. http://marc.theaimsgroup.com/?l=linux-kernel&m=103520821605353&w=2
#include <asm/types.h>
#include <sys/socket.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
int main(int argc, char **argv)
{
int fd;
unsigned char buf[4096];
int ret;
int i, j;
struct sockaddr_nl snl;
fd = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE);
if (fd < 0) {
perror("socket");
exit(1);
}
snl.nl_family = AF_NETLINK;
snl.nl_pad = 0;