Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

3
votes
5answers
9k 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 ...
1
vote
0answers
407 views

Wlan0 Static Ip bridge

EDIT: Even taking br0 out, still cannot get a static IP connection. I had the following /etc/network/interfaces configuration and it was working auto lo iface lo inet loopback auto eth0 iface etho ...
3
votes
3answers
680 views

Averaging output of dstat

I need to average upload and download speed using dstat -n. How can I add all the received and sent data sizes that appear after dstat -n, so that I can add them and find average upload and download ...
2
votes
1answer
2k views

What to use for firewall testing (port opened or not)

so... we know that we can test that if a port is open on the firewall with: telnet SERVERIP PORT ..but afaik there are services that can't be tested with telnet, because ex.: telnet doesn't know ...
1
vote
2answers
2k 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 ...
6
votes
1answer
5k views

Bonded network interface is not available after a reboot

I have some servers with multiple network interfaces, setup with bonding and some VLANs. Whenever I reboot the server, one of the bonded network interfaces is not reachable from other servers, nor can ...
2
votes
0answers
389 views

Failed to execute shell script from “network” udev rule to change the MAC-address

I am trying to execute a shell script from udev rule, when a network interface is added, as follows: SUBSYSTEM=="net", ACTION=="add", KERNEL=="eth*", PROGRAM="/usr/local/bin/changemac.sh", ...
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 ...
0
votes
5answers
14k views

copying files from unix to windows?

Is there any way to automate the process of copying the files between windows and unix without doing it manually, using tools such as winscp. I need to copy files from unix to windows such by ...
8
votes
4answers
45k views

How do I know what service is running on a particular port in linux?

I am trying to run weblogic server on my linux machine and I am getting the following error : ERROR: transport error 202: bind failed: Address already in use ERROR: JDWP Transport dt_socket failed to ...
1
vote
0answers
132 views

Making a Linux audio recording device available on a Windows 7 PC over network

I would like to use my headset's microphone both on my Linux laptop and a Windows 7 PC simultaneously, for different VoIP applications. I'm currently running Ubuntu with PulseAudio on the laptop to ...
2
votes
2answers
215 views

What is the advantage of a network installation?

Looked into a network installation of fedora there. It seems you need to setup http & ftp servers on the host along with booting from a cd. So what are the advantages of installing linux over the ...
3
votes
2answers
2k views

Equivalent for netsh start network on linux

I recenty read about the Windows option for creating an access point, that will run on the same physical device, as the machine. So that I can connect my other devices to that network, and have access ...
1
vote
1answer
3k views

Ensure torrent client uses openvpn

I recently signed up to a VPN provider and to log in, I use network manager for my normal wireless connection and then start the openvpn connection from network manager. In my browser I can check ...
4
votes
1answer
255 views

Using xdg-open for accessing network with normal explorer

I'm working with small network and I want to start network explorer from a terminal. When I tried to type xdg-open network:///server it opened google chrome and did nothing. I also tried to type ...
0
votes
0answers
292 views

PC BSD Warden network interface

The documentation for PC BSD's Warden mentions that the configuration of the right network interface is crucial. However, it doesn't say what the "right" interface is. This may sound like a stupid ...
2
votes
2answers
572 views

Second loopback network interface (for netem)

I would like to add a second loopback network device on Linux, so that I have lo and (e.g.) lo2. This is so that I can use netem to simulate a throttled network over lo2 without compromising my ...
0
votes
0answers
294 views

Parameters of optimization TCP / IP in Linux Mandriva

In the registry of Windows XP can find the following options to enable optimizations for TCP/ IP: - MSS; - TCP Rx Window Size; - SACK (Selective Acknowledgment); - ECN (Explicit Congestion ...
0
votes
1answer
121 views

Is port knocking good for a last chance when everything is locked out via the Firewall?

Based on this question: "Safe mode" on Linux? - So there is a configured knockd on a server, and a wrong firewall command was given out, so everybody got locked out from the server via ...
0
votes
1answer
101 views

Remote linux using vnc and gdm without login

I remote linux server by using vnc and gdm. This link is very good but I would like to remote linux server using vnc viewer without login. May I know your suggestion?
3
votes
1answer
4k views

Definitive way to configure network devices in Centos 6.2

What is the definitive way to configure network devices in Centos 6.2? Via network manager or editing /etc/sysconfig/network-scripts? I have a notebook with 1 ethernet port and a usb ethernet adapter ...
1
vote
1answer
883 views

network interface does not become active although onboot enabled

Due to some other conflicts, I disabled/stopped NetworkManager in Fedora 15, Now, for network configuration I used system-config-network-gui to config & enable Ethernet interface, Problem is, ...
2
votes
3answers
9k views

Mounting Directory - Connection Refused

I am trying to mount a Directory from my server to my local machine. This is because I want to edit the directory and execute the files without having the manually push the files to the server after ...
2
votes
1answer
450 views

Running a local port scan and found open ports but, don't know what they're used for?

I wrote a very basic python script to port scan my system. I'm running linux-mint lisa: open_ports = [] for port in xrange(65536): conn = socket.socket(socket.AF_INET, socket.SOCK_STREAM) ...
2
votes
1answer
1k views

SSH locking up: suspect local problem, not remote

On my work computer, I regularly SSH into two unrelated servers. Sometimes the SSH session locks up (does not respond to keyboard input). When locked up, I can SSH in via a second open terminal, that ...
2
votes
3answers
3k views

How to install Redhat using the iso image stored on Network

This is the case. I want to install the Redhat 5.6 on my system. But this time i dont want to use the actual DVD but this time i want to install it using the iso image stored on one of our server HDD. ...
1
vote
0answers
102 views

Cannot see an EC2 VPN server from another EC2 instance

I'm using openVPN to connect to one EC2 instance from another. The client cannot see the server, however, despite that servers outside of AWS can see the server and successfully negotiate with it. ...
3
votes
2answers
3k views

Determining if a host is online

I'm testing stability of a machine and I need way to simply write a Bash script to determine if a host is online or not. How could I script this? if [ ! $(hostisonline) ]; then # profit fi
1
vote
2answers
285 views

OpenVPN struggling

I've got some problems with my OpenVPN setup. The Setup: -> Ubuntu Server 12.04 -> Two active NIC's: eth0 (default): 192.168.1.0/24 eth1: x.x.x.x (external ip) I've managed to get the routing to ...
1
vote
2answers
7k views

How to setup VLAN on same subnet as Ethernet ?

I have a physical NIC with dev name eth0 with ip 192.168.1.2 and gateway 192.168.1.1 and I want to setup a VLAN with ip 192.168.1.x and same gateway as eth0. Setting up the VLAN runs smoothly and I ...
3
votes
1answer
658 views

Network bandwidth measurement on Solaris

I want to install pathtest or a program like it in a Sparc server running solaris 10. The purpose is to make a speedtest server to my remote sites. It is mentioned in pathtest FAQ that it only ...
3
votes
2answers
712 views

iptables routing marked packets from router to PC and routing them back to router

I'm trying to do deep packet inspection on HTTP packets. The purpose of this is to collect HTTP payload data and then create some proxy/cache-independent reports. Following this, the idea is to ...
1
vote
1answer
738 views

CentOS connected to Internet but not updates

I have installed CentOS 6.3, OpenSUSE 12.1 and Ubuntu 12.04 on VMware Workstation 9. On any of these when I use ping to check network connectivity, I receive a proper answer, but when try to update ...
2
votes
1answer
23k views

Unable to ping gateway & other Linux boxes on same network

I'm somewhat new to Linux, but I'm trying to network a few Linux machines. I can't seem to be able ping the gateway or the other Linux machines. My scenario: I have a few Linux boxes set up on a ...
10
votes
4answers
7k views

Openswan connecting to multiple right subnets not working

I'm trying to use Openswan (version 2.6.37) to connect an IPsec VPN from my local network to a remote site. Everything works fine when I just want to connect to a single subnet on the remote site. ...
2
votes
0answers
210 views

Connected Android device - brings the network down?

I have dealt with sensitive development under Android, and have recently decided to switch to Linux now sit under (Mint 13 - KDE). But strangely, when the Android device is connected, my network goes ...
5
votes
2answers
5k views

Discover MTU between me and destination IP

In a case I can use only UDP and ICMP protocols, how can I discover, in bytes, the path MTU for packet transfer from my computer to a destination IP?
3
votes
1answer
8k views

How do I configure the network interfaces persistently in CentOS so it will survive a reboot?

I configured a network interface with the following commands: ifconfig eth0 up ip addr add 192.168.9.1/28 dev eth0 route add default gw 192.168.0.1 This works. However, when I reboot the machine I ...
2
votes
2answers
1k views

Network Simulator NS-2 in Linux Mandriva 2008 - nam error: “Cannot connect to existing nam instance”

Theme begins here - http://superuser.com/questions/525110/installing-network-simulator-ns-2-allinone-on-linux-mandriva There is a certain emulator- NS-2. It can be used to describe the network ...
1
vote
0answers
1k views

Can't ping first IP with dual NICs on different subnets with multiple gateways

I have two NICs assigned to a server. eth0 - 10.199.10.0/24 w/ a GW of 10.199.10.1 eth1 - 10.199.20.0/24 w/ a GW of 10.199.20.1 From my desktop, I can ping the IP assigned to each NIC just fine ...
7
votes
1answer
377 views

Networking looks OK, but does not work at all

I am trying to get networking to work on Sabayon X KDE Edition. I have configured wireless networking using the NetworkManager applet and networking looks OK. However, I can't connect to the ...
1
vote
1answer
479 views

Block Internet Connection through Terminal on OSX

Even though I don't have administrative privileges, can I block Internet connection on my Mac OS 10.8 machine, through the terminal? I want to do this because I am too lazy to disconnect ethernet ...
1
vote
1answer
136 views

Raspberry PI Connect2 Pi not installing required drivers

I recently got a RPi with different modules. One of them was a Connect2 Pi wireless dongle from LPRS, used to send 100 Mb data packages over the internet. It's basically an internet dongle. However, ...
1
vote
0answers
370 views

Computer recognizes wireless network but asks for password repeatedly

I have installed Mint 14 Xfce on a Dell XPS 400. I am using a Belkin F5D8010 wireless card. I got the .inf file from the Belkin website and installed it using the graphical ndiswrapper tool. The ...
2
votes
1answer
4k views

Wi-fi connection failing on Arch Linux

I' ve just installed Arch Linux on my computer, I have some problems: If I write # iwconfig The result is -bash: iwconfig: command not found the same is with ifconfig instead if I try with # ...
0
votes
4answers
509 views

targeted network speed over LAN

I have a Solaris 11 system which has several NFS exports which are accessed my other systems within my LAN. I use a Linux system as a client for testing. I wrote a quick script to test read speed and ...
4
votes
2answers
729 views

Does FreeBSD support network virtualization like Crossbow?

Does FreeBSD support network virtualization like Solaris Crossbow? I've tried to follow the VImage links from the FreeBSD wiki page, but the links are mostly dead. If VImage is no longer part of ...
6
votes
2answers
10k views

Creating alias to domain name with /etc/hosts

I have a domain setup to point to my LAN's external IP using dynamic DNS, because my external IP address changes frequently. However, I want to create an alias to this host, so I can access it with ...
4
votes
1answer
2k views

qemu - two clients (tap0 & tap1) via br0 can't ping eachother but server pings ok

I've got: A host system running Ubuntu with KVM (functional) Two clients, one Ubuntu and one Windows 7, nothing fancy. I've also setup (see below) a bridge via br0 for the clients: br0: ...
7
votes
7answers
3k views

Assigning IP address to environment variable [duplicate]

How can I assign the IP address of eth0 to an environment variable, say $ip, as easily as possible? Update: Distro is Ubuntu Server 12.04 LTS.