Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have read a few threads and found driver installs for my wi-fi card, but when I built them I get the following message:

make -C /lib/modules/3.5.0-17-generic/build M=/home/ian/Desktop/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012 modules
make: *** /lib/modules/3.5.0-17-generic/build: No such file or directory. Stop.
make: *** [all] Error 2

I can not connect to the internet at all on the linux machine, and am posting this from a separate computer.

EDIT:

lspci -v | grep -ia 7 'network'
grep: network: No such file or directory

EDIT2:

sudo modprobe rtl8723ae
FATAL: Module rtl8723ae not found.

~

02:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 8723
    Subsystem: Realtek Semiconductor Co., Ltd. Device 0724
    Flags: bus master, fast devsel, latency 0
    I/O ports at 2000 [size=256]
    Memory at f0000000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: [40] Power Management version 3
    Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
    Capabilities: [70] Express Endpoint, MSI 00

EDIT 3

modprobe -l | grep rtl87
kernel/drivers/staging/rtl8712/r8712u.ko
share|improve this question
    
You need the build-essential and linux-headers-generic packages to build the driver. Can you connect via ethernet? –  phipsalabim Feb 17 '13 at 22:14
    
No, Is there any way to get those packages onto a USB via a mac? –  user133020 Feb 17 '13 at 22:16
    
You can list the dependency of a deb file with dpkg-deb -I your_file.deb. I'm not aware of a recursive dependency check. Anyway... I just realized you will also need a third package. Please see my revised answer and post the dependency errors you got. –  phipsalabim Feb 17 '13 at 22:55
    
run sudo dpkg -i --force-all *.deb in the directory where all the deb files are. Forget Software center. –  phipsalabim Feb 17 '13 at 23:01
    
could you mark it as solved, so that others don't waste their time trying to solve the issue. I don't know how that's done. I just started using this site –  phipsalabim Feb 18 '13 at 0:19

1 Answer 1

As I said: build-essential and linux-headers-generic are required for building

Above the package name at both links I provided below, select your distribution "precise" for 12.04 and "quantal" for 12.10 (by default I linked you to the 12.10 version). In the download section select amd64 if you have a 64bit install and i386 if you have a 32bit install. Choose any mirror you want.

You will download 2 .deb files. Transfer them to your laptop. Double click both these files. Software center should open and let you install them. When both are installed you should be able to build your driver

build-essential

linux-headers-generic

EDIT:

You will also need this one

linux-headers-3.5.0-17-generic


EDIT2: build error

There's something wrong with the driver code. Open File Manager, navigate to the driver folder for the driver rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012. Double click on the file base.c. When asked whether to run or display base.c choose "display". In gedit go to Edit > Preferences. Toggle "display line numbers". Go to line 320 and change this line

IEEE80211_HW_BEACON_FILTER |

into

/* IEEE80211_HW_BEACON_FILTER | */

save and close the file. Run make again.

If the build is sucessful run:

sudo make install
sudo modprobe rtl8723e

pray that wifi works


EDIT3: make the change permanent

first check if the driver really works

sudo modprobe rtl8723e

if wifi works after this, make it permanent by running:

sudo -i
echo rtl8723e >> /etc/modules
exit

make sure the spelling is correct

Now if everything works don't wander off like last time. Because of our work-around you still have static deb files installed that won't get updated automatically. To fix this run:

sudo apt-get install --reinstall build-essential
sudo apt-get install --reinstall linux-headers-generic
sudo apt-get install --reinstall linux-headers-`uname -r`

the ticks in the last command are backticks ` not quotes '

share|improve this answer
    
Thank you for the help so far, but software center tells me they both are missing a dependency, is there any easy way to know how far you should go back to get the dependencies for the dependencies and etc.? –  user133020 Feb 17 '13 at 22:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.