Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

2
votes
1answer
141 views

Specifying DNS settings to override those of DHCP

Every 6 months or so I cannot access the DNS on whatever router I'm using. usually have to add the nameserver by hand to the /etc/resolv.conf file. I've tried adding Google free DNS to the file and it ...
2
votes
0answers
31 views

How to set up networking on a per-user basis?

I would like to set up access to corporate VPN for just my user account on my computer; not for the other accounts and certainly not for the guest user. To achieve this, I presume, I need to ...
1
vote
0answers
229 views

Can I change uuid for network interface in ifcfg-eth* using uuidgen?

I'm creating a script which configuration the network interfaces. The script which generates /etc/udev/rules.d/70-persistent-net.rules and names interfaces to my preference. In CentOS 6.5, my ...
1
vote
1answer
171 views

Internet connection being lost after about 10 seconds

Okay so I have looked at this post Network connection drops after a few seconds, Which looks similar to the problem I am having but I have only just got Linux and can't work out what to do. Before I ...
0
votes
2answers
189 views

Debian VLAN (8021q) Configuration doesn't work

I try to setup VLANs on a virtual Debian machine. It's connected to an Cisco 2960 Switch. The Switch has 3 VLANs (1,100,200) which're allowed the pass the trunk. The Switch Configurations was tested ...
1
vote
0answers
34 views

wlan connection stops working when ppp 3g connection is running

I have ZTE MF669 modem and RTL8188eu wifi card. My wifi address is fixed (192.168.1.14). Modem gets address from 10.0.0.0/8 subnet. My wlan connection stops working when I connect to 3G network. I ...
0
votes
0answers
551 views

Run root script or command as root in startup application in linux mint

I have a wireless adapter that used to work in Linux mint 16 (dwa 171) after installing drivers for it. Now it won't work the same way anymore since I upgraded to linux mint 17. I've found the only ...
0
votes
0answers
51 views

Weird authentication with Exchange server

I'm using Evolution with evolution-mapi to access an Exchange e-mail server. It has worked flawlessly in the past, but recently it will fail to authenticate, asking my password endlessly. If I enter ...
1
vote
0answers
47 views

How to debug the network issue in case of blocked database connections

I am trying to understand if my analysis of the below information is correct. For all the 3 scenarios listed here, port 80, port 3306 and port 22 are open in the server's firewall. Also, for all the 3 ...
1
vote
1answer
54 views

Naming PPP interfaces

I have two PPP peers, dsl-line1 and dsl-line2 which are configured with pppd on Ubuntu (Server) Linux. They are brought up by the /etc/network/interfaces file with the auto thingy however each PPP ...
1
vote
0answers
47 views

Unable to start apache

I'm running CentOS7 in virtualbox on a mac (osx 10.9.3). Ultimately, I want to acces the website on my Guest VM from my Host. I can Ping and SSH to VM but I can't acces the webpage when entering the ...
0
votes
1answer
59 views

What's the default server root path (CentOS7)

In /etc/httpd/conf/httpd.conf line 36 the ServerRoot is set. Mine is : ServerRoot /etc/httpd But this returns a syntax error when I try to start httpd service. Can anyone give me the default ...
2
votes
1answer
75 views

Allow non-root unmodifiable sofware to bind to ports 80 & 443

The company I'm in uses the Java Secure Application Manager to "secure" non-internal connections their webmail and electronic collaboration software. Aside from using expired certificates, and ...
4
votes
1answer
2k views

ifconfig command not found

I've just installed CentOS7 as a virtual machine on my mac (osx10.9.3 + virtualbox) .Running ifconfig returns command not found. Also running sudo /sbin/ifconfig returns commmand not found. I am root. ...
1
vote
2answers
107 views

No eth0 after HD transplant

After moving the hard drive of a makeshift server to another compatible hardware (64-bit, same processor "generation", laptop->desktop) configuration, networking fails to initiate. Specifically: ...
0
votes
2answers
313 views

How to connect to an 802.1x wireless network via nmcli

