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
Set Tx Power 8B26
(24 posts) (3 voices)-
Posted 9 years ago #
-
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 luckPosted 9 years ago # -
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?Posted 9 years ago # -
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 startI do not have Sz4 running at the moment--I only remember, but i can not verify, to give a proper solution..sorry.
Posted 9 years ago # -
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-lineBut 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...Posted 9 years ago # -
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 luckPosted 9 years ago # -
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
Posted 9 years ago # -
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.Posted 9 years ago # -
@apache
I think that before launching udhcpc you have to check your device is associated to the access point: run
iwconfig
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
lsmod
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.
Posted 9 years ago #
Reply
You must log in to post.