Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

5
votes
0answers
48 views

Is there an ICMP echo request service?

Often, in applications that I develop, I like to include a network status indicator for various devices on the network. The easiest way to monitor these devices is by pinging them. But ICMP echoes are ...
3
votes
0answers
50 views

Tons of unknown connections in nethogs

I am seeing hundreds of different connections to the same ip and port scrolling by when running nethogs. Occasionally the foreign IP and port will change (not always 80, but sometimes). I've noticed ...
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?
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 ...
3
votes
0answers
231 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
130 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
460 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
32 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
122 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
895 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
674 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
598 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
38 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
27 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
42 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
20 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
32 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
69 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
54 views

reset Ethernet bonding without rebooting

I have the following Ethernet bonding configuration: old configuration: bond0 eth0 eth1 bond1 eth2 eth3 new configuration : bond0 eth0 eth2 bond1 eth1 eth3 I have made the ...
2
votes
0answers
31 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
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. ...
2
votes
0answers
532 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
159 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
51 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
77 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
71 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
36 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
41 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
97 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
26 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
259 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
119 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
186 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
106 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
95 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 ...
2
votes
0answers
205 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
271 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
224 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
145 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
177 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
656 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 ...
2
votes
0answers
229 views

Mint changes default route when eth0 comes back and breaks existing tcp connections

I have two interfaces on my laptop (eth0, wlan0). lets say I am moving away from desk and connecting to an internal network A using openvpn software which uses wlan0 as gateway. I then ssh to a few ...
2
votes
0answers
183 views

B.A.T.M.A.N. working with cable, not with wireless

I'm creating a mesh network with B.A.T.M.A.N.. The version is 2011.4.0 in host A, 2012.3.0 in host B. I've setup the network as explained here. I can ping bat0 interfaces if the connection is done ...
2
votes
0answers
487 views

CUPS can't print to printer on network

I am having problems printing to the printer connected to my (SBS2003) business's network. I know the IP of the printer and I can ping it and even print files from it by going to 192.168.0.50 in ...
2
votes
0answers
139 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 ...
2
votes
0answers
206 views

Windows shared network printer keeps using rear tray as source

I am trying to set up network printing on my Linux Mint 15 (64 bit) system (dualboot with Windows 7). The printer is a Canon PIXMA MG5100 and is connected (via USB) to a computer running Windows XP. ...
2
votes
0answers
330 views

Openswan ipsec hub and spoke setup is not working

I have configured Hub and Spoke using openswan ipsec. Tunnel is immediately getting UP but the problem is: Spoke1 can ping/access HUB's LAN and vice-versa (S1 -- HUB && HUB -- S1) Spoke2 can ...
2
votes
0answers
326 views

How to setup networking for Linux Mint - VM when host machine uses a PAC file

My host is a Windows 7 x64 machine. The office network uses a PAC file for the LAN settings. So, under Internet Options -> Connections -> LAN Settings, I have Use automatic configuration script with ...
2
votes
0answers
635 views

Ubuntu : after upgrade, wire network is unstable

Yesterday I have upgraded to Ubuntu 13.04. After I upgrade, I have a serious problem with network (I use wire network): my network is unstable. After a short time using it, it often disconnects. It ...
2
votes
0answers
62 views

How to specify which interface an application uses?

Imagine this example: you have direct access to the internet on eth0, and you have a VPN on tun0. You want one application to access the internet directly through eth0 (using X public IP address) and ...