Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
1answer
2k views

Using ping on multiple interfaces on a NIC

I have two systems and each have a NIC with two ethernet ports. One system has a verified NIC card, but the other has a NIC which has to be verified. I use ping to verify whether the interfaces on ...
1
vote
2answers
2k views

Split DNS (bind9), match-clients any doesn't work?

I've been fighting with this for the last few days. A few of my entries have external and internal IP's. My internal network is 10.0.0.0/8. When I nslookup pc1.clase.net internally it responds with ...
2
votes
2answers
26 views

Is there a way for pre-setting proxy addresses for specific networks?

I'm tired of commenting in and out different proxy acquire lines which located in /etc/apt/apt.conf.d/10proxy as I change networks. Is there a way for binding the settings for networks? Iphones have ...
4
votes
1answer
45 views

What is /proc/<pid>/net/dev?

I'm interested in per-process network I/O counters, like those in /proc/net/dev and found what I thought was it under /proc/<pid>, i.e. /proc/<pid>/net/dev. But it seems that was too easy ...
2
votes
1answer
48 views

Static IP address without a gateway

Simple question. I have a machine with multiple network interfaces, two for example - eth0 and eth1. eth0 has a static address and has a default gateway assigned. eth1 has a static address and will ...
1
vote
1answer
827 views

Arch Linux Ethernet to WiFi bridge

I want to use a Raspberry Pi running Arch Linux to extend my WiFi network. My situation is that I have a spare WiFi router that I want to use to expand my WiFi reception range as well as give me a few ...
11
votes
3answers
11k views

Can one ping a NIC by MAC

