Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

2
votes
0answers
408 views

B.A.T.M.A.N. working with cable, not with wireless

I'm creating a mesh network with B.A.T.M.A.N.. The version is 2011.4.0 in host A, 2012.3.0 in host B. I've setup the network as explained here. I can ping bat0 interfaces if the connection is done ...
0
votes
2answers
273 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 ...
1
vote
1answer
2k views

Losing static IP and and getting DHCP IP

I have a Debian 7.1 machine that is our internal intrusion detection system running snort. It has started flaking on me and will pull a DHCP address even though I have it set to static. This happens ...
3
votes
2answers
5k views

problem with server bonding interface configuration

We are facing some problem with configuration of servers: There are 2 servers, each one contain 2 NICs which are in bond. Each server is connected to 2 Cisco switches (one connection from each NIC to ...
4
votes
1answer
1k views

How to fix this eth0 and eth1, where traffic going out via eth0 is failing?

I have two public IPs. One's connected to eth0 and one to eth1, from 2 separate routers as complete DMZ towards the LAN IP. I added this following: ip rule add from 10.0.0.108/32 table 1 # outbound ...
2
votes
1answer
3k views

Environment variable for ip address

I see somewhere people use: IF_ADDRESS="$(echo "$IP4_ADDRESS_0" | cut -d'/' -f1)" to get the IP address in a network configuration script. In my system, I create a script under the directory ...
4
votes
1answer
3k views

Can't ssh to beaglebone?

After I did: route add default gw 192.168.7.1 I also changed /etc/resolv.conf: nameserver 192.168.7.1 in order to share internet between Ubuntu in VMware. I've got internet working but after a ...
3
votes
1answer
3k views

LAN server with two network cards, can't telnet / ping to the second even if it works

I have an issue with an Ubuntu 12.04 LTS (updated) server. For reasons too long to detail, it has got one eth0 interface assigned to 192.168.1.9 and one Wifi wlan0 interface assigned to 192.168.1.10. ...
0
votes
2answers
107 views

Sharing a 1 GB HD file that can be stream more then 10 computer simultinuasly

I want to share a file that is sized at 1 GB and my OS is Linux Ubuntu 12.10 via a wireless router by the name of TP-link with a speed of around 400MBps. I want to share this file to at least 10 ...
-1
votes
2answers
207 views

Problem with network interface [closed]

I had a problem with eth0 interface. I installed linux distribution version 11.10 and I want to set static IP address to my linux computer. When I run ifconfig, it didn't print the eth0 interface. It ...
0
votes
2answers
637 views

NetworkManager controls my wireless card, but it can't find any networks?

I have a Broadcom wireless chip which I've managed to wrestle into working with Debian GNU/Linux (I'm on Sid, if it matters). The interface is definitely there: 612 ± ip link 1: lo: ...
-1
votes
1answer
403 views

I can't access my computer through specific port?

On Fedora I tried to access port 1521, so I opened the following port on my firewall: $ sudo iptables -I INPUT -i eth0 -p tcp -m tcp --dport 1521 -j ACCEPT $ sudo service iptables save I then tried ...
2
votes
1answer
442 views

iptables string not dropping packet from tcp streams while using conntrack and string

I'm facing an unusual issue where specific TCP steams are not getting dropped by iptables; instead it's like iptables is just removing those specific packets. We're getting the following traffic: ...
3
votes
2answers
6k views

What is the simplest way to connect to wireless on a Debian system with nothing but essential?

I have a Debian Jessie system which, for reasons unrelated to this question, has nothing installed but the set of essential system packages. What is the simplest method for connecting to a wireless ...
1
vote
1answer
1k views

Which book of those two should i read to study networking for Unix/Linux administrator? [closed]

I'm quite a beginner to networking, I want to get the information that i need as a Linux/Unix admin. I have two books in hand right now: TCP/IP Illustrated, Volume 1: The Protocols UNIX and ...
2
votes
2answers
3k views

wpa_passphrase must be 8..63 characters

I'd like to connect to wireless network via command line in Linux. When doing it I've stuck with this issue: $ wpa_passphrase NETWORK_SSID NETWORK_PASSWORD Passphrase must be 8..63 characters The ...
9
votes
1answer
36k views

Set persistent routing table on Debian

I have modified my routing table by deleting one rule, and adding two new rules for my second interface eth1: route del -net 10.1.2.0 netmask 255.255.255.0 route add -host 10.1.2.51 eth1 route add ...
3
votes
2answers
667 views

how does ssh discover hostnames on the network?

We have a server on the company network named serverA, and if I type ssh serverA, it will connect my PC to this server, even though there is no entry for this server in my /etc/hosts, but I used to ...
8
votes
1answer
2k views

Is there a method for simulating high latency?

This is a very good answer about how to limit bandwidth. Now Bandwidth is not my primary concern - latency is. What happens if I put a few hundred kilometres between my application-servers and its ...
20
votes
3answers
13k views

Limit outgoing bandwidth on an specific interface

I would like to know the easiest way to limit outgoing bandwidth for an interface. I want to cap the outgoing port speed so that file transfers between my servers don't fail during busy hours. What's ...
2
votes
1answer
3k views

Installing RTL8723AE Wireless LAN drivers on a machine with no internet connection

I've bought a netbook with a Realtek RTL8723AE Wireless LAN card, which functions, when I run Windows 7. I can access the Internet only via wireless networks. Now I want to install Linux on my ...
1
vote
1answer
230 views

VPN that gives me an internal IP and allows me to reach the internal network from outside

Using Red hat linux/CentOS. Where I have 1 Public IP, that is accessible remotely via SSH. Now that server needs to connect one VPN Server so that VPN server can give one IP to our Server. Now from ...
2
votes
1answer
102 views

How to properly configure DNS . . . from a conceptual perspective

I'm not looking for actual tools or techical how to type answers here. I'm in a complex networking environment, and I'm trying to understand the constraints on my choice of a hostname / domain / DNS ...
1
vote
0answers
526 views

802.1X authentication with NetworkManager

I have a plain DHCP wired connection at home, and a wired connection secured with 802.1X at the office. I need to use the right parameters in each location. I've configured both connections with ...
4
votes
1answer
16k views

How To Diagnose Faulty (onboard) Network Adapter

I'm looking for advice on diagnosing ethernet connectivity issues under Linux. I suspect it's a hardware issue, though I am not entirely sure. It's an nVidia chipset and ethernet adapter. The device ...
0
votes
1answer
445 views

Frequent disconnections in OpenVPN

I'm suffering random disconnections with OpenVPN. I don't know much about the subject, maybe you can point me in the right direction? Here is the tail for /var/log/messages, it contains a <warn> ...
1
vote
1answer
743 views

What does the route Dest: 123.123.123.123, GW: 0.0.0.0 mean?

I have a route table: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 123.123.123.123 0.0.0.0 255.255.255.255 UH 0 0 0 ...
5
votes
2answers
2k views

What is the difference between `/sbin/ip route` and `/sbin/route`?

Linux comes with two utilities /sbin/route /sbin/ip route What is the difference between the two and what is the rule of thumb to use when you decide which one of the two you should use? I know ...
10
votes
1answer
25k views

What does the eth0 interface name mean in Linux?

What do the Linux interface names mean? eth0 eth1 wlan0 My current assumption is that when we are connected to the Internet via LAN cable it's eth0 or eth1 and when we are connected with internet ...
1
vote
0answers
754 views

Connect two VirtualBox virtual machines through SSH

I have two VirtualBox virtual machines: one with SuSE Enterprise 10 and one with Red Hat Enterprise 5. I want to connect through SSH from RedHat to SuSE. Both are configured to use a bridged adapter ...
0
votes
1answer
285 views

Unable to access http service intranet

I'm not sure if this is the right place, if this is the case I will move the question with no problem. I'm setting up a web server for testing Wordpress. Everything works fine if I try to access the ...
2
votes
0answers
1k views

CUPS can't print to printer on network

I am having problems printing to the printer connected to my (SBS2003) business's network. I know the IP of the printer and I can ping it and even print files from it by going to 192.168.0.50 in ...
7
votes
2answers
9k views

What is the tun network interface for?

