When Cisco kit becomes superseded - so officially unsupported - it usually means the kit becomes available to home/SOHO users much cheaper on Ebay, so bargains can be had if you like your network kit to have better than average capabilities, you like learning a new tech challenge and know what pitfalls to look out for. Missing PSUs are the main problem with 2nd hand Cisco kit, as these are usually model specific and expensive as separate items - BEWARE!
An important lead to consider included in a purchase is the blue 8 pin "rollover cable" that you will need to initially access and setup the kit via the serial port, especially if it has had it's configuration wiped - which all kit should have been to remove things like usernames and passwords. It can be purchased separately though.
If you have newer PCs/laptops without a 9 pin serial connector then you need a USB to serial adaptor that is linux compatible - plenty on Ebay/Amazon etc. also.
For an ADSL/VDSL router as my 877W WiFi router in this Post example, then an RJ11 cable to phone socket filter is required, and RJ45s for the network hub/switch connectors. An ideal package contains mains lead, PSU, RJ45, RJ11 and rollover cables e.g:
You can purchase the cables separately if you need, but you MUST get the PSU for the price - I wouldn't pay more than £30 for a 877W router - with the whole kit personally - and definitely NOT without the PSU as the unit may not have been tested as working either...
To connect to any serial device with linux, you can use minicom or putty, as both are in the repos (Hyperterminal in Win XP):
sudo apt install minicom putty
Check if your USB adaptor lead has a compatible driver in linux by viewing the output when inserted into a USB port:
tail -f /var/log/syslog
Jan 9 17:54:02 Dell490 kernel: [23000.757762] usbcore: registered new interface driver ch341
Jan 9 17:54:02 Dell490 kernel: [23000.757786] usbserial: USB Serial support registered for ch341-uart
Jan 9 17:54:02 Dell490 kernel: [23000.757813] ch341 5-2:1.0: ch341-uart converter detected
Jan 9 17:54:02 Dell490 kernel: [23000.770827] usb 5-2: ch341-uart converter now attached to ttyUSB0
Jan 9 17:54:18 Dell490 ModemManager: <info> Creating modem with plugin 'Generic' and '1' ports
Jan 9 17:54:18 Dell490 ModemManager: <warn> Could not grab port (tty/ttyUSB0): 'Cannot add port 'tty/ttyUSB0', unhandled serial type'
Jan 9 17:54:18 Dell490 ModemManager: <warn> Couldn't create modem for device at '/sys/devices/pci0000:00/0000:00:1d.3/usb5/5-2': Failed to find primary AT port
Check if it works by opening minicom and setting the serial port to the USB ID shown above:
sudo minicom -s
Use the menus to select the fields to change to the USB ID /dev/ttyUSB0
The port speed needs to be set to a default minimum of 9600bps:
Save the changes:
Now check if it can connect:
You should get into a Cisco cmd line (mine is already setup as named):
To exit minicom use CtrlA then Z then X:
For Putty the situation is similar but a GUI - as the USB port is set already, just set it up for that:
Change to the serial port button and add the USB port ID as above, and name the saved session for future:
Click Open and hit Rtn:
The window size may need enlarging etc. and colour/other settings are available.
Close the window to quit.
The quickest way to get a unit working if you have no Cisco knowledge is to find and amend a config file for your router/switch model on the Web, then copy and paste the text into the command line, and SAVE it for next reboot using the command:
copy running-config startup-config
Destination filename [startup-config]?
As my router is already set up, I will text file save it, then wipe the 877config and show you how to start to build up a conf file from scratch in stages in the next Posts so you understand how complex they can be and some functions that makes them work. The Cisco OS was based on Unix originally, but copyrighted, so linux related/similar.
connect to the inside interfaces (LAN and WIFI Vlans)
connect to the outside (dialer) interface
set a basic firewall with an ACL and NAT
test connectivity and basic security