Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
1answer
28 views

How to find bandwidth usage/bytes transmitted/received within a certain time frame

I'm looking for a way to get numbers on bandwidth usage of an eth port. But I need to filter the results to only show me numbers for the last 24 hours. Or any time period in hours or minutes. Just ...
24
votes
5answers
5k views

Block network access of a process?

Is it possible to block the (outgoing) network access of a single process?
1
vote
0answers
29 views

Route wireless LAN through OpenVPN

I am trying to set up my home server to act as an OpenVPN gateway so I can connect to my VPN from any device without installing special software of them. My server is running Ubuntu 14.04. The host ...
2
votes
1answer
89 views

How to properly configure DNS . . . from a conceptual perspective

I'm not looking for actual tools or techical how to type answers here. I'm in a complex networking environment, and I'm trying to understand the constraints on my choice of a hostname / domain / DNS ...
0
votes
2answers
39 views

Connection Timeout for ssh connection depending to the ip location?

I have a machine where I can connect it using ssh from different networks. But when I have moved to other country I have not be able to connect it. What may be the cause? I am able to ping the server ...
0
votes
1answer
38 views

Local system doesn't forward to intended port defined in OpenShift proxy app

I've set up a proxy server via OpenShift based on this tutorial and used a few days by forwarding my local system's ports to remote app's ports: $ rhc port-forward AppName The result in the proper ...
0
votes
1answer
112 views

Plain Bridge vs. Open vSwitch

Is there any performance benefit in using Open vSwitch over a plain bridge?
2
votes
1answer
33 views

Are there any loopholes in IP restricting sshd?

Say that i want to only allow username/password logins on my private network, but restrict all external sources on to key/cert login. I would do something like this: RSAAuthentication yes ...
3
votes
3answers
168 views

How do you prevent a DHCP release during shutdown?

I am currently using Ubuntu 14.04, but expect this to be applicable for different distros. I would like to prevent a DHCP release during shutdown, and opt for either the lease to expire or for a DHCP ...
1
vote
1answer
1k 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
17 views

ssh_exchange_identification: read: Connection reset by peer (Have access to the server)

I'm getting "ssh_exchange_identification: read: Connection reset by peer" for ssh into a machine. However, it only happens to my machine and it works for the other person next to me (we share the same ...
0
votes
0answers
23 views

command line tool group chat utility under linux

I am working on mac osx Yosemite. I want to reach to a user under a certain IP address. (It might be local network or thru internet). I want to do it thru terminal using the default tools that ...
2
votes
0answers
19 views

Is there a thing like “veth”, but without link-level headers?

When I use separate network namespace, I often set up networking there using veth: ip link add type veth ip link set veth0 netns 1 ifconfig veth1 192.168.60.2 ip route add default via 192.168.60.1 ...
1
vote
1answer
691 views

Arch Linux Ethernet to WiFi bridge

I want to use a Raspberry Pi running Arch Linux to extend my WiFi network. My situation is that I have a spare WiFi router that I want to use to expand my WiFi reception range as well as give me a few ...
15
votes
6answers
5k views

What is using this network socket?

I'm trying to use NTP to update the time on my machine. However, it gives me an error: host # ntpdate ntp1.example.org 10 Aug 12:38:50 ntpdate[7696]: the NTP socket is in use, exiting What does the ...
1
vote
1answer
478 views

Is it possible to prevent eth0 network traffic from accessing eth1 network?

I am not really sure how this is possible but I have a linux(ubuntu 14.04) box with 2 interfaces. eth0 is connected to our lan 192.168.0.* and eth1 is connected to a dlink wifi router on network ...
2
votes
0answers
230 views

What does `NO-CARRIER` and `DOWN` mean for a wireless interface?

I have a remote server and I log output of certain commands while the server cannot access the internet. It uses a wireless interface to connect to the internet. In a working state the output of ...
4
votes
3answers
4k views

Configure multiple interfaces with different hostnames using DHCP and DNS

I have a machine running Ubuntu 12.04 Server with two interfaces connected (eth0, eth1) to the network. Our network is set up so that a FreeBSD based DHCP server hands out leases and registers the ...
1
vote
1answer
39 views

CentOS 6 Static IP Address

I've just assigned my CentOS machine with a static IP address using the /etc/sysconfig/network-scripts/ifcfg-eth0 which has the following lines and seems to be working #eth0 config DEVICE="eth0" ...
0
votes
1answer
89 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 ...
19
votes
5answers
4k views

What is a socket?

Could someone explain to me what a socket is? I see it in many acronyms in context of SSL, etc. Also, why is it called a socket? Is it purely because it was what a name they invented? Or was it the ...
0
votes
1answer
18 views

How to effectively capture traffic on port 5060 between specific time internals?

users. I want to capture traffic on port 5060 for one week in a file, than wants wireshark to rotate file and start capturing for next week with a different file name. I know little about tshark, ...
1
vote
1answer
27 views

Can't use 2 interfaces at the same time

I can't get eth0 and usb0 (same with wlan0) working at the same. When I activated the Android Tethering, I did route add default gw 192.168.42.129 usb0, and so, route -n outputs: Table de routage IP ...
1
vote
0answers
2k views

Understand the Route table

I just setup the OpenVPN and it is working as expected. However, the routing table of the client is confusing me to no end. Here is the route table: # route -n Kernel IP routing table Destination ...
15
votes
6answers
44k views

How to change the order of the network cards (eth1 <-> eth0) on linux

Is there any way to swap network interfaces (eth1 <-> eth0) after system installation. My brand new Debian 6.0 install assigned PCI network card as "eth0" and motherboards integrated network ...
1
vote
1answer
52 views

How to create permanent ip alias belonging to different subnets in Centos

I followed this link and created few alias ips on my centos 6.5 machine but all these ips belong to same subnet. What I have: My machine: eth0, 10.91.56.3 IP Alias1:eth0:1, 10.91.56.4 IP ...
1
vote
1answer
782 views

Trouble switching from DHCP to a static IP on Kali Linux

When I installed Kali Linux 64bit, I forgot to set up a static IP address, and now DHCP determines my address with my router. I have already modified /etc/hosts and /etc/network/interfaces to declare ...
0
votes
1answer
31 views

Is there a way to switch interface only by interface name?

I am currently working on how to switch network interface in Linux environment. And i am experimenting on switching network interface by switching default gateway, for example switch to wlan0 when ...
1
vote
1answer
479 views

Mumble doesn't bind to network address on boot, needs to be restarted (doesn't properly wait for network?)

I have a default, unchanged installation of the Mumble server on Debian Squeeze (package "mumble-server"). On a previous setup, starting the server (called murmurd) on boot using the default init ...
2
votes
1answer
34 views

On a router, what decides if a packet should be forwarded or directed into the router itself?

I'm trying to learn how packet routing works on a linux-based router (OpenWRT in my case) a bit better for setting up a few projects/just-learning. Referencing the below chart, I'll break this into ...
0
votes
0answers
43 views

Creating an open wifi acess point for April Fool's Day which I want the client can only visit the login/splash page, but not working

I bought a Hiwifi J2 (Chinese) router, and sysupgraded to OpenWrt (not official version, but a patched version based on OpenWrt Barrier Breaker: https://github.com/rssnsj/openwrt-hc5761). Then ...
4
votes
2answers
1k views

NAT and source IP filtering in PF, using OpenBSD >= 4.7

I just read a book about PF (The Book Of PF, No Starch), but there's one question not answered by it. If I have a gateway machine using two interfaces, $int_if and $ext_if, and I NAT the packages ...
1
vote
0answers
19 views

No “rwnd” option to “ip route” for managing the receive window?

Context: I'm doing some self-guided studying on TCP Window shaping. The scenario I'm trying to control for are clients which will be pulling down large amounts of data in addition to their normal ...
1
vote
0answers
42 views

/opt partition not mounting in DD-WRT v24-sp2

I'm facing problems trying to install optware packages on a TP-Link TL-WR841n v8 running DD-WRT v24-sp2 (4MB flash, 32MB RAM). I did the following through telnet: nvram set jffs_mounted=1 nvram set ...
1
vote
3answers
61 views

how to automate creating firewall rules?

There is a complex live system - few vlans. In each of them there are linux servers, and on every server there are services. Services connect together - for example service http on host A connect to ...
0
votes
2answers
671 views

Realtek drivers prevent detection of eth1 interface?

Here's the situation: I had a working network setup on my Debian box, with two Ethernet interfaces being reported by ifconfig - eth0, and eth1. eth0 is an onboard Realtek NIC, and eth1 is a D-Link ...
0
votes
1answer
32 views

Apple Home Sharing on a Linux machine

Is it possible to share a directory with media files to an Apple TV (Gen 2 & 3) using Home Sharing on a Linux machine? I've found some solutions suggesting DAAP but none of them seems to be for ...
2
votes
2answers
56 views

Is it possible to have multiple virtual machines with the same (guest) ip on the same host?

What I try to achieve: Multiple virtual machines (virtualbox) on a Debian host which communicate with another server (not with each other or the host). All VMs need to have the same static network ...
1
vote
2answers
7k views

How to set up an Internet Connection in Linux Mint?

My machine has wired Internet connection with Windows 7 OS. In connection properties I see service name : ispone obtain IP address automatically obtain DNS server address automatically How do I ...
2
votes
1answer
37 views

Why does scp not show true upload speed?

Every time I'm trying to upload a file using scp on my slow upload connection (~100kb/s), it shows something like : test 27% 2208KB 2.2MB/s 00:02 ETA On the first ...
2
votes
1answer
924 views

ping receives no packets, but tcpdump can see them coming in

I'm migrating an old Ubuntu OpenVZ instance (Jaunty) to a new CentOS 6.3 host (using vzdump/vzrestore). Now networking does not work properly. Facts: It works just fine if a setup a new OpenVZ ...
0
votes
1answer
2k views

Linux Mint 17, Wifi Slow and Drops Connection, No Ethernet Connection

On a fresh install and updated Linux Mint 17 XFCE, the system cannot maintain an internet connection through wifi, and is unable to connect at all through ethernet. Wifi will work somewhat slowly for ...
1
vote
2answers
64 views

How to tar, split, pipe, untar over ssh

I'm copying large files over LAN, and I've noticed that with doing one ssh pipe, I can get around 10MB/s transfer speed. However, if I shoot off four of those at the same time, I get around 40MB/s ...
1
vote
1answer
90 views

Can't access my apache server from outside LAN (Raspberry Pi)

I know this question was asked a lot, but unfortunately none of the posts really helped.. I'm trying to set up an Apache server on my Raspberry Pi. I managed to set it up correctly I think, but I ...
3
votes
1answer
64 views

Why is my DAD slow?

The last few boots of my Arch Linux, I noticed I had no network access. I'm using a netctl profile to give my adapter a static IPv4 address, which by itself works fine. So I had a look at the logs, ...
1
vote
2answers
5k views

D-Link DWM-156 HSPA USB Modem doesn't work with SIM card inserted

I have a D-Link DWM-156 HSPA modem, that I bought just a few days ago. The modem has drivers in its internal storage. There are Debian packages (.deb) for both i386 and amd64, so obviously I installed ...
1
vote
1answer
638 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 ...
0
votes
0answers
29 views

How do you create an ip alias using iproute utils?

While reading the O'Reilley book on Apache Web Server, they gave an example on using ifconfig to set ip aliases on an interface: ifconfig ep0 192.168.123.2 ifconfig ep0 192.168.123.3 alias netmask ...
1
vote
1answer
26 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. ...
11
votes
1answer
11k views

Good detailed explanation of /etc/network/interfaces syntax?

I understood the very basic concept of how to use /etc/network/interfaces, but all I find online are examples, example after example, which I can copy-paste from. What I miss is an explanation of the ...