Managing and using network connectivity on a unix system

learn more… | top users | synonyms (1)

2
votes
0answers
239 views

Check via Shell-script if server currently streams via dlna

Currently I'm running uShare to stream videos from my home-server via DLNA to the TV. On the server there is also running a bash-script which checks if a user is connected via ssh or Samba. If this is ...
1
vote
0answers
2k views

How to configure mod_rewrite with an Alias in Apache 2.4?

How do I use apache mod_rewrite with an Alias ? I have a test directory that contains the files: correct.html index.html test_httpd.conf wrong.html I would like an example rule using an alias that ...
0
votes
0answers
174 views

PBX randomly loses network connectivity and restores itself

I'm using a QBX appliance, which is just a microATX desktop system with FreePBX connecting to asterisk and some other slapped together stuff running on CentOS 5.4. It's horribly out of date (which I ...
3
votes
1answer
668 views

Apache Request Hangs For 2 Minutes Exactly

I am experiencing some odd behavior with apache. I have requests that are hanging for exactly two minutes. The request could be one file one time, and then a completely different file another time. ...
7
votes
1answer
9k views

How do I access my Windows administrative share from Linux?

I have a Windows computer on 192.168.0.103 and I want to access the c$ administrative share from a Linux computer which has 192.168.0.110 to exchange some files. From another Windows computer on the ...
1
vote
0answers
437 views

HTTPS Authentication problem : Polipo

I use internet behind http proxy, and that requires authentication. I tried using polipo to bypass the authenticated proxy to 127.0.0.1:9134. Applying these settings to my browser, works fine for ...
1
vote
1answer
680 views

Centos VM network configuration problems [closed]

Hi I am new to this stuff and confused. I have a CentOS VM and I cannot get it to see the outside world. I have a bridged adapter. I have tried NAT and a host only network. /etc/sysconfig/network: ...
1
vote
1answer
158 views

Any guides for dummies to setting up a VPN?

I am looking for a guide to setting up a VPN on a VPS, most of the guides don't explain certain elements and I've been left feeling clueless halfway through them. For example when I was installing ...
0
votes
1answer
517 views

What is linux peth* and virbr* network interface?

Usually when execute ifconfig I got the "usual" network interfaces: wlan0, eth0 and lo. Those, I suppose to be my PC's wireless adaptor, ethernet adaptor and localhost. I'm using a remote server that ...
2
votes
1answer
322 views

Determine the interface which was used for booting via PXE

I have a linux machine which was booted via PXE. Can I determine the network interface which was used for booting?
4
votes
1answer
1k views

How can I secure my Ubuntu 13.04 to prevent network attacks? [closed]

Is there a way I could protect my pc computer from being hacked in an event where the internet conection will be opened? Thing is I am going to Campus Party Colombia 2013 and I was sugested to format ...
2
votes
2answers
3k views

“wpa supplicant: No network configuration found for current AP” - carl9170-driven wifi adapter glitching on Debian 7

I've got a Debian 7 machine with Linux3.2 kernel and a USB wifi adapter with Atheros chipset (D-Link DWA-16 Xtreme N Dual Band), which in theory should work. Indeed, I managed to establish a wifi ...
2
votes
1answer
96 views

Why is Gnome Shell sending data over my wireless network?

I have been checking which processes under my Fedora Linux 18 are using my upload bandwidth and I occasionally see that Gnome Shell is one of them. Why should it be sending data over my wireless ...
2
votes
1answer
309 views

Mark packets between machines (client and router)?

Can I mark a packet on the client's OUTPUT chain and add an iproute policy on the router to route them via a specific gateway? This what I tried to do, but it isn't working. My client's mangle table ...
3
votes
2answers
2k views

Not able to access my local machine from remote server; what's my local IP address?

This is where I spent much time to know why I'm unable to connect to my local box from my own remote server (VPS); seems to be my local box's IP address issue. To begin with, let me 1st tell how I ...
1
vote
0answers
295 views

OpenVPN not showing easy-rsa

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -Uvh epel-release-6-8.noarch.rpm I did yum install openvpn in the guide then did the following: mkdir -p ...
3
votes
0answers
292 views

Network block after restart

I'm running wheezy and I don't want to install network-manager. I have a problem with network interfaces. When I restart the interfaces I cannot use any connection anymore. I cannot reach internet ...
4
votes
1answer
2k views

How to use two gateways with the same IP address?

I have to configure a NAT and manually split internet traffic between two gateways which are connected to a Linux box. There was no problem if each gateway has a specific IP address. I can do this by ...
3
votes
1answer
168 views

Server pinning one core

I'm working on a server using Vert.x in Java and I'm noticing some performance problems when running on a dedicated server running Ubuntu 12.04. The server picks up the incoming HTTP requests, does ...
5
votes
1answer
4k views

Execute custom script when an interface gets connected

I using a USB wifi dongle to connect to the Internet. When the wireless connection dies, I lose some iproute rules too. How can I reset these rules when the interface connected again?
1
vote
0answers
2k views

Debian 6: Can ping default gateway, but not the IP address of any server on the Internet. Routes appear OK

I can't connect to the Internet from our server. I'm able to ping the default gateway, LAN connectivity works fine but I can't ping any public IP (say, 4.2.2.1, an open DNS server which I know replies ...
3
votes
0answers
975 views

Send print job to printer immediately without queueing, aka increase print performance

I have a ruby/rails web application, one action of which sends PDF files that have been generated by the app to a Xerox 4127 printer on the network. This is accomplished via shelling out and running ...
1
vote
1answer
544 views

Pulseaudio over network - change output on-the-fly

I successfully configured PulseAudio server and client to send audio over network. It uses direct connection: http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Network/#index1h2 ...
1
vote
0answers
84 views

Failed updating posts on wordpress when use linux, but succeed on windows

I'm using Wordpress for blogging. And I use Windows 7 accompanied with Linux Mint on my PC. Recently I find that I can't update my posts on Wordpress when using Linux Mint. However, when I switch to ...
2
votes
1answer
2k views

How to see which URLs are blocked by Privoxy

I want to see a log of which URLs are blocked by Privoxy, but I cannot find this anywhere. Relevant lines in my configuration file (/usr/local/var/log/privoxy/logfile) are as follows: confdir ...
1
vote
1answer
80 views

Get network under Network-Manager's management

Initially, when I had installed Debian 'Wheezy' on my old trusty laptop, it's network was managed by Network-Manager. However, at some point, I think I did something, which lead to the network ...
0
votes
1answer
187 views

Local host always being added to /etc/hosts.deny when trying to SSH

I have a rather odd problem with my server. For some reason the local hostname for my workstation keeps getting added to the /etc/hosts.deny and when I try to SSH I get: ssh_exchange_identification: ...
3
votes
1answer
146 views

detect process that executes portscans

I have to administer an ubuntu 12.04 server, where there seem to go portscans to the whole subnet. How can I find out the process that does the scans? pstree init─┬─acpid ...
2
votes
1answer
829 views

Process calling getaddrinfo() at boot gets permanently stuck with bad /etc/resolv.conf?

I'm running pianod, a Pandora client/server, on a Raspberry Pi with Arch Linux ARM. I have pianod set up to run as a service at boot. It starts up before the network stack, so getaddrinfo() fails. ...
12
votes
3answers
3k views

Automatically set Linux timezone according to location

How can we automatically set the system default timezone in Linux using the Internet? As I see it, NTP servers can update only time, but not timezone. Is there any server that can change the timezone? ...
0
votes
1answer
255 views

NIC missing in 70-persistent-net.rules

I am using Ubuntu and typing ifconfig -a shows all interfaces but one(eth4), while the file 70-persistent-net.rules contains all(including eth4) but one (eth8). Any idea why is that and what are ...
2
votes
1answer
184 views

2 snmp packages; ports 161/162 already in use, can I configure additional ports?

I have 2 snmp packages to install on a standalone server. 1 package is already using ports 161/162. Where can I configure a Cacti Listener and which ports can I use? Also which snmpd.conf file ...
4
votes
2answers
12k views

No MAC corresponding to IP in `arp` table: how to troubleshoot?

I've got a Debian 7 linux machine and a TP-link MR3020 router attached to it via ethernet cable at eth0 interface, working in WISP mode meant to make it a client rather than an access point: I also ...
2
votes
1answer
494 views

How to create a new user with restricted network access [duplicate]

I want to create a new user (or group), so that any application running with this user can't connect to the network. @Michael Kjörling I have followed your suggestion(with Ubuntu 12.04 64bit) and got ...
1
vote
1answer
290 views

OpenVZ bridged networked adapters won't work from sample configs

I've made a copy of the basic config and added the line: NETIF="ifname=eth0,bridge=br0" When I create a new machine and enter it I can't make the network adapter work yet creating an instance from ...
1
vote
1answer
332 views

Why does my 3G key blocks my eth0 interface and how to solve this?

I have a linux PC (Debian Squeeze) which is located into a room in another town (I cannot physically access to this PC from where I am) This PC is linked to internet using an internet box. I can ...
3
votes
2answers
4k views

ethtool get permanent MAC address returns all 0's

I need to read permanent (burned-in) MAC address of network adapter. Since MAC address can be easily spoofed, I need to read the real one which is written on EEPROM. I need to do it using C++ on ...
2
votes
3answers
8k views

Can ping any hosts but localhost. What's wrong?

I got a freshly installed red hat box on a server. I can ping another machine on the network usnig both ip and server name but I can't ping localhost or 127.0.0.1 or 192.168.4.42 (local ip) ...
2
votes
0answers
1k views

Adding multiple gateways for separate physical interfaces with various metrics/priorities

My system has 3 interfaces. These are eth0, eth1 and usb0. eth0 is linked to my router and is the line I want to be used by default. eth1 is un used. usb0 is a 3G phone that's tethered. My issue is ...
4
votes
2answers
522 views

LD_PRELOAD or similar to prevent network access

I'd like to start a program disconnected from the network (because immediately upon starting it tries to download huge amounts of data, which can be prevented by changing settings as soon as it ...
1
vote
2answers
114 views

Can an arbitrary process read data coming to/from a network port? How?

For example, postgres does the following as shown with lsof -i: COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME postgres 29200 postgres 8u IPv6 470362 0t0 UDP ...
0
votes
2answers
1k views

Unix: How to Test Ip Address is resolved to name

Unix: How to Test ip Address is resolved to name. I need to check whether ip address can be resolved to name using DNS entry via shell script. Code: DNS_Lookup() { LOOKUP=$(nslookup $1) ...
1
vote
1answer
129 views

Unstable network on integrated Debian environment

Good afternoon, I recently installed Debian Wheezy (7.0) on a freescale board (SABRE MCIMX6Q / iMX6Q) and discovered some disturbing lags for all network communications. What I have tried so far was ...
2
votes
5answers
3k views

full access to remote computer without remote static IP

How can I access to remote computer that the remote computer is in a local network? I worked with reverse ssh : http://www.vdomck.org/2005/11/reversing-ssh-connection.html I don't want just SSH but I ...
2
votes
1answer
370 views

How do I test the performance of my Wifi access point?

I have a home wifi access point consisting of a small Intel board with Atom CPU, 4 GB of memory and a PCI wifi card. Everything works fine, only that I experience major lags during playing of computer ...
1
vote
2answers
428 views

VNC connection taking a long time to connect (essentially…never)

I have my Ubuntu 13.10 desktop with vnc setup and installed. I'm using both a Macbook's integrated vnc remote desktop program and Windows 7's built-in Remote Desktop program to vnc. Both give the same ...
0
votes
1answer
437 views

How to get switch MAC address if it's a layer2 one?

arp -a doesn't show it. How can I get the MAC of it then? (on ex.: from a Linux)
5
votes
1answer
1k views

Can VirtualBox return IP address for launched VM?

I would like to start my VM from the command line and without the GUI using the following command: VBoxManage startvm <MY_VM> --type headless and the SSH into it from the next prompt. The ...
1
vote
0answers
59 views

Courier-MTA not listening, how to increase debugging information?

i Follow tutorial from https://wiki.archlinux.org/index.php/Courier_MTA based on systemctl status command, the server is working fine # systemctl status courier courier.service - Courier Daemon ...
2
votes
0answers
25 views

Route a particular process over another gateway [duplicate]

I have 2 internet connections on differnet interfaces. I have eth0 which is internal ip of 192.168.1.70 and then I have another network connection to a different network which is on wlan0 ...