Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

2
votes
0answers
1k 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 ...
7
votes
1answer
2k views

Debian not reachable via its hostname in LAN

My debian is not discoverable via its hostname in my LAN. I have a couple of other ubuntu machines in the LAN and they are all pingable via their hostnames. on my debian: pi@raspberrypi ~ $ ...
2
votes
3answers
2k views

How to automate connecting to multiple network devices, running a command and saving the output to a file?

I have to run a command on around 1000 network devices and save the output to a file. In a file I have a list of all the network device names that have to be connected to using SSH. I then have to run ...
3
votes
2answers
5k views

Why there are two ifcfg-eth0 file but in different directory

I am trying to understand why there are 3 ifcfg-eth0 on my CentOS 6.4 server, they are hardlinks to the same file looks like. Anyone knows why ? $ ll /etc/sysconfig/network-scripts/ifcfg-eth0 -rw-r-...
4
votes
1answer
1k views

Change ip addr label in Linux

How can I change the eth0 zero to eth0:1 using ip addr without deleting. When I run ip addr show eth0 Here is the output 2: eth0: mtu 1500 qdisc mq state UP qlen 1000 link/ether ff:ff:ff:ff:...
2
votes
1answer
537 views

Can iptables be used to convert a single-homed host into a NAT server?

Given: I have a machine (HostA) with only one NIC which has Internet connectivity. I have another machine (HostB) with one NIC on the same switch. HostB is not configured for Internet access yet. ...
2
votes
2answers
663 views

Firewall distro to share bandwidth evenly between connected users

I'll first describe my situation. I have a network made by a central x86 server/firewall, 5 access points and 2 unmanaged routers in between. 20 Mbits download and 1 Mbit upload ADSL. Upload is ...
7
votes
2answers
13k views

rsync certain files, excluding the rest, ignoring .svn/ directory, recursively

I'm using rsync to copy some files from a share to another. Recursively, I need to: Delete files at destination that were removed from the origin Only sync php and js files Exclude every other file ...
4
votes
0answers
657 views

How to setup networking for Linux Mint - VM when host machine uses a PAC file

My host is a Windows 7 x64 machine. The office network uses a PAC file for the LAN settings. So, under Internet Options -> Connections -> LAN Settings, I have Use automatic configuration script with ...
0
votes
1answer
176 views

Renamed network interfaces [duplicate]

A recent update on my Mint system caused the eth1 to end up being renamed as eth3 and therefore breaking all my firewall & forwarding rules. How does this happen? How can I enforce the network ...
1
vote
5answers
3k views

Setting a network hostname doesn't work

I'm on a Kubuntu 11.10 and I'm having trouble setting a hostname on the network. I already tried changing send host-name "myhostname" in /etc/dhcp/dhclient.conf or /etc/dhcp3/dhclient.conf with a ...
3
votes
2answers
9k views

Checking if I can reach some ports from my computer

Is there a terminal command or something on OSX that I can use to test if I can reach some ports on a remote server? I know these ports are reachable on that server, because I can access them from ...
2
votes
1answer
1k views

How to write a script to read wifi SSID and password from USB drive at boot up and auto logon to wifi network

I have an embedded system that is running Debian. I want to be able to provide wifi network SSID and password information via a USB thumb drive. That way I can easily deploy it to any wifi network. ...
2
votes
1answer
128 views

Debian Networking Issues

I recently installed Debian Wheezy (gnome) on my ThinkPad T60. It was going well, until about 2 days ago when suddenly my machine stopped connecting to the web. I can connect to my router, I can ...
1
vote
1answer
357 views

Setting up network cards on FreeBSD

I just installed FreeBSD 9 on a new laptop and I'm having some trouble getting the network cards to work. Presumably the file representing the cards is in /dev, but where would the configuration files ...
3
votes
1answer
805 views

“provide net” in gentoo init script doesn't work as I thought

I'm running into a strange (to me) problem. I'm running a gentoo with two net interfaces: enp5s0 (wired interface) and wlan0 (wifi). When I try to run a program, for example openvpn, from its script ...
2
votes
2answers
117 views

Auditing Linux: tell me to what IPs a connection was established

