Hi Uwe,

Uwe Dippel wrote:
> [...]
> # dladm scan-wifi rum1
> LINK       ESSID               BSSID/IBSSID      SEC    STRENGTH   MODE   
> SPEED
> rum1       wlan                0:13:10:7c:aa:f1  wpa    excellent  g      54Mb
> rum1       aztech              0:12:e:82:cd:99   wep    excellent  g      54Mb
> # ifconfig -a
> lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 
> index 1
>       inet 127.0.0.1 netmask ff000000 
> rge0: flags=201004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4,CoS> mtu 1500 
> index 2
>       inet 192.168.116.61 netmask ffffff00 broadcast 192.168.116.255
>       ether 0:e0:4d:30:2d:68 
> rum1: flags=201000842<BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 1500 index 3
>       inet 0.0.0.0 netmask 0 
>       ether 0:21:27:c0:a8:9b 
> lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 
> index 1
>       inet6 ::1/128 
> # ifconfig rum1 plumb
> ifconfig: SIOCSLIFNAME for ip: rum1: already exists
> # ifconfig rum1 dhcp 
>   
It seems you don't use it correctly, you need to connect to a AP first.
Please try:

# svcs -a  | grep nwam --> see nwam is enable or not? it should be disabled.
# dladm create-secobj -c wpa psk
............input your key------------

# dladm connect-wifi -e wlan -k psk rum1
# ifconfig rum1 dhcp

Then, it should work for you.

--
Quaker

> # ifconfig -a
> lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 
> index 1
>       inet 127.0.0.1 netmask ff000000 
> rge0: flags=201004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4,CoS> mtu 1500 
> index 2
>       inet 192.168.116.61 netmask ffffff00 broadcast 192.168.116.255
>       ether 0:e0:4d:30:2d:68 
> rum1: flags=201004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4,CoS> mtu 1500 
> index 3
>       inet 192.168.116.198 netmask ffffff00 broadcast 192.168.116.255
>       ether 0:21:27:c0:a8:9b 
> lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 
> index 1
>       inet6 ::1/128 
> # ping 192.168.116.100
> no answer from 192.168.116.100
>
> # ping 192.168.116.198
> 192.168.116.198 is alive
> # netstat -rn
>
> Routing Table: IPv4
>   Destination           Gateway           Flags  Ref     Use     Interface 
> -------------------- -------------------- ----- ----- ---------- --------- 
> default              192.168.116.200      UG        1          0 rge0      
> default              192.168.116.200      UG        1          0 rum1      
> 192.168.116.0        192.168.116.61       U         1        155 rge0      
> 192.168.116.0        192.168.116.198      U         1          0 rum1      
> 127.0.0.1            127.0.0.1            UH        1        146 lo0       
>
> Routing Table: IPv6
>   Destination/Mask            Gateway                   Flags Ref   Use    If 
>   
> --------------------------- --------------------------- ----- --- ------- 
> ----- 
> ::1                         ::1                         UH      1      21 lo0 
>   
> # ping 192.168.116.200
> no answer from 192.168.116.200
>
> Then I plugged back the wired LAN, and 
>
> # ping 192.168.116.200
> 192.168.116.200 is alive
>
> There are some items here that look strange:
> 1. The initial scan did not work
> 2. plumb did not give it an IP
> 3. It did not allow to ping its gateway
> (4. nwam is still not working for it)
>
>
> Uwe
>   


Reply via email to