4
votes
IPv6 conflict on same network
Don't invent your own methods – IPv6 specifies "Duplicate Address Detection" in RFC 4862, based on sending Neighbour Solicitations to see if another host responds.
5.4. Duplicate Address ...
2
votes
Accepted
Instantly assign static IP address in embedded Linux
IIUC, you can do that with ifconfig tool. Most Linux-based systems come with ifconfig by default. Usage:
ifconfig <interface> <IP>
Example:
ifconfig eth0 192.168.100.100
2
votes
Accepted
How to Add Something Extra to a Busybox System?
AFAIK Busybox is really bare-bones and there is no repository. If you want to install something you have to compile it on your own system and copy it to the Busybox system. This requires some skill ...
2
votes
Which kernel moduules are really needed for docker installation?
The problem in my case was not missing kernel modules, but debian buster using nftables instead of iptables for nat as described here:
https://forums.docker.com/t/failing-to-start-dockerd-failed-to-...
2
votes
Accepted
How to determine in a shell script whether DHCP is running or not
If you wish to check if the computer has already received its IP allocation
you could use this simple call:
ifconfig | grep 192.168.1
if [ $? -ne 0 ]; then
wait for a second and recheck
fi
The ...
2
votes
minimize boot time for linux
Minimizing boot time is step 3. Your steps 1 and 2 are figuring out what actually takes so long, and why.
The boot process isn't as direct as "power button → kernel → your app". What you get during ...
Community wiki
2
votes
how to read CSD register from eMMC using mmc-utils
Alternatively:
mmc extcsd read /dev/mmcblk0
2
votes
Automatically load kernel module at boot. (Angstrom)
The init system has to insmod them.
At least for Buildroot / BusyBox, there seems to be not pre-automated way, so you should just add your own /etc/init.d/S99Modules file containing commands of type:
...
2
votes
Accepted
Command requires missing /run on read-only filsystem
You got this option with cryptsetup, but it sounds risky.
--disable-locks
Disable lock protection for metadata on disk. This option is
valid only for LUKS2 and ignored for ...
1
vote
Accepted
How can I know If a USB 3 device connected to a Linux computer actually uses the SuperSpeed lanes?
to know if your device which appears in the system as USB3.0 actually
uses the wires of USB3.0?
If a device shows up in the system handle as "USB3", it definitely uses SS lanes, otherwise ...
1
vote
EMMC with unblanced block erase count
Writes may well be redistributed across the entire device but there are caveats.
Blocks that are TRIM'ed by your operating system are actively considered "free" and available to be ...
1
vote
Accepted
Why are the IPtables and kernel module versions not matching in Yocto Linux?
Reboot. If it still doesn't work probably the "actual" /boot filesystem that the bootloader uses was not mounted on /boot correctly when you upgraded the kernel. (Or, when the bootloader was ...
1
vote
Loading a file complains about file not found in a specific path, but filesystem is read-only so can't copy
Run modprobe module_name in stead of modprobe module_name.ko.
1
vote
Accepted
Do any linux systems depend on at (atd) for system functionality? I want to disable it
Unlike cron, which schedules jobs that are repeated periodically,
at/atd runs a job at a specific time once.
As far as I know, this isn't used by core Linux and can be uninstalled.
You may see the ...
1
vote
Accepted
routing for an embedded device connected to Ubuntu laptop via USB
It seems that "IP Forwarding" is not working - or it's not doing what I wish it would at least. If I'm forwarding from 192.168.6.1 to 192.168.1.104, and 192.168.1.104 knows how to get to 192....
1
vote
Why Imx6q(Embedded Linux Device) ethernet communication is too slow?
This is a combination of hardware limitation and poor software support. The i.mx6 is not able to reach line speed. NXP claims it is only 470Mbps (page 98 of http://cache.freescale.com/files/32bit/doc/...
1
vote
Accepted
Missing TUN/TAP driver on embedded Linux
More research led me to what seems to be the answer to my question.
I know for sure that some drivers are present on the device I'm having problems with, but I couldn't find them physically on the ...
1
vote
Instantly assign static IP address in embedded Linux
Just for completeness: ifconfig has been superseded by ip. ip has more functionality, a cleaner syntax, and it's easier to parse the output in scripts.
Assuming you want to add a /24 address on eth0, ...
1
vote
Accepted
ALSA "dmix plugin supports only playback stream" error when using dmix on beagleboard
The CL answer (while not being too verbose and not providing example) is right; if you want to also use microphone while using dmix, you need to use asym too.
Example configuration allowing both dmix ...
1
vote
Accepted
Lede and multiwan (mwan3), all interfaces offline
The issue was that the version of mwan3 installed did not match the version of lede running. mwan3 failed to run (only had an exit code, no output) because the binaries it need were not in the right ...
1
vote
How can I read the flash device ID that is installed, perhaps via the mtd interface?
I have made a code-based solution to this, its in stack overflow here: how-can-i-determine-what-mtd-flash-device-is-installed
However, since this is a code change (even if its just one-line) it does ...
1
vote
Accepted
How to build a single-purpose Linux?
If you simply want lightweight operation system on raspberry pi (without desktop environment) then just use "Raspbian Jessie Lite" instead of full one.
If you pretty sure in your programming skills ...
1
vote
How to build a single-purpose Linux?
ROS (Robot Operating System) is a set of software libraries and tools that help developers build robot applications from inside another operating system such as Ubuntu. ROS provides hardware ...
1
vote
Accepted
Kernel panic - not syncing: No init found
Your kernel logs contain the line:
Kernel command line: root=/dev/mmcblk0p1 rw rootfstype=ext2 ......
meaning that it is mounting the first SD card partition as root. Since your rootfs is on the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
embedded-linux × 126linux × 80
networking × 16
embedded × 12
linux-kernel × 11
boot × 8
kernel-module × 8
yocto-project × 8
drivers × 6
debian × 6
usb × 5
busybox × 5
wireless-networking × 4
filesystems × 4
arm × 4
beaglebone × 4
router × 3
ssh × 3
ethernet × 3
dhcp × 3
wpa-supplicant × 3
google-chrome × 2
bash × 2
partitioning × 2
audio × 2