SliTaz SliTaz Forum

You are not logged in.

#1 2015-12-08 21:46:17

gegetrois
Member
Registered: 2015-12-08
Posts: 12

wifi impossible

Hello, 

I have a desktop PC Packard Bell 8/9 years old with a 110 GB HD, ram = 2GB, 32bits.

I tried Zlitaz mode Cdlive, it works well, I have internet with Ethernet cable, but unable to connect to WiFi, the wireless card is on USB key.

for know the hard, i make :

#tazpkg get-install usbutils

# lsusb

résultat : Guillemot Corp. HWGUm-54 [Hercules Wireless G Ultra mini Key]

after search, the chipset of this key HWGum-54 is : Realtek RTL8192su

I found the module linux-r8712u-2.6.37.tazpkg and explanations here :http://forum.slitaz.org/topic/how-to-configure-wifi-in-slitaz

I found firmware "http://cook.slitaz.org/packages/firmware-rtlwifi-20141201"

here : http://cook.slitaz.org/packages/

0.download firmware

wget  http://cook.slitaz.org/packages/firmware-rtlwifi-20141201,tazpkg

1.Install firmware

root@slitaz:/home/tux# tazpkg install firmware-rtlwifi-20141201.tazpkg

Installation de: firmware-rtlwifi

================================================================================

Copie de firmware-rtlwifi...                                         [ OK ]

Extraction de firmware-rtlwifi...                                    [ OK ]

Extraction du pseudo fs...(lzma)                                     [ OK ]

Installation de firmware-rtlwifi...                                  [ OK ]

Suppression des fichiers temporaires...                              [ OK ]

================================================================================

firmware-rtlwifi (20141201) est installé.

root@slitaz:/home/tux#

2.Install driver

root@slitaz:/home/tux# tazpkg install linux-r8712u-2.6.37.tazpkg

Installation de: linux-r8712u

================================================================================

Copie de linux-r8712u...                                             [ OK ]

Extraction de linux-r8712u...                                        [ OK ]

Extraction du pseudo fs...(lzma)                                     [ OK ]

Installation de linux-r8712u...                                      [ OK ]

Suppression des fichiers temporaires...                              [ OK ]

================================================================================

linux-r8712u (2.6.37) est installé.

root@slitaz:/home/tux#

------------------------------------

3.Load driver

root@slitaz:/home/tux# modprobe r8712u

root@slitaz:/home/tux#

-------------------------------------

4.Verify driver loaded

root@slitaz:/home/tux# lsmod | grep r8712u

r8712u                238126  0

root@slitaz:/home/tux#

-------------------------------------------

5.Verify device registered (wlan0,eth1,ra0):

root@slitaz:/home/tux# ls /sys/class/net

dummy0  eth0    lo

root@slitaz:/home/tux#

------------------------------------------

6.Restart networking:

#/etc/init.d/networking.sh restart

There is not file networking.sh but a file network.sh

root@slitaz:/etc/init.d# ls

bootopts.sh     ftpd            ntpd            system.sh

crond           hald            rc.functions    tazpanel

daemon          httpd           rcS             tftpd

dbus            inetd           rc.shutdown     udhcpd

dnsd            klogd           README          wpa_action.sh

dropbear        local.sh        slim            wpa_supplicant

firewall        network.sh      syslogd         zcip

root@slitaz:/etc/init.d#

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

Stopping all interfaces

ifconfig: SIOCGIFFLAGS: No such device

Killing all daemons

wlan0     No such device

Starting udhcpc client on: eth0...

udhcpc (v1.18.4) started

Sending discover...

Sending discover...

Sending discover...

No lease, forking to background

root@slitaz:/home/tux#

--------------------------------------------------------------

it's impossible to configure wifi, the windows is empty.....

-----------------------------------------------------------

Message with the second consol :

tux@slitaz:~$ tail -f /var/log/messages

Dec  8 19:15:13 (none) user.notice error binding udev control socket

Dec  8 19:15:13 (none) daemon.err udevd[5358]: error binding udev control socket

Dec  8 19:15:52 (none) user.info kernel: usbcore: deregistering interface driver r8712u

Dec  8 19:15:52 (none) user.info kernel: r8712u: Driver unloaded

