Hi,

I am trying to use Barry with my Blackberry to act as a tethered modem. 

If I try and connect with "pppob -P correct_password" I get an error
saying:

> exception caught in main(): This device requested a password.


If I try and connect with "pppob -P incorrect_password" I get an error saying:

> exception caught in main(): Password rejected by device.


If however I disable the password on the Blackberry it works perfectly fine. So 
it is obviously checking the password but then something is happening and it 
doesn't like it. 

I am running version Barry 0.14 and I have included all the logs etc. 
Also the chat-script and peers script I have customised and are fully working 
for Orange UK if anyone wants them? :)

Thanks,
Ben
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL 
TONE' ABORT 'NO ANSWER' ABORT DELAYED ABORT ERROR
OK 'AT+CGDCONT=1,"IP","orangeinternet"'
OK 'ATDT*99#'
device_desc loaded
bLength: 18
bDescriptorType: 1
bcdUSB: 512
bDeviceClass: 0
bDeviceSubClass: 0
bDeviceProtocol: 0
bMaxPacketSize0: 64
idVendor: 4042
idProduct: 32772
bcdDevice: 513
iManufacturer: 1
iProduct: 5
iSerialNumber: 3
bNumConfigurations: 1

  config_desc #0 loaded
bLength: 9
bDescriptorType: 2
wTotalLength: 83
bNumInterfaces: 2
bConfigurationValue: 1
iConfiguration: 0
bmAttributes: 128
MaxPower: 250

    interface_desc #0 loaded
bLength: 9
bDescriptorType: 4
bInterfaceNumber: 0
bAlternateSetting: 0
bNumEndpoints: 6
bInterfaceClass: 255
bInterfaceSubClass: 1
bInterfaceProtocol: 255
iInterface: 2

      endpoint_desc #0 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 131
bmAttributes: 2
wMaxPacketSize: 512
bInterval: 0
bRefresh: 0
bSynchAddress: 0

      endpoint added to map with bEndpointAddress: 131
        pair.read = 131
        pair.type = 2
      endpoint_desc #1 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 5
bmAttributes: 2
wMaxPacketSize: 512
bInterval: 0
bRefresh: 0
bSynchAddress: 0

      endpoint added to map with bEndpointAddress: 5
        pair.write = 5
        pair.type = 2
        pair added! (read: 131,write: 5,type: 2)
      endpoint_desc #2 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 135
bmAttributes: 2
wMaxPacketSize: 512
bInterval: 0
bRefresh: 0
bSynchAddress: 0

      endpoint added to map with bEndpointAddress: 135
        pair.read = 135
        pair.type = 2
      endpoint_desc #3 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 9
bmAttributes: 2
wMaxPacketSize: 512
bInterval: 0
bRefresh: 0
bSynchAddress: 0

      endpoint added to map with bEndpointAddress: 9
        pair.write = 9
        pair.type = 2
        pair added! (read: 135,write: 9,type: 2)
      endpoint_desc #4 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 138
bmAttributes: 2
wMaxPacketSize: 512
bInterval: 0
bRefresh: 0
bSynchAddress: 0

      endpoint added to map with bEndpointAddress: 138
        pair.read = 138
        pair.type = 2
      endpoint_desc #5 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 11
bmAttributes: 2
wMaxPacketSize: 512
bInterval: 0
bRefresh: 0
bSynchAddress: 0

      endpoint added to map with bEndpointAddress: 11
        pair.write = 11
        pair.type = 2
        pair added! (read: 138,write: 11,type: 2)
    interface added to map with bInterfaceNumber: 0
    interface_desc #0 loaded
bLength: 9
bDescriptorType: 4
bInterfaceNumber: 1
bAlternateSetting: 0
bNumEndpoints: 2
bInterfaceClass: 8
bInterfaceSubClass: 6
bInterfaceProtocol: 80
iInterface: 0

      endpoint_desc #0 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 2
bmAttributes: 2
wMaxPacketSize: 512
bInterval: 0
bRefresh: 0
bSynchAddress: 0

      endpoint added to map with bEndpointAddress: 2
        pair.write = 2
        pair.type = 2
      endpoint_desc #1 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 134
