You are not logged in.
Pages: 1
Hi guys.
Today im tested one built version ...this build dont come with tazpanel so i launched wifi configuration in terminal(netbox %i) then i tried connect to my essid after configured network.conf ...i got this (in terminal)
(error for wireless request "set tx power (8B26)" set failed on device wlan0; operation not supported)
What this mean?
TIA
Offline
Can you post the contents of network.conf? (Delete passwords in what you post.)
What version did you test?
Offline
Im using this build link:http://pizza.slitaz.me/?id=20150315-5401
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="wlan0"
WIFI_ESSID="mine"
WIFI_MODE="managed"
WIFI_KEY=""
WIFI_KEY_TYPE="WEP"
WPA_DRIVER=""
WIFI_CHANNEL=""
WIFI_IWCONFIG_ARGS=""
Offline
what actually that mean guys cus it do not happen with others version i tested.
it not my wifi adapter fault right?
i typed lsmod in terminal and it show my rt2870sta module loaded.
so anyone can lightning me on this?
TIA
Offline
This version has an older kernel, the same as Slitaz 4 IIRC. Does your wifi card work with vanilla Slitaz 4?
Offline
Yea it work in slitaz 4 ...i tested on core, rc1, gtkonly, and xorg-light all worked.
Offline
You could compare the full list of loaded modules in working and non-working cases. (There are several modules involved in Wifi.)
Offline
@apache
--> error for wireless request "set tx power (8B26)" set failed on device wlan0;operation not supported--What this mean? <--
You (the Driver) are / is trying to boost the transmission power, which is subject to technically limitations.
Certain cards are technically limited, they have an in built fixed country code and are constructed such that they can't use a higher power whatever you try.
Offline
As i said this prob do not happen in others version i tested ...so what file i need to copy and replace from others version.
TIA
Offline
See my previous message. Also compare files /etc/init.d/network.sh and /etc/network.conf of the working and non-working cases.
Out of curiosity, why use this particular build?
Offline
I might be out of track, but a quick glance at
http://pizza.slitaz.me/?id=20150315-5401 > installed Packages,
shows nothing regarding wireless. Like "wireless-tools" for example.
Offline
@ llev
I already tried replace network.conf,network.sh from workin built the result same.
Today i tried replacing file one by one and i found out that when i add "rt2870.bin" to /lib/firmware then ran "ifconfig wlan0 up" in terminal ...it said
"ifconfig: SIOCSIFLAGS: Operation not permitted. I want small version man thats why i come to slitaz. 
@ sixofeight
click at "Browse the flavor" on the page it will show all the list ...i can confirm that wireless-tool is already installed cus i had tried to install this wireless-tool before and it said it already installed.
THX
Offline
update
Now i can connect to none encrypt wifi network using this code in terminal:
"etc/init.d/network.sh start"
I already setting network.conf to connect my wifi essid(WEP) like above post ^^^ but it wont connect.
Then if i try connect to my essid through network box i got the same error like my first post.
What i have to do now guys?
TIA
Offline
I remember having encountered a bug with WEP in Slitaz 4. I had patched network.sh not to use wpa_supplicant, but use iwconfig instead. The command line looks like:
[c]iwconfig wlan0 essid ... key ...[/c]
Offline
Can you elaborate how to use that code please ...do i still need to configure network.conf if i use this way? and how i want to connect to my essid ? in terminal ,wifibox ?
Offline
If my memory does not deceive me, Sz-4 wifibox didn't work with wep secured networks.I had to use ../network.sh stop/start...and the key (network.conf) had to be written without quotes.IIRC
Offline
ifconfig: Enable your wireless device.
iwlist: List the available wireless access points.
iwconfig: Configure your wireless connection.
dhclient: Get your IP address via dhcp.
ifconfig wlan0 up
(optional) check if your network is available:
iwlist wlan0 scan | grep -i essid
connect:
iwconfig wlan0 essid NETWORK_ID key WIRELESS_KEY
Note: iwconfig defaults to using a HEX key.
If you want to use an ascii key you will have to add the "s:" prefix to your key
....key s:WIRELESS_KEY
get an IP address:
dhclient wlan0
If no output is reported there are no errors. You should now be up and running.
EDIT
If there are spaces in the network name or key,
try again with quotes
good luck
Offline
Thanks sixofeight for the details 
But im stuck at the "dhclient wlan0"
It said dhclient not found ...do i need to install it or what?
Offline
have you already tried the usual method:
# /etc/init.d/network.sh stop
--edit the network.conf,((the credentials, (with and without quotes))
# /etc/init.d/network.sh start
I do not have Sz4 running at the moment--I only remember, but i can not verify, to give a proper solution..sorry.
Offline
Yea i already tried that way got same error;
(error for wireless request "set tx power (8B26)" set failed on device wlan0; operation not supported)
After gogling i found that slitaz use udhcpc not dhclient from this thread
http://forum.slitaz.org/topic/connect-to-wifi-from-command-line
But later i tried i got this loop and no connection.
root@slitaz:~# udhcpc wlan0
udhcpc (v1.18.4) started
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Offline
Yes you are right -->"udhcpc"--dhclient is BS..sorry
I'm trying to put the pieces together.
you can connect using network.sh script if the network isn't encrypted
(no "set tx power" error message)
then you stop the network (../network.sh stop), edit the network.conf to
use your wep encrypted network > start the network (../network.sh start)
and get the "set tx power" error message?
Edit
re-reading the thread...you said that copying the (working) network.conf from Sz4 also didn't help...hmmm..I'm running out of
Ideas..
(logical thinking)...some component (Package) must be missing in this
flavour...but please don't ask me which..
I think a real expert is needed.(I'm not)..sorry
good luck
Offline
No need to sorry man.
That uncrypted network is not mine, its from my neighbours ...i just run network.sh start then it randomly connect to that network.
EDIT
Yea im thinking that too since it size is so small maybe its missing some packages.
The dev on this forum seems like dont bother to help me.
Thanks for all of your time replied to this thread man. 
Its time for me to move on with another builts.
I had tried that all same result
Offline
oh--cross posting.
one last thing--did you try the network credentials (network name and key etc.) with and also without the quotes?--in the network.conf
IIRC..I had to type in the key without quotes, otherwise it didn't work.
Offline
@apache
I think that before launching udhcpc you have to check your device is associated to the access point: run [c]iwconfig[/c] and look if "Access Point:" is followed by a MAC address.
Also you did not say if you compared all loaded modules in both (working and non-working) versions. This means you have to compare the result of [c]lsmod[/c] and maybe try to copy modules from one version to the other (it's much work, yeah). (Note that firmware and module are different things.)
The "SIOCSIFLAGS: Operation not permitted" error is typical of a wrong firmware or module, I think.
The dev on this forum seems like dont bother to help me.
Just out of curiosity, who are you referring to? Since there are more than one dev.
Offline
Pages: 1
[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.58 MiB (Peak: 1.77 MiB) ]