Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

26
votes
4answers
85k views

How can I find available network interfaces?

This is in regard to linux, but if anyone knows of a general *nix method that would be good. I booted a system yesterday with an ethernet cable plugged in. "NetworkManager" is not installed, so once ...
5
votes
4answers
5k views

Elementary OS shows WiFi networks, but won't connect

In the top bar, clicking the network icon shows a list of networks. My school's network, which on Windows I would connect to, and then visit a login page in Chrome in order for it to work, shows on ...
7
votes
1answer
5k views

unable to restart networking daemon

When I type sudo service networking restart, I am getting error as shown below: edward@computer:~$ sudo service networking restart stop: Job failed while stopping start: Job is already running: ...
1
vote
0answers
54 views

“link is not ready” error, vanishing network interfaces

I recently had a weird problem when trying to use airmon-ng. Here is its description: First, I plug in my USB WLAN adapter, and type ifconfig. Everything goes well and I see all interfaces are ...
0
votes
1answer
78 views

CentOS “service network restart” FAILED - where is the error log?

In CentOS, I ran the following command. But it doesn't give me explicit errors to investigate. How can I troubleshoot further or find the errors? service network restart
0
votes
0answers
62 views

Unprotected Windows Shares Still Requiring Password in Linux Mint

I am trying to access my windows shares from linux mint. I have 2 windows computers (both Win 10) and my laptop on Linux Mint. My office PC is password protected and can access those files from my ...
1
vote
0answers
23 views

Home directory does not mount on kernel update

My home directory will not mount on booting with new linux kernel. Previously, my home directory has been mounted automatically from a network device. I updated my kernel to 4.6.0 from the git ...
1
vote
1answer
851 views

Using Metasploit with 3G USB modem

I have a computer with Linux BackTrack 5 as host and Windows XP as guest on virtual box. I am using Host-Only-Adapter to create virtual LAN and to share USB modem internet as well so that both host ...
1
vote
0answers
17 views

The domain and search options in resolv.conf [duplicate]

Let's say you have a resolv.conf file that's something like this. nameserver 192.168.0.7 nameserver 192.168.0.8 domain somedomain.local Then let's say you just changed it to this. nameserver ...
25
votes
2answers
76k 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. ...
2
votes
2answers
950 views

I can ping internal to outside but not from outside to internal (Static IP)?

I have a static IP provided by the administrator of my Linux CentOS 6.5. The problem is that while I can ping this machine, connect to it and use it to access the internet from within my network, I ...
3
votes
1answer
5k views

multiple default gateways for alias interfaces (SOLVED)

Alias interfaces defined in /etc/network/interfaces cannot have multiple default gateways. Unfortunately I would like to use the same interface to access 2 different nets, and I need to define 2 ...
3
votes
2answers
62 views

Basic network via command line

I am using Fedora 23. Using the file explorer I "found" this page It shows where I can access other networks, I can click on them, and log in... My questions is: Is there an equivalent place ...
0
votes
1answer
191 views

Manual network setting on Solaris 10

I am using Solaris 10 on VirtualBox. While installing I chose to assign IP manually. IP address: 192.168.1.46 Subnet: 255.255.255.0 Gateway: 192.168.1.1 Now when I ping my Solaris machine with ...
1
vote
0answers
25 views

What does TCPRcvCoalesce, TCPAutoCorking and TCPHystartTrainCwnd in netstat mean?

We have some RHEL7 Apache reverse proxies that experienced a performance degradation event. After a few hours, restarting Apache restored performance to normal levels. We are trying to determine the ...
4
votes
2answers
2k views

NAT and source IP filtering in PF, using OpenBSD >= 4.7

I just read a book about PF (The Book Of PF, No Starch), but there's one question not answered by it. If I have a gateway machine using two interfaces, $int_if and $ext_if, and I NAT the packages ...
0
votes
0answers
28 views

iptables forward all traffic to 2 different interfaces

I'm currently using dnsmasq to create a small Debian box as a DHCP and DNS cache server. Until today, I had just 2 interfaces (eth0, eth1). One connected to my WAN (eth0) and one connected to my LAN ...
4
votes
1answer
4k views

Understand the Route table

I just setup the OpenVPN and it is working as expected. However, the routing table of the client is confusing me to no end. Here is the route table: # route -n Kernel IP routing table Destination ...
0
votes
0answers
61 views

IPSEC help using Strongswan on CENTOS 6.6

I have been tasked with setting up an IPSEC tunnel to our remote data provider. They require my Phase 2 traffic to be PAT'd behind a public address. I am using strongswan 5.3.2 on CentOS 6.6 on a ...
0
votes
1answer
42 views

