Книги автора: Linux Network Administrator Guide, Second Edition
/ Книги автора: Linux Network Administrator Guide, Second Edition
Книга: Linux Network Administrator Guide, Second Edition
mode and default
mode and default
These commands are used to flip the serial line to SLIP mode and configure the interface.
The mode command is the last command executed by dip before going into daemon mode. Unless an error occurs, the command does not return.
mode takes a protocol name as argument. dip currently recognizes SLIP, CSLIP, SLIP6, CSLIP6, PPP, and TERM as valid names. The current version of dip does not understand adaptive SLIP, however.
After enabling SLIP mode on the serial line, dip executes ifconfig to configure the interface as a point-to-point link, and invokes route to set the route to the remote host.
If, in addition, the script executes the default command before mode, dip creates a default route that points to the SLIP link.
Похожие страницы
- Command-Line Network Interface Configuration
- The stty Command
- The modem commands
- The print command
- uucico Command-line Options
- #warning and #error
- 8.5.4 Processing and Printing Text
- Разработка приложений баз данных InterBase на Borland Delphi
- Open Source Insight and Discussion
- Introduction to Microprocessors and Microcontrollers
- Chapter 6. Traversing of tables and chains
- Chapter 8. Saving and restoring large rule-sets