Sponsored Content
Full Discussion: How to grep dhcp ip address
Top Forums Shell Programming and Scripting How to grep dhcp ip address Post 302112418 by chongkls77 on Wednesday 28th of March 2007 03:57:09 AM
Old 03-28-2007
hmm, who am i does not show the user IP address.

presently in the script the display set is hard coded:

DISPLAY=XX.X.XX.XX:0.0
export DISPLAY

how to make the dhcp assigned user IP address update dynamically?
 

10 More Discussions You Might Find Interesting

1. Solaris

Unix terminal re-assigned with wrong IP address from window's DHCP

Hi all, I have this problem that puzzles me, i have setup all the right DHCP configuration in Windows Server. The reservation IP address in windows for this specific unix terminal. However, when i rebooted the unix terminal the IP which was already assigned for this box somehow change to a total... (0 Replies)
Discussion started by: tlee
0 Replies

2. IP Networking

dhcp configuration for MAC address

hi I need a dhcp congfigured to give some of my clients IP regarding their MAC addresses and rest should get any IP from same pool. I am not sure what to add dhcpd.conf to provide such a pool or group or class. I tried with this but seems not good enough. <<<<dhcpd.conf>>>> ... (2 Replies)
Discussion started by: ouzist
2 Replies

3. UNIX for Dummies Questions & Answers

Grep Ip address

I'm looking a Grep or egrep statement that would allow me to exclude the a range of ip address via the last octet example egrep -v "*.*.*.(54|61)" from a syslog file.... would this work? (6 Replies)
Discussion started by: wfleenor
6 Replies

4. UNIX for Advanced & Expert Users

How to get DHCP address change event notification programmatically?

Hello Experts, I am working on a software that has network client-server architecture. I need to have a mechanism that notifies me upon change of dhcp address change locally or at remote machine. Windows have IP Helper APIs to get address change notification. Is there something similar in Unix?... (3 Replies)
Discussion started by: GajendraSharma
3 Replies

5. Debian

Question on the dhcp-server configuration for a fixed IP address.

Hi , when i configure my server with a fixed ip address in dhcpd.conf as below subnet 172.21.151.0 netmask 255.255.255.0 { range 172.21.151.66 172.21.151.66; } host switch { hardware ethernet 00:05:30:02:DB:31; fixed-address 172.21.151.66; } when i start dhcpd server , it... (2 Replies)
Discussion started by: Gopi Krishna P
2 Replies

6. UNIX for Advanced & Expert Users

Doubt on fixed ip address assinged by dhcp server?

we can assign a dynamic and fixed ip address for a dhcp_client through dhcp server , if it is dynamic ip address , it would be having lease time and renews after half of the leasetime gets over. would the same funda applies for fixed ip address to .. i dont think so ... please confirm on the... (3 Replies)
Discussion started by: Gopi Krishna P
3 Replies

7. Red Hat

DHCP Server address

Where can you find your DHCP Server address? I checked all of the files that this mentioned with no luck. Quick HOWTO : Ch08 : Configuring the DHCP Server - Linux Home Networking (6 Replies)
Discussion started by: cokedude
6 Replies

8. Red Hat

Purpose of Static IP address through DHCP

Hi All, Could you please explain the purpose of assigning the static IP by using the DHCP Concept. Like by using the clients MAC address we assign the static IP Address. Waiting for your reply. Thanks in Advance. (6 Replies)
Discussion started by: Sharath Kumar
6 Replies

9. Shell Programming and Scripting

WLAN receiving DHCP-IP Address doesn't work

Hey guys, I run my raspberry pi with a TP-Link Wlan-USB stick. The stick works out of the box with the pi-modded debian. But eventhough the automatic connection to one of the saved WLAN-networks in the file /etc/wpa_supplicant/wpa_supplicant.conf works, my PI doesn't request or receive an... (4 Replies)
Discussion started by: zitronenschwarz
4 Replies

10. IP Networking

Get DHCP relay interfaces IP address using DHCP

Hi All , please view the set up below: ------------------------------------------------------------------- | DHCP Server |-----------| ROUTER & |-----------| Clients | | 192.168.99.1 | - -<eth1>| DHCP-RELAY|<eth2>-- | 192.168.88.X | ... (2 Replies)
Discussion started by: gdangoor
2 Replies
MC-TOOL(1)							     Utilities								MC-TOOL(1)

NAME
mc-tool - manipulate Mission Control accounts from the command line SYNOPSIS
mc-tool list mc-tool add PROFILE DISPLAY-NAME [PARAMETER-SETTINGS...] mc-tool add MANAGER/PROTOCOL [PARAMETER-SETTINGS...] mc-tool update ACCOUNT [PARAMETER-SETTINGS...] mc-tool display ACCOUNT DISPLAY-NAME mc-tool nick ACCOUNT NICKNAME mc-tool icon ACCOUNT ICON mc-tool show ACCOUNT mc-tool get ACCOUNT PARAMETER [PARAMETER...] mc-tool auto-presence ACCOUNT STATUS [MESSAGE] mc-tool request ACCOUNT STATUS [MESSAGE] mc-tool auto-connect ACCOUNT on|off mc-tool remove ACCOUNT DESCRIPTION
mc-tool's usage depends on its first argument (the "command") SPECIFYING ACCOUNTS Where an account name is needed, it may be given as a full object path (e.g. /org/freedesktop/Telepathy/Account/gabble/jabber/example), or as the unique account-specific suffix (e.g. gabble/jabber/example). SPECIFYING PARAMETER SETTINGS Many commands take arguments that represent Telepathy connection manager parameters (see the Telepathy Specification for details of these). Each argument has the following form: TYPE:NAME=VALUE where TYPE is either int, uint, bool, or string (other parameter types exist, but are currently unsupported by mc-tool), NAME is the name of the connection manager parameter (e.g. account or password), and VALUE is the parameter's value (with integers in decimal, and booleans as 0 or 1). The update command also accepts arguments of the form clear:NAME which delete the named parameter from the account configuration. LIST mc-tool list lists the available accounts. ADD mc-tool add adds an account. The connection manager and protocol can either be given as the name of a Mission Control profile, (e.g. gtalk), or as a slash-separated connection manager name and protocol (e.g. gabble/jabber). DISPLAY mc-tool display ACCOUNT DISPLAY-NAME sets the DisplayName property of ACCOUNT to DISPLAY-NAME. NICK mc-tool nick ACCOUNT NICKNAME sets the Nickname property of ACCOUNT to NICKNAME. ICON mc-tool icon ACCOUNT ICON sets the Icon property of ACCOUNT to ICON. SHOW mc-tool show ACCOUNT shows information about ACCOUNT. GET mc-tool get ACCOUNT PARAMETER [PARAMETER...] shows the values of the given parameters of ACCOUNT. ENABLE mc-tool enable ACCOUNT sets the Enabled property of ACCOUNT to True. DISABLE mc-tool disable ACCOUNT sets the Enabled property of ACCOUNT to False. AUTO-PRESENCE mc-tool auto-presence ACCOUNT STATUS [MESSAGE] sets the AutomaticPresence property of ACCOUNT to STATUS with optional message MESSAGE. REQUEST mc-tool request ACCOUNT STATUS [MESSAGE] sets the RequestedPresence property of ACCOUNT to STATUS with optional message MESSAGE; this is how you tell an account to connect or go offline, for example. AUTO-CONNECT mc-tool auto-connect ACCOUNT on sets the ConnectAutomatically property of ACCOUNT to True. mc-tool auto-connect ACCOUNT off sets it to False. Telepathy July 2009 MC-TOOL(1)
All times are GMT -4. The time now is 02:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy