Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
2answers
22 views

Setting a domain name in LAN

I am developing a web page using Apache Web Server in my pc. When I want to open it in the browser I use the ip, for example: http://192.168.1.6/proyect My host is part of a local network (a laptop ...
0
votes
1answer
64 views

Gentoo: how do I get an IP assigned to the network interface?

I'm noob. I'm trying to install Gentoo from the LiveCD (just for fun as well as for getting better understanding what's going on under the Linux's hood) on my notebook. I've faced an issue which is ...
0
votes
0answers
15 views

How to statically assign network interfaces to USB Wireless LAN adapters

For this system there are two WLAN USB adapters: One connects as a client always, and the other connects as an AP. I have a script that manages their operation, but in order to do that I need to ...
0
votes
0answers
16 views

Delaying packets with libnetfilter_queue

From my Raspberry Pi configured as an access point, I set the following rules: sudo iptables -I FORWARD -p tcp --sport 25 -j NFQUEUE --queue-num 0 sudo iptables -I FORWARD -p tcp --sport 80 -j ...
5
votes
1answer
3k views

Debian, two network cards - “no route to host” on eth1

I have added a secound nic in a debian box. That nic is ment for doing some test stuff, so those devices connected should just be able to access the debian box or be accessed from it. To set up the ...
1
vote
1answer
34 views

network connection only works for a while?

I upgraded my Debian Jessie desktop two days ago but I found that I am not able to connect to internet via eth0 now. I've pinged www.google.com, but it told unknown host; for inet addr and Bcast (in ...
1
vote
1answer
99 views

How to measure network traffic (with pfSense/freeBSD)?

Is it possible to measure network traffic (per month, per WAN, per direction) with pfSense/freeBSD? There are following programs listed ...
3
votes
2answers
3k 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 ...
1
vote
1answer
30 views

How check a port forwarded from localhost to localhost on.. localhost?

I'm learning about iptables, firewalling, routing and so on. I'm on Linux, Centos7, and I've set up a local port forwarding to localhost with: firewall-cmd ...
0
votes
0answers
801 views

How to setup proxychains in VirtualBox Guest Kali Linux

I've been following directions from this book "Kali Linux Cookbook", but I can't get proxychains to work. The OS is Kali Linux and running inside VirtualBox. The guest network is a Bridged Adapter. ...
1
vote
1answer
15 views

Two networking interfaces trying to get an IP via DHCP

When using: /etc/network/interfaces auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp auto wlan0 allow-hotplug wlan0 iface wlan0 inet dhcp wpa-ssid "<myssid>" wpa-psk ...
3
votes
0answers
18 views

Wifi cuts out after some time

I recently installed Debian on my laptop (after playing around with dozens of distros in VMs for a year or so), and while most everything has gone quite swimmingly I'm having some issues with my wifi. ...
-2
votes
1answer
23 views

Get CIDR of my IP on the WAN

I have a script that updates some remote systems with my laptop's IP and CIDR on the WAN, how the Internet sees me, in other words. I use the following to get my IP on the WAN in bash: dig +short ...
-1
votes
1answer
26 views

create virtual adaptor over network on other machine

I have Machine A (Desktop environment install/Powerful machine) running Linux that has all my programs, scripts etc on it. I connect to machine B (Voyage Linux (Debian)/ALIX pc engines) over ethernet ...
1
vote
1answer
36 views

ifconfig showing invalid ip address

I booted pretty old PC (HP d530) with latest (2015.06) Gentoo linux minimal cd. The next step I wanted to perform was to enable SSH server on this machine. I ran ifconfig to see the ip address of my ...
2
votes
1answer
720 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. ...
1
vote
1answer
23 views

Mysterious disappearing static IP address on wifi interface under Debian?

With these lines in \etc\network\interfaces... allow-hotplug wlan0 iface wlan0 inet static address 192.168.8.1 netmask 255.255.255.0 gateway 192.168.8.1 ... the interface comes up about ...
3
votes
1answer
2k 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 ...
1
vote
1answer
35 views

Block outgoing connections to certain IP using PF

Can someone give me a hint on how to setup a basic deny rule whenever any TCP request is sent to a specific IP address? I am using the PF packet filter. Any help?
3
votes
1answer
28 views

See total bandwith a process has used

I am currently watching some process on my server and want to see how much bandwidth it has used in total since it has been started. I don't want to know its current usage, nor does nethogs / nload ...
1
vote
1answer
515 views

Mumble doesn't bind to network address on boot, needs to be restarted (doesn't properly wait for network?)

I have a default, unchanged installation of the Mumble server on Debian Squeeze (package "mumble-server"). On a previous setup, starting the server (called murmurd) on boot using the default init ...
1
vote
1answer
2k views

OpenSSH hangs after login without showing login prompt

I ran across an issue with ssh after fresh Ubuntu 13.10 installation on Lenovo T420. I tried git pull (which failed) and this led me to more general ssh failing. After spending some 2-3 hrs of ...
1
vote
1answer
654 views

Is it possible to prevent eth0 network traffic from accessing eth1 network?

I am not really sure how this is possible but I have a linux(ubuntu 14.04) box with 2 interfaces. eth0 is connected to our lan 192.168.0.* and eth1 is connected to a dlink wifi router on network ...
2
votes
3answers
2k views

Scan for Network attached devices

Is there a way to scan for computers on the network through the command line and get their IP, MAC and DNS names without knowing anything about them?
6
votes
2answers
4k views

How do I share internet with Windows from my Linux box?

I have a Linux (Ubuntu 12.04) PC connected to the internet with a Greenpacket WiMax USB modem. I want to share the Internet connection with another computer running Windows 7 Home Premium, connected ...
1
vote
1answer
28 views

