Networking :: Assigning Process To Use Specific Nic

Apr 19, 2010

I want to be able to tell processes/programs somehow to use a specific nic. I have a laptop (used as dekstop) and want to make pidgin use my wireless. I have a gigabit wired connection and a wireless connection. I want to force pidgin to use the wireless connection. But more specifically, I just want to block pidgin from using eth0... how to go about that? I can't find anything that will block applications... I could block outside servers from communicating with eth0, but I don't want to do that.

View 14 Replies


ADVERTISEMENT

CentOS 5 :: Assigning An IP To Folder / Process?

Jun 14, 2009

This is a long shot but I'm looking for a way to assign an IP to a specific location or process. I'm running a server for a small indie game that I liked, I intend on running as many gameservers as possible from this server, however I hit a problem: The game limits servers to 4 per IP address, after this the servers no longer are able to connect to the main server and therefore be used. My server has enough IPs to run many gameservers, but I'm unable to work this out.

I need to assign either an IP address to a process or folder, right now I have it set up like so: (assuming 1.1.1.1 = server IP)

/gameservers/server1/program < assigned to 1.1.1.1
/gameservers/server2/program < assigned to 1.1.1.1
/gameservers/server3/program < assigned to 1.1.1.1
/gameservers/server4/program < assigned to 1.1.1.1

[Code]....

I do not have access to modifying the core program, it runs in Java. How would I go about doing this, if indeed possible? I need to either apply the selected IP to a folder or process without changing the actual program.

View 1 Replies View Related

Networking :: Definition: "a Process That Replaces A Series Of Related, Specific Routes In A Route Table With A More Generic Route"

Oct 21, 2010

I got this definition:"a process that replaces a series of related, specific routes in a route table with a more generic route." honestly I found it not so clear.. I want to know if this definition is correct and also more details about this subject..

View 1 Replies View Related

Networking :: Assigning Eth0 Value To Device

Dec 14, 2010

I have to do a project on network security.For that i have to capture the packets from the device. I installed libpcap tool in ubuntu. If I give ifconfig -a it lists out eth0, wlan0, lo. I am able to connect to the internet via eth0. But when I give

