12 votes
Accepted

How can I get systemd to tell me why init is listening on a particular port?

Use systemctl list-sockets and look in the first column, labeled LISTEN for something ending in :3000 or :1880. Let us know what you find!
user avatar
8 votes
Accepted

Reduce Boot time

The arch linux documentation Improving performance/Boot process may help you to learn how to improve the boot performance. Use systemd-analyze blame to check the timing for the enabled services, or ...
user avatar
  • 57.5k
6 votes
Accepted

Error : Package 'mongodb' has no installation candidate

MongoDB isn’t supported on armhf, the architecture your BeagleBone uses; see #836435 for details. As a result it’s no longer available in the Debian repositories for Debian 9 and later.
user avatar
4 votes
Accepted

Is Removal of Perl the Recommendation for Hardening a System?

Removing perl may harm your system, because there a ton of programs witch depend on it, to keep your system secure its better to include the following line: deb http://security.debian.org/ jessie/...
user avatar
  • 57.5k
4 votes

Disable GUI on BeagleBone Black running Debian

Add following to /boot/uboot/uEnv.txt: ## for BBB debian OS ## this disables lightdm run from "/etc/init.d/lightdm" ## comment it to enable GUI optargs=text
user avatar
  • 41
4 votes

Limit on continuously writing to a log file

Is there a limit to the size of this file? Not unless the file system imposes a limit. On a 4GB flash with a modern file system the answer is, you will run out of space a long before you hit the ...
user avatar
4 votes

Securing Beaglebone software from stealing

The BeagleBone was designed to be a hobbyist computer, so there are many ways to get into it (netboot, usb etc) and lots of helpful documentation on the Internet. While there are some security-...
user avatar
4 votes
Accepted

How to install a few specific packages one time on Debian Wheezy (after EoL)

From the comments above. The packages can be installed from the debian wheezy archive. Change /etc/apt/sources.list to deb http://archive.debian.org/debian/ wheezy main contrib then install the ...
user avatar
  • 22.1k
3 votes

How to build a bridge between 2 networks?

In your network configuration, your network, netmask, and broadcast configuration do not agree... they are wrong. iface br0 inet static bridge_ports eth0 wlan1 address 10.10.1.1 network 10....
user avatar
3 votes
Accepted

Why aren't half of my logical partitions available?

At least on Kernel developer seems to assume a fixed limit of four partitions for MMC. https://elixir.bootlin.com/linux/v3.3/source/drivers/mmc/card/block.c#L1587 EDIT: The question was asked ...
user avatar
  • 410
3 votes

Why aren't half of my logical partitions available?

The start of next SD/MMC card can be configured with CONFIG_MMC_BLOCK_MINORS, or overridden at boot/modprobe time using the mmcblk.perdev_minors option. That would bump the offset between each card to ...
user avatar
3 votes

Error when running `shutdown -h now`

Yes, shutdown is a root only command.
user avatar
3 votes
Accepted

Remove user and password at login in Debian 9 Stretch

1) Edit your lightdm configuration file: sudo nano /etc/pam.d/lightdm Before the @include common-auth line , add the following line : auth sufficient pam_succeed_if.so user ingroup nopasswdlogin 2)...
user avatar
  • 57.5k
3 votes

Disable GUI on BeagleBone Black running Debian

You can set the "runlevel" in a systemd environment to runlevel 3 like so: cd /lib/systemd/system ln -sf multi-user.target default.target References https://wiki.archlinux.org/index.php/systemd
user avatar
  • 31
3 votes

Failing to Enable UARTs on Beaglebone Black

The following works for Debian 9.9 with Kernel 4.14 (also worked with Debian 8.3, did not work with Debian 9.3). Upon booting into it you'll see the /dev/ttyO1,O2,O4 files, but they won't work until ...
user avatar
3 votes

How much space does my Debian OS need

