[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: nokia n800 и сеть



Kirill A. Korinskiy wrote:
Peter Teslenko -> debian-russian@lists.debian.org  @ Fri, 25 Jan 2008 14:51:34 +0300:

 PT> Не знаю как n800, а моя 7610 вполне себе выходит через голубой зуб прикрученных к debian'у на компе.

А рецептик можно? (у меня nokia e50)

На стороне gw

/etc/default/bluetooth

BLUETOOTH_ENABLED=1
PAND_ENABLED=1
PAND_OPTIONS="--listen --role NAP"

/etc/bluetooth/hcid.conf

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;
        security auto;

        # 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 "1234";
}
# Default settings for HCI devices
device {
        # Local device name
        #   %d - device id
        #   %h - host name
        name "%h-%d";

        # Local device class
        class 0x3e0100;

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

        # Inquiry and Page scan
        iscan enable; pscan enable;
        discovto 0;

        # 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 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;
}

/etc/network/interfaces

auto bnep0
iface bnep0 inet static
       address 172.16.64.1
       netmask 255.255.192.0
       network 172.16.64.0
       broadcast 172.16.127.255

На трубе нужно создать ap (data call)

--
Peter Teslenko
Jabber: peter@jabber.mcicb.ru


Reply to: