Re: switch

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Mikey
Date:  
To: plug-discuss
Subject: Re: switch
Thanks for telling me what package cu comes with since I didn't have it
(apt-get works nicely) until just now.

Well it appears to be waiting for direction from me. But appearances are very
deceiving: it freezes the computer screen until I go to another terminal and
issue a 'killall' command. I tried it with the 'dir' option with the same
result.
Ohhhhhh. Enter a tilde.

Well cool. I got it working better than I had minicom working but I still
don't know what I'm doing

On Tuesday 04 January 2005 12:52, Robert Ambrose wrote:
> The 'ip l' command will show all links. Show is the default. FWIW, I'd
> use 'ip a' because address shows everything link shows plus the IP
> address. You first network link is probably your loopback interface.
>
> Ttys are not network interfaces per se. They are an interface to an RS
> 232 device. ppp0 would be the network interface for a network link
> connected via a RS 232 device (modem).
>
> On your switch issue: if you're trying to connect to a console port of
> a switch, the cu command from the uucp package is the easiest. The
> command 'cu -s 9600 -l /dev/tty0' (assuming you're using COM1 to connect
> to your switch) should do the trick. If cu fails to connect due to
> a permission problem, do a 'chmod 666 /dev/tty0'.
>
> HTH, rna
>
> On Mon, 3 Jan 2005, Mikey wrote:
> > YOu know, I was thinking about what I've learned from the list over the
> > past weeks about 'ip' and thought that it might be of some use with the
> > topic at hand.
> >
> > First, lets test it on some known devices:
> >
> > bmike1@1[bmike1]$ ip link show eth0 (lucky guess thinking of eth0)
> > 2: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
> >     link/ether 00:08:c7:ca:62:4b brd ff:ff:ff:ff:ff:ff
> > bmike1@1[bmike1]$ ip link show ppp0
> > 3: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP> mtu 1500 qdisc pfifo_fast qlen
> > 3 link/ppp

> >
> > Ok. So then it works w/o sudo.
> >
> > Now, will it work on the serial ports:
> >
> > bmike1@1[bmike1]$ ip link show ttyS0
> > Device "ttyS0" does not exist.
> > bmike1@1[bmike1]$ ip link show ttyS1
> > Device "ttyS1" does not exist.
> >
> > I guess not.
> > But wait a second; eth0 appears to be device 2 and ppp0 device 3: so,
> > what is device 1.
> >
> > bmike1@1[bmike1]$ ip link show 1
> > Device "1" does not exist.
> > bmike1@1[bmike1]$
> >
> > Anyone know what I should do? How do I see what device '1' is, could that
> > be the switch? I don't think so because eth0 and ppp0 are all internal
> > devices. But what does that mean. They could also be external devices.
> > Know what I mean? I bet device 1 is the scsi controller
> >
> > ---------------------------------------------------
> > PLUG-discuss mailing list -
> > To subscribe, unsubscribe, or to change you mail settings:
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss