在ubuntulinux无线网卡的设置是很简单的,但是如果你不小心丢失了你的设置怎么办,或者突然无线网络不能使用了?我就是使用下面的网络配置来重新启动我的无线网络的。注意,我们使用我的“有线”网卡。
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# auto dsl-provider
# iface dsl-provider inet ppp
# provider dsl-provider
# added by pppoeconf
auto eth1
iface eth1 inet static
address 192.168.0.3
netmask 255.255.255.0
gateway 192.168.0.1
wireless-essid gentoo
# wireless-rate auto
# wireless-mode Managed
# wireless-ap 00:15:E9:0A:B0:7C
# wireless-channel 1
wireless-key s:wep_passwd
iface eth0 inet static
address 192.168.0.119
netmask 255.255.255.0
gateway 192.168.0.1
No comments:
Post a Comment