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 [lan]

A local area network, or LAN for short, is a computer network that connects computers in a small area.

0
votes
0answers
64 views

CentOS 7 : ip addresses in ifconfig and in network-script are different

Given the CentOS server-like machine: $ uname -a Linux labsm 3.10.0-693.21.1.el7.x86_64 #1 SMP Wed Mar 7 19:03:37 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux EDIT My initial problem was that local ...
0
votes
1answer
25 views

Disable Ethernet connection on Mac terminal

I am trying to write an alias for disabling ethernet connection and use the wifi using a command line. I can't access stackoverflow.com and other sites using ethernet due to corporate policies. Is ...
0
votes
2answers
178 views

How to access a device connected in local network with hostname?

I tried accessing a webpage in a server within the local network with the host name of the device followed by its folder path and the name of the file(it is a basic php file). In first system it ...
0
votes
1answer
40 views

How do I connect to a QNAP [closed]

BACKGROUND DETAILS: I've inhereted a QNAP TS-459U-RP. I currently have it connected to my home router via an ethernet/rj45 cable. My computer is connected to the same router. How do I access the ...
0
votes
0answers
49 views

LAN in Ubuntu server is not reconnected after rebooting modem

I have a computer with some home automation stuff connected to the router via LAN, and I only access the computer through SSH, samba shares, and a web interface that it's hosting. Whenever I power ...
-2
votes
1answer
26 views

Get Wireless LAN IPv4 Address Of Device

I want to know the easiest way and I would perfer a single line command that works on most or all Linux distros. I want to get the devices IPv4 address. The reason why I want to know this is because ...
1
vote
0answers
25 views

dual NICs linux

my /etc/iproute2/rt_tables is 255 local 254 main 253 default 0 unspec 1 brain 2 strom I'm using below given /etc/network/interfaces allow-hotplug eth0 iface eth0 inet static hwaddress ...
2
votes
0answers
375 views

dnsmasq is not resolving local hostnames

I have a local Linux server running dnsmasq for my LAN. It has been working without issues for the last several years. I keep the operating system and packages regularly updated. After yesterday's ...
6
votes
1answer
53 views

How can I limit engagement with a large office LAN?

I work in a large office building with hundreds of other computers on the same LAN. I don't have any reason to communicate with most of these computers, and when I do, it's always on an "opt-in" basis ...
1
vote
1answer
1k views

Access LAN computers via VPN connection

I am wanting to put a VPN server on one of machines on my LAN and expose this VPN service to the internet. Once a client (laptop) is connected to my VPN service from outside my LAN I want to be able ...
2
votes
3answers
1k views

How does ssh handle 2 computers on the local network with the same username?

