09-07-2010
I've removed using netconfig.
BTW what's LAN Manager Client ?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am brand new to UNIX and have been given the task to remove veritas volume manager 3.5 mirroring and install Disksuite mirror on two Solaris 5.8 servers. Does anyone know where I can find step by step instructions to perform these tasks?
Thanks (1 Reply)
Discussion started by: mg2
1 Replies
2. Solaris
Hi ,
I am trying to configure a private LAN and corporate LAN on the same machien on Solaris 10.
How can I achieve this?
Thanks (1 Reply)
Discussion started by: deedee
1 Replies
3. Solaris
I am brand new to UNIX and have been given the task to remove veritas volume manager 3.5 mirroring and install Disksuite mirror from two Solaris 5.8 servers. I have seen many plans but they are very confusing since I am so new. Does anyone know where I can find step by step instructions to... (2 Replies)
Discussion started by: mg2
2 Replies
4. AIX
To summarize the problem: The "IBM FastT Storage Manager Client v8" shows that our Disk Farm is arranged into 6 logical drives each in a RAID 5 configuration. This software also shows that 5 of the 6 logical drives (from Disk Farm) are in a error state: "Failed Logical Drive - Drive Failure".... (1 Reply)
Discussion started by: aix-olympics
1 Replies
5. Solaris
Can somebody kindly help me to determine which one i should choose to better manipulate OS volume.
RAID manager or veritas volume manager?
Any critical differences between those two?
Thanks in advance. (5 Replies)
Discussion started by: beginningDBA
5 Replies
6. IP Networking
Hi,
We have a website running on a local centos 5.4 surfer, static IP.
The domain.com uses no-ip.com to take care of the DNS, it forwards all to my server.
My router receives the port 80 call, routes it to my server and the world can see domain.com perfectly fine.
However, we cannot see... (3 Replies)
Discussion started by: lawstudent
3 Replies
7. Red Hat
I am facing strange problem regarding hostname on my Linux(2.6.18-164.el5xen x86_64 GNU/Linux), the hostname changes if reboot with lan cable and with NO lan cable
Reboot with lan cable:
The hostname is ubunut
Unable to connect Oracle database using sqlplus some times database is not... (2 Replies)
Discussion started by: LinuxLearner
2 Replies
8. UNIX Desktop Questions & Answers
hi
I'm looking for a slim and quite comfortable window manager for a unix/linux thin client? (5 Replies)
Discussion started by: ccc
5 Replies
9. AIX
Hi.
I change my client's IP and hostname but I forgot to change anything on the master. How can I redefine or modify my client's resource from my master, or with using smit niminit from my client ?
Tks (2 Replies)
Discussion started by: stephnane
2 Replies
10. Shell Programming and Scripting
Hi!
I'm totally new here. I have a script that I am working on, but so far it is not rock solid in its performance. Perhaps someone can tell me if i am thinking wrong anywhere. Below the code:
#! /bin/bash
clear
cd... (0 Replies)
Discussion started by: dr_xemacs
0 Replies
LEARN ABOUT NETBSD
endnetpath
GETNETPATH(3) BSD Library Functions Manual GETNETPATH(3)
NAME
getnetpath, setnetpath, endnetpath -- get /etc/netconfig entry corresponding to NETPATH component
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <netconfig.h>
struct netconfig *
getnetpath(void *handlep);
void *
setnetpath(void);
int
endnetpath(void *handlep);
DESCRIPTION
The routines described in this page provide the application access to the system network configuration database, /etc/netconfig, as it is
``filtered'' by the NETPATH environment variable (see environ(7)). See getnetconfig(3) for other routines that also access the network con-
figuration database directly. The NETPATH variable is a list of colon-separated network identifiers.
getnetpath() returns a pointer to the netconfig database entry corresponding to the first valid NETPATH component. The netconfig entry is
formatted as a struct netconfig. On each subsequent call, getnetpath() returns a pointer to the netconfig entry that corresponds to the next
valid NETPATH component. getnetpath() can thus be used to search the netconfig database for all networks included in the NETPATH variable.
When NETPATH has been exhausted, getnetpath() returns NULL.
A call to setnetpath() ``binds'' to or ``rewinds'' NETPATH. setnetpath() must be called before the first call to getnetpath() and may be
called at any other time. It returns a handle that is used by getnetpath().
getnetpath() silently ignores invalid NETPATH components. A NETPATH component is invalid if there is no corresponding entry in the netconfig
database.
If the NETPATH variable is unset, getnetpath() behaves as if NETPATH were set to the sequence of ``default'' or ``visible'' networks in the
netconfig database, in the order in which they are listed.
endnetpath() may be called to ``unbind'' from NETPATH when processing is complete, releasing resources for reuse. Programmers should be
aware, however, that endnetpath() frees all memory allocated by getnetpath() for the struct netconfig data structure.
RETURN VALUES
setnetpath() returns a handle that is used by getnetpath(). In case of an error, setnetpath() returns NULL.
endnetpath() returns 0 on success and -1 on failure (for example, if setnetpath() was not called previously). nc_perror() or nc_sperror()
can be used to print out the reason for failure. See getnetconfig(3).
When first called, getnetpath() returns a pointer to the netconfig database entry corresponding to the first valid NETPATH component. When
NETPATH has been exhausted, getnetpath() returns NULL.
SEE ALSO
getnetconfig(3), netconfig(5), environ(7)
BSD
April 22, 2000 BSD