WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Compiling wireless drivers  (Read 2994 times)

Offline emptybee

  • Newbie
  • *
  • Posts: 15
Compiling wireless drivers
« on: March 10, 2009, 04:17:29 PM »
Hi,

I have a realtek8187se card and have downloaded and unzipped the linux drivers for this card within TC. However, when I try to run makedrv it won't run. What do I need to do to run this?

Thanks,

Max

Edit: Just to add that when I type ./makedrv (the script to build the modules) it says file not found even though I'm in the folder (by using cd rtl8185se_...)
« Last Edit: March 10, 2009, 04:39:39 PM by emptybee »

Offline emptybee

  • Newbie
  • *
  • Posts: 15
Re: Compiling wireless drivers
« Reply #1 on: March 10, 2009, 09:20:16 PM »
Been trying to get my rtl8187se wireless working for ages now with no luck. I know I'm jumping in at the deep end but I can compile everything fine (using adapted technique at

 http://wiki.msiwind.net/index.php/Ubuntu_8.04_Hardy_Heron#Option_2:_Compiling_Drivers_for_the_Supplied_Wireless_Card)

but then get stuck at the sudo cp -r ieee80211/*.ko bit (again changing the location to the relevent tinycore kernel one) as don't have permission to write.

Can anyone give me some advice or tips about this or even better make an rtl8187se extension for the msi wind (and its copies) users? I would really appreciate any light anyone can throw on the matter as I'm really keen to get Tiny working properly but am well aware that I'm too novice to be attempting this.

Thank you and, once again, love this distro!

Max

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: Compiling wireless drivers
« Reply #2 on: March 10, 2009, 09:50:50 PM »
Edit: Just to add that when I type ./makedrv (the script to build the modules) it says file not found even though I'm in the folder (by using cd rtl8185se_...)
The shebang in that file lists /bin/bash.  You can get bash in the repository.  If it actually does not need it, you could try editing that to /bin/sh.

http://wiki.msiwind.net/index.php/Ubuntu_8.04_Hardy_Heron#Option_2:_Compiling_Drivers_for_the_Supplied_Wireless_Card)
but then get stuck at the sudo cp -r ieee80211/*.ko bit (again changing the location to the relevent tinycore kernel one) as don't have permission to write.
The .../wireless directory doesn't exist by default, if that's what the error was about.  You could create it before copying them over, or use another dir such as /lib/modules/`uname -r`/kernel.tclocal/ instead

Offline emptybee

  • Newbie
  • *
  • Posts: 15
Re: Compiling wireless drivers
« Reply #3 on: March 11, 2009, 11:10:22 AM »
Being the utter novice I am I was trying to compile the drivers in the normal terminal which was leading to all the issues I was having. Doing it all in the root terminal with all the required extensions meant I was able to successfully turn on the wlan0 view the availible networks. I wasn't able to connect to my home one though as it said the psk was too long (I used passhrase to generate the hex).
My network name is in the format Xxxx_Xxxxxxxxx could the "_" be making the hex too long or is it something else? If I can get the drivers to work I will start learning how to make them into an extension.