Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
1answer
28 views

Is it possible to have 2 different passwords saved for the same network?

I'm not always at home and sometimes the router needs to be reset completely to receive a new wan ip address because my roommates are not very tech savvy at all. When this happens the password is ...
1
vote
3answers
709 views

Check that fail2ban is running?

I just installed and configured fail2ban. I want to make sure it is working. I don't want to block myself from the server so I can't just login (poorly) a bunch of times. How do I see that fail2ban is ...
1
vote
1answer
569 views

Centos VM network configuration problems [closed]

Hi I am new to this stuff and confused. I have a CentOS VM and I cannot get it to see the outside world. I have a bridged adapter. I have tried NAT and a host only network. /etc/sysconfig/network: ...
1
vote
3answers
95 views

Which program is altering my resolv.conf?

On Debian 8 stable, I add dns server IPs in /etc/resolv.conf but after some time they get overwritten. I don't have gnome installed (I use i3wm) and network-manager is not installed either. On ...
1
vote
1answer
426 views

How to limit all tcp traffic to the network interface the session was initiated on?

I have an embedded linux system with two network interfaces (lan0, wlan0) that are configured to the same subnet. A server on this system accepts tcp connections on both interfaces. How I can assure ...
0
votes
2answers
84 views

Why does kill not have a parameter for file and not for port number?

If I want to stop a program given its tcp port number or its file or named executable, can I run something like kill -tcpPortNumber $1 where the parameter $1 is a tcp port number or kill -filename $1 ...
0
votes
3answers
4k views

Telnet on Linux Server

I want to know if it is necessary to have telnet enabled on both sides of machines to get telnet connection. Here's the issue: I am trying to telnet some public IP on port 80 from a Linux web server ...
0
votes
2answers
333 views

ping not working for google alone

one of my friend changed some network config in my laptop at home, He said he tried something related to block a website(he tested it with www.google.com).Now www.google.com not loading . Even he dont ...
0
votes
2answers
101 views

What does this host means ' ::1 '

To secure my mysql server, I checked the list of users : mysql> SELECT User,Host,Password FROM mysql.user; +------------------+-----------+-------------------------------------------+ | User ...
0
votes
4answers
228 views

Find a server IP on LAN from a script

I am looking for a way to have a script on a client machine automatically find the servers IP on the same network. I have several media extender clients running ubuntu 14.04.1 and a server running ...
0
votes
2answers
177 views

Arch linux get network interfaces names

I need to get all intefaces names in Arch linux. If I issue command ifconfig, I get following response: [root@pi ~]# ifconfig eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ...
0
votes
2answers
1k views

Best way to find out what Linux Version is used on a Webserver

Is this feasible? Can I find out which distro is used to host specific webpages? Whois doesn't have info for this.
0
votes
2answers
2k views

Is /etc/resolv.conf needed when using a static IP address?

I am trying to configure the IP address of my embedded device. The device should have a static IP address and I attempt to set this using the /etc/network/interfaces file with iface eth0 inet static ...
0
votes
4answers
3k views

How to set domain name in Crunchbang GNU/Linux?

How can I set the domain name in GNU/Linux?, I am using Crunchbang and I need to set the domain name for my LAN network. EDIT: Let me talk more about my problem: I need to configure a LAN network for ...
0
votes
2answers
880 views

Linksys wusb600n support on Debian-6

I'm on my way from Windows 7 to Debian 6. The only problem... I'm not sure about my network adapter. Its Linksys wusb600n and without it - no internet access for me. Does Debian 6 support it? Will ...
0
votes
2answers
3k views

What could cause network latency on a fresh Ubuntu Server 10.10 install?

I have recently purchased a machine to run an online game server. I put the machine together and have installed a fresh copy of Ubuntu Server 10.10. I have noticed that the game server produces a ...
0
votes
1answer
1k views

Please recommend a GUI telnet client

I'm looking for a simple GUI telnet client. I only ever used the CLI one, simply named telnet.
0
votes
1answer
207 views

