Changes between Version 5 and Version 6 of setup_target


Ignore:
Timestamp:
Oct 24, 2019, 2:54:30 PM (5 years ago)
Author:
Sanahuja Guillaume
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • setup_target

    v5 v6  
    1111
    1212== Parrot Bebop 1/2 ==
     13
     14We use a chrooted environment
    1315
    1416=== rootfs ===
     
    3638== Parrot Minidrone ==
    3739
     40We use a chrooted environment
     41
    3842=== rootfs ===
    3943
     
    5155
    5256== Raspberry pi 3 ==
     57
     58== Beaglebone blue ==
     59
     60We use a chrooted environment. As Debian already has a ssh server, the chrooted dropbear is running on port 1024.
     61
     62You can connect to it with:
     63{{{
     64ssh root@192.168.7.2 -p 1024
     65}}}
     66or copy files with:
     67{{{
     68scp -P 1024 filename root@192.168.7.2:
     69}}}
     70=== rootfs ===
     71
     72
     73
     74=== chroot script ===
     75
     76chroot script (''/home/debian/chroot.sh''):
     77
     78{{{
     79#!/bin/sh
     80
     81mount -o bind /dev /home/debian/rootfs/dev/
     82mount -o bind /sys /home/debian/rootfs/sys/
     83mount -o bind /proc /home/debian/rootfs/proc/
     84
     85mount -t tmpfs -o mode=0755,nodev,nosuid tmpfs /home/debian/rootfs/run
     86mount -t devpts devpts /home/debian/rootfs/dev/pts
     87
     88chroot  /home/debian/rootfs/ /etc/init.d/dropbear start
     89}}}