{"id":669,"date":"2024-01-14T13:39:56","date_gmt":"2024-01-14T13:39:56","guid":{"rendered":"https:\/\/marinelvis.ro\/?p=669"},"modified":"2024-01-14T13:39:56","modified_gmt":"2024-01-14T13:39:56","slug":"activare-interfata-wifi","status":"publish","type":"post","link":"https:\/\/marinelvis.xyz\/index.php\/2024\/01\/14\/activare-interfata-wifi\/","title":{"rendered":"ACTIVARE INTERFATA WIFI"},"content":{"rendered":"<p>Pentru modulul PCI-E Broadcom \u00a0BCM43228:<br \/>\nSe introduc componentele <em>contrib non-free-firmware non-free<\/em> in surse:<\/p>\n<pre>nano \/etc\/apt\/sources.list<\/pre>\n<p>Se actualizeaza sursele:<\/p>\n<pre>apt update<\/pre>\n<p>Se instaleaza <em>linux-headers<\/em> si pachetul <em>broadcom-sta-dkms<\/em>:<\/p>\n<pre>apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms<\/pre>\n<p>In felul asta se instaleaza si <em>wireless-tools<\/em>. <em>DKMS<\/em> construieste modulul <em>wl<\/em> in sistem.<br \/>\nDaca instalarea esueaza:<\/p>\n<pre>apt-get install -f \ndpkg-reconfigure broadcom-sta-dkms<\/pre>\n<p>Se verifica modulele instalate de <em>DKMS<\/em> in kernel. Modulul <em>wl.ko<\/em> trebuie sa fie listat:<\/p>\n<pre>find \/lib\/modules\/$(uname -r)\/updates<\/pre>\n<p>Se dezactiveaza modulele care pot creea conflicte:<\/p>\n<pre>modprobe -r b44 b43 b43legacy ssb brcmsmac bcma<\/pre>\n<p>Se incarca modulul <em>wl.ko<\/em>:<\/p>\n<pre>modprobe wl<\/pre>\n<p>In Webmin apare interfata neconfigurata:<\/p>\n<blockquote><p><em>wlp2s0\u00a0\u00a0\u00a0\u00a0\u00a0 Unknown \u00a0 No address configured<\/em><\/p><\/blockquote>\n<p>Se configureaza interfata wireless.\u00a0Se instaleaza WPA Supplicant:<\/p>\n<pre>apt install -y wpasupplicant<\/pre>\n<p>Se identifica interfata wifi:<\/p>\n<pre>ip a<\/pre>\n<p>Apare ceva de genul:<\/p>\n<blockquote><p><em>&#8230;..<\/em><br \/>\n<em>3: wlp2s0: &lt;BROADCAST,MULTICAST&gt; mtu 1500 qdisc noop state DOWN group default qlen 1000<\/em><br \/>\n<em>\u00a0\u00a0\u00a0 link\/ether ac:b5:7d:2f:bd:ce brd ff:ff:ff:ff:ff:ff<\/em><\/p><\/blockquote>\n<p>Interfata wifi este <em>wlp2s0<\/em> (este DOWN = dezactivata)<br \/>\nSe deschide fisierul <em>\/etc\/network\/interfaces<\/em>:<\/p>\n<pre>nano \/etc\/network\/interfaces<\/pre>\n<p>Se introduce:<\/p>\n<blockquote><p><em>allow-hotplug wlp2s0<\/em><br \/>\n<em>iface wlp2s0 inet dhcp\u00a0\u00a0\u00a0 <\/em><br \/>\n<em>\u00a0 \u00a0 wpa-ssid SILVIA\u00a0\u00a0\u00a0 <\/em><br \/>\n<em>\u00a0 \u00a0 wpa-psk <span style=\"color: #ff0000;\">parolaWIFI<\/span><\/em><\/p><\/blockquote>\n<p>Se reporneste serviciul <em>networking<\/em>:<\/p>\n<pre>systemctl restart networking.service<\/pre>\n<p>Se verifica daca interfata wifi este activa:<\/p>\n<pre>ip a<\/pre>\n<p>Apare ceva de genul:<\/p>\n<blockquote><p><em>3: wlp2s0: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc fq_codel state UP group default qlen 1000<\/em><br \/>\n<em>link\/ether ac:b5:7d:2f:bd:ce brd ff:ff:ff:ff:ff:ff<\/em><br \/>\n<em>inet 192.168.0.186\/24 brd 192.168.0.255 scope global dynamic wlp2s0<\/em><br \/>\n<em>valid_lft 6354sec preferred_lft 6354sec<\/em><br \/>\n<em>inet6 fe80::aeb5:7dff:fe2f:bdce\/64 scope link<\/em><br \/>\n<em>valid_lft forever preferred_lft forever<\/em><\/p><\/blockquote>\n<p>Interfata este activa=UP<br \/>\nIn Webmin interfata wireless este activa si are alocat IP:<\/p>\n<blockquote><p><em>wlp2s0\u00a0 Unknown\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0 192.168.0.186<\/em><\/p><\/blockquote>\n<p>Alte comenzi:<br \/>\nListeaza interfetele de retea:<\/p>\n<pre>iwconfig<\/pre>\n<p>Scaneaza retelele wifi:<\/p>\n<pre>iwlist wlp2s0 scan | grep ESSID<\/pre>\n<p>Instaleaza Network Manager:<\/p>\n<pre>apt-get -y install network-manager<\/pre>\n<p>Conecteaza wifi la reteaua SILVIA_5G:<\/p>\n<pre>nmcli d wifi connect \"SILVIA_5G\" password <span style=\"color: #ff0000;\">parola<\/span><\/pre>\n<p>Sau prin interfata grafica:<\/p>\n<pre>nmtui<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Pentru modulul PCI-E Broadcom \u00a0BCM43228: Se introduc componentele contrib non-free-firmware non-free in surse: nano \/etc\/apt\/sources.list Se actualizeaza sursele: apt update Se instaleaza linux-headers si pachetul broadcom-sta-dkms: apt-get install linux-image-$(uname -r|sed &#8216;s,[^-]*-[^-]*-,,&#8217;) linux-headers-$(uname -r|sed &#8216;s,[^-]*-[^-]*-,,&#8217;) broadcom-sta-dkms In felul asta se instaleaza si wireless-tools. DKMS construieste modulul wl in sistem. Daca instalarea esueaza: apt-get install -f dpkg-reconfigure [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-669","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/posts\/669","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/comments?post=669"}],"version-history":[{"count":0,"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/posts\/669\/revisions"}],"wp:attachment":[{"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/media?parent=669"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/categories?post=669"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/tags?post=669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}