On 3/2/08, Andrei Popescu <[EMAIL PROTECTED]> wrote: > On Sun, Mar 02, 2008 at 07:36:37PM +1100, hce wrote: > > On 3/2/08, Andrei Popescu <[EMAIL PROTECTED]> wrote: > > > On Sun, Mar 02, 2008 at 04:42:29PM +1100, hce wrote: > > > > > > > All right, it's done. The next problem is that eth0 is not assigned IP > > > > address, it has following statement in the /etc/network/interfaces. I > > > > can see eth0 without IP address. That machine was running on FC5 > > > > before and has no problem to network connection. > > > > > > > > allow-hotplug eth1 > > > > > > ------------------^^^ Typo? > > > > > > > iface eth1 inet dhcp > > > > > > You didn't say, so I'm guessing you are not using dhcp. If this is the > > > case then you will have to put the following in /e/n/interfaces (replace > > > the numbers with the real ones): > > > > > > ---[ /etc/network/interfaces ]--- > > > > > > allow-hotplug eth0 > > > iface eth0 inet static > > > address 192.168.123.123 > > > netmask 255.255.255.0 > > > gateway 192.168.123.1 > > > dns-nameservers 123.123.123.123 123.123.123.124 > > > > Sorry for not being clear. I did mean to use dhcp. The network server > > is working fine that the previouse FC5 had no problem to run the IF by > > dhcp. Not sure why doesn't work in Debian. Anyway, I manually created > > an IP address for for the time being, it is connected to the network > > now, but I still want the debian box connect to the network by dhcp. > > > You can try to connect via dhcp by running 'dhclient' as root. That > might give some clues. If it works just revert your config. Sometimes > the 'allow-hotplug' directive doesn't work correctly, you can try 'auto' > instead.
I changed to "audo", it sitll does not work. But, if I start dhclient manually, it works fine. I checked ps, there was a dhclient3 running. Could that cause the problem? How can I config /etc/init.d to make the dhclient running? > > > If I want to another linux box connect to the Debian box using ssh, > > should I install and start sshd in the debian box? I see the ssh has > > already in the debian box, but I guess it is the ssh client, not sshd. > > If I need to enable sshd in the debian box, how can I do it? > > > AFAIK ssh depends on openssh-client and openssh-server so you should be > fine. The ssh client running fine. It can ssh to other linux box where the sshd is running, but other linux box cannot ssh to it as there is no sshd running on the Debian. I searched Intenert find a ssh script and copied it to the /etc/init.d. The instruction says to call "update-rc.d -f ssh defaults 20", then run "/etc/init.d/ssh start". But, I could not find update-rc.d in my Debian box, is there alternative to make a runlevel links manually for ssh defaults 20? Thanks Andrei. Kind Regards, Jim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]