Sunday, 29 June 2025

NETWORKING >> Serial console from linux

Simplest way, use "screen", it has to be downloaded but will allow you to connect to a serial command line the same way as Putty. 

To install it, run the below with your package manager (dnf for fedora, apt for ubuntu/ debian etc) 

sudo dnf install screen

To connect, run as superuser and specify the bauds at the end, depending on the device you are connecting to might differ.

sudo screen /dev/ttyUSB0 9600

Switches of this century such as Cisco catalysts 9300, the Nexus series, HPE Comwares, Aruba 2930s... Paloaltos 5420, 3020 or 3220s, Cisco FPR1000series... etc are usually on 9600 bauds, although on old 3com switches I had to use 19200 instead, its a thing you ignore until you face and scratch your head for a few mins until you realize its not dead, just speaking a different speed! 

NETWORKING >> Pingplotter without installing any software

As per the title, a collection of methods to plotter a range of pings without going ip by ip.
 

At first, I focused on finding a solution for a bash script to be saved as a .sh file, invoked and parsed a given attribute for the subnet range, but it was too much to remember when I can simply copy/paste a line of a script and modify it on the go as needed.

On Linux for a simple /24:

for octet4 in {1..254} ;do (ping 172.16.20.$octet4 -c 1 -w 5  >/dev/null && echo "172.16.20.$octet4" &) ;done

And if I want to get into /23 or wider subnets... :

for octet3 in {1..254} ;do (for octet4 in {1..254} ;do (ping 192.168.$octet3.$octet4 -c 1 -w 5  >/dev/null && echo "192.168.$octet3.$octet4" &) ;done) ;done 

 

// WIP

On Windows:

for i in {1..254} ;do (ping 192.168.1.$i -c 1 -w 5  >/dev/null && echo "192.168.1.$i" &) ;done

On Mac:

for i in {1..254} ;do (ping 192.168.1.$i -c 1 -w 5  >/dev/null && echo "192.168.1.$i" &) ;done

Saturday, 21 June 2025

CARS > Mini > Cooper R50 - R53 wheel fitment ideas

For some more details on the cars themselves:
https://en.wikipedia.org/wiki/Mini_Hatch#First_generation_(R50/52/53;_2001)

Now for the wheel details, these cars have a 4x100 bolt pattern (lug bolts M12x1.5).

Below original wheel sizing for the R50 MINI Cooper ~115 hp:
Tire                                Rim        Offset Range mm    Tire Pressure (front / rear)     bar         
OE 175/65R15 84H    5.5Jx15        ET45                         43 - 47                                        2.1
OE 175/65R15 84Q    5.5Jx15        ET45                         43 - 47                                         2.1
175/60R16 82Q          5.5Jx16        ET45                                                                              2.3
195/55R16 87H          6.5Jx16        ET48                                                                              2.1
205/45R17 84V              7Jx17        ET48                                                                              2.1
205/40ZR18 82W          7Jx18        ET52                                                                              2.3

Below for the R53 MINI Cooper ~160 hp (the one with the hood scoop):
Tire                                Rim        Offset Range mm    Tire Pressure (front / rear)    bar         
OE 175/60R16 82Q    5.5Jx16        ET45                         43 - 47                                        2.5
OE 195/55R16 87V    6.5Jx16        ET48                         46 - 50                                        2.1
195/55R16 87Q          6.5Jx16        ET48                                                                             2.3
205/45R17 84Q             7Jx17         ET4                                                                               2.3
205/45R17 84V             7Jx17         ET48                                                                             2.3
205/40ZR18 82W          7Jx18        ET52                                                                             2.5

 

And now to the nicest fitments to my taste, starting at 17 inch wheels: 

 

  • Wheels: APEX ARC-8 17x8" ET25
  • Tires: Federal Evoluzion ST-1 205/40-17
  • Suspension: MeisterR ZetaCRD+ coilovers w/ camber plates, SPC adjustable rear control arms.