Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7738747
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T08:20:49+00:00 2026-06-01T08:20:49+00:00

Some time ago, I’ve got a new single board computer running Debian which will

  • 0

Some time ago, I’ve got a new single board computer running Debian which will eventually be the “heart” of a project at school.

Right now, I’m accessing the on-board distro using wired network and ssh. This is fine as long as the thing lies on my desktop, but not when it is built into the robot to where it is targeted. I managed to establish a bluetooth connection using a cheap USB-BT adapter, but now I’m stuck with an rfcomm device and no clue on how to proceed.

What I would like most would be to have the virtual serial port provided by the bluetooth connection to behave just like the real serial port. So that I can log in using minicom (or something similar) and get full access to everything on the board.

When searching the web, all I could find were guides about how to set up dial-up networking with mobiles and similar topics, but nothing about a bluetooth console. Maybe I’ve just tried the wrong keywords.

I’d really much appreciate any hint on how to do this.

Thanks,
Philipp

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T08:20:50+00:00Added an answer on June 1, 2026 at 8:20 am

    I suppose I’ve found a feasible solution. The missing keyword was “getty” and some glue logic in a shell script:

    #!/bin/sh
    
    # Make sure to have rfcomm loaded
    modprobe rfcomm
    
    # Turn on and reset bluetooth dongle
    hciconfig hci0 up
    hciconfig hci0 reset
    
    # Accept incoming connections (in background)
    rfcomm watch 0 1 &
    
    # Loop forever
    while true
    do
      # Wait for our socket to pop in
      while [ ! -c /dev/rfcomm0 ]
      do
        sleep 5
      done
    
      # Present a login shell
      getty -n -l /bin/bash 115200 /dev/rfcomm0 vt102
    done
    

    I’m not very confident about it, since it does not seem to be very stable (Sometimes it is not possible to connect after boot…), but it works fast and is relatively easy. So I’m happy with it 🙂

    Regards,
    Philipp

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Some time ago I got this error when building ANY Visual Studio Deployment project.
Some time ago I joined new project. It was under development for quite a
Some time ago i saw an app on the market which had an option
Some time ago I started a project in which I needed to do the
Some time ago I started writing a BNF-based grammar for the cables which WikiLeaks
Some time ago I came across a website that described a binary-to-text encoding which
Some time ago I saw a XML library for C++ which heavily utilized operator
Some time ago I thought an new statistics system over, for our multi-million user
I have seen some time ago people discussing about the new multithreading in Delphi
Some time ago we needed a solution for Single Sign On authentication between multiple

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.