# sudo nmcli d wifi connect
aterm-d5a4ee-g password hoge ifname wlan0
# nmcli d
DEVICE TYPE
STATE CONNECTION
eth0 ethernet connected
Wired connection 1
wlan0 wifi
connected aterm-d5a4ee-g
lo loopback
unmanaged --
# ifconfig wlan0
wlan0:
flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu
1500
inet
192.168.10.108 netmask 255.255.255.0 broadcast
192.168.10.255
inet6
fe80::fec9:a54f:c653:5616 prefixlen 64 scopeid
0x20<link>
ether
12:42:8b:ee:a2:61 txqueuelen 1000 (Ethernet)
RX packets
132 bytes 16793 (16.7 KB)
RX errors
0 dropped 0 overruns 0 frame 0
TX packets
32 bytes 4624 (4.6 KB)
TX errors
0 dropped 0 overruns 0 carrier 0
collisions 0
|