Bridge 2 wifi connections

I have set up Ubuntu desktop on my laptop with an internal wifi card and an external USB WiFi dongle. Both WiFi interfaces work. I'd like to make one into an access point, and the other into the ...
1
vote
2answers
636 views

Route everything through VPN except SSH on Port 22

I have a Server and I want to setup a VPN on it to route all traffic. Of course I dont want to block myself out when establishing the OpenVPN connection (already did that..) so I want the Port 22 to ...
1
vote
2answers
908 views

No Default Gateway route for bond0 / Slave eth* interface gets IP assigned

I have set up a 4-NIC bond on my Debian Wheezy box. After a fresh boot, the system has LAN access, but cannot resolve outside host names or access outside IPs. It seems that this is because the bond0 ...
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 ...
2
votes
4answers
55 views

How to know which ports are listened by certain PID?

I have a PID of certain process listening some port(s) on my OS X and I need to know which port(s) is listened by this process. How can I do it? I know I can use lsof to know which process is ...
2
votes
1answer
19 views

How can I find out the ownership of a tap interface?

I can set up a persistent Linux tap interface and make it owned by a specific user and group with one of these: tunctl -u someuser -g somegroup -t example.tap ip tuntap add dev example.tap mode tap ...
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 ...
1
vote
1answer
36 views

Kali linux network error

I'm new here and I'm from Tunisia so my English is my 3rd language so forgive me for my bad grammar mistakes. OK, I have Kali 2.0 linux (32bit) installed in windows 8.1 (32bit) (dual boot, no VM), ...
0
votes
1answer
33 views

Ubuntu Server 15.10 doesn't recognize internet card

I just installed ubuntu server (the installer connected to the internet with no troubles), and I cannot get it to connect wirelessly to the internet. I've googled to no avail, as there is no ethX ...
0
votes
0answers
37 views

Debian Stretch - WiFi issues with BCM43143 (Gets ip then disconnects)

I've fixed up an old ITX desktop that I was given and am running a headless Debian install on it. To install I used the minimal install for Debian Jessie then I proceeded to install nginx, samba and ...
3
votes
1answer
1k views

How do I create a USB networking interface for passing internet to my Android phone?

I am working on passing through the internet from my computer to my phone (running Android) over USB. I'm not sure how to achieve this, but I know I will need a usb network interface, such as usb0. ...
1
vote
0answers
26 views

Unknown bridge gets recreated after reboot on Ubuntu 15.04@VMWare

I am running Ubuntu 15.04 on VMWare. For the last couple of days I have the issue that I have a "magic" network bridge: I never created this bridge and therefore I tried to delete it with the ...
3
votes
1answer
58 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
3answers
54 views

How to check which network interface is active and providing internet?

ip link show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eno1: ...
1
vote
1answer
3k views

Trouble switching from DHCP to a static IP on Kali Linux

When I installed Kali Linux 64bit, I forgot to set up a static IP address, and now DHCP determines my address with my router. I have already modified /etc/hosts and /etc/network/interfaces to declare ...
2
votes
1answer
93 views

Can login and browse in shares on samba server, can not access files

I´m pretty new to Linux so I've been having a hard time fixing this. Running the latest version of Mint. The files are stored on an auto-mounted NTFS partition. I can access the share, I can ...
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 ...
3
votes
2answers
76 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 ...
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 ...
5
votes
1answer
4k views

Debian, two network cards - “no route to host” on eth1

I have added a secound nic in a debian box. That nic is ment for doing some test stuff, so those devices connected should just be able to access the debian box or be accessed from it. To set up the ...
3
votes
2answers
13k views

why can't this CentOS 7 server see wifi connections?

I recently installed CentOS 7 as the sole OS on an Acer Aspire T. There is no GUI, as it is a server with a terminal-only interface. What do I need to do to get CentOS 7 to be able to see and list ...
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 ...
5
votes
2answers
177 views

How to enable package caching in dnf?

I started using fedora 22 and started learning dnf only to find out about two annoying facts: Almost every time I install or upgrade anything it has to rebuild the whole repository metadata cache ...
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
30 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 ...
2
votes
1answer
78 views

What is blocking: Firewall and tcpwrapper?

Is it possible to find whether the firewall (iptables) or tcpwrapper is blocking a connection without accessing the remote server? (Maybe with tcpdump?)
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 ...
7
votes
1answer
2k views

What do I need to add a virtual IPsec adapter?

I'm trying to set up an IPsec connection manually from the console with iproute2. What I need is a virtual interface (at best, a virtual IP address could also be sufficient) that IPsec-transforms ...
0
votes
0answers
36 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 ...
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 ...