Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

2
votes
2answers
82 views

How to use a defined local IP instead of external one

I have a Gentoo Linux server. Server is connected to two networks: internal and external. Internal network ip: 192.168.1.200 External network ip: 192.168.0.2 If I'm trying to make request from ...
2
votes
3answers
1k views

How to setup transparent firewall using ArchLinux

I am trying to setup a Transparent Firewall using ArchLinux. My setup looks like this: (ISP, IP: 10.90.10.254) \ \ \ (eth0-> ip: 10.90.10.1 gateway: 10.90.10.254) +-----------+ | ...
7
votes
2answers
274 views

How can I create a virtual ethernet interface on a machine without a physical adapter?

I have a Dell XPS 13 ultrabook which has a wifi nic, but no physical ethernet nic (wlan0, but no eth0). I need to create a virtual adapter for using Vagrant with NFS, but am finding that the typical ...
1
vote
1answer
491 views

Command/scripts to check the Reverse DNS Lookup time

I am working on a project in which one master communicates with numbers of slaves. For that it has to make connection with hosts in network. But sometimes it hangs. I think that the reason behind is ...
0
votes
0answers
6 views

location of struct ifnet on AIX

In which header file on AIX struct ifnet is defined? I want to use this structure to get network interface information on AIX.
0
votes
0answers
34 views

Problems with Dell Wireless 5570 HSPA+ Mobile Broadband card

I've got a new Dell Latitude e7440, and a Dell Wireless 5570 HSPA+ mobile broadband card. I cannot get the broadband card to work. I can see the card: # lshw .... *-network DISABLED ...
7
votes
1answer
59 views

Why are there so many loopback addresses?

From my understanding, all IP addresses of the form 127.x.y.z are loopback addresses. Now that seems to be quite a waste to me; indeed, already more than one address seems like a waste. Is there any ...
2
votes
3answers
2k views

hostapd will not start via “service” — but will start directly

I am having trouble getting hostapd to start as a service. It fails when I try to start it: $ sudo service hostapd start [FAIL] Starting advanced IEEE 802.11 management: hostapd failed! From what ...
11
votes
4answers
6k views

Can I create a virtual ethernet interface named eth0?

I am running Arch based on the Linux 3.10.5-1 kernel. The system uses the new de-facto naming conventions of ethernet interfaces enp*s* and wlp* etc. This is a problem however, as my educational ...
0
votes
1answer
74 views

What to make of system scans reported by psad

My system logs show that psad detects scans like this every minute. psad: scan detected: 192.168.1.10 -> 192.168.1.1 udp: [53] udp pkts: 2 DL: 2 If the first address is mine, and the second ...
1
vote
0answers
48 views

where is network layer protocols source code [on hold]

that's all I can find tcp source code on my Ubuntu, also the place of data link layer is on the network interface. So where is network layer protocols source code on ubuntu ? Also I am looking for ...
5
votes
4answers
519 views

Automatically acquire new IP address in new network

I'm running a Centos virtual machine on a laptop using a bridged network connection to avoid double-NAT issues, with the address assigned via DHCP. This works fine until I move the laptop to another ...
1
vote
1answer
11 views

Where do I find the OID descriptions for SNMPv2 in Linux?

I was looking at this link here: http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html and noticed that the OIDs are the same ones I see for the same stats for our ...
2
votes
1answer
21 views

How can I use avahi without a network connection?

How can I test software that uses avahi while my laptop is disconnected from any router? All of the services run on the same machine, so Avahi would be advertising an IP address of 127.0.0.1 for all ...
0
votes
1answer
29 views

ifconfig not showing changed ip address

I'm trying to configure IP settings on my Raspberry Pi running Rasperian. I edited /etc/networks/interfaces to be: auto lo iface lo inet loopback iface eth0 inet static address 110.76.71.106 ...
1
vote
3answers
6k views

Yum update problems on CentOS 6.5 minimal as VMware guest

INFO: I am using Windows 7 Pro (64bit) with VMware Workstation version 10.0.1 . I am using CentOS(64bit) 6.5 minimal, for the first time. I am running this from my workplace network, which may use a ...
0
votes
1answer
15 views

Static IP addressing issue in Ubuntu on BeagleBoneBlack Rev C

I have my BBB configured to use a static IP address using the following in the file /etc/network/interfaces: allow-hotplug eth0 iface eth0 inet static address 192.168.0.1 netmask ...
2
votes
2answers
707 views

Quickly check whether many network hosts are up-and-running

Objective: check if a host is up-and-running on the network, with a method that can be efficiently parallelized over many hosts. Emphasis on a QUICK turnaround of the check. Reason to emphasise ...
0
votes
2answers
380 views

Realtek drivers prevent detection of eth1 interface?

