First step: I have to make the wireless Ethernet Card start to work for my Lenovo w520 with Debian installed. Initially, I installed the packageFirmware-iwlwifi, Which contains the firmware for Intel Wireless 1000 inside Lenovo w520. however, only with this firmware, the wireless ethernet card still couldn't be recognized. Then, I downloadedCompat-wireless-3.6.6-1.tar.bz2. After compilation and installation (Note: To compile this package,Linux-headersShoshould be installed), the Intel Wireless Ethernet Card started normally! With a full GNOME desktop environment installed, which containsGnome-Desktop-EnvironmentPackage, an icon for the network connection (this isNetwork-Manager-GnomePackage) will be displayed in the top panel, from which we can find wireless network access point. however, if there is no such desktop environment, commands can still be used to connect to the Internet. this web page contains a full list of related commands, which is quite helpful. to have some of the wireless related commands available on your system,Wireless-ToolsPackage shoshould be installed. Then, the following procedures can be used to start a WLAN connection:
Activate the wireless Ethernet Card
Ifconfig [interface] Up
Here [interface] is usuallyWlan0.
Get a list of available access points
Iwlist [interface] Scan
Specify Essid of the WLAN
Iwconfig [interface] Essid "Essid name"
Get a IP Address
Dhclient [interface]
Second step: I shoshould have a permanent Internet Access Point wherever I go. in Switzerland, there are three communication companies: Swisscom, sunrise and orange. swisscom is just like China Mobile, which is the most expensive, but has the best performance. however it also has the strictest requirements on your residence permit. so normally for a short period of residence in Switzerland, you do not have the rights to apply a cost efficient and fast speed Internet access. for the orange, it is the cheapest but has poor net speed according to some forum. therefore, I finally selected sunrise SIM card for mobile with 2.5 Mb/s 3G network transfer speed and 1 GB Data volume per month, which costs only 19 CHF per month. meanwhile, you will also get a local mobile phone number, with this number, you can receive the access password for public WLANs. I am also excited to find out that iPhone has a function namedPersonal hotspot, Which can transform your iPhone into a wireless router.
Now, I can use Skype on iPhone to make internal phone call and in the meantime surf the Internet using iPhone wireless hotspot. This is so great!