Sponsored Content
Operating Systems Linux Red Hat Modprobe prepare new IP address Post 302788851 by thmnetwork on Tuesday 2nd of April 2013 03:18:07 PM
Old 04-02-2013
A year or so ago I had to solve this exact problem for a 100+ VM deployment. You're not going to get around either configuring the template to not include the mac addresses, do DHCP and use a satellite to execute a script to save the current network config as the static config (bad idea, but it solves this particular problem) or what I ended up doing. You're probably going to need to script something yourself and have rc.local call it.

I ended up writing a script that would check to see if all the MAC addresses that were configured I could still find underneath /sys/class/net and if it didn't, it would enumerate the iterfaces that were there, prompt the user for a new hostname, IP addressing info, etc then rename the interfaces as appropriate restart the "network" and services.

One thing that caught me was that in RHEL6 (and possibly RHEL5) you have to disable the plymouth bootsplash in order to be able to accept input from the user at the console.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how can I run something as root (modprobe, to be exact) every time computer starts.

I have the root password for my box, but I'm ignorant. So, every time I start my computer, I have to run this command /sbin/modprobe fuse as su, so that I can do other stuff (like mount remote directories locally using sshfs) I guess there's some file, like .bashrc, only it's applicable... (4 Replies)
Discussion started by: tphyahoo
4 Replies

2. Linux

Modprobe problem

I'm trying to get a watchdog module working on a server. (Watchdog timers are little hardware devices that reboot the system if it becomes unresponsive.) The module takes some options like the timeout til reboot, what power action to take, etc. I've set these options up in... (4 Replies)
Discussion started by: vertigo23
4 Replies

3. UNIX for Dummies Questions & Answers

prepare a perl tuts

Hi I am working on perl for last 3 yrs and as part of knowledge sharing i have been told to conduct sessions with other teams.Only 1 session with basic details. My problem is i am not sure what all should i cover in this tut ? because i learned perl on my own. so i am not sure where to start... (4 Replies)
Discussion started by: zedex
4 Replies

4. UNIX for Dummies Questions & Answers

modprobe spi_bitbang results in error messages

Hi, I'm having a problem with the voyage linux distribution. I've been busy to include a CAN driver, which uses the SPI bus to communicate. While I was busy debugging the code, everything worked fine while performing a modprobe of the SPI driver to get it all running. But the... (1 Reply)
Discussion started by: nistap
1 Replies

5. Red Hat

problems after modifying modprobe.conf

Hey Guys, I am having a problem after modifying the modprobe.conf. I added a few entries for the HBA drivers. When I noticed that it would not boot after this, I mounted a knoppix disk and removed those lines from the modprobe.conf. Now after removing those lines, it is still stuck at the same... (2 Replies)
Discussion started by: s ladd
2 Replies

6. Red Hat

modprobe: Can't locate module usbcore

Hello Linux forum! I am working on an older Red hat Linux version(kernel) 2.4.21 and I have compiled the kernel and I select it on startup, but I get the following errors: Mounting Local Filesystems: Modprobe: modprobe: Can't locate module usbcore modprobe: modprobe: Can't locate module udf... (1 Reply)
Discussion started by: mr.rhtuner
1 Replies

7. UNIX for Dummies Questions & Answers

Modprobe error message

Hi anyone knows what this error message means and how to fix it? igb 0000:01:00.0: enabling device (0000 -> 0002) igb 0000:01:00.0: PCI INT D -> GSI 16 (level, low) -> IRQ 16 igb 0000:01:00.0: setting latency timer to 64 igb 0000:01:00.0: Hardware Initialization Failure igb 0000:01:00.0: PCI... (1 Reply)
Discussion started by: h0ujun
1 Replies

8. UNIX for Advanced & Expert Users

Rmmod,modprobe or dracut?

I am making few changes inside modprobe.d directory, now there are two options to make them effective 1) rmmod module, make changes and modprobe module 2) dracut -f I was wondering what's the difference between two, in terms of result, dracut makes kernel image again though and the other unplug... (0 Replies)
Discussion started by: nixhead
0 Replies
GDOMAP(8)						       GNUstep System Manual							 GDOMAP(8)

