From: Nicola <pa...@li...> - 2012-08-15 15:59:56
|
?? I don't understand your question. if you want to see if the rigth ports are opened when you're accessing internet you must before connect your Gumstix to your router,e.g. with root@overo:~#ifconfig eth1 192.168.1.15 after type the command ifconfig and you should see something like root@overo:~# ifconfig eth1 Link encap:Ethernet HWaddr 00:15:C9:28:FB:2F inet addr:192.168.1.15 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:937 errors:0 dropped:0 overruns:0 frame:0 TX packets:720 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1328855 (1.2 MiB) TX bytes:55723 (54.4 KiB) Interrupt:80 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:552 (552.0 b) TX bytes:552 (552.0 b) then with the command netstat you'll se the opened ports: root@overo:~# netstat -anp --tcp Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 1081/x11vnc tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 782/portmap tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN 1050/Xorg tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 924/sshd tcp 0 0 192.168.1.15:52330 74.3.164.55:80 TIME_WAIT - tcp 0 0 192.168.1.15:52332 74.3.164.55:80 TIME_WAIT - tcp 0 0 192.168.1.15:52331 74.3.164.55:80 TIME_WAIT - tcp 0 0 192.168.1.15:52328 74.3.164.55:80 TIME_WAIT - tcp 0 0 192.168.1.15:52333 74.3.164.55:80 TIME_WAIT - tcp 0 0 192.168.1.15:52327 74.3.164.55:80 TIME_WAIT - tcp 0 0 192.168.1.15:37023 188.40.83.200:80 TIME_WAIT - tcp 0 0 192.168.1.15:52329 74.3.164.55:80 TIME_WAIT - root@overo:~# as you can see, local port 22 is opened, i.e. the port used by the ASCII terminal, as well as the remote port 80 normally used for the internet link. Bye. Nicola -- View this message in context: http://gumstix.8.n6.nabble.com/Direct-register-access-control-of-GPIO-ARM-interface-on-Overo-Water-TOBI-SOLVED-tp4965117p4965123.html Sent from the Gumstix mailing list archive at Nabble.com. |