Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
1answer
178 views

SSH: Network is unreachable (caused by router)

I've searched solution in Google for 3 days, when I decided to write here. I have a router, so in my house is WLAN. I use laptop when I stay at home. In another city in my office I have a second ...
2
votes
2answers
237 views

How do I set the preferred wireless network in Linux Mint 17?

I'm currently in an environment with two wireless networks: OrganizationFoo, which is present pretty much everywhere I go, and OrganizationFooSubset, which is only present in a certain location. When ...
3
votes
0answers
62 views

Trying to understand Auto reconnect WIFI method

Iv'e found this method of reconnecting the WIFI dongle from this post , but want to be clear on how it works, before I try and implement it. 1) Go to /etc/ifplugd/action.d/ and rename the ifupdown ...
1
vote
1answer
64 views

Capture web traffic grouped by individual TCP streams

As far as I know a HTTP request and response constructs one TCP connection. To debug a web application on a GUI-less server, I'd like to be able to capture these TCP streams in a single ...
7
votes
1answer
313 views

Installing USR 5422 on Ubuntu 12.04

I am a newbie to Linux. I was trying to set up the USR5422 USB adapter. It worked fine for the first time, but since then it freezes the computer most of the time. What commands can I fire to see ...
2
votes
3answers
165 views

Unable to access CentOS setup Network Configuration after attempting Python update

I attempted to update Python on my CentOS 5.6 VM and have encountered some issues afterward. Initially, yum wouldn't work, but I have resolved that. However, now I am unable to access the Network ...
1
vote
2answers
1k views

How can I Forward a subDomain to a specific port?

My apologies if this has been asked before. I haven't found an adequate solution so... yeah. When a specific domain, "example.com" is accessed, I want it to act normally. In other words, it should go ...
1
vote
1answer
185 views

Networking between two Virtual machines on different hosts

I have openSuse installed as a virtual machine(Oracle Virtual Box) on DeskTop(win 7), and another openSuse installed on as a virtual machine(Oracle Virtual Box) on my Laptop(win 8.1). Please see the ...
1
vote
0answers
48 views

Packets sent through TUN interface not routed

I have a C program attached to a TUN interface. In my C program, I'm building packets and writing them to the TUN interface. Now to check if packets are really sent from my TUN interface I use ...
3
votes
3answers
111 views

Is there some way I can start a (repeating) ping while the network is unreachable?

My ping command (on Debian 6 or 7) will repeatedly attempt to ping a server even while the network is down, if the network was up when it was started. Is there some way to start ping while the network ...
1
vote
2answers
57 views

Start the networking from scratch

Let us assume I have a computer that for some reasons has had all the networking information, in particular the stuff in /etc, wiped. Furthermore whatever caused the information to be wiped prevents ...
2
votes
1answer
707 views

Broadcom Corporation BCM4313 WLAN does not work on installed Arch

I have a Broadcom Corporation BCM4313 WLAN Controller in my netbook. When I boot the Arch live ISO and set up the network with wpa_supplicant everything works fine. On the installed Arch I get the ...
1
vote
2answers
228 views

eth0 not installed on CentOS

How would I go about installing eth0 on CentOS? When I do ifconfig -a, eth0 is not there. Here is the output of ip link: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue link/loopback ...
9
votes
3answers
14k views

Output traffic on different interfaces based on destination port

My question is basically the same as Only allow certain outbound traffic on certain interfaces. I have two interfaces eth1 (10.0.0.2) and wlan0 (192.168.0.2). My default route is for eth1. Let's say ...
0
votes
0answers
39 views

Tools to inspect local network, and find local IP address of device?

