FindPage
View Source:
OpenSlug
Note:
You are viewing an old version of this page.
View the current version.
Wesha pages, "http://www.nslu2-linux.org/wiki/Main/HomePage" to you.<br> Wesha pages, "This is the $75 box I've got from amazon that should be able to do the job." to you.<br> Wesha pages, "However the manuf. firmware sucks and blows, so have to use one of these I guess." to you.<br> Wesha pages, "Here's the base set of requirements I need; upon that, see what would work best (I think OpenSlug, but maybe you'd find otherwise). Also, create our wiki page on that. (And might create one on opennas thing too, though I scrape opennas on nimble idea till they fix VIA problem, hopefully in 6.3)" to you.<br> Wesha pages, "1) Should andle 3 drives (through the hub)" to you.<br> Wesha pages, "2) either NTFS, ext2/3, or UFS (prefferd but not obligatory) support (in other words > 4G files)." to you.<br> Wesha pages, "3) samba and (preferably but optionally) NFS support;" to you.<br> Wesha pages, "4) should support russian filenames (I assume that's automatic with all of the FSes above)" to you.<br> You page, "To my knowledge, all three store unicode." to Wesha.<br> Wesha pages, "I think that's about it. At least at this point I'm not aware of anything else that I'd want from it." to you.<br> Wesha pages, "Other capabilites a plus, but that's what I need it for, really." to you.<br> Wesha pages, "Also might want to research the webcam option, could buy another one to handle webcams." to you.<br> Wesha pages, "http://www.nslu2-linux.org/wiki/HowTo/AddUsbWebcam" to you.<br> SlugOS/BE Local LCD display with piping<br> On fresh slug: A few conveniences: <verbatim> echo "#!/bin/sh\nexec /bin/ls -la --color=auto ${@}" > /bin/ll && chmod 755 /bin/ll echo "#!/bin/sh\nexec /bin/ps ${@}" > /bin/pp && chmod 755 /bin/pp </verbatim> Install LCD stuff <verbatim> ipkg update ipkg install kernel-module-ftdi-sio ipkg install lcdd ipkg install lcdd-driver-mtxorb </verbatim> Patch the config <verbatim> patch -Ni <<EOF --- /etc/LCDd.conf-orig 2008-01-18 20:06:01.000000000 +0000 +++ /etc/LCDd.conf 2008-01-18 20:07:07.000000000 +0000 @@ -41,7 +41,7 @@ # joy, lb216,lcdm001, lcterm, lirc,MD8800, ms6931, mtc_s16209x, # MtxOrb, NoritakeVFD, pyramid, sed1330, sed1520, serialVFD, # sli, stv5730, svga, t6963, text, tyan, ula200, xosd -Driver=curses +Driver=MtxOrb # Tells the driver to bind to the given interface Bind=127.0.0.1 @@ -65,7 +65,7 @@ # If yes, the the serverscreen will be rotated as a usual info screen. If no, # it will be a background screen, only visible when no other screens are # active. -#ServerScreen=no +ServerScreen=no # The server will stay in the foreground if set to true. #Foreground=no @@ -76,7 +76,7 @@ # the driver modules and will thus not be able to # function properly. # NOTE: Always place a slash as last character ! -DriverPath=server/drivers/ +DriverPath=/usr/lib/lcdproc/ # The "...Key=" lines define what the server does with keypresses that # don't go to any client. @@ -622,10 +622,10 @@ [MtxOrb] # Select the output device to use [default: /dev/lcd] -Device=/dev/ttyS0 +Device=/dev/ttyUSB0 # Set the display size [default: 20x4] -Size=20x4 +Size=20x2 # Switch on the backlight? [default: yes] # NOTE: The driver will ignore this if the display is a vfd or vkd @@ -635,7 +635,7 @@ # Set the initial contrast [default: 480] # NOTE: The driver will ignore this if the display # is a vfd or vkd as they don't have this feature -Contrast=800 +Contrast=400 # Set the communication speed [default: 19200; legal: 1200, 2400, 9600, 19200] Speed=19200 EOF </verbatim> A script to call home and start a command, piping lcdd from remote to local <verbatim> #!/bin/sh host=arba.cyberleo.net port=22 user=cyberleo pkey=/root/.ssh/id_rsa command=lcdproc checkpid() { /bin/ps | /usr/bin/cut -c1-6 | /bin/grep -v grep | /bin/grep -c "${*}" > /dev/null } ssh_cmd=/usr/bin/ssh ssh_arg="-C -g -R 13022:127.0.0.1:22 -R 13666:127.0.0.1:13666 -l ${user} -i ${pkey} -p ${port} ${host} ${command}" trap '[ -n "${pids}" ] && checkpid "${pids}" && /bin/kill -TERM ${pids}; exit 0 ' 0 SIGHUP SIGINT SIGTERM SIGQUIT while true; do ${ssh_cmd} ${ssh_arg} & pids=$! wait ${pids} done </verbatim>