Can you scan at home?
Assume the bcmndis scanning gets your AP at home, and make sure the 
authentication mode of the AP is 'open'(shared-key is not supported in 
the current stage), then the easy way for you to connect to the AP is as 
follows:
#wificonfig createprofile /profilename/ essid=**** encryption=*** 
wepkeyindex=*** wepkey=***
(this profilename depicts your AP's configuration)
#ifconfig bcmndis0 plumb
#wificonfig -i bcmndis0 connect /profilename/
#ifconfig bcmndis0 dhcp

Since you have already get the wireless router running DHCP, so after 
the 'ifconfig dhcp' command returns, the default route is added 
automatically.
no other commands are needed any more.

If your AP has no routing feature, that is, it is a purely layer 2 
device, you should run pppoe. In that case, an extra ppp interface will 
be created and
a IP address provided by the ISP will be achieved. you even need not run 
'ifconfig dhcp' command.   

    Brian

Zia-ul-Hassan ???:

>Hi All,
>I was able to compile the ndis and ndisapi on my laptop.Now ndis is working 
>fine ans it can now scan the WLAN.How to get it configured?I tried it  using 
>wificonfig , but no luck.I have got DSL wireless router running DHCP,I am 
>wondering how to get the IP address netmask,broadcast and default router 
>settings for  bcmndis0 (wireless interface).
>
>I tried to use ifconfig command as follows
>
>ifconfig bcmndis0 plumb
> (fine I can see the wifi LED blinking)
>ifconfig bcmndis0 inet 10.0.0.3 netmask + brotadcast + up
>
>route add default 10.0.0.138 1 (which is the IP address of my DSL router).
>
>Somehow laptop is not connecting to wireless at home , then I bring my laptop 
>to office just to verifyif it works or doesn't work
>
>#wificonfig -i bcmndis0 showstatus  
>
>
>root at laptop 5.10 # wificonfig -i bcmndis0 showstatus
>        linkstatus: connected
>        active profile: [officewifi]
>        essid: ABCD
>        encryption: none
>        signal strength: medium(10)
>
>root at laptop 5.10 # wificonfig -i bcmndis0 scan
>essid           bssid             type          encryption      signallevel
>ABCD-WPA        00:0b:85:13:0a:5e access point  WEP     12
>ABCD                 00:0b:85:1f:b3:0f access point  none       10
>ABCD-WPA        00:0b:85:1f:b3:0d access point  WEP      10
>ABCD-WPA        00:0b:85:13:00:ed access point  WEP     9
>ABCD                 00:0b:85:13:00:ef access point  none      9
>ABCD                00:0b:85:13:0a:5f access point  none       12
>
>My question is why I am encountering problem with my laptop can't connect at 
>home.
>
>Please advise,
>
>ZIA
> 
> 
>This message posted from opensolaris.org
>_______________________________________________
>laptop-discuss mailing list
>laptop-discuss at opensolaris.org
>  
>

Reply via email to