I am having a problem getting barry tethering to work and am hoping
someone can help me. I can get tethering to work under Windows running
on the same laptop so I think I have the right setup. I am trying this
with Fedora FC12 and an AT&T Bold 9000. My barry version is
0.15-0.9.20090630git.fc12 (x86_64). The output from the pppd command
without logging just seems to hang during modem initialization:
[r...@dplemons-w500 peers]# pppd call barry-att_cingular
Setting abort string
Initializing modem
Connect script failed
Waiting for 1 child processes...
script /usr/sbin/pppob -P ed1nSc0t, pid 3108
sending SIGTERM to process 3108
There is a significant delay between Initializing modem and Connect
script failed like a time out. There is a lot more output when I turn
on logging so I put it into a file. I am attaching the pppd.log, the
pppob.log, my options file, and my chatscript below. Thanks in advance
for any advice.
P.S. When I try to run Barry Backup I also get an error.
(-1, error sending control message: Operation not permitted): Probe:
GetConfiguration failed
[r...@dplemons-w500 peers]# pppd call barry-att_cingular
usb_set_debug: Setting debugging level to 9 (on)
usb_os_init: Found USB VFS at /dev/bus/usb
usb_os_find_busses: Found 005
usb_os_find_busses: Found 002
usb_os_find_busses: Found 006
usb_os_find_busses: Found 001
usb_os_find_busses: Found 008
usb_os_find_busses: Found 007
usb_os_find_busses: Found 003
usb_os_find_busses: Found 004
Setting abort string
Initializing modem
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 002 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 006
usb_os_find_devices: Found 003 on 001
skipping descriptor 0xB
skipped 1 class/vendor specific endpoint descriptors
skipped 4 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 17 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 008
usb_os_find_devices: Found 001 on 007
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 002 on 004
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 004
error obtaining child information: Inappropriate ioctl for device
usb_os_find_busses: Found 005
usb_os_find_busses: Found 002
usb_os_find_busses: Found 006
usb_os_find_busses: Found 001
usb_os_find_busses: Found 008
usb_os_find_busses: Found 007
usb_os_find_busses: Found 003
usb_os_find_busses: Found 004
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 002 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 006
usb_os_find_devices: Found 003 on 001
skipping descriptor 0xB
skipped 1 class/vendor specific endpoint descriptors
skipped 4 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 17 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 008
usb_os_find_devices: Found 001 on 007
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 002 on 004
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 004
error obtaining child information: Inappropriate ioctl for device
usb_os_find_busses: Found 005
usb_os_find_busses: Found 002
usb_os_find_busses: Found 006
usb_os_find_busses: Found 001
usb_os_find_busses: Found 008
usb_os_find_busses: Found 007
usb_os_find_busses: Found 003
usb_os_find_busses: Found 004
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 002 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 006
usb_os_find_devices: Found 003 on 001
skipping descriptor 0xB
skipped 1 class/vendor specific endpoint descriptors
skipped 4 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 17 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 008
usb_os_find_devices: Found 001 on 007
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 002 on 004
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 004
error obtaining child information: Inappropriate ioctl for device
Check that you have permissions to write to 002/002 and, if you don't, that you
set up hotplug (http://linux-hotplug.sourceforge.net/) correctly.
USB error: could not claim interface 0: Device or resource busy
usb_os_find_busses: Found 005
usb_os_find_busses: Found 002
usb_os_find_busses: Found 006
usb_os_find_busses: Found 001
usb_os_find_busses: Found 008
usb_os_find_busses: Found 007
usb_os_find_busses: Found 003
usb_os_find_busses: Found 004
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 002 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 006
usb_os_find_devices: Found 003 on 001
skipping descriptor 0xB
skipped 1 class/vendor specific endpoint descriptors
skipped 4 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 17 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 008
usb_os_find_devices: Found 001 on 007
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 002 on 004
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 004
error obtaining child information: Inappropriate ioctl for device
usb_os_find_busses: Found 005
usb_os_find_busses: Found 002
usb_os_find_busses: Found 006
usb_os_find_busses: Found 001
usb_os_find_busses: Found 008
usb_os_find_busses: Found 007
usb_os_find_busses: Found 003
usb_os_find_busses: Found 004
usb_os_find_devices: Found 001 on 005
usb_os_find_devices: Found 002 on 002
usb_os_find_devices: Found 001 on 002
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 006
usb_os_find_devices: Found 003 on 001
skipping descriptor 0xB
skipped 1 class/vendor specific endpoint descriptors
skipped 4 class/vendor specific interface descriptors
skipping descriptor 0x25
skipped 1 class/vendor specific endpoint descriptors
skipped 17 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 001
error obtaining child information: Inappropriate ioctl for device
usb_os_find_devices: Found 001 on 008
usb_os_find_devices: Found 001 on 007
usb_os_find_devices: Found 001 on 003
usb_os_find_devices: Found 002 on 004
skipped 1 class/vendor specific interface descriptors
usb_os_find_devices: Found 001 on 004
error obtaining child information: Inappropriate ioctl for device
No device selected
Connect script failed
Script /usr/sbin/pppob -P ed1nSc0t -l /tmp/pppob.log -v finished (pid 3116),
status = 0x1
[r...@dplemons-w500 peers]#
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: 106
bNumInterfaces: 3
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: 4
endpoint_desc #0 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 141
bmAttributes: 2
wMaxPacketSize: 512
bInterval: 0
bRefresh: 0
bSynchAddress: 0
endpoint added to map with bEndpointAddress: 141
pair.read = 141
pair.type = 2
endpoint_desc #1 loaded
bLength: 7
bDescriptorType: 5
bEndpointAddress: 14
bmAttributes: 2
wMaxPacketSize: 512
bInterval: 0
bRefresh: 0
bSynchAddress: 0
endpoint added to map with bEndpointAddress: 14
pair.write = 14
pair.type = 2
pair added! (read: 141,write: 14,type: 2)
interface added to map with bInterfaceNumber: 1
interface_desc #0 loaded
bLength: 9
bDescriptorType: 4
bInterfaceNumber: 2
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: 2
config added to map with bConfigurationValue: 1
usb_open(0x74c4f0)
usb_claim_interface(0x754470,0)
usb_close(0x754470)
# pppd peer file for ATT / Cingular
# by Richard Esplin
# Licensed under the same terms as libbarry.
#
# Some of these options found documented at:
# http://wiki.colar.net/tethering_with_blackberry_pearl_on_linux
#
# Please send all working peer files to cdf...@foursquare.net, so we can
# build a library of peer files for different carriers.
connect "/usr/sbin/chat -f /etc/chatscripts/barry-att_cingular.chat"
# Authentication options - no need for ISP to authenticate to us, but
# we may need a login here: user/password/name
noauth
user ""
password ""
# Handle the default route and DNS
#nodefaultroute
defaultroute
usepeerdns
# Disable unsupported options
noipdefault
nodetach
nodeflate
nobsdcomp
noaccomp
#default-asyncmap
nocrtscts
nopcomp
nomagic
# This is disabled by default for a Barry config, but this
# has caused connection issues in the past. If you are unable
# to get an ip with your provider, try commenting this out.
# See:
# http://www.mail-archive.com/barry-devel@lists.sourceforge.net/msg01871.html
novj
passive
#nomultilink
ipcp-restart 7
ipcp-accept-local
ipcp-accept-remote
lcp-echo-interval 0
lcp-echo-failure 999
# Limit size of packets
mtu 1492
# Verbosity
debug
#debug debug debug
# Call pppob for the USB link
pty "/usr/sbin/pppob -P ed1nSc0t -l /tmp/pppob.log -v"
# Chatscript for ATT / Cingular
# by Richard Esplin
# Licensed under the same terms as libbarry.
#
# Please send all working peer files to cdf...@foursquare.net, so we can
# build a library of peer files for different carriers.
# Google says this info is important for ATT/Cingular:
# Modem Initialization String: AT +CGDCONT=1,"IP","wap.cingular"
# Dial-up Phone Number: *99#
# Dial-up username/password: blank/blank
SAY 'Setting abort string\n'
ABORT ERROR
SAY 'Initializing modem\n'
OK AT
OK ATZ
SAY 'Carrier Information\n'
OK AT+CGDCONT=1,"IP","isp.cingular"
OK ATI
OK ATDT*99***1#
SAY 'Connecting\n'
CONNECT
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel