Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

0
votes
0answers
10 views

Trying to get the domain laptop.local to 127.0.0.1 with bind9

Already tried a load of guides but cannot figure it out somehow. I need it so that when I look at one of my webpages through a VM I do have to get the public IP of my laptop every time and so that the ...
0
votes
1answer
63 views

route -n gives output “route: fscanf”

If I boot my system and no interface has an IP address I get the above output. However if I give an interface an IP, even if I remove it again, this will disappear. Why does this happen? Is it that ...
0
votes
4answers
4k views

How can I reinstall Network Manager after uninstalling it?

I am running a version of RHCE6 on my laptop, and lately I've been trying various stuff about network configuration through command line. Last night, I tried removing the NetworkManager using yum ...
1
vote
1answer
48 views

What exactly do `/etc/network/interfaces` `up` and `down` commands do?

I am concerned that I may be incorrectly using the up and down interface options in /etc/network/interfaces. I was under the impression that these options were simply executed as a 'hook' after ...
16
votes
4answers
61k views

Connecting to wifi network through command line

I am trying to connect to my WEP network just using the command-line (Linux). I run: sudo iwconfig wlan0 mode Managed essid 'my_network' key 'xx:xx:... hex key, 26 digits' Then I try to obtain an ...
0
votes
2answers
27 views

Send network traffic via a Windows VM on the same host to use corporate vpn?

At work we have a VPN solution that will only work on windows. I personally do not run Windows at home and run Linux (Ubuntu 14.04). I used Virtual Box to setup a Windows 7 virtual machine to run ...
1
vote
0answers
26 views

no internet through wwan0 when cable attached to eth0

On my Beaglebone card I run Angstrom Linux. It has one cable in the ethernet port (etho) and a USB 3G modem dongle in the USB port whose interface is named wwan0. At the other end of the crossover ...
7
votes
3answers
14k views

What can I use to monitor and log incoming/outgoing traffic to/from remote hosts?

I run a web server (Debian Squeeze on a VPS), and the graphs provided by the hosting company show consistently that around twice as much traffic is incoming to the server compared to the outgoing ...
23
votes
6answers
45k views

How to limit network bandwidth?

Problem: We are hosting an application on remote server. We need to test it with a limited network bandwidth (for users with bad Internet access). Question: Can I limit my internet bandwidth (in ...
0
votes
1answer
31 views

Intermittent Network disconnection, Ubuntu, troubleshooting help

I purged network manager from my system (OS: Linux 3.13.0-53-generic #89-Ubuntu) Networking service runs on my system: sudo service networking status networking start/running Static interface ...
1
vote
1answer
58 views

Blocking or forwarding packets as access point

I set up my Pi 2 as a wifi access point following this tutorial. I'd like to implement a rudimentary QoS, according to the DSCP field in every packet's header. That means, blocking packets using low ...
0
votes
1answer
40 views

How to know which computer is trying to access a specific host

At my workplace we tend to get those annoying captchas once in a while when we are trying for search something in Google. When we got into that page it says that our network is trying to access ...
1
vote
2answers
24 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
76 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
19 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
24 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 ...
1
vote
1answer
42 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
111 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
38 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
827 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
24 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 ...
4
votes
0answers
33 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
32 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
41 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 ...
1
vote
1answer
42 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 ...
1
vote
1answer
57 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
30 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
522 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 ...
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
33 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
14 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
30 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 ...
0
votes
1answer
55 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
22 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
43 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
23 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
987 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
22 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
50 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
59 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
29 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
30 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
43 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
40 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
34 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 ...