Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/i/if_up.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/i/if_up.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/i/if_up.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/i/if_up.html on line 8

if_up

Ensure a TCP/IP interface is available


Note: If you are not root, specify the full path: /usr/sbin/if_up.

Syntax:

if_up [-ap] [-r retries] [-s seconds] interface...

Runs on:

Neutrino

Options:

-a
Wait until all specified interfaces are configured. The default is to wait until a single interface is configured.
-p
Wait only until the specified interfaces are present. The default is to wait until the interfaces are both present and configured. This is useful if you intend to configure the interface manually, after it is present (e.g. using the ifconfig utility).
-r retries
The number of times to walk the interface list. The default is 5.
-s seconds
Wait this number of seconds before rewalking the interface list. The default is 1.
interface
Name of the interface to wait on (e.g. en0, en1, …).

Description:

You can use this convenience utility while booting to ensure a TCP/IP interface is available to those utilities that require one. It's primarily intended for use with the dhcp.client. When if_up is run in the foreground in a startup script, the script doesn't continue until the specified interfaces are marked as “UP” and have been assigned an IP address, or the utility has timed out.

Examples:

See dhcp.client.

Files:

libsocket.so
The if_up utility requires the libsocket.so shared library.
/usr/sbin/if_up
The if_up utility is located in the /usr/sbin/ directory, which is not included in the default PATH of non-root users. If you are not root, specify the full path.

Exit status:

0
Success.
>0
An error occurred.

Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/i/if_up.html on line 148

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/i/if_up.html on line 148