Log error sewaktu menghubungkan laptop ke WiFi

May 09 22:29:01 cipera NetworkManager[1035]: <info>  (wlp2s0b1): supplicant interface state: inactive -> associating
May 09 22:29:01 cipera NetworkManager[1035]: <info>  (wlp2s0b1): supplicant interface state: associating -> disconnected
May 09 22:29:06 cipera audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 09 22:29:11 cipera NetworkManager[1035]: <info>  (wlp2s0b1): supplicant interface state: disconnected -> scanning
May 09 22:29:12 cipera kernel: wlp2s0b1: authenticate with bc:9c:aa:c7:2e:29
May 09 22:29:12 cipera kernel: wlp2s0b1: send auth to bc:9c:aa:c7:2e:29 (try 1/3)
May 09 22:29:12 cipera kernel: wlp2s0b1: authenticated
May 09 22:29:12 cipera kernel: wlp2s0b1: associate with bc:9c:aa:c7:2e:29 (try 1/3)
May 09 22:29:12 cipera kernel: wlp2s0b1: associate with bc:9c:aa:c7:2e:29 (try 2/3)
May 09 22:29:12 cipera kernel: wlp2s0b1: associate with bc:9c:aa:c7:2e:29 (try 3/3)
May 09 22:29:12 cipera kernel: wlp2s0b1: association with bc:9c:aa:c7:2e:29 timed out
May 09 22:29:12 cipera NetworkManager[1035]: <info>  (wlp2s0b1): supplicant interface state: scanning -> authenticating
May 09 22:29:12 cipera NetworkManager[1035]: <info>  (wlp2s0b1): supplicant interface state: authenticating -> associating
May 09 22:29:12 cipera NetworkManager[1035]: <info>  (wlp2s0b1): supplicant interface state: associating -> disconnected
May 09 22:29:22 cipera NetworkManager[1035]: <info>  (wlp2s0b1): supplicant interface state: disconnected -> scanning
May 09 22:29:26 cipera NetworkManager[1035]: <warn>  (wlp2s0b1): Activation: (wifi) association took too long
May 09 22:29:26 cipera NetworkManager[1035]: <info>  (wlp2s0b1): device state change: config -> need-auth (reason 'none') [50 60 0]
May 09 22:29:26 cipera NetworkManager[1035]: <warn>  (wlp2s0b1): Activation: (wifi) asking for new secrets
May 09 22:29:26 cipera NetworkManager[1035]: <warn>  Failed to GDBus.Error:fi.w1.wpa_supplicant1.NotConnected: This interface is not connected: disconnect.
May 09 22:29:26 cipera NetworkManager[1035]: <warn>  Failed to GDBus.Error:fi.w1.wpa_supplicant1.NotConnected: This interface is not connected: disconnect.
May 09 22:29:27 cipera audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 09 22:29:27 cipera dbus[881]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service'
 
...
 09 22:29:57 cipera NetworkManager[1035]: <info>  (wlp2s0b1): device state change: failed -> disconnected (reason 'none') [120 30 0]
May 09 22:29:57 cipera kernel: IPv6: ADDRCONF(NETDEV_UP): wlp2s0b1: link is not ready
May 09 22:29:57 cipera /firewalld[903]: ERROR: UNKNOWN_INTERFACE: 'wlp2s0b1' is not in any zone
May 09 22:29:57 cipera audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
 
...
May 09 22:29:28 cipera NetworkManager[1035]: <info>  (wlp2s0b1): supplicant interface state: scanning -> inactive
May 09 22:29:57 cipera NetworkManager[1035]: <warn>  (wlp2s0b1): User canceled the secrets request.
May 09 22:29:57 cipera NetworkManager[1035]: <info>  (wlp2s0b1): device state change: need-auth -> failed (reason 'no-secrets') [60 120 7]
May 09 22:29:57 cipera NetworkManager[1035]: <info>  NetworkManager state is now DISCONNECTED
May 09 22:29:57 cipera NetworkManager[1035]: <warn>  (wlp2s0b1): Activation: failed for connection 'Sapo'
May 09 22:29:57 cipera NetworkManager[1035]: <info>  (wlp2s0b1): device state change: failed -> disconnected (reason 'none') [120 30 0]
May 09 22:29:57 cipera kernel: IPv6: ADDRCONF(NETDEV_UP): wlp2s0b1: link is not ready
May 09 22:29:57 cipera /firewalld[903]: ERROR: UNKNOWN_INTERFACE: 'wlp2s0b1' is not in any zone
May 09 22:29:57 cipera audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

Cek driver yang digunakan oleh wireless anda dengan menjalankan perintah lspci -k di terminal.
Output perintah diatas, lihat dibagian wireless

...
02:00.0 Network controller: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01)
	Subsystem: Hewlett-Packard Company Device 1795
	Kernel driver in use: bcma-pci-bridge
	Kernel modules: bcma
...

Solusi Driver BCM4313 di Fedora 23

Cara 1 : Cara Paling Mudah

1. Install repository rpmfusion

su -c 'dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'

2. Install driver BCM4313

dnf install akmod-wl

3. Blacklist driver bcma
Buat file /etc/modprobe.d/diblacklist.conf yang berisi

blacklist bcma

4. Restart NetworkManager

service NetworkManager restart
atau 
pkill NetworkManager ; NetworkManager

sekarang coba konek ke wifi lagi. Bila belum berhasil restart komputer anda.

Cara 2 : Install Driver Broadcom dari Source

Cara ini lebih susah dari cara 1, dan membutuhkan kesabaran.

Install Dependency
dnf install install gcc make autoconf kernel-devel kernel-headers

Download driver BCM4313 dari situs Broadcom, sesuaikan bila anda menggunakan 64/32 Bit. File yang saya download hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz
Bila anda menggunakan wget, bisa langsung

mkdir drvtmp; cd drvtmp
wget https://www.broadcom.com/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz

Ekstrak dan install

tar zxvf hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz
su -c "make; make install"

output perintah diatas

KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory '/usr/src/kernels/4.5.6-200.fc23.x86_64'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  Building modules, stage 2.
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  MODPOST 1 modules
make[1]: Leaving directory '/usr/src/kernels/4.5.6-200.fc23.x86_64'
install -D -m 755 wl.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless

Baik cara 1 ataupun cara 2 memiliki kelemahan yang sama, bila anda mengupdate kernel anda harus mengupgrade akmod-wl atau menginstall kernel dari source lagi. Solusi yang bukan solusi atas masalah ini adalah menonaktifkan upgrade kernel di Fedora

echo "exclude=kernel*" >> /etc/dnf/dnf.conf

Khusus untuk akmod-wl, bila paket akmod-wl untuk kernel terbaru belum ada di repository RPM Fusion, mau ngga mau harus bertahan di kernel saat ini atau tetap mengijinkan upgrade kernel dengan konsekuensi tiap upgrade kernel anda meng-compile dan install ulang kernel tersebut.

Leave a comment

Your email address will not be published. Required fields are marked *