Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
1answer
54 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 ...
1
vote
1answer
131 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? ...
1
vote
0answers
22 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
59 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
75 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 ...
8
votes
2answers
233 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 ...
2
votes
0answers
33 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
32 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
0answers
47 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 ...
0
votes
0answers
32 views

How to create MPTCP connection using eth0 with failover to ppp0?

My embedded Linux system has multiple network interfaces, eth0, wlan0 and ppp0. I'd like to experiment opening a socket to a server via eth0, then take down eth0 and watch it fail over to using ppp0. ...
2
votes
1answer
51 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
50 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 ...
1
vote
1answer
48 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
89 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
47 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 ...
1
vote
1answer
13 views

what happens during nic master failover?

During NIC master failover, will the mac address of bond0 change?
2
votes
0answers
32 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 ...
6
votes
1answer
91 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
33 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 ...
3
votes
1answer
22 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
63 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
35 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 ...
0
votes
0answers
29 views

Application becomes non-responsive to requests on Raspberry Pi

I have written a Python application (using Flask, if it matters) that serves a simple website that I can use to start playback of streaming video on my Raspberry Pi (microcomputer). Essentially, the ...
1
vote
0answers
108 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
1answer
43 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
1answer
507 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 ...
0
votes
1answer
54 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
0answers
94 views

Raspian, Huawei E303, Public IP address

After configuring Raspian 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 ...
1
vote
1answer
41 views

Check for plugged in network cable on startup

I actually wanted to post the below as an answer to this question. But am not sure if this is right approach or it's a way of screwing up things badly. We can actually check if the network cable is ...
4
votes
1answer
120 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 ...
0
votes
3answers
125 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 ...
0
votes
0answers
10 views

E1000 Hardware loopback mode for custom driver

The e1000 (82541) has an internal loopback feature. What's not clear from the Intel SDM is when this is enabled does it just test itself and then reset, or do all packets sent route back to the ...
1
vote
0answers
48 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 ...
1
vote
2answers
112 views

ssh to remote server without password

I have a remote server. i planed to use public keys to connect over ssh without typing the password but the remote system rejects public key key authentication. So what is the best way to do it? What ...
0
votes
2answers
119 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 ...
1
vote
2answers
95 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
37 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
38 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 ...
2
votes
1answer
82 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
89 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
47 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 ...
1
vote
2answers
53 views

Stop netcat when VirtualBox closes

Using netcat to redirect print output from DOS program in VirtualBox under OSX. #!/bin/bash VBoxManage startvm FreeDOS while : do nc -l 1235 | lpr done This works except that when VirtualBox ...
1
vote
0answers
57 views

Is this kernel warning a major problem that needs my attention?

Our Linux based Thecus N12000 NAS recently experienced this message in its dmesg log. [2014-05-21 11:34:56] ------------[ cut here ]------------ [2014-05-21 11:34:56] WARNING: at ...
0
votes
0answers
40 views

problem with airmon-ng start waln0

I'm new in Kali Linux, I have a USB wireless adapter, Realtek RTL8187 wireless802.11b my command airmon-ng it shows the waln0, but when I type the command airmon-ng start waln0. It doesn't show ...
1
vote
1answer
52 views

Nmap too slow with a network that can't access to internet

I am using CentOS 6.5 and Nmap 5.51 I want to find all alive IPs in a LAN between two IPs Easily get the answer sudo nmap -sP 192.168.1.100-200 my problem when my network can access to ...
2
votes
1answer
43 views

Getting a list of WiFi networks nearby when the adapter is in AP mode

I am trying to get a list of wireless networks nearby while the adapter is acting as an access point but iwlist returns the following error: $ sudo iwlist wlan0 scan wlan0 Interface doesn't ...
0
votes
1answer
72 views

BSNL 3G USB modem not connecting

I am using Arch linux (fully updated). I have been trying to get my BSNL 3G usb modem to work to no avail for the past couple of hours. I have already installed modeswitch, wvdial, modem manager, ...
1
vote
1answer
26 views

Redirect packets and save the content to disk

I want to reroute a connection just like rinetd does but save the client and server messages. Is there any tool like this out there ? I'm using Debian.
1
vote
0answers
27 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
1answer
131 views

WITHOUT using network command lines in linux, how to know list of open ports and the process that owns them?

I want to know which ports are used by which processes in embedded-linux. Since it is simple embedded-linux, there are no network command lines such as netstat, lsof. (only basic command lines such as ...