You are not logged in.
SliTaz Rolling on Aspire 1400 Model BR10 without internal wifi card.
PCMCIA ZyAIR B-100-IN MAC:00A0C5403FE5 tested ok with XP on another disk.
Wired connexion is ok if WIFI="no" in /etc/network.conf.
Following infos immediately following a startup :
_______________________________________
root@slitaz:/home/tux# pccardctl status
Socket 0:
no card
Socket 1:
5.0V 16-bit PC Card
Subdevice 0 (function 0) bound to driver "orinoco_cs"
_______________________________
root@slitaz:/home/tux# ifconfig ________________________________
eth1 Link encap:Ethernet HWaddr 00:A0:C5:40:3F:E5 # same as labeled on PC Card !!!
inet6 addr: fe80::2a0:c5ff:fe40:3fe5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:792 (792.0 B)
Interrupt:3 Base address:0x4040
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2 errors:0 dropped:0 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:100 (100.0 B) TX bytes:100 (100.0 B)
_______________________________
root@slitaz:/home/tux# iwconfig
lo no wireless extensions.
tunl0 no wireless extensions.
eth1 IEEE 802.11b ESSID:"VNK-82001"
Mode:Managed Frequency:2.437 GHz Access Point: 00:26:42:54:E1:C0
Bit Rate:11 Mb/s
Retry long limit:8 RTS thr=2347 B Fragment thr=2347 B
Encryption key:off
Power Management:off
Link Quality=72/70 Signal level=-27 dBm Noise level=-145 dBm
Rx invalid nwid:0 Rx invalid crypt:1120 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
dummy0 no wireless extensions.
eth0 no wireless extensions.
_______________________________________
root@slitaz:/home/tux# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 data bytes
ping: sendto: Le réseau n'est pas accessible
Thank in advance for your help. Regards, colip.
Offline
eth1 was not assigned ip address,broadcast,mask,gateway by wireless access point.
From my system:
tux@slitaz:~$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:24:1D:23:A1:DB
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::224:1dff:fe23:a1db/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:707 errors:0 dropped:0 overruns:0 frame:0
TX packets:697 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:344915 (336.8 KiB) TX bytes:100966 (98.5 KiB)
Interrupt:17 Base address:0x6000
Online
@mojo, thanks but I need a little bit more help.
_________________
/etc/network.conf changes :
STATIC="yes"
IP="192.168.1.2"
NETMASK="255.255.255.0"
BROADCAST="192.168.1.255"
GATEWAY="192.168.1.1"
DNS_SERVER="192.168.1.1"
_________________
/var/log/boot.log
...
change network settings in /etc/wpa/wpa.conf
Starting wpa_supplicant for WPA/WPA2-PSK...
Starting udhcpc client on: eth1...
Configuring static IP on eth1: 192.168.1.2...
wpa_cli v2.1
Copyright (c) 2004-2014, Jouni Malinen <j@w1.fi> and contributors
This software may be distributed under the terms of the BSD license.
See README for more details.
Selected interface 'eth1'
Interactive mode
>quit *** manually entered during boot to continue ***
...
_______________________________
root@slitaz:/home/tux# ifconfig
eth1 Link encap:Ethernet HWaddr 00:A0:C5:40:3F:E5
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::2a0:c5ff:fe40:3fe5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:1944 (1.8 KiB)
Interrupt:3 Base address:0x4040
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:788 (788.0 B) TX bytes:788 (788.0 B)
_______________________________________
root@slitaz:/home/tux# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 data bytes
^C
--- 192.168.1.1 ping statistics ---
69 packets transmitted, 0 packets received, 100% packet loss
root@slitaz:/home/tux#
_____________
On the router I tried to add a new device, either ip or mac address without success.
Thanks in advance for your help. Regards, colip.
Offline
Set DHCP="no" if Static="yes" in /etc/network.conf
Verify that eth1 is associated to wireless access point with iwconfig
Online
@mojo Yes eth1 is associated to wireless access point, but wpa_cli stop in interactive mode ?
_________________
/etc/network.conf changes :
DHCP="no"
STATIC="yes"
_____________________________________________________
root@slitaz:/home/tux# /etc/init.d/network.sh restart
Loading network settings from /etc/network.conf
Stopping all interfaces
Killing all daemons
Configuring Wi-Fi interface eth1... [ Fait ]
Change network settings in /etc/wpa/wpa.conf
Starting wpa_supplicant for WPA/WPA2-PSK...
Successfully initialized wpa_supplicant
Configuring static IP on eth1: 192.168.1.2...
wpa_cli v2.1
Copyright (c) 2004-2014, Jouni Malinen <j@w1.fi> and contributors
This software may be distributed under the terms of the BSD license.
See README for more details.
Selected interface 'eth1'
Interactive mode
<3>Associated with 01:80:c2:00:00:03
quit
*************************************
* quit manually entered to continue *
*************************************
Is there a problem with /etc/wpa/wpa.conf ?
Above Associated with MAC is unknown : not the hw nic (eth0).
Below Access Point MAC 00:26:42:54:E1:C0 is that of the router.
...
_______________________________
root@slitaz:/home/tux# iwconfig
lo no wireless extensions.
tunl0 no wireless extensions.
eth1 IEEE 802.11b ESSID:"VNK-82001"
Mode:Managed Frequency:2.437 GHz Access Point: 00:26:42:54:E1:C0
Bit Rate:11 Mb/s
Retry long limit:8 RTS thr=2347 B Fragment thr=2347 B
Encryption key:off
Power Management:off
Link Quality=78/70 Signal level=-17 dBm Noise level=-144 dBm
Rx invalid nwid:0 Rx invalid crypt:280 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
dummy0 no wireless extensions.
eth0 no wireless extensions.
root@slitaz:/home/tux# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 data bytes
^C
--- 192.168.1.1 ping statistics ---
73 packets transmitted, 0 packets received, 100% packet loss
root@slitaz:/home/tux#
I have to abort the ping, which transmit but not receive, why ?
Note that PCMCIA ZyAIR B-100 was probably in old time connected to an ZyXel AP which is no more the case. I would like to use with my Swisscom VDSL internet router.
Thanks in advance for your help. Regards, colip.
Offline
Hi colip,
Looks like wpa_cli gets into interactive mode to ask you about some missing options: man wpa_cli:
wpa_cli provides a user interface to request authentication information, like username and password, if these are not included in the configuration.
Strange things are:
[*]From your "[c]iwconfig[/c]" output:
[c]Encryption key:off[/c]
[*]From your "[c]/etc/init.d/network.sh restart[/c]" output:
[c]Starting wpa_supplicant for WPA/WPA2-PSK...[/c]
So, your access point is opened or WPA-secured?
If you use open AP, then wpa_supplicant should never be run, and then in turn, wpa_cli also should not run asking you unsuitable questions.
Do you filled [c]WIFI_ESSID[/c] and [c]WIFI_KEY_TYPE[/c] (and [c]WIFI_KEY[/c] if needed) in your [c]/etc/network.conf[/c] file? Please, post here the full content of your [c]/etc/network.conf[/c] (swap your passwords here with *** if any).
Offline
@ Aleksej
The iwconfig "Encryption key:off" output is correct.
afaik, and someone might correct me, iwconfig only shows the key if one uses WEP encryption.
WPA/2 encryption / connection is handled by the wpa_supplicant so iwconfig will always show "Encryption key:off"
Offline
@sixofeight
Seems you're right.
Offline
Try wifi box - its normally in system settings, but not in all languages
Offline
Wifi-box and slitaz-config wifi setup stopped working for me after this commit on network.sh
http://hg.slitaz.org/slitaz-boot-scripts/rev/6c2d6362887d
The only way I can connect to wifi using a gui on slitaz is from tazpanel.
Online
@mojo
Hi Richard,
I'm the author of that ill-fated commit you a point here at the forum several times 
Can you debug, why it stopped to work for you?
I'm now downloaded the latest slitaz-rolling.iso (160306), boot Core. Edit [c]/etc/network.conf[/c] using:
[c]nano -w /etc/network.conf[/c]
The diff:
[c]--- a/etc/network.conf
+++ b/etc/network.conf
@@ -41,7 +41,7 @@
#
# Enable/disable wireless connection at boot time.
-WIFI="no"
+WIFI="yes"
# Set "yes" if you don't want to store networks you're already connected.
WIFI_BLANK_NETWORKS=""
@@ -74,17 +74,17 @@
#
# SSID (network name)
-WIFI_ESSID="any"
+WIFI_ESSID="Neo"
# BSSID (optional), use this block to associate with the AP
WIFI_BSSID=""
# Wi-Fi security. Empty ("") for open network; "ANY" for trying many methods;
# "WEP" for WEP; "WPA" for WPA/WPA2-PSK; "EAP" for 802.1x EAP.
-WIFI_KEY_TYPE="any"
+WIFI_KEY_TYPE="WPA"
# Password for WEP, WPA, EAP, WAPI, and ANY; both in ASCII or HEX form.
-WIFI_KEY=""
+WIFI_KEY="my-password-here"
# Method for EAP: "PEAP", "TLS", "TTLS", "PWD".
WIFI_EAP_METHOD=""[/c]
(Background: I have ADSL-Wi-Fi router where I can setup up to 4 APs. For a long time I use my AP called "Neo" that is WPA2-secured and hidden.)
Then:
[c]tux@slitaz:~$ su
Password:
root@slitaz:/home/tux# /etc/network
network.conf networks
root@slitaz:/home/tux# /etc/init.d/network.sh stop
Loading network settings from /etc/network.conf
Stopping all interfaces
Killing all daemons
Shutting down Wi-Fi card
root@slitaz:/home/tux# /etc/init.d/network.sh start
Loading network settings from /etc/network.conf
Configuring Wi-Fi interface wlan0... [ Done ]
Append existing /etc/wpa/wpa.conf
Starting wpa_supplicant for WPA/WPA2-PSK...
Successfully initialized wpa_supplicant
Starting udhcpc client on: wlan0...
Selected interface 'wlan0'
Connecting to Neo... [ Done ]
root@slitaz:/home/tux#[/c]
All works. And I wrote now from Midori from this Live CD.
Later I'll try to setup both Open / WEP / WPA / WPA2 secured APs, and try to configure it using [c]wifi-box[/c]. Stay tuned 
________
Setup Open AP. Reboot Live CD from scratch. Edit [c]/etc/network.conf[/c] using [c]nano[/c]. The diff:
[c]--- a/etc/network.conf
+++ b/etc/network.conf
@@ -41,7 +41,7 @@
#
# Enable/disable wireless connection at boot time.
-WIFI="no"
+WIFI="yes"
# Set "yes" if you don't want to store networks you're already connected.
WIFI_BLANK_NETWORKS=""
@@ -74,14 +74,14 @@
#
# SSID (network name)
-WIFI_ESSID="any"
+WIFI_ESSID="Test-open"
# BSSID (optional), use this block to associate with the AP
WIFI_BSSID=""
# Wi-Fi security. Empty ("") for open network; "ANY" for trying many methods;
# "WEP" for WEP; "WPA" for WPA/WPA2-PSK; "EAP" for 802.1x EAP.
-WIFI_KEY_TYPE="any"
+WIFI_KEY_TYPE=""
# Password for WEP, WPA, EAP, WAPI, and ANY; both in ASCII or HEX form.
WIFI_KEY=""[/c]
Restart network and got:
[c]root@slitaz:/home/tux# /etc/init.d/network.sh stop
Loading network settings from /etc/network.conf
Stopping all interfaces
Killing all daemons
Shutting down Wi-Fi card
root@slitaz:/home/tux# /etc/init.d/network.sh start
Loading network settings from /etc/network.conf
Configuring Wi-Fi interface wlan0... [ Done ]
Append existing /etc/wpa/wpa.conf
Starting udhcpc client on: wlan0...
udhcpc (v1.23.2) started
Sending discover...
Sending discover...
Sending discover...
Sending select for 192.168.1.2...
Lease of 192.168.1.2 obtained, lease time 86400
deleting routers
adding dns 192.168.1.1
adding dns 0.0.0.0
Connecting to Test-open... .....Failed to connect to non-global ctrl_ifname: (null) error: No such file or directory
[ Failed ][/c]
Some errors I can't understand now. But network is working now, and I wrote from Live CD.
________
Now I setup WEP-secured AP, not reboot the LiveCD now, edit [c]network.conf[/c], restart network:
[c]root@slitaz:/home/tux# /etc/init.d/network.sh stop
Loading network settings from /etc/network.conf
Stopping all interfaces
Killing all daemons
Shutting down Wi-Fi card
root@slitaz:/home/tux# /etc/init.d/network.sh start
Loading network settings from /etc/network.conf
Configuring Wi-Fi interface wlan0... [ Done ]
Append existing /etc/wpa/wpa.conf
Starting wpa_supplicant for WEP...
Successfully initialized wpa_supplicant
Starting udhcpc client on: wlan0...
Selected interface 'wlan0'
Connecting to Test-WEP... [ Done ][/c]
________
Now I use [c]wifi-box[/c]. Yes, it's weird that it closes and not re-appears again when you press "Start Wi-Fi" and "Stop Wi-Fi" buttons. But it's a minor bug. It works for me, and I can select my other non-hidden WPA2-secured AP using [c]wifi-box[/c].
You can show errors if you run [c]wifi-box[/c] after you shut down your network pressing "Stop Wi-Fi" previously:
[c]ifconfig: SIOCSIFFLAGS: Operation not possible due to RF-kill
wlan0 Interface doesn't support scanning : Network is down[/c]
But when you press "Start Wi-Fi" in the [c]wifi-box[/c] you'll get the Wi-Fi AP list just after the pair of seconds. Double-click the line with AP name, enter password et voila!
________
So it works for me. I apologize it not works for you. But I can't help you if you will not make a step forth. Any bug details, logs, console output, your AP settings?
Offline
Using [c]# slitaz-config[/c] -> wifi-setup
I can't connect to WEP-secured test AP.
I connected to my hidden AP "Neo" that is WPA2-secured.
Offline
That Minor Bug exists, since i use wifibox .....
Offline
@everybody
PCMCIA ZyAIR 802.11b still not work with Slitaz harddisk but it does on XP harddisk with WPA and dynamic WEP authentication.
On Slitaz, the notebook can establish a connection (OSI layer 3) to the AP, but it seems that the authorization (WEP) fails, hence no TCP/IP connection is provided. See above first mojo's post.
According to /etc/wpa/wpa_supplicant.conf I tried :
1) to set eapol_version=0 in /etc/wpa/wpa.conf and
2) to set WIFI_EAP_METHOD="PWD" in /etc/network.conf, without success.
I did want to try some example configuration shown at the end of /etc/wpa/wpa_supplicant.conf but it seems that /etc/wpa/wpa.conf is overwritted by /etc/init.d/network.sh.
Thanks in advance for your help.
Offline
[ Generated in 0.023 seconds, 7 queries executed - Memory usage: 1.59 MiB (Peak: 1.77 MiB) ]