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


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

Ubuntu :: TightVNC Assigning All Keystrokes Incorrect

Jan 7, 2010

The goal was to remote desktop to my linux box from my windows machine, I went down the path of TightVNC. Installed and ran it.. thought I was all clear.. however the keyboard keystrokes are all jumbled, and seem to be all over the shop. (i.e.: when I press 'p' it actually comes out as 'X' etc. Happens for all keystrokes. Had a quick look around but haven't found any information on it. Uninstalled tightvnc server and installed vnc4server and it resolved the issue, shrug.

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:


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 :: 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 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];


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 :: 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:


View 6 Replies View Related

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

Feb 3, 2011

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

semoi@darkstar:~$ cat rename4.sh


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 "" | awk '{split ($0, a, "."); print a[1]}'


View 1 Replies View Related

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 = server IP)

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


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

Ubuntu Multimedia :: Assigning Tv Card To / Dev / Video0 And Webcam To / Dev/video1?

Jan 25, 2010

I have a TV Card and a webcam connected to my computer. I've noticed that after a restart the TV Card capture device is /dev/video1 (while other times it's /dev/video0). When the device changes I have to update my tvtime.xml, which is a hassle.How can I force the capture device to be /dev/video0 and the webcam to /dev/video1?

View 2 Replies View Related

Ubuntu Installation :: Assigning / Tmp And To Mount On File System / Not In Root

Nov 26, 2010

I am pondering a reinstall of a freshly installed Ubuntu; I may or may not take that drastic step.However, I have partitioned my drive to include a 16-GB partition labelled "Ubuntu-tmp", in my case /dev/sda7, with the intent of mounting that file system as /tmp. Depending on how I decide to go about the reinstall I need an answer to these questions:If I reinstall: Is it possible to designate /dev/sda7 to mount as /tmp during the installation process?If I cannot designate the mounts at install time, or if I opt not to reinstall: I can't really empty the /tmp directory in the root in order to properly use it as a mount point for [the file system on] /dev/sda7; many files in there are still in use by running processes. So how can I clear the /-mounted /tmp directory and assign it to /dev/sda7?

I have attached a screen shot of gparted to illustrate my layout scheme.The gparted manual suggests I select the partition, click [Partition]->[Mount]. Of course, my gparted drops a menu with [Mount] is absent and an [Unmount] option is greyed out.This raises a question of how I am going to mount /users and /var in their intended file systems (/dev/sda8 and /dev/sda9, respectively), because the [partition] menu looks the same for these partitions as well.

View 5 Replies View Related

Ubuntu Installation :: Assigning Swap Partition To Enable Hibernation?

Dec 22, 2010

i want to create/assign a swap partition so i can hibernate by comp. i've tried the ubuntu guide on creating a swap file but it didnt work, i created a linux-swap partition and used the mkswap command but that didnt work either (maybe it did but i cant hibernate anyway?!) right now my partitions look like this:

/dev/sda1 extended
/dev/sda5 linux-swap
/dev/sda3 ntfs (windows partition)
/dev/sda4 ext4 (ubuntu partition)

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

[Code] .....

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

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

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

Code: Select alliface wlan0 inet static

I am able to connect to wlan0 in SSH to address, and I also receive requests when ping 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

Programming :: Assigning A Variable For Later Use In Shell Script ?

May 4, 2010

Using things like awk/sed, but have managed to cobble together what I needed so far without a problem. The only thing I'm struggling with is to assign the content of a particular line as a variable, and then to use it again throughout the file.

For example, if what I want is the first line of the file to become the variable "from1", and then to replace the word "Subject" in the file with the string "Message from [from1]". What I thought would work

I tried a few diff combinations but nothing seems to work. All I get is the terminal hanging indefinitely.

View 3 Replies View Related

General :: Assigning A User A Non-interactive Login?

Apr 16, 2010

