Serial over Bluetooth - 'Inappropriate ioctl' error

If it doesn't relate to Debian, but you still want to share it, please do it here

Serial over Bluetooth - 'Inappropriate ioctl' error

Postby neilneil2000 » 2017-09-13 12:50

Hi, I have configured rfcomm to allow me to connect a console session over bluetooth. This seems to be working reliably, however I get the following errors at login. I have searched everywhere and can find others with the same problem but no solution.

Code: Select all
-bash: cannot set terminal process group (XXX): Inappropriate ioctl for device
-bash: no job control in this shell


XXX varies depending on when the job starts.
neilneil2000
 
Posts: 6
Joined: 2017-08-28 07:40

Re: Serial over Bluetooth - 'Inappropriate ioctl' error

Postby pylkko » 2017-09-25 15:36

What device are you connecting to?
User avatar
pylkko
 
Posts: 1619
Joined: 2014-11-06 19:02

Re: Serial over Bluetooth - 'Inappropriate ioctl' error

Postby neilneil2000 » 2017-09-25 18:23

A Raspberry Pi Zero W
neilneil2000
 
Posts: 6
Joined: 2017-08-28 07:40

Re: Serial over Bluetooth - 'Inappropriate ioctl' error

Postby pylkko » 2017-09-25 20:01

But if you just press enter do you get a normal prompt anyway?
User avatar
pylkko
 
Posts: 1619
Joined: 2014-11-06 19:02

Re: Serial over Bluetooth - 'Inappropriate ioctl' error

Postby neilneil2000 » 2017-10-02 12:20

I do, but there are various other impacts of this not being correctly set. Like having to tell sudo to accept a password from stdin.
neilneil2000
 
Posts: 6
Joined: 2017-08-28 07:40

Re: Serial over Bluetooth - 'Inappropriate ioctl' error

Postby RChadwick » 2019-03-04 20:30

Did anyone ever find a solution to this? I have the exact same problem, on a Raspberry Pi Zero W, using Kali.
RChadwick
 
Posts: 3
Joined: 2019-03-04 20:25

Re: Serial over Bluetooth - 'Inappropriate ioctl' error

Postby GarryRicketson » 2019-03-04 20:35

This is not Kali user forums, nor is it Raspberry fruit farm , it is

Debian User Forums, and no Debian is NOT kali linux.
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Serial over Bluetooth - 'Inappropriate ioctl' error

Postby RChadwick » 2019-03-04 20:53

Well, isn't Kali based on Debian?
Kali is a bit irrelevant. Forget I said Kali. I meant to say Debian. I had a temporary mind melt. I was asking because I had the exact same symptom, and wanted to know if anyone has found an answer to this Debian problem.
RChadwick
 
Posts: 3
Joined: 2019-03-04 20:25

Re: Serial over Bluetooth - 'Inappropriate ioctl' error

Postby GarryRicketson » 2019-03-04 21:03

Ok, well in that case to get some information that is needed about your system, if you have 'inxi' use
Code: Select all
$ inxi -F
and please show us the output, if you do not have inxi,
Code: Select all
# apt install inxi

===edited====
Please , do NOT modify/edit any of the information in the inxi output, if it is not accurate and exactly as it shows, any solutions, if there are any, might also not work.
Postby RChadwick » 2019-03-04 15:53
Well, isn't Kali based on Debian?

It might be based on Debian, but no it is NOT the same as Debian, please do not waste everyone's time trying to BS us, if it is Kali you need to read the kali documenation and ask there on the kali forums, there are some things that must be done differently on kali, especially related to network services,bluetooth,etc,.....

from: https://docs.kali.org/introduction/should-i-use-kali-linux ---snip---Network services disabled by default: Kali Linux contains systemd hooks that disable network services by default. These hooks allow us to install various services on Kali Linux, while ensuring that our distribution remains secure by default, no matter what packages are installed. Additional services such as Bluetooth are also blacklisted by default.
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Serial over Bluetooth - 'Inappropriate ioctl' error

Postby RChadwick » 2019-03-04 21:33

Thank you for the help. Here's the output:

Code: Select all
System:    Host: kali Kernel: 4.14.93-Re4son+ armv6l bits: 32 Console: tty 0 Distro: Kali GNU/Linux 2019.1
Machine:   Type: ARM Device System: Raspberry Pi Zero W Rev 1.1 details: BCM2835 rev: 9000c1 serial: 0000000097f0c515
CPU:       Topology: Single Core model: ARMv6-compatible v6l bits: 32 type: UP
           Speed: 700 MHz min/max: 700/1000 MHz Core speed (MHz): 1: 700
Graphics:  Device-1: bcm2708-fb driver: bcm2708_fb v: kernel
           Device-2: bcm2835-hdmi driver: N/A
           Display: tty server: N/A driver: N/A tty: 166x35
           Message: Advanced graphics data unavailable in console for root.
Audio:     Device-1: bcm2835-hdmi driver: N/A
Network:   Device-1: ICS Advent DM9601 Fast Ethernet Adapter type: USB driver: dm9601
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: 00:e0:4c:53:44:58
           IF-ID-1: wlan0 state: down mac: 8e:bd:d4:5b:93:aa
Drives:    Local Storage: total: 59.48 GiB used: 6.77 GiB (11.4%)
           ID-1: /dev/mmcblk0 model: SN64G size: 59.48 GiB
Partition: ID-1: / size: 57.68 GiB used: 6.74 GiB (11.7%) fs: ext4 dev: /dev/mmcblk0p2
           ID-2: /boot size: 60.9 MiB used: 30.5 MiB (50.1%) fs: vfat dev: /dev/mmcblk0p1
Sensors:   Message: No sensors data was found. Is sensors configured?
Info:      Processes: 69 Uptime: 1m Memory: 433.2 MiB used: 49.2 MiB (11.4%) Init: systemd runlevel: 5 Shell: bash
           inxi: 3.0.32
RChadwick
 
Posts: 3
Joined: 2019-03-04 20:25

Re: Serial over Bluetooth - 'Inappropriate ioctl' error

Postby GarryRicketson » 2019-03-05 12:51

RChadwick wrote:Well, isn't Kali based on Debian?
Kali is a bit irrelevant. Forget I said Kali. I meant to say Debian. I had a temporary mind melt. I was asking because I had the exact same symptom, and wanted to know if anyone has found an answer to this Debian problem.

You meant to lie, and say Debian, but it is not Debian:
Code: Select all
System:    Host: kali Kernel: 4.14.93-Re4son+ armv6l bits: 32 Console: tty 0 Distro: Kali GNU/Linux 2019.1


You need to read the documentation on kali linux, and ask them about the procedures to enable blue tooth. There actually is a topic on that on their forum.
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico


Return to Offtopic

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable