Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

2
votes
1answer
877 views

Why is the 'foreign address' not IP address but something like this?

I never learned network programming and this kind of stuff properly. Only know very basic stuff like IP address and just a vague concept of what ports and TCP/IP are. Here, I connected to my lab's ...
1
vote
1answer
1k views

Randomize external port when doing NAT with iptables

I want to configure a NAT behavior different from the default one implemented by iptables. In this example: iptables -t nat -A POSTROUTING -o eth1 -j SNAT --to-source 193.49.142.107:2000-400 The ...
1
vote
1answer
279 views

Monitor internet for dropouts

I've been having issues with my wifi with frequent drop outs. So I've decided to check if the drop outs are wifi related or internet related by connecting my laptop via ethernet and monitoring it for ...
3
votes
2answers
933 views

Replacement to CUPS Browse Protocol

The CUPS "browsing" protocol was marked as deprecated being removed at v1.6 of CUPS, due to problems with broadcast and managed networks/WiFi. It's an UDP protocol to broadcast information about ...
1
vote
1answer
1k views

ssh ubuntu to android : No route to host

I am trying to log into my android phone (running sshdroid), using my laptop (ubuntu 12.04). I am on a university sub-network (on wifi), and so is my phone. I tried the following command: ssh root@...
5
votes
3answers
1k views

Is there some way I can start a (repeating) ping while the network is unreachable?

My ping command (on Debian 6 or 7) will repeatedly attempt to ping a server even while the network is down, if the network was up when it was started. Is there some way to start ping while the network ...
3
votes
0answers
27 views

Linux network stops when transferring files [duplicate]

Running Debian, when transferring files from the server to my pc, the transfer is suddenly interrupted. Some smaller files (couple of MB) seem to work most of the time, but bigger files mostly fail at ...
6
votes
2answers
3k views

WiFi not working after restoring from hibernation (authentication times out)

My Intel 6205 wireless network card does not work after hibernating. It sometimes also does not work on boot, failing in the same way. Occasionally, it also stops working after ~10 minutes of ...
1
vote
1answer
186 views

LVS is not accessible from the outside

I'm currently busy setting up a LVS - Linux Virtual Server: root@debian1:~# ipvsadm -L IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port ...
0
votes
1answer
338 views

Apache server in raspberry PI not visible from outside( public IP)

I have made a fresh install of Arch Linux ARM into a Raspberry PI and I mounted there a LAMP, all fresh. I have another Arch(x86) in my laptop with Apache also there, and as far as I know, two web ...
1
vote
0answers
177 views

Local Client/Server communication using TUN interfaces

I want to establish a local communication between a client and a server using TUN interfaces. The client program will be attached to interface TUN1 and we suppose that it has IP address @IP1. The ...
1
vote
0answers
69 views

Is arp periodically called to check connectivity?

Do most of linux implementations periodically make arp requests to check connectivity? I am trying to migrate an ubuntu virtual machine and, after migration, it just loses network connectivity.
2
votes
0answers
627 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 ...
3
votes
1answer
3k views

Netcat (nc6) - Minimal IPv6 only TCP Server and Client

Im am trying to set up a basic IPv6 only echo-server using netcat (or rather nc6). Client and server are both in the same local network. However, the client quits immediately: IPv6-Server: $ nc6 -...
2
votes
1answer
4k views

Understanding ifconfig stats

Please help me understand ifconfig stats, in particular over what time period are they? From the example below the combined receiving bytes for both interfaces is 7.7 GiB. Is that since midnight? ...
2
votes
0answers
264 views

Setting up traffic for GRE Tunnel

I want to set up clients that are behind NAT with a public IP but allow them to have one or more public IP's on their device. The idea is to have a linux box with either 1 or two network cards. Lets ...
1
vote
0answers
561 views

Error while building Linux module of a wireless driver

I have recently installed Debian Wheezy onto one of my old computers to test it out and to become more familiar with Unix. To my surprise I enjoy the interface very much so far, but I have run into a ...
3
votes
1answer
233 views

Issue with network switching

I have a desktop PC running debian that has two network cards installed. One network card is connected to a secure company network and requires a static IP. The other network card (eth1) is connected ...
9
votes
2answers
795 views

Internet connection drop alert

What software is there that will play an alert (PC speaker) when there isn't any internet connectivity for 5 minutes? My switch/router seems to disconnect every few days, and I want to reset it when ...
3
votes
0answers
250 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 /...
1
vote
1answer
99 views

DHCP Problems Virtualbox

I have some minor issues with Ubuntu server on a virtual machine and even though I have some assumptions as to what actually happens, I'd like to ask all of you about your opinion. Here's the deal: I ...
2
votes
1answer
401 views

connect two VMs and one VM to the internet

Disclaimer: My knowledge about networking as well as qemu is little to none. I'm using QEMU to run a Debian VM that runs an application. For testing purposes I now want to create a second VM running ...
0
votes
1answer
270 views

connecting to a wifi using wpa_supplicant

I have some problems connecting to my WiFi (WPA2, standard settings) using wpa_supplicant. My /etc/wpa_supplicant.conf is as follows: network={ ssid="MYWIFI" psk=******** } then my /etc/...
1
vote
1answer
646 views

How do you route to secondary interface on the same physical port?

INTERNET<->(wan)BRIDGED_DEVICE(lan)<->ETH_ROUTER<->LAN Problem: Need to access web server on BRIDGED_DEVICE's LAN from INTERNET via ROUTER (BRIDGED_DEVICE web server cannot be accessed form ...
3
votes
0answers
2k 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 ...
2
votes
1answer
887 views

iptables - add rule for interface before it comes up

Right now I'm using /etc/rc.local to add some iptables rules on my Linux router on boot however some of the rules aren't added. I assume this is because the interface hasn't come up yet. This is what ...
2
votes
1answer
426 views

what happens during nic master failover?

During NIC master failover, will the mac address of bond0 change?
2
votes
0answers
171 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 ...
14
votes
1answer
3k views

Why my ethernet interface is called enp0s10 instead of eth0?

Just that, when I run ifconfig -a I only get lo and enp0s10 interfaces, not the classical eth0 What does enp0s10 means? Why is there no eth0?
0
votes
1answer
572 views

How can i set-up VIOs multiple VLANs in our p770 box?

There's a requirement setup needs to address to our pSeries box. We have one p770 box intended to setup UAT and Development VM Clients, but the requirement is to set different VLANs per Environment (...
4
votes
1answer
150 views

How do you ensure physical network interfaces always get the same interface name across reboots on an embedded Linux system?

For an embedded Linux system, if I have two or more network interfaces, how do I ensure that they always get the same interface names every boot In other words, I want, for example, eth0 to always ...
1
vote
1answer
322 views

How to find process bind to network interface

I have two Hadoop processes (with web UI interface) running on a CentOS 5.3 machine inside a VirtualBox. I cannot access both interfaces from my host machine via port forwarding. Either first or ...
1
vote
1answer
52 views

Creating a virtual interface to always access a DHCPed interface with the same ip

I have an interface that on connect always gets a new IP. So I want to create a virtual interface with a static IP that "relays" everything over the physical interface. This would be useful to bind ...
1
vote
0answers
640 views

Improving TCP performance over a gigabit network

I have two machines both network cards speed is 10Gbps. The inbound bandwidth between the two machines is 10Gbps, the outbound bandwidth internet bandwidth is 500Mpbs. Both machines are using public ...
1
vote
2answers
2k views

Automatically restarting network connection

I'm having a small issue with my Synology NAS. It keeps throwing off the connection to the internet (local network works fine though). It is quite random, sometimes it doesn't happen for days, ...
1
vote
2answers
18k 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 ...
1
vote
1answer
71 views

Setting up a static IP. Please can someone explain the process

I have just installed Linux Fedora 20 on my laptop; I have it already on my main home computer. I maintain a number of files, mostly my own notes, hints and reminders about how to do things, that I ...
0
votes
1answer
2k views

Raspbian, Huawei E303, Public IP address

After configuring Raspbian linux and a Huawei E303 3G USB stick, I am stuck accessing the machine from the Internet by its public IP address. Details: The E303 stick was configured to work as an ...
2
votes
1answer
2k views

Check for plugged in network cable on startup

I actually wanted to post the below as an answer to this question titled: ifup eth0 timeout during boot. But am not sure if this is right approach or it's a way of screwing up things badly. We can ...
3
votes
1answer
4k views

ifup eth0 timeout during boot

I need to start eth0 network interface during boot, but only if cable is plugged in. I have following in my /etc/network/interfaces auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp ...
3
votes
4answers
12k views

Telnet on Linux Server

I want to know if it is necessary to have telnet enabled on both sides of machines to get telnet connection. Here's the issue: I am trying to telnet some public IP on port 80 from a Linux web server (...
1
vote
0answers
340 views

CPU usage by kernel modules, routing and forwarding rules

I have a system with a loopback kernel module installed. Through a bunch of routing and iptable rules, packets coming out of the loopback interface are sent over an ipsec tunnel. I am seeing that ...
2
votes
2answers
606 views

How can I ssh to a remote server with an automated password and no key?

I have a remote server. I planned to use public keys to connect over ssh without typing the password but the remote system rejects public key authentication. So what is the best way to do it? What ...
0
votes
2answers
847 views

Unable to telnet public ip on port 80

We are facing a communication problem between the public and our private network. We have a Linux based web server behind a firewall and an internet router. As part of some integration, our web portal ...
3
votes
2answers
3k views

Primary network interface in Linux

I have a server box with two interfaces. One of the interfaces is connected to the internal network, another - to external. I have assigned IP 192.168.1.200 to internal interface (eth0). I have some ...
3
votes
1answer
113 views

NTP with networks isolated

I have a computer (CentOS) with 2 network cards. I want to use one network card (A) to retrieve time from NTP server (internet). This would then set [this] local computer's time. I then want to ...
1
vote
1answer
438 views

Madwifi VAP (and wlanconfig) modern equivalent

It appears that the Madwifi project is deprecated, so I am curious if there is a replacement for the wlanconfig utility that allowed users create Virtual APs. I did search for wlanconfig in my package ...
3
votes
1answer
442 views

How configurable is MPTCP?

I work on embedded Linux devices that usually have hard wired Ethernet as well as cell modem connections. If I were to use MPTCP would it be possible to easily configure the system to use eth0 all ...
2
votes
2answers
1k views

Bonding two broadband connections to serve LAN as a gateway

I need to increase the connectivity and speed of the Internet to my LAN users. These are the things I have in my hand to do so. PC with 3 NICs 1 for LAN and 2 for routers 2 broadband connections ...
0
votes
1answer
336 views

Route a local connection via an ethernet link in QNX

I am currently facing a challenge in QNX, where I have 2 Network Interfaces - viz. one Network port from PCIe Ethernet Expansion card (wm0) and other from the normal Ethernet port (en0). I have ...