以太网
上一页
下一页

以太网

以太网适配器是当今使用最普遍的网络接口。以太网通过电缆物理上地连接你的宽带调制解调器,路由器,交换机或者另一台PC。使用最普遍的是电缆是5类电缆(CAT-5)。它看起来类似电话电缆,但事实上这种电缆里面有8根电线而电话只有4根。若想知道CAT-5 电缆的样子,请参看ulink url="http://en.wikipedia.org/wiki/Cat-5"/>。

大部分使用这些以太网形式来连接是不会出任何问题的。如果你使用这种连接确实出现连接问题,下面的内容可以帮助你修复问题。

基于 GUI 的问题解决和设置

KMenu系统设置+网络设置

From within the Network Connection window there is a tab named Network Interfaces. Hopefully you will see your adapter labeled something like eth0. If there is an issue with the card or the settings, usually the system will automatically disable the card. If the card is disabled, you will see X Disabled under the State column. To enable the device, simply press the Administrator Mode... at the bottom of the window. This will open a password dialog in which you enter your username's password. Once you have entered this mode, simply press the Enable Interface button. If there are issues enabling the device, you will be notified with an error. To see the settings of this device, press the Configure Interface... button. The window that opens will allow you to manually configure your network settings to match your network.

基于命令行的故障排除和设定

KMenu系统Konsole (Terminal Program)

用户所要使用的主文件是/etc/network/interfaces。典型的默认interfaces文件内容如下:

例 4. /etc/network/interfaces

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet dhcp

KNetworkManager 警告

如果你打算使用KNetworkManager配置程序,建议你不要修改文件/etc/network/interfaces除非必须修改才能让网卡工作。如果手动修改了文件 /etc/network/interfaces那么KNetworkManager将无法正常工作。

上一页
下一页
起始页