Ubuntu Networking :: Run Script Only On Specific Network

Oct 25, 2010

my laptop connects to two specified networks (home, office). When i'm in my office, i don't need to run OpenVPN and automount disc (entered in fstab) from my homeserver. But when i'm at home, i need OpenVPN running and mount some network drives. How can i define, what to run on which network? Can you recommend me something?

View 1 Replies


ADVERTISEMENT

Ubuntu Networking :: Forcing An Application To Use Specific Network Interface

Apr 19, 2010

How can I force a Wine application (or Wine itself) to use a specific network interface? I have installed hamachi and am trying to play starcraft over virtual LAN. However, when I run Starcraft with hamachi running, it does not work. I have now determined that hamachi creates a network interface called "ham0". How do I force Wine/Starcraft to use the "ham0" network connection? I have looked into forcebindip but it crashes on wine.

View 1 Replies View Related

Ubuntu Networking :: Forcing An Application To Use Specific Network Interface?

Apr 8, 2011

How can I force a Wine application (or Wine itself) to use a specific network interface? I have installed hamachi and am trying to play starcraft over virtual LAN. However, when I run Starcraft with hamachi running, it does not work. I have now determined that hamachi creates a network interface called "ham0". How do I force Wine/Starcraft to use the "ham0" network connection?I have looked into forcebindip but it crashes on wine .

View 5 Replies View Related

OpenSUSE Hardware :: Installing Network Printer (SCX4500W) There Is No Driver For Specific Network Printer?

Feb 1, 2010

I'm trying to add my Samsung SCX4500W printer to my opensuse 11.2 machine running KDE.From Yast->Printer->Add printerI am able to set the printer up, however there is no driver for my specific network printer. Samsung does provide a linux driver but I have no idea what I'm doing when installing peripherals on linux basically

View 3 Replies View Related

Ubuntu :: Program To Specific Network Interface?

Mar 23, 2010

Is there a way to make a program use a specific network interface ? When using my laptop at work i may be physicaly connected to multiple networks. i was wondering if i can make sure that certain applications use a specific network interface. I would google around for the answer but i cant figure out how to phrase it correctly for a search.

View 2 Replies View Related

Ubuntu :: Possible To Speed Limit Specific System Not Entire Network?

May 9, 2011

I have this new flatmate who uses all my Internet data up before the end of my monthly clockover. Instead of having to buy heaps of data top-ups at the end of the month, is there a way I can limit the speed of his computer through the network? I have tried looking through my router settings (which is a Thomson router) but there doesn't seem to be any options in regards to limiting activity of a system on the network.

View 3 Replies View Related

OpenSUSE Network :: Firewall Rules For Specific OS?

Aug 26, 2010

can I deny the access to my server for a specific OS? I have one PC which I want to give it acces from winxp, but if it's boot into ubuntu I want to deny all access to my server, same IP, same ethernet card

View 8 Replies View Related

Ubuntu Servers :: Program/Process Route To Specific Network Device?

Jul 30, 2010

Is there a way to bind specific programs to specific network devices (not IPs, since I have dynamic IPs)?

For example, I wish for irssi to route through eth0 and w3m to route through eth1. Keep in mind these devices have dynamic IPs, so I cannot attached them to an IP.

The solution cannot be accomplished through route since route pivots on IPs not devices.

View 1 Replies View Related

OpenSUSE Network :: Can't Access Specific Domains After Some Time

Nov 26, 2009

I am using openSUSE 11.2 and had the same issue once before in openSUSE 11.1 After some time, two domains I use very often can't be accessed any more, these are: Google and [URL]... (am doing some OO development recently). At the time where I write this post, only these two are "blocked".

When I try to access these two domains using Firefox, w3m or telnet, it tries to open the connection forever. Ping works fine. I tried opening the IP directly in the browser, but same problem, the connection never reaches. I know it's not a router issue, as the other computers can access these domains. Still, I tried to restart the router, but the issue persists. I tried restarting the network service (/etc/init.d/network stop + start), also nscd, without success. The only way I found to make it work again is to reboot. This problem reappears from time to time, after using the computer for a long time, and accessing these domains a lot of times. Note that I also use suspend to disk, so the "blocked" state is kept after resume. Only reboot "cures" it.

View 9 Replies View Related

OpenSUSE Network :: Designating NICs For Specific Functions?

Jan 16, 2010

I have a media center set up on my home network with two NICs. Each NIC has been assigned a static IP:

eth0 192.168.0.254
eth1 192.168.1.253

Currently eth0 does everything network related and eth1 just sits idle. This computer also serves as my home server using NFS.

The NFS server and clients are already set up using eth0, so I'd like to set up eth0 to only handle LAN traffic and eth1 to only handle WAN traffic. This way, if I have bit-torrent or something running (using WAN), bandwidth within the LAN should be relatively unaffected.

View 4 Replies View Related

OpenSUSE Network :: Lamp Server With Specific Requirements For PHP

Oct 23, 2010

I'm needing to stand up a Lamp server for a SugarCRM migration. I've been told I need to ensure php 5.2 on the box along with ensuring several mod's are installed as well for php and apache. I was planning on using the lamp provided from xampp (apache friends) but they're current build is using PHP 5.3, any suggestions on how to get around it? If I have to build the whole thing from several packages (apache, php, mysql) then no problem, but I really like the myphpadmin page that comes with the xampp installer.

View 2 Replies View Related

General :: Running Web Browser On A Specific Network Interface?

Feb 26, 2011

suppose I have multiple interfaces installed on my machine. The question is how to specify which interface to use while starting a web-browser.What I would like to make possible is something like:Code:browser_name interface addressif it is possible in for any web-browser or via scripts please advise me accordingly.

View 7 Replies View Related

General :: Finding A Traffic Monitor That Only Counts In A Specific Wireless Network

Jul 28, 2011

I need a simple traffic monitor for Linux, that counts the traffic in a specific wireless network because I have volume restrictions on that one.I tried it using the following iptables rule:

[code]...

iptables -m mac -A INPUT -p all --mac-source <mac-address> ! -s 10.0.0.0/8

where <mac-address> is the router's one. 10.0.0.0/8 is the local subnet. What I actually want is something like --routed-through <mac-address>. Also, is there some way to gather iptables's statistics? Or is there maybe another tool that does what I want (reliable)?

View 3 Replies View Related

Ubuntu :: Giving A Specific User Permission To Start/stop A Specific Service?

Jun 8, 2010

How do I give permission to a logged in user to stop/start a specific service without entering a root/sudo password? So they can do a simple "service SomeService stop|start" It is for a headless Ubuntu server.

View 5 Replies View Related

Ubuntu :: Allow A Specific User To Mount Or Remount A Specific Partition?

Jun 9, 2010

my system I want user1 and only user1 to be able to mount and unmount a specific partition, this partition contains backups and is usually mounted read only, needs to be temporarily mounted read/write by user1 while doing the backup.user1 is an unprivileged user. I've read that the user option will let any user mount the file-system (and only that user can then subsequently unmount it) and that the users option allows any user to mount or unmount the file-system.I also found this in mount's man pageQuote:The owner option is similar to the user option, with the restriction that the user must be the owner of the special file. This may be useful e.g. for /dev/fd if a login script makes the console user owner of this device. The group option is similar, with the restriction that the user must be member of the group of the special file.So it looks like I'd need a login script for that user to make the user owner of the device file (/dev/voiceserv/backup in this case)

View 7 Replies View Related

OpenSUSE Network :: Error - Vodafone Mobile Connect Needs The Following Files And Dirs With Some Specific

Sep 17, 2010

I have installed the files from Betavine - SuSE Linux Drivers and installed it by clicking the rpms and installing now the error is this- Vodafone Mobile Connect needs the following files and dirs with some specific permissions in order to work properly: /etc/ppp/chap-secrets should have 0660 mode, found 0666 /etc/ppp/peers should be readable and writtable by group root user Rob should be a member of group root

