Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

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 ...
3
votes
0answers
91 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 ...
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
5k views

Set Static IP in CentOS 6.4?

Most guides seem to revolve around modifying ifcfg-eth0, which doesn't exist on my system.. [root@Azaz07]# vi /etc/sysconfig/network-scripts/ifcfg-eth0 [root@Azaz07]# ls ...
7
votes
3answers
6k views

CentOS no network interface after installation in VirtualBox

I have Ubuntu 12.10 on which i installed virtual box on which I setup centos 6.4 i386. On Ubuntu I have: 3.5.0-17-generic kernal running. On virtual box I install centos 6.4 and everything works ...
4
votes
1answer
4k views

CentOS doesn't know what the internet is

So I've done my share of investigating this problem... I just recently created a CentOS 6 VM on my LinuxMint box using VirtualBox. I left all the recommended values the same upon creation (8GB HDD, ...
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
4answers
8k views

How to put Mac OS X wireless adapter in monitor mode

I'm searching for a equivalent of "iwconfig eth0 mode Monitor" in Mac OS. From man iwconfig mode Monitor does the following: "the node is not associated with any cell and passively monitor all ...
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 ...
2
votes
1answer
131 views

Why does't stopping the nginx server kill the processes associated with it?

When I stop nginx like this on ubuntu 12.04, I get the following errors: $ sudo service nginx stop Stopping nginx: nginx. $sudo service nginx start Starting nginx: nginx: [emerg] bind() to 0.0.0.0:80 ...
2
votes
1answer
49 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?
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, ...
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?
11
votes
4answers
5k views

Can I create a virtual ethernet interface named eth0?

This is a rather odd question, because normally it would not make sense to do that. I am running Arch based on the Linux 3.10.5-1 kernel. The system uses the new de-facto naming conventions of ...
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 ...
0
votes
2answers
111 views

ping not working for google alone

one of my friend changed some network config in my laptop at home, He said he tried something related to block a website(he tested it with www.google.com).Now www.google.com not loading . Even he dont ...
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
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 ...
1
vote
2answers
194 views

How can I use the same IP from the Internet and intranet?

I have an Ubuntu firewall box (Alma), at the office, with a web server on it. It looks like this: [Internet] <-> [DSL Router] <-> [Alma] | ...
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
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 ...
13
votes
5answers
11k views

How can I limit the bandwidth used by a process?

I have a CentOS 5.7 server that will be backing up its files nightly. I am concerned that visitors to the various sites that the server hosts will experience degraded performance while the backup is ...
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
96 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 ...
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 ...
4
votes
1answer
127 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
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 ...
4
votes
4answers
3k views

What's the easiest way to find an unused local port?

What's the easiest way to find an unused local port? Currently I'm using something similar to this: port=$RANDOM quit=0 while [ "$quit" -ne 1 ]; do netstat -a | grep $port >> /dev/null if ...
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
16k views

How to connect to Internet in Kali Linux after changing IP address manually?

I have a problem in my Kali Linux. I cannot connect to the Internet after changing my IP address using this command: ifconfig eth0 198.168.198.130 netmask 255.255.255.0 up After this, when I open ...
2
votes
2answers
1k views

What does ifup do when “/etc/network/interfaces” has an invalid netmask address?

The interfaces file looks like below: auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.0.130 netmask 250.255.255.0 gateway 192.168.0.254 As you can see ...
10
votes
2answers
1k views

How to open a port early in boot process to unlock LUKS via SSH

I have a fully encrypted server running Debian 7 and have set up dropbear and busybox to unlock the LUKS container via SSH (as described in this tutorial and in this U&L answer). Unfortunately, ...
5
votes
2answers
79 views

How to create Virtual Network for VM's

I have downloaded a Linux Live CD which I am required to do pentesting using VirtualBox . Live CD is configured for router with Pool Starting Address 192.168.2.2 . Now problem is that my router is't ...
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 ...
2
votes
2answers
90 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
73 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, ...
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 ...
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 ...
0
votes
1answer
49 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 ...
3
votes
1answer
201 views

Is there a way to renice the network stack?

I have an ARM Linux board that is a router to 16 other boards. When all these download their updates via the router, the network routing effort starves the user space so that a software watchdog (and ...
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 ...
3
votes
2answers
493 views

Does FreeBSD support network virtualization like Crossbow?

Does FreeBSD support network virtualization like Solaris Crossbow? I've tried to follow the VImage links from the FreeBSD wiki page, but the links are mostly dead. If VImage is no longer part of ...
2
votes
1answer
1k views

How to monitor other nodes to get RSSI?

I need to measure RSSI between two peers of nodes in same network. If I have these two information: SSID for their network. IP for the target node to get the RSSI regarding it. So I found this ...