Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
3answers
1k views

Connect my laptop through desktop to internet

I'm currently at work and our wifi is down. I usually connect my desktop to the internet through eth0 and my laptop connects through wifi. I have an extra port on the back of the desktop (eth1) and ...
2
votes
1answer
3k views

Why does my Debian VMWare virtual machine lose all network connections ~15 minutes after boot?

I’m having a strange networking problem with a Debian (6) VMWare virtual machine on my Mac. Around 15 minutes after starting it up, I can no longer SSH into, view websites served from, or ping the VM. ...
2
votes
2answers
5k views

Samba reporting not enough free space

After having some problems with my NAS, I switched to Debian/Lenny. I've managed to install and configure most of the software I need, but I've hit a brick wall with Samba. I can access the shares ...
20
votes
6answers
26k views

Linux: allowing an user to listen to a port below 1024

I need to allow an user (different from root) to run a server listening on port 80. Is there any way to do this?
4
votes
4answers
3k views

“internet connection checker one-liner”

With this I can check, that there is "internet connection". if there is no "internet connection" (succesfull pings to this 2 places), then it waits 600 sec, then it runs along: ping -W 1 -c 4 ...
0
votes
2answers
3k views

What could cause network latency on a fresh Ubuntu Server 10.10 install?

I have recently purchased a machine to run an online game server. I put the machine together and have installed a fresh copy of Ubuntu Server 10.10. I have noticed that the game server produces a ...
4
votes
3answers
3k views

Send duplicate packets over two Internet connections

I need to duplicate an RTP stream over two different (non-reliable) Internet connections. On the receiver side, I will probably run a custom program that will use a buffer and rebuild the stream ...
3
votes
4answers
2k views

Simple way to create a tunnel from one local port to another?

I have a development server, which is only accessible from 127.0.0.1:8000, not 192.168.1.x:8000. As a quick hack, is there a way to set up something to listen on another port (say, 8001) so that from ...
2
votes
3answers
460 views

Cannot access network on the command line in Ubuntu 10.04

I am having an issue which I am unable to diagnose. I am unable to access outside the local network from the command line. Strangely, ftp works from the command line. But ping, links, traceroute, wget ...
12
votes
5answers
13k views

Why does SCP hang on copying files larger than 1405 bytes?

I'm trying to copy a file from one of my local machines to a remote machine. Copying a file with size upto 1405 bytes works fine. When I try to scp a larger file, the file gets copied but the scp ...
15
votes
6answers
45k views

How to change the order of the network cards (eth1 <-> eth0) on linux

Is there any way to swap network interfaces (eth1 <-> eth0) after system installation. My brand new Debian 6.0 install assigned PCI network card as "eth0" and motherboards integrated network ...
9
votes
1answer
5k views

How to utilize TUN/TAP tunnel from user program?

I recently discovered the existence of Linux TUN/TAP interfaces and am still trying to understand them. I think I get the basic concept - pseudo devices are created which emulate a network interface ...
3
votes
4answers
2k views

Sniffing packets through router

I would like to create a system like this. The user would connect through a wifi network which would reroute all http requests and responses through the network card on a computer thus allowing that ...
14
votes
2answers
51k views

Orphaned connections in CLOSE_WAIT state

I've got a SLES machine that accumulates TCP connections in a CLOSE_WAIT state for what appears to be forever. These descriptors eventually suck up all available memory. At the moment, I've got 3037 ...
3
votes
1answer
385 views

NetBSD Serial Port Gateway

I have an old Toshiba Satellite 4015CDT, with Pentium II MMX, 32MB RAM, 4GB HDD. It also has one USB 1.0 port, parallel and serial ports, a 3.5" floppy drive and a CD-ROM drive (almost dead). Also, ...
6
votes
4answers
6k views

All commands that should be used to connect to wifi in command line

I would like to switch from gnome to awesome and I would like to connect my wifi network in command line (instead of using gnome tools). So, I searched on the internet and found approximatively the ...
2
votes
0answers
442 views

Network via ieee1394 is unreachable (PC and laptop)

