Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
1answer
751 views

Fedora 20: Failed to start LSB: Bring up/down networking

I'm trying to restart my networking service in Fedora 20, and I get the following error: [dev@localhost das]$ sudo service network restart [sudo] password for dev: Restarting network (via ...
1
vote
0answers
11 views

Two way internet sharing configuration (swiching modem from one machine to another)

I have: One Raspberry Pi with Raspbian (distribution based on Debian), with one enthernet interface One laptop with windows, with one ethernet interface One USB modem Ethernet cable between Pi and ...
3
votes
1answer
1k views

problem with server bonding interface configuration

We are facing some problem with configuration of servers: There are 2 servers, each one contain 2 NICs which are in bond. Each server is connected to 2 Cisco switches (one connection from each NIC to ...
4
votes
2answers
667 views

Access point (with hostapd) on the same interface as the network/gateway?

I wonder if it should be possible to have an wireless access point using hostapd (as described in Set up an access point) on the same interface that connects to a wireless network for internet. I ...
2
votes
1answer
2k views

Heartbeat 3 binding socket error

I've been tying to install Heartbeat3.0.5+Pacemaker1.0.12 on CentOS 6.3 64bit via yum. The installation seems to be successful, but there is a problem when starting Heartbeat. I put some info related ...
1
vote
1answer
90 views

Reboot when no network connection does not work!

I have a Raspberry Pi that I use as a NAS for my local network. It works fine, but when I turn off the router to which the pi is connected, it permanently loses the connection. To be able to connect ...
0
votes
2answers
2k views

I'm not able connect internet from vmware player with centos

I installed centos 6.4 and when I installed I set the network config. But somehow centos did not save them. Now I forced server to use dhcp but it is taking wrong IP address and it is not able to ...
2
votes
1answer
681 views

Airdrop compatible

Is there anything in Linux that implements whatever it is that makes Airdrop in OS X work? I'm not really familiar with that program, so I'm not sure what protocol it's using to communicate. update ...
2
votes
3answers
3k views

Auto connect to a wireless network (Ångström Linux)

I am using Ångström Linux on BeagleBoard-xM. I have installed a RTL8188SU USB Wi-Fi adapter and configured it properly. But it doesn't connect automatically even though I have marked the interface as ...
0
votes
0answers
39 views

How to merge two network interface in one?

I have two network interface on my router: wlan0 and wlan1. First for 2.4Ghz and second for 5Ghz. Also i have Coova-chilli with setting HS_LANIF=wlan0. Therefore captive portal (chilli) work for only ...
1
vote
1answer
24 views

Re-enable route cache

In my kernel log I found: lo: 5 rebuilds is over limit, route caching disabled I know what triggers route cache rebuilds (too long hash bucket chains), but what exactly gets disabled? Which device? ...
4
votes
1answer
321 views

Using source routing (LSRR) - any ideas?

What I want to do is conceptually very simple, but I can't find any information or help about how to go about doing this. Basically, I want to configure my networking to use source routing (LSRR). ...
2
votes
1answer
28 views

Absolutely jail a user with minimum IP, file, & command rights

I am trying to secure a custom application as much as possible from outside tampering. I've seen many pages on jailing a user, but they usually include many exceptions, and I want to lock down this ...
1
vote
1answer
28 views

curl timeout troubleshooting

I tried to curl popular websites e.g. curl google.com or curl google.com:80 and there is always a timeout error. Some troubleshooting steps performed: Able to curl localhost with response Able to ...
0
votes
0answers
14 views

Proxy for certain networks

Is it possible, on a system using NetworkManager, to configure a system-wide proxy if I am in a certain wifi-network, but not otherwise? It would also need to log in to the proxy with a username and ...
14
votes
5answers
9k views

Sending audio through network

This is a rather crazy idea. I am planing to set up a configuration that would send audio being played on my laptop to my home server via local network so that the sound is played on the server ...
6
votes
1answer
690 views

Creating VLANs between network namespaces

I want to implement the topology shown in the figure below using network namespaces (ns1 to ns4). ...
1
vote
1answer
22 views

Cannot ping machine on eth0; Pings fine on wlan0; Centos 6.5 on Dell D610

I recently installed Centos 6.5 (32 bit) on an old Dell D610. It has both a lan port and a wifi. When I assign the wifi a static IP, I can use it as a server, connect to it from other machines etc ...
3
votes
1answer
1k views

Networking and Samba from a quest OS running on qemu

I'm trying to test some software on a big endian system to ensure compatibility. My plan is to use qemu on Ubuntu 12.04 to emulate a MIPS system. So far I've been able to create the quest system ...
3
votes
1answer
257 views

Configure applications to ask for a user:pass behind a proxy

Here's the deal: I'm trying to set up a SQL server with Debian Linux, I managed to install Debian - but I can't get apt-get to work, since I'm behind a proxy. I already managed to setup Iceweasel to ...
1
vote
2answers
50 views

netcat to capture ethernet

How can I make sure the result of the following command: nc eth0 &> capture.txt would capture the data + errors transmitted via eth0?
1
vote
2answers
2k views

Slow network with e1000

I've got a problem with my network speed. I sometimes have full download speed (i.e. 5 MB/s, which is about my max. internet dl-speed) and sometimes comparable slow speed (about 0.5 MB/s). This is ...
2
votes
0answers
52 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 ...
3
votes
2answers
718 views

Open and redirect port

I'm trying to set up SNMP for a router so I can monitor it from an existing Nagios installation on an off-site server. I'm having trouble getting the router to respond to SNMP requests from the WAN, ...
0
votes
2answers
416 views

Need to add virtual interface in Suse Enterprise Server edition permanently

How can I add virtual interface in SUSE Linux Enterprise Server 11 permanently?
2
votes
0answers
264 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 ...
4
votes
2answers
724 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
2answers
432 views

keep losing IP with dhcpcd

I have an Arch Linux install in a VirtualBox VM, and as I'm working all of a sudden, it will lose it's dynamic IP address. When this happens, if I check on the status of the dhcpcd service it says ...
3
votes
1answer
58 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
503 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
235 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 ...
3
votes
2answers
6k views

eth0 not being configured automatically

When I start an ubuntu 12.10 instance, eth0 is NOT getting configured. davidparks21@MySqlDB:~$ cat /run/network/ifstate lo=lo When I manually edit ifstate and add eth0=eth0 and service restart ...
2
votes
2answers
1k views

Configure multiple interfaces with different hostnames using DHCP and DNS

I have a machine running Ubuntu 12.04 Server with two interfaces connected (eth0, eth1) to the network. Our network is set up so that a FreeBSD based DHCP server hands out leases and registers the ...
0
votes
0answers
22 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
0answers
33 views

How to find all available networking interfaces, having IP address assigned or not [migrated]

I am trying to get all networking interfaces available on linux. I am using ioctl API to get all the networking interfaces but it return me only the interfaces those have ip address allocated. It ...
2
votes
2answers
2k views

Guest OS Ubuntu 12.04 no network connection

Recently added a new *.VDI image with Ubuntu 12.04 to my existing VirtualBox. The machine hangs with a "Waiting for network configuration" error, eventually times out after 60 seconds and boots in ...
1
vote
1answer
1k 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 ...
1
vote
1answer
101 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
633 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: ...
0
votes
1answer
926 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 ...
1
vote
0answers
30 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 ...
5
votes
1answer
960 views

What is SSTP vpn server and how can I run one?

I've read a couple of L2TP and PPTP tutorials on the net and there are just dozens of "running PPTP/L2TP on Linux" guides available out there and I successfully made packages like open-swan or pptpd ...
1
vote
1answer
35 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 ...
6
votes
1answer
743 views

AP randomly gets unreachable for the clients while hostapd is running

I got an old PC running as router which has 3 NIC and 1 wifi PCI card TP-Link L-WN751ND. This box runs Debian Wheezy, hostapd, dhcpd etc. The problem is that AP randomly gets unreachable for the ...
1
vote
1answer
45 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
64 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
73 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 ...
2
votes
2answers
552 views

Configuring network settings manually in Qubes OS

I'm trying to setup Qubes OS on my desktop but struggling to get the network/internet working. This is the configuration i want to setup - ip - 192.168.1.2 Subnet - 255.255.255.0 Gateway - ...