author | simon <simon> | 2003-01-03 21:24:40 (UTC) |
---|---|---|
committer | simon <simon> | 2003-01-03 21:24:40 (UTC) |
commit | e483d88ee4158ba13d8c28b020d0e93b62e86d85 (patch) (unidiff) | |
tree | 2c4ac27cf05428ad58257869c90a9ce51c4e43d3 /noncore/net/networksetup/TODO | |
parent | 91395e6cd4d104b05f962ae8833767bbbd094163 (diff) | |
download | opie-e483d88ee4158ba13d8c28b020d0e93b62e86d85.zip opie-e483d88ee4158ba13d8c28b020d0e93b62e86d85.tar.gz opie-e483d88ee4158ba13d8c28b020d0e93b62e86d85.tar.bz2 |
- these have been renamed to networksettings
Diffstat (limited to 'noncore/net/networksetup/TODO') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/networksetup/TODO | 93 |
1 files changed, 0 insertions, 93 deletions
diff --git a/noncore/net/networksetup/TODO b/noncore/net/networksetup/TODO deleted file mode 100644 index 6457836..0000000 --- a/noncore/net/networksetup/TODO +++ b/dev/null | |||
@@ -1,93 +0,0 @@ | |||
1 | Types: | ||
2 | -Ethernet Connection (Done) | ||
3 | -ISDN Connection | ||
4 | -Modem COnnection (Started) | ||
5 | -xDSL connection | ||
6 | -Token Ring Connection | ||
7 | -CIPE (VPN) connection (ipsec?) | ||
8 | -Wireless Connection (Done) | ||
9 | -Bluetooth | ||
10 | -IPChains? | ||
11 | |||
12 | test WEP | ||
13 | Add WEP transimtion rate | ||
14 | 1 or 2 | ||
15 | 5.5 | ||
16 | 1 | ||
17 | Auto | ||
18 | |||
19 | udchcp needs to output the dhcp information so interfaces can read it | ||
20 | |||
21 | interfacesetupimp really doesn't need a interface* pointer | ||
22 | |||
23 | PPP module needs to scan pppd.tdb to see what is currently active | ||
24 | |||
25 | WLAN | ||
26 | - add possiblity to input text or hex without knowing "s:" | ||
27 | - Handle "any" and any the same way in config | ||
28 | |||
29 | Interface setupimp needs to use kernel calls. | ||
30 | |||
31 | Add a route/DNS editor under the ViewAdvancedInfo button | ||
32 | |||
33 | Use a true TCP/IP widget | ||
34 | |||
35 | Make it so that pcmcia doesn't need to be stopped/started for wlan | ||
36 | |||
37 | Automaticly update the main list of interfaces: | ||
38 | > That would be me. :-D netlink, can you point me in the right | ||
39 | > direction where I can get more info on it? (I figured there was some | ||
40 | > kenel call) | ||
41 | |||
42 | You can look up the meaning of the packets you receive, or you can just go | ||
43 | poll for changes you might be interested in each time you receive _any_ | ||
44 | packet. Anything's better than periodic polling. | ||
45 | |||
46 | Note that you can't do this as non-root on some kernels. There's a patch | ||
47 | which can go into the hh.org kernel if it's not already there. | ||
48 | cf. http://marc.theaimsgroup.com/?l=linux-kernel&m=103520821605353&w=2 | ||
49 | |||
50 | |||
51 | #include <asm/types.h> | ||
52 | #include <sys/socket.h> | ||
53 | #include <linux/netlink.h> | ||
54 | #include <linux/rtnetlink.h> | ||
55 | |||
56 | int main(int argc, char **argv) | ||
57 | { | ||
58 | int fd; | ||
59 | unsigned char buf[4096]; | ||
60 | int ret; | ||
61 | int i, j; | ||
62 | struct sockaddr_nl snl; | ||
63 | |||
64 | fd = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); | ||
65 | if (fd < 0) { | ||
66 | perror("socket"); | ||
67 | exit(1); | ||
68 | } | ||
69 | |||
70 | snl.nl_family = AF_NETLINK; | ||
71 | snl.nl_pad = 0; | ||
72 | snl.nl_pid = getpid(); | ||
73 | snl.nl_groups = RTM_NEWLINK|RTM_DELLINK; | ||
74 | |||
75 | if (bind(fd, &snl, sizeof(snl)) < 0) { | ||
76 | perror("bind"); | ||
77 | exit(1); | ||
78 | } | ||
79 | while (1) { | ||
80 | ret = recv(fd, buf, 4096, 0); | ||
81 | if (ret < 0) { | ||
82 | perror("recv"); | ||
83 | exit(1); | ||
84 | } | ||
85 | for (i=0; i<ret; i++) { | ||
86 | printf("%02x ", buf[i]); | ||
87 | } | ||
88 | printf("\n"); | ||
89 | } | ||
90 | |||
91 | } | ||
92 | -- | ||
93 | |||