Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
2answers
98 views

No eth0 after HD transplant

After moving the hard drive of a makeshift server to another compatible hardware (64-bit, same processor "generation", laptop->desktop) configuration, networking fails to initiate. Specifically: ...
0
votes
2answers
292 views

How to connect to an 802.1x wireless network via nmcli

I am able to connect to 802.1 networks via the nm-applet. I do not like doing this as I am running without a nm most of the time and I would hate to load up one just to connect to a wireless network. ...
1
vote
1answer
82 views

Delay Debian WiFi Networking Auto-Connect until after X and other applications are started

I've been profiling my boot times with bootchart and it seems that wpa_supplicant and dhcp take a significant amount of time during the boot process to get up and running and associate with my home ...
1
vote
0answers
25 views

Connect to the same network using 2 wireless interfaces

I have two wireless interfaces on my raspberry Pi that I'd like to be connected to the same network using DHCP (so each interface has a different IP). What do I need to change in my interfaces file? ...
4
votes
3answers
216 views

Lots of traffic between servers - where does it come from?

We have ten servers in two groups servers, and there is a lot of traffic between those groups - too much we think. We know this because of stats of our provider, but don't know how this traffic is ...
0
votes
2answers
93 views

vnstat not updating

I installed vnstat on my Ubuntu 14.04 server to track my internet usage (I have a limited monthly transfer). The database never updates, however. I've tried uninstalling/reinstalling, but that doesn't ...
0
votes
0answers
61 views

Cannot connect to wired ethernet after hibernate

When I am at home I use wired connection on my laptop and it works fine. Then I put it to hibernate with sudo pm-hibernate and start it up again when I am work. I am not able to connect to internet ...
2
votes
1answer
45 views

Traffic segmentation for a particular subnet

Two questions is it possible to segment traffic for a particular subnet to use an interface and at the same time receive traffic from a different subnet via the same interface? This is the scenario. ...
2
votes
1answer
87 views

In iptables, what is the difference between targets DNAT and REDIRECT?

More specifically, is -A PREROUTING -i $INT -p $PROTO --dport $PORT -j REDIRECT --to-ports $NEWPORT equivalent to one or both of these? -A PREROUTING -i $INT -p $PROTO --dport $PORT -j DNAT ...
4
votes
3answers
228 views

Write text messages between Unix and Windows

Is it possible to send text messages between two users of the same LAN, but the first running Windows with cmd and the second running Linux/Unix? I am not looking for an instant messaging service. I ...
3
votes
0answers
30 views

Log if no network

I have a router with OpenWRT. I noticed that sometimes (during night time) I have no internet connection. How can I log when this happens?
0
votes
0answers
33 views

Windows share suddenly empty

I have a laptop running Mint 15 Olivia that can access a shared folder from a Windows Vista desktop. Normally I can access and modify the files as if it were just another folder on the laptop, both ...
2
votes
1answer
42 views

Lubuntu IP conflict [closed]

I have this friend who recently installed Lubuntu on his Asus Netbook to try it out. Problem is that even though he can find all network connections and after trying to connect to two of them (giving ...
1
vote
1answer
48 views

Analyzing network traffic

I want to get a good overview what kind of network communication is going on on my computer. One way would be starting wireshark, which is fine for very low-level problems but is quite cumbersome to ...
-1
votes
1answer
74 views

How to control network bandwidth using Linux [closed]

Currently my Internet is really slow. But I want to allocate all resources to a browser that is loading a movie. How do I do that?
1
vote
1answer
46 views

Interface Priority in the Face of VPN

I have a few interfaces: wlan0, eth0, lo, and sometimes tun0. When I connect to the Juniper VPN, creating a tun0 interface, my existing connections on other interfaces (perhaps with the exception of ...
2
votes
0answers
35 views

Last data traffic time for a TCP socket

Is it possible, to find out when was the last time there was any traffic on an opened TCP socket? Keepalive and timeout timers are based on this statistic, so I guess it has to be stored somewhere. ...
1
vote
5answers
177 views

How to measure network traffic usage?

I want to know how much bandwidth my server is using. How much in, how much out. How do I know that? I think there is a software, netstat or something that took care that sort of thing.
2
votes
0answers
531 views

Ping command results in packet loss

Whenever I ping on my personal computer, nothing gets displayed other than a single statement. Upon stopping execution, I see that several packets were transmitted in the statistics. On top of all ...
4
votes
2answers
117 views

Preprocess packets send to/from interface

Is it somehow possible to intercept packet data just before it reaches an interface, and just after it is received? E.g. preprocess it and send it back on its way? I wanted to create a custom ...
3
votes
1answer
56 views

Monitor outgoing web requests as they’re happening

I want to see a list of all outgoing HTTP requests from my desktop. I think it should be possible to monitor HTTPS hostnames as well for local clients using Server Name Indication (SNI). OS X has a ...
0
votes
1answer
590 views

Consistent network interface name ubuntu using pci slot

One can set consistent interface naming via mac address by modifying /etc/udev/rules.d/70-persistent-net.rules. Can you establish consistent interface naming by PCI slot number? (I tried but failed) ...
1
vote
2answers
104 views

Port multiplexer sslh: why is it so resource-intensive?

I've just discovered the existence of sslh. I tried to install it on my 512MB RAM VPS running Debian 7 wheezy. After having configured sslh, I tried to connect to one of my apache2 virtual hosts, and ...
1
vote
1answer
51 views

Connecting to Verizon Mifi (wirelss hotspot) breaks everything

This question is obviously network related, but I thought it would be more appropriately placed in this forum because it's really not so much a connectivity issue. I recently got my hands on one of ...
4
votes
1answer
66 views

Create map network_iface_name <--> IPv4 address

I'd like to implement a bash script that creates a mapping between the network cards (or interfaces) names in my computer and their IP address (in CIDR format, if possible). The goal is having ...
0
votes
0answers
121 views

Kioptrix Level 1: Determining IP information for eth0 failed

I'm trying to set up a Kioptrix VM in VMware Player, in order to analyze it from a separate VM using Kali Linux. The VM can be found on this page: http://www.kioptrix.com/blog/test-page/ When ...
3
votes
1answer
101 views

How to tell if two ethernet interfaces are on the same lan?

I have to secure interfaces on Linux servers by setting bonding interfaces. The cabling information is not accurate. Is there a simple way to know if two interfaces are connected to the same LAN? ...
0
votes
1answer
70 views

Trying to connect to gateway in static ip network

I have arch-linux-arm running on a raspberryPi. The network I am in uses static IPs. gateway IP is 192.168.178.5 IP for my device is 192.168.178.201 To connect to the internet I use: ip addr add ...
1
vote
1answer
337 views

Using ping on multiple interfaces on a NIC

I have two systems and each have a NIC with two ethernet ports. One system has a verified NIC card, but the other has a NIC which has to be verified. I use ping to verify whether the interfaces on ...
0
votes
0answers
20 views

Once connection is lost wi-fi cannot be brought up again

I'm running Arch, using netctl-auto to connect, and it connects well. However, as soon as the connection is lost (e.g., timed out in a network where connection must be renewed after a period of ...
0
votes
0answers
128 views

How to make linux see my internet connection?

I'm sort of booting off of a Mint 17 LiveCD (the situation is described here: How can i make my pc boot back into windows?) and the network does not work. It's wired if it matter. I've also tried to ...
1
vote
1answer
123 views

masscan. how to configure Linux?

I've set this in my sysctl.conf: net.netfilter.nf_conntrack_max=268435456 Because, this border 16,777,216 achieved very quick. Also, I've decrease timeouts: net.ipv4.tcp_fin_timeout = 30 ...
1
vote
1answer
78 views

DDNS (dynamic-dns) setup and adding a hostname to a device (to be visible on the network)

How do I provide a fixed Hostname to my device so that a netscan can shows up the device name across all platforms? How can I reach the device using the hostname/MAC-ID (something which is fixed) ...
5
votes
1answer
62 views

Testing whether a file is local

I need to test in a script, whether a file is from a network mount or truly local. To be more clear: I need to test, whether parsing the contents will be fast or slow, but for my case local vs network ...
5
votes
1answer
63 views

What's the exact behaviour of the command: ip address change?

I have been fiddling with IPv6 and address lifetimes. I found out that the valid_lft attribute will make a v6-address disappear automagically, if used correctly. To extend an address' lifetime I would ...
2
votes
1answer
266 views

set ip default outgoing in centos

I have server which has Centos and I want to change the outgoing IP address. This is the output of my route and route list commands. [root@marketport tmp]# route -n Kernel IP routing table ...
1
vote
0answers
561 views

Guest VMs unable to ping each other within a custom host-only network in vmware workstation

I have created a custom host only network VMNet2 (without dhcp) in VMware workstation and connected my three VMs with this network. But the problem is: I cannot ping any VM from any other VM. However ...
0
votes
0answers
20 views

lost packets using traceroute

using mytraceroute I see 50% of ICMP echo request lost: 192.168.1.212 is internal server while 192.168.5.1 is my router: Host Loss% Snt Last Avg ...
3
votes
3answers
116 views

What happens to local LAN traffic on linux to non-loopback addresses?

One thing I've never quite understood on Linux is what happens to local traffic that isn't directed at loopback. For example, given the following network setup: [root@pe-323-master ~]# ifconfig eth0 ...
3
votes
0answers
79 views

Trying to understand Auto reconnect WIFI method

Iv'e found this method of reconnecting the WIFI dongle from this post , but want to be clear on how it works, before I try and implement it. 1) Go to /etc/ifplugd/action.d/ and rename the ifupdown ...
2
votes
2answers
1k views

How do I set the preferred wireless network in Linux Mint 17?

I'm currently in an environment with two wireless networks: OrganizationFoo, which is present pretty much everywhere I go, and OrganizationFooSubset, which is only present in a certain location. When ...
1
vote
1answer
1k views

SSH: Network is unreachable (caused by router)

I've searched solution in Google for 3 days, when I decided to write here. I have a router, so in my house is WLAN. I use laptop when I stay at home. In another city in my office I have a second ...
1
vote
1answer
118 views

Capture web traffic grouped by individual TCP streams

As far as I know a HTTP request and response constructs one TCP connection. To debug a web application on a GUI-less server, I'd like to be able to capture these TCP streams in a single ...
3
votes
2answers
82 views

Testing the Success of a Congestion Algorithm

How do you test whether a particular congestion algorithm is working for you? I ask because it's not as if I can easily re-create a representative workload for most algorithms. I'm current looking at ...
2
votes
3answers
460 views

Unable to access CentOS setup Network Configuration after attempting Python update

I attempted to update Python on my CentOS 5.6 VM and have encountered some issues afterward. Initially, yum wouldn't work, but I have resolved that. However, now I am unable to access the Network ...
1
vote
0answers
120 views

Packets sent through TUN interface not routed

I have a C program attached to a TUN interface. In my C program, I'm building packets and writing them to the TUN interface. Now to check if packets are really sent from my TUN interface I use ...
1
vote
2answers
58 views

Start the networking from scratch

Let us assume I have a computer that for some reasons has had all the networking information, in particular the stuff in /etc, wiped. Furthermore whatever caused the information to be wiped prevents ...
1
vote
2answers
871 views

eth0 not installed on CentOS

How would I go about installing eth0 on CentOS? When I do ifconfig -a, eth0 is not there. Here is the output of ip link: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue link/loopback ...
0
votes
0answers
59 views

Tools to inspect local network, and find local IP address of device?

This is my specific context (Latex/TikZ code for the diagram below): Now this local "Router", has broke down several times, and several different devices have had its role (sometimes they have a ...
1
vote
0answers
81 views

How do I control ip routing in the new firewalld?

I have the following scenario: Our fedora server is connected to the internet on eth0 and has a second nic, wlan0 acting as an access point. The purpose of the access point is to provide a connection ...