bmAttributes: 2
wMaxPacketSize: 512
bInterval: 0
bRefresh: 0
bSynchAddress: 0

      endpoint added to map with bEndpointAddress: 134
        pair.read = 134
        pair.type = 2
        pair added! (read: 134,write: 2,type: 2)
    interface added to map with bInterfaceNumber: 1
  config added to map with bConfigurationValue: 1
usb_open(0x8b25570)
usb_claim_interface(0x8b17f30,0)
usb_clear_halt(0x8b17f30,135)
usb_clear_halt(0x8b17f30,9)
BulkWrite to endpoint 9:
    00000000: 00 00 10 00 01 ff 00 00 a8 18 da 8d 6c 02 00 00  ............l...

BulkRead (135):
    00000000: 00 00 10 00 02 ff 00 00 a8 18 da 8d 6c 02 00 00  ............l...

BulkWrite to endpoint 9:
    00000000: 00 00 0c 00 05 ff 00 00 14 00 01 00              ............

SocketZero::RawReceive: Endpoint 135
Received:
    00000000: 00 00 20 00 06 ff 00 00 14 00 01 00 47 5a fd d0  .. .........GZ..
    00000010: da 92 e9 4f 43 90 70 09 ef a0 d4 34 b4 8c b3 aa  ...OC.p....4....

BulkWrite to endpoint 9:
    00000000: 00 00 0c 00 05 ff 00 01 08 00 04 00              ............

SocketZero::RawReceive: Endpoint 135
Received:
    00000000: 00 00 14 00 06 ff 00 01 08 00 04 00 03 00 00 00  ................
    00000010: 91 5a 84 25                                      .Z.%

BulkWrite to endpoint 9:
    00000000: 00 00 0c 00 05 ff 00 02 08 00 02 00              ............

SocketZero::RawReceive: Endpoint 135
Received:
    00000000: 00 00 c8 01 06 ff 00 02 bc 01 02 00 02 00 06 00  ................
    00000010: bc 01 00 00 10 00 05 05 03 15 00 84 52 49 4d 20  ............RIM 
    00000020: 42 6c 61 63 6b 42 65 72 72 79 20 44 65 76 69 63  BlackBerry Devic
    00000030: 65 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  e...............
    00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    00000050: 00 00 00 00 00 00 00 00 00 00 00 00 70 77 65 73  ............pwes
    00000060: 74 00 00 00 00 00 00 00 00 00 00 00 4f 63 74 20  t...........Oct 
    00000070: 33 30 20 32 30 30 38 00 00 00 00 00 31 33 3a 32  30 2008.....13:2
    00000080: 34 3a 33 32 00 00 00 00 00 00 00 00 00 01 0f 00  4:32............
    00000090: 01 00 00 00 00 00 00 00 a8 00 00 00 0a 00 00 00  ................
    000000a0: bc 00 00 00 40 00 00 00 04 00 00 00 48 a2 fe 87  ....@.......h...
    000000b0: 00 00 02 00 01 0d 02 30 03 01 04 07 07 27 ff ff  .......0.....'..
    000000c0: ff ff ff ff ff ff ff ff 4a 56 be 92 0e 00 01 00  ........JV......
    000000d0: 1d 0c 00 00 00 00 00 00 d0 07 00 00 18 0c 00 00  ................
    000000e0: 00 00 00 00 00 00 00 00 19 08 00 00 02 00 00 00  ................
    000000f0: 1a 08 00 00 bf 04 00 00 22 0c 00 00 c0 04 00 00  ........".......
    00000100: bf 07 00 00 1e 0c 00 00 c0 07 00 00 d0 07 00 00  ................
    00000110: 09 08 00 00 34 6c b3 c1 ff ff ff ff ff ff ff ff  ....4l..........
    00000120: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
    00000130: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
    00000140: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
    00000150: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
    00000160: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
    00000170: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
    00000180: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
    00000190: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
    000001a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
    000001b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
    000001c0: ff ff ff ff ff ff ff ff                          ........

