Go to advanced search

by zfyseu
Thu Sep 29, 2016 7:22 am
Forum: General discussion
Topic: How to deal with "/dev/root" is full?
Replies: 4
Views: 2457

Re: How to deal with "/dev/root" is full?

Thanks.

I have solved the problem by running the command "raspi-config" to expand the filesystem.
by zfyseu
Thu Sep 29, 2016 2:52 am
Forum: General discussion
Topic: How to deal with "/dev/root" is full?
Replies: 4
Views: 2457

How to deal with "/dev/root" is full?

Hello,everyone! I have installed nginx,apparmor on my raspberry pi based on raspbian. However when I reboot, the desktop can't start. And when run the command "df -h" through putty, it return with the following: [email protected]:/home/pi# df -h Filesystem Size Used Avail Use% Mounted on /dev/root 3....
by zfyseu
Thu Jul 28, 2016 8:10 am
Forum: General discussion
Topic: problems about building a raspbian kernel
Replies: 5
Views: 980

Re: problems about building a raspbian kernel

Thanks! I have tried what you said. however when I run "make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage modules dtbs" it will returns: "scripts/kconfig/conf --silentoldconfig Kconfig * Restart config... * * Configure standard kernel features (expert users) * Configure standard kernel feature...
by zfyseu
Thu Jul 28, 2016 7:18 am
Forum: General discussion
Topic: problems about building a raspbian kernel
Replies: 5
Views: 980

Re: problems about building a raspbian kernel

Hello, DougieLawson!

Do you know how to edit the kernel option when cross compile the raspbian kernel?

Thanks.
by zfyseu
Thu Jul 28, 2016 6:51 am
Forum: General discussion
Topic: How to edit kernel option when building the raspbian kernel?
Replies: 1
Views: 384

How to edit kernel option when building the raspbian kernel?

Hello,everyone!

I have followed the link "https://www.raspberrypi.org/documentati ... uilding.md" to build my own raspbian kernel.

I want to edit the kernel option to enable apparmor.

Is there anyone know how to edit the kernel option when building the raspbian kernel?

Thanks!
by zfyseu
Wed Jul 27, 2016 11:21 am
Forum: General discussion
Topic: problems about building a raspbian kernel
Replies: 5
Views: 980

Re: problems about building a raspbian kernel

I have known the reasons.

the "mnt/ext4" should be "/mnt/ext4"

however it can't boot.

Is there anyone know where to find the "bootcode.bin " and "start.elf"?

Thanks!
by zfyseu
Wed Jul 27, 2016 9:04 am
Forum: General discussion
Topic: problems about building a raspbian kernel
Replies: 5
Views: 980

problems about building a raspbian kernel

Hello,everyone! I try to follow the link "https://www.raspberrypi.org/documentation/linux/kernel/building.md" to build my own raspbian kernel. Everything seems go well. However after I run the command "make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=mnt/ext4 modules_install" there ...
by zfyseu
Tue Jul 05, 2016 7:07 am
Forum: General discussion
Topic: How to enable Apparmor on Raspbian?
Replies: 2
Views: 1408

How to enable Apparmor on Raspbian?

Hello, everyone!

I have runned the command "sudo apt-get install apparmor apparmor-profiles apparmor-utils" and "/etc/init.d/apparmor start"

And when do "aa-status" it still returns "apparmoris not loaded".

Is there anynoe know how to solve the problem?
by zfyseu
Tue Jul 05, 2016 7:00 am
Forum: Raspbian
Topic: Apparmor on Raspbian?
Replies: 8
Views: 4984

Re: Apparmor on Raspbian?

Hello everyone!

Have you solved the problem?
I also want to enable apparmor on Raspbian.

Thanks!
by zfyseu
Sun Jul 03, 2016 6:36 am
Forum: General discussion
Topic: How to start iptables on raspbian?
Replies: 5
Views: 17255

Re: How to start iptables on raspbian?

I have solved the problem.

I worte a bash file executed automaticlly at boot time.

Another way maybe be "# apt-get install iptables-persistent" seen as the link http://blog.mxard.com/persistent-iptabl ... i-raspbian
by zfyseu
Sun Jul 03, 2016 4:30 am
Forum: General discussion
Topic: How to start iptables on raspbian?
Replies: 5
Views: 17255

Re: How to start iptables on raspbian?

I just want to add some rules of iptables like "iptables -A INPUT -p tcp --dport 80 -j ACCEPT", however when I reboot the RPi, the rules are missing.
How should I do ?
by zfyseu
Sun Jul 03, 2016 2:14 am
Forum: General discussion
Topic: How to start iptables on raspbian?
Replies: 5
Views: 17255

How to start iptables on raspbian?

Hello,everyone!

when I run the command "service iptables start", it returns the error: "Unit iptables.service failed to load: No such file or directory"
How to start iptables on Rpi2 based on raspbian?

Thanks!
by zfyseu
Thu Jun 30, 2016 10:17 am
Forum: General discussion
Topic: Boot error:end Kernel panic
Replies: 2
Views: 757

Boot error:end Kernel panic

Hello,everyone! I run the command on my RPi 2 based on raspbian: "apt-get install linux-image-rpi-rpfv linux-headers-rpi-rpfv" and "reboot" However it can't boot anymore. and the display shows the error: "end Kernel panic - not syncing: Attempted to kill init! exit code=0x00000100" Is there anybody ...
by zfyseu
Thu Jun 30, 2016 2:33 am
Forum: General discussion
Topic: How to build a kernel module on Raspbian?
Replies: 1
Views: 631

How to build a kernel module on Raspbian?

Hello, everyone! I want to build a kernel module on Rpi 2 based on raspbian. And I follow the link "https://github.com/notro/rpi-source/wiki" to build the module. However when I run the command "rpi-source" it returns the error: ERROR: gcc version check: mismatch between gcc (4.8.2) and /proc/versio...
by zfyseu
Thu Jun 23, 2016 6:24 am
Forum: Pidora / Fedora
Topic: Fedora 23 Remix for Pi 2B
Replies: 23
Views: 20624

Re: Fedora 23 Remix for Pi 2B

Hi,vauthan!
I have solved the problem.
after do "dnf update", I need to restart the system and the output of "uname -r" will change.
Thank you!
by zfyseu
Thu Jun 23, 2016 3:19 am
Forum: Pidora / Fedora
Topic: Fedora 23 Remix for Pi 2B
Replies: 23
Views: 20624

Re: Fedora 23 Remix for Pi 2B

Hello, vaughan!

I want to build some code on my RPi 2B.
And the linux-devel version has to match my kernel verison.
And my kernel version is 4.2.5-400.50acac3.bcm2709.fc23.armv7hl

However I can't get the same version of linux-devel.
How should I do?
Thank you!
by zfyseu
Wed Jun 22, 2016 10:14 am
Forum: Pidora / Fedora
Topic: Fedora 23 Remix for Pi 2B
Replies: 23
Views: 20624

Re: Fedora 23 Remix for Pi 2B

Hello vaughan! I have installed fedora 23 remix on RPi 2B. However when I run the following command: dnf install kernel-devel-$(uname -r) it returns with the error: No package kernel-devel-4.2.5-400.50acac3.bcm2709.fc23.armv7hl available. Error: Unable to find a match. Do you know how to solve it? T...
by zfyseu
Tue Jun 21, 2016 9:01 am
Forum: General discussion
Topic: Trusted Boot of RPi 2B
Replies: 17
Views: 3853

Re: Trusted Boot of RPi 2B

Thank you!
I still think trusted boot has some effect because SD card can be integrated into the circuit board.
by zfyseu
Tue Jun 21, 2016 2:01 am
Forum: General discussion
Topic: Trusted Boot of RPi 2B
Replies: 17
Views: 3853

Re: Trusted Boot of RPi 2B

Anyway, I will tried it.
And if I succeed, I will post a reply here.
by zfyseu
Mon Jun 20, 2016 7:08 am
Forum: General discussion
Topic: Trusted Boot of RPi 2B
Replies: 17
Views: 3853

Re: Trusted Boot of RPi 2B

Hello, W. H. Heydt! 1. The "measure" meas that do HASH operation on the bootloader, the kernel and the web service and then compare the hash value with the standard value. 2. the tpm module implemented by software will do the meaurements. 3. Obviously, the measurements can test whether the bootloade...
by zfyseu
Mon Jun 20, 2016 6:35 am
Forum: General discussion
Topic: Trusted Boot of RPi 2B
Replies: 17
Views: 3853

Re: Trusted Boot of RPi 2B

Hello,edo1!
What I want to do is to measure the bootloader, the kernel and the web service when the RPi starts.
by zfyseu
Sun Jun 19, 2016 2:15 am
Forum: General discussion
Topic: Trusted Boot of RPi 2B
Replies: 17
Views: 3853

Re: Trusted Boot of RPi 2B

Thank you, fruitoftheloom!
by zfyseu
Sat Jun 18, 2016 11:32 am
Forum: General discussion
Topic: Trusted Boot of RPi 2B
Replies: 17
Views: 3853

Re: Trusted Boot of RPi 2B

Thank you!
I have got two ideas to enhance the security of RPi, but I am not sure whether they are feasible.

Method 1: transplant source code of TPM emulator to RPi platform. https://github.com/PeterHuewe/tpm-emulator

Method 2: using trust zone of ARM.
by zfyseu
Sat Jun 18, 2016 6:40 am
Forum: General discussion
Topic: Trusted Boot of RPi 2B
Replies: 17
Views: 3853

Trusted Boot of RPi 2B

Hello everyone!
I want to increase the security of RPi so that I want to check the SD card and the kernel when the RPi starts which means trusted boot.
Is there anybody know how to deal with it?
Thank you!
by zfyseu
Mon Jun 13, 2016 6:58 am
Forum: Pidora / Fedora
Topic: Fedora 23 Remix for Pi 2B
Replies: 23
Views: 20624

Re: Fedora 23 Remix for Pi 2B

I have solve the problem by editing the config.txt as following:

disable_overscan=1
hdmi_force_hotplug=1
hdmi_group=2
hdmi_mode=16
config_hdmi_boost=4
hdmi_ignore_edid=0xa5000080

Thank you anyway!

Go to advanced search