I run Debian on my NSLU2!!!
If someone asks you to sudo rm -rf anything don't do it.
Try the following commands
ping 192.168.0.3
Should tell you if your slug is there and responding. Press control-c when you have received several replies.
arp
This takes a while to respond (several seconds until first reaction). When entered without any arguments it should answer the IP and MAC addresses of all devices connected to your LAN segment.
route
Displays the routing table. Since ssh says that there was no route to the slug, it seems worthwile to check this one.
Last edited by popch; December 30th, 2007 at 09:50 AM. Reason: had mistyped 'commands' in place of 'arguments'
ch
In Switzerland we make it other
with apologies to Gerard Hoffnung
I set up Debian, nginx, PHP and MySQL on a VPS and the whole system just takes around 22-28mb memory. I think nginx is better than Apache and Lighttpd in this case. I am going to buy a NSLU2. It's really impressed
Last edited by xoai; December 30th, 2007 at 01:33 PM.
It is hard to tell the world we live in is either a reality or a dream!
Thanks guys for your replies. Here are my results:
As I mentioned I can flash the nslu2 with the original Linksys firmware and within minutes its working fine again. I can then type 192.168.0.3 in to a web-browser and everythings works. I just can't seem to get it up and running with Debian ...Code:root@snoopy:~/share/software/nslu2# ping 192.168.0.3 PING 192.168.0.3 (192.168.0.3) 56(84) bytes of data. From 192.168.0.2 icmp_seq=1 Destination Host Unreachable From 192.168.0.2 icmp_seq=2 Destination Host Unreachable From 192.168.0.2 icmp_seq=3 Destination Host Unreachable From 192.168.0.2 icmp_seq=5 Destination Host Unreachable From 192.168.0.2 icmp_seq=6 Destination Host Unreachable From 192.168.0.2 icmp_seq=7 Destination Host Unreachable From 192.168.0.2 icmp_seq=9 Destination Host Unreachable From 192.168.0.2 icmp_seq=10 Destination Host Unreachable From 192.168.0.2 icmp_seq=11 Destination Host Unreachable --- 192.168.0.3 ping statistics --- 12 packets transmitted, 0 received, +9 errors, 100% packet loss, time 11009ms , pipe 3 root@snoopy:~/share/software/nslu2# arp Address HWtype HWaddress Flags Mask Iface 192.168.0.3 (incomplete) eth0 192.168.0.1 ether 00:11:50:4E:31:6A C eth0 root@snoopy:~/share/software/nslu2# route Kernel IP routeing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.0.0 * 255.255.255.0 U 0 0 0 eth0 link-local * 255.255.0.0 U 1000 0 0 eth0 default 192.168.0.1 0.0.0.0 UG 100 0 0 eth0
PS. I seem to hit the same block with a manual install. AFAI I'm following Martin Michlmayr's original instructions. In effect I'm using Upslug2 and doing the same type of flash process for Debian that I do when installing the original Linksys firmware. Am I missing something obvious?
Ubuntu problem? Click here | Unofficial Ubuntu Starter Guide | Ubuntu Help
Registered Linux User: 392112
From the results above you can clearly see that there is no response from 192.168.0.3. You can also see that there has not recently been any device on the LAN using that address.
In short: the slug does not think it has the address 192.168.0.3. I have no idea what address it might have when running Debian.
Perhaps you should consult the documentation which you used for installing Debian on your slug. On the other hand, you could use an IP scanner and have it search for the slug's address.
Sorry, I can not recommend an IP scan program as I have no experience in using one of those. The last time I needed that done, I had my son do it for me on his Windows box, because that was much faster.
ch
In Switzerland we make it other
with apologies to Gerard Hoffnung
Have you looked here: http://www.nslu2-linux.org/wiki/Debian/TroubleShooting ?
Yay!!! Finally got the little blighter working.
Not really sure why it suddenly started working.. I re-read the Troubleshooting FAQ (thanks gn2, yes I'd read it, but I read it again anyway). In the default Linksys config I already had IP address, netmask, default gateway etc set up. I added the DNS Server too. I then tried (yet again) the manual configuration and yet again it failed. So I gave it one last try with the new Debian installer. And this time I had an SSH connection!
The install then went smoothly and I can now connect to it fine.
One minor thing. It's working fine, but blinking orange/green all the time. Is this correct?
Ubuntu problem? Click here | Unofficial Ubuntu Starter Guide | Ubuntu Help
Registered Linux User: 392112
Thanks everyone for your replies. I'm probably buying two.
Does anyone have experience with running rtorrent or Transmission (CLI version) on it? I wonder if they'll perform reliably.
At LUG today a guy was talking about Asterisk. He said NSLU2's are actually pretty crappy when it comes to serving the "network storage" purpose, but they're great to use as your Asterisk server, once you flash them with OpenWRT.
LinuxChix | Linux User #432169 | Ubuntu User #8495 | IRC: maco @ irc.linuxchix.org or irc.freenode.net
Bookmarks