BulkWrite to endpoint 9:
    00000000: 00 00 0c 00 05 ff 00 03 04 00 05 00              ............

SocketZero::RawReceive: Endpoint 135
Received:
    00000000: 00 00 0c 00 06 ff 00 03 00 00 00 00              ............

BulkWrite to endpoint 9:
    00000000: 00 00 0c 00 05 ff 00 04 04 00 06 00              ............

SocketZero::RawReceive: Endpoint 135
Received:
    00000000: 00 00 0c 00 06 ff 00 04 00 00 00 00              ............

BulkWrite to endpoint 9:
    00000000: 00 00 0c 00 05 ff 00 05 04 00 07 00              ............

SocketZero::RawReceive: Endpoint 135
Received:
    00000000: 00 00 10 00 06 ff 00 05 04 00 07 00 00 02 00 00  ................

BulkWrite to endpoint 9:
    00000000: 00 00 0c 00 05 ff 00 06 04 00 08 00              ............

SocketZero::RawReceive: Endpoint 135
Received:
    00000000: 00 00 0c 00 06 ff 00 06 00 00 00 00              ............

Using ReadEndpoint: 135
      WriteEndpoint: 9
usb_release_interface(0x8b17f30,0)
usb_close(0x8b17f30)
Using IpModem mode...
usb_open(0x8b25570)
Controller: Using non-threaded sockets
usb_claim_interface(0x8b17f30,0)
usb_clear_halt(0x8b17f30,135)
usb_clear_halt(0x8b17f30,9)
usb_clear_halt(0x8b17f30,138)
usb_clear_halt(0x8b17f30,11)
BulkWrite to endpoint 11:
    00000000: 01 00 00 00 01 00 00 00 78 56 34 12              ........xV4.

IPModem read packet.
    00000000: 02 00 00 00 ed 54 d0 fa 05 00 00 00 05 00 00 00  .....T..........
    00000010: 91 5a 84 25 1c 00 00 00 78 56 34 12              .Z.%....xV4.

IPModem password request packet:
    00000000: 02 00 00 00 ed 54 d0 fa 05 00 00 00 05 00 00 00  .....T..........
    00000010: 91 5a 84 25 1c 00 00 00 78 56 34 12              .Z.%....xV4.

BulkWrite to endpoint 11:
    00000000: 03 00 00 00 bd 66 6c 4e 7d 82 1a 93 5e 12 a0 78  .....flN}...^..x
    00000010: a4 8f df d0 e1 9f b3 43 78 56 34 12              .......CxV4.

IPModem read password response.
    00000000: 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    00000010: 01 00 00 00 1c 00 00 00 78 56 34 12              ........xV4.

IPModem password accepted.

BulkWrite to endpoint 11:
    00000000: 01 00 00 00 01 00 00 00 78 56 34 12              ........xV4.

BulkWrite to endpoint 11:
    00000000: 00 00 00 00 00 00 00 00 03 00 00 00 00 c2 01 00  ................
    00000010: a4 8f df d0 e1 9f b3 43 78 56 34 12              .......CxV4.

BulkWrite to endpoint 11:
    00000000: 41 54 0d                                         AT.

IPModem:: AT command response.
    00000000: 02 00 00 00 ee 54 d0 fa 05 00 00 00 05 00 00 00  .....T..........
    00000010: 91 5a 84 25 1c 00 00 00 78 56 34 12              .Z.%....xV4.

IpModem:: Closing connection.
BulkWrite to endpoint 11:
    00000000: 00 00 00 00 b0 00 00 00 00 00 00 00 00 c2 01 00  ................
    00000010: a4 8f df d0 e1 9f b3 43 78 56 34 12              .......CxV4.

BulkWrite to endpoint 11:
    00000000: 00 00 00 00 20 00 00 00 03 00 00 00 00 c2 01 00  .... ...........
    00000010: a4 8f df d0 e1 9f b3 43 78 56 34 12              .......CxV4.

BulkWrite to endpoint 11:
    00000000: 00 00 00 00 30 00 00 00 00 00 00 00 00 c2 01 00  ....0...........
    00000010: a4 8f df d0 e1 9f b3 43 78 56 34 12              .......CxV4.

