List Info

Thread: Problem with dialup connection after bluez update




Problem with dialup connection after bluez update
country flaguser name
Poland
2007-04-15 13:51:36
Hello.

I updated bluez packages (bluetooth 3.7-1ubuntu4,
bluez-utils 
3.7-1ubuntu4, libbluetooth 3.7-1) on my ubuntu box, and now
dialup 
connection with my Pocket Pc device cannot be established.
It was 
working like a charm before.

After many problems i have found a way to make my box
discoverable and 
pairable, so i can pair my pocket pc and linux box.

Anyway, i cannot established dialup connection - dund is not
responding 
at all, but it is running and listening(?)

rootabc:/etc/ppp/peers# ps aux|grep dund
root      2952  0.0  0.4   1660   484 ?        Ss   20:34  
0:00 
/usr/bin/dund --listen call dun-mda-bt

dun-mda-bt is located in /etc/ppp/peers/dun-mda-bt and
contains:

rootpajonk:/etc/ppp/peers# cat /etc/ppp/peers/dun-mda-bt
115200
local
noipdefault
connect "/etc/ppp/at-cmd.pl -v"
noauth
nodefaultroute
192.168.1.1:192.168.1.10
ms-dns 192.168.1.1
debug

Pocket pc tries to connect but gives an error after 5
seconds. There are 
no syslog and messages log entries when trying to establish
connection 
so i don't have any info for debuging.

SDPD is offering dun profile:

Browsing FF:FF:FF:00:00:00 ...
Service Name: LAN Access Point
Service RecHandle: 0x10000
Service Class ID List:
   "LAN Access Using PPP" (0x1102)
Protocol Descriptor List:
   "L2CAP" (0x0100)
   "RFCOMM" (0x0003)
     Channel: 1
Profile Descriptor List:
   "LAN Access Using PPP" (0x1102)
     Version: 0x0100

Service Name: Dial-Up Networking
Service RecHandle: 0x10001
Service Class ID List:
   "Dialup Networking" (0x1103)
   "Generic Networking" (0x1201)
Protocol Descriptor List:
   "L2CAP" (0x0100)
   "RFCOMM" (0x0003)
     Channel: 2
Profile Descriptor List:
   "Dialup Networking" (0x1103)
     Version: 0x0100


My dongle is configures this way:

hci0:   Type: USB
         BD Address: xxxxxxx ACL
MTU: 192:8 SCO MTU: 64:8
         UP RUNNING PSCAN ISCAN
         RX bytes:323041 acl:507 sco:0 events:30529
errors:0
         TX bytes:17719 acl:494 sco:0 commands:410 errors:0

hcid.conf:

#
# 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 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 {

         discovto 0;

         # Local device name
         #   %d - device id
         #   %h - host name
         name "%h-%d";

         # Local device class
         class 0x100;

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


Thanks for any help!




------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Bluez-users mailing list
Bluez-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )