Getting the Lenovo Yoga wireless driver working in Fedora 18

If you are like me you installed Fedora 18 off the live CD only to find that you can't do anything because the wireless card does not work by default.

To get wireless working the first step is to install the build tools needed to install the driver. The easiest way to do this is to download the install DVD to a USB thumb drive. Once you plug it into the Yoga, Fedora will mount the drive automatically. Figure out where it mounted by going to Dolphin or whatever file manager you use and viewing the path to the drive.

Now go into your yum repos and temporary change the yum repository to point to the live dvd image.
[richie@localhost ~]$ su -
Password:
[root@localhost ~]# cd /etc/yum.repos.d/
[root@localhost yum.repos.d]# gedit fedora.repo

change from
[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
enabled=1
#metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
to
[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
baseurl=file:///run/media/.....PATH_TO_BASE_DVD_ISO_DIR
enabled=1
#metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
Next disable the Fedora updates repo by setting enabled to 0 in the fedora-updates.repo file. You can also just issue a yum --disablerepo command. Remember to re-enable it once you are done.
fedora-updates.repo
[updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

Now issue a `yum install make gcc kernel-header kernel-devel cpp perl`

Once yum has installed all the packages needed we can finally download the Realtek driver and copy it over to the Lenovo Yoga via a USB thumb drive. The driver is located here:

http://dl.dropbox.com/u/57056576/DRIVERS/REALTEK/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012.tar.gz

After extracting the driver go into the driver folder and issue the command, `make && make install`. If all goes well restart your Yoga and wireless should automatically work.

Make sure to re-enable the fedora-updates.repo by setting enabled=1.

Update 11/17/2013: Please note that whenever you perform a yum update and a new kernel is installed you will need to re-perform a `make && make install` on the wireless driver. Also, the last time I updated my kernel, the make failed. I fixed the failure by downloading a more recent version of the driver: https://github.com/lwfinger/rtl8723au

Comments

Post a Comment

Popular posts from this blog

AutoItX4Java - Java AutoIt Bridge

The SQL Server and .Net equivalent of PHP and MySQL's SHA1 function

Automated web testing with Java, Selenium RC, LoggingSelenium, HtmlUnit and TestNG