I need a command, or something that runs as a cron job, that logs what IPs my machine is communicating with, what ports, and what process did it.
1
vote
1answer
359 views

Networking not working on ubuntu server 12.10 on B75MA-P45 mobo

Just got some new parts to but together a local development server with Ubuntu server 12.10 and I can't get networking working. I have an airport extreme for my router and it works find with CentOS ...
2
votes
2answers
1k views

Get network information through Ubuntu Terminal

Is there a command where, when entered outputs information such as: If the network connection is wired or wireless if it is a wireless network, the name of the wireless network How strong the signal ...
3
votes
0answers
319 views

Why is my download speed a lot lower in Linux than other OS? [closed]

I had Windows 7 installed on my PC and torrents (all legal) downloaded at a rate of 2MBps. I used uTorrent. I now have Kubuntu 13.04 installed and have kTorrent, which can only achieve speeds of ...
2
votes
1answer
101 views

Why is Gnome Shell sending data over my wireless network?

I have been checking which processes under my Fedora Linux 18 are using my upload bandwidth and I occasionally see that Gnome Shell is one of them. Why should it be sending data over my wireless ...
2
votes
1answer
5k views

Virtualbox NAT + Host-Only Adapter

My host is Ubuntu 12.04 and guest is a Debian squeeze (LAMP server). I want to allow the host to connect the guest. and allow the guest to connect the internet. The guest should not be enabled from ...
0
votes
0answers
229 views

PBX randomly loses network connectivity and restores itself