For instance, if one wants to access the account bob on a machine on a local network behind a router, they would simply type: $ ssh -p xx bob@example.com` However, how does ssh handle the ...
1
vote
1answer
260 views

PF Rules to Block All But Accesses to VPN and LAN

The rule set to block all outgoing connections except for VPN access could be like this: block drop all pass on lo0 pass on utun0 pass out proto udp from any to xxx.yyy.zzz.ttt port pppp This works ...
0
votes
1answer
74 views

what is the advantage to configure the network ETH with UUID?

what is the advantage to configure the network with UUID? uuidgen eno093736 1b64d026-c6a6-447c-85aa-40c5d2db2c4e for example we want to configure BOND under /etc/sysconfig/network-script what is ...
0
votes
2answers
761 views

How to setup a firewall between my ISP cable modem/router and my LAN?

My goal is to setup a firewall & Intrusion Prevention system using Snort. I have a spare pc available with at least 2 physical NIC's, which ran pfSense having a firewall with Snort, but this time ...
0
votes
2answers
32 views

How know in which router I'm when I'm connect by ethernet

When I'm connected by WLAN I can determinate in which network I'm by looking the SSID, for example: $ iwgetid -r ONOA72E $ nmcli -t -f active,ssid dev wifi | egrep '^yes' | cut -d: -f2 ONOA72E And I ...
0
votes
0answers
188 views

UFW blocks hostname lookup on LAN for ssh and ping

I'm experiencing a problem connecting to hosts on my LAN via their hostname only when UFW is enabled. When UFW is enabled: ssh <machine> gives the message: ssh: Could not resolve hostname &...
1
vote
0answers
85 views

How do I make two networks communicate with iptables on debian?

I have 172.16.8.0/24 on eth1 and 10.0.0.0/8 on eth2, I would like the two networks to communicate, but restricting the broadcast, allowing only the file sharing and the tcp port 2638 from station 10.0....
0
votes
2answers
29 views

Virtual LANs in memory for several virtual machines on one host

Suppose I have host machine with no NIC. I would like to run several virtual machines on it and connect them with totally virtual LANs in between. I want many machines and many LANs. I would like to ...
1
vote
1answer
28 views

virtual WAN for devices in different LANs

We have a number of linux devices, each living in its own LAN (each LAN with its own router, connected to internet). Each device can connect to internet but cannot be directly reached (i.e. no public ...
-1
votes
1answer
48 views

How to reinitialize eth0 connection without rebooting my system?

I've got a problem when I unplug and then plug in LAN cable, the eth0 connection stops working, also LAN LED is off. If I restart the system, LAN connection is normal. This happens only to onboard ...
0
votes
0answers
474 views

Deepin Linux can't share folders

I have a deepin linux (debian based) installed on my notebook and I'm trying to share folders from this computer with a W10 computer so I tried to share the folder and on windows type the user and ...
2
votes
1answer
51 views

mount lan hdd into linux fedora

I'm really new in all of this, and I'm not really sure of how to do that, but I have an HDD connected to the LAN; from Windows, I run: net use y: \\192.168.1.200\my-path\ condor /user:admin I'm ...
0
votes
1answer
1k views

A port address conflict has been detected. LAN Messenger will close now

I have installed LAN messenger on linux mint. It was installed successfully but was not running. So I have tried "sudo lmc" in terminal and than it gave the following error in a popup window: A ...
1
vote
1answer
191 views

Machine hostname differs form Network (DHCP) name

I have a media streamer on which an arch linux is installed (OpenWrt). I configured the hostname of the machine to be Streamer but on my router dashboard, I see on the DCHP clients list that the name ...
2
votes
0answers
44 views

Setting the same host address on different networks

I have a set of devices to be deployed on different local networks which have to be configured without DHCP. Every network has the same subnet mask and the gateway and the device in every network ...
3
votes
1answer
103 views

How to work both wifi and Lan in the same network segment?

I'm using Linux+QT for my OS system. And here is what I'm facing the problem. My Lan IP address is 172.16.120.17 and my wifi IP address is 172.16.120.20. So I think they are in the same network ...
1
vote
0answers
661 views

Unbound forwards local requests the wrong way

Good dag. In my network, I have two dns cache/resolvers: Dnsmasq on the router. Unbound on another server. Dnsmasq runs perfect. It provides local dns from the dhcp and the hosts file. Unbound is ...
2
votes
2answers
100 views

Is there any way to scan a lan network with dhcp enabled to see the IP of the connected devices from a GNU/Linux machine?

I am running a local network over a home router with dhcp enabled. So in case of any reboot of the router, my devices get some random IP within a given range. Is there any way to check the IPs of the ...
1
vote
1answer
307 views

Small office server and UID translation

I want to set up a small server for the office such that users can store their own files which also has separate directories set up for groups to share files. I also have users and clients who would ...
0
votes
1answer
38 views

Connecting to different LAN through raspberry pi

I have a raspberry pi, which is connected to a local network, let's say LAN1. I also have a desktop, which is connected to a different local network, LAN2. Both the raspberry pi and the desktop have ...
1
vote
1answer
53 views

Securing LAN www server with OpenVPN?

On separate machine Ive setup some www server based on Debian 8 for testing purposes. It has also samba and GIT server installed. Today we got public ip from our ISP and i redirected port :80 to our ...
0
votes
1answer
56 views

Normal speed for Samba directory listing

I have a Linux samba share (server version 4.2) connected by a 100 mbps LAN ethernet. Locally on the server, listing a directory with around thousand entries takes a little less than one second. From ...
1
vote
0answers
97 views

Two network cards and cctv setup

I want to setup a cctv system using ZoneMinder (ubuntu) but I don't want the cctv ip camera's to have access to the internet. If I had two network cards in the cctv machine with one connected to the ...
2
votes
2answers
42 views

Make files available through local address

I have two computers connected to the same router (so they are essentially connected in a LAN). Both run some GNU+Linux distribution. I have a bunch of files, in a directory ~/A/ on my first computer ...
3
votes
1answer
2k views

Disable LAN connection at startup in Debian

How to disable LAN connection at startup in Debian Jessie? Ido not know what establishes that connection. Is it any configuration file or my wicd that starts on boot. But when I open wicd I can see ...
1
vote
1answer
31 views

“network places” setup on two headless LAN servers

On my local LAN, I have two headless Debian servers. On a desktop, I could use "network places" for accessing folders across LAN. My question: Is it possible and if so how do I use command line to ...
2
votes
1answer
2k views

dnsmasq as dns only, map mac-address to hostname for dynamic ip

I'm using dnsmasq as a DNS server only (no dhcp), mapping Lan's hostnames to relative ip using /etc/hosts, but in the same Lan there's some ip assigned dynamically by a router (and I'd like to keep so,...
0
votes
1answer
47 views

SSH through public lan with same hostname

So I got my machine say it's IP is 10.0.0.123 and my Cisco lan switch is 10.0.0.1 my public IP is 10.103.6.1. and my other network is the same but it's public IP is 10.104.6.1. So the question is ...
1
vote
0answers
595 views

Wired LAN connection not working in Debian Wheezy on fresh install RTL8111

I'm new-ish to linux so I'm not familiar with all the commands and settings. I've installed a fresh copy of LinuxCNC which came bundled within Debian Wheezy. No problems with install. My wired LAN ...
0
votes
2answers
701 views

Is it possible to do a group chat in Linux Terminal over LAN?

I've used netcat to chat with my friend on the same LAN. However I want to know if it is possible to do a group chat in Linux Terminal over LAN?
4
votes
2answers
5k views

How can I view all device names on LAN?

I am trying to scan my local network and return a list of all connected devices with there IP, MAC Address & device name. By device name, I mean my iPhone should say 'Jamies-iPhone' as it would ...
1
vote
3answers
2k views

Dnsmasq points nonexistent subdomains point to local IP

There's a specific remote subdomain mymachine.home.com whose the IP changes on all the time that I need to update DNSMasq to have it resolve correctly. But I tested pinging xxxxxx.home.com which ...
1
vote
1answer
690 views

How to connect via LAN Wire and a WIFI Router to the internet (terminal only)

I have a big problem. My cinnamon GUI went down. Now I have to reinstall it. Therefore I need an internet connection. Since I can only work within terminal I have to use that to connect to my Wifi. ...
1
vote
0answers
523 views

How to reduce the bandwidth using squid proxy delay pools

I have a LAN with user PCs that managed by linux squid proxy server. IP ranges : User1 category: 192.168.1.2-192.168.1.12 User2 category: 192.168.1.13-192.168.1.23 User3 category: 192.168.1.24-192....
9
votes
4answers
2k views

Bonding wired and wireless while using Network Manager

I'm running Linux Mint 17.3 on my laptop. When docked, I'm connected via Ethernet, but when I undock, I'd like not to break my ssh sessions, ongoing downloads, etc., and to use the same IP address on ...
0
votes
1answer
716 views

Linux Mint LAN Connecting But Not Working

I am using Linux Mint 17.2. I am able to connect using LAN wire (i.e. on the right bottom it shows connected) but not able to access the internet. It works great on Wifi, but not working at all on ...
1
vote
1answer
598 views

How to install debian through LAN?

I have 2 computers PC1 and PC2 1) PC1 can't boot from CD-ROM or USB, the only way is to boot from LAN 2) PC2 is runing debian jessie (which I want to use as server) and contains the Iso image ...
1
vote
0answers
429 views

redsocks within private network

Is it possible for redsocks to capture traffic within the LAN/Same subnet/private network. I need to proxy ALL the outgoing tcp traffic from a Linux device. The device, proxy server and target server ...
0
votes
1answer
947 views

Use LAN printer over the Internet

I would like to be able to connect my laptop to my network printer while I am not at home, what would be a good way to forward the printer and to configure CUPS on my laptop?
1
vote
1answer
882 views

Cannot make ipv6 ULA addresses work

I wanted to assign Unique Local Addresses (ULA) to a couple of machines inside my LAN alongside the link-local ones and the globally routable ones. I am currently running dual stack. I also wanted to ...