Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
1answer
33 views

Converting unix command to windows [closed]

I have been provided a command to use in unix, however, I want to perfrom the same operation in windows. Is it possible ? It's a network configuration command that apparently interacts with a server ? ...
0
votes
1answer
44 views

Frequently Internet Disconnects

I have installed RHEL 5.8 on IMB server. Also I have configured static IP through eth0. When I try to ping any website e.g. google.com, yahoo.com It works only for 25-40 seconds and internet ...
0
votes
2answers
121 views

Ubuntu cannot find or detect new wired network adapter

I want to use two ethernet cards on my machine. So I've physically inserted the new ethernet card in to my machine. However when enter the ifconfig -a command Ubuntu cannot find or detect the new ...
1
vote
1answer
433 views

BOOTPROTO=none | static | dhcp and /etc/resolv.conf

What does it mean when it says BOOTPROTO=none in the /etc/sysconfig/network-scripts/ifcfg-eth0 file. I remember there used to be BOOTPROTO=static and it was very clear and straight-forward in telling ...
1
vote
0answers
71 views

How to route pakets from an aliased interface towards a gateway?

I'm having trouble setting up the following: Router IP: 192.168.1.1 PC Eth0 - 192.168.1.104 Eth0:1 - 10.0.0.1 (must be an alias) Besides ip_forward enabled, what should I add to iptables rules, so ...
3
votes
0answers
105 views

Unable to start network, <IP> is already in use for device eth0, but its not

A wierd issue after we migrated some of our servers to a new DC. We assigned new IPs to all the machines and all the servers are working fine except one. It is not picking up the new IP address and ...
2
votes
4answers
89 views

How to display the IP address of the default Interface with Internet connection?

I need to create a script that outputs the internal IP address, that is configured as the default Interface.
2
votes
3answers
107 views

Bridge/Router with custom logic

I've a Linux box with 3 network adapaters, which I'd like to configure as follow: Adapter A is connected to computer A Adapter B is connected to computer B Adapter C is connected to the Internet. ...
1
vote
1answer
125 views

Network interface not registring ARP response

I have a server with two NIC and it's running Ubuntu Server 14.04. The first one is the interface "p3p1" and it's connected to the subnet 192.168.1.0/24 with the IP 192.168.1.100. The second one is ...
0
votes
1answer
124 views

How to forward IP traffic between wlan0 and eth0 without killing network performance on the forwarding machine

I have a laptop running Debian 7 that connects to my building's Wifi. I want so share this network connection via the laptop's Ethernet port. I have setup a script below to do this based on some ...
2
votes
3answers
88 views

What's the most effective way to detect nmap scans?

As the title says, I am interested in detecting any nmap scans directed on a (my) GNU/Linux host. I would like to use snort in combination with barnyard2 and snorby for this, or if possible to perform ...
0
votes
0answers
28 views

How do you connect app and DB servers from separate containers?

With Docker, how can I make the DB in one container accessible by the app server in another?
0
votes
2answers
31 views

Start Networking at login

What I would like to do: I would like to start my wireless network after login (As apposed to starting at boot). Using my login credentials to run the command: sudo netctl start network. Instead of ...
1
vote
2answers
119 views

Add network eth with a separate gateway

OS: Debian Currently I have only 1 network connection setup (br0). I'd like to connect a second network connection (eth3) to a separate network/gateway. Everything should continue to be sent ...
1
vote
1answer
40 views

Diagnosing lost network connectivity on Ubuntu

My first question here so please be gentle. :) I have a Linode running Ubuntu 14.04, with a stack managed by ServerPilot.io. Only real modification is that I'm running HHVM in a limited fashion. ...
1
vote
2answers
80 views

Debian - how to run a script on startup as soon as there is an internet connection ready for use?

I am running Debian 7 Wheezy and I need to start some screens on startup as soon as there is a fully functional internet connection. However, not, if the internet connection broke and was connected ...
0
votes
1answer
36 views

trouble bridging tap0 and tap1

I have a GNS3 router that is connected to tap1 in my host. On the other hand, I have an user application connected to tap0 running locally in my host. I can ping both the router and my application. ...
2
votes
3answers
53 views

Listen on port that is already listed as source port of an established connection?