This is my specific context (Latex/TikZ code for the diagram below): Now this local "Router", has broke down several times, and several different devices have had its role (sometimes they have a ...
3
votes
0answers
86 views

Ubuntu eth0 not detected

After installing a new version of this distro, eth0 is not detected automatically. command inxi -SNxz result: Network: Card-1: Broadcom NetXtreme BCM57786 Gigabit Ethernet PCIe bus-ID: 01:00.0 ...
1
vote
2answers
398 views

How to use netstat command

My question is what does it mean to LISTEN or ACCEPT on a port as it relates to my example? Example: I have a tomcat server, and It will use port 8080. I want to make sure that port is available for ...
1
vote
0answers
56 views

How do I control ip routing in the new firewalld?

I have the following scenario: Our fedora server is connected to the internet on eth0 and has a second nic, wlan0 acting as an access point. The purpose of the access point is to provide a connection ...
0
votes
1answer
69 views

What is the foolproof/proper way to set hostname and domain on CentOS

I've seen a few ways of changing hostnames of domain names. One way is to issue the hostname command followed by the name such as: hostname localhost.localdomain /etc/sysconfig/network also has a ...
1
vote
1answer
111 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
3answers
480 views

Fedora 18 host cannot ping Windows XP guest

I have my laptop running Fedora 18. I want to run a Windows XP guest using VirtualBox 4.2.6. My configuration seems correct, here is my networking report. Fedora 18 host lo: ...
0
votes
0answers
9 views

CentOS Run Command as Root on Startup [duplicate]

I need to designate my network card device p4p1 with a certain IP address on startup. The command I am using is as follows : /sbin/ip addr add 129.100.14.2/24 dev p4p1 this works from the command ...
2
votes
2answers
71 views

Force IPv6 only through Miredo

I have an Ubuntu PC with Miredo's implementation of the Teredo protocol. I want to temporarily make it so that I can access IPv6-only addresses with all IPv4 networking available solely for Miredo to ...
3
votes
3answers
53 views

linux interface to get connected IPs

Is there an interface to get the currently connected IPs and their state in Linux? I am aware of ss and netstat, but I want to use /proc/ or some other "official" kernel interface that already has ...
1
vote
2answers
60 views

Is it bad to select remember me option in the browsers of a compromised machine?

I was reading an article on how to sniff network packets. (of course for knowledge purposes only). I came across these particular lines. For instance, say I was sniffing traffic on the network, ...
0
votes
0answers
17 views

Flow control configs for ethernet interface gets reset in few seconds

I set the RX & TX flow control (aka "pause parameters") configs to an ethernet interface, as such: sudo ethtool -A eth0 rx on tx on When viewing the configs with sudo ethtool -a eth0, only RX ...
3
votes
2answers
152 views

WiFi not working after restoring from hibernation (authentication times out)

My Intel 6205 wireless network card does not work after hibernating. It sometimes also does not work on boot, failing in the same way. Occasionally, it also stops working after ~10 minutes of ...
1
vote
1answer
43 views

Configure NAT filtring behavior with iptables

I'm using this rule to configure SNAT: iptables -t nat -A POSTROUTING -o eth1 -j SNAT --to-source 193.49.142.107:4000 I want to specify a rule to filter out packets not destined to the internal ...
2
votes
5answers
4k views

Cannot delete bridge - “bridge br0 is still up; can't delete it”

I have the same problem as this guy : Bring down and delete bridge interface that's up But that solution does not work for me. I remove all interfaces from the bridge using brctl delif . I then ...
0
votes
0answers
22 views

How can I make CentOS 6 treating WiFi flexibly like Ubuntu 12.04?

In my office, I have AT&T Uverse. The router is a 2wire 3600HGV. The WiFI is provided by a Cisco Linksys E1000 that is plugged in the 2wire device. With my notebook running Ubuntu 12.04 LTS ...
1
vote
2answers
39 views

what is 'smakynet' in the netstat result?

after logging into a server, I used netstat to check out the ports of this server and wanted to find which port was communicating with me My IP is 143.248.143.198 and my search results are like ...
1
vote
0answers
11 views

Why do I get “authentication” errors on this “Open” configuration?

I have the following ifcfg-wlan0 file: DEVICE=wlan0 BOOTPROTO=none ONBOOT=yes IPADDR=192.168.5.1 NETMASK=255.255.255.0 NETWORK=192.168.5.0 NAME=wlan0 USERCTL=no the following dhcpd.conf file: ...
2
votes
1answer
47 views

Why is the 'foreign address' not IP address but something like this?

I never learned network programming and this kind of stuff properly. Only know very basic stuff like IP address and just a vague concept of what ports and TCP/IP are. Here, I connected to my lab's ...
1
vote
1answer
69 views

Randomize external port when doing NAT with iptables

I want to configure a NAT behavior different from the default one implemented by iptables. In this example: iptables -t nat -A POSTROUTING -o eth1 -j SNAT --to-source 193.49.142.107:2000-400 The ...
3
votes
1answer
57 views

Replacement to CUPS Browse Protocol

The CUPS "browsing" protocol was marked as deprecated being removed at v1.6 of CUPS, due to problems with broadcast and managed networks/WiFi. It's an UDP protocol to broadcast information about ...
1
vote
1answer
36 views

Monitor internet for dropouts

I've been having issues with my wifi with frequent drop outs. So I've decided to check if the drop outs are wifi related or internet related by connecting my laptop via ethernet and monitoring it for ...
2
votes
2answers
2k views

sending email to IP address via postfix

My friend and I have configured two Postfix mail servers on our laptops. We succeeded in sending mail to a real network (to some Gmail accounts) from our computers; that was the easy part. We now ...
6
votes
1answer
65 views

FreeBSD systat doesn't calculate upload speed/total on wlan0

When I call systat -if shows that wlan0 out traffic/peak/total are 0 kb(/s). I'm using wlan0 for networking, internet down/upload are working. The in traffic/peak/total are OK. The wifi chip is ...
1
vote
1answer
43 views

LVS is not accessible from the outside

I'm currently busy setting up a LVS - Linux Virtual Server: root@debian1:~# ipvsadm -L IP Virtual Server version 1.2.1 (size=4096) Prot LocalAddress:Port Scheduler Flags -> RemoteAddress:Port ...
1
vote
1answer
80 views

ssh ubuntu to android : No route to host

I am trying to log into my android phone (running sshdroid), using my laptop (ubuntu 12.04). I am on a university sub-network (on wifi), and so is my phone. I tried the following command: ssh ...
3
votes
0answers
26 views

Linux network stops when transferring files [duplicate]

Running Debian, when transferring files from the server to my pc, the transfer is suddenly interrupted. Some smaller files (couple of MB) seem to work most of the time, but bigger files mostly fail at ...
2
votes
0answers
186 views

Broadcom or Modem wireless connection problem

I have a BMC42142 wireless adaptor lspci -vnn | grep 14e4: 02:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01) and I can't connect to the wireless ...
0
votes
0answers
128 views

