| ./manuel klimek | |
Setting up bluetooth on your Linux IpaqDesktop side
> apt-get hotplug Edit /etc/network/interfaces:
iface bnep0 inet static
address 192.168.100.1
netmask 255.255.255.0
mapping hotplug
script /bin/grep
map bnep0
Edit /etc/default/bluez-pan: PAND_ENABLED=1 PAND_OPTIONS="--listen --role GN" Edit /etc/network/options: ip_forward=yes spoofprotect=yes syncookies=no Check your setup:
> hciconfig
hci0: Type: USB
BD Address: 00:10:60:29:1A:4B ACL MTU: 192:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:1123 acl:22 sco:0 events:72 errors:0
TX bytes:1168 acl:22 sco:0 commands:29 errors:0
If this doesn't work, try to unload the bluetooth module and reinsert
your bluetooth usb adapter.
Opie sideInstall task-bluez, opie-bluettothapplet and opie-bluetoothmanager on your ipaq. Hit enable bluetooth in the applet, then start the manager. Scan for devices. Now you got your desktop pc as bluetooth device. When you look at the services, you'll see Network Access Point. Long click this item and choose connect + conf (or configure manually like I did and just hit connect). Manual Configuration: edit /etc/network/interfaces
iface bnep0 inet static
address 192.168.100.2
netmask 255.255.255.0
network 192.168.100.0
gateway 192.168.100.1
If internet access doesn't work, try to restart ipmasq on your desktop computer. |
|