summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/TODO2
1 files changed, 0 insertions, 2 deletions
diff --git a/noncore/settings/networksettings/TODO b/noncore/settings/networksettings/TODO
index 2130184..614501f 100644
--- a/noncore/settings/networksettings/TODO
+++ b/noncore/settings/networksettings/TODO
@@ -1,96 +1,94 @@
1Types: 1Types:
2-Ethernet Connection (Done) 2-Ethernet Connection (Done)
3-ISDN Connection 3-ISDN Connection
4-Modem COnnection (Started) 4-Modem COnnection (Started)
5-xDSL connection 5-xDSL connection
6-Token Ring Connection 6-Token Ring Connection
7-CIPE (VPN) connection (ipsec?) 7-CIPE (VPN) connection (ipsec?)
8-Wireless Connection (Done) 8-Wireless Connection (Done)
9-Bluetooth 9-Bluetooth
10-IPChains? 10-IPChains?
11 11
12When entering the wep keys, I think we should be able to see what we are typing, but not to show the keys when the field is not in focus. Otherwise, it's real hard to know if you typed the right wep key, and you have to look in the actual wireless.opts file to really know if you did it right.
13
14When Zaurus is in cradle, USB interface is connected and reported as UP by the Network Setting application, clicking on Information button does not popup a window. It used to work before, but now it's broken in the latest feed... 12When Zaurus is in cradle, USB interface is connected and reported as UP by the Network Setting application, clicking on Information button does not popup a window. It used to work before, but now it's broken in the latest feed...
15 13
16-Z hangs on PCMCIA-eject of Symbol 802.11b card (card seems to be in an odd 14-Z hangs on PCMCIA-eject of Symbol 802.11b card (card seems to be in an odd
17state after first boot following reflash; see Additional Info) 15state after first boot following reflash; see Additional Info)
18 16
19test WEP 17test WEP
20Add WEP transimtion rate 18Add WEP transimtion rate
211 or 2 191 or 2
225.5 205.5
231 211
24Auto 22Auto
25 23
26udhcpc needs to output the dhcp information so interfaces can read it 24udhcpc needs to output the dhcp information so interfaces can read it
27 25
28interfacesetupimp really doesn't need a interface* pointer 26interfacesetupimp really doesn't need a interface* pointer
29 27
30PPP module needs to scan pppd.tdb to see what is currently active 28PPP module needs to scan pppd.tdb to see what is currently active
31 29
32WLAN 30WLAN
33- add possiblity to input text or hex without knowing "s:" 31- add possiblity to input text or hex without knowing "s:"
34- Handle "any" and any the same way in config 32- Handle "any" and any the same way in config
35 33
36Add a route/DNS editor under the ViewAdvancedInfo button 34Add a route/DNS editor under the ViewAdvancedInfo button
37 35
38Use a true TCP/IP widget 36Use a true TCP/IP widget
39 37
40Automaticly update the main list of interfaces: 38Automaticly update the main list of interfaces:
41> That would be me. :-D netlink, can you point me in the right 39> That would be me. :-D netlink, can you point me in the right
42> direction where I can get more info on it? (I figured there was some 40> direction where I can get more info on it? (I figured there was some
43> kenel call) 41> kenel call)
44 42
45You can look up the meaning of the packets you receive, or you can just go 43You can look up the meaning of the packets you receive, or you can just go
46poll for changes you might be interested in each time you receive _any_ 44poll for changes you might be interested in each time you receive _any_
47packet. Anything's better than periodic polling. 45packet. Anything's better than periodic polling.
48 46
49Note that you can't do this as non-root on some kernels. There's a patch 47Note that you can't do this as non-root on some kernels. There's a patch
50which can go into the hh.org kernel if it's not already there. 48which can go into the hh.org kernel if it's not already there.
51cf. http://marc.theaimsgroup.com/?l=linux-kernel&m=103520821605353&w=2 49cf. http://marc.theaimsgroup.com/?l=linux-kernel&m=103520821605353&w=2
52 50
53 51
54#include <asm/types.h> 52#include <asm/types.h>
55#include <sys/socket.h> 53#include <sys/socket.h>
56#include <linux/netlink.h> 54#include <linux/netlink.h>
57#include <linux/rtnetlink.h> 55#include <linux/rtnetlink.h>
58 56
59int main(int argc, char **argv) 57int main(int argc, char **argv)
60{ 58{
61 int fd; 59 int fd;
62 unsigned char buf[4096]; 60 unsigned char buf[4096];
63 int ret; 61 int ret;
64 int i, j; 62 int i, j;
65 struct sockaddr_nl snl; 63 struct sockaddr_nl snl;
66 64
67 fd = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); 65 fd = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE);
68 if (fd < 0) { 66 if (fd < 0) {
69 perror("socket"); 67 perror("socket");
70 exit(1); 68 exit(1);
71 } 69 }
72 70
73 snl.nl_family = AF_NETLINK; 71 snl.nl_family = AF_NETLINK;
74 snl.nl_pad = 0; 72 snl.nl_pad = 0;
75 snl.nl_pid = getpid(); 73 snl.nl_pid = getpid();
76 snl.nl_groups = RTM_NEWLINK|RTM_DELLINK; 74 snl.nl_groups = RTM_NEWLINK|RTM_DELLINK;
77 75
78 if (bind(fd, &snl, sizeof(snl)) < 0) { 76 if (bind(fd, &snl, sizeof(snl)) < 0) {
79 perror("bind"); 77 perror("bind");
80 exit(1); 78 exit(1);
81 } 79 }
82 while (1) { 80 while (1) {
83 ret = recv(fd, buf, 4096, 0); 81 ret = recv(fd, buf, 4096, 0);
84 if (ret < 0) { 82 if (ret < 0) {
85 perror("recv"); 83 perror("recv");
86 exit(1); 84 exit(1);
87 } 85 }
88 for (i=0; i<ret; i++) { 86 for (i=0; i<ret; i++) {
89 printf("%02x ", buf[i]); 87 printf("%02x ", buf[i]);
90 } 88 }
91 printf("\n"); 89 printf("\n");
92 } 90 }
93 91
94} 92}
95-- 93--
96 94