SliTaz SliTaz Forum

You are not logged in.

#1 2012-10-17 23:36:02

lmart
Member
Registered: 2011-04-04
Posts: 61

wifi zd1211rw cannot connect

unable to connect desktop to wifi

modified network.conf to reflect actual network values

script follows (thanks to @mojo):

#!/bin/sh

#

modprobe -l | grep -i zd1211rw

lsmod  | grep -i zd1211rw

cp /media/USB-12-10/sys/t2642/network.conf /etc/

modprobe -r zd1211rw

modprobe zd1211rw

. /etc/init.d/network.sh stop

. /etc/init.d/network.sh start

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

output from running script, WEP KEY removed

+ grep -i zd1211rw

+ modprobe -l

/lib/modules/2.6.37-slitaz/kernel/drivers/net/wireless/zd1211rw/zd1211rw.ko.gz

+ grep -i zd1211rw

+ lsmod

zd1211rw               33317  0

mac80211              145388  1 zd1211rw

cfg80211               99896  2 zd1211rw,mac80211

+ cp /media/USB-12-10/sys/t2642/network.conf /etc/

+ modprobe -r zd1211rw

+ modprobe zd1211rw

+ . /etc/init.d/network.sh stop

+ . /etc/init.d/rc.functions

+ [ -z  ]

+ . /etc/network.conf

+ INTERFACE=wlan0

+ DHCP=yes

+ STATIC=no

+ IP=192.168.0.6

+ NETMASK=255.255.255.0

+ GATEWAY=192.168.0.1

+ DNS_SERVER=192.168.0.1

+ WIFI=yes

+ WIFI_INTERFACE=wlan0

+ WIFI_ESSID=398VC

+ WIFI_MODE=managed

+ WIFI_KEY=WEPKEYHERE

+ WIFI_KEY_TYPE=wep

+ WPA_DRIVER=

+ WIFI_CHANNEL=

+ WIFI_IWCONFIG_ARGS=

+ [ -z stop ]

+ Stop

+ echo Stopping all interfaces

Stopping all interfaces

+ ifconfig wlan0 down

+ ifconfig wlan0 down

+ echo Killing all daemons

Killing all daemons

+ killall udhcpc

killall: udhcpc: no process killed

+ killall wpa_supplicant

+ fgrep -q Tx-Power

+ iwconfig wlan0

+ echo Shutting down wifi card

Shutting down wifi card

+ iwconfig wlan0 txpower off

+ . /etc/init.d/network.sh start

+ . /etc/init.d/rc.functions

+ [ -z  ]

+ . /etc/network.conf

+ INTERFACE=wlan0

+ DHCP=yes

+ STATIC=no

+ IP=192.168.0.6

+ NETMASK=255.255.255.0

+ GATEWAY=192.168.0.1

+ DNS_SERVER=192.168.0.1

+ WIFI=yes

+ WIFI_INTERFACE=wlan0

+ WIFI_ESSID=398VC

+ WIFI_MODE=managed

+ WIFI_KEY=WEPKEYHERE

+ WIFI_KEY_TYPE=wep

+ WPA_DRIVER=

+ WIFI_CHANNEL=

+ WIFI_IWCONFIG_ARGS=

+ [ -z start ]

+ Start

+ eth

+ ifconfig wlan0 up

ifconfig: SIOCSIFFLAGS: Operation not possible due to RF-kill

+ wifi

+ [ yes = yes ]

+ ifconfig wlan0 down

+ [ ! -d /sys/class/net/wlan0/wireless ]

+ echo -n Configuring wlan0...

Configuring wlan0...+ ifconfig wlan0 up

+ fgrep -q Tx-Power

+ iwconfig wlan0

+ iwconfig wlan0 txpower on

+ status

