Technical notes and solutions about GNU/Linux, networking, sysadmin tasks and legacy systems. Real problems, real fixes.
Formula 1. The future?
Obtener vínculo
Facebook
X
Pinterest
Correo electrónico
Otras apps
-
Could this be the future of Formula 1? I wish, in the last years bad
decisions were taken and most of the races are boring, something needs
to change and evolution should be allowed always.
Installation of OpenWRT on Linksys EA4500 / N900 1.- It looks like this is very important and you must not skip it!!!! Download/install last oficial firmware by Linksys Ver. 2.1.42 (Build 183584) Latest Date: 9/19/2017 Download 22.6 MB From here: http://downloads.linksys.com/downloads/firmware/FW_EA4500_2.1.42.183584_prod.img Perform the "upgrade" 2.- After the reboot, perform the install of OpenWRT. I'm not sure but my attempts to install the very latest firmware failed, so I used the version mention on this chatroom: https://forum.archive.openwrt.org/viewtopic.php?id=60649&p=1#p304557 Post #21: Edit: that image you're running now might be old enough that you should flash the factory firmware first, then flash with https://downloads.openwrt.org/snapshots … actory.bin . The board name changed from ea4500 to linksys-viper, which will prevent sysupgrade from accepting the .tar image. Link to the file: https://downloads.openwrt.org/snapsh...
If you have to work with Brocade Switches and for some reason you need to find out the ip and/or the mac address of the network interface, you might have to use (at least) two options, depending on the model/firmware version. To find the IP: broc01:FID340:admin> ipaddrshow SWITCH Ethernet IP Address: 1.1.2.4 Ethernet Subnetmask: 255.255.240.0 Gateway IP Address: 1.1.2.1 DHCP: Off To find the MAC address (two options): broc01:FID340:admin> ifmodeshow eth0 but depending on the model/firmware version you might get this output: "This command is deprecated in Fabric OS v8.0.1. Please use command ethif." broc01:FID340:admin> ethif --show eth0 eth0 interface: Link mode: negotiated 100baseTx-FD, link ok MAC Address: 00:F8:72:90:56:36 eth0 Link encap:Ethernet HWaddr 00:F8:72:90:56:36 inet addr:1.1.2.1 Bcast:1.1.2.255 Mask:255.255.2255.0 UP BROADCAST R...
This is a handy way to get a lot of info about the switch/port an interface is connected to. CDP stands for Cisco Discovery Protocol , which is a layer 2 protocol and is used to share information about other directly connected Cisco equipment (WikiPedia). ## ether[20:2] == 0x2000 - Capture only packets that are starting at byte 20, and have a 2 byte value of hex 2000 LLDP stands for Link Layer Discovery Protocol and replaces CDP. LLDP is a vendor-neutral Data Link Layer protocol used by network devices for advertising of their identity, capabilities and neighbours (WikiPedia). ##tcpdump -i eth0 -s 1500 -XX -c 1 'ether proto 0x88cc' The folllowing command shows how to use tcpdump if you ever need switch/port info on a linux host assuming you are connected to a Cisco device: tcpdump -nn -vv -i -s 1500 -c 1 '(ether[12:2]=0x88cc or ether[20:2]=0x2000)' Example: root@arrakis:~ # tcpdump -nn -vv -i eth0 -s 1500 -c 1 '(ether[1...
Comentarios