Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
2answers
1k views

Multicast UDP not working

Multicast UDP on raspberry pi I haven't narrowed things down enough to know if my issue is because of debian, raspbian specifically, or if I am just missing a something completely. I have a python ...
4
votes
2answers
138 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) ...
1
vote
3answers
20 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?
2
votes
1answer
136 views

Check for plugged in network cable on startup

I actually wanted to post the below as an answer to this question titled: ifup eth0 timeout during boot. But am not sure if this is right approach or it's a way of screwing up things badly. We can ...
1
vote
1answer
316 views

Arch Linux Ethernet to WiFi bridge

I want to use a Raspberry Pi running Arch Linux to extend my WiFi network. My situation is that I have a spare WiFi router that I want to use to expand my WiFi reception range as well as give me a few ...
0
votes
1answer
312 views

Raspian, Huawei E303, Public IP address

After configuring Raspian linux and a Huawei E303 3G USB stick, I am stuck accessing the machine from the Internet by its public IP address. Details: The E303 stick was configured to work as an ...
1
vote
0answers
43 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 ...
1
vote
0answers
16 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
1answer
182 views

Networking issue in IBM x3650 after install Ubuntu 14.04.1

I have a problem making TCP connections after a fresh Ubuntu 14.04 installation. First of all, after booting the interface is always off. In my case the interface is manually configured and named em2. ...
1
vote
0answers
36 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: ...
2
votes
2answers
498 views

keep losing IP with dhcpcd

I have an Arch Linux install in a VirtualBox VM, and as I'm working all of a sudden, it will lose it's dynamic IP address. When this happens, if I check on the status of the dhcpcd service it says ...
-1
votes
0answers
19 views

net cat client server model [on hold]

netcat is used for making client server model and makes them chat . that's fine what it want is to format the chat as follow nickname@hostname:message what I thought about is to make a daemon it ...
2
votes
4answers
4k views

hostapd will not start via “service” — but will start directly

I am having trouble getting hostapd to start as a service. It fails when I try to start it: $ sudo service hostapd start [FAIL] Starting advanced IEEE 802.11 management: hostapd failed! From what ...
0
votes
1answer
383 views

hw csum failure

For the past 5 days, my Internet connection just drop randomly. After some researches, I found this into the syslog : Jun 25 17:01:59 home kernel: [127541.168744] eth1: hw csum failure. Jun 25 ...
-1
votes
0answers
22 views

How to connect linux 3.6 ( iceweasel) to a wireless network [on hold]

Please explain how to connect a laptop running linux 3.6 to a wifi network. The name of the network manager is wicd 1.7. The router name is beachone, with an ip address of 192.168.0.The wireless ...
0
votes
2answers
16 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 ...
0
votes
0answers
6 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 ...
2
votes
1answer
505 views

Why does't stopping the nginx server kill the processes associated with it?

When I stop nginx like this on ubuntu 12.04, I get the following errors: $ sudo service nginx stop Stopping nginx: nginx. $sudo service nginx start Starting nginx: nginx: [emerg] bind() to 0.0.0.0:80 ...
0
votes
1answer
88 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 ...
4
votes
1answer
343 views

Using source routing (LSRR) - any ideas?

What I want to do is conceptually very simple, but I can't find any information or help about how to go about doing this. Basically, I want to configure my networking to use source routing (LSRR). ...
0
votes
2answers
544 views

Need to add virtual interface in Suse Enterprise Server edition permanently

How can I add virtual interface in SUSE Linux Enterprise Server 11 permanently?
2
votes
2answers
2k views

Configure multiple interfaces with different hostnames using DHCP and DNS

I have a machine running Ubuntu 12.04 Server with two interfaces connected (eth0, eth1) to the network. Our network is set up so that a FreeBSD based DHCP server hands out leases and registers the ...
3
votes
2answers
8k views

eth0 not being configured automatically

