Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [networking]

Managing and using network connectivity on a unix system

6
votes
3answers
24k views

How to determine eth0 gateway address when it is not the default gateway?

In my system I have eth0 (which may or may not be connected) and a modem on ppp0 (which always may be up or down). The the case where both interfaces are up and ppp0 is the default route, I'd like to ...
0
votes
0answers
3 views

Redirect packets destined for certain IP to a different IP on Openwrt router

I am sending http packets from a computer (running Alpine Linux) to the internet via an Openwrt router. I want to setup a rule on the Openwrt router such that all packets destined for say, 159.65.253....
1
vote
0answers
204 views

FreeBSD alternative for ip route add local

On Linux, I can run ip route add local i order to add a large amout (e.g. a complete /64 subet) to an interface (sf#209203), and using IP_BINDANY I can listen to any IP address on FreeBSD (#207610). ...
3
votes
1answer
2k views

How to set up a “child” proxy that doesn't need a “parent” proxy

I run Linux on a laptop that is sometimes on a corporate network which uses an NTLM proxy server, and thus I have cntlmd running on the laptop as a child proxy to connect to the parent (corporate) ...
1
vote
1answer
159 views

Help understanding interfaces in Backtrack

I have recently installed backtrack on a VMWare box on my machine and I am trying to use DHCLIENT command but am having trouble in understanding the interfaces. I am connected to the internet ...
1
vote
0answers
325 views

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

There's a problem with a device being listed twice with the same hardware port name which is causing a lot of trouble since the OS X configuration utilities (both GUI System Preferences and command-...
1
vote
0answers
1k views

Macbook Pro Retina 2015 Wifi problems on Kali

I have successfully installed Kali 2.0 on my Macbook Pro retina 2015 model running El Cap via dual boot. I do have some experience with Ubuntu etc, and thought I'd try Kali for multiple reasons. Now,...
5
votes
1answer
4k views

grub recovery mode: etc/resolv.conf: no such file or directory

I’ve installed Ubuntu 16.04 on my laptop a few months ago and suddenly I can t get past the splash screen. (I see the red dots gradually becoming white and vice-versa, so something is happening, but ...
0
votes
0answers
22 views

Realtek RTL8821 Ethernet card not detected by Kali Linux

When installing kali linux an error message appears during the step "Detect network hardware", the message says : "No Ethernet card was detected. if you know the name of the driver needed by your ...
3
votes
1answer
2k views

SOCKS proxy configuration on KDE 4.4.5 / Debian 6.0.5

I've been trying to use a SOCKS Proxy which I have been using with success from an Ubuntu 11.4 box with GNOME on my Debian box with KDE.The socks server is bound to the local port 1080 through the ...
0
votes
0answers
19 views

Usage details of ahostsv4 in linux

There is a term called ahostsv4 in the Linux documentation of man getent. What is the usage of it?
1
vote
0answers
16 views

Unable To Load Regulatory Database

I am trying to bring up a 4.19 (4.19.16) kernel on my board using the Atmel AT91SAM9G45 SOC. I included the CRDA support in the kernel configuration, but the kernel reports that it is unable to load ...
1
vote
1answer
2k 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 ...
6
votes
4answers
9k 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 ...
-2
votes
0answers
17 views

How to block all outgoing connection, execpt of established one?

I want to enable incoming HTTP connection to a server and the consequent established connection, but to block all other outgoing connections from the server. Any ideas how to do that?
0
votes
0answers
18 views

Setting up multiple network interfaces using /etc/network/interfaces

I'm trying to setup my 4 network interfaces to have a specific dns-nameservers and dns-search so I can be connected to my domain using any of them but it's not working properly as when I run systemctl ...
0
votes
0answers
9 views

direct lan wire to linux guest on 2 socket lan mainboard

My mainboard is Z170x-UD5 so my mainboard has: 2x Intel® GbE LAN chips (10/100/1000 Mbit) Question is: Can I setup one of my lan adapters to bypass the host OS(windows10) and supply internet directly ...
-3
votes
1answer
36 views

Script program for checking IP connectivity [on hold]

I need a program to check the IP connectivity. Like I will be having more than 100 different IP addresses. For each IP address, I need to check whether it has connectivity or not. My challenge is I ...
3
votes
2answers
6k views

Renew my ip address (dhclient not found)

I recently got a new cable modem and my internet connection is no longer working. I suspect I need to renew my IP address. How can I renew my address? The command ifconfig returns: bash: ifconfig: ...
0
votes
1answer
36 views

how to turn off tcp timestamps?

I tried to turn off the tcp timestamp but it didn't work. The step i performed are the following: $ sysctl -w net.ipv4.tcp_timestamps=0 $ sysctl -p $ sysctl net.ipv4.tcp_timestamps (=> to be sure ...
1
vote
1answer
869 views

How to route network in order to use internet on CentOs?

I have 2 computer in local network which have CentOS both. One has wireless card which can use internet connection. Other computer does not have internet connection. I want to route ip addresses in ...
4
votes
3answers
38k views

How do I mount a WD MyBook World network drive in linux?

I have a WD MyBook World NAS on my home network. I currently use this for Time Machine backups for my Mac but I'd also like to use it as a backup location for my linux box which is running Ubuntu ...
0
votes
0answers
23 views

Change default interface docker container

I'm struggling with this problem for two days. Assumptions: Docker network (and interface) named docknet type bridge subnet 172.18.0.0/16 Two interfaces eth0 (192.168.1.1) and eth1 (192.168.2.1) ...
9
votes
7answers
42k views

Get devices name on the network

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 enter my router ...
11
votes
3answers
3k views

How to open a port early in boot process to unlock LUKS via SSH

I have a fully encrypted server running Debian 7 and have set up dropbear and busybox to unlock the LUKS container via SSH (as described in this tutorial and in this U&L answer). Unfortunately, ...
1
vote
1answer
11 views

Adding / Removing addresses to connections via network manager cli (nmcli)

I am going through some official Linux Foundation exercises / documentation. In a lecture about adding / removing an ip address to an existing connection, the following example is cited: sudo nmcli ...
0
votes
0answers
18 views

How to revive cable connection in Fedora 29?

Recently, I erased "cable" item<-Network<-Setup on Gnome by mistake. After the accident, I lost the cable connection. ONLY The WI-Fi does work!! How can I recover the notebook from this mistake?
16
votes
4answers
7k views

How to give HTTP traffic higher priority?

When I surf the web, I find that I have to pause my BitTorrent client, to help improve the painfully slow speed (I'm sadly on a 384kbps line). It's not too nice to have to do this manually every time. ...
5
votes
2answers
10k views

Configure Atheros AR9285 wireless in Gentoo

My laptop has an Atheros AR9285 wireless card. By following the "Network Configuration" section in the Gentoo handbook I chose the ath9k module. The modules seem to be loaded correctly: # lsmod | ...
2
votes
2answers
4k views

How to enable WIFI on VMWare Fedora 12? (It's detecting and working fine on Windows 7)

I have Fedora 12 running on my VMware. I am unable to see any options to enable WIFI connection on Fedora. When I am accessing Internet through WIFI and its working perfectly fine on Windows 7 (on ...
-1
votes
0answers
16 views

LTE Modem not working in 1 out of 20 boots

I have an embedded device that runs Ubuntu 16.04 and has a LTE modem connected to it. The modem usually works normally on boot and shows up as usb2 device (when using ifconfig). It also gives my ...
11
votes
2answers
86k views

How to properly set up 2 network interfaces in CentOS (running in VirtualBox)?

I have a VirtualBox machine running CentOS 6.5. I've created 2 network adapters for it in VirtualBox's networking settings for the machine. The first is NAT which I want the guest to use to connect to ...
1
vote
2answers
2k views

host can't ssh guest, but guest can

This is a follow-up question from: Make virtualbox get a different IP address than my laptop. I ended up with these /etc/hosts files on both my laptop running Ubuntu 14.04 (the host) and my virtualbox ...
1
vote
1answer
443 views

Can't start network.service after removing NetworkManager

I have this problem that I can't fin a solution on the internet. I have a centos 7 server with cpanel and whm. I deleted the NetworkManager and wanted to turn on network.service. Then I always get ...
2
votes
1answer
1k views

Networking failed to start on Alpine linux

I keep getting an error when booting Alpine Linux Networking failed to start. I'm using a RPI3 which is connected by an ethernet cable to the box. Here's the /etc/network/interfaces : auto lo iface ...
3
votes
1answer
101 views

Linux routing manual/book/lecture/tutorial/videos for a Cisco guy [closed]

I'm a Cisco CCNP who has moved from an ISP to a smaller company whit no Cisco equipments: using Linux boxes instead for routing and firewalling purposes. Beside the fairly common configs of ip ...
1
vote
1answer
28 views

Wireless adapter is detected, but no options to create a wireless network

I have a wireless adapter (the Panda 300Mbps PAU05) plugged in to a USB port on my Linux Mint 19.1 Tessa desktop computer (my kernel version is 4.15.0-47-generic). Yesterday, I had it plugged in to ...
1
vote
3answers
27k views

DHCP Kali Linux

I'm using VBox. I have got a Bridged Adapter. I need to get my network working. What I can already do is to set everything up manually, I mean: ifconfig eth0 192.168.1.33 netmask 255.255.255.0 route ...
4
votes
2answers
1k views

Meaning of log entries from an iptables configuration

My router has Linux as its OS. The system log has a lot of rows about iptable and klogd that I don't understand, could someone explain them to me? The iptables setup: iptables -t nat -A PREROUTING -...
3
votes
1answer
761 views

Networking service must be restarted after cable disconnection with zeroconf networking

I am using a Wandboard (imx6) device running Ubuntu 15.04 for a kiosk-like purpose. I use zeroconf networking for initial configuration and after moving between networks (no keyboard access in the ...
5
votes
3answers
1k views

What happens to local LAN traffic on linux to non-loopback addresses?

One thing I've never quite understood on Linux is what happens to local traffic that isn't directed at loopback. For example, given the following network setup: [root@pe-323-master ~]# ifconfig eth0 ...
4
votes
2answers
157 views

How to create Virtual Network for VM's [closed]

I have downloaded a Linux Live CD which I am required to do pentesting using VirtualBox . Live CD is configured for router with Pool Starting Address 192.168.2.2 . Now problem is that my router is't ...
0
votes
1answer
31 views

Dual Network Gateway on CentOS 6.7

I have dual NIC machine running CentOS 6.7 and asterisk. First NIC is for LAN & Internet connectivity and second is for trunk provider's connectivity. Both of these have gateways configured. I don'...
-1
votes
0answers
34 views

Kali Linux (Kernel 4.19) MT7610u failed to load

I have installed Kali Linux alongside windows 10 on my system all is good except I get the following errors in dmesg every time I boot. mt76x0 1-1.3:1.0: firmware: failed to load mediatek/mt7610u....
1
vote
0answers
21 views

kernel TCP/IP implementation - about accept queue

I'm recently learning the TCP/IP implementation in linux kernel(version 4.4), and got really confused about the accept queue. I know there is a queue in struct inet_connection_sock which is called a ...
0
votes
1answer
235 views

trouble setting proper forwarding rules in `iptables` with custom ip address for network sharing

I am having issues setting up a bridge for my raspberry pi. My setup is: I have a laptop running fedora 27 workstation which is connected to the internet over wifi. I have a Raspberry Pi Zero W ...
2
votes
1answer
534 views

ubuntu 13.04 wifi lost connection - how to get it work again? (broadcom4313)

My problem is that I moved to a new flat where I at first couldn't find my home wlan network in the list, whereas others were shown (also, no one of my flatmates has problems with the network). so I ...
1
vote
1answer
33 views

I can't access my website using tomcat

I'm trying to create my own website using JSP, Tomcat... I'm trying to install Tomcat in Ubuntu (in my Cloud Instance) but I can't access my website. I trying to install Tomcat 9 and I'm using ...
0
votes
1answer
578 views

Another problem with Realtek 8723BE - Module not loaded

I just installed Mint 18. What I have already tried: disabling power management: did not help installing lwfingers driver: broke everything, The device is now listed as UNCLAIMED when I run lshw ...
1
vote
1answer
3k views

Wi-Fi troubles on Ubuntu 16.04, using Qualcomm Atheros in a Lenovo v510

I have a Lenovo v510, running Ubuntu 16.04, and I can't get wireless networking to work.  'Enable Wi-fi' has no effect, no networks show up.  Some commands that I've tried, and their corresponding ...