| 2 | |
| 3 | == pand == |
| 4 | |
| 5 | The daemon responsible for Personal Area Networks. Example: |
| 6 | |
| 7 | Set infrastructure mode: node1-1 as the master and node1-2 as the slave: |
| 8 | |
| 9 | {{{ |
| 10 | node1-1:~# pand --listen -role NAP --master --autozap |
| 11 | node1-1:~# ifconfig bnep0 192.168.1.1 |
| 12 | node1-1:~# ping 192.168.1.2 |
| 13 | PING 192.168.1.2 (192.168.1.2): 56 data bytes |
| 14 | 64 bytes from 192.168.1.2: icmp_seq=0 ttl=64 time=53.0 ms |
| 15 | }}} |
| 16 | |
| 17 | {{{ |
| 18 | node1-2:~# pand --connect 00:0A:3A:53:D4:82 --service NAP --autozap |
| 19 | node1-2:~# ifconfig bnep0 192.168.1.2 |
| 20 | node1-2:~# ping 192.168.1.1 |
| 21 | PING 192.168.1.1 (192.168.1.1): 56 data bytes |
| 22 | 64 bytes from 192.168.1.1: icmp_seq=0 ttl=64 time=74.9 ms |
| 23 | 64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=39.6 ms |
| 24 | }}} |
| 25 | |
| 26 | Useful link: |
| 27 | |
| 28 | http://bluez.sourceforge.net/contrib/HOWTO-PAN |
44 | | == pand == |
45 | | |
46 | | The daemon responsible for Personal Area Networks. Example: |
47 | | |
48 | | Set infrastructure mode: node1-1 as the master and node1-2 as the slave: |
49 | | |
50 | | {{{ |
51 | | node1-1:~# pand --listen -role NAP --master --autozap |
52 | | node1-1:~# ifconfig bnep0 192.168.1.1 |
53 | | node1-1:~# ping 192.168.1.2 |
54 | | PING 192.168.1.2 (192.168.1.2): 56 data bytes |
55 | | 64 bytes from 192.168.1.2: icmp_seq=0 ttl=64 time=53.0 ms |
56 | | }}} |
57 | | |
58 | | {{{ |
59 | | node1-2:~# pand --connect 00:0A:3A:53:D4:82 --service NAP --autozap |
60 | | node1-2:~# ifconfig bnep0 192.168.1.2 |
61 | | node1-2:~# ping 192.168.1.1 |
62 | | PING 192.168.1.1 (192.168.1.1): 56 data bytes |
63 | | 64 bytes from 192.168.1.1: icmp_seq=0 ttl=64 time=74.9 ms |
64 | | 64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=39.6 ms |
65 | | }}} |
66 | | |
67 | | == A usefull link == |
68 | | |
69 | | http://bluez.sourceforge.net/contrib/HOWTO-PAN |