From owner-freebsd-questions@freebsd.org Tue Mar 27 14:05:51 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 14E49F56D58 for ; Tue, 27 Mar 2018 14:05:51 +0000 (UTC) (envelope-from freebsd-lists@gromit.dlib.vt.edu) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.126.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gromit.dlib.vt.edu", Issuer "Chumby Certificate Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BA10B871A9 for ; Tue, 27 Mar 2018 14:05:50 +0000 (UTC) (envelope-from freebsd-lists@gromit.dlib.vt.edu) Received: from pmather.lib.vt.edu (pmather.lib.vt.edu [128.173.126.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gromit.dlib.vt.edu (Postfix) with ESMTPSA id 662A0234; Tue, 27 Mar 2018 09:58:48 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Subject: Re: ipmitool and SuperMicro SYS-5027R-WRF From: Paul Mather In-Reply-To: Date: Tue, 27 Mar 2018 09:58:47 -0400 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: To: byrnejb@harte-lyne.ca X-Mailer: Apple Mail (2.3445.5.20) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Mar 2018 14:05:51 -0000 James, > On Mar 27, 2018, at 8:00 AM, freebsd-questions-request@freebsd.org = wrote: >=20 > Date: Mon, 26 Mar 2018 15:37:02 -0400 > From: "James B. Byrne" > To: freebsd-questions@harte-lyne.ca > Subject: ipmitool and SuperMicro SYS-5027R-WRF > Message-ID: > = <0e099d05e4b2d644b0f8ef7826802133.squirrel@webmail.harte-lyne.ca> > Content-Type: text/plain;charset=3Diso-8859-1 >=20 > Does anyone here use ipmitool, or anything similar running on > FreeBSD-11, to establish a serial over lan (sol) console session with > a supermicro SYS-5027R-WRF or similar vintage SM server chassis? If > so, can you provide me with the magic incantation to get this to work? >=20 > I have added 'boot_multicons=3D"YES"' to /boot/loader.conf. I have > power-cycled the server. And I cannot still establish a connection > using ipmitool. I am using ipmitool for SOL on a few different Supermicro servers. I am = still basically using the same recipe as I reported to the = freebsd-stable list back in 2014 via this posting: = https://lists.freebsd.org/pipermail/freebsd-stable/2014-November/080959.ht= ml For example, here is the /boot/loader.conf entries I use on a = FreeBSD/amd64 11-STABLE Supermicro server: # # System console support: uncomment only one "console=3D..." line below # # Speed and port for serial console comconsole_speed=3D115200 comconsole_port=3D0x2F8 # Uncomment below to enable only serial console #console=3D"comconsole" # Uncomment below to enable only VGA console #console=3D"vidconsole" # Uncomment below to enable VGA and serial consoles (preference to VGA) #console=3D"vidconsole,comconsole" # Uncomment below to enable serial and VGA consoles (preference to = serial) console=3D"comconsole,vidconsole" boot_multicons=3D"YES" The above works well enough for me to get a SOL connection using = ipmitool as well as providing a system console via SOL. I did recently = have an issue, but that concerned my having changed the IPMI ADMIN = password to something that was too long: even though the password change = seemed to work, authentication failed because the password had been = silently truncated at the Supermicro side to something shorter. :-( >=20 > ipmitool -H 192.168.44.3 -U admin -I lanplus sol activate That's basically what I use, except I use "-U ADMIN" and change the = escape character via "-e ^". > IPMI LAN send command failed > IPMI LAN send command failed >=20 >=20 > The built in web server works. But the zealots at Mozilla have > puritanised Firefox to the point where the web console no longer > works. I need to have some way to talk to this chassis remotely while > it is booting. I am open to any reasonable suggestion. Actually, graphical console redirection still works for me. I have to = download the .jnlp file and then use "javaws /path/to/file.jnlp" via a = terminal window to fire up the graphical console viewer. This works for = me most recently using Java 9 and Java 10 on a macOS client. Note, the = stricter security settings of the later Java runtimes mean you have to = whitelist the IPMI URLs otherwise the viewer will refuse to run because = the application is self-signed. Note, I can also see/access BIOS settings via SOL when using ipmitool, = too. (That's why I set the preference to serial console.) I hope this helps. Cheers, Paul.=