Dec  8 19:15:52 (none) daemon.err udevd[5362]: bind failed: Address already in use

Dec  8 19:15:52 (none) user.notice error binding udev control socket

Dec  8 19:15:52 (none) daemon.err udevd[5362]: error binding udev control socket

Dec  8 19:15:52 (none) daemon.err udevd[5363]: bind failed: Address already in use

Dec  8 19:15:52 (none) user.notice error binding udev control socket

Dec  8 19:15:52 (none) daemon.err udevd[5363]: error binding udev control socket

Dec  8 19:15:59 (none) user.warn kernel: r8712u: module is from the staging directory, the quality is unknown, you have been warned.

Dec  8 19:15:59 (none) daemon.err udevd[5367]: bind failed: Address already in use

Dec  8 19:15:59 (none) user.info kernel: usbcore: registered new interface driver r8712u

Dec  8 19:15:59 (none) user.notice error binding udev control socket

Dec  8 19:15:59 (none) daemon.err udevd[5367]: error binding udev control socket

Dec  8 19:15:59 (none) daemon.err udevd[5368]: bind failed: Address already in use

Dec  8 19:15:59 (none) user.notice error binding udev control socket

Dec  8 19:15:59 (none) daemon.err udevd[5368]: error binding udev control socket

--------------------------------------

root@slitaz:/home/tux# ls /sys/class/net

dummy0  eth0    lo

root@slitaz:/home/tux#

------------------------------------------------

root@slitaz:/home/tux# ifconfig

eth0      Link encap:Ethernet  HWaddr 00:16:E6:19:45:5F

          UP BROADCAST MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

          Interrupt:18 Base address:0x4000

lo        Link encap:Local Loopback

          inet addr:127.0.0.1  Mask:255.0.0.0

          UP LOOPBACK RUNNING  MTU:16436  Metric:1

          RX packets:24 errors:0 dropped:0 overruns:0 frame:0

          TX packets:24 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:1776 (1.7 KiB)  TX bytes:1776 (1.7 KiB)

root@slitaz:/home/tux#

----------------------------------------------

root@slitaz:/home/tux# cat /etc/network.conf

# /etc/network.conf: SliTaz system wide networking configuration.

# Config file used by: /etc/init.d/network.sh

#

# Set default interface.

INTERFACE="eth0"

# Dynamic IP address.

# Enable/disable DHCP client at boot time.

DHCP="yes"

# Static IP address.

# Enable/disable static IP at boot time.

STATIC="no"

# Set IP address and netmask for a static IP.

IP="192.168.0.6"

NETMASK="255.255.255.0"

# Set route gateway for a static IP.

GATEWAY="192.168.0.1"

# Set DNS server for a static IP.

DNS_SERVER="192.168.0.1"

# Wifi connection.

# Enable/disable wireless connection at boot time.

WIFI="yes"

# Wifi interface (iwconfig) and ESSID.

WIFI_INTERFACE="lo"

WIFI_ESSID="SFR_C820"

WIFI_MODE="managed"

WIFI_KEY="uden6otruffizensollo"

WIFI_KEY_TYPE="WPA/WPA2"

WPA_DRIVER="wext"

WIFI_CHANNEL=""

WIFI_IWCONFIG_ARGS=""

root@slitaz:/home/tux#

----------------------------------------------------

root@slitaz:/home/tux# iwconfig

lo        no wireless extensions.

dummy0    no wireless extensions.

eth0      no wireless extensions.

root@slitaz:/home/tux#

-------------------------------------

someone has an idea ? help me,

Offline

#2 2015-12-08 22:05:02

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

Re: wifi impossible

Realtek wifi chipset that uses r8712u driver on linux are crap.

Either the kernel doesn't recognize the adapter or the transfer rate is dead slow.

In your case the adapter is not recognized by the kernel.

root@slitaz:/home/tux# ls /sys/class/net

dummy0 eth0 lo

If the adapter was recognized it would have a wlan0 alias.

lo the local loopback is not a valid WIFI_INTERFACE

Wireless USB adapter with ralink chipset are the best.

Offline

#3 2015-12-09 10:09:03

gegetrois
Member
Registered: 2015-12-08
Posts: 12

Re: wifi impossible

Thank you, mojo, for your explanation

Bye

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

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