Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

4
votes
0answers
21 views

Dump network traffic of single application (strace-like)

I'm looking for a way to dump pcap of network data generated by an application, in a simmilar way strace dumps syscalls, etc. eg: net-strace somecommand -args somecommand would do something over ...
4
votes
0answers
582 views

What do I need to add a virtual IPsec adapter?

I'm trying to set up an IPsec connection manually from the console with iproute2. What I need is a virtual interface (at best, a virtual IP address could also be sufficient) that IPsec-transforms ...
3
votes
0answers
48 views

Configuring pulseaudio for receive mode

I am working on a project where I'll be running PulseAudio in receive mode on my raspberry pi. As for the server side, we've been writing a custom application on windows that will send an RTP audio ...
3
votes
0answers
80 views

Unable to start network, <IP> is already in use for device eth0, but its not

A wierd issue after we migrated some of our servers to a new DC. We assigned new IPs to all the machines and all the servers are working fine except one. It is not picking up the new IP address and ...
3
votes
0answers
28 views

Xen domU sort of ignores /etc/network/interfaces

I have a Debian based Linux installation, that gets around: It started out on a physical system, then I moved the OS into a VMware container and then into a Xen container. As physical and VMware ...
3
votes
0answers
33 views

Workstation-like environment across Debian clients

At our university we have a workstation-like system. It's windows XP (or Win-7 on some machines) and you can sit to any computer and log in with your credentials. It seems to be pulling some of your ...
3
votes
0answers
60 views

Create virtual network adapter with own MAC and IP?

I have a server with 4 different IPs over one real NIC. Now i try to setup different virtual network adapter in debian with this IPs. The Problem is, that each IP needs also a specific MAC. Otherwise ...
3
votes
0answers
34 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?
3
votes
0answers
91 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 ...
3
votes
0answers
365 views

Linux - Only first virtual interface can ping external gateway

