How to access Freebsd OS from console of SSH? (Resolved)



  • Is it possible to do this via console or ssh when running pfsense?  I need to be able to interact with the physical devices to try and test which port provides the data needed.

    Example:  How do I get access to this prompt so I can run this command.  When I go to shell I cannot directly access cuaU0.3  I get permission denied.

    root@E6420:~ # cu -l /dev/cuaU0.3
    Connected
    at
    OK
    atz
    OK
    ati
    Manufacturer: Sierra Wireless, Incorporated
    Model: MC7700
    Revision: SWI9200X_03.05.29.03ap r6485 CNSHZ-ED-XP0031 2014/12/02 17:53:15
    IMEI: 012626000778678
    IMEI SV: 23
    FSN: CDC0183099710
    3GPP Release 8
    +GCAP: +CGSM,+DS,+ES

    My results:

    Enter an option: 8

    [2.3.4-RELEASE][root@pfSense.localdomain]/root: ~ # cu -l /dev/cuaU0.3
    /root: Permission denied.
    [2.3.4-RELEASE][root@pfSense.localdomain]/root: ~ # cu -l /dev/cuaU0.4
    /root: Permission denied.
    [2.3.4-RELEASE][root@pfSense.localdomain]/root:



  • Got this working.  Had to release cuaU0.3 from PPP and then was able to connect using:

    cu -l /dev/cuaU0.3

    ~. to get out of the session.


  • Rebel Alliance Developer Netgate

    More user friendly to use screen

    pkg install -y screen
    rehash
    screen /dev/cuaU0.3 9600
    

Log in to reply