Sizzlechest
Regular Contributor
I want to set up a thumbdrive to add the authorized_keys to the .ssh folder, copy a firewall-start.sh to the /root folder and execute a sed command to modify the
/etc/dnscrypt-proxy-2.toml file to use the cisco server.
I read the instructions in the documentation. I don't have a Linux OS, so I used the 7800 to format the drive as ext2. I put the authorized_keys in a folder called ssh on the thumbdrive. I created a post-mount.sh in /autorun/scripts directory on the thumbdrive, too. I made sure it was chmoded correctly. I could not unmount the drive. I had to reboot the router to safely pull the usb stick out. When I plugged it back in, the only folder was lost+found. I reinstalled the files, pulled it out, plugged it back in and again the only folder was lost+found. Should I try it again with ext4?
EDIT: It worked with ext4. I had to add copying the authorized_keys to the script, too.
One other question: How do I unmount the usb drive? doing a umount /mnt/sda1 results in an "Invalid argument" error.
/etc/dnscrypt-proxy-2.toml file to use the cisco server.
I read the instructions in the documentation. I don't have a Linux OS, so I used the 7800 to format the drive as ext2. I put the authorized_keys in a folder called ssh on the thumbdrive. I created a post-mount.sh in /autorun/scripts directory on the thumbdrive, too. I made sure it was chmoded correctly. I could not unmount the drive. I had to reboot the router to safely pull the usb stick out. When I plugged it back in, the only folder was lost+found. I reinstalled the files, pulled it out, plugged it back in and again the only folder was lost+found. Should I try it again with ext4?
EDIT: It worked with ext4. I had to add copying the authorized_keys to the script, too.
One other question: How do I unmount the usb drive? doing a umount /mnt/sda1 results in an "Invalid argument" error.
Last edited: