Vào 16:18:01 UTC+7 Thứ năm, ngày 28 tháng mười một năm 2013, phan tan phu đã
viết:
Bác gõ ip link để biết tên card wifi, thường là wlxxx.
---
[root@skell skell]# ip link
1: lo: LOOPBACK,UP,LOWER_UP mtu 65536 qdisc noqueue state UNKNOWN mode
DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp14s0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc pfifo_fast state
UP mode DEFAULT group default qlen 1000
link/ether 30:f9:ed:a3:15:f3 brd ff:ff:ff:ff:ff:ff
[root@skell skell]# iwconfig
enp14s0 no wireless extensions.
lono wireless extensions.
Xem file kèm theo iw_scan_output.txt. Có vẻ như SONY chưa được hỗ trơ nhiều
về mục wifi nên kiếm trong ndiswrapper cũng vắng bóng luôn.Usage: iw [options] command
Options:
--debug enable netlink debugging
--version show version (3.11)
Commands:
help [command]
Print usage for all or a specific command, e.g.
help wowlan or help wowlan enable.
event [-t] [-r] [-f]
Monitor events from the kernel.
-t - print timestamp
-r - print relative timstamp
-f - print full frame for auth/assoc etc.
features
commands
list all known commands and their decimal hex value
phy
list
List all wireless devices and their capabilities.
phy phyname info
Show capabilities for the specified wireless device.
dev
List all network interfaces for wireless hardware.
dev devname info
Show information for this interface.
dev devname del
Remove this virtual interface
dev devname interface add name type type [mesh_id meshid]
[4addr on|off] [flags flag*]
phy phyname interface add name type type [mesh_id meshid]
[4addr on|off] [flags flag*]
Add a new virtual interface with the given configuration.
Valid interface types are: managed, ibss, monitor, mesh, wds.
The flags are only used for monitor interfaces, valid flags are:
none: no special flags
fcsfail: show frames with FCS errors
control: show control frames
otherbss: show frames from other BSSes
cook: use cooked mode
active: use active mode (ACK incoming unicast packets)
The mesh_id is used only for mesh mode.
dev devname ibss join SSID freq in MHz [HT20|HT40+|HT40-|NOHT]
[fixed-freq] [fixed bssid] [beacon-interval TU] [basic-rates rate in
Mbps,rate2,...] [mcast-rate rate in Mbps] [key d:0:abcde]
Join the IBSS cell with the given SSID, if it doesn't exist
create
it on the given frequency. When fixed frequency is requested,
don't
join/create a cell on a different frequency. When a fixed BSSID
is
requested use that BSSID and do not adopt another cell's BSSID
even
if it has higher TSF and the same SSID. If an IBSS is created,
create
it with the specified basic-rates, multicast-rate and
beacon-interval.
dev devname ibss leave
Leave the current IBSS cell.
dev devname station dump
List all stations known, e.g. the AP on managed interfaces
dev devname station set MAC address mesh_power_mode
active|light|deep
Set link-specific mesh power mode for this station
dev devname station set MAC address vlan ifindex
Set an AP VLAN for this station.
dev devname station set MAC address plink_action open|block
Set mesh peer link action for this station (peer).
dev devname station del MAC address
Remove the given station entry (use with caution!)
dev devname station get MAC address
Get information for a specific station.
dev devname survey dump
List all gathered channel survey data
dev devname mesh leave
Leave a mesh.
dev devname mesh join mesh ID [mcast-rate rate in Mbps]
[beacon-interval time in TUs] [dtim-period value] [vendor_sync on|off]
[param=value]*
Join a mesh with the given mesh ID with mcast-rate and mesh
parameters.
dev devname mpath dump
List known mesh paths.
dev devname mpath set destination MAC address next_hop next hop
MAC address
Set an existing mesh path's next hop.
dev devname mpath new destination MAC address next_hop next hop
MAC address
Create a new mesh path (instead of relying on automatic
discovery).
dev devname mpath del MAC address
Remove the mesh path to the given node.
dev devname