summaryrefslogtreecommitdiff
path: root/noncore/net/networksetup/TODO
Unidiff
Diffstat (limited to 'noncore/net/networksetup/TODO') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/networksetup/TODO93
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 @@
1Types:
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
12test WEP
13Add WEP transimtion rate
141 or 2
155.5
161
17Auto
18
19udchcp needs to output the dhcp information so interfaces can read it
20
21interfacesetupimp really doesn't need a interface* pointer
22
23PPP module needs to scan pppd.tdb to see what is currently active
24
25WLAN
26- add possiblity to input text or hex without knowing "s:"
27- Handle "any" and any the same way in config
28
29Interface setupimp needs to use kernel calls.
30
31Add a route/DNS editor under the ViewAdvancedInfo button
32
33Use a true TCP/IP widget
34
35Make it so that pcmcia doesn't need to be stopped/started for wlan
36
37Automaticly 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
42You can look up the meaning of the packets you receive, or you can just go
43poll for changes you might be interested in each time you receive _any_
44packet. Anything's better than periodic polling.
45
46Note that you can't do this as non-root on some kernels. There's a patch
47which can go into the hh.org kernel if it's not already there.
48cf. 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
56int 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