When I start an ubuntu 12.10 instance, eth0 is NOT getting configured. davidparks21@MySqlDB:~$ cat /run/network/ifstate lo=lo When I manually edit ifstate and add eth0=eth0 and service restart ...
0
votes
0answers
20 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 ...
11
votes
8answers
4k views
0
votes
0answers
17 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
25 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 ...
1
vote
1answer
352 views

Using ping on multiple interfaces on a NIC

I have two systems and each have a NIC with two ethernet ports. One system has a verified NIC card, but the other has a NIC which has to be verified. I use ping to verify whether the interfaces on ...
6
votes
3answers
2k views

Difference between 'ifconfig' and 'ip' commands

I read some articles/tutorials on 'ifconfig' command, most of them included a common statement - "ifconfig is deprecated by ip command" and suggested to learn ip command. But none of them ...
1
vote
1answer
21 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
22 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 ...
3
votes
2answers
507 views

Set the preference for sending packages through an specific network device

I have SL 6.3 installed on two machines. Machine A is a workstation and has two interface eth0 and wlan0. Using eth0, it is connected to Machine B (public facing server) with static IP address. Both ...
0
votes
1answer
18 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
0answers
21 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 ...
3
votes
2answers
635 views

Configuring network settings manually in Qubes OS

I'm trying to setup Qubes OS on my desktop but struggling to get the network/internet working. This is the configuration i want to setup - ip - 192.168.1.2 Subnet - 255.255.255.0 Gateway - ...
0
votes
0answers
27 views

port forwarding using Netcat [closed]

I have used Netcat for accessing shell and files. But I could not find any tutorial or script for port forwarding using Netcat. I want to use port forwarding script in my android phone. Please guide ...
14
votes
10answers
52k views

Cannot enable network after CentOS 6.3 fresh install

I am trying to perform a fresh CentOS 6.3 installation then run various yum commands such as yum install httpd. The installation runs fine, however I cannot run any network based commands like yum I ...
2
votes
1answer
37 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 ...
2
votes
2answers
37 views

Linux : 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 ...
0
votes
0answers
19 views

strange network hangs [closed]

I have a linux home server. It is a Asrock ION330, with Nvidia Chipset, running Ubuntu 14.04 LTS I has been working flawlessly during years, but since June it has been suffering some kind of strange ...
1
vote
1answer
3k views

How to set up an Internet Connection in Linux Mint?

My machine has wired Internet connection with Windows 7 OS. In connection properties I see service name : ispone obtain IP address automatically obtain DNS server address automatically How do I ...
5
votes
1answer
989 views

What is SSTP vpn server and how can I run one?

I've read a couple of L2TP and PPTP tutorials on the net and there are just dozens of "running PPTP/L2TP on Linux" guides available out there and I successfully made packages like open-swan or pptpd ...
2
votes
4answers
3k views

Can't Install/Update packages on newly installed CentOS

I installed CentOS6 and it is the first time. I tried to install/update packages. But I coudn't. Here is the output and it doesn't stop. How can I solve this? [root@localhost suranga]# yum update ...
0
votes
0answers
19 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 ...
44
votes
2answers
5k views

How does SSH connection survive a network restart?

From a Linux SSH shell, type /etc/init.d/network restart to restart the network service. I expect my SSH connection to die since the network service goes down. But it doesn't. Very cool. But how does ...
0
votes
1answer
102 views

Kali Linux airodump Not Finding Networks

When I use the airodump it is not coming up with networks available around me. The chart comes up but nothing inside it, even though there should be about 10 networks around me coming up there is just ...
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 ...
27
votes
3answers
3k views

Can TCP provide more than 65535 ports?

Is it possible to setup a Linux system so that it provides more than 65,535 ports? The intent would be to have more than 65k daemons listening on a given system. Clearly there are ports being used ...
2
votes
1answer
1k views

SCTP support for Linux kernel 3.3.4-5.fc17.x86_64

I'm using Fedora 17 64-bit version, with Linux kernel version 3.3.4-5.fc17.x86_64. I installed lksctp using yum. sudo yum install lksctp-tools.x86_64 When I try to run sctp_status -H 127.0.0.1 ...
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 ...