Re: Help Please: Network Down
Don Hayward <don@mote.org> wrote:
> On Sun, 24 Apr 2005, Marc Shapiro wrote:
>
> > I have been using ssh to connect this way on these boxes for several
> >months, so I don't see why it should suddenly stop working now, but I
> >will try it, anyway.
>
> Was ssh one of the packages you upgraded? Perhaps the config file(s)
> for ssh and/or sshd were overwritten? Are your trying to login as
> root? Perhaps allow root login was set to false?
I don't believe that sshd was upgraded, but it might have been. Both machines seem to start sshd without errors, however. If I access the gateway system directly and dial in with ppp I am still unable to access the net from my desktop box, so the problem is not just with ssh.
I think that I now know what the problem is, but I still can't resolve it. It seems that my routing table has gotten messed up. I have tried every combination of route additions that I can think of, but the error remains. Can anyone clue me in as to what my routing tables *should* look like? I have read the man pages for ifconfig and route, as well as reading the section of "Running Linux" My current routing tables, as reported by /sbin/route and my network interfaces as reported by /sbin/ifconfig follow.
desktop computer:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
localnet * 255.255.255.0 U 0 0 0 eth0
default mareschal 0.0.0.0 UG 0 0 0 eth0
** When I first checked this, only the first line appeared. After rebooting
** the line for the 'default' gateway showed up, but the error remains when
** I try to connect.
eth0 Link encap:Ethernet HWaddr 00:11:5B:1B:8F:1F
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::211:5bff:fe1b:8f1f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:534 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:22764 (22.2 KiB)
Interrupt:19 Base address:0xe400
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:230 errors:0 dropped:0 overruns:0 frame:0
TX packets:230 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:19436 (18.9 KiB) TX bytes:19436 (18.9 KiB)
gateway computer:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
eth0 Link encap:Ethernet HWaddr 00:40:05:73:C8:11
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:180 (180.0 b)
Interrupt:10 Base address:0x300
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1784 (1.7 KiB) TX bytes:1784 (1.7 KiB)
--
Marc Shapiro
Reply to: