Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

2
votes
2answers
556 views

How do I route a spare network interface through an SSH tunnel?

I just bought a Raspberry Pi and I am wanting to route an ad hoc wireless network interface fully through an SSH tunnel that was created using another wireless interface. I want to do this so that I ...
1
vote
1answer
891 views

How to provide a “guest LAN” on one ethernet device

I have an always-on machine running Debian/Squeeze with a couple of ethernet ports (it's doing various serverish jobs, including DHCP) and a LAN on each. eth0 is on 192.168.7.* and has access to the ...
5
votes
3answers
8k views

Why can't I use the REJECT policy on my iptables OUTPUT chain?

I currently have my OUTPUT chain set to DROP. I'd like to change it to REJECT, so that I have a clue that it's my firewall stopping me from getting somewhere rather than a problem with whatever ...
4
votes
1answer
1k views

Run a command after acquiring IP address

I would like to run the command Urlsnarf -n -i p33p1 >> file when the p33p1 network interface gets its IP address. Initially I tried to run the command at bootup by adding the a crontab entry ...
5
votes
1answer
857 views

How can I control an existing remote shell?

On my remote machine, an xterm/shell has been created (by another process). I have full access to that shell through VNC. But really I would like to be using a text mode shell on my local machine. ...
3
votes
1answer
890 views

How can I stop my Linux machine from broadcasting its name on the network?

I have a Linksys router and I've noticed that when I look for connected PC's on the router, the name of my computer and MAC address of the wireless device appears. However, I've noticed that for some ...
1
vote
2answers
460 views

Program to manipulate Samba shares (net.exe equivalent)

Is there an equivalent to the NET.exe suite for linux systems with which I can do net view queries for example?
3
votes
1answer
272 views

Fedora16, ekiga just works in superuser mode

I've got a fedora16 running and I'd like to use ekiga as a softphone. Now I'm running into some problems. Starting ekiga as a normal user gives me could not register (globally not acceptable) ...
4
votes
1answer
7k views

How to configure pfsense to NAT servers?

How can I configure pfsense so it will NAT servers so they can be accessed outside of the company? I tried to play around with the NAT settings, but didn't get anywhere. I want to be able to access ...
2
votes
1answer
594 views

Auto connect to the wired net?

I've installed Arch linux, and planned to used it remote and putty my way in. But it does not seem to start up the interface at boot. I also want a static ip. Is there a config file like ...
4
votes
1answer
666 views

Simplest way to set up multiple subdomains to separate VMs running on single host

Problem: I´m planning to set up several virtualized centos, rhel or ubuntu guest machines on a single centos host server (most likely using KVM). Each guest VM is running an instance of a webapp + ...
5
votes
1answer
1k views

What is SSTP vpn server and how can I run one?

I've read a couple of L2TP and PPTP tutorials on the net and there are just dozens of "running PPTP/L2TP on Linux" guides available out there and I successfully made packages like open-swan or pptpd ...
1
vote
0answers
492 views

Debian sheevaplug internet not working

I have a sheevaplug with debian 5.0..internet was always working fine until today. I have a bunch of pcs connected via wireless to my router and internet works fine. From today though my debian won't ...
7
votes
3answers
19k views

'iwlist' -> interface doesn't support scanning (Ubuntu LTS 10.04)

I am using Ubuntu 10.04 (LTS) on a Samsung N150+ netbook. I cannot scan wifi networks using iwlist and I would like to do so. Here is the output from some tests: ...
1
vote
0answers
78 views

Creating and updating the packages for many Debian systems

I'm using a Lenny (Debian 5) for remotely controlled PC's (around 100 PC's) which will be pinging to my apache server. I'm developing a patch twice in a week to keep updated with the latest versions ...
4
votes
2answers
2k views

NAT and source IP filtering in PF, using OpenBSD >= 4.7

I just read a book about PF (The Book Of PF, No Starch), but there's one question not answered by it. If I have a gateway machine using two interfaces, $int_if and $ext_if, and I NAT the packages ...
1
vote
1answer
815 views

list Windows shared folders (samba) available in the local network? [duplicate]

Possible Duplicate: How to get list of computers similar to what is shown under “Network” in Windows I suspect the services shared by Windows (including shared folders) can ...
2
votes
0answers
662 views

VirtualBox with aMule - How to configure network, port forwarding… properly?

for security reasons I am running aMule inside VirtualBox. Guest and Host systems are Linux (to be more specific Arch 64 distro) Host system has public ip directly connected to internet (no router) ...
1
vote
1answer
498 views

Selecting a managed switch with Linux, for use in mesh network project (batman-adv)

I am interested in trying out batman-adv to manage a mesh network comprised of point-to-point radios (mesh links) and cellular modems (gateways). Each node would have one p2p radio, and some nodes ...
0
votes
2answers
264 views

What creates /etc/hosts (RHEL 5.5)

How does /etc/hosts get created on RHEL 5.5? It's not owned by any RPM and if deleted, it doesn't reappear on reboot, so apparently it's not a service created it. Does anaconda create it by default ...
0
votes
1answer
252 views

wlan is first brought to life when ethernet is plugged in

Endless timeouts... Request timed out. Request timed out. Request timed out. Request timed out. Request timed out. Reply from 192.168.1.11: bytes=32 time=105ms TTL=64 ...
1
vote
2answers
3k views

Setting up ad-hoc in Debian with DHCP?

I made a quick search and found a doc that showed me a way to setup ad-hoc. Only problem is that I need this to work with my phone (WP7) and I'm not able to set a static IP on the phone so I need the ...
2
votes
0answers
1k views

SOCKS proxy configuration on KDE 4.4.5 / Debian 6.0.5

I've been trying to use a SOCKS Proxy which I have been using with success from an Ubuntu 11.4 box with GNOME on my Debian box with KDE.The socks server is bound to the local port 1080 through the ...
1
vote
1answer
283 views

Monitoring interface changes with udev, especially if a route is set

Is there a way to monitor interface up/downs, especially to check if a route is setup or removed, with udev?
1
vote
2answers
3k views

Communicate between Ubuntu VM and Windows host

I'm running an Ubuntu VM on a Windows 7 host. I have two questions: I think that on Windows, localhost is a loopback address, and sending packets to it doesn't actually transmit any data on the ...
2
votes
1answer
1k views

tcpdump and https

Why following command doesnt grab the packets to faceebook site sudo tcpdump host facebook.com and dst port 443 but next grabs sudo tcpdump host java.com
3
votes
1answer
2k views

Start network service at boot time on CentOS

I've recently reinstalled CentOS onto a computer of mine. I have OpenSSH Server on it now, as did I before I reinstalled the operating system. Here's the difference: Before, SSH started without even ...
1
vote
0answers
381 views

What problem have I caused to eth1 by resetting my ubuntu machine?

I am using ubuntu 10.04 (Bio-linux 6.0). Last night I tried leaving my system in hibernate mode because there appears to be a bug in this version of ubuntu such that if I do a straight shut-down, the ...
3
votes
1answer
3k views

Heartbeat 3 binding socket error

I've been tying to install Heartbeat3.0.5+Pacemaker1.0.12 on CentOS 6.3 64bit via yum. The installation seems to be successful, but there is a problem when starting Heartbeat. I put some info related ...
4
votes
1answer
3k views

Is berkeley packet filter ported to linux?

I am doing some research to figure out what distro's of linux contain kernel packet filtering and are compatible with BPF. http://kernelnewbies.org/Linux_3.0 http://lwn.net/Articles/437981/ These ...
5
votes
1answer
528 views

How to make sure OpenVPN is connected?

I need some sort of "safeguard" for my VPN connection. If the connection drops, the machine shouldn't even reach the internet. (I can reach the machine by other means.) Is it possible somehow? If I ...
5
votes
3answers
2k views

How can I know the process name which is opening a tcp port?

I have two linux servers. Let's say they are C and S. C is client of S On my S machine, I type. $ netstat -an | grep ESTABLISHED tcp 0 0 192.168.1.220:3306 C:57010 ...
15
votes
11answers
73k views

Cannot enable network after CentOS 6.3 fresh install

I am trying to perform a fresh CentOS 6.3 installation then run various yum commands such as yum install httpd. The installation runs fine, however I cannot run any network based commands like yum I ...
3
votes
1answer
9k views

Add another IP address to a Bonding Interface

I have a Linux network Bonding interface for two Ethernet interfaces (eth0 and eth1) $ cat /etc/sysconfig/network-scripts/ifcfg-bond0 DEVICE=bond0 BOOTPROTO=static ONBOOT=yes ...
2
votes
2answers
1k views

SIOCSIFADDR: File exists after upgrading kernel

Since upgrading my (Gentoo) kernel from 2.6.38 to 3.3.8 (via oldconfig), I can't get the network on eth0 up anymore. It reports "SIOCSIFADDR: File exists" with a number of other SIOCSIF* errors that ...
12
votes
3answers
7k views

How do I get to use .local hostnames with Arch Linux?

If I'm using Ubuntu or Linux Mint (the only two flavours I've tried and know work for sure), I can run something like this: wayne@myhost$ ssh wayne@otherhost.local And the name is automagically ...
8
votes
1answer
4k views

Why is ping so slow?

My setup: Server in the cellar + GBit switch. Long cable to the roof. GBit switch. I have three computers in the roof. One has only 100MBit ethernet, one laptop with GBit and a new computer. Ping ...
2
votes
1answer
2k views

connecting (bridging) two networks

I would like to connect (bridge) two networks (ppp0 and eth2). Normally you would do this with brctl but one of the network-interface is a ppp-device so it won't work (ppp can't transport ppp-frames). ...
3
votes
1answer
5k views

How to handle network interfaces on Crunchbang Linux desktop?

I have installed Crunchbang 10 (Statler) which is based on Debian 6 (Squeeze). By default there is network-manager-gnome 0.8.1 (/usr/bin/nm-applet I believe) running with an icon near the clock/tray ...
7
votes
3answers
28k views

How to check from a command line that network is reachable?

I want to send a growl to myself after SuSE server finishes the boot process. I got this message socket_sendto(): unable to write to socket [101]: Network is unreachable in. How can I check from ...
3
votes
1answer
1k views

Why isn't my application receiving broadcast packets?

I have written a Qt application that listens for UDP broadcast packets on the network interface p2p1. I have installed the application in Fedora 17 i386 in a VirtualBox VM. For some reason, the ...
2
votes
2answers
3k views

How to install a TP-LINK network adapter?

How can I install a TP-LINK network adapter? I have 8 files for Linux driver they are: compat.h, crc32.h, ethtool.h, Makefile, mii.c, mii.h, sundance_main.c and readme.txt. I am new to Linux and am ...
5
votes
3answers
20k views

How can I restart a network interface?

How can I restart a network interface? I have a vm that doesn't update its IP address correctly when switching between home and work. The vm runs Ubuntu server and uses a bridged network adapter.
5
votes
3answers
922 views