I decided to connect my PC to the laptop via firewire. All interfaces are up, but no packets can be send/recieved. I'm using Linux Slackware64-current (kernel 2.6.37.4) Laptop (Dell Vostro 3700) has ...
4
votes
3answers
499 views

Multicasting in Linux

I want to do multicasting in linux for the video/audio/data file transmission. Is there any utility/tool to do so ?
4
votes
1answer
328 views

NetBSD 5.1 NDIS Kernel Compile Error

I have an old Toshiba Satellite 4015CDT, with Pentium II MMX, 32MB RAM, 4GB HDD. It also has one USB 1.0 port, parallel and serial ports, a 3.5" floppy drive and a CD-ROM drive (almost dead). I've ...
4
votes
1answer
2k views

How to connect two Linux computers with bluetooth?

I have 2 computers, both have Ubuntu 10.10 desktop edition installed. Both have bluetooth dangle, but the manufacturers are different. I want to connect the two computers and share the Internet ...
3
votes
1answer
1k views

After cloning Fedora 14 install to another machine, onboard NIC is seen as eth1 instead of eth0. Why?

I have the following procedure for replicating a Fedora workstation setup. Boot from a Live CD, make tgz's of the filesystems. Go to new machine, make filesystems, dump the tgz's in the proper ...
3
votes
1answer
651 views

Ubuntu 10.10 network connection cut down after few minutes of starting

Ubuntu 10.10 network connection works fine at the start, but few minutes later the network manager pops up a message saying disconnected you are offline and Chrome browser returns an error message ...
3
votes
3answers
7k views

I am failing to clone a git repo when behind a proxy

When I run git clone git://git.gnome.org/tracker, I get: Cloning into tracker... git.gnome.org[0: 209.132.180.173]: errno=Connection refused fatal: unable to connect a socket (Connection refused) ...
6
votes
4answers
7k views

Is there a way to set network proxy system-wide?

If I want to have GNOME applications (as well as Firefox and Chrome) access the network through a proxy, I need only use gnome-network-properties (a nice and simple GUI I must say). For other apps ...
4
votes
1answer
704 views

Is there a tool that lets me share internet connection through Wifi?

I really like OS X's ability to share the internet connection through everything within several mouse clicks, but it seems that the Mac is doing something funny that prevents Linux machines from ...
27
votes
6answers
48k views

Determining what process is bound to a port

I know that using the command: lsof -i TCP (or some variant of parameters with lsof) I can determine which process is bound to a particular port. This is useful say if I'm trying to start ...
1
vote
1answer
1k views

Two networks cannot be accessed simultaneously

I have two networks on a server. One being my internal network, and the other being an external IP address. This is on Debian Lenny. Here is my /etc/network/interfaces file: # This file describes ...
5
votes
3answers
6k views

How can I use Synergy when connected through different routers?

I use synergy to control my laptop from my desktop when I have my laptop docked at my workstation. Currently, I need to keep my laptop wired to the same router that my desktop is connected to in ...
4
votes
3answers
456 views

How to determine if two devices are connected in network?

Is there a free linux softwear to determine if two network devices are connected? Or a php class can be also good... I'd like to draw the network topology. I can determine the devices in the network ...
0
votes
1answer
1k views

Please recommend a GUI telnet client

I'm looking for a simple GUI telnet client. I only ever used the CLI one, simply named telnet.
2
votes
2answers
958 views

no network device found after Kernel update

So I managed to install Debian 5 on an eBox 3300MX (an embedded type computer). I added a custom kernel after getting a basic install done. That was to get the network card to work. After that, I ...
4
votes
2answers
5k views

bridged networking with kvm

I'm trying to get a guest virtual machine connected to my network using bridging. I've come across a couple of resources online, but they seem to be out of date, deal with xen or Ubuntu or don't seem ...
4
votes
2answers
698 views

How can I see dumps of wholе HTTP packets?

I need to see whole HTTP packets sent and recieved by an application for debugging purposes. How can this be done in command-line?
4
votes
4answers
945 views

How to get the network status (online/offline) and attribute it to a variable in shell script?

