Initial pfSense Garabage Serial Output Prompt



  • I installed "pfSense-CE-memstick-serial-2.3.2-RELEASE-amd64.img" in an APU2C4 board and everything is working fine. The only thing that's weird is when pfsense starts to boot, the initial output to the serial console is garbage (from the "Boot: F1" section up to right before "Copyright © 1992-2016 The FreeBSD Project."). Attached is the putty.log capture of the event. Is this normal with serial? I had no problems before when I installed in a computer that has VGA.
    putty.txt



  • I wouldn't call that output "garbage" per se as it looks like properly formed and sent characters.
    They're definitely not being interpreted by your terminal program, usually means you need to set up the emulation mode.
    What are you using as a terminal program?
    Try and set VT-100 emulation or just ignore that part of the boot screen as it's just trying to display a rotating "" (cycling through "/","-","") to show activity during boot.

    As long as the WebGUI comes up OK, it's a cosmetic problem with your particular setup.



  • That's what I thought. For lack of a better word, I called it "garbage" but I knew that it was purely a cosmetic issue as I can navigate through the console just fine.

    I'm using the default SSH settings of Putty as my terminal program. Where do you set the emulation there?



  • I'm using the default SSH settings of Putty as my terminal program. Where do you set the emulation there?

    Look in the configuration section under "Terminal"->"Keyboard".
    The latest version has an option for "ESC[n~" (which should work) or you can try the VT-100 setting.
    You might also try that in conjunction with the "Backspace Key" setting (I think that's how they actually change the "/" character - backspace over it and type again)



  • The default setting is ESC[n~ and that didn't work. Let me try VT100+ instead and see if it makes a difference.



  • VT100+ didn't make any difference. Any more ideas?


  • Netgate

    Do you have

    DEVICE=C:\MSDOS\ANSI.SYS

    In your C:\CONFIG.SYS file?

    But seriously. Not sure what you're seeing as putty generally displays things OK. As far as I can tell, putty emulates xterm and pfSense defaults to cons25 which should be pretty close. I have never had it not be good enough to get a system installed.

    The terminal type for the serial console is set in /etc/ttys. cons25 should work fine though. If you break your system messing with it it's on you. Have a restoration plan.



  • Let me check and report back.

    Yeah, this is the first time I've used serial with pfsense too so I'm not sure why it displays the initial text/graphics as such. It's working just fine, installation was a bliss, but I'm just experiencing this minor issue.

    No problem with breaking my system, I'm a tech savvy person ;)



  • I don't have a C:\config.sys file in Windows 8.1 x64 (and yes I already made sure to show hidden files and folder including system files). Any thoughts?



  • This is a very old thread but can anyone follow up on this please?



  • PUTTY does not use or care what config.sys may have.
    (I stopped using that file completely 10 years ago?).

    I imagine a speed (bps), parity or stop bits (i.e. serial port config) issue.

    Btw, specific terminal info only comes into play for special commands/formatting.

    For just the regular login, any terminal emulator will do. Even no terminal emulator, anything that can read the serial port with the with the speed, parity, etc. will show the login prompt.

    @Derelict:

    Do you have

    DEVICE=C:\MSDOS\ANSI.SYS

    In your C:\CONFIG.SYS file?

    But seriously. Not sure what you're seeing as putty generally displays things OK. As far as I can tell, putty emulates xterm and pfSense defaults to cons25 which should be pretty close. I have never had it not be good enough to get a system installed.

    The terminal type for the serial console is set in /etc/ttys. cons25 should work fine though. If you break your system messing with it it's on you. Have a restoration plan.



  • @pppfsense:

    PUTTY does not use or care what config.sys may have.
    (I stopped using that file completely 10 years ago?).

    I imagine a speed (bps), parity or stop bits (i.e. serial port config) issue.

    Btw, specific terminal info only comes into play for special commands/formatting.

    For just the regular login, any terminal emulator will do. Even no terminal emulator, anything that can read the serial port with the with the speed, parity, etc. will show the login prompt.

    @Derelict:

    Do you have

    DEVICE=C:\MSDOS\ANSI.SYS

    In your C:\CONFIG.SYS file?

    But seriously. Not sure what you're seeing as putty generally displays things OK. As far as I can tell, putty emulates xterm and pfSense defaults to cons25 which should be pretty close. I have never had it not be good enough to get a system installed.

    The terminal type for the serial console is set in /etc/ttys. cons25 should work fine though. If you break your system messing with it it's on you. Have a restoration plan.

    So how can I fix this?


  • Banned

    You don't. It's some BIOS bug, plus dunno what's the giant deal with that.


  • Netgate

    LOL. CONFIG.SYS was a JOKE, people.



  • Ok then, thanks. It's really not a big deak but one of those OC things tgat you figure might as well ask experienced guys about it.


  • Banned

    @Derelict:

    LOL. CONFIG.SYS was a JOKE, people.

    Yeah, in fact they need

    @GARBAGE OFF
    

    in AUTOEXEC.BAT instead.



  • Sorry for necroposting, but to resolve the installer looking all funky, in putty:
    Window -> Translation.
    Set "Remote Character Set" to "Use Font Encoding" (it's at the bottom of the list).
    Leave "Handling of line drawing characters" set to "Use Unicode line drawing code points."

    0_1534523880961_2018-08-17 10_15_38-PuTTY Reconfiguration.png


 

© Copyright 2002 - 2018 Rubicon Communications, LLC | Privacy Policy