Results 1 to 7 of 7

Thread: Problem with RFCOMM after upgrade to Jaunty

  1. #1
    Join Date
    Mar 2009
    Beans
    4

    Problem with RFCOMM after upgrade to Jaunty

    A couple of weeks ago I set up my Motorola Q as a bluetooth modem using the instructions here:

    http://ubuntuforums.org/showthread.php?t=629528

    Everything worked perfectly. Then I upgraded to Jaunty. Here is the output of dial-motoq.sh:

    Code:
    Finding PDAnet Channel on MotoQ:
    Dialing channel 1:
    --> WvDial: Internet dialer version 1.60
    --> Cannot open /dev/rfcomm0: Permission denied
    --> Cannot open /dev/rfcomm0: Permission denied
    --> Cannot open /dev/rfcomm0: Permission denied
    and this is what I get from trying to connect with rfcomm directly:

    Code:
    sudo rfcomm connect 00:1A:1B:1D:BF:AE 1
    Can't connect RFCOMM socket: Host is down
    Any ideas?

  2. #2
    Join Date
    Dec 2008
    Beans
    1

    Re: Problem with RFCOMM after upgrade to Jaunty

    I have this same problem following an upgrade to jaunty. Anybody have any ideas?

  3. #3
    Join Date
    Mar 2009
    Beans
    4

    Re: Problem with RFCOMM after upgrade to Jaunty

    Anyone have any ideas?

  4. #4
    Join Date
    Mar 2007
    Beans
    5

    Re: Problem with RFCOMM after upgrade to Jaunty

    try to add 0 or 1 after connect:

    Code:
    sudo rfcomm connect 0 00:1A:1B:1D:BF:AE 1
    to dial you need to do it with sudo. Since jeunty I can't connect anymore with simple user.

  5. #5
    Join Date
    Feb 2009
    Beans
    2

    Re: Problem with RFCOMM after upgrade to Jaunty

    Quote Originally Posted by mrsynock View Post
    to dial you need to do it with sudo. Since jeunty I can't connect anymore with simple user.
    Any particular reason and/or workaround for that?

  6. #6
    Join Date
    Mar 2007
    Beans
    5

    Re: Problem with RFCOMM after upgrade to Jaunty

    I think /dev/rfcomm doesn't have good permissions. But I only suppose.

  7. #7
    Join Date
    Mar 2009
    Beans
    4

    Re: Problem with RFCOMM after upgrade to Jaunty

    It looks like the "Host is down" problem might have been fixed in an update or something since I'm not seeing it anymore. Now it's giving me:

    Code:
    sudo dial-motoq.sh 
    Finding PDAnet Channel on MotoQ:
    Dialing channel 2:
    --> WvDial: Internet dialer version 1.60
    --> Cannot open /dev/rfcomm2: Permission denied
    --> Cannot open /dev/rfcomm2: Permission denied
    --> Cannot open /dev/rfcomm2: Permission denied
    So I guess the permissions changed on those devices. So, I changed this line in dial-motoq.sh:

    Code:
    sudo -H -u \#1000 wvdial motoq$CHAN
    to:
    Code:
    sudo -H wvdial motoq$CHAN
    making that part of the script actually run as root instead of user 1000. Now it's working for me.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •