11-30-2001
Temporarily (until next reboot):
ifconfig lan0 IP.ADDRESS up
Permanently:
edit /etc/rc.config.d/netconf
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I am going to shift my Unix workstation to another lab. So I need to change the IP address.
Please tell me how to change the Network IP address, what is the commands, what to take care?
Thank you very much and have a very nice day. (4 Replies)
Discussion started by: champion
4 Replies
2. AIX
I need to change the IP address on one of your Unix machines - P630, AIX5.2.
I plan on using SMIT to perform this function. These are the steps that I have put together so far:
1. Select Communications Applications & Services
- Select TCP/IP
- Select Minimun Configuration & Startup... (2 Replies)
Discussion started by: jyoung
2 Replies
3. IP Networking
Help me save my Unix box. I've had this Unix box (Enterprise 450) for about 7 years now. It was being used as a file server for a Macintosh Prepress department. All of our networking was done through Helios Etharshare. I am still currently up and online (however the location has changed). Our ip... (1 Reply)
Discussion started by: ubed
1 Replies
4. HP-UX
Dear Brothers in Unix
I would like to change some HP-UX settings in order that the system send a message to root it should be copied to my e-mail address in Microsoft Exchange Server.
Please can you help me.
Best Regards and thanks in advance
Gege (2 Replies)
Discussion started by: cgege
2 Replies
5. Shell Programming and Scripting
Hi,
I want to know the IP of my Unix server in my script programming.
Below are the my trial and i didn't find anything useful for me.because i want only IP.
hostname -> Giving the name of the server and
hostanme -i -> Giving the error message that..i am not super user.
ipConfig ->... (7 Replies)
Discussion started by: Balamani
7 Replies
6. AIX
Hi,
I am using aix 5300-07, I am facing strange issue in aix.
I have changed the ip address and gateway of aix server , it is showing the right ip address but it is taking old gateway ip address.
I have used netstat -r command and found it is showing 2 Default gateway.
I want to... (2 Replies)
Discussion started by: manoj.solaris
2 Replies
7. IP Networking
Can someone assist please. I am trying to change IP address on NCR UNIX using tcpconfig but the address wont change!! Using ifconfig -a I still see the old address! This is on an NCR S24 server. (3 Replies)
Discussion started by: Vusi Boutu
3 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I don't have a lot of info, so I'm sure this is a long shot. But figured I'd check to see if this issue rings a bell with anyone.
Two weeks ago a Unix server stopped updating the date. So everyday it shows the same system time. It's been manually changed to the correct date, but then... (2 Replies)
Discussion started by: no_clue
2 Replies
9. IP Networking
My work has a Unix based system that currently has the IP address 192.9.2.25
We recently changed internet providers from DSL to Cable. By doing so, we had to get a new router (Belkin) since the DSL provider had a wireless router/modem in one. With the DSL setup, I was able to change the router's... (2 Replies)
Discussion started by: Len351
2 Replies
10. Forum Support Area for Unregistered Users & Account Problems
Hello
I have had an account for many years.
I have attempted to change the email address associated with my account.
After logging-in to unix.com and revising my email address, I received a 're-verification' email at that new address.
The first link in that email took me to a page with the... (1 Reply)
Discussion started by: irb
1 Replies
LEARN ABOUT DEBIAN
net::dbus::binding::server
Net::DBus::Binding::Server(3pm) User Contributed Perl Documentation Net::DBus::Binding::Server(3pm)
NAME
Net::DBus::Binding::Server - A server to accept incoming connections
SYNOPSIS
Creating a new server and accepting client connections
use Net::DBus::Binding::Server;
my $server = Net::DBus::Binding::Server->new(address => "unix:path=/path/to/socket");
$server->connection_callback(&new_connection);
sub new_connection {
my $connection = shift;
.. work with new connection...
}
Managing the server and new connections in an event loop
my $reactor = Net::DBus::Binding::Reactor->new();
$reactor->manage($server);
$reactor->run();
sub new_connection {
my $connection = shift;
$reactor->manage($connection);
}
DESCRIPTION
A server for receiving connection from client programs. The methods defined on this module have a close correspondance to the
dbus_server_XXX methods in the C API, so for further details on their behaviour, the C API documentation may be of use.
METHODS
my $server = Net::DBus::Binding::Server->new(address => "unix:path=/path/to/socket");
Creates a new server binding it to the socket specified by the "address" parameter.
$status = $server->is_connected();
Returns zero if the server has been disconnected, otherwise a positive value is returned.
$server->disconnect()
Closes this server to the remote host. This method is called automatically during garbage collection (ie in the DESTROY method) if the
programmer forgets to explicitly disconnect.
$server->set_watch_callbacks(&add_watch, &remove_watch, &toggle_watch);
Register a set of callbacks for adding, removing & updating watches in the application's event loop. Each parameter should be a code
reference, which on each invocation, will be supplied with two parameters, the server object and the watch object. If you are using a
"Net::DBus::Binding::Reactor" object as the application event loop, then the 'manage' method on that object will call this on your
behalf.
$server->set_timeout_callbacks(&add_timeout, &remove_timeout, &toggle_timeout);
Register a set of callbacks for adding, removing & updating timeouts in the application's event loop. Each parameter should be a code
reference, which on each invocation, will be supplied with two parameters, the server object and the timeout object. If you are using a
"Net::DBus::Binding::Reactor" object as the application event loop, then the 'manage' method on that object will call this on your
behalf.
$server->set_connection_callback(&handler)
Registers the handler to use for dealing with new incoming connections from clients. The code reference will be invoked each time a new
client connects and supplied with a single parameter which is the "Net::DBus::Binding::Connection" object representing the client.
AUTHOR
Daniel P. Berrange
COPYRIGHT
Copyright (C) 2004-2011 Daniel P. Berrange
SEE ALSO
Net::DBus::Binding::Connection, Net::DBus::Binding::Bus, Net::DBus::Binding::Message::Signal, Net::DBus::Binding::Message::MethodCall,
Net::DBus::Binding::Message::MethodReturn, Net::DBus::Binding::Message::Error
perl v5.14.2 2011-06-30 Net::DBus::Binding::Server(3pm)