View 3 Replies View Related

Programming :: Search A Bunch Of Files In A Specific Folder For A Specific Number?

Jul 24, 2010

I need to search a bunch of files in a specific folder for a specific number and add all the numbers together to a total sum. I use Rsync everyday, everytime I run rsync i get a logfile (rsync output) witch contains the textstring "Total bytes sent: xxxxxx".

The "xxxxx" can vary in lenght. I need to extract the "xxxxxx" from each file and add the numbers together to a total size over a week or a month. Is this possible? And I wish to only use bash. One way of doing stuff at a time my friends .

View 5 Replies View Related

OpenSUSE Network :: Setup An Apache Server On Computer Which Will Allow Browsing Of Files In A Specific Directory And Subdirectories?

Jun 13, 2011

I'm trying to setup an Apache server on my computer which will allow browsing of files in a specific directory and subdirectories, without needing any sort of authentication.

I've got the Apache2 server up and running through yast, and everything works fine as long as I try to point it to the /www/htdocs folder. However, I want to point it at another folder, which is on another partition. This partition is formatted as NTFS, if that matters at all (here's some background on some permissions issues I had with the NTFS partitions recently).

When I change the "Directory" setting in the Yast http server configuration utility to the directory on the NTFS partition I wish to use, attempting to access the server results in the following error:

Code: Access Forbidden: You don't have permission to access the requested directory. There is either no index document or the directory is read-protected. If you think this is a server error, please contact the webmaster.

Error 403
192.168.1.100
Mon Jun 13 23:43:29 2011
Apache/2.2.17 (Linux/SUSE)

View 4 Replies View Related

General :: Change A Specific Characters To Capital In A Specific Text?

Dec 2, 2010

for example