Delay after a MAC change

I am writing a script that will change my ethernet MAC address on a local network. It will work as follows: Initially eth0 will be brought down MAC will be changed using the ifconfig utility eth0 ...
0
votes
1answer
13 views

Letting a device access internet trough ethernet port via a laptop [duplicate]

So i have internet access to my laptop, over wifi. I have connectd a device with an ethernet port (with an ethernet cable from my laptop to the device), and set up a local area network between the ...
2
votes
1answer
25 views

How to use the same Wi-Fi adapter to connect to a wireless network, and broadcast an AP at the same time?

I have a Wi-Fi router that runs OpenWRT. It connects to my home Wi-Fi and uses it for Internet access. At the same time, it broadcasts an access point itself and it is bridged with its LAN so other ...
4
votes
1answer
2k 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 ...
0
votes
1answer
44 views

What commands can I use to debug or profile a slow DNS / internet connection?

I'm at an enterprise where there's generally a very fast internet connection, but every time I visit a web page, it takes a really long time. I tried profiling this in the browser, and the only thing ...
0
votes
0answers
14 views

Kernel routes not loaded to Quagga ospfd process (freeBSD)

I'm trying to redistribute kernel routes that are added using the route command. For example: route add -net 2.0.0.0/24 -interface em0 I'm using Quagga ospfd under pfsense to redistribute the ...
0
votes
2answers
1k 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?
0
votes
2answers
36 views

Bind doesn't resolve his authoritative zones

I'm currently setting a Bind 9 server on a CentOS 7 system, but I have some kind of unexpected behavior (even though it worked great in my VM). When I want to retrieve records from the zones it is ...
0
votes
0answers
16 views

Access point doesn't give IP adress after DHCP request

I'm trying to achieve this : http://askubuntu.com/questions/318973/how-do-i-create-a-wifi-hotspot-sharing-wireless-internet-connection-single-adap Almost everything works fine, but my dhcp server ...
13
votes
2answers
965 views

Command to run a child process “offline” (no external network) on Linux

I have a program I would like to test in offline mode without taking down my actual network. This program would still need to connect to local sockets, including unix domain sockets and loopback. It ...
0
votes
0answers
17 views

Script to remove IPs or network ranges from an IP space

As per the tittle, I have a tool that accepts both lists of IPs or network ranges (CIDR format) to perform a task. Unfortunately, it does not support exclusions of IPs or ranges from the IP space ...
0
votes
1answer
36 views

Meaning of 'netstat -anto' output

I did netstat -anto and got following result: Proto Recv-Q Send-Q Local Address Foreign Address State Timer tcp 0 0 127.0.0.1:1169 ...
-1
votes
1answer
53 views

Interfaces, IPTables, Connections, Local Connection - Confused :/

I configured my iptables today and ran into some questions i could not resolve yet. So it would be nice, if someone could verify or answer the following to clarify: Each interface can be configured ...
6
votes
2answers
2k views

What's the difference between .local, .home, and .lan?

How can I reliably address different machines on my network? I've always used the .local suffix to talk to computers on my local network before. With a new router, though, .local rarely (though ...
0
votes
0answers
23 views

Trouble switching between wired/wireless networks with Fedora 21

I have a Gb/s wired network and a much slower wireless on my home LAN. I switch between them in the course of my day. I have always found that Linux is not particularly clever about using the wired ...
0
votes
1answer
28 views

Boot blocked during 1min30sec because /etc/network/interfaces

With the following config (see config file below): if only ethernet cable is connected, it 100% works: I can quickly SSH the computer via eth0's IP, if both ethernet cable and wifi dongle are ...
3
votes
0answers
39 views

Linux Routing Question

I was wondering how it would be possible to have multiple IPv6 default gateways on CentOS linux. I currently have two interfaces with IPv6 (venet0 and tb0), both with different blocks routed to them. ...
1
vote
0answers
33 views

Why is my UDP bandwidth significantly lower than TCP bandwidth in iperf

I am running a simple bandwidth test between two VMs using iperf. I am getting very different bandwidth reading for TCP and UDP where the UDP bandwidth is terribly lower than TCP. TCP: ...
10
votes
4answers
7k views

Openswan connecting to multiple right subnets not working

I'm trying to use Openswan (version 2.6.37) to connect an IPsec VPN from my local network to a remote site. Everything works fine when I just want to connect to a single subnet on the remote site. ...
2
votes
0answers
23 views

check the current backlog queue size

The sysctl netdev_max_backlog sets a limit to the maximum number of packets allowed in the kernel's backlog queue. Is there a way to check the current queue size (i.e., how many packets are currently ...
0
votes
0answers
5 views

How to install airtel 3g dongle in redhat linux 5?

I have an Airtel 3g dongle, that I am not able to install in RedHat 5 Linux. I am getting the error : chmod +x install_linux "read only file system"
0
votes
1answer
61 views

DHCP and read-only root filesystem

When doing ifup wlan0 on a system with / mounted as read-only (embedded computer), I get this error: Failed to connect to non-global ctrl_ifname: wlan0 error: Read-only file system Internet Systems ...
1
vote
1answer
35 views

Network: how they obtain 127 subnets? [closed]

I read on a book about networks that class A has 16777214 hosts and 127 subnets,my question is: how they obtain the 127 number?
1
vote
1answer
2k views

Using ping on multiple interfaces on a NIC

I have two systems and each have a NIC with two ethernet ports. One system has a verified NIC card, but the other has a NIC which has to be verified. I use ping to verify whether the interfaces on ...
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 ...