How to get the network status (online/offline) and attribute it to a variable in shell script?
19
votes
7answers
19k views

How to get my own IP address and save it to a variable in a shell script?

How can I get my own IP address and save it to a variable in a shell script?
6
votes
3answers
405 views

SpamAssassin Under Linux VPS

I am getting bald with this guys: On a Linux VPS (CentOS), I have setup a mail server (Exim+Dovecot+Clamav+SpamAssassin) but scanning mail for spam using SpamAssassin is proving to be a challenge. I ...
14
votes
3answers
15k views

How to find what other machines are connected to the local network

How can I see a list of all machines that are available on the LAN I'm am part of.
3
votes
2answers
1k views

How to get vodafone mobile connect (or equivalent) working reliably on debian squeeze

I got a Vodafone K3760 at some point in Debian/Lenny's lifetime, for use with a Lenovo S10e. I installed (from the Vodafone BetaVine site) usb-modeswitch 0.97 and vodafone-mobile-connect (VMC) ...
2
votes
1answer
2k views

Network problems after Ubuntu upgrade

I'm having real problems having upgraded Ubuntu from 10.04 to 10.10. My main problem is I cannot get a network connection either wired or wireless. When I right click the Network manager applet the ...
4
votes
1answer
3k views

How to connect a KVM guest to the internet with wireless

Because my wireless network adapter does not support bridging, it is really difficult to get the guest VM to connect to the open internet and have an IP address in the same network as the host. I am ...
2
votes
2answers
1k views

How do I set up an IPv6 tunnel in Fedora?

I have been experimenting with IPv6. Hurricane Electric through their http://tunnelbroker.net service offer a free IPv6 tunnel. I would like to be able to use this reliably on my Fedora 14 desktop ...
0
votes
1answer
570 views

can ping, can't connect by IP - resetting the network fixes it briefly, then it breaks again

I've got one server (CentOS 5), out of a half dozen, that the network flakes out on. When it's 'dead', I can still ping other servers by IP, but if I try to make any kind of connection also using an ...
15
votes
7answers
11k views

Faster way than ping for checking if computer online?

I'm writing a wake on lan script for a set of our lab computers. We have sqlite db with a list of the computer hostnames, IPs, and MACs and currently I ping each of them with '-c1' so it doesn't run ...
5
votes
3answers
130 views

Network Filesystem + Local Access

I need to set up a network fs, so that I can mount a directory from Box A on to Box B and Box C. However, I need those files to not be transferred from Box A upon every access request; basically, I ...
5
votes
2answers
3k views

Can't ping broadcast

We're running four computers connected to a hub (yes a hub not a switch) on Fedora 13. They were installed using images from a colleague that has recently left us to go back to school, they may have ...
6
votes
1answer
3k views

avoid IPv6 link local address on interface

I have a setup with virtual Xen hosts connected to a set of VLAN-s. On Dom0, I have set up a bridge for each of my VLAN-s to connect DomU-s to. Bridges are set up in /etc/network/interfaces like ...
3
votes
1answer
634 views

RealTek 8101E ethernet card or similar doesn't work on FreeBSD

I'm trying to install FreeBSD on my netbook using an usb sitck but I'm running into a major problem, my ethernet card doesn't work. ifconfig -a only returns me lo0 … but dmesg | grep re0 ...
2
votes
1answer
1k views

eth0 r8169 down on wake up from standby

On waking up after standby the network (eth0) remains down. The eth0 card is r8169. I have tried : ifconfig eth0 up Doesn't work ifconfig eth0 up; dhcpcd eht0 Worked but how do I configure my ...
3
votes
1answer
3k views

Using /etc/hosts or iptables to redirect site to https:// version

I'd like to have my system automatically take me to https://facebook.com even if I put http://facebook.com into my browser. I can get /etc/hosts to redirect to me to different domains, but it seems ...
23
votes
5answers
18k views

On-the-fly monitoring HTTP requests on a network interface?

For debugging purposes I want to monitor the http requests on a network interface. Using a naive tcpdump command line I get too much low-level information and the information I need is not very ...