I'm using a QBX appliance, which is just a microATX desktop system with FreePBX connecting to asterisk and some other slapped together stuff running on CentOS 5.4. It's horribly out of date (which I ...
1
vote
1answer
1k views

Unable to make sshd start at boot time on centos 6.4 . It starts ONLY after I login from console

I have installed centos 6.4 on a desktop and wanted to access it mostly remotely. For this, I tried http://www.serverschool.com/server-configuration/3-ways-to-configure-services-to-start-at-boot-in-...
3
votes
4answers
23k views

SSH is suddenly not working anymore: “Write Failed:Broken Pipe”

I use a macbook pro at home and regularly ssh into the machines at my lab. For the past 3-4 days however, whenever I SSH into the machine in the lab, I get a Write Failed:Broken Pipe error, hardly ...
4
votes
1answer
3k 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 ...
1
vote
1answer
888 views

PGP keyserver and proxy firewall issues

I am not sure this is a Linux question directly ... I use Arch Linux which uses package signing. This requires me to download a set of pgp keys with the pacman-key program. This works off the ...
2
votes
1answer
2k views

Ubuntu: wire network is not stable and must restart network-manager periodcally

I don't know why my wire network now is not stable. After a short time of using, maybe 30 minutes, 15 minutes or maybe just 2 minutes, my network is down. When my network is down, I must run this ...
2
votes
0answers
1k views

Ubuntu : after upgrade, wire network is unstable

Yesterday I have upgraded to Ubuntu 13.04. After I upgrade, I have a serious problem with network (I use wire network): my network is unstable. After a short time using it, it often disconnects. It ...
1
vote
2answers
911 views

What's the best way to have a 169.254.169.254 address local to my laptop?

I want to emulate the Amazon EC2 metadata service on my local system for testing. In EC2, this runs on 169.254.169.254. I understand that this is the designated range for pseudorandom local addresses ...
16
votes
5answers
70k views

How to check whether firewall opened for a port but not listening on the port

We will be deploying a new application to a Server and the application will be listening on port 8443. We have asked Network team to open the firewall for the port 8443 on that server before deploying ...
3
votes
1answer
2k views

How do I route different users over different OpenVPN tunnels in Linux?

The setup: I have multiple, static-key OpenVPN client/server configurations, labeled "client1", "client2", and "client3" with server/client IPs 10.10.1.1/10.10.1.2, 10.10.2.1/10.10.2.2, and 10.10.3.1/...
2
votes
3answers
240 views

Determining network interface names in NetBSD

Does anyone know if there is a way to determine what a network interface will be called in NetBSD if you know which NIC/driver you will be using before hand? I'm trying to automate parts of a NetBSD ...
2
votes
3answers
538 views

Detect which interface traffic to an IP address goes through

I'm making an script, and I need to detect in what interface is the traffic of an IP going through. This is because in the arch, an IP address is attended only for one of four NIC's, but can be any of ...
1
vote
1answer
844 views

Cannot connect to belkin router through linux mint

I recently installed Linux Mint 13 alongside windows 7. I have a Realtek RTL8191SEvB Wireless Card. This work's fine with any router. However when I try to connect to a Belkin G Wireless Router it ...
2
votes
2answers
719 views

Creating an Alias to Loopback Interface with an Arbitrary Name

I have an odd problem that seems simple enough but has evaded me thus far. I am attempting to support a legacy application that has a hard-coded ethernet device name ("eth0"). This hard-coding, I am ...
10
votes
2answers
12k views

wlan number assignment

How or where does Linux determine the assignment of a network device? Specifically, wlan0 or wlan1 for wireless USB devices. I plugged in a TP USB wireless a while ago, and it was assigned wlan0. I ...
5
votes
1answer
1k views

How does irqbalance determine which package to use?

irqbalance --debug shows the following: Package 0: Core 0, 2, 4, 6, 8, 10, 12, 14 Package 1: Core 1, 3, 5, 7, 9, 11, 13 When I run network applications, it seems like IRQs are being handled by ...
1
vote
0answers
772 views

Create adhoc network when disconnected from network

I am using ArchLinux and want to create an AdHoc network automatically when the connection to the home network drops (or the home network can't be connected to on startup). How can I achieve this? I ...
1
vote
1answer
379 views

Manage network connections on Arch Linux

I'm setting up an arch linux system(latest version) on my laptop. It already boots and configuration for network it's done via systemctl. Following instructions on the wiki I configured the ethernet ...
3
votes
2answers
96 views

Scan for users of networks

If I am in a room where several people are using devices to connect to different networks, how can I scan for them? (for the users) They are not necessarily logged in the same wifi as me. I know ...
1
vote
1answer
514 views

ixgbe: increase rx performance

I have an Intel 82598EB 10GBE NIC. I need to receive traffic without packet loss. Data rate is 4-5 Gbps, packet size is 1500-9600 bytes. I had already configured smb and irq affinity. I also tried ...
1
vote
0answers
1k views

nas4free server can't access local network

I'm not a linux/unix/freebsd expert. I'm a Microsoft .NET developer that knows Windows pretty well. Please bear with me :) I'm trying to configure an old desktop machine as a NAS device with nas4free....
2
votes
0answers
68 views

How to specify which interface an application uses?

Imagine this example: you have direct access to the internet on eth0, and you have a VPN on tun0. You want one application to access the internet directly through eth0 (using X public IP address) and ...
1
vote
1answer
650 views

Transfer 150GB of files from an old MacBook Pro with Ubuntu 13.04 Live DVD

My girlfriend's old MacBook Pro 2009 (5,4) stopped working. I have tried several times to reinstall OS X, but could not do so. There appears to be something really really wrong with the OS. Since she ...
3
votes
2answers
532 views

Can I have a bridged interface without an IP?

I have 2 NICs: eth0 & eth1 on a host OS which runs some VMs (LXC) under it. The hosts eth0 is connected to a private network and configured as the primary interface. The hosts eth1 is connected ...
3
votes
5answers
216 views

find which system is transmitting through a particular port

I am using command nc -lu <port no.> to find on given port any data is receiving or not. I am getting data if there is transmission going on (but don't know from where!). Is there any way that ...
0
votes
1answer
137 views

What do I need to setup a linux box as a proxy to access the network?

At the minute I have all my machines connect directly to my isp-supplied broadband router. I want to make sure my machines are behaving correctly so I wish to test this by sniffing the traffic of each....
2
votes
1answer
569 views

Linux Mint Stops Network File Transfers to Load Data into RAM

I've never seen or heard anything like this before, and I can't find anything else online that is at all similar. I've upgraded my network to gigabit and have been transferring large files lately (...
2
votes
2answers
94 views

how do I network my desktop to my laptop?

How do I network my desktop to my laptop? They both use my linksys router wired internet and I have a large selection of distros that I can use once I know what is called for. I run about 3-4 distros ...