[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Another NSLU2 Problem: Network connection



Hi Guys,

I've been trying to install Debian on the NSLU2 with the 4.0r2 release
and I have some troubles with the network. Precisely, the NSLU2 is not
receiving the expected IP-Address from the DHCP-server.

My computer and the NSLU2 are connected to a switch and this switch is
connected to a larger subnet with the IPs 10.50.*.*.

When I flashed the NSLU2 with SlugOS I do an

ping -b 10.50.255.255


after I disconnected the swtich from the entire subnet to get the IP
from the NSLU2.
But this is not working when the NSLU2 is flashed with the latest
installer. So I was booting the NSLU2 without, while it was not
connected to any other computer. Then I loggend via ssh in the slug
(192.168.1.77) and changed the neetwork settings by hand, so that the
slug can access the internet to download all necessary files for
installation.
After the installation the slug rebooted and I tried to login, without
success. So I did this: I installed a dhcp-server on my computer and
booted the slug again, while it was only connected to my computer and
vice versa. Now I can ping the slug:

$ ping -c2 10.50.228.100
PING 10.50.228.100 (10.50.228.100) 56(84) bytes of data.
64 bytes from 10.50.228.100: icmp_seq=1 ttl=128 time=0.151 ms
64 bytes from 10.50.228.100: icmp_seq=2 ttl=128 time=0.151 ms

--- 10.50.228.100 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.151/0.151/0.151/0.000 ms


But when I try to login via ssh:

$ ssh root@10.50.228.100
ssh: connect to host 10.50.228.100 port 22: Connection refused


Well, during installation with the installer I did not install a
ssh-server explicitly. I was hoping this is installed automatically.
Do I have to install that by myself (and if yes, how)?
On the other hand I am thinking, that there is an error in the
configuration of my installed dhcp-server (config-file below).

# dhcpd.conf

option domain-name "example.org";
option domain-name-servers 10.70.0.20;

default-lease-time 600;
max-lease-time 7200;

ddns-update-style none;

log-facility local7;

subnet 10.50.0.0 netmask 255.255.0.0 {
  range 10.50.228.99 10.50.228.101;
  option domain-name-servers 10.70.0.20;
  option domain-name "intern.example.org";
  option routers 10.50.225.250;
  option broadcast-address 10.50.255.255;
  default-lease-time 600;
  max-lease-time 7200;
}

host nslu2 {
  hardware ethernet <MAC-OF-THE-SLUG>;
  fixed-address 10.50.228.100;
  option domain-name-servers 10.70.0.20;
  option domain-name "intern.example.org";
  option routers 10.50.225.250;
  option broadcast-address 10.50.255.255;
}


By the way, the Ready/Status LED is flashing green-orange.

What can/should I do to get a working slug?

Steffen


Reply to: