Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How to config WiFi on ThinkPad T530?

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
smartly
Posts: 10
Joined: 2011-05-10 17:28

How to config WiFi on ThinkPad T530?

#1 Post by smartly »

I install all driver and tools.

example:

Code: Select all

apt update
apt install firmware-iwlwifi wpasupplicant
Has been able to scan to WiFi hotspot, like:

Code: Select all

# ifconfig wlan0 create wlandev iwn0
# ifconfig wlan0 up scan
SSID/MESH ID    BSSID                     CHAN RATE   S:N        INT CAPS
dlinkap          00:13:46:49:41:76   11   54M -90:96   100 EPS  WPA WME
freebsdap          00:11:95:c3:0d:ac    1   54M -83:96   100 EPS  WPA
I create wpa config /etc/wpa_supplicant/wpa_supplicant.conf:

Code: Select all

ctrl_interface=/var/run/wpa_supplicant
network={
        ssid="SSID"
        psk="PASSWORD"
}
Try link to my AP:

Code: Select all

# wpa_supplicant -i wlan0 -D bsd -c /etc/wpa_supplicant/wpa_supplicant.conf
But it's failed.
I install kfreebsd 10.3 kernel

User avatar
cpoakes
Posts: 99
Joined: 2015-03-29 04:54

Re: How to config WiFi on ThinkPad T530?

#2 Post by cpoakes »

If the kfreebsd configuration is the same as the linux configuration, try this.

Do not configure wpa_supplicant.conf, but configure /etc/network/interfaces or /etc/network/interfaces.d with the stanza:

Code: Select all

# Wifi
auto wlan0
iface wlan0 inet dhcp
    wpa-essid ESSID
    wpa-psk SHAREDKEY
Substitute the name of your wifi device for "wlan0", your ssid for "ESSID", and the wpa private shared key (NOT passphrase) for "SHAREDKEY".

Use the wpa_passphrase utility to generate the SHAREDKEY from your ssid name and passphrase. Generally:

Code: Select all

wpa_passphrase  ESSID PASSPHRASE
with appropriate substitutions for "ESSID" and "PASSPHRASE".

The wpa_supplicant daemon is implied by the interfaces configuration and automatically started. This is tested on my T530 with jessie and the linux kernel. YMMV with kfreebsd.

smartly
Posts: 10
Joined: 2011-05-10 17:28

Re: How to config WiFi on ThinkPad T530?

#3 Post by smartly »

thank you, i know your mean.

but, how to create wlan0 from iwn0?

Post Reply