12-28-2001
yea I got it in /etc/netconfig
But when I execute this command it gave me the following messages:
./netconfig: udp6: not found
./netconfig: tcp6: not found
./netconfig: udp: not found
./netconfig: tcp: not found
.....
What shoud I do ?
10 More Discussions You Might Find Interesting
1. IP Networking
Hi all:-
I am using Sun8 Intel PC in a network and have IP allocated by DHCP. Now I got a static IP and want to configure my PC for this new IP and disable DHCP. How can I do that ?
Thanks in advance (3 Replies)
Discussion started by: s_aamir
3 Replies
2. Windows & DOS: Issues & Discussions
Pls could you help me diagnose my problem. I have a system which is a DHCP server and also the Remote Access Server. The DHCP server allocate normal address within the scope range to the LAN system. why it allocates abitrary number such as
169.254.217.90
255.255.0.0 class B address to the remote... (1 Reply)
Discussion started by: kayode
1 Replies
3. Solaris
Hello everybody
I have a very annoying problem on my Solaris (Unix in general) servers. When I open a shell and press the backspace button, it results in a ^H character being printed on screen. I can resolve it by typing stty erase <backspace>, but does anyone know how I can prevent the... (3 Replies)
Discussion started by: soliberus
3 Replies
4. UNIX for Dummies Questions & Answers
ok the assignment question:
That English paper you were writing on the works of Lewis Carroll is due in a few hours and you have forgeotten the name of the text file in which you has written a number of quotations to use in your paper. Luckily, you know that the file is somewhere in your... (1 Reply)
Discussion started by: mek86
1 Replies
5. Shell Programming and Scripting
Hi
I have a file wich contains ^M characters, looks like these are from DOS,
Is there a way to get rid of them? Thanks -A (3 Replies)
Discussion started by: aoussenko
3 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
Im selecting a large record from a table and putting it in a file in the unix box. The file has a hidden character "^[[D " present in it. Can any one help me in getting rid of the character
Thanks in advance, (4 Replies)
Discussion started by: madhan@29
4 Replies
7. Shell Programming and Scripting
hi,
I want to get rid of ' from my variable value in ksh, and I also want to read the value on the right hand side of = into a variable
thanks (10 Replies)
Discussion started by: JamesByars
10 Replies
8. Linux
Hi all,
I am new to unix....pls help me with this.
I have a binary file generating output by passing arguments in bash.when i open the output file in VI i can see that ^m is included in between most of lines,as a result when i pass this file to my java application it dosent parse the data... (3 Replies)
Discussion started by: asheshrocky
3 Replies
9. Shell Programming and Scripting
I have a text file with hundreds of 32-character hash codes in it, each terminated with a linefeed (/l, or ^M).
185ead08e45a5cbb51e9f7b0b384aaa2
57643e1a17252a9fc746d49c3da04168
60cba11d09221d52aaabb5db30f408a2
2b75ee6e5c2efc31b4ee9a190d09a4df
...... etc.
I want to create a file for each... (6 Replies)
Discussion started by: teledon
6 Replies
10. Solaris
I have two simple questions
First is :can dhcp server NATIVE of solaris perform dhcp
updates of bind via dnssec like dchpd on linux?
Second: Is possible to build a pdc with samba and iplanet ldap server?Or is better with openldap?
I never found howto or discussions about iplanet server.
Thanks (0 Replies)
Discussion started by: Linusolaradm1
0 Replies
LEARN ABOUT MOJAVE
getnetpath
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.
The getnetpath() function returns a pointer to the netconfig database entry corresponding to the first valid NETPATH component. The netcon-
fig entry is formatted as a struct netconfig. On each subsequent call, getnetpath() returns a pointer to the netconfig entry that corre-
sponds to the next valid NETPATH component. The getnetpath() function 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. The setnetpath() function 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().
The getnetpath() function 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.
The endnetpath() function 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
The setnetpath() function returns a handle that is used by getnetpath(). In case of an error, setnetpath() returns NULL.
The endnetpath() function returns 0 on success and -1 on failure (for example, if setnetpath() was not called previously). The nc_perror()
or nc_sperror() function 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