Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
1answer
98 views

Will this open up a non-standard port to ssh?

I am following tutorials on iptable and want to allow ssh traffic on my non-standard SSH port = YYY. I think this is how you do it, but want to double check so I don't lock myself out of my server. ...
1
vote
1answer
202 views

Bridging two interfaces for intranet only

We have two ALT linux servers with real IPs. They both are in intranet via commutator. Each of them also has an additional LAN network interface. We want to connect these servers to each other ...
1
vote
2answers
422 views

Is it possible for a OpenVZ container to interact with a MySQL database on the host?

Say every container and the host itself has its own dedicated, external IP. Is it possible to do this without any problems? And is this really a good plan? Instead of hosting a database per container,...
1
vote
1answer
985 views

ath9k 802.11n 300Mbps at low speed

I'm testing my new home 802.11n network. router - slax 7, kernel 3.8.2, AR9382 mini pci-e (sparklan WPEA-121N) wlan0 IEEE 802.11abgn ESSID:"xyz" Mode:Ad-Hoc Frequency:2.412 GHz Cell:...
1
vote
1answer
137 views

MAC Address changes after dirty shutdown

I'm having a strange issue which I originally thought was tied to the fact that I created an Ubuntu system from an image of another. However, after reinstalling Ubuntu from scratch I am getting the ...
1
vote
1answer
165 views

Why doesn't setuid on /sbin/dhclient work as intended?

I am the only user on my machine, and prefer not to type sudo every time I use dhclient. Therefore, I tried sudo chmod u+s /sbin/dhclient. However, when I subsequently run dhclient wlan0 from a non-...
1
vote
1answer
785 views

kvm usb modem passthrough

I'm trying to set up a USB modem passthrough in kvm virt-manager. The host is Fedora 20. The guest is Centos 6 $ ifconfig wlp0s29u1u6: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether 00:...
1
vote
1answer
3k views

OpenSSH hangs after login without showing login prompt

I ran across an issue with ssh after fresh Ubuntu 13.10 installation on Lenovo T420. I tried git pull (which failed) and this led me to more general ssh failing. After spending some 2-3 hrs of ...
1
vote
3answers
1k views

Different ARP results between host and virtual machine

Recently, using VMWare Player, I have configured a Linux virtual machine on a Windows host. I set the network adapter to be a bridged network with the Replicate option checked. The IP address was on ...
1
vote
1answer
617 views

iptables - why the stun, turn ports are not working to allow end points to access the server?

I have this iptables where all working except tcp/udp port 3478 and 5349. $ cat /etc/sysconfig/iptables # Generated by iptables-save v1.4.7 on Thu Nov 21 10:21:41 2013 *filter :FORWARD ACCEPT [0:0] :...
1
vote
1answer
53 views

Measure time to get DHCP address?

Is there any tool or way to measure how much time your DHCP router needs to give you IP address? I'm sure that there is something, as it's pretty important when debugging network.
1
vote
1answer
541 views

How to calculate Linux Network RX, TX total stats - not just between reboots?

Is there any way to calculate the Linux network interfaces RX , TX for all times? The suggested method mentioned in this Cyberciti article titled: Linux See Ethernet Statistics only returns the stats ...
1
vote
1answer
2k views

Cannot Connect to Internet but can SSH into Solaris x86 (vs. 11)

I am able to connect remotely to the machine using SSH, but I cannot ping www.google.com through the machine. I did the following to make sure SSH was enabled (well I know it is, as I am using PuTTy):...
1
vote
1answer
412 views

Directing hostname to another computer within lan using hosts file

There seem to be more questions like this, excuse me if this is similar. I want to redirect to an IP address om my server computer. This is what I put in my hosts file on the client computer (IMac): ...
1
vote
2answers
951 views

Restarting network service for a local VM via SSH

During the course of practicing switching my local VM from static IP to DHCP and vice versa via system-config-network, I decided I didn't like having to access the VM's console through virt-manager ...
1
vote
2answers
2k views

Open a port CentOS

I'm new in CentOS and I'm trying to create a little script in Python, something like: $ python -m SimpleHTTPServer If I try to access port 8000 in my web browser, I don't get access, however if I ...
1
vote
1answer
786 views

