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-...
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 ...
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
what would happen then?
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 ...
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 install ntp ftp openvpn libffi-dev
At least on Kernel developer seems to assume a fixed limit of four partitions for MMC.
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 ...
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.
So, pass mmcblk.perdev_minors=16 on the kernel boot line.
In your network configuration, your network, netmask, and broadcast configuration do not agree... they are wrong.
iface br0 inet static
bridge_ports eth0 wlan1
network 10.10.1.0 <-------
netmask 255.0.0.0 <-------
broadcast 10.10.1.255 <-------
If your network is 10.10.1.0 and the ...
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.
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 ...
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):
So instead of running systemd (the process manager) the Linux kernel will run ...
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 ...
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):
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
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 ...
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.
# 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 <<...
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.
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 ...
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 ...
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 ...
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 ...
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...
static int abortboot_normal(int bootdelay)
just before the return add the line
abort = 0;
This will return no key pressed.
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:
Replacing mmcblk with mmc_block ...
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.
# Redirect all kernel messages including dmesg to /var/log/dmesglog
:msg, contains, "mlan0" ~
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 "...