On Thu, Feb 1, 2018 at 4:25 AM, Chen, Xianwen (陈贤文)
<xianwen.c...@gmail.com> wrote:
> Dear NetBSD users,
>
> I am having trouble connecting NetBSD to an open WEP wireless network,
> called "ks-guest". Because my Android mobile phone is able to connect
> to "ks-guest", the network is functioning.
>
> "ifconfig iwi0 list scan" gives the following output:
> SSID                              BSSID              CHAN RATE  S:N     INT 
> CAPS
> ks-nett                           24:01:c7:14:2a:60    1   54M  37:0
>  102 EPS  RSN WME
> ks-guest                          10:bd:18:f0:26:f2    1   54M  69:0
>  102 ES   WME
> ks-mobil                          10:bd:18:f0:26:f1    1   54M  69:0
>  102 EPS  RSN WME
> ks-mobil                          24:01:c7:14:2a:61    1   54M  36:0
>  102 EPS  RSN WME
> ks-guest                          24:01:c7:14:2d:d2    6   54M  55:0
>  102 ES   WME
> ks-guest                          24:01:c7:14:27:32    6   54M  49:0
>  102 ES   WME
> GSS-KS                            30:b5:c2:3e:7b:d8   11   54M  51:0
>  100 EPS  RSN WME
> ks-nett                           cc:d5:39:cc:61:a0   11   54M  52:0
>  102 EPS  RSN WME
> ks-guest                          cc:d5:39:cc:61:a2   11   54M  53:0
>  102 ES   WME
> ks-mobil                          cc:d5:39:cc:61:a1   11   54M  54:0
>  102 EPS  RSN WME
> KSA-Trakteriet                    cc:d5:39:cc:61:a3   11   54M  50:0
>  102 EPS  RSN WME
>
> I try to connect to "ks-guest" by "ifconfig iwi0 ssid ks-guest
> -nwkey". When I run "ifconfig", the ssid is updated. However, the
> status remains "no network":
> iwi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         ssid ks-guest
>         powersave off
>         bssid 10:bd:18:f0:26:f0
>         address: 00:12:f0:f2:14:c4
>         media: IEEE802.11 autoselect
>         status: no network
>         inet6 fe80::212:f0ff:fef2:14c4%iwi0 prefixlen 64 detached scopeid 0x3
>
> I tried to specify bssid and channel by for example "ifconfig -s iwi0
> ssid ks-guest bssid 24:01:c7:14:2b:e2 chan 6 -nwke". However, the
> status does not change.

I might not be helping much but I will try.

I haven't done this in a really long time, but I know for sure that
this used to work. I would use an ifconfig command to connect to WEP
networks. This was an 802.11b network though, not sure if that makes a
difference.

Did you try without -nwkey? Did you try specifically setting the media
type (maybe "mode 11g" or whatever it is)?

Maybe try to tcpdump the interface to see if it really is offline...

Andy

Reply via email to