SliTaz SliTaz Forum

You are not logged in.

#1 2011-09-05 10:40:02

ever8418
Member
Registered: 2011-09-05
Posts: 3

Need to make module - need help

Hi.

I have a USB wifi card that needs a kernel module to be made and installed to make it work. I've installed cooking to the hard drive, installed make but it stops making the file without any error messages that I can see.

Anybody got any idea on how to make this work

Offline

#2 2011-09-05 12:15:25

totoetsasoeur
Moderator
Registered: 2011-03-29
Posts: 247

Re: Need to make module - need help

Hi,

Please provide more info:

- which wifi card,

- have you checked this page http://mirror.slitaz.org/pkgs/search.sh if the required module was available?

- did you have a look at the following http://doc.slitaz.org/en:guides:wifi-easy,

- etc...

Really, it may worth it having a look at this page http://doc.slitaz.org/en:guides:read before posting this kind of message. ;-)

Good luck.

Offline

#3 2011-09-05 16:52:42

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: Need to make module - need help

@ever8418

What version of slitaz, stable or cooking ?

Useful info on your wireless chipset:

cat /proc/bus/usb/devices

Find the section with Product=802.11

Post that complete section in your reply.

For example a Tenda W311U USB wireless adapter:

T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12   MxCh= 0

D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1

P:  Vendor=148f ProdID=3070 Rev= 1.01

S:  Manufacturer=Ralink

S:  Product=802.11 n WLAN

S:  SerialNumber=1.0

C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=450mA

I:* If#= 0 Alt= 0 #EPs= 7 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)

E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms

E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

E:  Ad=03(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

E:  Ad=04(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

E:  Ad=05(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

E:  Ad=06(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

Offline

#4 2011-09-06 10:24:38

ever8418
Member
Registered: 2011-09-05
Posts: 3

Re: Need to make module - need help

Hi, Mojo.

This is on Slitaz cooking. The info given from "cat /proc/bus/usb/devices" is below:

T: Bus=01 Lev=01 Prnt=01 Port=03 Cnt=01 Dev#= 2 Spd=480 MxCh= 0

D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1

P: Vendor=0bda ProdID=8172 Rev= 2.00

S: Manufacturer=Manufacturer Realtek

S: Product=RTL8191S WLAN Adapter

S: SerialNumber=00e04c000001

C:*#Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA

I:*If#= 0 Alt= 0 #Eps= 4 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)

E: Ad=83(I) Atr=02(Bulk) MxPS=512 Ivl=0ms

E: Ad=04(0) Atr=02(Bulk) MxPS=512 Ivl=0ms

E: Ad=06(0) Atr=02(Bulk) MxPS=512 Ivl=0ms

E: Ad=0d(0) Atr=02(Bulk) MxPS=512 Ivl=0ms

I gather from this that the card is a Realtek RTL8191S, but apart from that it I can't tell you anything more.

totoetsasoeur - sorry if I caused any offence. Will note the general guide for future.

Offline

#5 2011-09-06 16:35:20

totoetsasoeur
Moderator
Registered: 2011-03-29
Posts: 247

Re: Need to make module - need help

Don't worry, no offense at all. :-)

It is just a matter of getting (good and fast) answer when asking for help.

As for you concern, have you tried the link I gave you lately (http://doc.slitaz.org/en:guides:wifi-easy)? I do not use wifi, so I wont be of any help on this, but the guide looks pretty nice and clear.

Cheers.

Offline

#6 2011-09-07 17:04:54

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: Need to make module - need help

@ever8418

You need a GB of free space to install software and linux source code to compile kernel drivers.

As root:

#tazpkg get-install slitaz-toolchain

#tazpkg get-install linux-source

#get-linux-source

#tazpkg get-install linux-module-headers

Get this from Realtek downloads=> RTL8191SU_usb_linux_v2.6.6.0.20110401.zip

Unzip,go to the driver folder,untar rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20110401.tar.gz

cd into rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20110401

#./config

#make

No errors=> make[1]: Leaving directory `/usr/src/linux-2.6.37-slitaz'

#make install

Download firmware: http://www.mediafire.com/file/xbpa7d9ohhn2699/firmware-realtek-0.33.tazpkg

#tazpkg install firmware-realtek-0.33.tazpkg

Open 2 terminals:

First terminal:

tail -f /var/log/messages

Watch first terminal for errors while you load driver in second terminal.

Second terminal:

#modprobe 8712u

Offline

#7 2011-09-10 00:40:28

ever8418
Member
Registered: 2011-09-05
Posts: 3

Re: Need to make module - need help

Mojo,

That worked very well. Thank you.

If I was to save the module that was made and reinstall Slitaz, could I then reinstall the module without the toolchain and the source?

Thanks

Offline

#8 2011-09-10 06:57:34

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: Need to make module - need help

Your welcome, good to hear it was a success.

Module installation:

Become root

cd to 8712u.ko

#install -p -m 644 8712u.ko  /lib/modules/2.6.37-slitaz/kernel/drivers/net/wireless

#depmod -a

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.020 seconds, 8 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]