Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

11
votes
3answers
1k views

How to open a port early in boot process to unlock LUKS via SSH

I have a fully encrypted server running Debian 7 and have set up dropbear and busybox to unlock the LUKS container via SSH (as described in this tutorial and in this U&L answer). Unfortunately, ...
11
votes
4answers
3k views

How to give HTTP traffic higher priority?

When I surf the web, I find that I have to pause my BitTorrent client, to help improve the painfully slow speed (I'm sadly on a 384kbps line). It's not too nice to have to do this manually every time. ...
-1
votes
1answer
91 views

IP Address not populating in eth0 in ifconfig

One of my servers at work does not connect back to us (so I can't SSH into it). I asked the person on the site to do numerous things: sudo /sbin/service network restart It comes up with this: I ...
0
votes
1answer
31 views

How to monitor network connectivity between the ports in different windows server? [closed]

I have a application hosted from one server which listens on to a specific port and listens to a service on a another server in a different port . Seeing error log between XYZ application hosted on ...
2
votes
0answers
70 views

forward virtual interface network in KVM guest to the physical interface in the host machine

I am trying to experiment with Linux IP routes. This is what I have so far. I have a host machine whose network details are as below. wlan0 inet addr:192.168.1.9 Bcast:192.168.1.255 ...
1
vote
4answers
258 views

How to find IP address of device connected on the same network as PC based on MAC id

A PC and embedded Linux device is connected on the same local network.(We don't have DHCP server access, IT admin has the access). We also don't have access to debug UART on the embedded Linux board. ...
0
votes
1answer
46 views

nmap won't recognize a hostname on my local area network

Scanning the machine on the LAN with my laptop, I got this: gabriele @ osiris { ~ } [ Tue Oct 07 ] [ 08:49 PM] nmap -sP 192.168.1.236 Starting Nmap 6.40 ( http://nmap.org ) at 2014-10-07 20:50 CEST ...
1
vote
2answers
102 views

Is this kernel warning a major problem that needs my attention?

Our Linux based Thecus N12000 NAS recently experienced this message in its dmesg log. [2014-05-21 11:34:56] ------------[ cut here ]------------ [2014-05-21 11:34:56] WARNING: at ...
2
votes
1answer
37 views

w command for the other network hosts

While the who command refers to the local machine, rwho shows the same informations about all the known hosts of the local network. Similarly, w shows informations about the users on the local ...
2
votes
1answer
136 views

How to force network to wait for DHCP with systemd-networkd?

I'm using systemd-networkd to configure my interfaces: [Match] Name=enp3s0 [Network] DHCP=v4 It works quite well except that at boot, some services are not waiting for DHCP to finish. For ...
7
votes
2answers
423 views

Identical MAC address on two different VM, yet I have internet connectivity

I have set up a network as such: Set up host-only networking on VirtualBox. The first adapter is configured with NAT, the second with host-only networking HOST: Windows GUEST: CentOS VM1, CentOS VM2 ...
24
votes
3answers
40k views

How to make a machine accessible from the LAN using its hostname

Here are details of the machine I want to access using its hostname: $ hostname hostname $ cat /etc/hosts 127.0.0.1 localhost 127.0.1.1 hostname.company.local hostname It's a default Debian 6 ...
0
votes
0answers
20 views

How can I connect my REMnux to wifi

I have a copy of Linux REMnux 5 which is specially designed for Reverse Engineering. It is based Linux Ubuntu. But I don't know how to connect it to a wifi connection or even a wired connection.
2
votes
2answers
93 views

setup the guest network in KVM to interact with the outside world (google.com )

I am trying to better understand the network setup in my machine. Host Machine Setup I have a wireless interface (wlan0) on my host machine which has the IP address as 192.168.1.9. The default ...
3
votes
1answer
221 views

Creating a private network for internal VMs

I am trying to configure a private network for use with my Xen VMs, in addition to the public network in use by another of the VMs (VM1, which has its own public IP). So far, I have the public side ...
3
votes
0answers
58 views

Tons of unknown connections in nethogs

I am seeing hundreds of different connections to the same ip and port scrolling by when running nethogs. Occasionally the foreign IP and port will change (not always 80, but sometimes). I've noticed ...
1
vote
1answer
37 views

Allow non-root user go get network traffic statistics

I know that I can use cat /sys/class/net/eth0/statistics/rx_bytes to see the amount of received bytes. Sadly I only can run this command as root. When I am another user, I get cat: ...
4
votes
1answer
180 views

setup kvm on a wireless interface on a laptop machine

I am trying to setup KVM in ubuntu 14.04 host machine. I use a wireless interface to access the internet in my machine. I have setup the wireless interface in my /etc/networks/interfaces as below. ...
0
votes
2answers
62 views

Wifi and ethernet unstable (takes many tries to connect, disconnects)

Both my WiFi connection and my Ethernet connection have recently (I'd say about a week ago) become unstable, without any change in the configs. Now in order to connect I've to try several times and ...
0
votes
0answers
25 views

Kernel routing table destroyed

I have a server that I have virtualized, and as of yesterday, it started acting weird. I couldn't SSH into it, but when I tried SSHing into it from another server on the rack, it worked fine. DNS ...
0
votes
0answers
12 views

olsr not communicating in two hops

I was trying to set mesh network using olsr protocol. I installed olsrd daemon and is working fine. node1 ------------node2-------------ode3 (olsrd) adhoc (olsrd) adhoc ...
1
vote
2answers
59 views

how can I create a KVM guest 100% as a non root user?

In a debian host with many users, I want to allow different users to create their own VMs, completely independent of each other. The closest relevant (non-root) way I have seen in guides is by ...
1
vote
1answer
56 views

Cacti/rrdtool error -> Poller[0] ERROR: SQL Row Failed!, Error:'1033'

I have cacti working flawlessly on a centos 7.0 machine but I need it working on a centos 6.3 machine. I download the same version of cacti as what is on the 7.0 and I installed rrdtool from yum. ...
0
votes
1answer
61 views

pppoeconf login problem

I used pppoeconf command for setup a pppoe connection over the wireless in xubuntu 14.4 and follow all the steps based on ubuntu pppoe wiki but after run pon dsl-provider i cant connect to internet it ...
2
votes
2answers
50 views

Test connectivity of a Interface

I have a raspberry Pi with three interfaces eth0 (Ethernet), wlan0 (WiFi), and wwan0 (via a GSM modem) How can I test if an Internet connection is available via a certain interface? e.g. is my ...
1
vote
1answer
35 views

Where did pand go?

Most guides on setting up a Bluetooth access point use a program named "pand" to do so. Seemingly, this program was dropped in bluez5. How can PAN be set up without it?
2
votes
1answer
695 views

Changing service startup order

I use wpa_supplicant to configure the wireless connection. Now I have a problem in that the network service starts before wpa_supplicant so this happens: Bringing up interface wlan0: Determining IP ...
5
votes
2answers
2k views

What file do I have to edit to make static DNS server in CentOS?

Almost every distro I know will wipe /etc/resolv.conf on reboot (I think DHCP does this) and thus the place to add static DHCP entries varies per distro. How do I add static DNS servers to a CentOS ...
1
vote
1answer
90 views

“nmcli nm wifi on” stops hostapd

I have ubuntu 14.04 installed on a computer with a built-in wifi and also a usb wifi. I want to run hostapd on built-in wifi to act as an access point though no connection will be established with it. ...
1
vote
1answer
146 views

Restart network interface - Angstrom linux

I have an embedded PC running Angstrom Linux. When the network is unavailable during the boot, it won't become available when I for example connect it to a network afterwards. When I reboot the device ...
11
votes
3answers
15k 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
0answers
65 views

SSH server doesn't respond for a while, then opens up briefly after port scanning

On my local machine I try to ssh into my server but it gives me connection refused. Doing an Nmap of my server tells me there are no open ports. pinging the machine works. What I've done so far is ...
1
vote
1answer
35 views

Does the NICs have any kind of log?

Recently I had an issue with my server, my nagios couldn't ping it and lost connection with the NRPE daemon, in my host provider interface I could see the server was ACTIVE but either I couldn't ping ...
9
votes
1answer
3k views

Limit outgoing bandwidth on an specific interface

I would like to know the easiest way to limit outgoing bandwidth for an interface. I want to cap the outgoing port speed so that file transfers between my servers don't fail during busy hours. What's ...
0
votes
0answers
23 views

Set source address for incoming packets on a server

I'm developing a UDP reverse proxy for a game server, and so far, everything has gone fine except for one thing - getting the backend server to submit requests to the master server list (run by a 3rd ...
1
vote
1answer
53 views

Static networking between CentOS and Windows Server 2008

I am trying to set up static networking between my Linux VM and Windows Server 2008 VM. One thing I am confused about is that currently the Linux box only displays an eth0 adapter when I type ifconfig ...
1
vote
2answers
877 views

Why is my BCM43142 chipset is not recognised and device wlan0 not found?

I'm trying to setup the WiFi connection on my Lenovo B590 but I get the following error : ifdown: interface wlan0 not configured wpa_supplicant: /sbin/wpa_supplicant daemon failed to start ...
0
votes
0answers
248 views

Using OpenConnect for a VPN, Linux Mint 17

I'm trying to setup a VPN connection. My corporate IT team went and hid under a table when I said Linux so you guys are my last hope. I'm trying to port all my the settings from my Windows 7 machine ...
1
vote
2answers
64 views

Browsers doesn't see an aliases in /etc/hosts

A firm where I'm working uses an internal site with documentation and etc. where all references made e.g. to «srv-moss» — this names should be defined in hosts file, where I did added it. It works ...
1
vote
0answers
44 views

SNAT with firewall-cmd?

I have an interface with multiple IP Addresses (on CentOS 7), which is in zone "external" (with masquerade on). I want to specify that, if a connectiona attempt to a specific address goes out, to use ...
1
vote
0answers
88 views

How to mitigate error “kernel: nf_conntrack: table full, dropping packet”

We recently had a problem with one of our servers (Debian Squeeze) becoming unresponsive during heavy-ish load. Looking at the kernel logs, I think this is the cause: kernel: nf_conntrack: table ...
4
votes
2answers
430 views

Exposing NFS mount via USB

I know enough linux to be dangerous - apologies if my terminology is incorrect. I have an electronic drumkit that has USB into which I can plug a flash drive with MP3s on it. The drumkit has no ...
1
vote
2answers
210 views

ping: unknown host with iptables enabled

I can't ping www.google.com. However I can ping the IP address: ping 74.125.237.142 At first, I thought it is a problem with my DNS settings. But I checked my resolv.conf, hosts, and hostname ...
0
votes
0answers
157 views

how to enable wireless connection in linux mint 17

I have Dell Inspiron 2200 with "Broadcom 4318" The wifi worked fine with "Linux Lite". It still works with the ethernet connection. But NO wifi! The "Driver Manager" shows blank ("NO proprietary ...
0
votes
2answers
125 views

no internet connection for a kvm guest. what could be wrong?

I have setup a kvm win7 guest on a debian host. It's been up and running for a while now, but I had not done much with it. What I had done (for sure) was to download putty. Today I wanted to try and ...
1
vote
0answers
80 views

How to forward Remote-Desktop Port across interfaces using ufw?

Machine A has two network interfaces: Network eth0: 10.10.20.0/24 Network wlan0: 192.168.1.145/24 Machine A has 192.168.1.145 as Default Gateway, and also a route to pass 172.16.0.0/16 to ...
0
votes
0answers
17 views

How to set proxy with a config file provided in freebsd

I'm currently trying to update and install packages and other things on a FreeBSD server, but I’m blocked by my proxy. I'm in an university, and there are a few proxies before to go on the internet. ...
1
vote
1answer
39 views

Binding to not existing interface

I've just noticed the very weird situation I don't have a good explanation for. The machine (debian) has one interface with one IP address assigned: # ifconfig vmbr0 |grep inet inet ...
0
votes
0answers
20 views

SoftEther Logging

I've installed SoftEther on Centos 6.5 and can't seem to get users to connect. Anyone know if there is a way to increase the verbosity of the logging? Regards
0
votes
0answers
27 views

Set up a VPN network between servers

I'm looking to set up a VPN network between a few servers. However, my needs are a bit unconventional - I need to have the VPN clients grouped into 2 groups: masters, and clients. (Both master and ...