else {
for fileDOC in $location/*.doc
do

[code]...

View 12 Replies View Related

Server :: Sendmail: Block Specific Sender To Specific Recipient?

Oct 1, 2009

I'm trying to configure our mail server to block email from a specific sender reaching a specific recipient. In other words, if one of our employees is getting harassed by a 'stalker', how would one go about blocking, at the MTA (Sendmail) level, a specific sender email address from reaching a particular users inbox? We do not want to capture the email - simply block it before it consumes server resources.The Sendmail server (MTA) is a front end to our Exchange server so no user accounts exist on the Linux server. We simply use it as a SPAM and Virus scanner then forward clean email to the Exchange server.

View 6 Replies View Related

Ubuntu Networking :: Specific E-mail Not Being Sent?

Jul 26, 2011

send out lots of e-mails, except this specific one that I'm trying to send to my Member of Parliament. My ISP has blown me off and tells me it's a problem of a firewall or antivirus program on my computer (I also can't rule out my router, but I seriously doubt it has that level of sophistication).en I try to send, after about a minute I get "4.4.2 Timeout while waiting for command" which is why my ISP says this is my problem. I've looked in /var/log/messages and it doesn't give any indication that this system is blocking the e-mail. I don't think it's a firewall but how can I tell? Or what else can I try?

View 1 Replies View Related

Programming :: Replace Specific Character After Specific Line By Awk?

Jul 19, 2010

I want to replace specific character in a file after every specific line. example as follows.

O 000000000000000000
A 111111111111111111
C 222222222222222222

[code]...

View 2 Replies View Related

Ubuntu Networking :: Can't Assign Specific Static Ip

May 25, 2011

Using Ubuntu Server maverick here - after altering /etc/network/interfaces to use a static ip and checking /etc/resolv.conf (no alteration needed) no network services were working at all. Here are the contents of interfaces:

Code:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
broadcast 192.168.1.0
gateway 192.168.1.254

I was fairly certain that this was verbatim from my previous server which is no longer attached to the network. After hours of fooling around with no success I changed the address to 192.168.1.99 and it worked perfectly. So my question is: why? My old server used 100. Could the router refuse to give a new server the same address or something like that since that address had been taken in the past?

View 1 Replies View Related

Server :: Redirect Specific Ip To Specific Web Page?

Jul 1, 2009

I configure squid to work with squidGuard , and all thing work properly , but there is problemfirst look to this squidGuard.confdhhome /usr/local/squidGuard/dblogdir /usr/local/squidGuard/log

src blacklist {
ip 10.0.0.5
}

[code]...

View 1 Replies View Related

Ubuntu Networking :: Sharing Specific Folders Instead Of All Of /home?

Apr 25, 2010

I've being following this guide, which is great, and currently my samba.conf looks like this:

Code:
[global]
panic action = /usr/share/samba/panic-action %d
workgroup = "Name"
netbios name = "Server name"

[Code].....

As you can (maybe) see, my entire /home folder is shared. For various reasons, I'd prefer it if only say my music and videos were shared, how do I do that? I've looked around the web and seen some other people's samba.conf files but mine looks totally different and I don't want to lose the functionality I have by messing around with it.

View 1 Replies View Related

Ubuntu Networking :: Default Routes For Specific Interfaces?

Oct 15, 2010

I've got a 10.04 machine with two ethernet interfaces. I have two separate outside internet connections. This machine is connected to both interfaces. But it DOES NOT route between them. It's just a host on both subnets. Again, no routing is to go through this host. I'd like to force traffic originating on each ethernet port out to that network's internet connection.

Here's the desired setup:
eth0 192.168.12.37/24 gw 192.168.12.1
eth1 192.168.1.37/24 gw 192.168.1.1

I'd like traffic on the 192.168.1.37 address to go out through the 192.168.1.1 gateway. I have a program bound to that address and need it's traffic to go out ONLY through the 192.168.1.1 gateway. Any other traffic on the machine should go out the 192.168.12.1 gateway.

The logic is: source IP is 192.168.1.37, dest IP is any then go out only through 192.168.1.1 source IP is 192.168.12.37, dest IP is any then go out through 192.168.12.1 first or 192.168.1.1 next. The point is source on the .1.37 address must always go out the .1.1 gateway and NEVER through .12.1. Whereas traffic on the .12.37 address should try going out the .12.1 gateway first but can go out the .1.1 gateway if the .12.1 connection is down. I could live with this failover option. I could accept that traffic on the .12.37 address was likewise limited to its own gateway.

View 3 Replies View Related

Ubuntu Networking :: Wireless Won't Connect In Specific Cases?

Jan 6, 2011

Most of the time my wireless works very well, connecting lightning-fast on boot with AC power. However here are two problems that I have noticed to-date: 1. Wireless will not connect if I boot on battery power. It won't connect even if I plug in the AC cable and do a reboot. Only solution is to reset the router (unplug power cable, wait, plug power cable). 2. Wireless will not connect after a Suspend, whether battery power or AC. Again, only solution is to reset the router. Another computer, running Windows XP, do not have connection problems (yes, wireless). It is quite strange, maybe some power management settings are interfering with networking? I have both laptop-mode-tools and pm-utils (re-rolled) installed.

View 2 Replies View Related

Ubuntu Networking :: Set Any Ports On Iptables For One Specific Host Only?

Feb 15, 2011

I like to set in iptables to allow access from one host to my server on any ports.Currently the iptables have been configured to deny all and to allow access only to those I've specified.

View 2 Replies View Related

Ubuntu Networking :: Can Disable A Specific Wireless Device

May 17, 2011

11.04 64 bit I just picked up a new high-gain usb wireless adapter that I would like to use for a while in place of the built in wireless adapter in my desktop. It is detected and works just fine. My question is this: Is there any way I can disable just the built in adapter and leave the new one active (or visa versa?) I don't want to remove the built-in one as there will be occasions that I will want to use both.

View 6 Replies View Related

Ubuntu Networking :: Disable IPv6 On Specific Interface?

May 26, 2011

When I run OpenVPN server - tap0 adapter, it breakes Teredo(Miredo) IPv6 address down. I dont need IPv6 on OpenVPN, so is there any way to disable IPv6 on tap0 completely?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved