test

February 9th, 2009

ererergter

OWW on NSLU2

June 8th, 2008

1. follow the normal setup for debianSlug
2. sudo apt-get -y install libusb-dev build-essential make libtool automake autoconf libcurl3 libcurl3-dev libghttp-dev
3. download libghttp with “wget ftp://ftp.gnome.org/pub/GNOME/sources/libghttp/1.0/libghttp-1.0.9.tar.gz”, untar, compile, make, and make install
4. get oww from the download site and untar it etc. move to the oww directory
5. su ./configure –disable-gui
6. make
7. make install

untar

June 7th, 2008

gzip -d filename

then tar -xvf filename

gettext

June 7th, 2008

Debian – set time zone

June 2nd, 2008

# tzconfig
Your current time zone is set to GMT
Do you want to change that? [n]: y

Creating Samba Users and Setting Passwords

June 2nd, 2008

useradd

smbpasswd -a

Connecting from Linux to a network share

June 1st, 2008

mount //192.168.1.222/win_share -t smbfs /mnt/folder_on_linux -o “username=winuser,password=winsharepassword”

Slug Speed

May 29th, 2008

NSLU2 as produced after May 2006 should have the full 266 MHz speed.
How to find out the actual speed (BogoMIPS)?
TELNET connection => cat /proc/cpuinfo

=> BogoMIPS 263.78

Terminal Program (bit like Hyperterminal) but for linux

May 28th, 2008

Picocom is a minimal dumb-terminal emulation program. It is, in principle, very much like minicom, only it’s pico instead of mini! It was designed to serve as a simple, manual, modem configuration, testing, and debugging tool.

USB display from mirrorbro

May 25th, 2008

Using ‘Debian’ and Linux kernelĀ  2.4.20 I needed to do the following.

As root user:

Plug the LCD in. Hotplug facility should detect the usb device being inserted and will leave a message in “/var/logs/syslog” stating the product ID and Vendor Code and saying it does not know what to do with this device. Note down these two ID’s as we will need them later.

From the shell type:
mknod /dev/ttyUSB0 c 188 0
echo “usbserial vendor=0x???? product=0x????” >> /etc/modules

now we must reboot for these changes to take affect. We have created device (handle) for the module to attach the device to and we have added the usbserial module to the list of normally loaded modules. This I found to be the best way so the LCD can be plugged in once the computer has booted or the computer can be booted with the device plugged in.

once a reboot is complete:

echo “Hello World” > /dev/ttyUSB0

It will be necessary to adjust settings in for the tty port. I’ll send you the script of what I have done, but simply reading the man pages for ‘stty’ will help most.

Job done.