Tagged Questions

Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

0
votes
0answers
8 views

connected to ethernet and wifi, “route” browser's connection to wifi only

Sometimes, in my company, I have to work with a different network (through ethernet) that has no internet. On the other hand, I do have access to out Wifi, which has internet. Since I have to spend a ...
1
vote
0answers
6 views

Xen domU sort of ignores /etc/network/interfaces

I have a Debian based Linux installation, that gets around: It started out on a physical system, then I moved the OS into a VMware container and then into a Xen container. As physical and VMware ...
2
votes
0answers
13 views

Network with Client Device as Gateway

How would I configure a Debian server as a router, but have one of the client devices (running Android) function as the default gateway, allowing the network to connect to the internet? I have not ...
1
vote
0answers
28 views

Setting up a 802.11s mesh network for mobile devices to communicate with a wired server

I'm in the process of developing an android app that maintains a device's connectivity to a linux-based WiFi mesh network, and periodically sends status information (GPS, battery life, etc.) to a ...
0
votes
1answer
37 views

Can't use hostname for my linux machine

I installed apache on my RHEL machine yesterday and found I could access it from a browser using http://. Of course, sshing using the hostname was also working. So, I made an index.html file inside ...
0
votes
1answer
28 views

static ip released after reboot [duplicate]

i have a centos 6.3 wtih 3 network interface, i've set the static ip for second and third network card by typing the command ifconfig eth1 10.1.1.1 netmask 255.0.0.0 metrics XXXx, but after reboot, i ...
2
votes
0answers
24 views

Workstation-like environment across Debian clients

At our university we have a workstation-like system. It's windows XP (or Win-7 on some machines) and you can sit to any computer and log in with your credentials. It seems to be pulling some of your ...
1
vote
1answer
20 views

Start a service on a network request (socket activation)

I have a program that under normal activation listens on some port. I don't want the program running continuously. Is there a "quick and dirty" way to wrap the application in a shell script or ...
0
votes
0answers
15 views

How can I compile and run a program designed for an older kernel version (2.6) in a newer kernel (3.16)?

I'm trying to run a driver for a network card, but it only supports kernels up to 2.6.32. I need to be able to use this piece of hardware to connect to the Internet. The device I'm using is "VIA ...
0
votes
0answers
11 views

What is the functional difference between wpa_supplicant and the system's /etc/networks/interfaces file?

I understand that one is a program and that one is a configuration file used by linux, but practically what is the function of each of these pieces in conjunction with my computer's network ...
1
vote
0answers
19 views

Connect to IPsec VPN using OpenSwan

I'm connected to Internet with a simple ADSL router with NAT. I have a smartphone and a laptop running linux. I need to connect to a IPsec server using OpenSwan. First I tested that it is possible to ...
1
vote
1answer
27 views

tcpdump won't capture entire packet

I'm using sudo tcpdump -A -s0 -ien0 port 80 | grep schemas-microsoft >> ~/Downloads/convert.txt to capture microsoft-schema xmls being sent throught the internet, when tcpdump is supposed to ...
1
vote
0answers
29 views

How can I manually reset RX / TX counters in ifconfig output without impacting data delivery?

CentOS 5.9 I'd like to reset the RX/TX counters in ifconfig output for an interface. My understanding is that these counters get reset during a reboot but I'd like to avoid rebooting. Is there ...
0
votes
1answer
14 views

Fedora does not load some sites in home network

Since I switched from Windows 8.1 to Fedora 20 (my first time Linux experience) I have problems in my home network. When I surf from the office with the notebook, every site loads fine. As soon as ...
-3
votes
0answers
14 views

How mail works? What are the files it refers to send a mail from a mail client to get acknowledgement from mail server? [closed]

Logically how mail works? from source to destinations how many files, stages it referes. How mail works? What are the files it refers to send a mail from a mail client to get acknowledgement from mail ...
2
votes
1answer
20 views

How to do mac spoofing on Linux Mint 17?

How to do mac spoofing on Linux Mint 17? Through macchanger -a I've tried to changemy mac address but new mac id doesn't authenticates successfully. pppd gives successful authentication message only ...
1
vote
1answer
38 views

Reverse DNS PTR lookups ocurring on each connection