I noticed when running ifconfig that there is a network interface called tun0 and it has an ipv4 address. A bit of research shows that it is a tunneling device, but I don't really know how it's used, ...
1
vote
0answers
3k views

System proxy settings not taking effect on Kali (debian 6)

I'm in the process of trying to configure TOR on a Kali installation, as a system-wide SOCKS proxy. I just did this successfully on Ubuntu, and it worked like a charm. I installed TOR & Vidalia ...
3
votes
1answer
2k views

Bonds vs. Aggregators

I'm almost to the point where I can post the solution I wound up with for my complex port bonding question. However, in reading the bonding.txt file, I see this option text: ad_select Specifies the ...
0
votes
1answer
3k views

nmap failed to determine route

I have set about trying to learn nmap, though for some reason it does not work I keep getting the same error, the only time it works is when I specify loopback address, this is the error I get ...
4
votes
2answers
5k 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 ...
0
votes
1answer
931 views

Tacacs over IPv6

I have migrated my Redhat Enterprise linux server 5.5 to IPv6 . Now I want to run tacacs+ for IPv6. When testing from my client, it returns "unable to connect to server for IPv6 address", but for IPv4 ...
0
votes
1answer
370 views

Read and parse XML input via TCP [closed]

I'm setting up something where I'll need to be able to setup a service that accepts input on a TCP port and then parses the XML provided and extracts the necessary data, then posts that to Google's ...
1
vote
1answer
755 views

Unable to recognize old interfaces after motherboard update

I updated motherboard on x240 computer node, now the ethernet interfaces show up as eth2 and eth3 previously it was eth0 and eth1. I tried to delete /etc/udev/rules.d/70-persistent-net.rules file but ...
1
vote
3answers
82 views

Create a service that logs all input

I need to create a service that logs all input on a certain port to a file. Do I have to create a custom program for this, or is there an existing tool out there that can help me with this?
-2
votes
3answers
6k views

Cannot connect to network in fedora 19

I am new to linux. I just installed fedora 19 and it shows that i am not connected to network (not recognizing network) though my connections are correct. I don't know what to do. Can any one please ...
12
votes
4answers
47k views

How can I change the default “ens33” network device to old “eth0” on Fedora 19?

I've just installed a Fedora 19 on VMware workstation 9. The default network device is "ens33" instead of "eth0" on RHEL. The reason I have to use "eth0" is that the license component of one of our ...
2
votes
0answers
224 views

No network interface for the lan9118 emulated on QEMU 1.4.0 overo machine

Im using QEMU 1.4.0 Ubuntu 13.04 distribution. Im trying to make the virtrual machine part of the host network so Im ussing this command: sudo qemu-system-arm -M overo -m 1024 -sd ./test.img -clock ...
3
votes
1answer
887 views

Public-Key Authentication w/ Jailed SFTP User

I'm trying to set up a jailed SFTP user account on my own local machine to test an application with libcurl. I used this guide to help me figure out how to set up a jailed SFTP user: ...
15
votes
1answer
31k views

Setting up network from a “minimal” CentOS 6.4 install [duplicate]

Just installed CentOS 6.4 from a "minimal" ISO. On first boot, I discover that I cannot ping the outside world, yum update, or anything like that: connect: Network is unreachable. In fact, I can't ...
1
vote
1answer
228 views

Port configuration does not work as exptected

I have a Router and four computer connected as the local network. IPs: Router(192.168.8.1)(internet ip:125.119.203.127) server1(192.168.8.3) my computer(192.168.8.8) ...... The ...
2
votes
5answers
177 views

Difficulty setting up iptables

I'm very new to *nix operating systems, and I'm having some trouble which I believe is because of misconfiguration of the iptables firewall. My server has SSH running on port 22, and server software ...
1
vote
2answers
2k views

SSH tunneling through a busybox router

I have a busybox router and I'm able to login to the console using telnet & I also have access to the web interface. My question is, how can I create an ssh tunnel from my local network through ...
1
vote
1answer
69 views

Network adapter forgetting address?

I started sysrescuecd v3.7.0 via USB on my PC because I'd like to backup my disk. My idea was to use dd and nc to send data to a different PC, so I'm using ip addr add to configure the ethernet device ...