-bash: auto: command not found

I'm going to config my network interfaces and run this command: auto eth0 but it returns -bash: auto: command not found. It seems I've missed something which I don't know. Any idea? What should I ...
0
votes
1answer
531 views

Getting all IPs of devices connected to the same router

I have several linux devices connected to the same router (of which I am not a administrator). How can I find out the ip addresses of all other devices by executing some commands in one of them?
0
votes
1answer
292 views

Why can I ping google.com but not www.google.com [closed]

I can $ping google.com and get data back PING google.com (74.125.227.96): 56 data bytes 64 bytes from 74.125.227.96: icmp_seq=0 ttl=56 time=26.939 ms 64 bytes from 74.125.227.96: icmp_seq=1 ttl=56 ...
0
votes
2answers
5k 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
2answers
672 views

Frequent connection aborts with arch-linux

I have an arch-linux system which I use as a server. I try to connect with ssh and samba from different Windows 7 machines. However, I get frequent connection aborts. ssh (e.g. putty or kitty) says ...
0
votes
3answers
19k views

Method to check connectivity to other server

I want to check connectivity between 2 servers (i.e. if ssh will succeed). The main idea is to check the shortest way between server-a and server-b using a list of middle servers (for example if I'm ...
0
votes
2answers
202 views

Mirror localhost:3280/some/long/url to localhost:3000

I have a webservice running on localhost 3280 that exposes Elasticsearch server under /some/long/url. I would like to access Elasticsearch from localhost's port 3000. Can I do this with ...
0
votes
2answers
49 views

Determine users of nearby machine from CLI

Ok, so at my house I have three computers, and I frequently enjoy using ssh and scp to run commands that allow me to do wonderful things. Primarily transferring downloaded files, and running media ...
0
votes
1answer
163 views

IP Address inaccesible

My Linux machine is inaccessible by the IP address, as in only http://127.0.0.1:8080/projectname or localhost works on the browser, but http://10.1.5.5:8080/projectname doess not (here ...
0
votes
5answers
14k views

copying files from unix to windows?

Is there any way to automate the process of copying the files between windows and unix without doing it manually, using tools such as winscp. I need to copy files from unix to windows such by ...
0
votes
1answer
50 views

::1 during exim-config?

While executing sudo dpkg-reconfigure exim4-config there is this screen (IP adresses on which exim shall listen): What does the ::1 mean? Is it an exim specific thing or - as I assume - some ...
0
votes
1answer
71 views

Portable way to kill a process listening on a given port

Is there a way to kill a process listening on a given port (e.g. in bash lsof -t -i tcp:8000 | xargs kill) from a shell script that will also work on cygwin, as well as bash?
0
votes
1answer
43 views

Crossover Cable 2 Linux

I have a crossover cable. I want to move files and folders between my two Ubuntu's. I have partially set this up. They can ping each other. But when I use putty the connection gets refused with no ...
0
votes
1answer
82 views

Help translating this `ip` command to `route` command in `post-up` hook

I am having trouble getting a static routing ip command to become permanent by way of the post-up hook in /etc/network/interfaces. Here are the relevant details: /etc/network/interfaces # The ...
0
votes
1answer
74 views

Understanding linux Bridging

I have started learning networking and recently been through bridging in Linux. Bridge in Linux could be set in two ways as far as I have got by reading on internet i.e. either by bridge-utils ...
0
votes
1answer
65 views

How to view a program's internet connection

In Linux, I would like to be able to determine whether a given program is connected to a remote server and is transmitting/receiving data. I'd also like to see which IP address or URL the program is ...
0
votes
3answers
845 views

Rsync connection reset by peer

rsync --protocol=29 -rav -e ssh --include '*/' --include='*_en*.xml.gz' --exclude='*' user@server:/path/ Content is downloading from remote server but after while I get this error: Write failed: ...
0
votes
2answers
293 views

Can two hosts have the same IP address in /etc/hosts?

can two hosts share the same IP Address without a conflict. This is how my /etc/hosts looks like :- $ cat /etc/hosts 127.0.0.1 localhost 127.0.1.1 debian 127.0.1.1 mini Now as can be seen ...
0
votes
1answer
1k views

ifconfig not showing changed ip address

I'm trying to configure IP settings on my Raspberry Pi running Rasperian. I edited /etc/networks/interfaces to be: auto lo iface lo inet loopback iface eth0 inet static address 110.76.71.106 ...
0
votes
2answers
3k views

Can't access mail server through SMTP

I'm trying to send email from a server. Testing on my local machine works fine but on my production Ubuntu server, the webserver fails when trying to send email. I'm using GMail as my SMTP provider ...
0
votes
1answer
164 views

Get a faster response for a ping

I noticed that the answer to my ping is slower in one debian machine that another. For the first one when i ping to 8.8.8.8: 64 bytes from 8.8.8.8: icmp_req=1 ttl=47 time=29.6 ms For the second ...
0
votes
2answers
398 views

What is the default action for incoming packets that don't match explicit iptables rules?

CentOS 5.x I'd like to understand what is specifically happening to incoming packets that don't explicitly match rules in my iptables chains. Is the default action to reject them? Or drop them? ...
0
votes
1answer
332 views

Connect to LAN resource via ssh tunnel

I have the following problem. From machine A I connect to machine B over the internet via ssh and port forwarding. Machine B is part of my local network and has connection to machine C which acts as a ...
0
votes
1answer
966 views

iptables couldn't load target allow

I am using the command below to allow all traffic from hosts on my internal network but it says "iptables v1.4.18: Couldn't load target `ALLOW':No such file or directory". What is the problem here? ...
0
votes
1answer
310 views

network device name is changed by itself

I use a Ubuntu-arm, uname -a Linux arm 3.7.8-x8 #1 SMP Sat Feb 16 04:15:13 UTC 2013 armv7l armv7l armv7l GNU/Linux I have two USB WiFi interfaces that are named wlan0 and wlan1 on ...
0
votes
1answer
138 views

simple hostname resolution on LAN [duplicate]

I read this question How to make a machine accessible from the LAN using its hostname What is the simplest way to enable a LAN of Linux hosts to identify each other by hostname? Obviously each host ...
0
votes
1answer
139 views

Renamed network interfaces [duplicate]

A recent update on my Mint system caused the eth1 to end up being renamed as eth3 and therefore breaking all my firewall & forwarding rules. How does this happen? How can I enforce the network ...
0
votes
3answers
3k views

How to setup wine for networking in linux

How to setup wine for networking? Unless i have linux access to my windows network, i can't do wine discover the windows network. How to do it?, also wine hasnt cmd line utility so i can't use ...
0
votes
1answer
187 views

How to use linux tools to verify a site's authenticity

When I go to certain websites where it's important for me to know that I'm connected securely, certain browsers will say that the site failed the authenticity check. Firefox won't say anything, but ...
0
votes
2answers
252 views

What creates /etc/hosts (RHEL 5.5)

How does /etc/hosts get created on RHEL 5.5? It's not owned by any RPM and if deleted, it doesn't reappear on reboot, so apparently it's not a service created it. Does anaconda create it by default ...
0
votes
1answer
57 views

Do IPTABLE rules apply to other devices on a network?

I have an embedded device that listens to a specific port to be programmed by vendor specific software. If I have a network that consists of a small linux computer and this industrial device would ...
0
votes
2answers
1k views

Dropbox doesn't connect properly on boot

I'm having a problem with Dropbox (version 1.1.35). When I first boot it takes some time before Network Manager connects to the WLAN. Then I see the Dropbox icon in the task list, claiming to be ...
0
votes
1answer
31 views

Is the return value “-1” of the function socket close() method possible?

Under which circumstances is it possible to produce a return value of -1 when closing a network socket using it's close(int fildesc) method? I suppose it is possible with an invalid fildesc number, ...