I'm running a Debian-based VPS (Linux vps 2.6.32-042stab092.3 #1 SMP Sun Jul 20 13:27:24 MSK 2014 x86_64 GNU/Linux) which is behaving a bit strange. Whenever a new connection is established to it, it ...
0
votes
0answers
20 views

Where and how can I make copies on important files? [closed]

I would like to make copies on my important works in the case that something happens in my computer, or that I can continue my works in my cottage. How can I set my computer such that it can ...
0
votes
0answers
24 views

route -n gives output “route: fscanf”

If I boot my system and no interface has an IP address I get the above output. However if I give an interface an IP, even if I remove it again, this will disappear. Why does this happen? Is it that ...
1
vote
0answers
30 views

How to reach interface alias bond0

I'am setting up an interface alias with my bond0 network. Why am I not able to ping/reach the second ip address, in this case 192.168.30.84? However I can ping the address from another server. ~# ...
1
vote
1answer
13 views

How to apply a parameter to packet so TC can prioritize\classify it

I want to add a parameter to the packet so that I can later let TC (HTB in specific) prioritize my packet (based on filtering that parameter). I thought about filtering by socket but as I understand ...
1
vote
1answer
21 views

Allow multicast packages from the bridge to wire in KVM

On a CentOS 6.5 host, I have a couple of guests - Ubuntu 12.04 and CentOS 6.5. The Ubuntu guest is generating mcast traffic that is visible via a tcpdump on the br3 interface. It is also visible on ...
0
votes
1answer
40 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?
3
votes
0answers
39 views

Create virtual network adapter with own MAC and IP?

I have a server with 4 different IPs over one real NIC. Now i try to setup different virtual network adapter in debian with this IPs. The Problem is, that each IP needs also a specific MAC. Otherwise ...
0
votes
1answer
27 views

Isolate subnets on the same interface

I need to isolate Subnets on a linux machine CentOS that act as gateway. I have the following scenario. CentOS eth0 pub ip addres eth0.1 192.168.1.1 eth0.2 192.168.2.1 Now eth0.1 and eth0.2 can ...
4
votes
2answers
70 views

How to check programatically if the Ethernet cable is plugged in?

As you know, in Windows, when we plug in the network cable, the network symbol will change to another status. How can I know whether the cable is plugged in or not via the command prompt in Linux?
1
vote
0answers
65 views

TCPDump To Capture A Tracepath6 Datagram

I'm trying to use TCPDump to capture an IPv6 datagram using: tcpdump -c 1 -i eth1 -vvvs0 ip6 and dst host H2.net2 & tracepath6 H2.net2 I'm running this script on H1.net1; R12.net1 is the ...
0
votes
2answers
17 views

net cat client and server model

I tried to make server client model as below on one shell nc -l -p 8080 this works as a server and on another nc 127.0.0.1 8080 and this works as a client all of this is fine ... the ...
1
vote
0answers
19 views

NAT-T set up using 3 linux machines

I am trying to have a simple NAT-T setup using 3 linux machines. Linux1 Linux2(NATdevice) Linux3 (eth0) 192.168.1.51 <--->(eth1)192.168.1.80 & ...
0
votes
0answers
18 views

FreeBSD 10: CARP & LAGG interface incorrectly chooses state

I'm having an issue with my CARP configuration on a pair of FreeBSD 10 servers acting as NAS units. I'm using CARP so that the servers share a virtual IP with the goal of making failover somewhat ...
1
vote
0answers
51 views

How to populate /etc/network/interfaces automatically

I am trying to populate /etc/network/interfaces with a dhcp config for all interfaces at the first system boot (Debian 7.6 server). I modified the script in : /lib/udev/write_net_rules by adding: ...
0
votes
0answers
28 views

Why on my Linux PPPoE connection displays sometimes authentication failure?

Here is my log: Oct 18 09:51:52 -desktop pppd[2764]: Plugin rp-pppoe.so loaded. Oct 18 09:51:52 -desktop pppd[2766]: pppd 2.4.5 started by root, uid 0 Oct 18 09:51:52 -desktop pppd[2766]: PPP session ...
0
votes
0answers
20 views

I'm trying to create a public TLD using BIND

I'm using these two guides: jackal777.wordpress.com/2013/11/19/custom-tld-for-local-network/ timg.ws/2008/07/31/how-to-run-your-own-top-level-domain/ When I run dig sokolovskaya.ssu, it looks ...
0
votes
0answers
32 views