+ echo -en 33[70G[[70G[ + [ 0 = 0 ]

+ echo -en 33[1;32mOK[1;32mOK+ echo -e 33[0;39m ][0;39m ]

+ [ -n  ]

+ WPA_DRIVER=wext

+ IWCONFIG_ARGS=

+ [ -n managed ]

+ IWCONFIG_ARGS= mode managed

+ [ -n  ]

+ [ WEPKEYHERE ==  -o wep == none ]

+ [ -n WEPKEYHERE ]

+ cat /etc/wpa_supplicant.conf

+ cat

+ echo Starting wpa_supplicant for NONE/WEP...

Starting wpa_supplicant for NONE/WEP...

+ wpa_supplicant -B -W -c/tmp/wpa.conf -Dwext -iwlan0

Could not set interface wlan0 flags: No such file or directory

Failed to initialize driver interface

+ rm -f /tmp/wpa.conf

+ INTERFACE=wlan0

+ dhcp

+ [ yes = yes ]

+ echo Starting udhcpc client on: wlan0...

Starting udhcpc client on: wlan0...

+ [ -d /var/run/wpa_supplicant ]

+ /sbin/udhcpc -b -T 1 -A 12 -i wlan0 -p /var/run/udhcpc.wlan0.pid

udhcpc (v1.18.4) started

ifconfig: SIOCSIFFLAGS: No such file or directory

Sending discover...

udhcpc: sendto: Network is down

Read error: Network is down, reopening socket

Sending discover...

udhcpc: sendto: Network is down

Read error: Network is down, reopening socket

Sending discover...

udhcpc: sendto: Network is down

Read error: Network is down, reopening socket

No lease, forking to background

+ static_ip

+ [ no = yes ]

+ [ -f /etc/lxpanel/default/panels/panel ]

+ sed -i s/iface=.*/iface=wlan0/ /etc/lxpanel/default/panels/pane

Offline

#2 2012-10-18 04:48:09

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

Re: wifi zd1211rw cannot connect

Install zd1211rw firmware: http://people.slitaz.org/~mojo/stuff/zd1211rw-firmware-2.21.0.0-1.tazpkg

Online

#3 2012-10-18 13:30:28

lmart
Member
Registered: 2011-04-04
Posts: 61

Re: wifi zd1211rw cannot connect

@mojo

thanks for your reply and continued support

there is a problem with the link

is there some documentation that (1) identifies if you need firmware, (2) where to obtain the firmware and, (3) how to package it?

again, thank

Offline

#4 2012-10-18 15:43:13

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

Re: wifi zd1211rw cannot connect

@Imart

The firmware link has no problem.

Every linux wireless driver not provided by the manufacturer requires firmware.

Use the get-wifi-firmware tazpkg script to fetch/install the firmware and use [c]tazpkg repack[/c] to package it.

Online

#5 2012-10-18 16:30:06

lmart
Member
Registered: 2011-04-04
Posts: 61

Re: wifi zd1211rw cannot connect

@mojo - thanks, the site is unavailable

will try your other recommendations

Offline

#6 2012-10-18 17:23:25

lmart
Member
Registered: 2011-04-04
Posts: 61

Re: wifi zd1211rw cannot connect

@mojo

many thanks for your continued support

your service is value-add to SliTaz!

Offline

#7 2012-10-18 18:01:44

lmart
Member
Registered: 2011-04-04
Posts: 61

Re: wifi zd1211rw cannot connect

@mojo - FYI

for some reason, the tazpkg looks for the firmware in tux ... see below

#!/bin/sh

#

modprobe -l | grep -i zd1211rw

lsmod  | grep -i zd1211rw

cp /media/USB-12-10/sys/zd1211rw/network.conf /etc/

<bold>tazpkg install /media/MULTIBOOT/sys/zd1211rw/zd1211rw-firmware-2.21.0.0-1.tazpkg</bold>

modprobe -r zd1211rw

modprobe zd1211rw

. /etc/init.d/network.sh stop

. /etc/init.d/network.sh start

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

tux@slitaz:~$ su

Password:

root@slitaz:/home/tux# /media/USB-12-10/sys/zd1211rw/wifi-slitaz01.sh

/lib/modules/2.6.37-slitaz/kernel/drivers/net/wireless/zd1211rw/zd1211rw.ko.gz

zd1211rw               33317  0

mac80211              145388  1 zd1211rw

cfg80211               99896  2 zd1211rw,mac80211

<bold>Unable to find: /home/tux/zd1211rw-firmware-2.21.0.0-1.tazpkg</bold>

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

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