Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

2
votes
0answers
62 views

How does ssh work when client and host are on the same machine? [closed]

I illustrate my question with the help of docker containers but this example is orthogonal to the rest of the problem. In fact any program that allows the use of bridge interfaces and ssh would do. I ...
2
votes
0answers
282 views

Openswan ipsec hub and spoke setup is not working

I have configured Hub and Spoke using openswan ipsec. Tunnel is immediately getting UP but the problem is: Spoke1 can ping/access HUB's LAN and vice-versa (S1 -- HUB && HUB -- S1) Spoke2 can ...
3
votes
1answer
79 views

What is the difference between hostname, hostname --fqdn, and hostname -A

I have a machine I changed the hostname of. I changed it in /etc/hosts, /etc/sysconfig/network, and with hostname command. hostname returns the correct shortname, hostname --fqdn returns the expected ...
2
votes
1answer
512 views

redirect web server with no-ip and port forwarding in livebox

I want my Apache web server running on a Livebox (home router appliance running Linux) to be accessible from the Internet (WAN). I installed and configured the application noip2 on my Ubuntu PC. ...
5
votes
3answers
2k views

How can I tell if my wifi dongle has access-point capabilities?

I have a Realtek 8191SU USB wifi dongle for use on my Raspberry Pi. I'm trying to set up a wifi access point using this tutorial. However, I'm running into a few errors, and I suspect it might be ...
4
votes
1answer
239 views

How to rollback network configuration changes done over SSH in case of failure?

I'm about to change iptables configuration and interface speed and duplex settings over SSH. What are the possibilities to rollback the changes in case of host becomes unreachable? I guess simple: ip ...
0
votes
0answers
28 views

How can I use 0.0.0.0/0 in ipset hash:net,port?

Right now, if I do ipset a ansible_allowed 0.0.0.0/0,tcp:22 I get ipset v6.19: The value of the CIDR parameter of the IP address is invalid and instead I have to add 0.0.0.0/1,tcp:22 ...
1
vote
1answer
114 views

Internet connection being lost after about 10 seconds

Okay so I have looked at this post Network connection drops after a few seconds, Which looks similar to the problem I am having but I have only just got Linux and can't work out what to do. Before I ...
4
votes
2answers
713 views

BIND9 as a DNS server refuses requests

I am trying to set up a DNS server on Amazon Linux using BIND9. It has to act as a master nameserver for a lot of domains. I have imported all of the DNS zone files using NamedManager (a web ...
2
votes
2answers
1k views

Packet loss with RX error packets

I am seeing packet loss from all my blade servers within the HP Blade C7000 enclosure. # ping 192.168.2.140 PING 192.168.2.140 (192.168.2.140) 56(84) bytes of data. 64 bytes from 192.168.2.140: ...
1
vote
0answers
37 views

How to route network in order to use internet on CentOs?

I have 2 computer in local network which have CentOS both. One has wireless card which can use internet connection. Other computer does not have internet connection. I want to route ip addresses in ...
1
vote
1answer
40 views

Unable to access an http sevice forwarded using ssh

I forwarded a port from a remote server (which has Tomcat running on it) to a local port on my machine. Say, if the remote server address is http://myremoteserver.com:8080, I forwarded the port to ...
1
vote
1answer
53 views

repair the static route to allow traffic to right place

I recently was taking an online test and I got the below question. The server has been configured with a TUN device tun-aib0 that acts as an endpoint for a VPN tunnel. The IP address of the device ...
3
votes
3answers
68 views

How can unix computers find each other by hostname?

I have a home-network with several windows and Linux machines which have samba installed. on windows I can find each other computer fine via its hostname. however on a linux computer I cant find any ...
0
votes
2answers
130 views

cannot find device “eth0” [closed]

Hey Arch linux users out there! I am new to arch linux( coming from ubuntu), and have just installed arch linux on my machine. After rebooting I wanted to install some packages using pacman -S, but ...
1
vote
1answer
34 views

network interface counters not working?

I just built a router and installed it with Ubuntu Server 14.04 LTS. The system has two NICs, one for the internal network and one for the external (p3p1) network. I'd like to monitor external ...
0
votes
0answers
20 views

Break down a pcap file into individual flows and modify them

I have a pcap file and I want to: separate every flow separate responses and requests in each flow modify ip and port in some packets reply packets Is there any utility in linux that helps me for ...
1
vote
1answer
60 views

Through NM says I'm connected to a wireless network, firefox can't connect to any site

Installed Ubuntu 14.04 LTS from a USB stick to a partition on my Dell Inspiron N5010. I login to Ubuntu and opbserve the Wifi appears to connect to teh wi-fi network, but Firefox cannot connect to any ...
5
votes
2answers
2k views

How do I tell a script to wait for a process to start accepting requests on a port?

I need a command that will wait for a process to start accepting requests on a specific port. Is there something in linux that does that? while (checkAlive -host localhost -port 13000 == false) ...
7
votes
3answers
191 views

Setting up a unix powered network

I want to set up several computers on a LAN, all connecting to one unix server. The primary goal being that the user accounts should only exist on the server. So that any user could access his normal ...
2
votes
0answers
34 views

reset Ethernet bonding without rebooting

I have the following Ethernet bonding configuration: old configuration: bond0 eth0 eth1 bond1 eth2 eth3 new configuration : bond0 eth0 eth2 bond1 eth1 eth3 I have made the ...
0
votes
0answers
38 views

Why can't I connect with Vuze Remote to Vuze over wifi?

I have Vuze Remote on my Android, it works fine with the mobile network but I can't connect through my work netwok(Wifi-LAN). It just sits at connecting or gives an error message wich says that the ...
1
vote
3answers
83 views

Network statistics on linux

I am trying to write a small script to gather network statistics on my Linux system. Is there any way I can do this? What I'm after is live stats on current network throughput. I have done some ...
0
votes
2answers
77 views

What does eno1 and lo mean

I have tried using google for this and cant seem to find much results. When running cmd in bash netstat -i I am returned something which looks like this Kernel Interface table iface MTU ... ...
11
votes
4answers
556 views

How am I supposed to edit files on a network with Vim?

Currently I'm doing it by SSHing into a server, and executing Vim on the server. This has the benefit of not having to deal with cumbersome syntax of opening files from a remote server over SCP, and, ...
1
vote
1answer
112 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 ...
-3
votes
1answer
1k views

Installing openSUSE 12.1 on Asus Zenbook UX32VD

Tales of woe (or, the backstory) So my boss who hates the idea of windows and virtualization had brought me his fancy new Zenbook UX32VD wanting openSUSE 12.1 to be installed on it. SO far I have hit ...
3
votes
2answers
50 views

How can I force chrooted programs to use a virtual ethernet device?

First off, this is not for security reasons, or for use in a production environment. It's because I want to mess around with different configuration management systems on relatively low-spec ...
2
votes
2answers
154 views

What is the advantage of a network installation?

Looked into a network installation of fedora there. It seems you need to setup http & ftp servers on the host along with booting from a cd. So what are the advantages of installing linux over the ...
1
vote
1answer
63 views

rhel 6 default gateway not working

I have six similar RHEL 6 servers in the lab and the settings are same in all the servers. The settings are, static IP address: 129.XXX.XXX.XX Subnet Mask: 255.255.254.0 Default Gateway: ...
2
votes
1answer
607 views

mutliple default gateways for alias interfaces (SOLVED)

Alias interfaces defined in /etc/network/interfaces cannot have multiple default gateways. Unfortunately I would like to use the same interface to access 2 differents nets, and I need to define 2 ...
0
votes
1answer
29 views

Network locations like OSX

I couldn't find anything like that on Google, so I am asking it here. Is there a way to make multiple network configurations that can be activated with one click like OSX? Like for example, one that ...
1
vote
0answers
64 views

How to configure a “point-to-point” connection with RedHat 6.5?

My servers are hosted at Hetzner and I need to create a point-to-point connection to my gateway. The server can only reach its gateway (and its locally configured) IP addresses directly. All other ...
0
votes
1answer
23 views

home-built router - slow throughput

I am having slow performance with my home-built router. Compared to a stock Verizon (actiontec) router, it gets about 60 Mpbs down and 30 Mpbs up whereas I get about 15 Mbps and 20 Mbps up. I ...
0
votes
0answers
20 views

Need help setting up networking for KVM on Gentoo with exit to wifi adaṕter

I am running Gentoo Linux on an AMD64 laptop, and I am having an extremely hard time setting up host networking on KVM. I alreay have KVM, libvirtd, virt-manager, the kernel modules required to get ...
1
vote
2answers
51 views

Removed GNOME desktop, cannot connect to internet from terminal

I'm using Fedora 19. I removed my GNOME-Desktop (sudo yum remove @gnome-desktop). After that when I try to connect to internet from command line i'm facing all sorts of issues.. Ethernet cable is ...
0
votes
1answer
47 views

How to test that my server is indeed in 1gbps connection?

I ordered a server and the host say I got 1gbps connection However, because I set up the server incorrectly, the speed drop to 10mbps I think now it has been fixed. But I want to make sure. This is ...
2
votes
1answer
63 views

What is the purpose of UUIDs for NICs?

On Fedora/RHEL/CentOS there is a line in /etc/sysconfig/network-scripts/ifcfg-x files which defines UUID: UUID=30fcd648-ad1e-4428-as6f-951e8e4d16df NICs have MAC addresses by them selves, so what ...
9
votes
1answer
153 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?
1
vote
2answers
177 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
140 views

How to connect to an 802.1x wireless network via nmcli

I am able to connect to 802.1 networks via the nm-applet. I do not like doing this as I am running without a nm most of the time and I would hate to load up one just to connect to a wireless network. ...
3
votes
4answers
798 views

Clock skews on remote machines

I am performing some experiments on a network of about 10 remote Linux computers which are geographically scattered. I suspect some of them have clock skews but they are seen transiently (eg. once in ...
3
votes
1answer
32 views

Which network services depend on the “accept related input” iptables rule?

Background I am setting up a firewall for a webserver and was wondering if it would be a good security meassure to even reject RELATED input traffic and only except established connections by ...
0
votes
0answers
12 views

Linux - Mint, wifi aircard issue

I have a microsoft aircard (model 1051 notebook reviever2.0) that I use for wifi. Linux Mint doesn't auto detect wifi with it for some reason. How do I get this to work? Do I need a driver?
3
votes
3answers
169 views

Change IP address of a Virtual Machine running linux ubuntu on windows 8?

I currently have created two virtual machines in VirtualBox both running linux Ubuntu 14.04, and now want to have them have different IP addresses. (By default, they have the same IP address.) ...
1
vote
1answer
26 views

Re-routing request and response to server behind a VPN

My situation is as follows: I have a server (A) set up with a VPN connection to a third-party server (B). I have a collection of other servers (C, D, E...) that share the same private network as my ...
0
votes
1answer
44 views

What's the default server root path (CentOS7)

In /etc/httpd/conf/httpd.conf line 36 the ServerRoot is set. Mine is : ServerRoot /etc/httpd But this returns a syntax error when I try to start httpd service. Can anyone give me the default ...
0
votes
2answers
131 views

netstat shows an ESTABLISHED connection with no process

I am debugging some problems with postfix. When I establish a connection nothing happens and netstat shows: $ netstat -anp ... tcp 0 0 129.132.202.106:25 129.132.179.232:60154 ...
2
votes
3answers
88 views

waiting for network in a bash script

I'm running a script that relies on network being up and a network share be mounted. The script runs on login (which happens automatically after boot). The problem is that by the time the script runs, ...
0
votes
2answers
95 views

Debian VLAN (8021q) Configuration doesn't work

I try to setup VLANs on a virtual Debian machine. It's connected to an Cisco 2960 Switch. The Switch has 3 VLANs (1,100,200) which're allowed the pass the trunk. The Switch Configurations was tested ...