Apache server in raspberry PI not visible from outside( public IP)

I have made a fresh install of Arch Linux ARM into a Raspberry PI and I mounted there a LAMP, all fresh. I have another Arch(x86) in my laptop with Apache also there, and as far as I know, two web ...
1
vote
0answers
48 views

Local Client/Server communication using TUN interfaces

I want to establish a local communication between a client and a server using TUN interfaces. The client program will be attached to interface TUN1 and we suppose that it has IP address @IP1. The ...
2
votes
0answers
84 views

Network connectivity issue between different hosts from a network namespace in one host

I have created two Ubuntu 12.04 VMs using VMWare Player with NAT network configuration. I am able to ping them from each other. After that, I created a network namespace in one of them and add a ...
0
votes
0answers
49 views

vagrant private network unstable

I have these 2 boxes, but I have a problem, when I start disributed and ping 172.28.128.2 often the network isn't working, but if I then go into oracle and ping 172.28.128.3 it'll find that and both ...
1
vote
0answers
25 views

Is arp periodically called to check connectivity?

Do most of linux implementations periodically make arp requests to check connectivity? I am trying to migrate an ubuntu virtual machine and, after migration, it just loses network connectivity.
0
votes
0answers
34 views

windows - suse rsh denied

I'm trying to execute a command through rsh from a Windows host to a Suse (SLES 11 SP2) host. The Suse (192.128.40.10) has xinetd installed and the service is running. I also made sure that the ...
3
votes
1answer
80 views

Issue with network switching

I have a desktop PC running debian that has two network cards installed. One network card is connected to a secure company network and requires a static IP. The other network card (eth1) is connected ...
1
vote
2answers
105 views

Primary network interface in Linux

I have a server box with two interfaces. One of the interfaces is connected to the internal network, another - to external. I have assigned IP 192.168.1.200 to internal interface (eth0). I have some ...