Bill Buzbee
2008-01-01 03:29:58 UTC
Hi,
I'm hoping to use a NSLU2 to replace a dedicated x86 Linux box
running Ubuntu 7.10 to serve as a SLIP bridge to my silly homebrew
computer project (http://www.homebrewcpu.com). Because I need
hardware handshaking, I plan on using a USB to Serial converter rather
than the internal serial port.
My NSLU2 arrived in the mail today, and so far I've unslung it
(with 6.10) and installed net tools, busybox and the USBSerial
modules. I also verified the basic operation of the USBSerial
converter (by ssh'ng into the NSLU2 and then using Minicom to log into
my HomebrewCPU machine).
I'm running into a bit of trouble, though, with slattach. On my
Ubuntu box, I can use a USBSerial converter as a SLIP bridge as follows:
slattach -s 38400 -p slip /dev/ttyUSB0 2> /dev/null &
ifconfig sl0 192.168.0.89 pointopoint 192.168.0.76 mtu 576 up
route add -host 192.168.0.76 sl0
arp -Ds 192.168.0.76 eth1 pub
echo 1 > /proc/sys/net/ipv4/ip_forward
However, my first attempt at repeating this sequence on my NSLU2
results in slattach throwing the following error message:
"SLIP_set_disc(1): Invalid argument"
Has anyone out there successfully used an NSLU2 in a similar fashion?
Any other sugggestions?
Thanks much,
...Bill Buzbee
http://www.homebrewcpu.com
I'm hoping to use a NSLU2 to replace a dedicated x86 Linux box
running Ubuntu 7.10 to serve as a SLIP bridge to my silly homebrew
computer project (http://www.homebrewcpu.com). Because I need
hardware handshaking, I plan on using a USB to Serial converter rather
than the internal serial port.
My NSLU2 arrived in the mail today, and so far I've unslung it
(with 6.10) and installed net tools, busybox and the USBSerial
modules. I also verified the basic operation of the USBSerial
converter (by ssh'ng into the NSLU2 and then using Minicom to log into
my HomebrewCPU machine).
I'm running into a bit of trouble, though, with slattach. On my
Ubuntu box, I can use a USBSerial converter as a SLIP bridge as follows:
slattach -s 38400 -p slip /dev/ttyUSB0 2> /dev/null &
ifconfig sl0 192.168.0.89 pointopoint 192.168.0.76 mtu 576 up
route add -host 192.168.0.76 sl0
arp -Ds 192.168.0.76 eth1 pub
echo 1 > /proc/sys/net/ipv4/ip_forward
However, my first attempt at repeating this sequence on my NSLU2
results in slattach throwing the following error message:
"SLIP_set_disc(1): Invalid argument"
Has anyone out there successfully used an NSLU2 in a similar fashion?
Any other sugggestions?
Thanks much,
...Bill Buzbee
http://www.homebrewcpu.com