As shown by the df command, your /dev/mmcblk1p1 is full. Your partition's size is 3.6G (Size), you're using 3.4G (Used). There's no more space available (Avail shows 0 and Use% shows 100%). Size is ...
user avatar
  • 1,974
3 votes

Creating an encrypted partition to store private keys

Encryption techniques are effective for protecting Data At Rest (DAR). However, once the data are decrypted, the data are available for, at least, the user who performed the decryption and the root ...
user avatar
  • 5,522
3 votes
Accepted

Flashing U-boot on beaglebone black

The README file for the board, which is found at board/ti/am335x/README in the source tree has a section on writing to the eMMC. It talks about Falcon Mode, which is having U-Boot run Linux, but ...
user avatar
  • 487
3 votes

Connman network configuration for default interface

Which interface takes preference / priority in this case when communicating to the outside world? Priority should be set in the main.conf, you can create it manually. Answer from Arch-linux wiki: ...
user avatar
  • 57.5k
3 votes
Accepted

U-Boot "Wrong Ramdisk Image Format" with initramfs on BeagleBone black

Simple answer You need to enable CONFIG_LEGACY_IMAGE_FORMAT in U-Boot: Go to the u-boot source directory. Type: $ make menuconfig In Boot images -> Enable support for the legacy image format Exit ...
user avatar
2 votes

Disable GUI on BeagleBone Black running Debian

Using the same approach that @Justin tried to show you can change your systemd runlevel to one that isn't graphical. This will stop any graphical UI from being loaded/used by your BeagleBoard. NOTE: ...
user avatar
  • 344k
2 votes

Disable GUI on BeagleBone Black running Debian

The main download site from BeagleBoard.org includes a link to http://elinux.org, click on it will show you a list of all images available. There you can download "console" images (instead of LXDE): ...
user avatar
  • 123
2 votes

How to reduce the boot time of a beaglebone using systemd

Does your program need to maintain state (do you need a writeable disk?) The fasting thing you can probably do is not use an init system at all. Instead consider appending this to your Kernel ...
user avatar
  • 790
2 votes

Static IP address on beaglebone

I solved it my creating a service for the manual connmanctl command connmanctl config ethernet_20c9d029e088_cable ipv4 manual 192.168.5.10 255.255.255.0 Following are the steps 1. Create a bash ...
user avatar
  • 51
2 votes
Accepted

Crontab with sudo not working on Debian BeagleBone Black

Place the job in root's crontab with sudo crontab -e as @reboot /full/path/to/python /home/debian/hmrid/runhmrid.py Be aware that the job will be executed without your usual environment. This means ...
user avatar
  • 267k
2 votes

A hidden file? (most probably a wrong script )

Your script exits as soon as it receives an error because you have bash -e enabled. The failing command is rm -rf, because at the point your script is running there is a filesystem mounted on /media/...
user avatar
  • 88.9k
2 votes
Accepted

Why is uboot ignoring mmcroot in uEnv.txt?

Only the envboot target will look for uEnv.txt. This target is only run once, not once for each device. So the boot process tries that, fails (all of the Card did not.. messages) and moves on to ...
user avatar
  • 487
2 votes

How to track down sys_reboot function in Linux kernel for ARM architecture

The reboot system call is defined in kernel/reboot.c — look for SYSCALL_DEFINE4(reboot. For ARM systems you’ll probably be interested in the ARM-specific support in arch/arm/kernel/reboot.c, and ...
user avatar
2 votes

Why aren't half of my logical partitions available?

Just like Dave it did not help for me to pass the kernel parameter mmcblk.perdev_minors=16 (yes, my kernel was configured with CONFIG_MMC_BLOCK=y). Using the script extract-vmlinux and searching the ...
user avatar
2 votes

routing table adds additional default entry

It seems like the problem was that connman was running on my machine. It ignored my configuration and inserted it's own stuff. After uninstalling connman everything worked as intended.
user avatar
  • 131

Only top scored, non community-wiki answers of a minimum length are eligible