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 3 ...
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 ...
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):
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 ...
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 <<...
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) Create a nopasswdlogin group:
sudo addgroup --system nopasswdlogin
3) Add the user USER to nopasswdlogin:
sudo adduser USER nopasswdlogin
4) Add the ...
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 ...
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 you set the pins to the right pinmux:
config-pin P9_24 uart
config-pin P9_26 uart
config-pin P9_21 uart
config-pin P9_22 uart
Okay, it works. I don't have a very precise answer to the exact question of why the autostart did not work other than noting the difference of: .sh file does not work, application directly does work.
What I did now:
After deleting the old .desktop files in autostart folder, I created the one:
$ nano ~/.config/autostart/MyAppName.desktop
To really speed up boot time build a custom kernel.
One can build a custom kernel by removing all the devices not needed on your computer from the "stock" or original kernel.
It's easier than it sounds.
You get the kernel file and edit out all the things your computer does not need. For instance, if your computer does not have wifi then remove from the ...
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 ...