Repository : ssh://git@open-mesh.org/doc
On branches: backup-redmine/2017-09-28,master
commit 2787e3a462f34e714e1c9d94857f37e713baf0af Author: Sven Eckelmann sven@narfation.org Date: Sat Jul 29 12:03:59 2017 +0000
doc: open-mesh/Emulation_Debug: update to debian stretch
2787e3a462f34e714e1c9d94857f37e713baf0af open-mesh/Emulation_Debug.textile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/open-mesh/Emulation_Debug.textile b/open-mesh/Emulation_Debug.textile index 78556a03..9330094c 100644 --- a/open-mesh/Emulation_Debug.textile +++ b/open-mesh/Emulation_Debug.textile @@ -6,12 +6,12 @@ Download the fstab and rc.local file attached to this wiki page into your direct
<pre> qemu-img create debian.img 8G -sudo mkfs.ext2 -F debian.img +sudo mkfs.ext4 -O '^has_journal' -F debian.img sudo mkdir debian sudo mount -o loop debian.img debian -sudo debootstrap jessie debian -sudo chroot debian apt-get update -sudo chroot debian apt-get install build-essential vim openssh-server \ +sudo debootstrap stretch debian +sudo chroot debian apt update +sudo chroot debian apt install build-essential vim openssh-server \ pkg-config libnl-3-dev libnl-genl-3-dev libcap-dev sudo mkdir debian/root/.ssh/ ssh-add -L | sudo tee debian/root/.ssh/authorized_keys @@ -22,8 +22,8 @@ sudo chmod a+x debian/etc/rc.local sudo sed -i 's/^root:[^:]*:/root::/' debian/etc/shadow
## optionally: allow ssh logins without passwords -# sudo sed -i 's/^PermitRootLogin.*/PermitRootLogin yes/' debian/etc/ssh/sshd_config -# sudo sed -i 's/^PermitEmptyPasswords.*/PermitEmptyPasswords yes/' debian/etc/ssh/sshd_config +# sudo sed -i 's/^#PermitRootLogin.*/PermitRootLogin yes/' debian/etc/ssh/sshd_config +# sudo sed -i 's/^#PermitEmptyPasswords.*/PermitEmptyPasswords yes/' debian/etc/ssh/sshd_config # sudo sed -i 's/^UsePAM.*/UsePAM no/' debian/etc/ssh/sshd_config
## optionally: enable autologin for user root