Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

0
votes
1answer
42 views

Help testing special file in `/sys/class/net/`

Background I am managing a cellular interface. I have a bash script that is testing the interface. In question is the file located at /sys/class/net/wwan1/carrier where wwan1 is an unconfigured ...
0
votes
1answer
51 views

how to block ip addresses using the whois command

I am trying to block public ip addresses/ranges of specific organizations in my firewall. To accomplish the purpose, I need to find out the actual list of netblocks/IP addresses they own. For ...
1
vote
1answer
60 views

Virtualbox - how to give Internet access and internal network access to two VMs?

I made two Virtualbox virtual machines, CentOS 7 latest iso. I gave them each 2 network interfaces, one NAT and one "Internal network" in order to get them to talk to each other and have Internet ...
0
votes
1answer
26 views

How to disable QEMU guest access to host ports

I'm using the following command to run a QEMU VM: qemu-system-x86_64 -enable-kvm -m 1024 -smp 2 -hda disk.qcow2 By default, the guest OS has internet access, but can also access open ports on the ...
0
votes
0answers
34 views

Kali Dns Problems

I have a problem. So, when I connect to any wi-fi station I can't use google or yandex. I solved that. The thing was in dns. I added google dns servers to 'resolv.conf' and it worked fine. However, ...
1
vote
1answer
16 views

Can't access website from other networks

I am trying to open a website since I was told to use and they gave me some tasks to do from there. I have always been able to use it from my work network, but not from other networks. And the guy who ...
1
vote
1answer
35 views

DHCP release and renew over SSH?

I am setting up a DHCP reservation for my Raspberry Pi B+ on the wired connection. It's in another room. After setting up the reservation, I told it to reboot, and it did not get the new ...
1
vote
0answers
18 views

Deleting / renaming a network hardware port in OS X / Darwin

This is a problem that so far no one at Apple.SE could help me with, so I'm just gonna give it a shot to ask it in a different form over here. (I hope I'm using the right SE site... or is this better ...
0
votes
0answers
23 views

What is txqueuelen equivalent for receiving in linux?

I have always wondered that txqueuelen in output of ifconfig command defines transmission queue length in linux in terms of packets which I assume get utilized in various qdisc management while ...
1
vote
2answers
41 views

Is /etc/sysconfig/static-routes a deprecated method for adding persistent routes?

RHEL 5.x I'm comfortable with adding static routes via /etc/sysconfig/static-routes. When I was reviewing Red Hat documentation though, I didn't see this mentioned. Instead, the recommendation was ...
2
votes
0answers
46 views

Copy remote btrfs incremental snapshot to new drive w/ UUID

Situation: Two machines (A & B, with local drives dA & dB) connected via slow network. Drive dA has initial backup to dB, while locally attached on machine A. btrfs send RO-snapshot-1-dA | ...
0
votes
1answer
40 views

Measuring how much batteries lasts on another system? [closed]

I have both a Linux computer and Microsoft Vista laptop. I would like to know how much the batteries last on the laptop from the computer. How can I do a script for that, i.e. how to check on Linux ...
0
votes
2answers
64 views

BeagleBone Black static IP address was changed strangely

I set up my BBB to static IP address like below: root@beaglebone:/var/log# cat /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate ...
0
votes
1answer
21 views

Can Shorewall be used on VyOS?

Will VyOS still work right if I install Shorewall-lite on it? Shorewall seems like an easier way to setup a network, but VyOS seems pretty great for day-to-day management of a router / firewall. So ...
1
vote
1answer
35 views

Execute command before bring interface up on OpenWRT

I´m making a Wireless-to-3g router with openwrt, and its working pretty well. However, to bring the 3g-wan interface up, i have to first register the usb modem using the command gcom -d /dev/ttyUSB0. ...
1
vote
1answer
37 views

Netstat Listen Queues

What information can I gather from netstat listen queues? Looking at the man page I can see that using "-L" in netstat it shows me the size of listen queues. It tells me information about each ...
0
votes
1answer
35 views

Can't setup ssh connection with bridge

I would like to set up an ssh connection to a device, which is bridge. It's a device to put between router and PC and the traffic just goes through. I don't have a ip-adress assigned to the bridge, so ...
0
votes
1answer
17 views

Only One Resolver ip

