| 610 |
|
|
| 611 |
\section{Network Configuration} |
\section{Network Configuration} |
| 612 |
|
|
|
<<<<<<< .mine |
|
| 613 |
The device names for real network interfaces in Linux are named \code{ethx} (\code{x} is |
The device names for real network interfaces in Linux are named \code{ethx} (\code{x} is |
| 614 |
\code{0--9}). If the device has a switch, the different ports are separated via VLAN |
\code{0--9}). If the device has a switch, the different ports are separated via VLAN |
| 615 |
technology. The vlan interfaces are named \code{ethx.y}. The network configuration in |
technology. The vlan interfaces are named \code{ethx.y}. The network configuration in |
| 617 |
command configures the network interfaces. There is no \app{ifconfig} or \app{route}, you can activate |
command configures the network interfaces. There is no \app{ifconfig} or \app{route}, you can activate |
| 618 |
it in the ADK menue, if you like. |
it in the ADK menue, if you like. |
| 619 |
|
|
|
======= |
|
|
The device names for real network interfaces in Linux are named \code{ethx} |
|
|
(\code{x} is \code{0--9}). If the device has a switch, the different ports are |
|
|
separated via VLAN technology. The vlan interfaces are named \code{ethx.y}. |
|
|
The network configuration in FreeWRT is managed via \app{Busybox}'s |
|
|
\app{ifupdown} implementation. \app{Busybox}'s builtin \app{ip} command |
|
|
configures the network interfaces. There is no \app{ifconfig} or \app{route}. |
|
|
>>>>>>> .r2546 |
|
| 620 |
To show all configured network interfaces use: |
To show all configured network interfaces use: |
| 621 |
\begin{Verbatim}[label=show IP address] |
\begin{Verbatim}[label=show IP address] |
| 622 |
$ ip addr show |
$ ip addr show |
| 636 |
<option-z> <value> |
<option-z> <value> |
| 637 |
\end{Verbatim} |
\end{Verbatim} |
| 638 |
|
|
|
<<<<<<< .mine |
|
| 639 |
<b>ATTENTION: Be sure you have no whitespaces at the and of any value!</b> |
<b>ATTENTION: Be sure you have no whitespaces at the and of any value!</b> |
| 640 |
|
|
| 641 |
\code{auto <iface-name>} is optional and, if set, tells the \app{ifup} script to |
\code{auto <iface-name>} is optional and, if set, tells the \app{ifup} script to |
| 642 |
start this interface automatically on bootup. |
start this interface automatically on bootup. |
|
======= |
|
|
\code{auto <iface-name>} is optional and, if set, tells the \app{ifup} script |
|
|
to start this interface automatically on bootup. |
|
|
>>>>>>> .r2546 |
|
| 643 |
|
|
| 644 |
Each interface needs a unique name which, depending on the method, represents |
Each interface needs a unique name which, depending on the method, represents |
| 645 |
either a physical interface or a logical interface name like \code{eth0.1} for |
either a physical interface or a logical interface name like \code{eth0.1} for |