BulkWrite to endpoint 11:
    00000000: 01 00 00 00 00 00 00 00 78 56 34 12              ........xV4.

IPModem:: Close read packet:
    00000000: 00 00 00 00 23 00 00 00 23 00 00 00 00 c2 01 00  ....#...#.......
    00000010: 18 00 00 00 78 56 34 12                          ....xV4.

IPmodem:: Closed!
usb_release_interface(0x8b17f30,0)
usb_close(0x8b17f30)
usb_set_debug: Setting debugging level to 9 (on)
usb_os_init: Found USB VFS at /dev/bus/usb
usb_os_find_busses: Found 008
usb_os_find_busses: Found 007
usb_os_find_busses: Found 006
usb_os_find_busses: Found 005
usb_os_find_busses: Found 004
usb_os_find_busses: Found 003
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 001 on 008
usb_os_find_devices: Found 001 on 007
usb_os_find_devices: Found 001 on 006
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 019 on 004
usb_os_find_devices: Found 009 on 004
usb_os_find_devices: Found 008 on 004
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 007 on 004
usb_os_find_devices: Found 006 on 004
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 005 on 004
skipping descriptor 0xFF
skipping descriptor 0xB
skipped 2 class/vendor specific endpoint descriptors
skipped 6 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 8 class/vendor specific interface descriptors
usb_os_find_devices: Found 003 on 004
usb_os_find_devices: Found 002 on 004
usb_os_find_devices: Found 001 on 004
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 003
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
usb_os_find_busses: Found 008
usb_os_find_busses: Found 007
usb_os_find_busses: Found 006
usb_os_find_busses: Found 005
usb_os_find_busses: Found 004
usb_os_find_busses: Found 003
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 001 on 008
usb_os_find_devices: Found 001 on 007
usb_os_find_devices: Found 001 on 006
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 019 on 004
usb_os_find_devices: Found 009 on 004
usb_os_find_devices: Found 008 on 004
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 007 on 004
usb_os_find_devices: Found 006 on 004
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 005 on 004
skipping descriptor 0xFF
skipping descriptor 0xB
skipped 2 class/vendor specific endpoint descriptors
skipped 6 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 8 class/vendor specific interface descriptors
usb_os_find_devices: Found 003 on 004
usb_os_find_devices: Found 002 on 004
usb_os_find_devices: Found 001 on 004
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 003
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
usb_os_find_busses: Found 008
usb_os_find_busses: Found 007
usb_os_find_busses: Found 006
usb_os_find_busses: Found 005
usb_os_find_busses: Found 004
usb_os_find_busses: Found 003
usb_os_find_busses: Found 002
usb_os_find_busses: Found 001
usb_os_find_devices: Found 001 on 008
usb_os_find_devices: Found 001 on 007
usb_os_find_devices: Found 001 on 006
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 019 on 004
usb_os_find_devices: Found 009 on 004
usb_os_find_devices: Found 008 on 004
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 007 on 004
usb_os_find_devices: Found 006 on 004
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 005 on 004
skipping descriptor 0xFF
skipping descriptor 0xB
skipped 2 class/vendor specific endpoint descriptors
skipped 6 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 8 class/vendor specific interface descriptors
usb_os_find_devices: Found 003 on 004
usb_os_find_devices: Found 002 on 004
usb_os_find_devices: Found 001 on 004
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 002 on 003
skipped 1 class/vendor specific interface descriptors
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 003
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 002
usb_os_find_devices: Found 001 on 001
exception caught in main(): This device requested a password.

debug debug debug
nodetach

pty "/usr/sbin/pppob -P a1sdf"
connect "/usr/sbin/chat -f /etc/chatscripts/barry-orange.chat"
user ""
password ""

defaultroute
usepeerdns
noipdefault
nodetach
novj
nocrtscts
nomultilink
ipcp-restart 7
ipcp-accept-local
ipcp-accept-remote
lcp-echo-interval 0
lcp-echo-failure 999
mtu 1492
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to