so i was trying to setup Cpanel and i got this problem it asked me for a Secondary Resolver which i don't have i tried getting my ip resolver by typing cat /etc/resolv.conf in centos and it gave me ...
0
votes
0answers
19 views

Network between 3 VM's

I have a kinda dumb question but I have 3 VM's with TinyCore linux on board with wifi network drivers installed there. I have a task to connect 2 machines to 1 network - 1st and 2nd. Then to connect ...
1
vote
1answer
99 views

Why are routes set in /etc/network/interfaces not added when the interface comes up?

Here is my interfaces file: auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp auto eth0:0 iface eth0:0 inet static address 10.20.8.231 netmask 255.255.255.0 ...
0
votes
1answer
57 views

dhcpcd and /etc/network/interfaces

I have this configuration in /etc/network/interfaces: auto lo iface lo inet loopback allow-hotplug wlan0 iface wlan0 inet manual wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf allow-hotplug ...
5
votes
1answer
96 views

Bond two Internet connection of varying quality

I live in a remote part of the country, internet-wise. I utilize a satellite based internet, but it's having many problems during peak traffic times. I have researched a bit and found Ubuntu ...
1
vote
0answers
28 views

How can I enable jumbo frames on a bonded Xen bridge interface?

I have a Debian Jessie 8.2 server serving as an Xen VM host. The server has two physical network interfaces that are bonded together using LACP. There is also an xenbr0 interface. I would like to ...
0
votes
1answer
24 views

How to upgrade Open VSwitch in openStack Kilo

I'm using OVS integrated with OpenStack Neutron. OVS' version that I use is 2.3.2 and I want to upgrade it to the latest version released in Sep 2015. I tried to upgrade it by entering "apt-get ...
0
votes
1answer
19 views

Use a bond interface like a bridge

I was trying to set up a bridged interface in Micro Core Linux. There's no bridge available in the kernel.So now I would like to know if there's easy way to use a bond like a bridge?
0
votes
0answers
21 views

What utilities will allow me to see how much network data a process has used in a session?

I need to know how much network data each program/process are using on my machine. There are great tools (like nethogs) to give me information on current usage. However, it does not give me ...
3
votes
1answer
33 views

Two Virtualbox systems with same IP address

I need to test an issue with nfs so I spun up a couple of VirtualBox VM's on my system. One is RHEL7, another CentOS7. Each has a unique MAC address when viewing settings> network. Both VM's boot ...
1
vote
0answers
23 views

Making bind to listen to localhost in netns

I have a Debian Jessie running Bind. There is an OpenVPN connection set up. And resolv.conf set up to use local Bind first: nameserver 127.0.0.1 nameserver 4.2.2.4 I want to set up system in a way ...
0
votes
1answer
40 views

Default Gateway on CentOS 7.x not setting

Trying to teach myself CentOS 7.x after slowly pulling away from CentOS 6.5. My problem is likely very simple in nature but I am still puzzled by it and would appreciate some input. Basically I am ...
0
votes
0answers
6 views

how to remove Queue in send_Q-part of netstat?

I have a tcp-server or may be it is lazy tcp-server because sometime the program dose not take the data from socket and i see some number is send_Q/recv_Q column of 'netstat -tn' command. is there a ...
2
votes
0answers
65 views

Why don't I have networking connectivity on my virtual machine?

I have a virtual machine called vnet208. I used to be able to ssh into it, but I made some changes a while ago and then we had some power outages and now I don't have network connectivity. I can get ...
1
vote
1answer
32 views

Change preferred NIC in default routes

I have a VM with CentOS 7.1 and two NICs: eth0, dhcp, 192.168.1.0/24, access to the host and the Internet. eth1, static, 10.0.0.0/24, between VMs only. I have configured IP and connectivity is ...
1
vote
1answer
37 views

Using ether-wake reports error “sendto: Network is down”

The command sudo ether-wake xx:xx:xx:xx:xx:xx prints sendto: Network is down for all MAC addresses I plug in. I couldn't find any information on how to fix this - I'm clearly connected to WLAN on ...
0
votes
0answers
12 views

Is there a way I can auto-connect to a network with a certain SSID using Connman?

I want to create a script that will auto-connect to a network if it has a certain SSID. I am not sure if that is possible with Connman. Can I tell Connman to connect with X credentials if it finds a ...
0
votes
1answer
25 views

