SliTaz SliTaz Forum

You are not logged in.

#1 2016-08-30 06:44:24

tiziano
Member
Registered: 2014-09-09
Posts: 92

WI-FI module

Lspci | grep - i network.  Gives me  -  03:00.0 Network controller: Realtek Semiconductor co., Ltd. Device 8179 (rev01)

Anybody can tell me which is the module I need in order to configure my wifi connection?   

Slitaz 5.0 live usb

Offline

#2 2016-08-30 06:47:53

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

Re: WI-FI module

Post the output:

[c]lspci -nn[/c]

Offline

#3 2016-08-30 18:36:46

tiziano
Member
Registered: 2014-09-09
Posts: 92

Re: WI-FI module

here you go

[attachment=43084,2340]

Offline

#4 2016-08-31 18:32:46

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

Re: WI-FI module

Your wifi adapter uses rtl8188ee driver which is CONFIG_RTL8188EE kernel configuration.

http://cateee.net/lkddb/web-lkddb/RTL8188EE.html

CONFIG_RTL8188EE is not offered in current slitaz-3.2.71 kernel

I compile package rtlwifi-3.2.71.tazpkg from backports-wifi/rtlwifi which includes rtl8188ee 

Install:

http://mirror1.slitaz.org/packages/5.0/firmware-rtlwifi-20141201.tazpkg

http://www.mediafire.com/download/5owbl2dlw8vpnk1/rtlwifi-3.2.71.tazpkg

Reboot, lsmod should show rtl8188ee loaded and "ls /sys/class/net" should provide adapter alias for configuring /etc/network.conf

WARNING: If you update the kernel to a different version it will break the driver in this package.

Leave linux-wireless-3.2.71 installed but no drivers in that package will work while this package is installed.

If a >=kernel-3.10 is offered in the future that includes CONFIG_RTL8188EE, rtl8188ee.ko.xz will be in the linux-wireless package.

Offline

#5 2016-09-01 20:18:07

tiziano
Member
Registered: 2014-09-09
Posts: 92

Re: WI-FI module

hi mojo,

installed both packages, reboot,  lsmod gives this:

snd_hda_codec_conexant    33511  1

nouveau               559755  0

mxm_wmi                 1019  1 nouveau

i2c_algo_bit            3627  1 nouveau

ttm                    36584  1 nouveau

drm_kms_helper         17504  1 nouveau

snd_hda_intel          16713  1

drm                   118562  3 nouveau,ttm,drm_kms_helper

snd_hda_codec          45592  2 snd_hda_codec_conexant,snd_hda_intel

snd_hwdep               3811  1 snd_hda_codec

snd_pcm                42934  2 snd_hda_intel,snd_hda_codec

agpgart                17571  2 ttm,drm

hwmon                    865  1 nouveau

i2c_core               12294  4 nouveau,i2c_algo_bit,drm_kms_helper,drm

snd_page_alloc          4673  2 snd_hda_intel,snd_pcm

snd_timer              12073  1 snd_pcm

xhci_hcd               57215  0

snd                    33335  8 snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer

soundcore               3258  1 snd

video                   9495  1 nouveau

wmi                     5839  1 mxm_wmi

button                  3286  1 nouveau

ls /sys/class/net:dummy0  eth0    lo      tunl0

changed /etc/network.conf    to say WIFI="yes"

Offline

#6 2016-09-01 22:45:17

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

Re: WI-FI module

rtlwifi-3.2.71.tazpkg is for 32bit kernel only.

tux@slitaz:~ $ uname -a

Linux slitaz 3.2.71-slitaz #4 SMP Sun Aug 21 16:28:25 CEST 2016 i686 GNU/Linux

The module rtl8188ee and it's dependent modules for your adapter are not auto-loading on boot.

Type

[c]modinfo rtl8188ee[/c]

Hit enter.

Output should look like this: https://is.gd/dAECU0

[c]lsmod[/c] should output these rtlwifi drivers:

rtl8188ee              95263  0

rtl_pci                22588  1 rtl8188ee

rtlwifi                61369  2 rtl8188ee,rtl_pci

mac80211              238199  3 rtl8188ee,rtl_pci,rtlwifi

cfg80211              169346  2 rtlwifi,mac80211

