Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

0
votes
1answer
51 views

Trouble Creating Virtual_IP for PaceMaker + Corosync - CentOS 7

Ok so I have gotten fairly far into the configuration successfully, the two nodes have authenticated each other and all is well, but when I try to add the virtual_ip it never starts. What i've used ...
2
votes
1answer
48 views

How go generate a valid and random MAC address?

You probably know that MAC address can be generated, for instance, in the following way: macaddr=$(dd if=/dev/random bs=1024 count=1 2>/dev/null|md5sum|sed 's/^\(..\)\(..\)\(..\)\(..\)\(..\)\(..\)....
1
vote
1answer
24 views

how to change all the hostnames reported by hostname --all-fqdns?

Running hostname -A reports two host names: an incorrect one that doesn't even resolve to my server and a correct one. $ hostname -A notmyhostname.notmydomain.com myhostname.mydomain.com The ...
0
votes
0answers
48 views

Can't ssh into my server from another computer

I used to be able to ssh into my server from other computers. But I stupidly messed up my remote connection setup a couple weeks back (I don't remember what I did...) and now I can't ssh into my ...
3
votes
2answers
135 views

WPA supplicant dropping/disconnecting NIC in hotel wifi

TL;DR WPA Supplicant intermittently fails on my Raspberry Pi 3 when using a USB Wifi dongle. It appears to do this when "reconnecting" to or changing access points in the hotel. WPA GUI states: "...
3
votes
1answer
45 views

How do I configure Docker containers to have unique IP addresses that are not the default ones?

How do I configure Docker containers to have unique IP addresses that are not the default ones? The Docker containers will run Apache or some web service. These Docker containers will share one host ...
2
votes
0answers
68 views

How do I get Consul to work so I can get Docker Overlay to work?

I am running CentOS 7 with Docker. I am trying to install Consul on the Docker server. Consul is unzipped. The binary file works for showing the version. I ran this: echo $CONSUL_RPC_ADDR This ...
0
votes
0answers
80 views

Unprotected Windows Shares Still Requiring Password in Linux Mint

I am trying to access my windows shares from linux mint. I have 2 windows computers (both Win 10) and my laptop on Linux Mint. My office PC is password protected and can access those files from my ...
1
vote
0answers
19 views

The domain and search options in resolv.conf [duplicate]

Let's say you have a resolv.conf file that's something like this. nameserver 192.168.0.7 nameserver 192.168.0.8 domain somedomain.local Then let's say you just changed it to this. nameserver 192....
1
vote
0answers
27 views

Home directory does not mount on kernel update

My home directory will not mount on booting with new linux kernel. Previously, my home directory has been mounted automatically from a network device. I updated my kernel to 4.6.0 from the git ...
1
vote
0answers
31 views

What does TCPRcvCoalesce, TCPAutoCorking and TCPHystartTrainCwnd in netstat mean?

We have some RHEL7 Apache reverse proxies that experienced a performance degradation event. After a few hours, restarting Apache restored performance to normal levels. We are trying to determine the ...
3
votes
2answers
67 views

Basic network via command line

I am using Fedora 23. Using the file explorer I "found" this page It shows where I can access other networks, I can click on them, and log in... My questions is: Is there an equivalent place ...
2
votes
1answer
29 views

How can I find out the ownership of a tap interface?

I can set up a persistent Linux tap interface and make it owned by a specific user and group with one of these: tunctl -u someuser -g somegroup -t example.tap ip tuntap add dev example.tap mode tap ...
2
votes
4answers
58 views

How to know which ports are listened by certain PID?

I have a PID of certain process listening some port(s) on my OS X and I need to know which port(s) is listened by this process. How can I do it? I know I can use lsof to know which process is ...
0
votes
1answer
54 views

Bridge 2 wifi connections

I have set up Ubuntu desktop on my laptop with an internal wifi card and an external USB WiFi dongle. Both WiFi interfaces work. I'd like to make one into an access point, and the other into the ...
0
votes
1answer
45 views

iptables forward all traffic to 2 different interfaces

I'm currently using dnsmasq to create a small Debian box as a DHCP and DNS cache server. Until today, I had just 2 interfaces (eth0, eth1). One connected to my WAN (eth0) and one connected to my LAN (...
0
votes
0answers
47 views

Debian Stretch - WiFi issues with BCM43143 (Gets ip then disconnects)

I've fixed up an old ITX desktop that I was given and am running a headless Debian install on it. To install I used the minimal install for Debian Jessie then I proceeded to install nginx, samba and ...
1
vote
0answers
28 views

Unknown bridge gets recreated after reboot on Ubuntu 15.04@VMWare

I am running Ubuntu 15.04 on VMWare. For the last couple of days I have the issue that I have a "magic" network bridge: I never created this bridge and therefore I tried to delete it with the ...
0
votes
3answers
67 views

How to check which network interface is active and providing internet?

ip link show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eno1: <BROADCAST,MULTICAST,UP,...
2
votes
0answers
51 views

Why would all our CLOSE_WAIT connections have 24 bytes in the receive queue?

We have an Apache reverse proxy that is having connectivity issues with the back-end. This results in timeout errors such as this: [Thu Apr 21 12:12:26.031207 2016] [proxy_http:error] [pid 64620:tid ...
0
votes
1answer
38 views

Ubuntu Server 15.10 doesn't recognize internet card

I just installed ubuntu server (the installer connected to the internet with no troubles), and I cannot get it to connect wirelessly to the internet. I've googled to no avail, as there is no ethX ...
2
votes
1answer
98 views

Can login and browse in shares on samba server, can not access files

I´m pretty new to Linux so I've been having a hard time fixing this. Running the latest version of Mint. The files are stored on an auto-mounted NTFS partition. I can access the share, I can ...
1
vote
1answer
28 views

Linux machine is not detecting network card

I have a machine with CentOS 6.5 installed. The machine works fine everyday, but sometimes when I reboot the machine, then the NIC doesn't detect. When I use the command ifup eth2 then it shows the ...
3
votes
2answers
82 views

How to track my public IP address in a log file?

I'd like to save my public IP address to a log file so I can use them to exclude my own visit to my websites in the stats collections. At the moment I can see my actual public IP address--whatsmyip....
3
votes
1answer
65 views

How can I repeatedly send the contents of a file via socat / ncat to a socket

I'm running some performance testing, and I'm trying to send the same file repeatedly to a socket. If I do something like: $ socat -b1048576 -u OPEN:/dev/zero TCP4-LISTEN:9899,reuseaddr,fork $ ...
0
votes
0answers
15 views

ALG IPSEC and RSTP

I have linux 3.18. my Linux is installet on a router. in this router I activate a NAT from the wan side. Does this Linux support ALG of IPSEC and RSTP ?
1
vote
0answers
45 views

Allowing GRUB to access network in BIOS mode

I want grub to fetch some configuration via tftp/http. Using efi I can do insmod efinet and net_ls_cards will list my network cards which I can configure and use. Using PXE in BIOS/legacy mode ...
0
votes
1answer
20 views

Are IPv6 link-local addresses assigned by the kernel or by a userspace program

When IPv6 is enabled for an interface, it will get a link-local address assigned automatically based on the MAC of the network interface. But who assigns this address? Is it done in the kernel, or by ...
0
votes
0answers
31 views

how to mute an IP stack?

is there any way to mute a network connected device running Linux so that it receives every message targeted on its IP but not sends anything even Acks? or in my case is there anyway to assign same IP ...
0
votes
0answers
12 views

Using dual connection for separate app [duplicate]

My Mint 17 has 2 connections (wired and wireless), when both connected by default the wired is used, what I want to do is keep wireless for file download and general Internet usage, and use the Wired ...
0
votes
2answers
65 views

Force an application to use a specific connection

So my Mint 17 has 2 connections (wired and wireless) when both connected by default the wired is used, what I want to do is keep wireless for file download and general Internet usage, and use the ...
0
votes
0answers
43 views

Raspbian Jessie: /etc/network/interfaces doesn't apply inet6 address. How to diagnose?

I'm experiencing a strange issue, and I don't really know how to diagnose it, or how to fix it. My problem is, that the static ipv6 assignment that used to work suddenly isn't applied any more at ...
0
votes
1answer
26 views

Connect to guest vm (no wifi driver) from machines on same wireless network as the host machine?

I have my host os with proper wifi drivers that connects to my router. I run a NixOs VM (no wifi driver) as guest. I setup some configs in NixOS and it now has many binary caches that I want to share ...
0
votes
1answer
44 views

Block incoming port

I installed LabView on a Scientific Linux 6 machine and promptly got a message from our security officer, stating that the port 3580 is open and listening and that this is a security issue. Apparently,...
0
votes
2answers
38 views

RHEL Network Interface not restarting

RHEL 5.11 I run the restart command: /etc/init.d/networking restart Then it just sits there until I have to force quit: 15:09:11 # /etc/init.d/network restart Shutting down interface bond0: ...
0
votes
0answers
12 views

pcfl - Allow ssh for an specific IP

I'm working with pfctl on Mac OS X. Im trying to make a policy/anchor what blocks SSH for ALL ips, minus specific ip. I try this: pass in on fxp0 proto tcp from any to any port < 22 flags S/SA ...
0
votes
1answer
67 views

Not all traffic routed through openconnect VPN

I'm trying to connect to a VPN network using openconnect with the following command: sudo openconnect -s /etc/vpnc/vpnc-script SERVER I manage to connect to the VPN, so that I can connect to PCs in ...
1
vote
1answer
32 views

Meaning of address and route scope

I've been searching information concerning the meaning of scopes both in addresses and routes but I don't understand the documentation I've read so far. This is what I've been reading: man 8 ip http:...
-1
votes
2answers
69 views

Detect automatically a network interface for each one in Solaris 11 [closed]

I'm working currently in a shell script to monitor a Solaris system. The main purpose of the script is show info like: Memory, Network, etc. In the Network part, it will show info like arp table, ...
2
votes
4answers
87 views

Solaris 10 - changing default gateway and netmask

We have a Sunfire V240 server with Solaris 10,I need to change the subnetmask and gateway. I was able to change the subnetmask and gateway by editing the files /etc/subnetmasks and /etc/...
0
votes
0answers
192 views

Wifi can't connect - QCA9377 (168c:0042 rev 30) on arch linux

I have an Acer R11 that came with an Atheros wifi chip. QCA9377 / 168c:0042 (rev 30). After much googling, forum browsing, and general anger, I'm posting here. I am unable to connect to a wireless ...
0
votes
1answer
51 views

linux + single user mode and set network

I have linux redhat machine version 6.5 I reboot machine and work as single user mode , then I set the network on eth0 with default gw address /etc/sysconfig/network-script/ifcfg-eth0 but from ...
1
vote
0answers
27 views

How to get packets queued by the kernel packet filter?

I made simple HTTP proxy which accepts connections from clients on a fixed port; the proxy forks for every incoming connection, and the forked process deals with the flow of packets to the Internet ...
0
votes
0answers
48 views

How to add security (802-1x.eap) with nmcli

I've done nmcli con add type ethernet con-name SOMENAME ifname enp5 now how do I add security to it using nmcli(as if you had hit the on button in the gui.) so that I can than go and edit the ...
0
votes
2answers
106 views

How to access server without IP-address

I have a centos server that was previously on my company's network using a static IP address, but it has since been blocked/firewalled on the network such that I'm not even able to ping it. I was told ...
0
votes
0answers
78 views

How do I get a yum repo to work in a Docker container?

What do I do about two Docker containers on separate VMs that have the same IP address on my network? I have two CentOS 7.x servers. Both have exactly one Docker container. When I use ifconfig, the ...
0
votes
0answers
17 views

Any clustering / load balancing solutions for VPN servers that support external IPs?

I am looking for a clustering / high availability / load balancing solution (something like ucarp or clusterip, etc) where it allows the nodes to be external IPs. Specifically, I would like it for ...
1
vote
1answer
32 views

Route specific traffic to specific interface

I have two NICs. Basically, I want to use one of them for specific traffic (based on the destination IP or the domain) and the second one for the rest of the trafic. Is this possible? If it is, How ...
0
votes
1answer
10 views

Is there a simple menu-based app that shows the LOCAL IP#?

Is there a simple menu-based app that shows the LOCAL IP#? This so I can provide the IP# to anyone wanting to contact my new RPI3 on a LOCAL network (Apache web server initially).