公司用无线局域网要设置固定IP才可以上,但UBUNTU自带的network-manage,只能使用DHCP方法上网,用固定IP会导致无法上网。
以下是解决方法:
deb
http://apt.wicd.net gutsy extras 加入到源 方法:系统--系统管理--软件源--第三方软件--添加
更新一下。
sudo apt-get install wicd
安装完成后在应用程序--互联网里可以找到该软件。
好了,以后不管什么样的无线网络,都可以用了。
Installing Wicd in Ubuntu
Installing Wicd in Ubuntu is very simple. You just have to add the Wicd repository to the Ubuntu package manager. To open the package manager in Gnome, go to Administration > Synaptic Package Manager. When it appears, go to Settings > Repositories > Third Party Software > Add..., and enter the following line:
deb
http://apt.wicd.net gutsy extras
where gutsy is your version of Ubuntu in lowercase (dapper, edgy, feisty, gutsy, hardy). Then, click Reload, and wait while the package lists are downloaded. Now, search for "Wicd", and right click on it. Select Install, then press Apply, and Wicd will automatically be downloaded and installed for you. This will also keep you automatically up to date with the latest and greatest version of Wicd. Please note that this will remove network-manager, which is the default GNOME network manager and may cause loss of network connection temporarily.
In GNOME, to get the tray icon to automatically appear at boot, go to System > Preferences > Sessions. In the "Startup Programs" tab, click the "New" button. Give it a name ("Wicd" works fine). For the command, enter "/opt/wicd/tray.py".
In KDE, you'll need to make a desktop file, so see this post for the directions on how to fix it up.