Hi Mark,

Thanks for your advice

On Thursday 23 October 2003 08:02, Mark Fisher wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thursday 23 Oct 2003 6:05 am, Stephen Liu wrote:
> > # /etc/init.d/sshd status
> > * status: stopped
> > # /etc/init.d/sshd start
> > * Bringing eth0 up...
> > * Failed to bring eth0 up
> >
> > * ERROR:  Problem starting needed services
> > "sshd" was not started.
> >
> > (Remark: the denotation of NIC of this PC is eth1 because previously it
> > had 2 NICs, eth0 and eth1.  I removed eth0, the remaining NIC retaining
> > eth1)
>
> After physically removing eth0, did you run the command rc-update del
> net.eth0 default ?   If so, then I think the problem maybe with the net
> virtual service, maybe it still thinks that net.eth0 should be started.  Im
> having a quick dig around my box and on gentoo.org/google.  Ill let you
> know if I find anything.

I can't recall exactly.  eth0 was removed before installing Gentoo 1.4 on this 
PC about 4 days ago which is for test purpose.  But the NIC remaining still 
indicated eth1.  I got some trouble during setup broadband connection but 
finally solved the problem.  How to find it out

- snip -
> > 2) What tool shall I use to check port 22 not being firewalled off and
> > ssh is blocked
>
> netstat -nat will tell you what ports are listening (netstat -natp to
> include processID's ;o) ), between that and iptables -L you should be able
> to work out if the service should be available from a particular address.

netstat -nat
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:6000            0.0.0.0:*               LISTEN

# netstat -natp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       
PID/Program name
tcp        0      0 0.0.0.0:6000            0.0.0.0:*               LISTEN      
2167/X

# iptables -L
bash: iptables: command not found

# epm -q iptables
package iptables is not installed

# epm -q ipchains
package ipchains is not installed

Both iptables and ipchains not installed.

B.R.
Stephen


--
[EMAIL PROTECTED] mailing list

Reply via email to