Run concurrent static and DHCP network connections in CentOS 7

I've been trying to set up a VM for study purposes that can share some iSCSI resources on a private network with the IP 10.0.2.10/8. However, I also want to be able to concurrently use the same VM to ...
0
votes
0answers
60 views

How to tether Ubuntu guest to iPhone on Windows host using Virtualbox?

Here's my idea: at work, I am behind a firewall and can't access most of the web. I'm on Windows 7. I installed virtualbox with an Ubuntu 14.04 guest. I want the guest to use my iPhone personal ...
0
votes
1answer
29 views

Linux routing IPv6 packets through incorrect interface

I have a Arch Linux system where link-local packets are not being routed properly. I have 4 interfaces on this machine (wan, lan0, lan1 and lan2). All three of the lanX interfaces are bridged ...
1
vote
1answer
30 views

Mutt hangs sometimes when connection is limited to imap.gmail.com

I wanted to restrict email clients to connect to only 1 IMAP server - imap.gmail.com. And wrote this iptables rule: iptables -A OUTPUT -d imap.gmail.com -p tcp --dport imaps -j ACCEPT I have an ...
0
votes
0answers
18 views

Where are macvtap settings on rhel 7

I am creating a virtual machine in KVM on Red Hat Enterprise Linux 7. I have created two bridges and connected two interfaces which are on the physical hardware to the bridges. How can I use these ...
0
votes
1answer
45 views

Unable to resolve hostname for Redhat Linux server

I've setup a Linux RedHat server and would like to use it by referring to its hostname instead of the static IP. eg. ssh admin@myhostname.blah.di.blah, instead of ssh admin@XX.XXX.XX.XXX but I get a ...
1
vote
1answer
32 views

How can I check whether a given connection is going through my VPN?

I use openVPN to connect to a server at work. However, I only want to use the VPN for work-related stuff and not for my regular browsing. I don't really know much about VPNs, so it's entirely possible ...
3
votes
2answers
63 views

Linux static routing : Ping a private network(Network Diagram Attached)

In the Network Diagram above my aim is to ping 192.168.20.20 from System A. I do not want to configure the router. For that to happen All the traffic to 192.168.20.0/24 should be first forwarded ...
3
votes
1answer
28 views

/etc/network/interfaces file valdiation

Are there any tools baked in to linux that I can use to validate the syntax in /etc/network/interfaces or /etc/network/interfaces/*.conf files akin to the way I can validate sudo using visudo before ...
1
vote
1answer
13 views

Does SIGHUP get triggered upon broken telnet/SSH connection?

I'm trying to write a mail program which might contain data that a user wouldn't want to lose upon a broken SSH/telnet connection. Would SIGHUP be sent to the process? After all, it's the "hangup" ...
0
votes
2answers
34 views

Bridged interfaces do not have internet access

I'm trying to run a QEMU VM but it doesn't have an internet access, only access to the host and a Docker network. What I did: Created a bridge with: brctl addbr virbr0; Turned it on: ip link set up ...
0
votes
0answers
36 views

A script or series of commands that turns off wlan0 when eth0 is not connected, and turns on wlan0 when eth0 is connected again?

I'm bridging a connection from a device that only has eth0 to a wlan0 device to use it as an access point to the Internet. I've been able to create the bridge itself without any issues. But there's ...
0
votes
0answers
15 views

Create a bridged interface like VirtualBox

When I createa a VirtualBox VM with Bridged Network (manually specifying which interface to bridge into) my VM gets IP address from the DHCP server in my LAN. How is this interface created? I want to ...
1
vote
2answers
44 views

Why ssh is not authenticating the password [closed]

I'm trying ssh to another machine with option k or K. It is not verifying the password. With any string in password section, it is logging in. what is the reason behind this? Example: ssh -k ...
3
votes
1answer
44 views

How can Wireshark see packets dropped by iptables?

I recently installed my hard drive in a new computer and after some fiddling around I noticed my iptables rules were dropping DNS responses for some reason, turns out they were configured to allow ...
2
votes
0answers
45 views

problem in mirroring interfaces' traffic using OVS

I'm trying to mirror all incoming/outgoing traffic of an interface "eth0" on VM04, to another interface "eth1" on VM01, using open Vswtich integrated with neutron in openstack. Both VMs are in one ...