SliTaz SliTaz Forum

You are not logged in.

#1 2015-10-30 15:34:10

apache
Member
Registered: 2015-10-15
Posts: 40

Set Tx Power 8B26

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

#2 2015-10-30 19:47:12

llev
Member
Registered: 2011-12-09
Posts: 568

Re: Set Tx Power 8B26

Can you post the contents of network.conf? (Delete passwords in what you post.)

What version did you test?

Offline

#3 2015-10-30 20:50:01

apache
Member
Registered: 2015-10-15
Posts: 40

Re: Set Tx Power 8B26

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

#4 2015-10-31 14:26:22

apache
Member
Registered: 2015-10-15
Posts: 40

Re: Set Tx Power 8B26

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

#5 2015-10-31 17:42:07

llev
Member
Registered: 2011-12-09
Posts: 568

Re: Set Tx Power 8B26

This version has an older kernel, the same as Slitaz 4 IIRC. Does your wifi card work with vanilla Slitaz 4?

Offline

#6 2015-10-31 18:28:20

apache
Member
Registered: 2015-10-15
Posts: 40

Re: Set Tx Power 8B26

Yea it work in slitaz 4 ...i tested on core, rc1, gtkonly, and xorg-light all worked.

Offline

#7 2015-10-31 19:19:47

llev
Member
Registered: 2011-12-09
Posts: 568

Re: Set Tx Power 8B26

You could compare the full list of loaded modules in working and non-working cases. (There are several modules involved in Wifi.)

Offline

#8 2015-10-31 20:21:29

sixofeight
Member
Registered: 2013-07-02
Posts: 234

Re: Set Tx Power 8B26

@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

#9 2015-11-01 07:53:53

apache
Member
Registered: 2015-10-15
Posts: 40

Re: Set Tx Power 8B26

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

#10 2015-11-01 10:12:18

llev
Member
Registered: 2011-12-09
Posts: 568

Re: Set Tx Power 8B26

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

#11 2015-11-01 11:40:57

sixofeight
Member
Registered: 2013-07-02
Posts: 234

Re: Set Tx Power 8B26

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

#12 2015-11-01 12:12:54

apache
Member
Registered: 2015-10-15
Posts: 40

Re: Set Tx Power 8B26

@ 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. smile

@ 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

#13 2015-11-01 19:21:08

apache
Member
Registered: 2015-10-15
Posts: 40

Re: Set Tx Power 8B26

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

#14 2015-11-01 20:41:43

llev
Member
Registered: 2011-12-09
Posts: 568

Re: Set Tx Power 8B26

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

#15 2015-11-01 21:14:29

apache
Member
Registered: 2015-10-15
Posts: 40

Re: Set Tx Power 8B26

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

#16 2015-11-02 12:33:18

sixofeight
Member
Registered: 2013-07-02
Posts: 234

Re: Set Tx Power 8B26

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

#17 2015-11-02 14:20:15

sixofeight
Member
Registered: 2013-07-02
Posts: 234

Re: Set Tx Power 8B26

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

#18 2015-11-02 16:13:15

apache
Member
Registered: 2015-10-15
Posts: 40

Re: Set Tx Power 8B26

Thanks sixofeight for the details smile

But im stuck at the "dhclient wlan0"

It said dhclient not found ...do i need to install it or what?

Offline

#19 2015-11-02 17:15:06

sixofeight
Member
Registered: 2013-07-02
Posts: 234

Re: Set Tx Power 8B26

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

#20 2015-11-02 17:20:08

apache
Member
Registered: 2015-10-15
Posts: 40

Re: Set Tx Power 8B26

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

#21 2015-11-02 18:17:10

sixofeight
Member
Registered: 2013-07-02
Posts: 234

Re: Set Tx Power 8B26

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

#22 2015-11-02 18:46:31

apache
Member
Registered: 2015-10-15
Posts: 40

Re: Set Tx Power 8B26

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. smile

Its time for me to move on with another builts.

I had tried that all same result

Offline

#23 2015-11-02 18:58:19

sixofeight
Member
Registered: 2013-07-02
Posts: 234

Re: Set Tx Power 8B26

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

#24 2015-11-03 21:43:04

llev
Member
Registered: 2011-12-09
Posts: 568

Re: Set Tx Power 8B26

@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

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.58 MiB (Peak: 1.77 MiB) ]