7

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 systemd-analyze critical-chain to check the critical points then disable the unwanted services through systemctl disable service_name. or removing the un-...


5

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!


5

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.


4

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/updates main contrib non-free on your sources.list to upgrade/patch the vulnerable packages through apt as soon as possible. There are some information about the ...


4

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


4

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 maximum file size. So no, there's no limit. Will this file be continuously written to until there is no more memory left Yes what would happen then? Your ...


4

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-through-obscurity things you can do, the feature you are looking for is called "secure boot". Secure boot makes use of cryptographic methods to ensure the machine ...


4

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 missing packages with apt-get update apt-get install ntp ftp openvpn libffi-dev


3

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 already over at superuser and answered with help of the Beaglebone Black kernel maintainer Robert C Nelson. The answer is basically the same as Ignacio Vazquez-Abrams ...


3

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 be the configured value instead of the default 8. source So, pass mmcblk.perdev_minors=16 on the kernel boot line.


3

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.10.1.0 <------- netmask 255.0.0.0 <------- broadcast 10.10.1.255 <------- gateway 10.10.1.1 If your network is 10.10.1.0 and the ...


3

Yes, shutdown is a root only command.


3

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


3

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 the actual partition's size. Used is the number of bytes used. Avail is the number of bytes available. Use% is the space percentage used. man df can help you.


3

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. Regarding your question, it's not clear what purpose the encrypted storage serves. If the purpose is to store key material for a long time, then a ...


2

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 arguments (most likely in your uBoot environment/config): init=/path/to/your/program So instead of running systemd (the process manager) the Linux kernel will run ...


2

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: Many Linux distros now use Systemd and below I'm showing you how to enable/disable the various runlevels. Don't get hung up that it's from the Fedora FAQ on the ...


2

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): http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Debian_Releases


2

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 script with above command. 2. Create a service to execute this script on boot up every time. Creating the service instructions are below http://...


2

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 that environment variables that may affect the way Python behaves may have to be set elsewhere for the script to work, if it relies on them somehow. If you ...


2

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/sdcard. Example # Prepare disk as image dd if=/dev/zero bs=1M count=100 >100M.img lo=$(losetup --find --show 100M.img | tee /dev/stderr) fdisk $lo <<...


2

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 covers flashing U-Boot itself as part of that.


2

The Linux Kernel Map shows in some detail the device control. It contains something called "drivers" and "modules" that can be extended by "Loadable Kernel Modules". E.G.: USB devices generally have a module that gets loaded when the device gets attached whereas the USB root hub is statically linked into the kernel and an nVidia card need a driver ...


2

The device drivers (i.e. the part of the kernel that interact directly with the hardware) can be compiled as kernel modules. These are separate files, which can be loaded or unloaded by the kernel, as necessary, depending on the hardware present in the system. The generic kernels that are shipped with mainstream Linux distributions tend to be supplied with ...


2

In this case, mmc0 is the SD card and mmc1 is the eMMC. Things are made less clear by the fact that the "Trying to boot from" messages match the devices as numbered by the SoC documentation and are numbered starting from 1 while the later messages follow the normal convention and are numbered starting from 0. The default boot command on this board will ...


2

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: Prefer ethernet to wireless By default ConnMan does not prefer ethernet over wireless, which can lead to it deciding to stick with a slow wireless ...


1

I had a board one time where the uart RX pin was tied to ground. So u-boot always saw a key press. Don't know what version you are using... In /common/autoboot.c function static int abortboot_normal(int bootdelay) just before the return add the line abort = 0; This will return no key pressed.


1

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 uncompressed binary for strings it turned out that my kernel instead wanted the following parameter: mmc_block.perdev_minors=16 Replacing mmcblk with mmc_block ...


1

In order to disable and turn off the Apache logging just direct the log entries customlog and errorlog to /dev/null in the .conf file(s) for your site, probably inside /etc/apache2/sites-available/ Alternatively, if you wish to still keep some logging, you could set up a cron job that periodically cleans out the log files.


1

Try this: # Redirect all kernel messages including dmesg to /var/log/dmesglog :msg, contains, "mlan0" ~ kern.* :omfile:$dmesg_log_rotation According to rsyslogd documentation you should first discard the selected messages. If you wish to put the filtered messages to a separate file, you can write something like: # Redirect all "...


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