Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

4
votes
4answers
30k views

Yum update problems on CentOS 6.5 minimal as VMware guest

INFO: I am using Windows 7 Pro (64bit) with VMware Workstation version 10.0.1 . I am using CentOS(64bit) 6.5 minimal, for the first time. I am running this from my workplace network, which may use a ...
29
votes
6answers
28k views

On-the-fly monitoring HTTP requests on a network interface?

For debugging purposes I want to monitor the http requests on a network interface. Using a naive tcpdump command line I get too much low-level information and the information I need is not very ...
2
votes
1answer
68 views

SSH/SCP Connection problem | Lost connection

We are unable to ssh or scp to a particular host, SSH Connection hangs for a while and then gets disconnected and we get this error "Lost connection" All the hosts are CentOS 6.7 Openssh version ...
1
vote
2answers
65 views

host can't ssh guest, but guest can

This is a follow-up question from: Make virtualbox get a different IP address than my laptop. I ended up with these /etc/hosts files on both my laptop running Ubuntu 14.04 (the host) and my virtualbox ...
0
votes
1answer
52 views

Make virtualbox get a different IP address than my laptop

I am trying to setup a 2-node Hadoop cluster (following this guide), where the master is going to be my Ubuntu laptop and the slave a virtualbox running ubuntu. I also read about networking in ...
0
votes
0answers
30 views

Network not working after wake on lan

I just installed a fresh copy of CentOS 7 on my server at home, it worked great until I used etherwake to wake the server up. After doing so the network no longer works, I'm not sure if this is a ...
0
votes
0answers
29 views

How do I interpret iperf3 results?

I don't want to do anything crazy - just measure the download and upload speed for a client to a server. On the server I ran: iperf3 -s On the client I ran: iperf3 -c IP_ADDESS These are my ...
1
vote
0answers
28 views

CentOS 6 - Order of network interfaces when running “ip address show” command

