Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a Allied telesyn layer 3 switch and some how its boot.cfg file is deleted, I have backup for it, now don't know that how to upload that file to switch. and I have RS-232 Terminal which I tried to connect but its doesn't connect also can any budy tell me that how to upload the boot.cfg file again to the switch.
Usually you would use telnet to a switch or router's rs232 port. Often you can download files from a tftp server. You might try and see if the device runs an ftp service on the port.
You might try different terminal emulators for the rs232 port. The computer is a DTE device and the switch should be a DCE so you shouldn't use a null cable as you would connecting to an RS232 printer.
Also try to download the instructions for your device from their website. If that doesn't work, email their service department.
The "RS" in rs232 stands for "recommended standard" so different manufacturers may implement different parts. If you download the manual it may contain the recommended pin connections for a cable. You may need to create your own cable.
The baud rate or parity settings on the two devices may differ. The one that works may be getting your prefered settings from its boot.cfg file. Look in the manual. Sometimes when a device power cycles there is a command that you can enter to reset it to the defaults. This is the case for some Cisco routers.
Does this switch have a reset button? If so, holding down the reset for 10 seconds may restore the factory defaults. If not, try unplugging it an plugging it in while holding down the reset button.
If you can't communicate with the device, how do you know that the boot.cfg file was deleted? Could the problem be that the flash device went bad? How was the boot.cfg file deleted?
If you can't communicate with the device, how do you know that the boot.cfg file was deleted? Could the problem be that the flash device went bad? How was the boot.cfg file deleted?
well it was just because I was not able to ping it or lake of knowledge i tried all the ways as you said but I think that the terminal is not working I have one more same switch, when I checked the faulty switch inside it has a small circut for the terminal and which is conceted the to the main board with a cable and its easily change able, if i change the RS-232 terminal with the one which is working I hope it should work.
You ping a device on a network. You don't use ping when you connect using a terminal. Can you retrieve the boot.cnf file from the working switch. Read it. If it doesn't set something like the baud rate of the terminal interface, then the setting that the working one uses should be the default. Find out if the rs232 interface will operate without a boot.ini file and what the settings should be. You will need to find out either from the documentation for the switch or on the web.
I did replace the RS-232 Port with the one which was working I had the backup with me so added that also, now every thing is okay just one thing is missing that I can't access the GUI interface can you suggest me what to do to get it.
I'm glad you found the source of the problem. I don't know what kind of GUI interface you use when working with this device.
If you mean that you switched to a virtual terminal on your laptop to do this, and want to return to kde or gnome, try [ctrl][alt]F7. If that doesn't work, maybe X isn't running. A quick thing you can try is to run as root "/sbin//init 3". After you reach init level 3, enter "/sbin/init 5". Your user profile says "RHEL 4". If you use Ubuntu, debian or slackware, then you use different init levels. Look in /etc/inittab to find out which to use for multiuser graphical with network.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.