Hello, 

I have installed Nevada b86 on my Apple MacBook.I am trying to connect to 
ad-hoc wireless network but no success.

Any information will be appreciated.

Best Regards,
-- Kazuyuki Sato


--------------------------------------------------------------------------------

* ad-hoc wireless netwok
  using WMWifirouter (http://www.wmwifirouter.com)
  - turns wifi enabled smartphone into a ad-hoc wireless internet hotspot.
    (DHCP server run on)  

  connect from Windows, Mac OS X, Palm TX was no problem.
  
* ad-hoc client
  Nevada b86 + ath 0.7.2 on Apple Macbook (Late 2006)  
  - ath driver attached AR5418(pci168c,24)

  Using Infrastructure Mode is no problem. keeping of good connection.

* My wificonfig procedure 

1. scan wifi AP and ath0 plumb

# ifconfig ath0 plumb
# ifconfig ath0
ath0: flags=201000802<BROADCAST,MULTICAST,IPv4,CoS> mtu 1500 index 6
        inet 0.0.0.0 netmask 0 
        ether 0:17:f2:ea:9:37 

# wificonfig scan
essid                bssid             type     encryption    signallevel
WMWifiRouter         02:18:41:1c:1b:08 ad-hoc      wep        15

# dladm scan-wifi
LINK       ESSID               BSSID/IBSSID      SEC    STRENGTH   MODE   SPEED
ath0       WMWifiRouter        2:18:41:1c:1b:8   wep    excellent  g      54Mb

scan.d output:
==========================================================
essid = WMWifiRouter
sa = 00:18:41:57:d9:0b.     bssid = 02:18:41:c6:39:06
channel: 11
erp: 7
basic rates quantity: 5:   1M, 2M ...
extended rates quantity: 8:   6M, 6M ...
capability info: 0x0012
    bit 1: ibss
    bit 4: wep
==========================================================
==========================================================
essid = WMWifiRouter
sa = 00:18:41:57:d9:0b.     bssid = 02:18:41:c6:39:06
channel: 11
erp: 7
basic rates quantity: 5:   1M, 2M ...
extended rates quantity: 8:   6M, 6M ...
capability info: 0x0012
    bit 1: ibss
    bit 4: wep
==========================================================


2. create profile

# wificonfig createprofile WMWifiRouter essid=WMWifiRouter \
        bsstype=ibss encryption=wep wepkey1=0123456789abc

3. connect to profile

# wificonfig connect WMWifiRouter
wificonfig: connecting to profile 'WMWifiRouter'

# wificonfig showstatus
linkstatus: connected   
active profile: [WMWifiRouter]
essid: WMWifiRouter
bssid: 02:18:41:3b:49:08
encryption: wep
signal strength: medium(9)
        
$ dladm show-wifi
LINK       STATUS            ESSID               SEC    STRENGTH   MODE   SPEED
ath0       connected         WMWifiRouter        wep    good       g      1Mb   


4. obtain IP address 
 
# ifconfig ath0 dhcp start 
ifconfig: ath0: wait timed out, operation still pending...

# snoop -d ath0
Using device ath0 (promiscuous mode)
OLD-BROADCAST -> BROADCAST    DHCP/BOOTP DHCPDISCOVER
OLD-BROADCAST -> BROADCAST    DHCP/BOOTP DHCPDISCOVER
OLD-BROADCAST -> BROADCAST    DHCP/BOOTP DHCPDISCOVER
OLD-BROADCAST -> BROADCAST    DHCP/BOOTP DHCPDISCOVER

try connect.d:  no response.( if connect to Infrastructure mode is working)
 
correct?
--------------------------------------------------------------------------------
scan.d and connect.d is excellent scripts.
 
 
This message posted from opensolaris.org

Reply via email to