Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

1
vote
1answer
494 views

Unexplained Log Cruft and Possible Dropped Packets on WPA2-Personal LAN

I've been receiving a LOT of log cruft ever since I installed my Linksys Rangeplus USB WUSB100v2 (using the rt2870sta community driver from the Linux kernel) and was wondering what it all meant. Many ...
9
votes
2answers
1k views

How do I hide/anonymise/defend a computer when on hostile networks?

I connect to a lot of open networks when I'm pootling around. I'm fairly careful to VPN home for anything important but that's not really my boggle. The laptop runs several services (nfs, dev http ...
6
votes
3answers
396 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 ...
2
votes
1answer
1k views

Bonding wireless and 3g on Fedora 15

I have access to the internet through either wireless or a 3G CDMA card. Is it possible to bond both connections and join the bandiwdth and have a failover?
5
votes
3answers
5k 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
1answer
1k views

How can I configure fair bandwidth sharing between cgroups?

It's fairly easy to use tc with Stochastic Fairness Queueing (SFQ) to configure fair bandwidth sharing between flows, but an application can open multiple flows and get an unfair share of bandwidth. ...
2
votes
2answers
1k views

Reducing packet loss in tc rate limiting

I use this tc command to limit upload speed on an interface: tc qdisc add dev eth1 root tbf rate 2mbit burst 10kb latency 70ms peakrate 2.4mbit minburst 1540 But it results in heavy packet loss. ...
4
votes
1answer
1k views

Two IP addresses assigned to the same machine?

I seem to be using two IP addresses on my PC. I use DHCP to get an IP address and then I statically set an IP address and activate it. ifconfig says that I am using the address given by DHCP but I am ...
3
votes
1answer
269 views

Set up network to share a printer connected to one particular machine on the network

How do I set up my Ubuntu machine to allow other computers to print to it? The set up is: All computers are connected to the network 1 dual Ubuntu/Windows 7 netbook 1 multibooting ...
-2
votes
1answer
259 views

How Can I “CAM attack” a switch/router?

Does someone has any script that can "CAM attack" a switch/router, so that it will act as a HUB? Are there any tools for it in the repositories?
2
votes
5answers
768 views

Remotely access Linux box with no IP address

I have two *nix boxes that are connected via ethernet. However I only have physical access to one of them. In working on the "remote" computer I messed up the ifcfg-eth0 file and instead of typing ...
3
votes
2answers
2k views

Setup WLAN interface on Debian

I am trying to configure wlan on my dockstar. I installed wireless-tools, zd1211-firmware and wpasupplicant. My /etc/network/interfaces file looks like this: auto lo eth0 iface lo inet loopback ...
1
vote
1answer
879 views

How to access shared locations on a windows machine from a linux machine via terminal?

I’ve setup a Virtual CentOS machine and set up a bridged network and static IP so that it can communicate with other Windows machines in the network. Currently, to access any shared directory, I ...
3
votes
3answers
445 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 ...
2
votes
1answer
927 views

Tool to monitor in and out data network traffic w graphs and detailed stats

Is there a tool, that can gather stats on network usage? Requirements: Generate HTML (or other format, convertible to HTML) Time line graphs for bandwidth usage, also which hosts use the most ...
0
votes
2answers
917 views

Understanding tcpdump output on a linux router

My router has an atm0 interface and a VLAN (atm0.1) interface, atm0.1 has the WAN IP address. When using tcpdump -i atm0, the packets captured are only outgoing packet (LAN to WAN). 05:34:19.504895 ...
3
votes
1answer
625 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
2k views

Unable to make outbound SNMP connections when IPTables is enabled

I have a bunch of windows servers configured with the windows SNMP agent. Each server has four IP addresses and SNMP listens on all of them. There is something very odd with my monitoring server ...
2
votes
1answer
417 views

Whole program name not visible in nethogs

I'm using the command sudo nethogs to watch network traffic. I have a problem in that the name of the program is too long (it doesn't fit in the PROGRAM column). I haven't found any nethogs ...
3
votes
3answers
2k 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 ...
2
votes
1answer
405 views

Can't access HTTP contents, but HTTPS and SSH are fine

I'm having a weired issue wih my Fedora 14 recently. Many details involed. Let's start from this: I've been using Fedora 14 for months, and recent few days, offten I can't access Internet for hours. ...
6
votes
2answers
844 views

Configuring a vncserver so it's only accessible from my ssh tunnel

Since I use vnc through an ssh tunnel, is there any way I can block the open vnc port that the remote machine is listening on without it affecting my ability to use the ssh tunnel? Both machines are ...
2
votes
1answer
605 views

How to execute udhcpc as non-root

On a Linux machine, I am trying to run the udhcpc command as non-root. I am getting the error udhcpc: socket: Operation not permitted. Is there any way to execute udhcpc as a simple user in Linux?
2
votes
1answer
228 views

Neworking getting Disabled

I am using Fedora 13 and its working great. The only problem which I am facing is that the networking gets automatically disabled if I put my system on the "SUSPEND" mode for > 30mins. I am unable to ...
1
vote
3answers
712 views

How to set Internet Protocol properties using terminal?

When I set up a Virtual Machine with windows (using VMPlayer), I set the Network Connection properties from the VM settings from NAT to bridged. Then I proceed to set the following IP Properties in ...
3
votes
2answers
16k views

/etc/hosts for Debian

I was trying to get a perl script that contacts a PostgreSQL database to work on a server. This script was mysteriously failing. I then realised that localhost was not in the /etc/hosts file. The ...
1
vote
2answers
642 views

Socksify like program for Fedora?

I need a program that allows me to pass an application through a socks server, even if the program does not have native socks support. Under Ubuntu I can use socksify for this. What can I use under ...
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 ...
2
votes
1answer
500 views

ntop versus mrtg

I'm evaluating tools for measuring network activity and although mrtg seems to be the most highly regarded, I'm really impressed by ntop. Are there any reasons that mrtg is preferred to ntop?
3
votes
2answers
590 views

How to block outgoing connections from process/user on FreeBSD?

My server executes third party software which processes user submitted files. I want to block outgoing connections from my process. How can I do it in FreeBSD?
6
votes
1answer
302 views

`hostname` - host name or FQDN?

What is the right thing to set a computer's hostname to? (/bin/hostname, /etc/hostname, sethostname(2), etc.) I usually just use the "name" part, and it works perfectly (for me at least), but I've ...
3
votes
3answers
2k views

Accessing a linux machine with a name (not ip address)

When I access a linux machine with sshfs, I take the following steps. Get the ip address of the linux (the ip address is dynamically allocated to linux) Run sshfs id@ip_address:/HOME_DIRECTORY Can ...
2
votes
1answer
90 views

Network configuration from within a program

Are there any program accessible equivalents to network configuration tools such as 'ifconfig', 'iwconfig' e.t.c.? I am looking for an elegant method of accessing the functionality and information ...
2
votes
1answer
282 views

How to set up the server to use IPv6 network

I have a server which is able to connect the network through IPv6 tunneling. I want to use it as a proxy server. I have to things to understand: How to set up the DNS? Is there any open DNS that ...
4
votes
1answer
2k views

Inability to use IPv4-mapped IPv6 on debian squeeze

I have a squeeze box that I'm testing ipv6 on... eth3 is the interface... if I set up an 'normal' ipv6 address (::101:c0a8:3132/120), I see expected results in ifconfig... eth3 Link ...
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. ...
4
votes
2answers
492 views

How to synchronize a networked drive and an external drive (Ubuntu & OS X)?

In light of a recent hardware failure, I've decided that it's time to be a little less lax regarding back-ups. What I have: An Ubuntu 10.10 'server/NAS' A MacBook 5,2 A WD external HDD The server ...
4
votes
3answers
892 views

When networkmanager is used, OpenSuSe gets stuck during boot for 10 minutes

I have this problem on all machines that I every installed (different configurations, different geographical locations, even different OpenSuSe versions) and it's extremely irritating. When I turn on ...
5
votes
3answers
435 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
1k views

how to troubleshoot intermittent no route to host error

I have a program that most of the time works, but every now and then it fails with a no route to host error. The machine is running AIX 5 and has five network interfaces en1, en3, en5, en7 and en10. ...
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
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 ...
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 ...
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 ...
2
votes
3answers
456 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 ...
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 ...
9
votes
1answer
4k 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
1answer
376 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, ...
2
votes
0answers
437 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
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 ...