Red Hat :: Correct Process To Create Network Names On RH?
May 27, 2010
I am playing around with RH for the first time. I have two applications which insist on using names for network ranges - so they need /etc/networks. I created one on the RH box as suggested via google but the apps still cant see the names (basically they are not reading /etc/networks). What is the correct process to create network names on RH? Basically the equivalent of solaris /etc/networks?
View 4 Replies
ADVERTISEMENT
Sep 23, 2010
I have bash script for converting files. I have a problem. If file name is "corrupted" then mv command for that file will not work. For example file with "-" in front of the name.
Is there a way to check if in some folder (subfolder) all the files have correct file names or they don't?
If they are all correct -> OK proceed with execution of the script!
If they are not all correct -> NOT OK stop with execution of the script!
View 4 Replies
View Related
Aug 10, 2010
I get the error: Could not start process Unable to create io-slave: klauncher said: Unknown protocol 'magnet'.
View 3 Replies
View Related
Dec 31, 2010
I am writing a script that tells me which process consumes the most memory in the system this is what I have but I keep getting an error:
#! /bin/bash
# Autor: Jose miguel Colella
# Descripcion: Que proceso consume mas memoria
ps -e -o %mem -o args | sort -k 1 | tail -n2 | head -n1 | cut -d -f 3
I keep getting this message: cut: delimiter mist be a single character
View 4 Replies
View Related
May 12, 2010
what is the correct process for updating an application installed via the './configure, make, make install' sequence?For example, I have an app checked out via a git repository, on which I run the 'make install' on to install. Then a few days later I run a git pull to update to the latest release, do I just run the same sequence again or should I 'make uninstall' first?
View 3 Replies
View Related
Jun 25, 2010
In short: browsing the internet with domain names does not work. The long version: I've configured my network with DHCP and ifup. Ping works on my internal net and with servers in the internet. Dig work's too! I get the right IP to the requested domain. When i try to access the internet using firefox or even wget i get an DNS error. For example wget is showing the following error: Resolving heise.de... failed: Name or service not known. wget: unable to resolve host address 'heise.de'
Again dig show me the right IP and if i add the entry to /etc/hosts it work's too! I've even tried it with manually setup of ip address, nameserver and default gateway but with the same result. Switching off the firewall has no effect on this problem, too.
View 9 Replies
View Related
Mar 9, 2010
I have a mac and an openSUSE box connected wirelessly to a router. From my mac, if I ping the Linux machine by both ip address and hostname "elmo.local", I get a response. If I ping my mac from the Linux machine using its ip address, I get a response. However, if I ping the mac from the Linux box using its name "kermit.local" - nothing!
This means in order to share files between them via the network, I have to use the ip address rather than name, but I'd rather not. When I had Ubuntu installed instead of openSUSE this all worked fine out of the box, so I'm assuming it's a problem with the setup of openSUSE rather than the router or the mac.
View 4 Replies
View Related
Mar 17, 2010
I'm trying to create a DVD with K3b, I encoded a DIVx MP4 file to vob, but i need to create the iFO and BUP files if that is correct? is it possible in any way to create iFO & BUP files?
View 9 Replies
View Related
May 13, 2011
I am trying to install OpenCV2.2.0 from the sources and to make it easier in the future I want to create a rpm on my OpenSuse 11.2 x86_64 platform. The instructions how to install are in the specfile The relevant parts of the specfile below:
Code:
---snipp
%prep
%setup
%build
[code]....
View 2 Replies
View Related
Aug 13, 2010
I have an internal hard drive and an external hard drive, both with about 350 GB of data. The data came from the same source, but over the last couple of years, different people have moved files around to different directories, and some files have been deleted. Now I want to merge all the files onto the internal hard drive. I estimate that 80% of the files on the external hard drive are the same, so I don't want to copy 290+ GB of data over when I already have it.
Therefore, I need a way to find just the files on the external hard drive that don't already exist on the internal one. In other words, I need to create two lists of file names irrespective of directories and compare them, selecting only the file names that exist in one list OR the other. I've Googled for solutions but can't find anything suitable. There are ways to create text files of the file names and compare them with diff, but they have to be in the same order, and since these files are in vastly different directories, that won't work.
View 5 Replies
View Related
May 13, 2010
I am running kde 4.4 in virtualbox , but cannot create xorg.conf to get a correct resolution. X -configure = segfault. Older releases were fine - lenny, even ubuntu hardy / lucid.
View 6 Replies
View Related
Apr 1, 2010
I've got a small issue that when a Windows user creates a new folder through Windows Explorer (from the menu or by right clicking) the new folder is only accessible to that particular user. Example: user SABKAR (member of the HR group) creates a new folder called MarcTestMenu in a shared Samba directory through Windows Explorer:
[Code]....
At this point user MORAMY cannot copy a file or open the directory MarcTestMenu. MORAMY gets a 'not accessible' error message in Windows. If I su to the Samba box and issue this command:
[Code]...
how I can get the correct default permissions when users create directories through Windows?
View 1 Replies
View Related
Jan 6, 2009
Set up new server using RH 2.6.9-42.ELsmp on an old HP G4 server. But can't get network to work, can't ping any host, not even my gateway.
Verified cable by plugin a different pc on it, using same network ip address, etc, it worked fine, could ping gateway and other hosts on same segment. Are there any other files I could check to verify network card on server is good? it was working when it was configured as a windows server.
View 1 Replies
View Related
Jul 25, 2010
I have three Debian systems running, along with several XP laptops, PS3 and two DirecTV systems. I use two of the three Debian systems as media servers, and the third is an older system mostly for playing around with. My home network is running fine with the following nuisance. The two newer Debian (Lenny) systems are <barney> and <mitzi>, the older is named <oscar>, running Debian Sarge 3.1. From either locally or remote login to <barney> and <mitzi> I can ssh into either of the other two systems, however when logged into <oscar> I cannot ssh by name to either of the other systems. e.g. ssh: mitzi: Temporary failure in name resolution..However, from <oscar> I can ping outside my network (e.g. ping www.google.com) with no problems.I can also ssh to the other systems via IP address, just not by name.
I've compared the /etc/ssh/ssh_config, /etc/resolv.conf, /etc/ssh/sshd_config and other files between the two systems and not seeing anything peculiar. arp, route, etc., don't show different behavior between the systems either.
View 6 Replies
View Related
Dec 11, 2009
I found problem in FC 12 release. I installed fc 12 to server (earlier there was FC 7). Then as always i realised that names of interfaces (eth0, eth1, eth2 .... eth9) changed after install. eth0 became eth9, eth1 became eth5 ... Earlier on previous fedora releases i solved this problem correcting HWADDR in ifcfg-eth files, so i linked MAC addresses to names (eth0, eth1, eth2) as i wanted in a right order. Now I can't do this. After correcting these files and restarting network sevice i constantly get a message: device ... has different mac than expected. I looked ifup-eth file and compare it with the same one in fedora 7. And i found that in fedora 7 there is function rename_device which processes if HWADDR value doen't coincide with real mac address value. See code:
# remap, if the device is bound with a MAC address and not the right device num
# bail out, if the MAC does not fit
if [ -n "${HWADDR}" ]; then
FOUNDMACADDR=`get_hwaddr ${REALDEVICE}`
if [ "${FOUNDMACADDR}" != "${HWADDR}" ]; then
curdev=`get_device_by_hwaddr ${HWADDR}`
if [ -n "$curdev" ]; then
rename_device "${REALDEVICE}" "${HWADDR}" "${curdev}" || {
echo $"Device ${DEVICE} has different MAC address than expected, ignoring."
[Code].....
But in fc 12 release there is no function rename_device!!!!!!!!! So in this case if HWADDR value is not the same as FOUNDMACADDR value (which equal to REALDEVICE mac address) i just get an error message So I can't change interfaces names, as result i can't organize right order of network interfaces as it was earlier on fc7.
View 1 Replies
View Related
May 5, 2010
I'm running openSUSE 11.2 (Linux piura 2.6.31.12-0.2-desktop #1 SMP PREEMPT 2010-03-16 21:25:39 +0100 x86_64 x86_64 x86_64 GNU/Linux) and have a network problem. At work, ethernet works fine. When I plug it into my DSL router at home (which works with other computers), I encounter the following behavior: ping can resolve host names, however, traceroute and Firefox and Thunderbird cannot.
It happens for both wired and wireless connections.
View 9 Replies
View Related
Oct 25, 2010
I want to get a list of all available Network-Device Names on my Linux server. I figured that
netstat -a
would do the job, however netstat produces quite much output:
eth0 Link encap:Ethernet Hardware Adresse 08:00:27:fc:5c:98
inet Adresse:192.168.2.222 Bcast:192.168.2.255 Maske:255.255.255.0
inet6-Adresse: fe80::a00:27ff:fefc:5c98/64 Gültigkeitsbereich:Verbindung
UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1
[Code]....
I assume that this can be done by a combination of "cat", "sed" and "grep", but I have simply no clue of how to strip the uneccessary information.
View 4 Replies
View Related
Mar 27, 2010
I'll apologize in advance for I'm sure this has been covered already, but I'm not sure of the search terms to even use to begin solving this problem. I don't know what I don't know.
I have three computers on my home network and want to reach them by their name instead of IP address since their ip is dynamically assigned. I'm using a Linksys WRT54GL router and have noticed that there exists a "DHCP Clients Table" in the router that seems to hold all the necessary information - host names and ip addresses.
How can I get my computers to use that as the lookup table to resolve the host names? And is this even an optimal way of being able to resolve local names?
View 3 Replies
View Related
Aug 10, 2010
Here is my scenario and what I want to try and achieve.
I have:
Quote:
Server A = 192.168.1.5 (serverA.home.com)
Server B = 192.168.1.6 (serverB.home.com)
Currently I have serverA.home.com domain name set up using a free dns service online. When I am anywhere in the world I just type the domain name it hits my static ISP IP via the free dns servers online, hits my home router, gets port forwarded to 192.168.1.5 Server A and I am up and running.
Now...
I have bought a second domain for serverB and want it set up like serverA but I am totally baffled on how I can resolve 2 domain names on a single network? I need (somehow) to try and tell the dns servers that when I enter in serverB.home.com it will hit my static ISP IP as above and then hit my home router but then get directed/split to Server B and not to Server A.
Basically all I want to do is name the machines and get traffic resolved to them.
View 2 Replies
View Related
Sep 24, 2010
I had an interview , where the interviewer asked me the question "How to create and call a process in unix". I answered that we can use the command
FORK()/ CLONE() to create a process.
But I didn't have the answer for the second question, how to call a process.
View 2 Replies
View Related
Dec 27, 2009
I have a process that seems to be unexpectadly quitting. Checking the messages log I could not find anything out of the ordinary. Would anyone here know how to make a process unkillable or lock a process somehow? I read information on doing this by making a looped iso, however the process im starting requires to be able to read/write to the files in the iso so this is not going to work. For now I just niced the process to top priority but I dont really think that will work. This process is a voice server so I dont want people getting discouraged that the server will not stay up and decide not to use the free service im offering.
Would anyone else have any insight as to what I can do? Im not new to linux but im not familiar enough with how every command is used, so if at all possible please give me the commands that need to be executed.
View 5 Replies
View Related
Dec 7, 2010
How I setup my NetworkManager to use the correct host name on my system, if that is possible. NetworkManager ignores the specified hostname and uses 'localhost', which is a bit annoying.
View 9 Replies
View Related
Oct 2, 2009
[URL]..This does not work on reboot because the network service starts after fstab is checked.What is the missing step to rectify this?
View 3 Replies
View Related
Jan 28, 2009
We are in the process for Integration Network with our Government Network.
Let say that our network are 192.168.0.0/24
And the Government network are 10.0.0.0/8
I want to know if the local network can resolve the internet names in Government Network. I am using Bind for DNS.
View 1 Replies
View Related
Jan 11, 2010
How to create a c program for an Orphan Process ?
View 5 Replies
View Related
Nov 2, 2010
I've got two NICs connected to two different routers, and on different subnets of course. Each is set for static IP. But somehow I must have mixed up the connections at some point, so the NICs don't always have the IP addresses I expect. I think there may also be a mixup with different ways of setting the network addresses. When I click the Network Icon on the Desktop, I see that each NIC has both addresses as options. The /etc/network/interfaces file has some information about eth0, but all commented out, so there must be another place the addresses get set. And I just discovered that eth0 and eth1 aren't physical but virtual. I guess eth0 is the first one that is set.
View 2 Replies
View Related
Mar 11, 2011
I updated to 11.4 today and software manager is having trouble resolving host names. below is the exact error through software manager
Download (curl) error for 'http://download.opensuse.org/distribution/11.4/repo/non-oss/repodata/repomd.xml':
Error code: Connection failed
Error message: Couldn't resolve host 'download.opensuse.org'
here are the steps that i have taken already to resolve and troubleshoot the issue.
i can ping Google.
i can browse the Internet
i can browser the repo Index of / through my browser.
i have insured that ipv6 is disabled through network configuration through yast.
View 3 Replies
View Related
Mar 12, 2010
I have a project that I'm working on now that is using Ubuntu 8.04LTS to create a reverse SSH proxy for a telnet process. We have the box logging in with RSA keys so that it can automatically connect to the SSH host on our end. We are using autossh to keep the connection up and running.
We have rolled out 3 of these and they are working very well. We ghosted the original, changed the hostname, changed the IP info, and regenerated the SSH keys. Now I need to clone 35 more. I want to try to do this as efficiently as possible and can script the changes in the hostname, IP, ect.
Can I batch create RSA keypairs on my workstation and then copy them over as a part of the batch? My current other option is to login to each of them and generate the pair. I would like to just install the drive and ship it and not even have to boot it up.
View 3 Replies
View Related
Jun 7, 2011
Code:
root@sok-HP-ProBook-4520s:/usr/local/etc# motion
[0] Processing thread 0 - config file /usr/local/etc/motion.conf
[0] Motion 3.2.12 Started
[0] Motion going to daemon mode
[0] Exit motion, cannot create process id file (pid file) /var/run/motion/motion.pid:
View 4 Replies
View Related
Jul 30, 2010
I have a normal user (sites:users) and the usual http user (wwwrun:www).I'm hosting several sites and I want to be able to upload stuff via ftp, so I'm using the "sites" home (/home/sites) to keep the sites I'm hosting. Giving read permissions to all inside /home/sites makes it accessible and readable to the wwwrun user. Problems come when I need to upload something. The easy way is to give 777 permissions to the folder that's going to receive the file, but I don't feel comfortable at all with that.
What do you recommend? Is there any group configuration that could help me (like adding "sites" to the "www" group)? Or any other configuration at all that might be according the the best practices?
View 6 Replies
View Related