NAME
gdomap - GNUstep Distributed Objects name server SYNOPSIS
gdomap [-C|-H] [-I pidfile] [-L name] [-M name] [-N] [-P number] [-R name] [-T type] [-U name] [-a file] [-c file] [-d] [-f] [-i seconds] [-p] DESCRIPTION
gdomap The gdomap daemon is used by GNUstep programs to look up distributed objects of processes running across the network (and between different user accounts on a single machine). The daemon is NOT used for lookup where two processes belonging to the same user are using a host-local connection. This manual page explains the usage of gdomap. For design and implementation information (and special notes for packagers), please see the HTML documentation installed in $GNUSTEP_SYSTEM_DOC, under Command-line Tools. Usually the gdomap daemon is started at system boot time and binds itself to port 538. See the GNUstep Build Guide for a sample startup script. By default gdomap probes every machine on the local network to see if there is a copy of gdomap running on it. This is done for class-C networks and subnets of class-C networks. If your host is on a class-B or class-A net then the default behaviour is to treat it as a class-C net and probe only the hosts that would be expected on a class-C network of the same number. If you are running on a class-A or class-B network, or if your net has a large number of hosts which will not have gdomap on them - you may want to supply a configuration file listing the hosts to be probed explicitly, rather than getting gdomap to probe all hosts on the local net. You may also want to supply the configuration file so that hosts which are not actually on your local network can still be found when your code tries to connect to a host using @"*" as the host name. NB. this functionality does not exist in OpenStep. A configuration file consists of a list of IP addresses to be probed. The IP addresses should be in standard 'dot' notation, one per line. Empty lines are permitted in the configuration file. Anything on a line after a hash ('#') is ignored. You tell gdomap about the config file with the '-c' command line option. gdomap uses the SIOCGIFCONF ioctl to build a list of IP addresses and netmasks for the network interface cards on your machine. On some operating systems, this facility is not available (or is broken), so you must tell gdomap the addresses and masks of the interfaces using the '-a' command line option. The file named with '-a' should contain a series of lines with space separated pairs of addresses and masks in 'dot' notation. You must NOT include loopback interfaces in this list. If you want to support broadcasting of probe information on a network, you may supply the broadcast address as a third item on the line. If your operating system has some other method of giving you a list of network interfaces and masks, please send me example code so that I can implement it in gdomap. OPTIONS
-C help about configuration -H general help -I pid file to write pid -L name perform lookup for name then quit. -M name machine name for -L and -N -N list all names registered on host -P number port number required for -R option. -R name register name locally then quit. -T type port type for -L , -R and -U options - tcp_gdo, udp_gdo, tcp_foreign, udp_foreign. -U name unregister name locally then quit. -a file use config file for interface list. -c file use config file for probe. -d extra debug logging (normally via syslog). -f avoid fork() to make debugging easy -i seconds re-probe at this interval (roughly), min 60 -p disable probing for other servers FILES
Use the -c option to specify a configuration file for gdomap. See under DESCRIPTION for possible configurations. DIAGNOSTICS
Kill with SIGUSR1 to obtain a dump of all known peers in /tmp/gdomap.dump gdomap -N lists all registered names on the local host. SEE ALSO
gdomap -C gives above instructions on how to set up gdomap. gdnc(1), GNUstep(7), gpbs(1) The GNUstep Build Guide example rc script: <http://gnustep.made-it.com/BuildGuide/index.html#GNUSTEP.SERVICES> HISTORY
Work on gdomap started in October 1996. This manual page first appeared in gnustep-base 1.7.1 (June 2003). AUTHORS
gdomap was written by Richard Frith-Macdonald <rfm@gnu.org> This manual page was put together by Martin Brecher <martin@mb-itconsulting.com>. GNUstep August 2003 GDOMAP(8)
All times are GMT -4. The time now is 07:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy