{"id":1375,"date":"2022-02-15T14:33:40","date_gmt":"2022-02-15T14:33:40","guid":{"rendered":"\/blog\/?p=1375"},"modified":"2022-02-15T15:25:30","modified_gmt":"2022-02-15T15:25:30","slug":"connect-to-wpa-wifi-ap-in-solaris-11","status":"publish","type":"post","link":"\/blog\/index.php\/connect-to-wpa-wifi-ap-in-solaris-11\/","title":{"rendered":"Connect to WPA Wifi AP in Solaris 11"},"content":{"rendered":"\n<p>Very few network cards are supported, in this case i have an Ateros chipset card i plugged off from an acer aspire one<\/p>\n\n\n\n<p><code>root@solaris01:~# dladm show-phys<br>LINK MEDIA STATE SPEED DUPLEX DEVICE<br>net0 Ethernet unknown 100 full bfe0<br>net1 WiFi up 54 unknown arn0<\/code><\/p>\n\n\n\n<p>Create the ip address object<\/p>\n\n\n\n<p><code>root@solaris01:~# ipadm create-ip net1<\/code><\/p>\n\n\n\n<p>Verify the nic has been created as an ipadm object<\/p>\n\n\n\n<p><code>root@solaris01:~# ipadm show-if<br>IFNAME CLASS STATE ACTIVE OVER<br>lo0 loopback ok yes --<br>net0 ip ok yes --<br>net1 ip ok yes --<\/code><\/p>\n\n\n\n<p>Scan wifi networks<\/p>\n\n\n\n<p><code>root@solaris01:~# dladm scan-wifi<br>LINK ESSID BSSID SEC STRENGTH MODE SPEED<br>net1 DunderMifflin 4:95:e6:de:d6:f1 wpa excellent n 54Mb<\/code><\/p>\n\n\n\n<p>Create the encrypted object to store the wpa key<\/p>\n\n\n\n<p><code>root@solaris01:~# dladm create-secobj -c wpa mykey<br>provide value for mykey: <em><br>confirm value for mkey:<\/em><\/code><\/p>\n\n\n\n<p>Connect to the network<\/p>\n\n\n\n<p><code>root@solaris01:~# dladm connect-wifi -e DunderMifflin -k mykey<br>root@solaris01:~# ipadm create-addr -T dhcp net1<\/code><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Very few network cards are supported, in this case i have an Ateros chipset card i plugged off from an acer aspire one root@solaris01:~# dladm show-physLINK MEDIA STATE SPEED DUPLEX DEVICEnet0 Ethernet unknown 100 full bfe0net1 WiFi up 54 unknown arn0 Create the ip address object root@solaris01:~# ipadm create-ip net1 Verify the nic has been [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1375","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1375","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1375"}],"version-history":[{"count":2,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1375\/revisions"}],"predecessor-version":[{"id":1378,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1375\/revisions\/1378"}],"wp:attachment":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1375"},{"taxonomy":"post_tag","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}