Skip navigation.
Home
Now Shipping Version 7.0

configure switch


Posts: 324

So I got a CISCO switch (1548M) and today I took it into school and my instructor and I made a console cable for it. He then pluged it into the schools computer to see if it worked (which it did). Then he looked at it's settings and configured it. However, I am not sure that I like the IP address we assigned it. So I am sitting here wondering what program I should use to connect to it. And how to configure it so it will talk with the serial port. I was told to use minicom but that is not installed on Mepis. Unfortunately, I can't 'apt-get install
minicom'. First it complained about unmet dependencies and told me to run
'apt-get -f install'. I did that and it is now complaining that the server
'failed to open [the] file'. Further; it is a wonder that serial ports are
also ttyS?. I thought that was reserved for cards.

Here is what I am getting:

bmike1@0[bmike1]$ sudo apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libxv1
The following NEW packages will be installed:
  libxv1
0 upgraded, 1 newly installed, 0 to remove and 903 not upgraded.
2 not fully installed or removed.
Need to get 142kB of archives.
After unpacking 303kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 ftp://ftp.us.debian.org unstable/main libxv1 4.3.0.dfsg.1-2 [142kB]
Err ftp://ftp.us.debian.org unstable/main libxv1 4.3.0.dfsg.1-2
  Unable to fetch file, server said 'Failed to open file.  ' [IP: 35.9.37.225 21]
Failed to fetch ftp://ftp.us.debian.org/debian/pool/main/x/xfree86/libxv1_4.3.0.dfsg.1-2_i386.deb  Unable to fetch file, server said 'Failed to open file.  ' [IP: 35.9.37.225 21]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
bmike1@0[bmike1]$ sudo apt-get --fix-missing install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libxv1
The following NEW packages will be installed:
  libxv1
0 upgraded, 1 newly installed, 0 to remove and 903 not upgraded.
2 not fully installed or removed.
Need to get 142kB of archives.
After unpacking 303kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 ftp://ftp.us.debian.org unstable/main libxv1 4.3.0.dfsg.1-2 [142kB]
Err ftp://ftp.us.debian.org unstable/main libxv1 4.3.0.dfsg.1-2
  Unable to fetch file, server said 'Failed to open file.  ' [IP: 204.152.189.120 21]
Failed to fetch ftp://ftp.us.debian.org/debian/pool/main/x/xfree86/libxv1_4.3.0.dfsg.1-2_i386.deb  Unable to fetch file, server said 'Failed to open file.  ' [IP: 204.152.189.120 21]
Unable to correct missing packages.
E: Aborting Install.
bmike1@0[bmike1]$ sudo dpkg --force overwrite -i /var/cache/apt/archives/libxvl-4.3.0.deb
dpkg: error processing /var/cache/apt/archives/libxvl-4.3.0.deb (--install):
 cannot access archive: No such file or directory
Errors were encountered while processing:
 /var/cache/apt/archives/libxvl-4.3.0.deb
bmike1@0[bmike1]$sudo dpkg --force overwrite -i /var/cache/apt/archives/libxv1-4.3.0.dfsg.1-2
dpkg: error processing /var/cache/apt/archives/libxv1-4.3.0.dfsg.1-2 (--install):
 cannot access archive: No such file or directory
Errors were encountered while processing:
 /var/cache/apt/archives/libxv1-4.3.0.dfsg.1-2
bmike1@0[bmike1]$  

Did you

first type apt-get update before trying all this?
Your error looks like it is saying it can't find the file so that usually means you haven't done an apt-get update.

You're right!

I was co-relating it with apt-get dist-upgrade.
:-)~MIKE~(-:

No-go

I did as you suggested and it did download some stuff yet it couldn't find a certain file (libxvl) which I attempted to download seperately (which is how I discovered that dpkg couldn't find the file).

Then I put the '-f' in the wrong place and it started to complain about broken pipes.

Anyu ideas?
:-)~MIKE~(-:
(broken pipes are at the end of of my syntax)

bmike1@0[bmike1]$ sudo apt-get install minicom
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  libwine: Depends: libxv1 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
bmike1@0[bmike1]$ sudo apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libwine libxv1 wine
Suggested packages:
  wine-doc libicu21c102 wine-utils msttcorefonts winesetup binfmt-support
The following NEW packages will be installed:
  libxv1
The following packages will be upgraded
  libwine wine
2 upgraded, 1 newly installed, 0 to remove and 936 not upgraded.
2 not fully installed or removed.
Need to get 8453kB of archives.
After unpacking 188kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 ftp://ftp.us.debian.org unstable/main wine 0.0.20040505-2 [1101kB]
Get:2 ftp://ftp.us.debian.org unstable/main libxv1 4.3.0.dfsg.1-4 [142kB]
Get:3 ftp://ftp.us.debian.org unstable/main libwine 0.0.20040505-2 [7210kB]
46% [3 libwine 2682020/7210kB 37%]                               6083B/s 12m24sASSERT: "m_widget" in ../../kdeui/kaction.cpp (2993)
ASSERT: "m_widget" in ../../kdeui/kaction.cpp (2993)
47% [3 libwine 2747720/7210kB 38%]                               6289B/s 11m49sMutex destroy failure: Device or resource busy
Fetched 8453kB in 28m19s (4975B/s)
Preconfiguring packages ...
(Reading database ... 106663 files and directories currently installed.)
Preparing to replace wine 0.0.20040505-1 (using .../wine_0.0.20040505-2_i386.deb) ...
Unpacking replacement wine ...
Unpacking libxv1 (from .../libxv1_4.3.0.dfsg.1-4_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libxv1_4.3.0.dfsg.1-4_i386.deb (--unpack):
 trying to overwrite `/usr/X11R6/lib/libXv.so.1.0', which is also in package xlibs
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Preparing to replace libwine 0.0.20040505-1 (using .../libwine_0.0.20040505-2_i386.deb) ...
Unpacking replacement libwine ...
Errors were encountered while processing:
 /var/cache/apt/archives/libxv1_4.3.0.dfsg.1-4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
bmike1@0[bmike1]$ sudo apt-get install libxvl
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package libxvl
bmike1@0[bmike1]$ sudo apt-get install -f
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libxv1
The following NEW packages will be installed:
  libxv1
0 upgraded, 1 newly installed, 0 to remove and 936 not upgraded.
2 not fully installed or removed.
Need to get 0B/142kB of archives.
After unpacking 303kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 106661 files and directories currently installed.)
Unpacking libxv1 (from .../libxv1_4.3.0.dfsg.1-4_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libxv1_4.3.0.dfsg.1-4_i386.deb (--unpack):
 trying to overwrite `/usr/X11R6/lib/libXv.so.1.0', which is also in package xlibs
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libxv1_4.3.0.dfsg.1-4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
bmike1@0[bmike1]$

Did you try

just typing after this
dpkg -i --force-overwriting ? If not putting package name gives errors try it with the package name.

no such file or directory

was the response when I tried both 'dpkg -i --force-overwrite libxvl/minicom'.
:-)~MIKE~(-:

bmike1@0[bmike1]$ sudo dpkg -i --force-overwrite libxvl
dpkg: error processing libxvl (--install):
 cannot access archive: No such file or directory
Errors were encountered while processing:
 libxvl
bmike1@0[bmike1]$ sudo dpkg -i --force-overwrite minicom
dpkg: error processing minicom (--install):
 cannot access archive: No such file or directory
Errors were encountered while processing:
 minicom
bmike1@0[bmike1]$

so, nobody told me....

What can I use in place of minicom to look at serial port devices?
:-)~MIKE~(-:

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.