compat                 13264  5 rtl8188ee,rtl_pci,rtlwifi,mac80211,cfg80211

rfkill                 10151  1 cfg80211

ipv6                  178202 34 mac80211

Open 2 terminals.

Terminal 1 will monitor kernel.

Type

[c]tail -f /var/log/messages[/c]

Hit Enter

Terminal 2

Type

[c]modprobe -v rtl8188ee[/c]

Hit Enter.

If there are no errors in Terminal 1 or Terminal 2:

Verify rtlwifi modules are loaded:

[c]lsmod[/c]

Verify new adapter alias is listed:

[c]ls /sys/class/net[/c]

If there is a new device listed force load on boot by adding rtl8188ee to /etc/rcS.conf LOAD_MODULES=""

If there are errors post them in your reply.

If there are no errors and no new adapter alias it's a problem beyond my knowledge.

Offline

#7 2016-09-02 06:54:51

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: WI-FI module

@ tiziano

Your first post in this topic:

Slitaz 5.0 live usb

If you are running SliTaz from a live, you have to do manually the job:

[*]after boot, download the 2 packages mojo compiled for you

[*]open a terminal as root and install them

(if your stick is ext2/3/4 formated, to avoid to have to do this at each boot,  you can create a home/slitaz/packages directory (seems to me, I'll check it) and copy the 2 .tazpkg files in it, they'll automatically be installed at next boot)

[*]stop the network: [c]/etc/init.d/network stop[/c]

[*]load the module: [c]modprobe rtl8188ee[/c]

[*]restart the network: [c]/etc/init.d/network start[/c]

Hope I didn't do any mistake :-/

Offline

#8 2016-09-02 07:53:57

tiziano
Member
Registered: 2014-09-09
Posts: 92

Re: WI-FI module

@mojo

you said rtlwifi-3.2.71.tazpkg is for 32bit kernel only     it should be ok even if I'm using a new

laptop (64amd?)

here first output:

root@slitaz:/home/tux# modprobe rtl8188ee

modprobe: FATAL: Module rtl8188ee not found.

root@slitaz:/home/tux# modinfo rtl8188ee

modinfo: ERROR: Module rtl8188ee not found.

root@slitaz:/home/tux#

it seems to be not ok already

ipv6                  178458 17

nouveau               559755  0

mxm_wmi                 1019  1 nouveau

i2c_algo_bit            3627  1 nouveau

ttm                    36584  1 nouveau

drm_kms_helper         17504  1 nouveau

snd_hda_intel          16713  1

drm                   118562  3 nouveau,ttm,drm_kms_helper

snd_hda_codec          45592  2 snd_hda_codec_conexant,snd_hda_intel

snd_hwdep               3811  1 snd_hda_codec

snd_pcm                42934  2 snd_hda_intel,snd_hda_codec

agpgart                17571  2 ttm,drm

snd_page_alloc          4673  2 snd_hda_intel,snd_pcm

hwmon                    865  1 nouveau

snd_timer              12073  1 snd_pcm

i2c_core               12294  4 nouveau,i2c_algo_bit,drm_kms_helper,drm

xhci_hcd               57215  0

snd                    33335  8 snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer

soundcore               3258  1 snd

video                   9495  1 nouveau

wmi                     5839  1 mxm_wmi

button                  3286  1 nouveau

different output as expected again

terminall 1 -

root@slitaz:/home/tux# tail -f var/log/messages

tail: can't open 'var/log/messages': No such file or directory

tail: no files

terminal 2

root@slitaz:/home/tux# modprobe -v rtl8188ee

modprobe: FATAL: Module rtl8188ee not found.

it seems I'm doing something wrong by the new module installation ....

I do it whith the tazpkg manager  clicking the package icons which are downloaded to a /home/tux

directory

it looks like both packages being correctly installed

@Ceel

in the home directory I see three folders:

boot

lost+found

tux

Summary:

all that depends probably due to my not-being-enough-skilled with the linux environment....  sad

Offline

#9 2016-09-02 09:32:54

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: WI-FI module

Yes, it was a stupidity of mine... smile

.tazpkg files must be in /home/boot/packages and you must create /packages in /boot because it doesn't exist in the live.

Not sure the stick must be ext formated; maybe it can be FAT16 or FAT32 too.

If the stick is FAT16 or 32, you'll find /boot at the root of the stick in the File Manager;

if the stick is ext2 or 3 or 4, /boot will be in /home.

root@slitaz:/home/tux# tail -f var/log/messages

you forgot a /

Type [c]tail -f /var/log/messages[/c]

Offline

#10 2016-09-02 13:06:16

tiziano
Member
Registered: 2014-09-09
Posts: 92

Re: WI-FI module

Hey guys,

Did it all in the latest rolling out of a CD and it worked!  Followed mojo's instruction step-by-step and Ceel's suggestion to create a packages folder and download the module packages there.

Still,  connection is unstable and it disconnect as soon as midori is asked for a web search and by system reboot anything is gone but it might make sense in the CD live? (I don't know..)

Will test it all again in the USB live and report outcome

Thanks meanwhile smile

Offline

#11 2016-09-04 08:31:38

tiziano
Member
Registered: 2014-09-09
Posts: 92

Re: WI-FI module

Guys, some update

discovered that my USB looks tell us this ---

tux@slitaz:~$ uname -a

Linux slitaz 3.2.53-slitaz #4 SMP Fri Jan 31 23:12:06 CET 2014 i686 GNU/Linux

older kernel....

might it be the reason cause it doesn't work with it?

As matter of facts do not get the results as reported in the other attempt (rolling live CD)

Offline

#12 2016-09-04 10:40:37

tiziano
Member
Registered: 2014-09-09
Posts: 92

Re: WI-FI module

making the long story short   made a new USB with the live CD rolling (Same),  but ...

controlling the module downloading get this error message

[attachment=43126,2343]

Offline

#13 2016-09-04 11:58:06

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: WI-FI module

kernel 3.2.53, yes your Live was old (RC2 ?)

You cannot run [c]modprobe[/c] as tux, you must be root.

Offline

#14 2016-09-04 12:02:30

tiziano
Member
Registered: 2014-09-09
Posts: 92

Re: WI-FI module

same crap even if root...

correct?

[attachment=43129,2344]

Offline

#15 2016-09-04 12:37:53

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: WI-FI module

Check in TazPanel if firmware-rtlwifi-20141201.tazpkg and rtlwifi-3.2.71.tazpkg are installed; if not, install them manually.

Are they copied in the /boot/packages of the stick? FAT or EXT formated? I'm now almost certain that if the stick is FAT, the packages won't be automatically installed at boot because the system needs TazPkg to install them and TazPkg won't go on the root of the stick but in /home/boot/packages.

Offline

#16 2016-09-04 12:55:38

tiziano
Member
Registered: 2014-09-09
Posts: 92

Re: WI-FI module

ok,  did it meanwhile in the new USB stick as well. Don't ask me how..   wink

still connection is coming and going and in the end connection is not settled steadily ...

USB stick is FAT definitely -  gonna try to move to /home/boot/packages   and see ...

by the way,  in terminal can be seen following

Offline

#17 2016-09-04 13:28:00

tiziano
Member
Registered: 2014-09-09
Posts: 92

Re: WI-FI module

by rebooting the new module is being loaded correctly but by system start it is somehow not recognized - in facts wifi-box does not see my network anymore.

moved the packages folder to /home/boot  -  previously it was in /home/tux

Offline

#18 2016-09-05 21:00:30

tiziano
Member
Registered: 2014-09-09
Posts: 92

Re: WI-FI module

@Ceel/mojo

Formatted a new ext3 usb live with latest rolling -   With live CD  worked so instinctively should work with this one as well

shall I download and install the packages in a special 'packages' directory under /home/boot or somewhere else or does it matter?

Offline

#19 2016-09-07 18:08:19

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: WI-FI module

Hi tiziano,

Copying the packages in /home/boot/packages will only avoid you to install them yourself after boot.

After the kernel will have found your stick, it'll mount your home and will install the 2 packages:

Home has been specified to b79aaa98-61f2-4f2b-bcdb-ea8fb66fd3c3...
Sleeping 3 s to let the kernel detect the device...
Mounting /home on /dev/sdb1...
Creating folder "/var/cache/tazpkg"...                                [ Done ]

Recharging repository "Main"
================================================================================
Checking...                                                           [ Failed ]
Creating backup of the last packages list...                          [ Done ]
Getting "bundle.tar.lzma"...                                          [ Failed ]
Restoring database files...                                           [ Done ]
================================================================================
Recharging failed
don't worry about the "Failed" messages

Installation of package "iwlwifi"               I need only one package
================================================================================
Intel iwlwifi driver
--------------------------------------------------------------------------------
Copying package...                                                    [ Done ]
Extracting package...                                                 [ Done ]
Remember modified packages...                                         [ Done ]
Installing package...                                                 [ Done ]
Removing all tmp files...                                             [ Done ]
Execute post-install commands...                                      [ Done ]
Update system databases...                                            [ Done ]
================================================================================
Package "iwlwifi" (3.2.71) is installed.
After the boot, open a terminal, become root and type
[c]

/etc/init.d/network.sh stop

modprobe rtl8188ee

/etc/init.d/network.sh start[/c]
Open TazPanel; you should be able to view the wifi networks.

Configure your wifi.

Offline

#20 2016-09-07 19:19:38

tiziano
Member
Registered: 2014-09-09
Posts: 92

Re: WI-FI module

Hi Ceel,

your instructions worked fine - finally got wifi connection with usb stick and anything seems to be ok

nevertheless when wifi connection is set and it should work,  it doesn't - no connection to internet

see the screenshot   -  connection indicators look good but wifi is disconnected  [??]

configuration mistakes myside?

[attachment=43153,2348] [attachment=43153,2349]

Offline

#21 2016-09-07 19:25:01

tiziano
Member
Registered: 2014-09-09
Posts: 92

Re: WI-FI module

maybe this can help..

tux@slitaz:~$ su

Password:

root@slitaz:/home/tux# /etc/init.d/network.sh stop

Loading network settings from /etc/network.conf

Stopping all interfaces

ifconfig: SIOCGIFFLAGS: No such device

Killing all daemons

wlan0     No such device

root@slitaz:/home/tux# modprobertl8188ee

sh: modprobertl8188ee: not found

root@slitaz:/home/tux# modprobe rtl8188ee

root@slitaz:/home/tux# /etc/init.d/network.sh start

Loading network settings from /etc/network.conf

Starting udhcpc client on: eth0...

udhcpc (v1.23.2) started

Sending discover...

Sending select for 192.168.1.2...

Lease of 192.168.1.2 obtained, lease time 3600

deleting routers

adding dns 192.168.1.1

root@slitaz:/home/tux#

Offline

#22 2016-09-08 19:44:37

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: WI-FI module

Hi tiziano,

I can reproduce the problem when I enter a wrong password. Status is

- [c]connected[/c] in TazPanel

- [c]disconnected[/c] in the Connection properties box

When I click on [c]Name[/c] in the Connection Properties box, eth0 has disappeared, only lo remains and I'm not able to establish any connections neither any wifi networks nor ethernet. Need to reboot.

Are you sure you entered the good password?

Offline

#23 2016-09-09 19:19:50

tiziano
Member
Registered: 2014-09-09
Posts: 92

Re: WI-FI module

Hi Ceel,

Thank you for your endurance smile

Password is definitely correct but problem persists  -  a further hint may be this:  did a test with another laptop, my older one with rolling CD live - no USB boot capabilities - got same result even if system does recognize straight away wifi card of this machine ..  Network seems to connected Connection Properties box shows wlan0 disconnected. - 'name' only shows wlan0 and lo.   No eth0.  As you experienced yourself

Shall be a solution valid for both cases -  maybe a minor setting. -  that's a pity getting so close to the goal .....

Offline

#24 2016-09-10 12:32:11

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: WI-FI module

Hmm, I don't understand what happens.

When you open a terminal and type [c]tail -f /var/log/messages[/c], can you see the same lines repeat every 20-30 seconds?

What are they?

Didn't you limit the number of authorized computers on your wifi network? (I did it once and spent hours to understand why my computer cannot connect to my box :-/ )

Offline

#25 2016-09-10 18:58:19

tiziano
Member
Registered: 2014-09-09
Posts: 92

Re: WI-FI module

that's what I get

6 time and that's it!

I didn't limit the number of authorized computer on wifi network or, at least, I didn't know if it has been done unwanted..

[attachment=43193,2351]

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.6 MiB (Peak: 1.77 MiB) ]