Routing incoming source IP traffic to a loopback IP issue

I'm wanting to accomplish the following: I have a BIND DNS server setup where it is listening on ANY address and also listening in a BIND config ACL on 127.0.1.1. If there is another way where you ...
4
votes
2answers
152 views

Why is ping much faster when using -f

I'm pinging the same host from the same machine at the same time. And when using -f, the result is almost twice as good: [root@localhost Desktop]# ping 196.1.6.16 PING 196.1.6.16 (196.1.6.16) 56(84) ...
0
votes
0answers
26 views

In general should Linux “ping” be faster than Windows “hrping”?

I'm using HP DL360p Gen8. I've installed dual-boot Windows Server 2008 R2 and RHEL7. In both systems I configured LACP and VLANs. So this is same server, same hardware, same network, same route tables ...
0
votes
0answers
49 views

Setting up a wireless connection on CentOS 6.5 without NetworkManager

I'm trying to set up a wifi connection from my CentOS 6.5 system to a wireless AP, without using NetworkManager. This is a fresh installation, but yet I don't see any ifcfg-* files in ...
0
votes
1answer
27 views

sMail server cannot get connect by Linux frequently

I have a mail server A build by iredmail on Centos6.5 system. The mail server have a public ip aaa. There are about 40~50 mail clients which operating system is windows in local network, they all ...
0
votes
1answer
120 views

How to make NIC team come up on boot in RHEL 7

To configure networking on RHEL 7, I created a JSON file for teaming, then ran these commands: ip link set down eno1 ip link set down eno2 ip link set down eno3 ip link set down eno4 teamd -g -f ...
1
vote
1answer
28 views

Is there an /etc/network/interfaces option like wireless-ap except for a wpa-ssid/wpa-psk connection?

In /etc/network/interfaces (on Debian Linux 7.6 with wpa_supplicant), wireless-ap forces a specific access point for wireless-essid connections. Is there an equivalent option for wpa-ssid/wpa-psk ...
0
votes
0answers
23 views

Centos List connected computers/devices on network

I'm running on a CentOS and I would like to check to see what computers/devices are connected to my network. How would I be able to do that. I've tried nmap but I must have used it in the wrong order ...
0
votes
0answers
6 views

Appletalk access to root

I am using netatalk 2.2.2-1 on my Raspberry Pi (running Raspbian) to allow access from my Mac. This has been working well for my Home directory, but I have tried to get access to the Pi root without ...
0
votes
1answer
33 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
0answers
38 views

How to configure teaming in RHEL 7?

I've used RedHat documentation to configure LACP on my server. Now I see "Connecting" on the Team just created: why "team0" is mentioned twice in the list? Why is it "Connecting", not "Connected? ...
2
votes
2answers
49 views

How to find out how many TCP retransmits are occurring?

I am running Debian Wheezy on an ARMHF platform and do most of the communications over fairly unreliable cell phone networks. Is there a way to read the no. of re-transmits the TCP stack has done ...
5
votes
2answers
66 views

Is there an ICMP echo request service?

Often, in applications that I develop, I like to include a network status indicator for various devices on the network. The easiest way to monitor these devices is by pinging them. But ICMP echoes are ...
0
votes
1answer
20 views

How to monitor network connectivity between the ports in different windows server? [closed]

I have a application hosted from one server which listens on to a specific port and listens to a service on a another server in a different port . Seeing error log between XYZ application hosted on ...
-1
votes
1answer
62 views

IP Address not populating in eth0 in ifconfig

One of my servers at work does not connect back to us (so I can't SSH into it). I asked the person on the site to do numerous things: sudo /sbin/service network restart It comes up with this: I ...
0
votes
0answers
8 views

A question in ip_append_data [migrated]

I am confused with ip_append_data in linux network protocol stack when I see those codes: if (!(rt->u.dst.dev->features&NETIF_F_SG)) { unsigned int off; off = ...
2
votes
1answer
40 views

what do the numbers mean in ip rule show command

If I type ip rule show command in my machine, I get the output as, 0: from all lookup local 32766: from all lookup main 32767: from all lookup default What do the numbers 0,32766 and 32767 ...