author | benmeyer <benmeyer> | 2003-03-25 18:31:38 (UTC) |
---|---|---|
committer | benmeyer <benmeyer> | 2003-03-25 18:31:38 (UTC) |
commit | 07919cfafda8a4f6fd898454795735cc26a49151 (patch) (unidiff) | |
tree | 11cf1d3b44b5ef81406d77caa792ca2877d88db0 | |
parent | 9fc08b5b81e99da757cdad938871a3f2b1ca81fe (diff) | |
download | opie-07919cfafda8a4f6fd898454795735cc26a49151.zip opie-07919cfafda8a4f6fd898454795735cc26a49151.tar.gz opie-07919cfafda8a4f6fd898454795735cc26a49151.tar.bz2 |
updates
-rw-r--r-- | noncore/settings/networksettings/TODO | 14 |
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 @@ | |||
1 | Types: | 1 | Types: |
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 | ||
12 | When 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 | |||
14 | When 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 | ||
21 | be 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 | ||
24 | state after first boot following reflash; see Additional Info) | ||
25 | |||
12 | test WEP | 26 | test WEP |
13 | Add WEP transimtion rate | 27 | Add WEP transimtion rate |
14 | 1 or 2 | 28 | 1 or 2 |
15 | 5.5 | 29 | 5.5 |
16 | 1 | 30 | 1 |
17 | Auto | 31 | Auto |
18 | 32 | ||
19 | udchcp needs to output the dhcp information so interfaces can read it | 33 | udchcp needs to output the dhcp information so interfaces can read it |
20 | 34 | ||
21 | interfacesetupimp really doesn't need a interface* pointer | 35 | interfacesetupimp really doesn't need a interface* pointer |
22 | 36 | ||
23 | PPP module needs to scan pppd.tdb to see what is currently active | 37 | PPP module needs to scan pppd.tdb to see what is currently active |
24 | 38 | ||
25 | WLAN | 39 | WLAN |
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 | ||
29 | Interface setupimp needs to use kernel calls. | 43 | Interface setupimp needs to use kernel calls. |
30 | 44 | ||
31 | Add a route/DNS editor under the ViewAdvancedInfo button | 45 | Add a route/DNS editor under the ViewAdvancedInfo button |
32 | 46 | ||
33 | Use a true TCP/IP widget | 47 | Use a true TCP/IP widget |
34 | 48 | ||
35 | Make it so that pcmcia doesn't need to be stopped/started for wlan | 49 | Make it so that pcmcia doesn't need to be stopped/started for wlan |
36 | 50 | ||
37 | Automaticly update the main list of interfaces: | 51 | Automaticly 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 | ||
42 | You can look up the meaning of the packets you receive, or you can just go | 56 | 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_ | 57 | poll for changes you might be interested in each time you receive _any_ |
44 | packet. Anything's better than periodic polling. | 58 | packet. Anything's better than periodic polling. |
45 | 59 | ||
46 | Note that you can't do this as non-root on some kernels. There's a patch | 60 | 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. | 61 | 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 | 62 | cf. 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 | ||
56 | int main(int argc, char **argv) | 70 | int 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 | ||