Connect to Cisco device with USB cabel on linux

user@computer:~$ dmesg | grep tty
[ 0.088345] printk: console [tty0] enabled
[ 0.418156] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 5.030307] usb 1-3.1.3: pl2303 converter now attached to ttyUSB0
[86188.149229] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[86271.641530] usb 1-2: pl2303 converter now attached to ttyUSB0
[86796.881771] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[86855.323347] usb 1-4: pl2303 converter now attached to ttyUSB0
[86877.932139] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[86884.784432] usb 1-4: pl2303 converter now attached to ttyUSB0
[87068.706927] pl2303 ttyUSB0: pl2303_set_control_lines – failed: -19
[87068.706937] pl2303 ttyUSB0: error sending break = -19
[87068.707250] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[259915.126314] cdc_acm 1-3.1.3:1.0: ttyACM0: USB ACM device

Reimage/downgrade Firepower FTD 1100/2100

I had some problems while downgrading so here are my steps.

Documentation is not really clear about this, so here are the steps.

  1. from fxos, reformat system
    firepower-2110# connect local-mgmt
    firepower-2110(local-mgmt)# format everything
    All configuration and bootable images will be lost.
    Do you still want to format? (yes/no):yes
  2. enter rommon and boot via tftp
    rommon 1 > address 10.86.118.4
    rommon 2 > netmask 255.255.250.0
    rommon 3 > server 10.86.118.21
    rommon 4 > gateway 10.86.118.1
    rommon 5 > file cisco-asa-fp2k.9.8.2.SPA
    rommon 6 > set
    rommon 7 > sync
    rommon 8 > tftp -b
  3. everything is erased so you have to reconfigure your mgmt interface
    firepower-2110# scope fabric-interconnect a
    firepower /fabric-interconnect* # set out-of-band static ip 10.86.118.4 netmask 255.255.250.0 gw 10.86.118.21
    firepower /fabric-interconnect* # commit-buffer
  4. download image (could not get USB to mount so I used ftp)
    firepower # scope firmware
    firepower /firmware # download image ftp://user@10.86.118.21/cisco-asa-fp2k.9.8.2.SPA
    check status:
    firepower /firmware # show download-task
  5. install image
    look at version you want to install:
    firepower /firmware # show package
    firepower /firmware # scope auto-install
    firepower /firmware/auto-install # install security-pack version
    check status (wait for Update Software Pack Completed):
    firepower /firmware # show
  6. configure ftd/initial configuration
    firepower /firmware # connect ftd

Upload files to your Cisco ASA via pscp – no password prompt

– make sure you have defined user on ASA with privilege 15
– make sure you have ssh scopy enable configured
– on your linux host enter pscp -pw <password> <filename> <username>@<ASA IP>:<location/filename>

something like: pscp -pw THISisp4ssw0rdf anyconnectfile.pkg adminusername@8.8.8.8:disk0:/anyconnectfile.pkg

if you want to use scp with password prompt use: scp anyconnectfile.pkg adminusername@8.8.8.8:disk0:/anyconnectfile.pkg