I have installed CentOS 6.7 on new HP Gen9 server and decided to rename interfaces using udev so they are in order eth0-7 from left to right when looking at servers back (originally interfaces were in ...
1
vote
1answer
687 views

Allow multicast packages from the bridge to wire in KVM

On a CentOS 6.5 host, I have a couple of guests - Ubuntu 12.04 and CentOS 6.5. The Ubuntu guest is generating mcast traffic that is visible via a tcpdump on the br3 interface. It is also visible on ...
0
votes
2answers
1k views

Route wlan0 to openVPN tunnel and rest to eth0

I'm having problems to create route/iptables rules for following configuration: I have an openVPN server (tun type) running on my raspberry machine at home At work i have company pc (behind proxy) ...
0
votes
1answer
60 views

Ubuntu 15.10 Network Interfaces Name

I have just installed (fresh-installation) over VMware Workstation 10 an Ubuntu 15.10 64-bit virtual machine. Here, network interfaces names have been changed from 'ethX' to 'enXXXX'. My target is ...
2
votes
0answers
18 views

Removing Incorrect WINS record

So I have a Ubuntu 14.04 server that I'm trying to get to run as a Domain Controller for a set of Windows machines. I've set up a Bind9 DNS and it works fine, pinging the nameserver gives the correct ...
2
votes
3answers
1k views

linux namespace, How to connect internet in network namespace?

I want to test linux network namespace. The current problem is I cannot connect internet in the namespace here is my commands: 1 Create network namespace netns1, create a pair of veths (A and B) ...
1
vote
2answers
1k views

How to get the list of ports which are free in a Unix server

I have a requirement to know which all ports in my Solaris machine are free to be used for any kind of network communication. I tried the netstat -a command. But the information returned didn't give ...
0
votes
2answers
44 views

How to find the domain name of a server?

I'm having trouble finding the domain name of my school's server, I read another question similar to this but their commands didn't work. I tried to use nslookup and then when I was prompted I ...
3
votes
2answers
1k views

Open and redirect port

I'm trying to set up SNMP for a router so I can monitor it from an existing Nagios installation on an off-site server. I'm having trouble getting the router to respond to SNMP requests from the WAN, ...
1
vote
1answer
26 views

Can I create a fake eth0 mapped to an existing interface?

I have a bit of software that is hard coded to open eth0. My system assigned the name enp0s25 to my ethernet connection. I could go through the code and replace all instances of eth0; I'm just hoping ...
0
votes
2answers
28 views

Disable the wireless network adapter in arch

I am running arch on a notebook, but I do not need the wireless connection. Nevertheless the adapter is continuously running, even if it is not necessary. Is it possible to disable it temporarily? And ...
0
votes
1answer
16 views

How do I apply a manifest from a Puppet Master server to a Puppet Agent node server?

I installed Puppet Agent on a CentOS 7 server. I installed Puppet Master on a different CentOS 7 server. I'm using the free version of Puppet on both servers. The Puppet Agent server requested a ...
0
votes
1answer
30 views

linux how to config route etc/network/interfaces?

how to config route in etc/network/interfaces ? i want add 3 route in eth0 and eth1 i have try to configure like this: auto lo iface lo inet loopback auto eth0 iface eth0 inet static ...
1
vote
1answer
782 views

Network fail on FreeBSD: Ping to router fails, but router believes computer is connected

I have a TP-Link TL-WN851N wireless adapter, which is based on an Atheros device. When I attempt to connect to my WPA2 wireless network, ifconfig wlan0 tells me that the connection is 'associated'. My ...
1
vote
1answer
38 views

Execute command before bring interface up on OpenWRT

I´m making a Wireless-to-3g router with openwrt, and its working pretty well. However, to bring the 3g-wan interface up, i have to first register the usb modem using the command gcom -d /dev/ttyUSB0. ...
0
votes
0answers
37 views

set up UPnP/SMB on Ubuntu?

I have a Ubuntu 15.10 machine and I want to use my Desktop to stream videos from my laptop to my iPad in VLC, which is possible when my PC is booted into windows, I would like to do the same in ...
1
vote
1answer
38 views

Using wpa_supplicant to select an access point

I have two access points in my home, and I connect to either one of them depending on which one I need. One runs behind a Tor router, the other is my normal access point. Can I use wpa_supplicant to ...
7
votes
2answers
240 views

Trying to understand Auto reconnect WIFI method

I found this method of reconnecting the WIFI dongle from this post. But, I want to be clear on how it works, before I try and implement it. Go to /etc/ifplugd/action.d/ and rename the ifupdown ...
1
vote
0answers
34 views

Why is my rsync slow?

I run a rsync job transferring about 45 million files/approximately 1.8 TB data (a Mac OS X Time Machine backup) over a 100 MBit connection. I use rsync 3.1.1 from MacPorts (I first tried the built ...
0
votes
1answer
1k views

No IP address on VMware running centos 7

I just now installed Cent OS 7 on my VMware 8 and I am not able to connect it to a network. I checked the VM network and its mapped to the physical NIC. The same setting work like charm on my CentOS ...
1
vote
1answer
20 views

How to return the nearest DNS IP based upon requesting client's IP?

To achieve a faster internet experience, one aspect that can be optimized is to ensure a client is making use of a nearby DNS, rather than something on the opposite side of the world that might ...
1
vote
1answer
959 views

How to set up a “child” proxy that doesn't need a “parent” proxy

I run Linux on a laptop that is sometimes on a corporate network which uses an NTLM proxy server, and thus I have cntlmd running on the laptop as a child proxy to connect to the parent (corporate) ...
0
votes
0answers
30 views

Centos 7 persistent static routes for any interface

I am trying to set up some static routes in a CentOS 7 box. The official RHEL says it is possible to add files in /etc/sysconfig/network-scripts/route-interface. This approach works, however I need ...
0
votes
1answer
44 views

CentOS 6.7: network is unreachable after a new clean installation

I have a new clean installation of CentOS 6.7, it is not on a VM, but on a dedicated notebook. During the installation procedure I've configured my WiFi connection and have added it on eth0 ...
0
votes
0answers
56 views

ntfsclone on network no space left on device

I've got a clientmachine where I'm using a livecd to boot and backup the whole hard drive (1,8 GB is full, it has only 1 partition: NTFS as its a windows PC) onto a remote server (windows server [with ...
1
vote
0answers
13 views

Create Network Interface That Redirects All Traffic to Actual Interface

I would like to create a network interface on my Arch Linux host for a VM to use (probably QEMU) so I can use iptables to firewall all network traffic in/out of the VM. The interface should send all ...
0
votes
1answer
32 views

Gnome Boxes: proper network configuration?

I've got a problem with Gnome Boxes: I've 2 machines, cloned 1 from other, with CentOS. Both machines get same IP addr on Gnome Boxes, so when I boot 2nd, 1st gets disconnected from network, and ...
1
vote
2answers
972 views

Debian autossh boot script not working properly

I wrote the start script at the bottom of this question to try to get one of my devices to automatically create several remote forwarded ports with my VPS upon boot. (I've stripped the LSB tags to ...
0
votes
1answer
21 views

Use NIC bonding with independent switches

I'm using Debian and would like to setup a HA network with a few servers. This is my configuration: -----sw1--------------sw2------------ host1 / / \ \ / srv1 ...
0
votes
1answer
965 views

Laptop connected to wifi but no internet

For some reason my wifi has decided to stop working. I can connect to APs, I can have excellent signal strength, but I can't actually load any web pages or ping anything. I know it's my laptop because ...
5
votes
3answers
8k views

Include domain name or not in /etc/hosts?

I am setting up a VMWare cluster of CentOS nodes. Is it best practice to include a domain name after the machine? What are the potential problems of leaving it out? Does a domain complicate ...
1
vote
1answer
710 views

cannot ping my computer on local network

I am running on 64 bit OpenSuSe 13.2 with Gnome 3 desktop environment and unsuccessfully trying to set up Samba Server. I have another computer running windows 8.1 from which I am pinging the ip ...
1
vote
2answers
224 views

Editing my /etc/hosts.deny

I'm being trolled by China, and don't know why I can't block their request to my server. //host.deny ALL: item.taobao.com ALL: 117.25.128.* But when I watch the error log on my webserver tail -f ...
5
votes
3answers
4k views

Elementary OS shows WiFi networks, but won't connect

In the top bar, clicking the network icon shows a list of networks. My school's network, which on Windows I would connect to, and then visit a login page in Chrome in order for it to work, shows on ...
3
votes
3answers
51 views

Redirect subfolder to another local IP in apache [closed]

I've got a raspberry pi working and being accessible through a domain, which is asada.net. It serves web pages using apache 2.2.22. Besides, I recently bought a NAS which has a web page in a local ...
40
votes
4answers
77k views

How to make a machine accessible from the LAN using its hostname

Here are details of the machine I want to access using its hostname: $ hostname hostname $ cat /etc/hosts 127.0.0.1 localhost 127.0.1.1 hostname.company.local hostname It's a default Debian 6 ...
3
votes
0answers
27 views

Configuring a Linux Wi-Fi access point to redirect a one-word URL to http://192.168.42.1:8888

've created a Wi-Fi access point on a Linux box (thanks to hostapd). I'm trying to make it easy for clients to access the Freenet service that's running on said box. Ideally, the user would be able ...
0
votes
1answer
25 views

Old IPv6 address does not disappear using another router

My computer connects to a router via an ethernet cable. I have then an global address IPv6 for example : a::face/64. Here is my network configuration at the auto-configuration mode : auto eth0 iface ...
4
votes
2answers
2k views

What is a hotplug event from the interface?

According to Debian Network setup document allow-hotplug <interface_name> stanza in /etc/network/interfaces file starts an interface when the kernel detects a hotplug event from the interface. ...
3
votes
1answer
48 views

How can I bridge two interfaces with ip/iproute2?

I know how to create a bridge using brctl, but I have been advised not to use this anymore, and to use iproute2 or ip instead(since brctl is deprecated presumably). Assuming this is good advice, how ...
4
votes
2answers
107 views

Why does ping run forever by default in Linux? [closed]

What was the rationale for the design decision to make ping's default behavior to ping forever? For example, the following basic usage will ping address 127.0.0.1 forever: $ ping 127.0.0.1 ...
3
votes
1answer
1k views

Bonds vs. Aggregators

I'm almost to the point where I can post the solution I wound up with for my complex port bonding question. However, in reading the bonding.txt file, I see this option text: ad_select Specifies the ...
1
vote
1answer
28 views

Linux server able to wget but not able to ping

A proxy server was added using export http://link:port/. I try to ping google.com and there is no response, the DNS is able to resolve an IP. wget of google.com works. routes: Destination ...