Questions tagged [linux]

For questions relating the use of GNU/Linux based operating systems on IoT devices. If your question is about a general use or administration of Linux, consider whether it would be more appropriate at Unix & Linux Stack Exchange or Super User instead.

Use this tag for questions related to the IoT applications of the GNU/Linux operating system and tailored distributions for IoT devices.

Question checklist

  • Is your question on-topic in the context of the Internet of Things?
  • Does the question use or focus on a GNU/Linux distribution?

Example questions

Not what you are looking for?

  • For general Linux questions, shell scripting, applications, and the UNIX C API and System Interfaces, consider asking at Unix & Linux Stack Exchange.

  • For the Ubuntu Core operating system for the Internet of Things, use .

45 questions
18
votes
5 answers

Is there a way to control my lights from my Linux desktop?

I have just started investigating smart lights. I am interested in using some Wi-Fi sockets in some lamps in my office to automate the lights. I am curious if there is a way to turn my lights on from my PC, and ultimately turn them on when my Linux…
Scorb
  • 282
  • 1
  • 2
  • 6
13
votes
1 answer

mosquitto_sub "connection refused" on Arch Linux

So I installed mosquitto and mosquitto-client on a Raspberry Pi running Raspbian Jessie through apt-get as well as mosquitto on another Pi running Arch Linux through pacman. On Arch the client utils do not need to be installed separately. Testing…
Ghanima
  • 2,539
  • 1
  • 19
  • 46
13
votes
3 answers

802.11 action frames send and receive in software

Is it possible to gain access to 802.11 action frames TX/RX from software? There's a proprietary protocol based on vendor-specific action frames called ESP-NOW for ESP8266 and ESP32 chips, and I'd like to try to implement it on a Raspberry Pi. It…
11
votes
1 answer

Why does Docker reduce power usage on an Internet of Things device in this benchmark?

I've been interested in the applications of Docker on IoT devices such as Raspberry Pis. After reading A Performance Evaluation of Container Technologies on Internet of Things Devices, I was slightly confused by one of the results. In Table 1, the…
Aurora0001
  • 18,520
  • 13
  • 55
  • 169
10
votes
1 answer

mosquitto_sub: command not found

I'm using a raspberry pi image that has the mosquitto broker installed. To troubleshoot, instruction was to run: pi@raspberrypi:/ $ mosquitto_sub -v -t "gateway/+/rx" However that resulted in: -bash: mosquitto_sub: command not found Even though…
Chris
  • 331
  • 1
  • 2
  • 7
8
votes
1 answer

How can I review a smartphone sensors readings on a Dell gateway?

I have got a Dell edge gateway 5000 with Linux Snappy 15.04 as OS. I have installed the gateway access point and I can connect the gateway from my smartphone. Now, I need to read the smartphone sensors like accelerometer, touch screen co-ordinates,…
Joey
  • 81
  • 5
8
votes
2 answers

Make Embedded Board NTP Server for Arduino boards in the subnet

I have an Embedded Board where the distribution on it is a custom Linux Distribution based on Yocto. I have added ntp and via ntpd I will sync time with the common ntp pools either via UMTS 3G dongle or Ethernet. This board along with some ESP32 PoE…
Shan-Desai
  • 1,558
  • 10
  • 23
8
votes
1 answer

Anyone know of a Wi-Fi light switch that works with Linux?

I'm looking for a single or dual Wi-Fi light switch that I can activate with Linux. It needs to fit a standard 2-gang switch box and/or include a trim plate that covers a 2-gang box. Anyone know of such a thing? I can't tell from the selection on…
Will T.
  • 81
  • 2
8
votes
2 answers

What will happen if I use Class 4 SD card, instead of recommended Class 10 for Intel Galileo?

I could not find any relevant information on this, sites just recommended class 10. I want to know if it is okay to use Class 4, 8 GB SD card, for making a bootable Linux drive for Intel Galileo, or even installing Windows. Are there any…
7
votes
1 answer

SSH into an Orange Pi connected to the internet via 2G GSM module

I wanted to SSH into my Orange Pi remotely. It will be connected to the Internet via a 2G GSM module. How should I go about it? Usually it's ssh username@ip address. The setup isn't implemented yet so wanted to know if such access is possible. Also…
7
votes
2 answers

How to secure root on IoT device while remaining open to tinkerers

I'm currently spitballing ideas for an Internet of Things device. It will be running Linux on a widely available development board, I'm not too concerned about physical security or the end user doing something bad to it however I'd like to secure it…
Adam
  • 73
  • 6
6
votes
2 answers

SBC similar to Banana/Raspberry Pi with USB comms

I’m looking forward to develop a handheld device that could communicate with PCs over WiFi network, Bluetooth and USB. I have looked at the forums about Rpi, and they say it does not support Usb communication with PC since they are both masters. So…
alex_z
  • 163
  • 2
6
votes
0 answers

Job / Run Loop manager for embedded device?

I'm in process of creating an IoT Prototype which runs (currently) on ARM processor with Embedded Linux. I'm trying to use existing technologies as much as possible: for example MQTT for external communication and ZeroMQ for IPC communication. Now I…
6
votes
2 answers

Which tools/frameworks do you use to configure an array of SBCs

Use case: I have a lot of Utilite2 single board computers to configure On each device I installed Linaro (Ubuntu-based), booted from MicroSD card. Linaro is recommended OS for Utilite2 On each device I have to do a lot of manual steps (all of them…
MrPicky
  • 144
  • 7
6
votes
1 answer

Controlling IoT device through a captive portal/web app over Wi-Fi & 4G/LTE simultaneously

Yeah - mostly some mad scientist stuff here. I have an IoT project I'm working on where each device must be independently connected to each users phone and not connected to any central WiFi network. So please keep in mind that this IoT board does…
1
2 3