periodically can't access google

On a daily basis, at around the same time each day (early morning and early afternoon), my computer stops being able to access google or any sites that use google code (including sites that use google ...
1
vote
1answer
496 views

How to configure ADSL connection using bash?

I know it's possible to configure the modem to automatically connect the internet using a browser, but I want to do it using bash. I would like the network to automatically connect when the system ...
2
votes
2answers
160 views

need explainations on this network route

I'd like to get some insight as to how I can possibly access network devices that are on a different IP range (obviously not mine) compared to what is configured on my wifi router? setup home wifi ...
2
votes
1answer
1k views

Networking is not starting up?

I have a Raspberry Pi and while its plugged into the network via ethernet, my setup works and I can connect to the static IP. Today I bought a wlan adapter and after install it works great too... but ...
6
votes
1answer
2k views

How can I use netconsole to help solve a kernel panic?

When I try to use a raid as root, my system panics. I want to read the kernel output right before the panic, but can't scroll up. After Googling a bit, I wanted to try netconsole. but I get no output ...
2
votes
1answer
293 views

Where can I find the wireless driver for BCM4311 for OpenIndiana 148?

I know that OpenIndiana 148 doesn't have the network driver (BCM4311) for the laptop. I wonder if anyone out there can help, or point the way to me where I can get the driver?
3
votes
1answer
4k views

Why would my Linux host suddently stop receiving multicast? All other nics on private network are receiving

Here is my dilemma. Suddenly, as of yesterday, multicast packets are no longer being received from eth1 (private gigabit network) from one node. Routing between all the nodes is fine, no collisions, ...