Why is NetworkManager attempting to control an interface script that doesn't exist?

I'm showing hundreds of frequently repeated entries in /var/log/messages that don't make sense. More below the example. Here's an example, which is repeated ad nauseam in the log file: Oct 15 15:14:...
1
vote
2answers
221 views

Linux lock down route to avoid changes to the default route

I have a problem that every time I connect my Android phone with USB tethering it hijacks my computer's internet connection. Even if the phone's WIFI is off. I try to manually remove the default ...
1
vote
1answer
164 views

Any guides for dummies to setting up a VPN?

I am looking for a guide to setting up a VPN on a VPS, most of the guides don't explain certain elements and I've been left feeling clueless halfway through them. For example when I was installing ...
1
vote
1answer
347 views

OpenVPN not showing easy-rsa

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -Uvh epel-release-6-8.noarch.rpm I did yum install openvpn in the guide then did the following: mkdir -p /etc/...
1
vote
1answer
85 views

Get network under Network-Manager's management

Initially, when I had installed Debian 'Wheezy' on my old trusty laptop, it's network was managed by Network-Manager. However, at some point, I think I did something, which lead to the network ...
1
vote
1answer
5k views

How do I generate an SNMP community string for MRTG?

I have trying to set up MRTG on my server, following this guide: https://help.ubuntu.com/community/MRTG I followed it as far as, cfgmaker <snmp_community_string>@<...
1
vote
1answer
740 views

Difference between virtual interfaces with ifconfig and iproute2

I am wondering what is the difference between: # ifconfig eth0:0 1.1.1.1/24 and just # ip addr add 1.1.1.1/24 dev eth0 Btw I cannot do # ip addr add 1.1.1.1/24 dev eth0:0 RTNETLINK answers: ...
1
vote
3answers
6k views

Cannot connect to internet in Fedora 19

I am brand new to linux and am unable to connect to the internet in Fedora 19. When I type ifconfig I get: lo: flags=73 mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 ...
1
vote
1answer
99 views

Cannot access ubuntu server from other machines other than the machine which is hosting the virtual machine which is my ubuntu server [closed]

I created a ubuntu server on vmware. I am using it as a file server. I can access it if I am connecting through the machine which hosts the virtual machine. I am not able to do it from other machines ...
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 ...
1
vote
1answer
231 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 ...
1
vote
1answer
70 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 ...
1
vote
1answer
347 views

tshark command for finding MAC of a specified network

What tshark command could start listening to a specific network and see who (MAC-wise) is connecting to it? I already have the network card in monitor mode at the correct channel. WireShark can ...
1
vote
1answer
325 views

Parsing protocol and url from packet payload

We are using pf_ring to capture packets. We are able to decipher information like source and destination ip, mac etc from the header information. Now we are moving into payload to decide the type of ...
1
vote
5answers
3k views

Setting a network hostname doesn't work

I'm on a Kubuntu 11.10 and I'm having trouble setting a hostname on the network. I already tried changing send host-name "myhostname" in /etc/dhcp/dhclient.conf or /etc/dhcp3/dhclient.conf with a ...
1
vote
1answer
844 views

Cannot connect to belkin router through linux mint

I recently installed Linux Mint 13 alongside windows 7. I have a Realtek RTL8191SEvB Wireless Card. This work's fine with any router. However when I try to connect to a Belkin G Wireless Router it ...
1
vote
1answer
125 views

Adblock rule to block g+ / twitter / etc. [closed]

Looks like this rule works to blocking facebook domain, when not visiting the facebook domain (ex.: "like/share" etc. buttons on other pages then facebook): ! don't allow facebook outside facebook.. ...
1
vote
1answer
357 views

Why does my 3G key blocks my eth0 interface and how to solve this?

I have a linux PC (Debian Squeeze) which is located into a room in another town (I cannot physically access to this PC from where I am) This PC is linked to internet using an internet box. I can ...
1
vote
1answer
687 views

How to troubleshoot high kernel time (high network usage; high interrupts)

I've noticed that I have high kernel time when doing a lot of network traffic in Linux. I also noticed that 45% of my CPU is spent doing interrupts. How can I further troubleshoot this?
1
vote
1answer
90 views

