Hi!

have a problem to setup pand. If I do ifconfig -a I cant see the bluetooth network device...
Whats the problem?

My config:

hciconfig shows:

hci0:   Type: USB
        BD Address: 00:09:DD:50:72:62 ACL MTU: 310:10 SCO MTU: 64:8
        UP RUNNING PSCAN ISCAN
        RX bytes:15093 acl:143 sco:0 events:807 errors:0
        TX bytes:5707 acl:137 sco:0 commands:226 errors:0

I start pand with "pand -n --listen -r NAP -E -p -D -u /etc/bluetooth/pan/dev-up"

/etc/bluetooth/pan/dev-up:

#!/bin/sh
# /etc/bluetooth/dev-up

BLAN=blan0

logger "Connection on $1"

if brctl addif $BLAN $1
  then
    logger "$1 added to $BLAN"
    ifconfig $1 0.0.0.0
  else
    logger "Error adding $1 to $BLAN"
  fi

exit 0

/etc/bluetooth/:
#
# HCI daemon configuration file.
#

# HCId options
options {
        # Automatically initialize new devices
        autoinit yes;

        # Security Manager mode
        #   none - Security manager disabled
        #   auto - Use local PIN for incoming connections
        #   user - Always ask user for a PIN
        #
        security user;

        # Pairing mode
        #   none  - Pairing disabled
        #   multi - Allow pairing with already paired devices
        #   once  - Pair once and deny successive attempts
        pairing multi;

        # Default PIN code for incoming connections
        passkey "BlueZ";
}

# Default settings for HCI devices
device {
        # Local device name
        #   %d - device id
        #   %h - host name
        name "%h";

        # Local device class
        class 0x000100;

        # Default packet type
        #pkt_type DH1,DM1,HV1;

        # Inquiry and Page scan
        iscan enable; pscan enable;

        # Default link mode
        #   none   - no specific policy
        #   accept - always accept incoming connections
        #   master - become master on incoming connections,
        #            deny role switch on outgoing connections
        lm accept,master;

        # Default link policy
        #   none    - no specific policy
        #   rswitch - allow role switch
        #   hold    - allow hold mode
        #   sniff   - allow sniff mode
        #   park    - allow park mode
        lp rswitch,hold,sniff,park;
}