venerdì 16 gennaio 2009

Bluetooth Debian WiKi

I pacchetti da usare per la configurazione, gestione bluetooth in debian sono:

bluez-utils
bluez-libs
bluez-firmware
bluez-hcidump ;

per riconoscere il dispositivo interno o chiavetta bluetooth: hciconfig
per fare uno scanner dei dispositivi esterni: hcitool scan
da quest'ultimo rilevo l'indirizzo BD del tipo xx:xx:xx:xx:xx:xx

Dopodiche' modifico il file /etc/bluetooth/rfcomm.conf
##Bluetooth address of the device

#device xx:xx:xx:xx:xx:xx
##RFCOMM channel for the connection
#channel 10;
##Description of the connection:
#comment "Nokia N70";


Ed eseguo il comando
sdptool add --channel=10 OPUSH

Creo lo script /etc/bluetooth/cellpin.bash
#!/bin/bash
echo pin:1234

E modifico i permessi con
chmod 700 /etc/bluetooth/cellpin.bash

L'ultimo comando e' :
hcid -f /etc/bluetooth/hcid.conf





Per mandare via bluetooth un file si puo' scrivere uno script del tipo:

#!/bin/bash
filepath=$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS
obexftp -b xx:xx:xx:xx:xx:xx -p $filepath

dove filepath e' l'url del file da inviare.

Run minikube with podman on Fedora

After install minikube as described in the documentation , set rootless property to true to use Podman without sudo: minikube config set roo...