LEDE @WRT1900ACS

READ the README’s !! I can’t emerge you enough, or you are a genius and know how to factory reset…

Installation is pretty much forward, like grabbing the .bin called „*squash-factory“ at:

in this case I use the Linksys WRT1900ACS version 17.* which lacks of /bin/bash. I need auto-completion, bind magic space etc. what leads to my first mission:

#opkg install bash

How to come so close? Fire up the machine, fing its IP, browse the gui, find firmware upload, install lede, set root pw, drink coffee, ssh root@….

Awesome, right? after installing bash & nano, edit /etc/passwd which says that /bin/ash should be root’s shell. Prepend the missing „b“

#nano .bashrc

#I always write a first line to make me smile, like „hello root, this is not a lovesong“

# don’t put duplicate lines or lines starting with space in the history.
# See bash(1) for more options

export HISTIGNORE=‘ *‘
HISTCONTROL=ignoreboth
export PROMT_COMMAND=’history -a‘
export HISTTIMEFORMAT=“%d/%m/%y %T “
bind Space:magic-space

# append to the history file, don’t overwrite it

shopt -s histappend

Follow this one: id_pub to passwd-less login which in addition to a traditional way to do, makes you cp the key sequence to /etc/dropbear

#cp /root/.ssh/authorized_keys /etc/dropbear/

Now some funny-useful-funny stuff: LED Customizing

#blkid (will only be a valid command if it is installed with #opkg install blkid)

A workaround for obtaining a attached usb hdd is listing the /dev/sd* directorys, but mounting them will need some more packages

#opkg install block-mount ntfs-3g kmod-fs-ntfs ntfsprogs_ntfs-3g

After that, attached drives should be mountable and I will export those now via NFS

#opkg install libwrap portmap nfs-kernel-server-utils nfs-server nfs-kernel-server nfs-utils libevent unfs3 libuuid libblkid kmod-fs-exportfs

#/etc/init.d/portmap start

#/etc/init.d/portmap enable

#/etc/init.d/nfsd start

#/etc/init.d/nfsd enable

did complain about /mnt not exportable, but editing /etc/exports and mounting a share (for now in ro) did work