From: Dante S. <da...@ma...> - 2008-04-19 20:39:56
|
Hi Nicolas, nicolas bouillot wrote: > > 20.20.10.0 is not a host address is your netmask is 255.255.255.0. In > fact, > this the address of the network. > try to change IP adress, like 20.20.10.5 for example > I'm afraid you've exposed my lack of knowledge in networking :) I actually used 20.20.1.0...Can you tell me why 20.20.10.0 is not a host address for a 255.255.255.0 netmask? I just came up with the 20.20.1.0 for no reason. What I did after the gumstix was set for ad hoc was to give my laptop a static IP, and this is what I got: On the gumstix: # ifconfig eth0 Link encap:Ethernet HWaddr 02:00:00:00:22:90 inet6 addr: fe80::ff:fe00:2290/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:114 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:64188 (62.6 KiB) Interrupt:131 Base address:0x2000 DMA chan:ff lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) mwlan0 Link encap:Ethernet HWaddr 00:0B:6B:0D:21:FE inet addr:20.20.1.0 Bcast:0.0.0.0 Mask:255.255.255.0 inet6 addr: fe80::20b:6bff:fe0d:21fe/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:40 errors:0 dropped:0 overruns:0 frame:0 TX packets:33 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:6045 (5.9 KiB) TX bytes:6066 (5.9 KiB) Interrupt:128 And the laptop: dante@dante-laptop:~$ ifconfig eth0 Link encap:Ethernet HWaddr 00:0B:CD:A4:39:47 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4165 errors:0 dropped:0 overruns:0 frame:0 TX packets:1183 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1341512 (1.2 MiB) TX bytes:201535 (196.8 KiB) Interrupt:11 Base address:0x8000 eth0:avah Link encap:Ethernet HWaddr 00:0B:CD:A4:39:47 inet addr:169.254.5.217 Bcast:169.254.255.255 Mask:255.255.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Interrupt:11 Base address:0x8000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:5 errors:0 dropped:0 overruns:0 frame:0 TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:436 (436.0 b) TX bytes:436 (436.0 b) wlan1 Link encap:Ethernet HWaddr 00:15:E9:D8:96:07 inet addr:20.20.1.1 Bcast:20.255.255.255 Mask:255.0.0.0 inet6 addr: fe80::215:e9ff:fed8:9607/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:16 errors:0 dropped:0 overruns:0 frame:0 TX packets:51 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1659 (1.6 KiB) TX bytes:7417 (7.2 KiB) Interrupt:11 Memory:24000000-24010000 Then I tried pinging the gumstix: dante@dante-laptop:~$ ping -c 3 20.20.1.0 PING 20.20.1.0 (20.20.1.0) 56(84) bytes of data. 64 bytes from 20.20.1.0: icmp_seq=1 ttl=64 time=3.16 ms 64 bytes from 20.20.1.0: icmp_seq=2 ttl=64 time=4.10 ms 64 bytes from 20.20.1.0: icmp_seq=3 ttl=64 time=4.56 ms --- 20.20.1.0 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 1998ms rtt min/avg/max/mdev = 3.164/3.942/4.560/0.583 ms That's all I have up until now. Thanks for the input, Dante -- View this message in context: http://www.nabble.com/Ad-hoc-wifi-on-verdex-tp16763563p16787450.html Sent from the Gumstix mailing list archive at Nabble.com. |