Here's the situation: I had a working network setup on my Debian box, with two Ethernet interfaces being reported by ifconfig - eth0, and eth1. eth0 is an onboard Realtek NIC, and eth1 is a D-Link ...
3
votes
1answer
477 views

Accounting for /proc/net/dev reported traffic

I noticed that according to /proc/net/dev I am constantly receiving around 6Kb/s on my wireless usb interface. But I can't account for anything even close to that with the individual connections that ...
0
votes
1answer
35 views

Ethernet does not work at all

I haven't used my NIC for some time, and now it doesn't work anymore, at all. I can assign IP addresses to it manually (sudo ip addr add 192.168.2.155/24 broadcast 192.168.2.255 dev eth0, for ...
0
votes
4answers
45 views

How do I find my Raspberry Pi on a big LAN?

I'm a college kid on a WPA2 Enterprise with a Raspberry Pi on ethernet. How do I find this device on the network? I could try running arp -a logging results to a file, connecting my Pi, and then ...
1
vote
2answers
31 views

Debian VM Can see other computers on the network but can't connect to the WWW

Similar to this SU question: http://superuser.com/questions/667631/network-is-unreachable-when-attempting-to-ping-google-but-internal-addresses Actually, it's pretty much the same base issue. I went ...
1
vote
0answers
12 views

Does PPPoE connection have IP before authentication?

I am debugging a connectivity issue with my internet connection provider. I have a PPPoE type of connection. I am working on configuring my router to connect over PPPoE connection. Please note that ...
1
vote
1answer
1k views

setup ad-hoc wifi

I'm trying to create a ad-hoc wifi, after some readings here is what I did: I changed /etc/network/interfaces on computer A like this: auto lo iface lo inet loopback ## WIFI AD-HOC auto wlan0 iface ...
0
votes
1answer
157 views

Raspian, Huawei E303, Public IP address

After configuring Raspian linux and a Huawei E303 3G USB stick, I am stuck accessing the machine from the Internet by its public IP address. Details: The E303 stick was configured to work as an ...
0
votes
2answers
76 views

Can't access mail server through SMTP

I'm trying to send email from a server. Testing on my local machine works fine but on my production Ubuntu server, the webserver fails when trying to send email. I'm using GMail as my SMTP provider ...
3
votes
5answers
7k views

How to remove mounted locations that have been added using the mount command?

I've mounted few shared locations using the below command. mount -t cifs /mnt/systemfolder -o username=name,password=password //10.10.1.1/My-Shared-Folder A few incorrect locations* have been ...
2
votes
1answer
51 views

Fix “Route hash chain too long” without restart

On our production server (ubuntu 12.04, 3.2.0-63 kernel) routing cache reached its capacity. Modifying rhash_entries is out of the question, since it is a kernel boot param, and we can not restart the ...
2
votes
0answers
34 views

Wait for a network device to come up before bringing another network device up on boot?

I'm in the middle of setting up my Raspberry Pi running Raspbian as a bridge between my university's wireless network (which requires WPA2-Enterprise authentication) and my private wireless router ...
1
vote
1answer
56 views

How to permit any user (mysql, apache, etc) to use any TCP or UDP port?

How can I ensure that all ports are open to any user? Currently ports 1 to 1024 are reserved for "root" only. Although I am not sure why "apache" is capable of using port "80" if this port too is ...
1
vote
2answers
52 views

Logging in to VirtualBox via SSH

I'm starting with VirtualBox and Linux on a Windows machine. I can log in to Linux using the Virtual Box command line but I want to do something pretty easy: log in from an external (not virtualbox) ...
3
votes
1answer
50 views

How can I most simply transparently bridge traffic between wlan0 and eth0?

I am looking to do this on a Raspberry Pi, but I don't mind which operating system I have to install, so the easiest most out-of-the-box solution for Pidora (Fedora 20 Remix), Raspbian (Debian) or ...
4
votes
2answers
33 views

Redirecting loopback traffic through a router

For some tests purposes, I am running multiple socket-based applications on one machine and want to simulate "real" network conditions between them. I thought the simplest would be to redirect all ...
0
votes
1answer
40 views

Unable to ping CentOS virtualbox

I have created a virtual machine for CentOS in VirtualBox using an NAT connection (It wont work under Bridged). Now the problem is I can ping from CentOS to my IP on Ubuntu with no problem but I ...
1
vote
1answer
631 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
663 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
87 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
648 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
38 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 ...
0
votes
0answers
49 views

What are the differences between the network stack of FreeBSD and that of Linux? [closed]

Recently there was a news about facebook trying to hire people with good Linux kernel knowledge so that they can improve the performance of Linux network stack and make it better or comparable to that ...
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
318 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
26 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 ...