#include <stdio.h>
#include <pcap.h>
int main()
{
char *dev, errbuf[PCAP_ERRBUF_SIZE];

[Code]...

It says device is null. I'm not able to run sniffex.c program also. All I want to do is to capture the live network level packets and analyse them.

View 2 Replies View Related

Networking :: Assigning Eth0 To PCMCIA Nic?

Apr 26, 2010

Just completed installing Xubuntu 9.04 to my old Dell Latitude CPi and it seems to be working quite well. However I need to assign interface eth0 to my pcmcia network card (as opposed to eth1 or eth2). I have two cards to try out. One of them comes up as eth1 and the other as eth2. There is no eth0 listed when I run ifconfig -a. There is no built-in network cards on the laptop, so I don't know why it won't assign eth0 to either of the cards.

how to assign eth0 to either of the two PCMCIA network cards.

View 4 Replies View Related

General :: Bash Script To Get PID Of A Specific Process?

Aug 23, 2010

I'm trying to write a script that involves storing a specific PID in a variable. I've got as far as: -

Code:
$PS_OUTPUT=ps -elf | grep <process name> | awk '{print $4}'
This stored the PID of the grep itself and the actual process I want. The output of

[code]...

View 6 Replies View Related

General :: Limit The Memory Usage Of A Specific Process?

Apr 24, 2010

I've written a program for a class that my professor will be testing in various low memory environments to see how it behaves when the program runs out of memory. Is there a way I can simulate the execution in a low memory environment without creating a virtual machine?

View 1 Replies View Related

General :: Script To Kill Process With Specific Character

Feb 11, 2011

I have a command that outputs as follows:

# lostjobs
user1 12983 1 0 Feb04 ? 00:00:00 dbr UT:msmenu
user1 18253 1 0 Feb09 ? 00:00:00 dbr UT:msmenu

[code]....

I know I can grab the ones with what I want to kill (which are the ones with question marks) with:

# lostjobs | grep ?

what I need to know is how can I loop through the results of the second one and kill them by id (the second column).

View 2 Replies View Related

Security :: Locating Process Which Delete Some Specific File

Jun 27, 2010

On my RHEL5 system one of my key file in one specific directory gets deleted when I start my application suite (having multiple processes). Is there some way to narrow down which specific process is deleting this file?

View 8 Replies View Related

Programming :: Change The Resource Limits For A Specific Process?

Jun 26, 2010

I want to change the resource limits for a specific processOr to create a new process and give it limits as I want, There is a function setrlimit, Which is possible to change it but for a programmatic I want to apply it to another Process, The problem is that this function does not receive process ID for example. I read in most books on the subject of The Linux system programming

View 1 Replies View Related

Ubuntu Networking :: Assigning Host Names On LAN?

May 29, 2011

when I'm in my campus I saw things like this from tcpdump:

client-64-15.department.univ.edu
client-x-y.department.univ.edu
gw.nettokurabu.univ.edu

and my laptop got a name like that too (x and y being last 2 segments of the IP)out of curiosity, how to assign names like that to each IP? well, the names are not in dns records (can't resolve them to IPs)... when I set up (illegally) my on subnet with a routing software the addresses I used also already have their name without me configuring it before...

View 4 Replies View Related

Networking :: DHCP Script - Assigning Multiple IP Addresses By Mac?

Sep 6, 2010

Ive been trying to give certain clients an IP adres by mac adress. For this I use the folowing code:

host apex {
hardware ethernet 00:00:00:00:00:00;
fixed-address 192.168.250.100;
}

This works perfectly, however when I try to add a second client this way it doesnt. I tried to add the above code multiple times as a whole (2 times the above code) but that doesnt work. I also tried to just add more lines under host apex but this also doesnt work.

So my question is: How do I add more of this mac related IP adress assignments in the dhcp.conf?

View 1 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

Networking :: Red Hat Not Recognizing/assigning Onboard Gigabit Ports Correctly

Jan 18, 2011

I have two onboard gigabit Ethernet ports and 3 10Gb add-in fiber ports. When everything is cabled but nothing is IP'ed yet, I do an ifconfig -a and the two gigabit ports are showing as "__tmp2143330114" and "__tmp1076785124", eth0, eth1 and eth3 show as the 10Gb addin cards. On other (identical) servers, eth0 and eth1 are always the gigabit ports and eth2, 3, and 4 are the 10Gb ports. Anyone know what is going on?How can I make sure that Red Hat detects and assigns these ports correctly on boot, or at least can I reassign what ports are designated eth0-eth4?

View 6 Replies View Related

Fedora Networking :: Assigning IP(V4)address To Machine And Make It Accessable In Internet?

Feb 11, 2010

I want to make make my fedora machine access-able over the internet. I want to assign IPV4 address to this machine( I already have one IP address ) which can be used for this. What configuration changes I need to make in fedora to make it accessable to the external world

View 6 Replies View Related

Fedora :: Schedule A Process To Start At A Specific Time (not On Start Up)?

Jan 19, 2010

I'm trying to find how to schedule a process to start at a specific time (not on start up). How would I schedule a process/application to start at a specific time (if it matters, it will be a background process). For instance, have process abc start every weekday at 5am. I've done this for windows many times though have only been using linux regularly for a few months and haven't figured out the best way of doing this.

So far the best solution I have is to create a program that will start on boot and have it check the time and sleep until the required time and then start the required process(es) at the required time(s). But this seems more of a hack since I'd expect there to be a proper way of doing this.

View 4 Replies View Related

Networking :: ATT Uverse DHCP Not Assigning To Red Interface Interface On Smoothwall?

Feb 14, 2010

I just had an ATT Uverse RG installed. However my Smoothwall router that previously worked fine with the ADSL SpeedStream is no longer accepting an address assignment DHCP ip address from this new gateway. (3800HGV-B)Any thoughts ideas or experience working with this hardware? ATT only supports Windows and Mac

View 2 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

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

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

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 :: Assigning Ip On Boot Up?

Apr 13, 2010

I'm wanting my ubuntu setup to 'get' it's IP details during bootup, i.e. before login.

This is so that I can logon via NX from my laptop without having to logon via the ubuntu machine first.

View 3 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

General :: RHEL5 Not Assigning Partition For Usb Key

Dec 16, 2010

I'm trying to mount a USB key in a RHEL5 box to upload some file. I found doc online and followed it and mounted it fine the first time. Then I unplugged it and found that I have another file to upload so I plugged it back in. However this time it's not assigned a partition (last time was sdb1) and I can't mount it anymore. I think the USB key is recognized and the driver is installed properly:

[code]....

View 6 Replies View Related

General :: Sed: Assigning Its Output To A Variable?

Feb 3, 2011

Kernel 2.6.21.5, GNU/Linux (Slackware 12.0).In this script,

Code:
semoi@darkstar:~$ cat rename4.sh
#!/bin/bash
INPUT="k3b_audio_0_04"

[code]...

View 3 Replies View Related

Programming :: Assigning Variable Is Messing Up?

Nov 5, 2010

I am trying to run this and was into issues

function() {
node=echo "10.11.12.13" | awk '{split ($0, a, "."); print a[1]}'
}

[code]....

View 1 Replies View Related

Debian :: Assigning A Device At Boot To /video2

Jan 29, 2011

I'm using Debian kernel 2.6.32-5-amd64 I have this little nit picky problem when I re-boot, my webcam and my Tv card switch around on video0, video1 and video2 if my usb webcam is plugged in at boot. I would like to keep it plugged in all the time and have it on video2 and my TV card on video0 and video1. I had read where maybe setting up a udev rule might accomplish what I want to do I just don't understand how.

Here is my camera info from lsusb:
Bus 004 Device 002: ID 046d:08d7 Logitech, Inc. QuickCam Communicate STX
Using v4l2ucp gives me this info about my hauppauge hvr1800 TV card:
Driver cx23885
card Hauppauge WinTV-HVR1800
bus_info PCIe:0000:03:00.0
capabilities 0x05010011

View 1 Replies View Related

Debian Configuration :: Assigning Two Different Iface To Two Subnets

Sep 5, 2015

I am running Raspbian, on my Raspberry Pi I have plugged in a Ethernet cable : eth0 and a Wifi Usb Dongle : wlan0

I have my etc/network/interfaces file configured like so

Code: Select allauto lo
iface lo inet loopback
iface eth0 inet dhcp
iface eth0 inet static
        address 192.168.1.100
        netmask 255.255.255.0
        gateway 192.168.1.1

[Code] .....

When trying to connect with SSH to address 192.168.1.100, I get a connection, when trying with address 192.168.2.200, SSH returns Network Error: Connection timed out.

Also receive no response when trying to ping 192.168.2.200 from a windows machine

If however Iadjust the wlan0 block in etc/network/interfaces to the following

Code: Select alliface wlan0 inet static
        address 192.168.1.200
        netmask 255.255.255.0

I am able to connect to wlan0 in SSH to address 192.168.1.200, and I also receive requests when ping 192.168.1.200 from a windows machine. How can I use a different subnet for my wlan0 iface...

View 0 Replies View Related

General :: Assigning Admin Rights To Apps?

Sep 30, 2010

I am using linux mint and have installed Netbeans on it but whenever I run netbeans from accounts other than root it throws an error for not having permission to start glassfish server of netbeans. I also tried running this application using run as administrator option but then the application does not start.

So is there a way to assign netbeans admin rights permanently so that whenever I start this application from other accounts I should not face this error?

View 2 Replies View Related







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