Don
On 5/17/99, at 12:20 AM, Sylwester S. Biernacki wrote:
>Hi,
>I've exacly the same situation i was talking about few weeks ago.
>My PM25 has jammed and the only way to help him is to reboot it.
>But i'm sure that this is not the exact solution for this problem.
>
>[0:13:27] ttyad [2950]
>(obeer@ornak)~% telnet virginia
>Trying 195.116.8.5...
>telnet: Unable to connect to remote host: Connection refused
>
>Using pmcommand doesn't work either
>[root@ornak bin]# ./clrtnet.virginia
>Couldn't connect to virginia.waw.pdi.net - Connection refused
>No sessions to terminate.
>
>[root@ornak bin]# ./clrtnet.virginia
>#!/bin/bash
># Clear all active telnet sessions to a PortMaster. Doesn't use telnet
># since, if four sessions are already active, telnet access is blocked.
>
># $1 =3D router name
># $2 =3D password
>PM=3D"virginia.waw.pdi.net"
>PASS=3D"password"
>
>cp /dev/null /tmp/fnetc.$$
>pm_command $PM $PASS shnetc \
>| grep ESTABLISHED$ | grep "\.23 " \
>| while read n junk; do
> echo reset n$n >>/tmp/fnetc.$$
> done
>if [ -s "/tmp/fnetc.$$" ]; then
> pm_command $PM $PASS /tmp/fnetc.$$
> echo All telnet sessions killed.
>else
> echo No sessions to terminate.
>fi
>
>rm -f /tmp/fnetc.$$
>
>[ciach]
>but i've phoned into it by modem and this are some infos:
>virginia> sh netstat
>Name Ipkts Ierrs Opkts Oerrs Collis Resets Queue
>ether0 13651939 0 13667971 0 1312839 0 0
>ptp13 14995 0 19203 0 0 0 0
>ptp9 6661 0 6786 0 0 0 0
>ptp12 87489 0 103800 0 0 0 0
>ptp3 32808 0 31816 0 0 0 0
>ptp1 26860 0 26933 0 0 0 0
>ptp8 38883 0 27903 0 0 0 0
>ptp2 1340 0 1171 0 0 0 0
>ptp11 57795 0 60562 0 0 0 0
>ptp10 120997 0 115534 0 0 0 0
>ptp5 796988 0 1168650 0 0 0 0
>virginia> sh netc
>Hnd Recv-Q Send-Q Local Address Foreign Address (state)
>622 0 0 195.116.8.5.23 ornak.25952 CLOSE=
WAIT
> 72 13 0 195.116.8.5.23 ornak.25882 CLOSE=
WAIT
> 10 0 0 195.116.8.5.67 0.0.0.0.0 UDP
> 5 0 0 195.116.8.5.161 ornak.1935 UDP
> 4 20 0 195.116.8.5.1026 ornak.1646 UDP
> 3 0 0 195.116.8.5.1023 ornak.514 UDP
> 2 0 0 195.116.8.5.1025 ornak.53 UDP
>virginia>
>
>It stucked when we've had some damage on the network which PM's loghost is=
in.
>
>It works and routes.... but I can't get into it.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Don Lashier dl@newportnet.com
Newport Internet http://www.newportnet.com/
-
To unsubscribe, email 'majordomo@livingston.com' with
'unsubscribe portmaster-users' in the body of the message.
Searchable list archive: <URL:http://www.livingston.com/Tech/archive/>