I have an NIC card on a Debian machine somewhere. The machine is turned off, but I need to know whether the NIC card is turned on so that I can send a wake-on-lan magic packet later (from another ...
6
votes
1answer
1k views

Is there a method for simulating high latency?

This is a very good answer about how to limit bandwidth. Now Bandwidth is not my primary concern - latency is. What happens if I put a few hundred kilometres between my application-servers and its ...
3
votes
1answer
636 views

How do I create a USB networking interface for passing internet to my Android phone?

I am working on passing through the internet from my computer to my phone (running Android) over USB. I'm not sure how to achieve this, but I know I will need a usb network interface, such as usb0. ...
2
votes
1answer
33 views

How to use network interface as non-root user on Android? [closed]

I want to communicate between my Android device and my Linux box over IP through the USB network interface mode. I have connected my Android device to my Linux box with and put the Android device ...
1
vote
2answers
2k views

ping: unknown host with iptables enabled

I can't ping www.google.com. However I can ping the IP address: ping 74.125.237.142 At first, I thought it is a problem with my DNS settings. But I checked my resolv.conf, hosts, and hostname ...
1
vote
3answers
20 views

Remote installation of packages on Ubuntu

I am trying to work on a project where i am supposed to install softwares and packages on one system and it should replicate on other systems connected on LAN. How can i proceed with this?
0
votes
0answers
19 views

Can't find connected devices on wifi network

I've been having some issues with finding my devices on the network.. Ettercap & nmap and everything else I have tried does not find a host that is connected to my gateway? I have three devices; ...
6
votes
2answers
266 views

Dump network traffic of single application (strace-like)

I'm looking for a way to dump pcap of network data generated by an application, in a simmilar way strace dumps syscalls, etc. eg: net-strace somecommand -args somecommand would do something over ...
2
votes
1answer
56 views

Ubuntu 14.04 server: Change em1 to eth0 - no /etc/udev/rules.d/70-persistent-net.rules file

I am trying to rename one of my network interfaces from em1 to eth0. I do not have /etc/udev/rules.d/70-persistent-net.rules. I have tried to regenerate this file by running these commands: udevadm ...
0
votes
0answers
40 views

server1 ssh's to server2 but server2 sees server1 by it's private ip due to both servers being on the same firm/network

I ssh into server1 via it's public IP from server2. I then ask server1 what my IP is. i.e. server2's IP. It shows me server2's private IP. I want it to show me server2's public IP. If server2 was ...
0
votes
1answer
75 views

iptables - how to drop protocols [closed]

I have the desktop-server Debian Jessie machine running for testing purposes just for 19 hours now. I have already set a few rules as you can see above. But I am not really into networking. So it ...
1
vote
3answers
115 views

Which program is altering my resolv.conf?

On Debian 8 stable, I add dns server IPs in /etc/resolv.conf but after some time they get overwritten. I don't have gnome installed (I use i3wm) and network-manager is not installed either. On ...
4
votes
2answers
1k views

NAT and source IP filtering in PF, using OpenBSD >= 4.7

I just read a book about PF (The Book Of PF, No Starch), but there's one question not answered by it. If I have a gateway machine using two interfaces, $int_if and $ext_if, and I NAT the packages ...
2
votes
1answer
4k views

Can I change uuid for network interface in ifcfg-eth* using uuidgen?

I'm creating a script which configuration the network interfaces. The script which generates /etc/udev/rules.d/70-persistent-net.rules and names interfaces to my preference. In CentOS 6.5, my ...
0
votes
0answers
33 views

Configure firewalld properly to access a subnet of docker containers from outside the host

Background I have a Fedora 22 Server running a docker daemon. For some reason, i want not to use the "docker0" subnet (which masquerades ip, and i do not want to change this), but my own bridged ...
-1
votes
1answer
717 views

Kali linux network connection icon missing

I was trying to setup a vpn connection in Kali linux but i don't know what did i do that network connection icon (screen top right) is missing and i can't connect to internet! How do i fix it?
0
votes
0answers
13 views

How to configure internet connection on LiveCD?

I access LiveCD on remote server over IPMI iKVM. I started Scientific Linux LiveCD yet I see that it has not picked up internet automatically. Server was provided to me with a file containing some ...
3
votes
1answer
20 views

Proxify dns queries for bash command

I want to use different dns server (not tor, any dns server i set) for certain terminal command. Say it would looks like $ DNS_SERVER=8.8.8.8 dnsify ping example.com and it uses google dns. I know ...
2
votes
0answers
34 views

More than 255 Linux GRE tunnels

Is it possible to set up more than 255 GRE tunnels in Linux? It seems that 255 is the default maximum, but is there any way to increase the limit?
1
vote
0answers
20 views

How to permanently update /run/network/ifstate [closed]

I had a system (ubuntu server 14.04) installed on a machine with only 1 NIC. I moved the hard drive to one where there is two. I can properly configure my network, but each time I edit ...
0
votes
0answers
25 views

Internet connection proflem on CentOS and Redhat linux

I am new on CentOS and installed dual boot with windows 7. I am using a local isp internet on my windows7 system but can't access through centos. On centOS system, using the same IP, DNS, and Server ...
0
votes
1answer
59 views

how to access Internet using modemmanager and not network-manager

i all I recently bought a tata docomo dongle. On inserting it I got the below details :- Aug 05 17:30:46 think-debian kernel: usb 1-2: new high-speed USB device number 5 using xhci_hcd Aug 05 ...
-5
votes
0answers
62 views

dns queries not answered plus broken https

I am on kali linux which means debian wheezy. I didn't change or install anything new,it just came out of the blue when i booted in. I am alone on the network. Router is D-link 2730U I was just ...
1
vote
2answers
21 views

Adding recursive entries into `/etc/hosts`

I'd like to add shorthands for various FQDNs into the /etc/hosts file, such as: pyrrha.compsci.university.org. pyrrha Is there a way to force the local DNS resolver to process the /etc/hosts ...
0
votes
1answer
32 views

New Kernel does not automatically reconnect to network

I tried playing around with compiling my own kernel. Everything is fine so far, except for that one thing. Whenever I leave a wifi network or unplug my ethernet cable the system does not recognize, ...
1
vote
2answers
648 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) ...
2
votes
1answer
57 views

What does the “first Ethernet card” mean in the BSD world?

https://www.freebsd.org/doc/handbook/network-routing.html The designation link#1 refers to the first Ethernet card in the machine. Question: what does the "first Ethernet card" mean? How to ...
2
votes
2answers
157 views

Is it possible to add some 'PXE Network Boot' option to GRUB?

