Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

3
votes
5answers
2k views

Get devices name on the network

As in the title i wanted to know all the devices name on the network. I've already tried without great success many commands found on the web, but nothing worked like i wanted to. Basically, when i ...
0
votes
2answers
34 views

RHEL Network Interface not restarting

RHEL 5.11 I run the restart command: /etc/init.d/networking restart Then it just sits there until I have to force quit: 15:09:11 # /etc/init.d/network restart Shutting down interface bond0: ...
0
votes
1answer
25 views

Connect to guest vm (no wifi driver) from machines on same wireless network as the host machine?

I have my host os with proper wifi drivers that connects to my router. I run a NixOs VM (no wifi driver) as guest. I setup some configs in NixOS and it now has many binary caches that I want to share ...
0
votes
1answer
38 views

Block incoming port

I installed LabView on a Scientific Linux 6 machine and promptly got a message from our security officer, stating that the port 3580 is open and listening and that this is a security issue. ...
2
votes
0answers
80 views

Configuring and Testing Freeradius on debian

I'm trying to set up a freeradius server on debian (LTS kernel 3.2.0.4amd64; Wheezy 7.10) it seems to want to use freeradius version 2.1.12 Installing the package wasn't a big deal (apt-get install ...
0
votes
0answers
12 views

pcfl - Allow ssh for an specific IP

I'm working with pfctl on Mac OS X. Im trying to make a policy/anchor what blocks SSH for ALL ips, minus specific ip. I try this: pass in on fxp0 proto tcp from any to any port < 22 flags S/SA ...
1
vote
1answer
27 views

Meaning of address and route scope

I've been searching information concerning the meaning of scopes both in addresses and routes but I don't understand the documentation I've read so far. This is what I've been reading: man 8 ip ...
0
votes
1answer
49 views

Not all traffic routed through openconnect VPN

I'm trying to connect to a VPN network using openconnect with the following command: sudo openconnect -s /etc/vpnc/vpnc-script SERVER I manage to connect to the VPN, so that I can connect to PCs in ...
1
vote
3answers
1k views

Prevent Zypper trying to use IPv6

I'm setting up a box with OpenSUSE 13.1. For reasons beyond my comprehension, Zypper utterly insists on using IPv6 addresses and refuses to use IPv4. Which is a problem, since IPv6 doesn't work on our ...
3
votes
1answer
2k views

I opened a port with iptables but still doesnt work

I have a CentOS installation as a guest VM with VirtualBox. I have two ethernet interfaces, eth0 with NAT and DHCP, and eth1 with Host-only adaptor and static IP. I have oracle installed in this ...
-1
votes
2answers
58 views

Detect automatically a network interface for each one in Solaris 11 [closed]

I'm working currently in a shell script to monitor a Solaris system. The main purpose of the script is show info like: Memory, Network, etc. In the Network part, it will show info like arp table, ...
8
votes
2answers
63k views

Static IPv4 & IPv6 configuration on CentOS 6.2

I try to configure static IPv4 & IPv6 configuration on CentOS 6.2. The configuration below works perfectly : # ifconfig eth0 x.x.x.x/29 # route add defalt gw x.x.x.y # ip addr add dev eth0 ...
0
votes
4answers
13k views

Centos 7: failed to bring up/down networking: configure interface for a trunk interface

The switch configured on the server (Centos 7) is configured as trunk for VLAN#115,2014. I have loaded # lsmod | grep 8021q # modprobe 8021q I would like to configure an IP address on the server ...
0
votes
0answers
137 views

Wifi can't connect - QCA9377 (168c:0042 rev 30) on arch linux

I have an Acer R11 that came with an Atheros wifi chip. QCA9377 / 168c:0042 (rev 30). After much googling, forum browsing, and general anger, I'm posting here. I am unable to connect to a wireless ...
1
vote
2answers
158 views

Cannot connect to the internet (even pinging my own router) on any distro

I always run Windows 10 (Ethernet and WiFi work fine) but I dual boot and changed my distro from Arch (~6 months ago) to Fedora (~3 months ago). Fedora used to connect sometimes and sometimes not. ...
1
vote
1answer
118 views

Which process/daemon replaces netplugd in Centos 7.1?

I'm moving a piece of software from Ubuntu 12.04 to Centos 7.1. Part of the original installation script runs dpkg -i netplug_1.2.9.1-2ubuntu1_amd64.deb. I can't install a ubuntu deb on Centos, nor ...
0
votes
0answers
64 views

Centos 7 persistent static routes for any interface

I am trying to set up some static routes in a CentOS 7 box. The official RHEL says it is possible to add files in /etc/sysconfig/network-scripts/route-interface. This approach works, however I need ...
3
votes
1answer
65 views

Why can't my servers talk to each other over direct ethernet connection?

I have two servers running RHEL 7.2. Each have 2 NICs. One NIC talks to a switch, and other is a direct connection between the two servers. One of the servers will be an NFS server, and the second ...
1
vote
0answers
46 views

How add configure to add default gateway from different subnet?

I am working in a host in LAN segment of 192.168.148.X with subnet mask 255.255.255.0. The LAN should be configured to use 192.168.128.1 as default gateway. What I normally do is to issue following ...
0
votes
1answer
37 views

linux + single user mode and set network

I have linux redhat machine version 6.5 I reboot machine and work as single user mode , then I set the network on eth0 with default gw address /etc/sysconfig/network-script/ifcfg-eth0 but from ...
0
votes
0answers
24 views

How to get packets queued by the kernel packet filter?

I made simple HTTP proxy which accepts connections from clients on a fixed port; the proxy forks for every incoming connection, and the forked process deals with the flow of packets to the Internet ...
0
votes
1answer
72 views

CentOS: yum update Cannot find a valid baseurl for repo

I am trying to do yum update but I'm getting the following error. I have exported http_proxy & https_proxy Have added proxy settings in /etc/yum.conf like: proxy=http://10.44.208.10:8080 ...
0
votes
2answers
93 views

How to access server without IP-address

I have a centos server that was previously on my company's network using a static IP address, but it has since been blocked/firewalled on the network such that I'm not even able to ping it. I was told ...
34
votes
6answers
65k 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? For ...
0
votes
0answers
46 views

How to add security (802-1x.eap) with nmcli

I've done nmcli con add type ethernet con-name SOMENAME ifname enp5 now how do I add security to it using nmcli(as if you had hit the on button in the gui.) so that I can than go and edit the ...
0
votes
0answers
15 views

Any clustering / load balancing solutions for VPN servers that support external IPs?

I am looking for a clustering / high availability / load balancing solution (something like ucarp or clusterip, etc) where it allows the nodes to be external IPs. Specifically, I would like it for ...
1
vote
1answer
25 views

Route specific traffic to specific interface

I have two NICs. Basically, I want to use one of them for specific traffic (based on the destination IP or the domain) and the second one for the rest of the trafic. Is this possible? If it is, How ...
0
votes
1answer
10 views

Is there a simple menu-based app that shows the LOCAL IP#?

Is there a simple menu-based app that shows the LOCAL IP#? This so I can provide the IP# to anyone wanting to contact my new RPI3 on a LOCAL network (Apache web server initially).
0
votes
0answers
36 views

How to enable gigabit transfer for gigabit ethernet

I have 2 machine (PC and laptop) and a gigabit switch, both NIC are gigabit, the cables are Cat-5E, the PC is gigabit enabled: $ ethtool enp1s0 Settings for enp1s0: Supported ports: [ TP MII ] ...
2
votes
0answers
41 views

Change with the command iptables not reflected in the output of the command netstat

Scenario: A virtual machine UU (abbrev for Ubuntu) is serving a web-page. The web-page is accessible on CO (abbrev. for CentOS) which has the Virtual Box on which UU is running. However the web-page ...
1
vote
2answers
3k views

Missing network list in menubar after using airmon-ng

After using airmon-ng in kali linux the list of available networks is missing in the menu bar at the top. Can anyone please tell me how to "reactivate" it? When i use iwconfig it shows up an entry ...
0
votes
0answers
55 views

Setting multiple IP addresses on private network interface using Vagrant

I am trying to configure IPv4 and IPv6 address on Internal network Vagrant interface but I am unable to do so. Here is the configuration: config.vm.network "private_network", ip: ...
1
vote
0answers
30 views

How to proxy nmap and dns resolution of nmap

How to use nmap and dns resolution of nmap over proxy? I tried proxychains, but for dns resolution it doesn't work, it's known bug as I read on some forums. It works well without dns_proxy feature in ...
1
vote
2answers
79 views

Connect to Linux machine behind a firewall

I am looking for way to connect to Linux machine without connecting to it using SSH, Telnet or something similar. The Linux machine is behind a router and I don't have access to it. So opening / ...
0
votes
1answer
59 views

Able to SSH from Windows, but not through Kali

I was trying to connect my Raspberry Pi 3 Model B over Ethernet to my netbook(running Kali from a bootable USB). After a lot of struggle that the RPi automatically assigned an IP to itself when ...
1
vote
1answer
30 views

Listening on tap device for packets written through file descriptor

I have a problem fully understanding how to use tap devices. I've created a tap device and brought it up and running. A user space programs opens its file descriptor and receives the ethernet frames ...
2
votes
1answer
84 views

Don't allow docker internet access

I'm looking for a simple way to limit my docker containers so they only have local access and not internet access. I've tried using IPtables to do this and the following works: iptables -I FORWARD ...
0
votes
0answers
11 views

Network shares mounted seem to time out

I am running Windows Mint as primary OS on a couple of PCs at home, I also have a server running Windows Server 2008 which serves a couple of Samba shares. I have mounted these drives via /etc/fstab ...
0
votes
0answers
15 views

Changing interface from dhcp to static using nmcli in CentOS7 [duplicate]

I have a new CentOS7 box that I'm trying to configure the interfaces on, and I know how do do it the CentOS6 way (Modifying the ifcfg-* files directly), but id like to use nmcli if possible. I know I ...
0
votes
1answer
52 views

`ssh` fails to reach destination

I am trying to ssh to another machine in my lab using the IP address. The IP address is 137.84.4.211 and let's say the host name is MyName. My IP address is 137.82.81.10. I don't know if this mean two ...
1
vote
0answers
21 views

Signal strength average from iw

I was using iw dev wlan0 station dump to get signal strength in an ad-hoc network, and noticed the output has a signal avg row. As average signal strength is actually what I'm interested in, this ...
2
votes
0answers
30 views

why does nmap shows same ports sometimes as filtered and sometimes as closed?

When I'm scanning port range 4050-4060 of an smart metering device all ports are reported as closed: root@abc:~/rvm/dlms# nmap -p 4050-4060 192.168.1.242 Starting Nmap 6.47 ( http://nmap.org ) at ...
0
votes
0answers
21 views

lxc-how to make an lxc container available on the LAN?

I have tried a lot of methods mentioned on the internet,including the debian wiki, and a lot of other sources.But they all end up either not fully completing what i want to do, or taking out the host ...
0
votes
1answer
51 views

Troubleshooting WIFI - no access points listed

I have a desktop computer which I run mostly with a wired network connection. When I start the Wicd network manager it says "No wireless networks found." Also, the command iwlist gives the same ...
2
votes
4answers
6k views

How to change user agent on all http requests made from my machine with Squid intercepting proxy?

I'd like to change the user agent on all HTTP requests made from this machine. It's easy enough to change the user agent in each browser, but other apps also make http requests. It's vital I catch ...
2
votes
0answers
58 views

How to debug what is stopping ping to respond on our server?

We used to have a sysadmin person months ago who had disabled ping response on one of our servers. But now we want to re-enable ping response. I tried to check if the ping was disabled from config. ...
0
votes
1answer
49 views

Configure multiple interfaces with DHCP on CentOS

I am trying to get a DHCP-assigned address for a veth device (veth-inside) inside of a network namespace (myns) on CentOS 7, but dhclient is already running. The veth peer device (veth-outside) is in ...
1
vote
0answers
45 views

How to route packets between private networks on linux?

Hello! I need to connect 3 networks. Here is what I did: for the "left" host ip route add default via 192.168.26.4 ip route show default via 192.168.26.4 dev enp0s3 for the "right" host ip ...
0
votes
1answer
49 views

Network monitor - delay

I am currently running Kali Linux on Raspberry Pi 2 and using it as network monitor. I have developed my own C application with libpcap and I am getting average delay on LAN about 300 microseconds, ...
0
votes
0answers
12 views

Could two servers connected by one cable use the link in the same time?

I'd like to know if two servers connected through a cable, can use the only connection to communicate in the same time. For example suppose both have are ssh servers, could I log in from A into B and ...