Enforce strict outbound ports (or ranges) for protocol

Is it possible to narrow the allowed range of outbound ports that can be used for a specific protocol (e.g. HTTP(S))? I understand that, by default, the system will randomly allocate any available ...
1
vote
1answer
11k views

Use of /etc/sysconfig/network-scripts/ifcfg-eth* files

What's the use of /etc/sysconfig/network-scripts/ifcfg-eth* files ? In some cases ifconfig lists the interface eth0 but I don't find the corresponding ifcfg-eth0 file whereas in other instances if I ...
1
vote
1answer
3k views

With two interfaces, how can I make one the default route and the other an alternate?

I have wired connection to intranet / lan of my work (with proxy) and one wireless without proxy that doesn't have access to the office lan. (Like Guest Wifi) My idea is to route all traffic to eth0 ...
1
vote
1answer
593 views

3G-modem for Linux supporting USB 3.0

I've laptop with three USB3.0-ports.OS is Linux Mint 13 (yeah, it's Ubuntu-based). My modem Huawei E1552/E1800 could work in two modes: 1) as flash with drivers 2) modem The device is operating as ...
1
vote
1answer
149 views

Help understanding interfaces in Backtrack

I am fairly new in UNIX and have recently installed backtrack on a VMWare box on my machine and I am trying to use DHCLIENT command but am having trouble in understanding the interfaces. I am ...
1
vote
1answer
236 views

ifconfig: more different device items than physical NICs/sockets

I have a simple router for home users (D-Link DIR-300) with embedded Linux (kernel 2.6.21) and a bunch of networking tools. Inspecting the internals of of this system through telnet, I've got this ...
1
vote
1answer
614 views

Unable to get embedded device to ping anything on the network

I have an embedded device, built using buildroot, kernel version 3.6.11 running busybox. The kernel is built with completely default options. I have configured the device according to what the network ...
1
vote
2answers
939 views

Command/scripts to check the Reverse DNS Lookup time

I am working on a project in which one master communicates with numbers of slaves. For that it has to make connection with hosts in network. But sometimes it hangs. I think that the reason behind is ...
1
vote
1answer
274 views

kvm guest Network interface no Authenication

i have a kvm host based on ubuntu 10.04 host , and the guest is rhel 5.3 64-bit, on the guest i tried to execute mii-tool eth0 SIOCGMIIREG on eth0 failed: Input/output error SIOCGMIIREG on eth0 ...
1
vote
2answers
2k views

Can connect to wireless router but can't browse internet

I have a Dell Studio 1450 running Fedora 17. I installed a new wireless router in the office recently. And everybody apart from me is able to connect to the internet via it. Google revealed http://...
1
vote
2answers
4k views

How to forget/remove Mobile Broadband connection settings from Mint 14

I've been using Ubuntu for a while now and wanted to switch to Mint. I connected my mobile broadband dongle (Vodafone) for the first time like in Ubuntu it all went fine but subsequent connections ...
1
vote
2answers
1k views

Bandwidth, CPU & Memory stats returned in single line from terminal

I'm trying to create a simple monitoring system that will show a graph of sales that is linked entirely to data of bandwidth, CPU and Memory stats as they relate to sales. So if I sale 1 widget per 5 ...
1
vote
1answer
2k views

Default value for SO_RCVTIMEO option on Solaris

Is there any way to find out what is the default value set for option SO_RCVTIMEO on Solaris 10? If there is a way to find out how would one go about changing it? P.S. I am aware of ability of ...
1
vote
2answers
3k views

OpenSUSE - Ethernet adapter up but can't ping the router

OpenSUSE 12 LAN driver is up and running: me@here:~> /sbin/ifconfig eth0 Link encap:Ethernet HWaddr 00:1A:4D:F9:93:F2 inet fe80::21a:4dff:fef9:93f2/64 Scope:Link UP ...
1
vote
1answer
2k views

Redirect Packets from ppp0 interface to ethernet interface in linux

My question is similar to this question, however with some change. I have a PPPoE connection on my Linux Machine (CentOS kernal 2.6.32) as a client, so that when I setup this connection, another ...