If a connection is in an ESTABLISHED state with local address 127.0.0.1:45000, would it be possible for a local process to bind and listen on the same port 45000 or would that port be considered ...
2
votes
1answer
30 views

Why is ping6 using IPv4 socket?

I enabled IPv6 in a CentOS 7 server and everything is working as expected, except for ping6: it is showing 3-5 delays between requests (but the RTT is fine): $ ping6 www.google.com <...5 ...
3
votes
2answers
49 views

Should /etc/hosts contain the domain name or the FQDN?

If I want to add an entry to /etc/hosts to resolve all traffic for example.com to 1.2.3.4, do I need to add 1.2.3.4 example.com 1.2.3.4 www.example.com 1.2.3.4 smtp.example.com 1.2.3.4 ...
3
votes
1answer
67 views

kernel martian source to and from same IP

We are intermittently seeing kernel: martian source log entries for eth0 on a couple of our servers. The interesting thing is that they are to and from the same IP. For instance: Nov 4 02:20:27 ...
1
vote
1answer
27 views

U-boot static IP doesn't seem to “apply”

When I enter the command setenv ippaddr xxxx.xxxx.xxxx.xxxx it doesn't seem to actually connect to the network on that address. I have a private network set up with the address in the same subnet ...
1
vote
1answer
36 views

Relay server for generic TCP traffic?

Here's my situation: I have a computer (Mac) on a school network that I want to port forward TCP 5222 to for ejabberd, but of course I can't. I have a server at home (Mac with FreeBSD VM) that I can ...
1
vote
1answer
63 views

Cannot install Intel NIC in Debian squeeze

I've upgraded an old machine to a brand new i3 (Asus H97-PRO motherboard, cpu and ram only) and Debian accepted it quite well, except for the network card. I'm having some trouble trying to install ...
2
votes
1answer
55 views

How to kill processes using a network interface

The issue I'm having is that whenever I just remove my USB wifi card, it kernel panics and reboots the system. Is there some way to detect and kill any processes using the wifi card automatically to ...
1
vote
1answer
47 views

Can I add to Linux's privileged ports?

Ports under ~1000 are privileged in Linux. That is to say only root can bind them. There are various reasons, amongst them security: You know that whatever binds one of these ports had root (or ...
2
votes
2answers
104 views

Understanding hostnames

I was recently setting up an MTA on a VPS, and while configuring it I realized I’m quite confused about the concept and implementation of hostnames in Unix. I have a solid understanding of the DNS, ...
1
vote
0answers
26 views

Run two interfaces on one network card

Is it possible to run two different network interfaces (e.g. being connected to two different wlan-networks) on one card in parallel on linux? If yes, how? If no, why not (I would be glad about a bit ...
0
votes
0answers
52 views

connected to ethernet and wifi, “route” browser's connection to wifi only

Sometimes, in my company, I have to work with a different network (through ethernet) that has no internet. On the other hand, I do have access to out Wifi, which has internet. Since I have to spend a ...
3
votes
0answers
29 views

Xen domU sort of ignores /etc/network/interfaces

I have a Debian based Linux installation, that gets around: It started out on a physical system, then I moved the OS into a VMware container and then into a Xen container. As physical and VMware ...
1
vote
0answers
72 views

Setting up a 802.11s mesh network for mobile devices to communicate with a wired server

I'm in the process of developing an android app that maintains a device's connectivity to a linux-based WiFi mesh network, and periodically sends status information (GPS, battery life, etc.) to a ...
0
votes
1answer
48 views

Can't use hostname for my linux machine

I installed apache on my RHEL machine yesterday and found I could access it from a browser using http://. Of course, sshing using the hostname was also working. So, I made an index.html file inside ...
3
votes
0answers
35 views

Workstation-like environment across Debian clients

At our university we have a workstation-like system. It's windows XP (or Win-7 on some machines) and you can sit to any computer and log in with your credentials. It seems to be pulling some of your ...
1
vote
1answer
26 views

Start a service on a network request (socket activation)

I have a program that under normal activation listens on some port. I don't want the program running continuously. Is there a "quick and dirty" way to wrap the application in a shell script or ...
0
votes
0answers
26 views

How can I compile and run a program designed for an older kernel version (2.6) in a newer kernel (3.16)?

I'm trying to run a driver for a network card, but it only supports kernels up to 2.6.32. I need to be able to use this piece of hardware to connect to the Internet. The device I'm using is "VIA ...
0
votes
0answers
18 views

What is the functional difference between wpa_supplicant and the system's /etc/networks/interfaces file?

I understand that one is a program and that one is a configuration file used by linux, but practically what is the function of each of these pieces in conjunction with my computer's network ...
1
vote
0answers
67 views

Connect to IPsec VPN using OpenSwan

I'm connected to Internet with a simple ADSL router with NAT. I have a smartphone and a laptop running linux. I need to connect to a IPsec server using OpenSwan. First I tested that it is possible to ...
1
vote
1answer
52 views

tcpdump won't capture entire packet

I'm using sudo tcpdump -A -s0 -ien0 port 80 | grep schemas-microsoft >> ~/Downloads/convert.txt to capture microsoft-schema xmls being sent throught the internet, when tcpdump is supposed to ...
1
vote
1answer
69 views

How can I manually reset RX / TX counters in ifconfig output without impacting data delivery?

CentOS 5.9 I'd like to reset the RX/TX counters in ifconfig output for an interface. My understanding is that these counters get reset during a reboot but I'd like to avoid rebooting. Is there ...
0
votes
1answer
19 views

Fedora does not load some sites in home network

Since I switched from Windows 8.1 to Fedora 20 (my first time Linux experience) I have problems in my home network. When I surf from the office with the notebook, every site loads fine. As soon as ...
2
votes
1answer
54 views

How to do mac spoofing on Linux Mint 17?

How to do mac spoofing on Linux Mint 17? Through macchanger -a I've tried to changemy mac address but new mac id doesn't authenticates successfully. pppd gives successful authentication message only ...
1
vote
1answer
68 views

Reverse DNS PTR lookups ocurring on each connection

I'm running a Debian-based VPS (Linux vps 2.6.32-042stab092.3 #1 SMP Sun Jul 20 13:27:24 MSK 2014 x86_64 GNU/Linux) which is behaving a bit strange. Whenever a new connection is established to it, it ...
0
votes
0answers
28 views

route -n gives output “route: fscanf”

If I boot my system and no interface has an IP address I get the above output. However if I give an interface an IP, even if I remove it again, this will disappear. Why does this happen? Is it that ...
1
vote
0answers
78 views

How to reach interface alias bond0

I'am setting up an interface alias with my bond0 network. Why am I not able to ping/reach the second ip address, in this case 192.168.30.84? However I can ping the address from another server. ~# ...
1
vote
1answer
14 views

How to apply a parameter to packet so TC can prioritize\classify it

I want to add a parameter to the packet so that I can later let TC (HTB in specific) prioritize my packet (based on filtering that parameter). I thought about filtering by socket but as I understand ...
1
vote
1answer
87 views

Allow multicast packages from the bridge to wire in KVM

On a CentOS 6.5 host, I have a couple of guests - Ubuntu 12.04 and CentOS 6.5. The Ubuntu guest is generating mcast traffic that is visible via a tcpdump on the br3 interface. It is also visible on ...
0
votes
1answer
75 views

Getting all IPs of devices connected to the same router

I have several linux devices connected to the same router (of which I am not a administrator). How can I find out the ip addresses of all other devices by executing some commands in one of them?
3
votes
0answers
65 views

Create virtual network adapter with own MAC and IP?

I have a server with 4 different IPs over one real NIC. Now i try to setup different virtual network adapter in debian with this IPs. The Problem is, that each IP needs also a specific MAC. Otherwise ...
0
votes
1answer
62 views

Isolate subnets on the same interface

I need to isolate Subnets on a linux machine CentOS that act as gateway. I have the following scenario. CentOS eth0 pub ip addres eth0.1 192.168.1.1 eth0.2 192.168.2.1 Now eth0.1 and eth0.2 can ...
5
votes
2answers
128 views

How to check programatically if the Ethernet cable is plugged in?

As you know, in Windows, when we plug in the network cable, the network symbol will change to another status. How can I know whether the cable is plugged in or not via the command prompt in Linux?