9 More Discussions You Might Find Interesting
1. Red Hat
Hi
When there is two or three internet lines How can you ping lost latest to try to cover loadbalance
csf or iptables can do Loadbalance?
Thanks (7 Replies)
Discussion started by: mnnn
7 Replies
2. IP Networking
How to enable internet on my Linux OS
My OS: Red Hat Fedora
Release 9 (Sulphur)
version: 2.6
I have to connect via my Nokia cell phone via cable.
This way only I had been using internet on my Windows OS.
If any software is required to install on my UNIX for internet, then I don't have any. If... (14 Replies)
Discussion started by: ravisingh
14 Replies
3. Red Hat
What all is required so that I can use internet on my Linux OS
My OS: Red Hat Fedora
version: 2.6
I have to connect via my Nokia cell phone via cable.
This way only I had been using internet on my Windows OS.
If any software is required to install on my UNIX for internet, then I don't... (1 Reply)
Discussion started by: ravisingh
1 Replies
4. Red Hat
Hi,
Could some please help me in configuring wireles internet on redhat linux installed on my laptop.
When I booted using windows, I saw the following, which I think is the name of my laptop's wireless card:
Intel(R) PRO/Wireless 3945ABG Network Connection
I have run the following steps... (9 Replies)
Discussion started by: girish1428
9 Replies
5. Red Hat
Hi
I have an issue regarding configuration of IP to my linux machine.
I have installed linux EL4 on intel machine(with gigabyte motherbaord, sata hard disk, Edimax lan card) since realtek was not supporting it.
errors in configuration of ipaddress in Linux EL4:
The mother board is... (0 Replies)
Discussion started by: risingstar
0 Replies
6. SuSE
:mad: iam connecting to internet using gprs ccellphone in windows
in linux how to connect to gprs internet
presently iam using linux distribution opensuse 10.3
my phone is LGB2070
using com1 port
the driver for windows is in .inf format
... (4 Replies)
Discussion started by: seshumohan
4 Replies
7. Linux
I am a new learner of linux, my friend told me that it is very good
to learn linux, so I dropped the idea of deleting it but now I faced
a problem again , how am I going to set my computer to connect to my ISP and other computers?? (1 Reply)
Discussion started by: terrychen0804
1 Replies
8. IP Networking
I just installed linux7.0 in a remote machine-no networking-nothing-I installed it as a Workstation without any networking information. I am trying to configure the internet but cannot do it. I have a cable internet at home.Acc.to the book it said log in as a root and choose... (3 Replies)
Discussion started by: sushmabedi
3 Replies
9. UNIX for Dummies Questions & Answers
Ok, I'm kind of in between newbie and experienced somewhere. I'm an advanced computer user but only have a little experience with linux and a lot of problems with it. Currently I'm using Linux-Mandrake 8.0 (I know, I know, but let's not go into the many reasons why it's not even close to the best... (2 Replies)
Discussion started by: Nazo
2 Replies
getnetpath(3NSL) Networking Services Library Functions getnetpath(3NSL)
NAME
getnetpath, setnetpath, endnetpath - get /etc/netconfig entry corresponding to NETPATH component
SYNOPSIS
#include <netconfig.h>
struct netconfig *getnetpath(void *handlep);
void *setnetpath(void);
int endnetpath(void *handlep);
DESCRIPTION
The routines described on this page are part of the Network Selection component. They provide the application access to the system network
configuration database, /etc/netconfig, as it is "filtered" by the NETPATH environment variable. See environ(5). See getnetconfig(3NSL) for
other routines that also access the network configuration 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 vari-
able. 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 netcon-
fig 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. endnetpath() returns
0 on success and -1 on failure (for example, if setnetpath() was not called previously).
RETURN VALUES
setnetpath() returns a handle that is used by getnetpath(). In case of an error, setnetpath() returns NULL. nc_perror() or nc_sperror() can
be used to print out the reason for failure. See getnetconfig(3NSL).
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.
endnetpath() returns 0 on success and -1 on failure (for example, if setnetpath() was not called previously).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
getnetconfig(3NSL), netconfig(4), attributes(5), environ(5)
SunOS 5.10 30 Dec 1996 getnetpath(3NSL)