I created 3 virtual interfaces with different MAC addresses all linked to the same physical interface. I see that they can successfully arp for the gateway (gw) and they can ping (the request is ...
3
votes
0answers
169 views

AIX NIM Master replicate / sync fails to an Alternate Master

I am getting a error when I try to replicate / sync my NIM database and resources to an Alternate NIM Master newly created in my environment: error replicating resources: unable to ...
3
votes
0answers
113 views

Raspbian: how ifplugd works on lo and other interface

On my raspbian, I'm wondering why ifplugd (link detection daemon for ethernet devices) is also running on the lo the loopback interface. The ps command displays: /usr/sbin/ifplugd -i lo -q -f -u0 ...
3
votes
0answers
33 views

Queuing disciplines are per-interface, what happen with interfaces using same device?

I have read about queuing disciplines here http://lartc.org/. I understand that for instance band 0 of pfifo policy is prioritized over band 2 within same qdisc, but what happen when i have ppp0 and ...
3
votes
0answers
125 views

To what extent does LXC manage configuring the network interface in a container?

In the LXC config file we can specify an IP address for a container: lxc.network.type=veth lxc.network.link=br0 lxc.network.ipv4 = 10.1.0.35/16 lxc.network.flags=up lxc.network.hwaddr= ...
3
votes
0answers
957 views

I can SSH and HTTP, but not ping or access particular UDP services over my LAN

So I've encountered a weird problem when trying to set up a Linux server running a variant of CRUX Linux. I am trying to configure it to be a Teamspeak server, but no clients can connect. The ...
3
votes
0answers
695 views

tunneling FON traffic via Tor

I would like to tunnel the traffic of my FON router through Tor. For that I added a second network card to a local server and connected the FON router to it. Then I set up a DHCP server and configured ...
3
votes
0answers
618 views

Wireless rtl8187 freezes intermittently

I am using a wireless USB ALFA 036H. Linux Mint (32-bit) recognizes it without any drivers but it stops downloading/uploading and I have to reconnect to get it to work again. I tried to find a ...
2
votes
0answers
18 views

Making static routes persist after a reboot

I have two VLANs (default vlan and vlan 5 for voip). I have 2 interfaces, one for each VLAN. My route table looks like this right now: Destination Gateway Genmask Flags Metric ...
2
votes
0answers
29 views

How to exclude LAN traffic with iptraf-ng?

I'd like to use iptraf-ng to see how much data my machine is sending/receiving from the Internet, but I want to exclude traffic on my LAN as I am only interested in data going off-site. I have ...
2
votes
0answers
52 views

VirtualBox guest machine as a nginx host

I have VirtualBox 4.3.12 with Fedora 20 and nginx 1.4.7 installed. Machine has Bridged Network interface and pings can be done both ways: from host machine (Windows 7) using ping 192.168.0.15 ...
2
votes
0answers
40 views

how to open up socks/SSH on different network interfaces?

iptables -A PREROUTING -i usb0 -t mangle -p tcp --dport 8080 -j MARK --set-mark 1 iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain ...
2
votes
0answers
22 views

Execute CGI scripts on custom OMAP4 board as root

I have a Ubuntu 12.04 Custom Board running Apache2. I have a web page which calls a CGI script which is responsible for starting and stopping ipsec service. I access the web page from another machine ...
2
votes
0answers
85 views

forward virtual interface network in KVM guest to the physical interface in the host machine

I am trying to experiment with Linux IP routes. This is what I have so far. I have a host machine whose network details are as below. wlan0 inet addr:192.168.1.9 Bcast:192.168.1.255 ...
2
votes
0answers
32 views

Send/Receive bandwidth monitor per application?

I'm looking for a tool that can monitor my system and create some summary how many data was sent or received by each application/process. Is something like this? I found nethogs but he shows only real ...
2
votes
0answers
61 views

Configure a usb wireless adapter when hotplugged

I have a pc connected to the internet on eth0 and I have a usb wifi dongle: I succeeded to configure it as a hotspot to which I can connect from my mobile devices so that I can share the pc internet ...
2
votes
0answers
25 views

Assign Special Records for specific remote clients DNSmasq

I'd like to make DNSmasq serve special records for specific remote clients (Clients from the public internet) So for example if remote host 111.111.111.111 requests www.example.com it returns 3.3.3.3 ...
2
votes
0answers
65 views

Want to assign dedicated default gateway on Two NIC card on linux server

We have one server having two nic cards. Here we configured two separate networks on both nics and having different gateway. However our one sub-net is able to communicate to outside network second ...
2
votes
0answers
106 views

Wait for a network device to come up before bringing another network device up on boot?

I'm in the middle of setting up my Raspberry Pi running Raspbian as a bridge between my university's wireless network (which requires WPA2-Enterprise authentication) and my private wireless router ...
2
votes
0answers
32 views

How to set up networking on a per-user basis?

I would like to set up access to corporate VPN for just my user account on my computer; not for the other accounts and certainly not for the guest user. To achieve this, I presume, I need to ...
2
votes
0answers
42 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. ...
2
votes
0answers
1k 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 ...
2
votes
0answers
244 views

Network connectivity issue between different hosts from a network namespace in one host

I have created two Ubuntu 12.04 VMs using VMWare Player with NAT network configuration. I am able to ping them from each other. After that, I created a network namespace in one of them and add a ...
2
votes
0answers
64 views

AppArmor Profile: Deny internet access

I want to deny the internet permission for some applications. Therefore, I tried first to deny the internet permission for ping, but it doesn't work. Here is the profile of /etc/apparmor.d/bin.ping ...
2
votes
0answers
87 views

Use eth0 and eth1 for different subnets and assigned host name to interface?

I have a machine running SELES 10 with dual NIC Both the NICs are on separate subnets. The server uses a DHCP. So when one interface, eth0, gets the IP from DHCP and registers with DNS and then the ...
2
votes
0answers
83 views

Configure routes to access WAN and LAN through diffrent interfaces

In my organization. Some useful technical websites are blocked by the firewall. In my machine i got three interfaces eth0, wlan0, wwlan0 eth0 Link encap:Ethernet HWaddr 00:9c:02:93:b1:b4 ...
2
votes
0answers
49 views

How to limit network bandwidth after some data transferred?

So the question is in the name of topic. How to limit bandwidth I know. Using tc. But how to do so after, for example, traffic had reached 500MB. And after some time reset the limits.
2
votes
0answers
39 views

Confusing my IP stack

At work, I have an Oracle GRID/RAC cluster of two hosts, including Oracle's SCAN functionality. Picking one host: eth0 is the management port on 169.254.10.25. eth1, eth2, and eth3 comprise bondeth0 ...
2
votes
0answers
43 views

iptables drop length and TTL condition doesn't work

With iptables utility on Linux host need to create mini firewall. I need to drop all incoming connections with package length greater than 722 AND TTL greater than 22. Need exactly AND. Drop only if ...
2
votes
0answers
122 views

sctp traffic generator

I'm looking for a free SCTP/TCAP traffic generator (specially for MAP, Camel and INAP protocols). I need to build some message flow scenario and generate load in order to test some application Thanks ...
2
votes
0answers
27 views

Manually adding static ip not resolved after a while

Hi Unix/Linux community, I have a small problem with a device I am connecting to my laptop, running Debian Linux. While connected to a router on my wlan1 interface (using wicd, if that matters), I am ...
2
votes
0answers
314 views

DHCP lease acquired , yet no ping, not even to default gateway

I've just installed Debian Wheezy on my PC using netinstall. I can only use its wifi. My interface has been recognize by the system, and I've used: iwconfig wlan0 essid MY_HOME_AP (I've switched ...
2
votes
0answers
149 views

CentOS 5.5 server dropping & blocking connection

I'm running a CentOS release 5.5 (Final) server running the LAMP stack amongst other things. When working on a web project with numerous active connections to the server box (Plesk over HTTP, SSH and ...
2
votes
0answers
201 views

Find hostapd's access point SSID

I have a Linux machine operating as an access point using hostapd and dnsmasq. The AP is working fine (the device is wlan0), but I am having difficulty finding the SSID of the AP for monitoring ...
2
votes
0answers
166 views

RNDIS Server to make a computer as a peripheral

First of all my goal is this, have a computer as a peripheral device to connect it to anyone's computer with ssh protocol or web. The idea is doing this by using a plug and play USB cable . Facts ...
2
votes
0answers
218 views

Broadcom or Modem wireless connection problem

I have a BMC42142 wireless adaptor lspci -vnn | grep 14e4: 02:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01) and I can't connect to the wireless ...
2
votes
0answers
307 views

Rogue AP channel hopping problem

I am able to set AP but despite explicitly setting channel for monitor interface and AP, AP frequency changes regularly. My setup: OS: Kali Linux 1.0 (booted from a USB stick) External network ...
2
votes
0answers
249 views

iptables REDIRECT in combination with matching on interface vs. IP address

I've successfully set up Tor for transparent proxying using iptables (ie, all outgoing traffic is sent through Tor without the application's knowledge). In doing so, I discovered both an odd problem ...
2
votes
0answers
153 views

Check via Shell-script if server currently streams via dlna

Currently I'm running uShare to stream videos from my home-server via DLNA to the TV. On the server there is also running a bash-script which checks if a user is connected via ssh or Samba. If this is ...
2
votes
0answers
185 views

Network block after restart

I'm running wheezy and I don't want to install network-manager. I have a problem with network interfaces. When I restart the interfaces I cannot use any connection anymore. I cannot reach internet ...
2
votes
0answers
766 views

Adding multiple gateways for separate physical interfaces with various metrics/priorities

My system has 3 interfaces. These are eth0, eth1 and usb0. eth0 is linked to my router and is the line I want to be used by default. eth1 is un used. usb0 is a 3G phone that's tethered. My issue is ...