summaryrefslogtreecommitdiff
authorbenmeyer <benmeyer>2003-03-25 18:31:38 (UTC)
committer benmeyer <benmeyer>2003-03-25 18:31:38 (UTC)
commit07919cfafda8a4f6fd898454795735cc26a49151 (patch) (unidiff)
tree11cf1d3b44b5ef81406d77caa792ca2877d88db0
parent9fc08b5b81e99da757cdad938871a3f2b1ca81fe (diff)
downloadopie-07919cfafda8a4f6fd898454795735cc26a49151.zip
opie-07919cfafda8a4f6fd898454795735cc26a49151.tar.gz
opie-07919cfafda8a4f6fd898454795735cc26a49151.tar.bz2
updates
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/TODO14
1 files changed, 14 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/TODO b/noncore/settings/networksettings/TODO
index 6457836..9bde0dd 100644
--- a/noncore/settings/networksettings/TODO
+++ b/noncore/settings/networksettings/TODO
@@ -1,93 +1,107 @@
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...
15
16-30-second pause closing NetSetting's Configure screen
17
18-Default Network Type for 802.11b should be Infrastructure
19
20-After configuring NetworkSettings for the first time, the WEP key fails to
21be iwconfig'd to the eth0 interface (Symbol 802.11b card on my Z).
22
23-Z hangs on PCMCIA-eject of Symbol 802.11b card (card seems to be in an odd
24state after first boot following reflash; see Additional Info)
25
12test WEP 26test WEP
13Add WEP transimtion rate 27Add WEP transimtion rate
141 or 2 281 or 2
155.5 295.5
161 301
17Auto 31Auto
18 32
19udchcp needs to output the dhcp information so interfaces can read it 33udchcp needs to output the dhcp information so interfaces can read it
20 34
21interfacesetupimp really doesn't need a interface* pointer 35interfacesetupimp really doesn't need a interface* pointer
22 36
23PPP module needs to scan pppd.tdb to see what is currently active 37PPP module needs to scan pppd.tdb to see what is currently active
24 38
25WLAN 39WLAN
26- add possiblity to input text or hex without knowing "s:" 40- add possiblity to input text or hex without knowing "s:"
27- Handle "any" and any the same way in config 41- Handle "any" and any the same way in config
28 42
29Interface setupimp needs to use kernel calls. 43Interface setupimp needs to use kernel calls.
30 44
31Add a route/DNS editor under the ViewAdvancedInfo button 45Add a route/DNS editor under the ViewAdvancedInfo button
32 46
33Use a true TCP/IP widget 47Use a true TCP/IP widget
34 48
35Make it so that pcmcia doesn't need to be stopped/started for wlan 49Make it so that pcmcia doesn't need to be stopped/started for wlan
36 50
37Automaticly update the main list of interfaces: 51Automaticly update the main list of interfaces:
38> That would be me. :-D netlink, can you point me in the right 52> 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 53> direction where I can get more info on it? (I figured there was some
40> kenel call) 54> kenel call)
41 55
42You can look up the meaning of the packets you receive, or you can just go 56You 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_ 57poll for changes you might be interested in each time you receive _any_
44packet. Anything's better than periodic polling. 58packet. Anything's better than periodic polling.
45 59
46Note that you can't do this as non-root on some kernels. There's a patch 60Note 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. 61which 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 62cf. http://marc.theaimsgroup.com/?l=linux-kernel&m=103520821605353&w=2
49 63
50 64
51#include <asm/types.h> 65#include <asm/types.h>
52#include <sys/socket.h> 66#include <sys/socket.h>
53#include <linux/netlink.h> 67#include <linux/netlink.h>
54#include <linux/rtnetlink.h> 68#include <linux/rtnetlink.h>
55 69
56int main(int argc, char **argv) 70int main(int argc, char **argv)
57{ 71{
58 int fd; 72 int fd;
59 unsigned char buf[4096]; 73 unsigned char buf[4096];
60 int ret; 74 int ret;
61 int i, j; 75 int i, j;
62 struct sockaddr_nl snl; 76 struct sockaddr_nl snl;
63 77
64 fd = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); 78 fd = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE);
65 if (fd < 0) { 79 if (fd < 0) {
66 perror("socket"); 80 perror("socket");
67 exit(1); 81 exit(1);
68 } 82 }
69 83
70 snl.nl_family = AF_NETLINK; 84 snl.nl_family = AF_NETLINK;
71 snl.nl_pad = 0; 85 snl.nl_pad = 0;
72 snl.nl_pid = getpid(); 86 snl.nl_pid = getpid();
73 snl.nl_groups = RTM_NEWLINK|RTM_DELLINK; 87 snl.nl_groups = RTM_NEWLINK|RTM_DELLINK;
74 88
75 if (bind(fd, &snl, sizeof(snl)) < 0) { 89 if (bind(fd, &snl, sizeof(snl)) < 0) {
76 perror("bind"); 90 perror("bind");
77 exit(1); 91 exit(1);
78 } 92 }
79 while (1) { 93 while (1) {
80 ret = recv(fd, buf, 4096, 0); 94 ret = recv(fd, buf, 4096, 0);
81 if (ret < 0) { 95 if (ret < 0) {
82 perror("recv"); 96 perror("recv");
83 exit(1); 97 exit(1);
84 } 98 }
85 for (i=0; i<ret; i++) { 99 for (i=0; i<ret; i++) {
86 printf("%02x ", buf[i]); 100 printf("%02x ", buf[i]);
87 } 101 }
88 printf("\n"); 102 printf("\n");
89 } 103 }
90 104
91} 105}
92-- 106--
93 107