I am trying to assign a user account on RHEL5 Server a non-interactive login but I am not sure if this is the correct command: useradd useraccount -s /sbin/nologinAfter I issue this command, I try to log in with this account and it says the "Administrator has disabled this account" when I enter the password. Does any one know if the command above is correct?

View 2 Replies View Related

General :: Assigning Custom Command For An Application?

Jun 25, 2011

I am using Ubuntu 11.04 (in the classic mode)Whenever I double-click my sqldeveloper.sh file, it gives weird errors. When I did :Code:sh /home/uer/Softwares/sqldeveloper/sqldeveloper.sh on the terminal, the program started up. So, I went to the "open with" on the shell file, "Select custom command" and typed the above, but nothing happened. What should I type as the custom command ?

View 2 Replies View Related

General :: Assigning Value To A Variable In Shell Script?

Nov 22, 2010

Why doesn't "var1=`echo $var2 | grep pattern`" work ?

View 8 Replies View Related

Programming :: KSh Script - Assigning A File Path ?

Jul 25, 2011

I am assigning a file path to a variable like

$1 means it should accept some file name from cmd prompt but in my case its not working.

View 1 Replies View Related

Ubuntu Servers :: What IP Address To Enter In Config File When Assigning A Static IP

Apr 6, 2010

How do I decide what IP address to enter in my config file when assigning a static IP. All of the instructions I can find say something like "of course you should modify the file according to your own settings." Should I just use the gateway and IP that returns from "iwconfig" and "route -nee"?

View 5 Replies View Related

General :: Assigning New Creation File Time On Tar Extraction?

Nov 19, 2010

How I can tell tar to assign a new creation date to extracted files? Let's say I have an archive filled with old files of varying ages. Upon extraction I want all files to have the same time stamp (that of the time of the extraction).

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

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

Programming :: Assigning Bash Variable With The System Command In Awk?

Mar 1, 2011

I am having all sorts of trouble trying to assign a variable within an awk script with the system command. I know there is a lot of ways around this problem, but for efficiency reasons, I would like to, within my awk script, do something like




and, latter on the shell script which calls the awk script, use the variable $x. But nothing is passed to x. I have already tried things like

command = "x=3"

and also used a pipeline within the system to pipe it to /bin/sh In fact tried a lot of stuff like that, using $(( )) etc etc etc I can create directories e write to files (yes, i could write to a file and read from there, but I dont think it is efficient, plus I am puzzled).

View 7 Replies View Related

Red Hat / Fedora :: Distro Randomly Assigning Nic To Different Ethx After Each Reboot

May 22, 2010

how are nics assigned - eth0 - ethx I am having problem with my distro randomly assigning nic to different ethx after each reboot. Sometimes nice 1 is eth0 and sometimes is eth3.

View 4 Replies View Related

General :: Assigning Query Result Into A Variable/file?

May 25, 2011

I am connecting to MySQL DataBase using shellscript and writing a select statement like select attachmentid from attachments where pageid=10175 I want to store the output of the select statement into a shellvariable or a file. How can i do it using shellscript.

View 4 Replies View Related

Server :: Heartbeat Not Assigning Virtual IP For Interface Eth0

Jul 19, 2010

I have followed th given site for HA configuration in my virtualbox but heartbeat is not assigning virtual IP for interface eth0 [URL]...

View 1 Replies View Related

Programming :: Assigning Output Of A Command To An Array In Perl?

Nov 25, 2010

I am trying to execute a Unix Command in perl and assigning its output to an array:

@File_List=exec("ls -1 /tmp");
but it is not working. I have tried the perl function system() also but its return code is


View 10 Replies View Related

Programming :: Pass By Reference A Parameter Without Assigning A New Object?

Dec 28, 2010

How can I pass by reference, a parameter, without assigning a new object? In my first example, var = "changed" creates a new local object. In the second, mylist.append will affect the reference target. How to i achieve the same effect with example 1?

var = "unchanged"
def print_string( var ):


View 2 Replies View Related

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