Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

0
votes
1answer
524 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 ...
13
votes
7answers
9k 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 ...
4
votes
3answers
123 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 ...
4
votes
2answers
2k 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 ...
4
votes
1answer
2k 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
589 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 ...
16
votes
4answers
12k 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 ...
6
votes
1answer
2k views

How to access network without NetworkManager?

If I don't have NetworkManager installed on Debian, I edit "/etc/network/interfaces" and then run ifup eth0. I see that things are different in Fedora 14 (the directory and the command aren't ...
2
votes
1answer
1k views

How do you derive the passphrase from hexadecimal wep key?

I have a hexadecimal WEP key in the setting of my router. When I try to connect, the system asks me for the WEP passphrase. How can I derive it from my hexadecimal? This is what I have: ...
4
votes
1answer
2k views

Share Internet connection from a Debian laptop to a FreeBSD desktop

I have this situation: My Debian laptop is connected to the Internet via its wlan interface through my wireless router. Recently I decided to install FreeBSD on a very old machine (a celeron 300Mhz) ...
1
vote
4answers
448 views

suse cannot install software

I just installed suse 11.3, but cannot update the system. Update Applet says: PackageKit Error repo-not-available: Failed to download /media.1/media from ...
2
votes
1answer
394 views

Redhat Enterprise Linux 4.7 - Ping problem

When I try to ping some of the IP addresses I get "connect: No buffer space is available" error. Also when I check /var/log/messages, there are some errors like as following printk: 99 messages ...
5
votes
3answers
428 views

Suspending my laptop breaks ethernet over firewire, are there commands which can fix it?

As mentioned in this question I am using a firewire cable to provide a private network between my laptop and my desktop, because it makes using the screen sharing program synergy much nicer than using ...
1
vote
1answer
256 views

Release a port owned by third party application?

I have been consulted about any way to release a port owned by a third party application that is listening to it. Say the application uses sockets and is listening for an specific port the root now ...
4
votes
3answers
302 views

Ubuntu: On a network with many clients there are two machines that can't access the web via a browser at the same time

Ok I'm pulling my hair out over this one. We have a wireless network with many clients all working well except two Ubuntu clients running 10.10 that can't access the internet via a browser at the same ...
5
votes
2answers
2k views

Network connection drops after a few seconds

I am on Debian. I configured my NIC with a static IP (192.168.1.56). When I try to connect to a network, initially with ifconfig eth2 I get (correctly): eth2 inet addr:192.168.1.56 .... inet6 ...
2
votes
2answers
4k views

How to stop avahi-daemon

I'm trying to disable avahi-daemon. I tried to modify the file /etc/default/avahi-daemon, setting the AVAHI_DAEMON_DETECT_LOCAL=0 instead of 1, but when I connect to a network it starts anyway; is ...
3
votes
1answer
855 views

Under Ubuntu, how do I set a static IP for firewire?

I am using Ubuntu 10.10 on my laptop, which connects to our network wirelessly. Since it sits on my desk next to my desktop, I have a private network between the two using a firewire cable, because ...
5
votes
2answers
2k views

How do I tell a script to wait for a process to start accepting requests on a port?

I need a command that will wait for a process to start accepting requests on a specific port. Is there something in linux that does that? while (checkAlive -host localhost -port 13000 == false) ...
11
votes
4answers
3k views

How to give HTTP traffic higher priority?

When I surf the web, I find that I have to pause my BitTorrent client, to help improve the painfully slow speed (I'm sadly on a 384kbps line). It's not too nice to have to do this manually every time. ...
3
votes
4answers
385 views

Bootable image with LAN drivers

I'm looking for an image which will boot quickly (I assume it'll be linux) and have LAN drivers- for sending TCP / UDP packets to another system in the same network. Ideally, if possible, I would like ...
4
votes
2answers
855 views

802.3ad on FreeBSD and Linux using crossover cables?

I have setup a NFS server on FreeBSD 8.1, which will be serving one Linux client. Each box has a dual-port 1gig fiber card, and each box is directly connected to the other over this link. There is ...
6
votes
2answers
4k views

How do I add an entry in /etc/fstab for a windows share?

I want to be able to mount our file server's file share (on a Mac OS X server, shared via AFP and Windows File Sharing) on my Ubuntu 10.10 linux laptop. I want to be able to mount it as my normal ...
3
votes
3answers
1k views

On Gentoo, what is loading up my network interfaces?

I have 2 networking interfaces eth0 (wired) and wlan0 (wireless). Every time the computer boots it tries to bring up both. Most often when there is a LAN cable I don't need wlan0, and vice versa, so ...
8
votes
1answer
434 views

Bandwidth control in linux

How do I control both the inbound and outbound bandwidth in a RHEL 5 router?
1
vote
1answer
338 views

How to do a recursive download with gwget (wget frontend)?

I usually run wget with the -np -r options, but it doesn't include a preview of the queue size, so I'm checking out the wget frontend gwget (on debian). I can't get the recursive option to work; does ...
3
votes
3answers
640 views

How to calculate the volume of data transferred between two Unix machines

I have two Linux machines that keep pinging each other. With each ping request they attach a data packet in the response. The frequency of the pings can not be determined. How do I determine how many ...
2
votes
1answer
2k views

Setting up a wireless to ethernet bridge

I am trying to set up a temporary network using the following hardware [Wireless Router]))) )) ) [laptop] ----- [Desktop] ^wifi (debian) ^ethernet ^(3com Audrey) Looking ...
3
votes
2answers
5k views

How to use iphone internet tethering via USB with Ubuntu 10.04

What are the steps to use iPhone 3G internet tethering via USB on Ubuntu 10.04? Is there software I need to install on Ubuntu for this? The tethering works fine on Windows.
6
votes
3answers
3k views

Can't access select https sites on Linux over PPPoE

My internet connection used to be a direct LAN connection to my provider. Back then, everything would load fine on both Windows and Ubuntu (dual boot). However, a while ago they started needing me to ...
8
votes
1answer
1k views

Dual network connection

I have a usb cellular modem and a Home LAN connection on my Ubuntu 10.10 box. Both work independently. I want to know how to have both connected at the same time, and be able to specify which ...
4
votes
1answer
858 views

Tunnel through a NAT

I have a router that provides internet connection to a single client device via a wireless cellular data network. This network provides non-public IP addresses which gets natted. I would like to get a ...
2
votes
2answers
6k views

Configure Atheros AR9285 wireless in Gentoo

My laptop has an Atheros AR9285 wireless card. By following the "Network Configuration" section in the Gentoo handbook I chose the ath9k module. The modules seem to be loaded correctly: # lsmod | ...
1
vote
1answer
421 views

Stuck on “Determining IP information for wlan0” at boot

In my struggles to install ClearOS correctly, I now have another problem: After the first boot I keep getting stuck on "Determining IP information for wlan0...". It doesn't move forward at all. I've ...
4
votes
5answers
399 views

Network monitoring tool

I'm basically looking for a utility that displays which processes are using how much bandwidth, similar to how top displays which processes use how much resources.
4
votes
2answers
2k views

What file to I have to edit to make static dns server in CentOS

Almost every distro I know will wipe /etc/resolv.conf on reboot (I think dhcp does this) and thus the place to add static dhcp entries varies per distro. How to I add static dns servers to a CentOS ...
3
votes
2answers
2k views

Run daemon on startup in Fedora 13 after wireless interface is up

I want to have radvd (the IPv6 router advertisement daemon) run on startup on Fedora 13. However, the network interface that it will use must be up, otherwise the daemon won't start. If I run the ...
2
votes
2answers
1k views

DSL connection not working in Ubuntu 10.04

I use a wired PPPoE connection to connect to the Internet. What I need to do on Windows to connect to it is put in static IP address, gateway, subnet mask and DNS servers for my LAN card. Next I have ...
3
votes
1answer
296 views

Trying to set up a server/workstation SLED environment

I'm considering a number of desktop distros for use in our office. It seems like SLED matches what I want more than any other distro, especially home user focused distros. In an attempt to learn more ...
3
votes
2answers
941 views

Difference between wget versions

I have problem with wget behavior for 1.10 and later versions. I am using wget to download a report from my app. version 1.10.2: >wget-1.10.2.exe --http-user=trader --http-passwd=trader ...
1
vote
1answer
265 views

VPN issues on web browsing

I'm using Ubuntu Maverick and this is the setup: Our router connects us to the company's VPN through which we can access some internal websites. I have to connect also to a customer's VPN in order to ...
1
vote
1answer
489 views

How would I go about getting UPnP working on a Slackware server/firewall?

I'm a long time fan of Slackware and I've always had a machine serving as my main server/firewall with the latest version installed. I have it now but I'm struggling to find information on how to ...
-2
votes
2answers
7k views

How to run “sudo apt-get update” through proxy in commandline?

In my office I want to update and download through wget and here they are using a proxy. How can I get wget to use the proxy from the command-line?
2
votes
3answers
1k views

Static DNS setup on client of shared internet connection

I've 2 linux computers, one redhat (client), and one ubuntu (set up with shared internet connection as described here) At the moment, on the wired connection between the computers, I can ping the ...
4
votes
3answers
18k views

How do I mount a WD MyBook World network drive in linux?

I have a WD MyBook World NAS on my home network. I currently use this for Time Machine backups for my Mac but I'd also like to use it as a backup location for my linux box which is running Ubuntu ...
3
votes
2answers
487 views

PPC Debian: eth0: switching to forced 10bt / 100bt

I recently installed debian on an old G4 iMac, and everything is working fine except that the console is constantly spammed with alternating eth0: switching to forced 10bt eth0: switching to forced ...
7
votes
1answer
1k views

Shaping outgoing traffic with iptables

On my laptop, when I run any downloads, torrents, etc, browsing is crippled. I read somewhere that you could configure your iptables powered router to prioritize certain network traffic. Could I do ...
3
votes
3answers
2k views

Using bridge utils to connect two computers via Linux

I have been using bridge utils previously to connect my network connected computers to a single interface on my Linux computer. The problem I'm having is when I installed a new Linux (with Slackware) ...