Questions tagged [embedded-linux]
Embedded Linux stands for the use of Linux in embedded computer systems such as smartphones.
39
questions
0
votes
0
answers
46
views
Dropbear dropping SSH connection immediately after a couple of seconds
tl;dr
We have an embedded linux (PTXdist) device connected to a 4G router. If we try to SSH to that device over the 4G link, the connection drops immediately after showing a shell prompt.
More detail:...
0
votes
0
answers
58
views
Omm killer killed my python3 process when there was free memory
I am working on webserver on a linux embedded board without swap memory. Sometimes my webserver crashed when there was avaliable memory.
I set those configurations to prevent this but it didn't work.
...
0
votes
0
answers
45
views
How AT commands can be used to know the TCP buffer status?
Atmega328p interfaced with ESP8266, vibration sensor. atmega reads vibration data from the sensor at a frequency of 10khz. Each value is sent over UDP using esp8266 UART-Wi-Fi passthrough mode to a ...
0
votes
2
answers
370
views
Unable to ping other devices in the network through ethernet port on a custom board
I am on a embedded development platform and trying to bring up the ethernet and do a ping test.
As of now, I have the ethernet up after the linux boot, but I am unable to ping other systems. My ...
1
vote
1
answer
318
views
Does chrony need driftfile to survive a reboot
I'm setting up chrony to run on a flash-based embedded system. Should I put the driftfile in a volatile filesystem (/tmp or /var/run) or one of our flash-based partitions? If I do the former then, ...
2
votes
0
answers
102
views
Getting DRBD to boot up in a synchronized state from cold boot
I am working in an environment with an embedded High-Availability NVMeoF cluster, and need this cluster to be available within minutes of a cold power-on of all nodes, and trying to set up a RAID-10 ...
2
votes
1
answer
1k
views
USB networking setup between Android and embedded Linux
I'm working on a project right now where we have an embedded Linux system running some sensor/motor control functionality, and we're creating a GUI application to allow the user to control the system. ...
0
votes
2
answers
356
views
Understanding buff/cache and tmpfs relationship on a read only filesystem with no swap
We have a really strange bug where a Yocto operating system running on a Raspberry Pi will 'lock up' because of disk IO wait.
Scenario:
operating system runs read only and has no swap
there is a ...
0
votes
1
answer
480
views
systemd-networkd: how to elegantly switch between creating a wireless access point and connecting to a wifi network
I'm working on a headless IoT device that creates its own access point so that the user can access its web UI and do necessary configuration. The system uses networkd but I'm not very attached to it ...
1
vote
1
answer
979
views
SSH cannot login with root pasword
I have a buildroot system that I cannot login into with via root.
Root login using .ssh/authorized_keys working, but isn't practical since it's a read-only filesystem. Telnet root login also works.
...
1
vote
1
answer
1k
views
How to add plugin strongswan on yocto ( embedder linux )
i know i missing some strongswan plugin, depending on your configuration. especially plugin eap-...
but with this file .bb i don't know how to add plugin on strongswan. if you have ideal. Thank you
...
0
votes
1
answer
3k
views
strongswan no start embedder linux
hi there i have some problem with Digi ccimx6ul(embedded linux - yocto project) when i start ipsec using strongswan. I get the following error
p/s: i have run success ipsec like this on ubuntu 18.04, ...
0
votes
1
answer
275
views
Unable to print the message sent from user space C application to Linux kernel module
I have developed a simple Linux kernel module :
#include <linux/init.h>
#include <linux/module.h>
#include <linux/fs.h>
ssize_t exer_open(struct inode *pinode, struct file *pfile) {...
0
votes
0
answers
625
views
Set up direct ethernet connection Linux<-->Android
I have an Android 6.0 SoC (ODroid C2) that I'm trying to connect directly to an embedded Linux machine via either regular ethernet or ethernet over USB (via the g_ether module)
There are 2 services ...
0
votes
1
answer
59
views
Zynq/ Petalinux : Unknown command 'gzwrite' - try 'help'
For folks familiar with Zynq, Petalinux and u-boot.
I am using a microzed board, and trying to boot it using an SD card. The boot.bin file is generated using Petalinux 2018.3 SDK. The u-boot runs and ...
-1
votes
1
answer
3k
views
Running tcpdump starts ssh flood
I have runtime Linux running in a PLC. My development machine is running Ubuntu 14.04. The PLC and the development machine are connected through a five port switch. I ssh to PLC from my development ...
0
votes
2
answers
212
views
How to ping from a client in the network to a server not in the network connected on different interfaces on same linux box
I am working on one Linux box. I want something like this.
network--->wlan0---->eth0-->other server.
Both wlan0 and eth0 interface reside inside same Linux box. I am using dhcp which is assigning ...
0
votes
1
answer
696
views
Autoconf from /etc/network/interfaces is not working
I want to disable autoconf of IPv6 for which I am making entries in /etc/network/intefaces file as below. Before making this changes I use "ifdown eth0"
iface eth0 inet6 static
address <...
3
votes
1
answer
920
views
How to setup embedded Linux private vlan
I am trying to setup a vlan between 2 embedded Linux SOCs on wireless IPTV STB (set top box) using vconfig. The physical connection between the SOCs is a Marvell 88E60xx switch. The issue is that the ...
1
vote
1
answer
150
views
Possible Operating System for Linux-experienced admins when configuring a MikroTik RouterBoard RB951Ui-2HnD as balance-loader
I have just bought a MikroTik RouterBoard RB951Ui-2HnD router and would like to try it as balance-loader, if that is possible.
Until now I have just used some desktop computers with Zentyal running ...
0
votes
1
answer
217
views
IPSEC stack low speed
I am working on Openswan IPSEC Implementation for Linux-kernel 2.6.35.9
My concern is when i do speed test using IPSEC kernel Images and without running IPSEC service i get speed of 40Mbps and 10Mbps....
-1
votes
1
answer
458
views
How to create a readonly root linux: Can be mounted as writeable for persistent changes? [closed]
I'd like a read only file system that runs almost entirely in RAM but the compact flash or hardrive can be mounted and made writeable to make persistent changes.
How do I do this on Linux? I've ...
2
votes
3
answers
14k
views
Bypass DNS Server lookup by using /etc/hosts when using a dynamic IP address
It is my understanding that the need to query external DNS servers for commonly accessed names can be reduced if those commonly accessed names are present in /etc/hosts.
Now, I have a situation ...
0
votes
0
answers
610
views
One way ping on an embedded Linux system
I'm facing a networking issue with an embedded Linux system in a private network. We have a network that consists of a few tens of servers connected through a switch with one of the servers acting as ...
4
votes
2
answers
1k
views
using Linux as a bootloader?
I have an embedded device with a SPI connected flash. Basically this means the device boots its bootloader and Linux kernel from a small flash part.
As the device boots, but before the root ...
-5
votes
1
answer
324
views
small and cheap embedded system [closed]
for a home automation project I'm search for a small and cheap computer which is capable of running a small webservice. It should have the following features:
Linux enabled (Debian, OpenWRT, ...)
...
4
votes
2
answers
2k
views
Low-maintenance Linux distro for "info screen"?
What Linux distribution would you recommend for a host with sole function of displaying an informational WWW page to the public with minimum maintenance?
The hardware is a rather simple PC with LAN ...
1
vote
1
answer
2k
views
Facing issue with cron on embedded linux
I have a SAM9 based board running embedded linux using buildroot package.
I added the crond and crontab support to busybox from make menuconfig and built the rootfs and flashed it to my board.
The ...
7
votes
1
answer
17k
views
Forwarding linux terminal from serial port to TCP with socat
I'm working on embedded ARM platform, Slackware. I'm using G24 Java modem which is configured to forward data between ports /dev/ttyS1 and /dev/ttyACM0, so anything that goes onto any of these ports ...
1
vote
1
answer
131
views
Linux audio capture at a rate of 20ms is choppy
I am currently working on an embed linux video server. When I deployed the application to the boards we are planning on using for production I noticed that the audio was noisy.
I discovered that the ...
1
vote
2
answers
2k
views
What is the best file extension for a firmware image made with dd?
I currently have an embedded video server that I developed using embed linux, c and c++. I currently have our assembly line workers flash the ide drives from a usb flash drive like so:
dd if=/dev/...
2
votes
1
answer
558
views
Embedded device for deploying network probes
Our environment has a multitude of remote subnets that we monitor by deploying Linux-based probes running various network monitoring software and other handy tools. Currently we're using surplus-ed ...
11
votes
3
answers
33k
views
What is mdev and how to /dev/* nodes get created in Linux?
Our Linux kernel is 2.6.31 running on an embedded MIPS processor with busybox.
The initialisation script (rcS) starts mdev with:
echo "/sbin/stbhotplug" > /proc/sys/kernel/hotplug
mdev -s
Can ...
2
votes
3
answers
3k
views
Booting a new Linux kernel from within Linux?
Anyone know of a way to "boot" another Linux kernel from within Linux, discarding the original kernel/initrd? The idea is that I can boot my server from a small read only copy of Linux that does some ...
0
votes
2
answers
757
views
Does NMBD depend on DHCP?
I am trying to debug a SMB share issue on an embedded Linux setup. Before diving into source code, I want to make sure this is not a configuration problem. So here is my case:
Scenario-1: dhcp server ...
14
votes
5
answers
25k
views
Busybox, netstat, no -p
I have an ultra old (don't ask why) BusyBox (BusyBox v1.01 (2008.12.19-21:31+0000) Built-in shell (ash)) on my DreamBox. I would like to find out which process opened which connection using netstat. ...
0
votes
3
answers
67
views
What could this error mean?
I am having trouble with embedded linux system which keeps outputting this error:
libdirac_encoder.so.0: cannot open shared object file: No such file or directory'
Any idea what this error means? ...
0
votes
1
answer
853
views
Using Minicom While Connected
I am running Debian on an Embedded system and am trying to use minicom to periodically get the signal strength of my USB EVDO modem using the AT+CSQ command.
When the modem is not connected, I can ...
0
votes
1
answer
170
views
How to increase The initial RAM size(16M) of PPC440 in linux 2.6 kernel
I am building cuImage. When I try to put in openSSH, I run out of 16M RAM boundary which is set during early kernel turning on MMU, so it wont boot up. Can anyone tell me how to increase that? Inside ...