Latest Server related questions

Score: 0
AWS CloudFormation - two network interfaces, one with EIP
in flag

I'm an AWS newbie. Trying to create an EC2 Instance with two network interfaces, one should be public and the other private.

Here is what I've tried in my YAML template:

  1. Create a VPC with two subnets
  2. Create an Instance with just the private network interface
  3. Create the second (public) network interface as another YAML entity
  4. Attach the second network interface to the instance
  5. Create an EIP and ass ...
Score: 0
Error loading WSUS Console after IIS Reconfigurations
us flag

I encountered an error loading the WSUS Console after I deployed some organization-mandated reconfigurations to the IIS server that supports WSUS. As I found the solution myself and did not see this anywhere else online, I figured documenting it here may help others.

My environment was Windows Server 2019 running in a virtual machine and hosting only what the default WSUS installation provides.

--

Score: 0
How to identify when a server is preparing to restart for Windows Updates?
cn flag

When a system is working on Windows Updates that require a reboot, at a certain stage it will kick RDP sessions and new RDP sessions will immediately be bounced back. But, I've also seen other (mystery) cases where new RDP sessions are kicked immediately in the same fashion.

What I'm hoping to find is a way to tell via PowerShell (via SSH, remoting, virsh/IPMI console, or ansible) that a host is  ...

Score: -1
appwizcpl avatar
(VM) Host does not support legacy camera driver, can the guest really see it?
pk flag

So I have been dealing with an old machine that has a camera which is not supported in W10 apparently (I am explaining down below why I say apparently), so I have ran a W7 instance in VirtualBox, well there were other drivers that this software needed and were not available for W10.

Now here is the issue, the Windows 10 host never sees this camera device, but VirtualBox lists it in the USB sectio ...

Score: 0
Himanshu Poddar avatar
Script to reassign floating IP address to my other machine running Ubuntu
ma flag

I have a floating IP(X.X.X.191) assigned to the machine (Y.Y.Y.106) currently running ubuntu. Now I want the same floating IP to be assigned to my other droplet(Z.Z.Z.252).

On digital ocean I can do the same from the web app interface. However I need to do the same programmatically.

How can I do the same on ubuntu OS? Is there any command or script to do it?

Score: 0
Voltairea avatar
Bind9 - cache all forwarded queries for a while
cg flag

My servers was keep asking similar dns queries to 8.8.8.8 and it cost around 30 ms every time. So that I have installed a Bind server and forwarded all dns requests to 8.8.8.8 like this:

zone "." IN {
       type forward;
       forward first;
       forwarders { 8.8.8.8; };
};

Everything works but I have a problem with caching. my aim is caching queries' answer like 1 hours.

desired scenario:

-let's ...

Score: 1
Infra247 avatar
Extending Managed Microsoft AD to on-premises Servers
in flag

I'm researching the possibility of extending Managed Microsoft AD to a secondary Active Directory creating a basic replication structure between primary AD (GCP) and secondary AD (on-prem). Apparently it is not possible to configure this extension, nor to fully migrate Managed Microsoft AD to an on-prem infrastructure. Does anyone know how to point out some documentation that I can clarify this doubt? ...

Score: 0
How to persist configuration changes made to HAProxy via its API?
fr flag

I've been playing with HAProxy's APIs to disable servers and health checks. My plan is to eventually be able to add servers without restarting HAProxy.

But what happens if the server that runs HAProxy gets restarted? Is there a way for HAProxy to dump its in-memory settings to a configuration file so that it run as it was before a restart?

Score: -1
Maheen avatar
Need to create temporary user with SSH login on Google Cloud Platform
ni flag

I need to give someone temporary access to my servers on Google Cloud Platform. I want to set up my own SSH key to log in, then log in as root to create a temporary account for that person to use. However, I am having trouble using SSH to authenticate myself. I've added my ssh key in the metadata settings of my project, but I don't understand what to do next. Any guidance would be appreciated, thanks! I ...

Score: 0
QEMU hostfwd not working with multiple netdevs
cn flag

With the following command I am able to ssh into the virtual machine on localhost:10022.

/usr/bin/qemu-system-riscv64 \
        -M virt -accel tcg -m 8192 -smp 8 \
        -nographic \
        -bios RISCVVIRT.fd \
        -bios /usr/lib/riscv64-linux-gnu/opensbi/generic/fw_jump.elf \
        -kernel /usr/lib/u-boot/qemu-riscv64_smode/uboot.elf \
        -drive file=riscv64.img,format=raw,if=virtio  ...
Score: 0
Paula avatar
Redirect to other ip but the same query whit Apache mod_rewrite
cn flag

I have to redirect the request that a Apache web server receives, using the user_agent to filter. The idea is that if the user_agent is "Mozilla/5.0 (Macintosh; Intel Mac OS X 12_2_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15" then the proxy have to redirect the request to a machine with ip 192.168.1.40 but if the user agent is not that it have to show the main page.

I ...

Score: 0
Remove discarded subdomains (wildcard) from subdomain scanners
in flag

I have a server which I use with my own domain name, with a wildcard DNS record. On the server side, I use the nginxproxy docker image to autogenerate VHosts. This allows me to add new websites/pages/services on the fly with their own subdomain simply by starting a new docker container. I also use the nginxproxy/acme-companion docker image to manage letsencrypt certificates for all of these automaticall ...

Score: 0
Sadegh avatar
Is it secure to install both Nginx and Shoutcast on one server
cn flag

I want to use one server as a host (Nginx) and a streaming server.
Is it secure to install both Nginx and Shoutcast on one server?

Score: -1
External firewall 4G connection
us flag

It's a pleasure to join this community and learn more about networking.

I need your help to advise me on the best way to set up an external firewall for social media use. I have a PC with windows and a USB 4g pen. I wrote a script to plug and unplug the USB automatically thus rotating IPS. I want to create a wifi hotspot from the first laptop and access that hotspot from the second laptop.

What is t ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.