Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

2
votes
1answer
118 views

LXC external IP configuration for containers

I rent a dedicated server and want to use LXC instead of KVM. I want to buy IPs for every single container. For now i have two external IPs: 193.X.X.30/32 213.X.X.31/32 I prefer a routing solution ...
1
vote
2answers
55 views

Looking for Vodafone's mobile broadband application for Debian 8 (Jessie); does it still exist?

I have a Vodafone K3760 3G dongle I've used on laptops since Squeeze & Wheezy generally using (in preference to Gnome Network Manager's own support for mobile broadband) an application Vodafone ...
0
votes
0answers
37 views

CentOS 6 Include Gateway for Static IP Address

I've just set up a static IP Address for my CentOS Machine using the following settings in /etc/sysconfig/network-scripts/ifcfg-eth0 #eth0 Config #IPv4 DEVICE="eth0" NM_CONTROLLED="yes" ...
1
vote
1answer
86 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 ...
2
votes
1answer
380 views

How to implement retry mechanism while executing the server url in the shell script?

I am working on a project in which I need to make a url call to one of my server from the bash shell script.. http://hostname.domain.com:8080/beat After hitting the above url, I will be getting the ...
2
votes
3answers
1k views

How to automate connecting to multiple network devices, running a command and saving the output to a file?

I have to run a command on around 1000 network devices and save the output to a file. In a file I have a list of all the network device names that have to be connected to using SSH. I then have to run ...
1
vote
1answer
37 views

Connect to offline network on second interface

I would think there's likely a dupe of this around but I cannot find it. I have an offline router I'm using to connect a remote wireless device. The router cannot be configured as an access point, ...
2
votes
1answer
67 views

How can I share my internet connection (wireless) with an ethernet only computer?

I have a raspberry pi B+ set up in a server configuration and it connects to internet succesfully over Wifi with a USB dongle. My other pi (an A+) has always been located downstairs in the garage, ...
4
votes
4answers
157 views

Linux as a network printer device (Raw, port 9100)

Is possible to configure a Linux computer to work as a "network printer device" ? I have an USB printer that I intend to share in the network like a native network printer device. Is that possible? ...
15
votes
11answers
63k views

Cannot enable network after CentOS 6.3 fresh install

I am trying to perform a fresh CentOS 6.3 installation then run various yum commands such as yum install httpd. The installation runs fine, however I cannot run any network based commands like yum I ...
0
votes
0answers
24 views

dhclient allows for address conflicts

I invoke from my application dhclient but there is a problem with IP addresses conflicts. If I have other interface with statically set IP address, dhclient does not send DHCPDECLINE when DHCP Server ...
2
votes
1answer
50 views

Where does network waiting go in 'top'?

If top is showing high loads, and you don't know if the process causing it is doing processor time or is doing network i/o (not local i/o) how can you find that out? On our server I see high values ...
1
vote
1answer
53 views

How to send AT commands to modem once the connection is established?

I have a zte 3g modem. I use carrier provided dialer for connection establishment. Once the ppp connection is active, i would like to send some AT commands(for ex. Query signal strength, AT+CSQ). But ...
2
votes
3answers
150 views

Understanding WiFi routing and gateway

I'm completely lost. I'm a real beginnqer about Linux networking. What I’m trying to accomplish : As bobstro said, I want to allow a wifi-connected UPnP camera to be moved around between wifi ...
1
vote
0answers
44 views

What are possible reasons why iwconfig is not updating connection stats?

I use iwconfig to show me some information about my current internet connection like this $ iwconfig wlp2s0 IEEE 802.11abg ESSID:"eduroam" Mode:Managed Frequency:2.462 GHz Access ...
0
votes
1answer
27 views

Route a port through a network interface

I'm using OpenVPN on Ubuntu Server to connect to my VPN. That network interface is tun0. All traffic currently goes through the VPN. I'd like to exclude traffic that goes over a specific port, and ...
0
votes
0answers
31 views

IPvsadm, cannot get it to work at all

From my production server, I should make several connections (>50) to two different IP addresses. I am trying to load balance among these two IP addresses when making outbound connections so that the ...
7
votes
3answers
318 views

How many bytes occupy a simple nmap to a host?

Today the IT manager got angry because I used nmap on the 3 servers I manage to see what ports they had open. I know I could have used netstat inside the host' shell. He told me that "If the network ...
15
votes
2answers
53k views

Orphaned connections in CLOSE_WAIT state

I've got a SLES machine that accumulates TCP connections in a CLOSE_WAIT state for what appears to be forever. These descriptors eventually suck up all available memory. At the moment, I've got 3037 ...
1
vote
3answers
178 views

Determining network interface names in NetBSD

Does anyone know if there is a way to determine what a network interface will be called in NetBSD if you know which NIC/driver you will be using before hand? I'm trying to automate parts of a NetBSD ...
3
votes
3answers
3k views

How do I deploy Firefox Bookmarks for all users in the network?

I have a bash-script for installing Firefox which is downloaded and executed from every client workstation in the network. The script is on the server and all workstations are running Ubuntu. Now I ...
0
votes
1answer
33 views

virtualbox on os x lags when not active

I am running ubuntu server as guest inside virtualbox on os x 10.10.x host While the system works, it lags whenever the virtualbox window is not the active app. E.g. I log into ubuntu from terminal ...
0
votes
0answers
78 views

connecting to virtualbox ubuntu from osx extremly slow

I am running ubuntu 10.04.x as guest on virtualbox from osx x 10.10.x host It works (kind of), but after working a while with it and also after power sleep it can get almost unusable slow. It looks ...
0
votes
2answers
63 views

Routing Configuration sending some traffic over VPN

I have a DD-WRT router with an OpenVPN service configured. I'd like to send only certain source IP's over the vpn connection. I believe my current routing table (as seen with netstat -rn) sends all ...
0
votes
1answer
58 views

Portable way to kill a process listening on a given port

Is there a way to kill a process listening on a given port (e.g. in bash lsof -t -i tcp:8000 | xargs kill) from a shell script that will also work on cygwin, as well as bash?
1
vote
2answers
484 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) ...
0
votes
1answer
41 views

Crossover Cable 2 Linux

I have a crossover cable. I want to move files and folders between my two Ubuntu's. I have partially set this up. They can ping each other. But when I use putty the connection gets refused with no ...
0
votes
1answer
43 views

Splitting port/IP-bound traffic between interfaces

Similar to this request (I think) I'd like to see traffic bound for a certain port number routed through one specific interface while traffic for a specific IP is routed through another. The server ...
1
vote
2answers
78 views

How to connect from home PC to Virtualbox/KVM that hosted on Ubuntu server?

I have an Ubuntu server, it's 3TB HDD space total and 24GB RAM, I want to take 1 little bit of space and RAM to make VPS Windows using VirtualBox or KVM. I want to install Windows Server 2008 on ...
0
votes
1answer
76 views

How to force nm-tool to update its DNS servers

Using Ubuntu 14.04LTS and having a problem with changing DNS. I can change servers in the /etc/resoolvconf/resolv.conf.d/base and head files and restart resolvconf using sudo resolvconf -u and it will ...
1
vote
1answer
31 views

How do I setup remote desktop to work seamlessly?

I've been using laptops for a very long time, and have preferred them over desktops for many reasons (one being, obviously, portability). However, right now I'm planning on building a simple home ...
1
vote
2answers
274 views

Multiple IP source on single interface in Linux

We could set multiple IP addressses on single interface, for example using NetworkManager: How to make any connection to outside of this PC to use different IP? for example if I have 8 IP ...
0
votes
0answers
62 views

multicast routing (forwarding) using mrouted from OpenVPN tap interface to LAN

Brief network diagram: Host "S" < Tap OpenVPN > Host "C0" < eth0 > Physical Switch < eth0 > Host "C1" According to mrouted document, it doesn't need to config anything for receiving ...
3
votes
2answers
112 views

What is UUID of a wifi network?

From http://unix.stackexchange.com/a/158747/674, First, run nmcli c This will list your connections, with the first column being the SSID, and the second column being the UUID of the ...
28
votes
7answers
6k views

Block network access of a process?

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

Multiple DHCP Offers - Which is selected? [closed]

I have created a testing scenario in VMWare for a man in the middle attack using DHCP spoofing. It's for a college project. Windows 8 machine bridged to host adapter Kali linux bridged to host ...
3
votes
1answer
134 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, ...
0
votes
1answer
15 views

Error while trying to connect 2 pcs in lan

I'm trying to connect two PCs in local network and am having difficulties: not that information you need, so I will put some, if I can put it need more: pc1: OS GNU/Linux Mageia pc2: OS GNU/Linux ...
1
vote
0answers
63 views

Interface doesn't go up with ip link set interface up

Until yesterday, Internet was just fine and I connected without much problems. I then disabled the network interface, trying to understand a little more how to manage these kind of things, issuing ...
0
votes
1answer
37 views

Congestion Control algorithm performance testing in FreeBSD

I am working on implementation of a proposed modification of TCP Congestion Control algorithm that would allow to improve it (the CC) by adding a dynamic bandwidth estimation. I have been able (with ...
2
votes
1answer
29 views

post-up only once after reboot

I need to run a script ONCE the first time the system connects to the internet. So I use post-up in my interface to run the script. However, I only want to run the script once per boot. So if the ...
0
votes
0answers
131 views

CentOS 6.6 network connection problem always breaks down

I installed centos 6.6 about a week ago. Then I set my IP to static and it works but after several hours I always lost connection. I can ping another computer in that network but I cant ping my centos ...
7
votes
2answers
3k views

How to know if a process is attached to a tap interface?

I sometimes come upon machine with tap interfaces (eg, when KVM is running). How can I know which process is attached to the TAP interface?
5
votes
2answers
3k views

How to know if a network interface is tap, tun, bridge or physical?

As far as i know, there are 4 main types of network interfaces in linux: tun, tap, bridge and physical. When i'm doing sys admin on machines running KVM, i usually come accross tap, bridge and ...
0
votes
1answer
53 views

Help translating this `ip` command to `route` command in `post-up` hook

I am having trouble getting a static routing ip command to become permanent by way of the post-up hook in /etc/network/interfaces. Here are the relevant details: /etc/network/interfaces # The ...
2
votes
2answers
229 views

OpenConnect not resolving hostnames

I'm running LMDE 17, and I've installed OpenConnect v6 and the repository version of network-manager-openconnect. Everything is peachy, except any address for the domain companyname.local doesn't ...
3
votes
2answers
69 views

Detect and respond to ping in userspace

Is there a way to make a linux system react or do something when pinged from another device, besides just sending a reply (or not)?
1
vote
1answer
49 views

Why is setting up WLAN in Debian so hard? (compared to Ubuntu) [closed]

switching from Ubuntu 14.04 to Debian jessie (LXDE) on a ThinkPad T500 Lan (eth0) is configured in /etc/network/interfaces and works fine. After setting up LXDE i wanted to switch to WLAN and it ...
0
votes
1answer
45 views

Unable to ssh into virtual machine on host only network

I have created a virtual machine in virtual box with host only network. I am able to ping to the virtual machine but when i try to ssh into the same machine it reject my request with following error ...
11
votes
2answers
453 views

practical usage of /etc/networks file

What is the practical usage of /etc/networks file? As I understand, one can give names to networks in this file. For example: root@fw-test:~# cat /etc/networks default 0.0.0.0 loopback ...