Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
1answer
27 views

Linux machine is not detecting network card

I have a machine with CentOS 6.5 installed. The machine works fine everyday, but sometimes when I reboot the machine, then the NIC doesn't detect. When I use the command ifup eth2 then it shows the ...
3
votes
2answers
79 views

How to track my public IP address in a log file?

I'd like to save my public IP address to a log file so I can use them to exclude my own visit to my websites in the stats collections. At the moment I can see my actual public IP ...
3
votes
1answer
59 views

How can I repeatedly send the contents of a file via socat / ncat to a socket

I'm running some performance testing, and I'm trying to send the same file repeatedly to a socket. If I do something like: $ socat -b1048576 -u OPEN:/dev/zero TCP4-LISTEN:9899,reuseaddr,fork $ ...
0
votes
0answers
12 views

ALG IPSEC and RSTP

I have linux 3.18. my Linux is installet on a router. in this router I activate a NAT from the wan side. Does this Linux support ALG of IPSEC and RSTP ?
1
vote
0answers
41 views

Allowing GRUB to access network in BIOS mode

I want grub to fetch some configuration via tftp/http. Using efi I can do insmod efinet and net_ls_cards will list my network cards which I can configure and use. Using PXE in BIOS/legacy mode ...
0
votes
1answer
17 views

Are IPv6 link-local addresses assigned by the kernel or by a userspace program

When IPv6 is enabled for an interface, it will get a link-local address assigned automatically based on the MAC of the network interface. But who assigns this address? Is it done in the kernel, or by ...
0
votes
0answers
31 views

how to mute an IP stack?

is there any way to mute a network connected device running Linux so that it receives every message targeted on its IP but not sends anything even Acks? or in my case is there anyway to assign same IP ...
0
votes
0answers
12 views

Using dual connection for separate app [duplicate]

My Mint 17 has 2 connections (wired and wireless), when both connected by default the wired is used, what I want to do is keep wireless for file download and general Internet usage, and use the Wired ...
0
votes
2answers
50 views

Force an application to use a specific connection

So my Mint 17 has 2 connections (wired and wireless) when both connected by default the wired is used, what I want to do is keep wireless for file download and general Internet usage, and use the ...
0
votes
0answers
37 views

Raspbian Jessie: /etc/network/interfaces doesn't apply inet6 address. How to diagnose?

I'm experiencing a strange issue, and I don't really know how to diagnose it, or how to fix it. My problem is, that the static ipv6 assignment that used to work suddenly isn't applied any more at ...
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. ...
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
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 ...
0
votes
1answer
51 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
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 ...
-1
votes
2answers
59 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, ...
2
votes
4answers
72 views

Solaris 10 - changing default gateway and netmask

We have a Sunfire V240 server with Solaris 10,I need to change the subnetmask and gateway. I was able to change the subnetmask and gateway by editing the files /etc/subnetmasks and ...
0
votes
0answers
142 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 ...
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 ...
1
vote
0answers
26 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
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
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 ...
0
votes
0answers
59 views

How do I get a yum repo to work in a Docker container?

What do I do about two Docker containers on separate VMs that have the same IP address on my network? I have two CentOS 7.x servers. Both have exactly one Docker container. When I use ifconfig, 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
42 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
159 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. ...
0
votes
0answers
57 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 ...
2
votes
0answers
81 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 ...
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 / ...
2
votes
1answer
87 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
12 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
1answer
54 views

Public HTTP/HAProxy server also is a VPN… should it do both?

I have a HTTP/HAProxy server. It also is the OpenVPN server for my network (all my servers are connected to it). I expect my website to grow dramatically soon, so I am worried if this single point of ...
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 ...
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 ...
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
31 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
1answer
73 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 ...
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
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 ...
1
vote
0answers
31 views

multiple ip in an android payload(Kali linux)?

I'm using Kali linux 2.0 and I'm trying to make an android msfvenom payload that uses multiple ip, What I mean is that when the msfvenom app is opened in my phone it stays trying to connect to the ...
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
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
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 ...
0
votes
1answer
50 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 ...