test
February 9th, 2009ererergter
ererergter
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
gzip -d filename
then tar -xvf filename
# tzconfig
Your current time zone is set to GMT
Do you want to change that? [n]: y
useradd
smbpasswd -a
mount //192.168.1.222/win_share -t smbfs /mnt/folder_on_linux -o “username=winuser,password=winsharepassword”
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
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.
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.