27
votes
Accepted
Do I really need a DB9-RJ45 adapter to connect to a Cisco router console, and if so, why?
While using a classical RJ45 jack, the connection on your Cisco router really is a RS232 serial connections.
This means that, independently from the physical connector, your PC need to speek the same ...
16
votes
Prevent the console from clearing the screen?
With systemd things are different. See article Stop Clearing My God Damned Console. In short:
mkdir /etc/systemd/system/[email protected]
cat >/etc/systemd/system/[email protected]/noclear.conf &...
12
votes
Accepted
What is the default password in Google Developers Console?
The user account for GCE instance or Cloud Shell has access to elevate the privileges using sudo. The password for the user accounts is not configured out of the box. You can change user account ...
12
votes
Accepted
Connect to switch's console port through ethernet patch panel
Use a straight through cable from the console port of the Cisco to the patch panel, and then a rollover from the port in the wall to your computer?
12
votes
Connect to switch's console port through ethernet patch panel
You should be able to connect the console port to the patch panel with a rollover cable.
You must use a standard straight-through ethernet on the other end - NOT another rollover cable.
If it's ...
11
votes
Accepted
Dell iDRAC6 virtual console viewer from GNU/Linux command line
assuming iDRAC IP is 10.64.31.76
download this file https://10.64.31.76:443/software/avctKVM.jar from your idrac
run:
java -cp Downloads/avctKVM.jar com.avocent.idrac.kvm.Main ip=10.64.31.76 kmport=...
6
votes
Accepted
Run remote script & monitoring his activity without keeping connection
I think that screen is an ideal solution for you. How it works - you connect to your VPS, type screen, then run your script and detach from the shell (either close your terminal window, or press ctrl+...
5
votes
esxi 6.5 how to turn off autofit window / automatic display resolution change
Found a solution!!
Windows Client resolution changes work by calling <ProgramDir>\VMware\VMware Tools\VMwareResolutionSet.exe. After I renamed that file, bingo no more resolution changes. ...
5
votes
Are all console cables pinned the same?
No. In example if you use a HP/Cisco DB-9 for a APC the UPS will restart direct. (as it will receive a signal on a pin reserved for a command)
For other product most use the standard pinout, but be ...
5
votes
Accepted
ping command is not printing result to the console
This is normal behavior.
The Linux version of ping does not print any output if there is no reply or ICMP error response to the ping. Nor is there an option to cause it to print any such reply.
Note ...
4
votes
How to check if I'm in screen session?
Better answer (in my opinion), inspired by this, just type the following:
pstree -s $$
If you get something like this:
systemd───sshd───sshd───bash───screen───screen───bash───pstree
… then you are ...
4
votes
Why does writing to the console a process's STDIN is attached to doesn't send input to the application itself?
You're thinking about the standard file descriptors the wrong way.
STDIN points to an input device. If you obtain the STDIN belonging to another process, you could use it to steal that process's ...
4
votes
Dell iDRAC6 virtual console viewer from GNU/Linux command line
There are 2 console available:
VGA via iDRAC VNC
Serial via IPMI Serial Over Lan
VGA
Install JDK
Linux workstation: download avctVMLinux64.jar and avctKVMIOLinux64.jar. Create a lib folder, then ...
4
votes
Accepted
Is there a way in the GCP console to see who started a Compute Engine VM that has been running for 1.5 years?
You could try with Logs Explorer.
According to the official documentation, These are the logs retention periods
Log type
Default retention period
Custom retention
Admin Activity audit logs
400 days
...
3
votes
Automating reboot of servers
You might want to take a look at the expect utility. It can use used to automate scripts where input is required.
Personally, I'd be trying to understand why the systems crash so frequently that this ...
3
votes
Accepted
How to prevent the VMware console from catching the mouse
What you want is not completely possible.
Regarding the keyboard and the mouse you have these options:
If you have VMware tools installed and an X-session is running the console will grab the mouse ...
3
votes
Accepted
Are all console cables pinned the same?
It depends.
You'll likely be able to use it on HP and Cisco gear, but there are some situations where the pinout is different or maybe you'll have a device with a DB-9->DB-9 requirement. If in doubt,...
3
votes
Powershell screen buffer
In Windows 10 Powershell use Ctrl+PgUp/PgDn to scroll by line.
In Windows 10 cmd use Ctrl+↓/↑ to scroll by line.
3
votes
Switch between virtual consoles on virtual machine?
Alt+F1, Alt+F2, Alt+F3.
That's all you'll need.
3
votes
Accepted
Is it possible to connect a laptop to a Linux desktop - to function as the desktop console?
Yes, there are products that serve to enable a laptop as a portable KVM device. They are commonly used for lightweight/portable crash carts. Start here: https://www.google.com/search?q=usb+crash+cart+...
3
votes
Need a replacement for "Snoopy"
The audit system is perfectly capable of logging all users' commands without pam_tty_audit, which only logs terminal keystrokes. You should set up auditing to do this instead of pam_tty_audit. By ...
3
votes
How do I copy/paste to a VM console window in the VMware ESXi HTML interface?
The HTML console is not meant for getting any real work done, it is more suited for checking if a VM has stalled, or is stuck in some reboot loop.
For functionality like copy and paste to work, you ...
2
votes
Accepted
Tell NetworkManager to ignore or not probe rfcomm0
This is a very old question, but in case anyone ends up here via Google, a straightforward solution that worked for me was to create a file /etc/udev/rules.d/99-rfcomm.rules with the following content:...
2
votes
ESXi - serial console as default console
Maybe this will work? Still not sure why you want to follow this path, but the option is available.
Redirect the Direct Console to a Serial Port Using the vSphere Client
When you use the ...
2
votes
Accepted
Is there a way to name Security Group Sources in the AWS Console?
No, but you can connect more than one security group to an instance. We create a security group for each employee with access, so an EC2 instance might have the Webserver, ChrisSSH, BobSSH, and ...
2
votes
Run remote script & monitoring his activity without keeping connection
You could also run the script in the background and access the output when you need it. My test script will be rather simple:
root@jump:~# cat test.sh
#!/bin/bash
for ((i=0; i<=99999; i+=1)); do
...
2
votes
Virtual console size increased after upgrading to RHEL 6.8
I opened this post in the RedHat discussion and a support member suggested me this other post. I tried the different solutions shown and adding the kernel option
vmwgfx.enable_fbdev=0
in the grub ...
2
votes
Accepted
Virtual console size increased after upgrading to RHEL 6.8
In a nutshell:
Try disabling VMware's svgadrmfb framebuffer driver. I had the same change in resolution and discovered that the framebuffer became enabled after an update on one of my virtual ...
2
votes
Accepted
How to clear notifications in the Google Cloud Platform console?
There is now a "CLEAR" button under Filters in the Activity tab (under Home -> ACTIVITY -> FILTER).
That seemed to work for me to remove the notification count from the bell icon in the top bar. The ...
2
votes
Can you send console commands to a node-based systemd service?
Because it is now running as a systemd service, I don't think you can connect it to a console directly. You need some form of interprocess communication, such as:
TCP Socket server
UNIX socket
FIFO (...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
console × 280linux × 71
serial × 29
terminal × 21
windows × 20
ssh × 20
ubuntu × 17
vmware-esxi × 15
debian × 12
xen × 11
kvm-virtualization × 10
command-line-interface × 10
networking × 9
shell × 8
remote-access × 8
remote × 8
ipmi × 8
tty × 8
logging × 7
cisco × 7
powershell × 6
virtualization × 6
freebsd × 6
vmware-vsphere × 6
amazon-web-services × 5