07-11-2011
How to find DHCP IP and update
I have a similar problem and I have a solution that I've used for many years and has worked without much of a glitch.
First on my home server I have lynx installed, using it I have a script to get the ip by calling w w w . whatismyip . com (or another of the IP services), then I send an eMail with it and I update my home page on the homepage served by my ISP for my server.
9 More Discussions You Might Find Interesting
1. AIX
Hi all,
today I could not telnet in AIX 5.2 cause I received the error
"telnetd: All network ports in use".
To allow users to telnet again I increased the number of ptys from default 256 to the new number 512.
To avoid the same problem in the future and for a better understanding, I need... (2 Replies)
Discussion started by: l-roner
2 Replies
2. Programming
i am looking for a good example to explain *why* someone should use pty's. (3 Replies)
Discussion started by: grumpf
3 Replies
3. Shell Programming and Scripting
Hi,
We have around 200 SUN Servers in production environment and I have one box from where I manage all the servers. It's setup such that I can SSH from my box onto all the 200 servers with without supplying password. It is working fine but sometimes we notice the keys getting changed and asking... (0 Replies)
Discussion started by: prvnrk
0 Replies
4. UNIX for Advanced & Expert Users
Hi,
We have around 200 SUN Servers in production environment and I have one box from where I manage all the servers. It's setup such that I can SSH from my box onto all the 200 servers with without supplying password. It is working fine but sometimes we notice the keys getting changed and asking... (1 Reply)
Discussion started by: prvnrk
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
According to my understanding tty files that are available in /dev directory are terminals that are given to different users.
please help me understand what are /pty files, like are they drivers to the devices..
also is the default tty terminal given to a user.. (2 Replies)
Discussion started by: saharookiedba
2 Replies
6. Programming
I've been experimenting with pseudo-terminals and found something I don't quite understand. Writing an EOF character to the master end doesn't work quite as I expect. Once I've written any other data, the master pty seems to treat a single ^D as a seperator, i.e. writing "abcabc" would let cat do... (1 Reply)
Discussion started by: Corona688
1 Replies
7. Post Here to Contact Site Administrators and Moderators
I previously posted a question in the Shell Scripting forum a few minutes ago. I recieved a message telling me I had breached a rule, apparently because my post was a homework infraction. Well, im currently trying to figure out how to use Raspberry Pi's (as im a starter)
I asked one of my... (1 Reply)
Discussion started by: Waggie14
1 Replies
8. Shell Programming and Scripting
Hi
I have an ssh 'for' loop script to login and put a key on multiple servers. I need to append a file on each server but the command which works ok from the prompt does not work via the script. I have
cat filename | ssh user@servername "cat >>append.file.name"
I have tried to 'spawn' this in... (0 Replies)
Discussion started by: Grueben
0 Replies
9. Ubuntu
Hi,
I copied the key of rsa.pub to authorized_keys using the below command
cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys
By mistake i have executed another command
view cat /root/.ssh/id_rsa.pub >> /root/.ssh/authorized_keys
so now additional keys are copied.so please help me... (3 Replies)
Discussion started by: SA_Palani
3 Replies
LEARN ABOUT DEBIAN
ns_server
ns_info(3aolserver) AOLserver Built-In Commands ns_info(3aolserver)
__________________________________________________________________________________________________________________________________________________
NAME
ns_info, ns_server, ns_stats - commands
SYNOPSIS
ns_info address
ns_info argv0
ns_info boottime
ns_info builddate
ns_info config
ns_info home
ns_info hostname
ns_info interp
ns_info label
ns_info log
ns_info name
ns_info pageroot
ns_info platform
ns_info server
ns_info tcllib
ns_info uptime
ns_info version
ns_server option ?arg arg ...?
ns_stats option ?arg arg ...?
_________________________________________________________________
DESCRIPTION
ns_info boottime
Returns the server boot time in seconds.
ns_info config
Returns the configuration file name.
ns_info home
Returns the directory where the AOLserver was installed.
ns_info hostname
Returns the name of the host on which server is running (e.g., www.myhost.com).
ns_info interp
Returns the number of the Tcl interpreter currently being used.
ns_info label
Returns the source code label for the server. If no label was used, "unlabeled" is returned.
ns_info log
Returns the location of the server log file (e.g., /home/myserver/log/server.log).
ns_info name
Returns the name of the AOLserver. It's usually "AOLserver."
ns_info pageroot
returns the directory containing the HTML pages for this virtual server.
ns_info platform
Returns the name of the platform that the server is running on (e.g., Solaris).
ns_info server
returns the name of this virtual server.
ns_info tcllib returns the directory where the AOLserver Tcl source code resides for this virtual server.
ns_info uptime returns the time in seconds that the server has been up.
ns_info version returns the version of the AOLserver.
SEE ALSO
nsd(1), info(n)
KEYWORDS
AOLserver 4.0 ns_info(3aolserver)