Questions tagged [iot]

This tag is supposed to be used in relation to the Internet of Things.

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

Mosquitto with encrypted key automatic start

mosquitto service does not support config parameter to put the password in for the encrypted private key. It asks for it on start of the service, which is not convenient for IoT device. I do not want ...
  • 1
0 votes
1 answer
99 views

Prevent VAP from accessing the internet (with ebtables)

I'm trying to find a way to connect smart home devices to my local network but deny them access to the internet. Rather than set individual rules bound to an IP address, I'm trying to create a virtual ...
0 votes
1 answer
63 views

how can I detect if my infinite cp command has failed using bash

I have a little data collector, a Raspberry Pi Zero W, which, on boot, mounts a remote folder on mnt using sshfs. The data transfer is effected using a cp command, e.g., cp device file & where ...
0 votes
0 answers
19 views

WPS Push-Button for Bluetooth?

Is there any such thing like the WPS Push-Button function for Bluetooth? I would like to connect a headless IoT device to a smartphone. Unfortunately the IoT device has no input capability (just a ...
  • 238
0 votes
0 answers
251 views

LPAd (eSIM) Linux?

Is anyone aware of a LPAd for Linux devices, both Android and Windows support this as of currently. I have searched the internet and was unable to find any information about if / or an eSIM LPAd will ...
  • 1
0 votes
1 answer
55 views

can't get service to run on Rock64 SBC

I have a python script that displays the current IP address and time to a LCD screen attached to my device (Rock64 SBC). The python script runs fine on it's own. from subprocess import check_output ...
  • 105
0 votes
1 answer
273 views

Connection two raspberry PI via Wi-Fi direct

I wanted to play with the Wi-Fi direct protocol and really understand it as I want to pretend I have a sensor network that follows the pattern: wake up establish a network trade data disconnect wait ...
0 votes
0 answers
82 views

Cannot post request to localdomain 127.0.0.1:80 in RHEL7 while setting up Mainflux

I am trying to setup Mainflux on my Linux RHEL 7 Server. While doing mainflux-cli provision test it shows an error as: Post http://localhost/users: dial tcp 127.0.0.1:80: connect: connection refused ...
0 votes
2 answers
321 views

iptables rule to block local net port

I'm on local 192.168.1.0/24 network with an openwrt router at 192.168.1.1 and I want to block any tcp connection to an IoT device that has an open port, let's say 192.168.1.12:5001. I don't have ...
  • 193
-1 votes
1 answer
549 views

Ubuntu Core as Hyper-V virtual machine image

As Ubuntu Core can be installed on an Intel® NUC, is there any possbility to make it run as Hyper-V virtual machine to play around with it?
  • 101
2 votes
1 answer
657 views

How to connect to the internet, via a bluetooth access point, from command line

The question may seem highly specific, but I didn't seem any answer anywhere. Accessing the internet via a bluetooth access point sounds like an odd choice, but I believe it's the right one in my ...
  • 25
1 vote
1 answer
4k views

installing eclipse/paho.mqtt c++ client on Debian

I'm developing a C++ program (for a home IoT Project) on Debian 9 that needs to act as an MQTT client. I found paho.mqtt would be helpful in this regard, but none of the on-line documentations to ...
  • 13
2 votes
0 answers
4k views

Line-ending problem with Telnet: can't remove LF from CRLF when sending command

I am unable to get Telnet to send only CR (\r) at the end of a command, despite setting the crlf toggle to <CR><NUL> (see example below). Instead, Telnet always sends CR-LF (\r\n). My ...
0 votes
1 answer
46 views

Is it possible to replace a debian ttyx console window with a graphical application?

On debian, how can I replace a ttyx console window with a graphical application? I am running debian 9.3(Stretch); it does not come with a graphical desktop as it's more of an Internet of Things ...
0 votes
2 answers
336 views

What is best approach for setting up internet gateway from orange pi running Raspbian

I have cheap IoT device from Orangepi running raspbian server with wlan0 and ppp0 interfaces. wlan0 will be connected to access point in the local network. the ppp0 interface will be connected to GSM ...
  • 11
0 votes
1 answer
2k views

Crontab with sudo not working on Debian BeagleBone Black

On my Beaglebone Black device, I want to run python code at startup which is shared here https://github.com/acseckin/hmrid. The python code requires super user privileges. The Debian version I used on ...
  • 125
0 votes
0 answers
617 views

Why ad-hoc network devices do not see each other?

I have 3 devices. On one tetwork one device can see another, yet they both can not see the third one. They are in same wi-fi ad-hoc network. 2 of them see each other and one does not see no one. ...
  • 105
1 vote
1 answer
8k views

Telnet equivalent for USB connected devices?

I'm starting to play with Internet of Things type development boards (originally Arduino, now ESP8266, RaspPi and CHIP). And one thing I'm struggling with is connecting to them from a Linux machine. ...
  • 1,017
1 vote
2 answers
231 views

What do you use when you can't use Bash? [closed]

I am trying to make a shell script that runs on a widest variety of *nix systems. So, if I wrote a bash script backwards compatible with old versions of the shell, but what if bash wasn't on the ...
2 votes
0 answers
2k views

How to test shellshock against remote machine using a simple script [closed]

I am interested in testing for shellshock vulnerable machines that I don't have shell access to on my LAN's and WAN's such as IPMI cards and Internet of Things devices. What is the best way to ...