This is an example of my available GRUB menu boot options: 1 menu label ^ 1) Xubuntu 14.04.02 LTS 2 menu label ^ 2) Windows 7, x86 & AMD64 3 menu label ^ 3) Windows 8, ...
1
vote
2answers
10k 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
0answers
44 views

Networking of a new ip?

So I was trying to forward my new ip address, but It completely messed up the networking of the entire box, does anyone know how I could get this to work? The ips are correct, just do not know about ...
0
votes
0answers
22 views

Can't access http anymore

My computer A is connected to an AP with an access to the internet. (interface called new0) I cannot have more than 1 computer connected to this AP. (authentification) I wanted to share internet, so ...
0
votes
0answers
14 views

Renaming build name while build is running on a port

We have a client that hits a server(tomcat) and on that server we have deployed builds which runs on different ports. To understand better lets say we have four builds running on four different ports ...
0
votes
1answer
44 views

How to set IP based on interface name (not MAC) on Centos 6.5

I'm trying to automate the network interface setup that will be used on identical boxes. The boxes have 3 different NICs. Each of the 3 NICs have different MAC prefixes that I can use to differentiate ...
4
votes
3answers
63 views

How to skip DHCP if no cable connected to ethernet in Debian

My Bananian Linux is wasting time at logon trying to get a DHCP lease for eth0 interface which is not connected. Well, the extender cable is connected to it, but nothing is on the other end. I have ...
1
vote
1answer
31 views

Networking fundamentals: what IP is assigned a NIC if there is no successful DHCP negotiation?

On Windows computers, when there is no DHCP server found on the network interface, it gets assigned some IP address like: 169.254.x.x So it is supposed you can find it on the network using tools ...
0
votes
1answer
2k views

Set up network with static IP and wpa_supplicant on Debian

On Debian, I am trying to set up my network to use ad-hoc mode with a static IP address. I also want wpa_supplicant to be running so that I can scan use it to scan for WiFi networks in range. To get ...
0
votes
1answer
61 views

Change Netatalk server name

Is there a way to change the name of a Netatalk AFP server, as shown by the client? I run Netatalk3 on FreeBSD 10.1 with OS X clients. On the clients I see the server labeled with its hostname. I ...
5
votes
2answers
2k views

Elementary OS shows WiFi networks, but won't connect

In the top bar, clicking the network icon shows a list of networks. My school's network, which on Windows I would connect to, and then visit a login page in Chrome in order for it to work, shows on ...
7
votes
4answers
43k views

Network interface eth0 not up at start on Debian 6

I have Debian 6.0. In my interfaces file (/etc/network/interfaces) I have the following lines: auto eth0 iface eth0 inet static address 192.168.0.8 netmask 255.255.255.0 gateway 192.168.0.1 ...
4
votes
2answers
70 views

How can I use Linux as a Gateway?

NOTE: If client devices (computer B in this example) want to obtain internet through the gateway computer, maybe they still need to configure nameserver resolution. This is not explained here ...
0
votes
2answers
6k views

Setting up hostapd with a iwlwifi device to run a hotspot

I am trying to configure my opensuse 13.1 system to function as a hotspot (on my dell xps13 computer). So I tried setting up hostapd as explained here, but I get an error: hostapd ...
6
votes
3answers
788 views

Fedora 20 dosen't accept correct PIN for mobile broadband

I have a problem with the WWAN (Qualcomm Gobi 2000) in my Lenovo ThinkPad W510. I can not unlock my SIM card with the correct PIN. I enter the PIN in this dialog and after this I get immediately ...
0
votes
1answer
49 views

Centos 7: failed to bring up/down networking: configure interface for a trunk interface

The switch configured on the server (Centos 7) is configured as trunk for VLAN#115,2014. I have loaded # lsmod | grep 8021q # modprobe 8021q I would like to configure an IP address on the server ...
2
votes
1answer
921 views

Connect Linux to two networks simultaneously

I want to connect to two networks simultaneously using the Ethernet and in-built WiFi or to two WiFi networks by installing an additional WiFi adapter. My requirement: I have two sets of devices ...