I posted earlier requesting help on setting up my nslu2 as an 'iolan'.
Thanks for all your help and direction. For posterity I post my results.
------------
Goal: Use both USB ports of NSLUG2 as serial interface (for SheevaPlugs)
I initially installed Unslung-6.10-
could not get either of them to support further packet installs (without
consuming one of the USB ports for external storage).
I them downloaded OpenWrt's kamikaze_8.09.
followed the instructions at
http://www.nslu2-
didn't need to get IPL_ixp400NpeLibrar
After upslugging and connecting I did:
opkg update
opkg install ser2net
opkg install screen
added "/usr/sbin/ser2net" before 'exit 0' in /etc/rc.local
echo "usbserial vendor=0x9e88 product=0x9e8f" >
/etc/modules.
echo "ftdi_sio vendor=0x9e88 product=0x9e8f" >
/etc/modules.
[ Note: Vendor and product is SheevaPlug specific]
appended "4200:telnet:
appended "4201:telnet:
[ Note: Don't know why USB0 and USB2 don't work for me ]
Whenever I connected remotely with telnet or locally (with screen
/dev/ttyUSB1 115200) I got repeating "1`1`1`1`1`1'
Some combination of the following solved (junk on screen replaced with
SheevaPlug prompt) it for me (ymmv):
Unplugging the USB cables
OR
rmmod ehci_hcd; rmmod uhci_hcd; rmmod ohci_hcd; rmmod ftdi_sio; rmmod
usbserial
depmod -a
modprobe usbserial vendor=0x9e88 product=0x9e8f
modprobe ftdi_sio vendor=0x9e88 product=0x9e8f
modprobe uhci_hcd
modprobe ohci_hcd
Saturday, April 24, 2010
[nslu2-linux] Report: Poor man's iolan
__._,_.___
MARKETPLACE
.
__,_._,___
No comments:
Post a Comment