Changes between Version 4 and Version 5 of HowTo/Bluetooth/UsingCL
- Timestamp:
- Sep 23, 2007, 5:06:17 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowTo/Bluetooth/UsingCL
v4 v5 9 9 {{{ 10 10 node1-1:~# pand --listen -role NAP --master --autozap 11 node1-1:~# ifconfig bnep0 192.168.1.112 node1-1:~# ping 192.168.1.213 PING 192.168.1.2 (192.168.1.2): 56 data bytes14 64 bytes from 192.168.1.2: icmp_seq=0 ttl=64 time=53.0 ms15 11 }}} 16 12 wait for at least 10 seconds for the interface to configure 17 13 {{{ 18 14 node1-2:~# pand --connect 00:0A:3A:53:D4:82 --service NAP --autozap 15 }}} 16 Again, wait for at least 10 seconds to establish the link. Then set IP addreses: 17 {{{ 18 node1-1:~# ifconfig bnep0 192.168.1.1 19 }}} 20 {{{ 19 21 node1-2:~# ifconfig bnep0 192.168.1.2 20 22 node1-2:~# ping 192.168.1.1 … … 23 25 64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=39.6 ms 24 26 }}} 25 26 Useful link:27 28 http://bluez.sourceforge.net/contrib/HOWTO-PAN29 27 30 28 == hciconfig and hcitool ==