SliTaz SliTaz Forum

You are not logged in.

#1 2016-03-08 20:34:47

colip
Member
Registered: 2015-10-26
Posts: 18

PCMCIA ZyAIR B-100 orinoco_cs do not ping, why ?

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

#2 2016-03-09 16:28:53

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

Re: PCMCIA ZyAIR B-100 orinoco_cs do not ping, why ?

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

#3 2016-03-10 19:58:30

colip
Member
Registered: 2015-10-26
Posts: 18

Re: PCMCIA ZyAIR B-100 orinoco_cs do not ping, why ?

@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

#4 2016-03-10 20:19:05

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

Re: PCMCIA ZyAIR B-100 orinoco_cs do not ping, why ?

Set DHCP="no" if Static="yes" in /etc/network.conf

Verify that eth1 is associated to wireless access point with iwconfig

Online

#5 2016-03-10 21:21:44

colip
Member
Registered: 2015-10-26
Posts: 18

Re: PCMCIA ZyAIR B-100 orinoco_cs do not ping, why ?

@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

#6 2016-03-11 11:48:32

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: PCMCIA ZyAIR B-100 orinoco_cs do not ping, why ?

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

#7 2016-03-11 13:06:13

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

Re: PCMCIA ZyAIR B-100 orinoco_cs do not ping, why ?

@ 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

#8 2016-03-11 13:42:59

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: PCMCIA ZyAIR B-100 orinoco_cs do not ping, why ?

@sixofeight

Seems you're right.

Offline

#9 2016-03-11 21:00:29

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: PCMCIA ZyAIR B-100 orinoco_cs do not ping, why ?

Try wifi box - its normally in system settings, but not in all languages

Offline

#10 2016-03-11 22:40:06

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

Re: PCMCIA ZyAIR B-100 orinoco_cs do not ping, why ?

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

#11 2016-03-12 14:50:53

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: PCMCIA ZyAIR B-100 orinoco_cs do not ping, why ?

@mojo

Hi Richard,

I'm the author of that ill-fated commit you a point here at the forum several times smile

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 smile

________

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

#12 2016-03-12 15:38:10

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: PCMCIA ZyAIR B-100 orinoco_cs do not ping, why ?

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

#13 2016-03-12 18:09:32

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: PCMCIA ZyAIR B-100 orinoco_cs do not ping, why ?

That Minor Bug exists, since i use wifibox .....

Offline

#14 2016-03-17 18:44:31

colip
Member
Registered: 2015-10-26
Posts: 18

Re: PCMCIA ZyAIR B-100 orinoco_cs do not ping, why ?

@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

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

Board footer

Powered by FluxBB
Modified by Visman

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