I am able to connect to 802.1 networks via the nm-applet. I do not like doing this as I am running without a nm most of the time and I would hate to load up one just to connect to a wireless network. ...
1
vote
1answer
85 views

Delay Debian WiFi Networking Auto-Connect until after X and other applications are started

I've been profiling my boot times with bootchart and it seems that wpa_supplicant and dhcp take a significant amount of time during the boot process to get up and running and associate with my home ...
1
vote
0answers
25 views

Connect to the same network using 2 wireless interfaces

I have two wireless interfaces on my raspberry Pi that I'd like to be connected to the same network using DHCP (so each interface has a different IP). What do I need to change in my interfaces file? ...
4
votes
3answers
218 views

Lots of traffic between servers - where does it come from?

We have ten servers in two groups servers, and there is a lot of traffic between those groups - too much we think. We know this because of stats of our provider, but don't know how this traffic is ...
0
votes
2answers
105 views

vnstat not updating

I installed vnstat on my Ubuntu 14.04 server to track my internet usage (I have a limited monthly transfer). The database never updates, however. I've tried uninstalling/reinstalling, but that doesn't ...
0
votes
0answers
61 views

Cannot connect to wired ethernet after hibernate

When I am at home I use wired connection on my laptop and it works fine. Then I put it to hibernate with sudo pm-hibernate and start it up again when I am work. I am not able to connect to internet ...
2
votes
1answer
46 views

Traffic segmentation for a particular subnet

Two questions is it possible to segment traffic for a particular subnet to use an interface and at the same time receive traffic from a different subnet via the same interface? This is the scenario. ...
2
votes
1answer
93 views

In iptables, what is the difference between targets DNAT and REDIRECT?

More specifically, is -A PREROUTING -i $INT -p $PROTO --dport $PORT -j REDIRECT --to-ports $NEWPORT equivalent to one or both of these? -A PREROUTING -i $INT -p $PROTO --dport $PORT -j DNAT ...
4
votes
3answers
247 views

Write text messages between Unix and Windows

Is it possible to send text messages between two users of the same LAN, but the first running Windows with cmd and the second running Linux/Unix? I am not looking for an instant messaging service. I ...
3
votes
0answers
30 views

Log if no network

I have a router with OpenWRT. I noticed that sometimes (during night time) I have no internet connection. How can I log when this happens?
0
votes
0answers
33 views

Windows share suddenly empty

I have a laptop running Mint 15 Olivia that can access a shared folder from a Windows Vista desktop. Normally I can access and modify the files as if it were just another folder on the laptop, both ...
2
votes
1answer
43 views

Lubuntu IP conflict [closed]

I have this friend who recently installed Lubuntu on his Asus Netbook to try it out. Problem is that even though he can find all network connections and after trying to connect to two of them (giving ...
1
vote
1answer
48 views

Analyzing network traffic

I want to get a good overview what kind of network communication is going on on my computer. One way would be starting wireshark, which is fine for very low-level problems but is quite cumbersome to ...
-1
votes
1answer
77 views

How to control network bandwidth using Linux [closed]

Currently my Internet is really slow. But I want to allocate all resources to a browser that is loading a movie. How do I do that?
1
vote
1answer
51 views

Interface Priority in the Face of VPN

I have a few interfaces: wlan0, eth0, lo, and sometimes tun0. When I connect to the Juniper VPN, creating a tun0 interface, my existing connections on other interfaces (perhaps with the exception of ...
2
votes
0answers
35 views

Last data traffic time for a TCP socket

Is it possible, to find out when was the last time there was any traffic on an opened TCP socket? Keepalive and timeout timers are based on this statistic, so I guess it has to be stored somewhere. ...
1
vote
5answers
178 views

How to measure network traffic usage?

I want to know how much bandwidth my server is using. How much in, how much out. How do I know that? I think there is a software, netstat or something that took care that sort of thing.
2
votes
0answers
568 views

Ping command results in packet loss

Whenever I ping on my personal computer, nothing gets displayed other than a single statement. Upon stopping execution, I see that several packets were transmitted in the statistics. On top of all ...
4
votes
2answers
120 views

Preprocess packets send to/from interface

Is it somehow possible to intercept packet data just before it reaches an interface, and just after it is received? E.g. preprocess it and send it back on its way? I wanted to create a custom ...
3
votes
1answer
57 views

Monitor outgoing web requests as they’re happening

I want to see a list of all outgoing HTTP requests from my desktop. I think it should be possible to monitor HTTPS hostnames as well for local clients using Server Name Indication (SNI). OS X has a ...
0
votes
1answer
651 views

Consistent network interface name ubuntu using pci slot

One can set consistent interface naming via mac address by modifying /etc/udev/rules.d/70-persistent-net.rules. Can you establish consistent interface naming by PCI slot number? (I tried but failed) ...
1
vote
2answers
108 views

Port multiplexer sslh: why is it so resource-intensive?

I've just discovered the existence of sslh. I tried to install it on my 512MB RAM VPS running Debian 7 wheezy. After having configured sslh, I tried to connect to one of my apache2 virtual hosts, and ...
1
vote
1answer
52 views

Connecting to Verizon Mifi (wirelss hotspot) breaks everything

This question is obviously network related, but I thought it would be more appropriately placed in this forum because it's really not so much a connectivity issue. I recently got my hands on one of ...
4
votes
1answer
67 views

Create map network_iface_name <--> IPv4 address

I'd like to implement a bash script that creates a mapping between the network cards (or interfaces) names in my computer and their IP address (in CIDR format, if possible). The goal is having ...
0
votes
0answers
127 views

Kioptrix Level 1: Determining IP information for eth0 failed

I'm trying to set up a Kioptrix VM in VMware Player, in order to analyze it from a separate VM using Kali Linux. The VM can be found on this page: http://www.kioptrix.com/blog/test-page/ When ...
3
votes
1answer
101 views

How to tell if two ethernet interfaces are on the same lan?

I have to secure interfaces on Linux servers by setting bonding interfaces. The cabling information is not accurate. Is there a simple way to know if two interfaces are connected to the same LAN? ...
0
votes
1answer
70 views

Trying to connect to gateway in static ip network

I have arch-linux-arm running on a raspberryPi. The network I am in uses static IPs. gateway IP is 192.168.178.5 IP for my device is 192.168.178.201 To connect to the internet I use: ip addr add ...
1
vote
1answer
379 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 ...
0
votes
0answers
20 views

Once connection is lost wi-fi cannot be brought up again

I'm running Arch, using netctl-auto to connect, and it connects well. However, as soon as the connection is lost (e.g., timed out in a network where connection must be renewed after a period of ...
0
votes
0answers
129 views

How to make linux see my internet connection?

I'm sort of booting off of a Mint 17 LiveCD (the situation is described here: How can i make my pc boot back into windows?) and the network does not work. It's wired if it matter. I've also tried to ...
1
vote
1answer
129 views

masscan. how to configure Linux?

I've set this in my sysctl.conf: net.netfilter.nf_conntrack_max=268435456 Because, this border 16,777,216 achieved very quick. Also, I've decrease timeouts: net.ipv4.tcp_fin_timeout = 30 ...
1
vote
1answer
80 views

DDNS (dynamic-dns) setup and adding a hostname to a device (to be visible on the network)

How do I provide a fixed Hostname to my device so that a netscan can shows up the device name across all platforms? How can I reach the device using the hostname/MAC-ID (something which is fixed) ...
5
votes
1answer
62 views

Testing whether a file is local

I need to test in a script, whether a file is from a network mount or truly local. To be more clear: I need to test, whether parsing the contents will be fast or slow, but for my case local vs network ...
5
votes
1answer
65 views

What's the exact behaviour of the command: ip address change?

I have been fiddling with IPv6 and address lifetimes. I found out that the valid_lft attribute will make a v6-address disappear automagically, if used correctly. To extend an address' lifetime I would ...
2
votes
1answer
286 views

set ip default outgoing in centos

I have server which has Centos and I want to change the outgoing IP address. This is the output of my route and route list commands. [root@marketport tmp]# route -n Kernel IP routing table ...