>Date: Wed, 08 Aug 2007 07:28:45 PDT
>From: Robert A G Cook <crobook at gmail.com>
>To: laptop-discuss at opensolaris.org
>X-OpenSolaris-URL: 
http://www.opensolaris.org/jive/message.jspa?messageID=144302&tstart=0#144302
>Subject: Re: [laptop-discuss] Trouble with atheros driver on Solaris 10
>X-BeenThere: laptop-discuss at opensolaris.org
>
>> Robert A G Cook On 08/08/07 00:45 wrote:
>> > Hi,
>> > I was able to install and plumb the ath-0.5 driver
>> without rebooting. (The ath-0.1 driver would not
>> plumb without rebooting so I used the ath-0.5
>> driver.) When I did ifconfig ath0 dhcp, it timed out
>> with a message stating, "operation still pending."
>> >
>> > My platform is a Sun Ultra 40 running Solaris 10
>> with the DWL-G520 wireless PCI card installed at
>> device ID pci168,13. Again, the ath0 interface
>> plumbed successfully.
>> >   
>> Can you connect to the AP successfully? What's the
>> output of "wificonfig 
>> connect <your_ap>" and "wificonfig getparam"?
>>   - Judy
>> _____________________________________________
>> laptop-discuss mailing list
>> laptop-discuss at opensolaris.org
>
>The output of "wificonfig connect my_essid" was its usage statement; it 
couldn't find the DSL router (gateway) at 192.168.0.1. I didn't try "wificonfig 
getparam" yet. ifconfig -a reports that ath0 was plumbed correctly. But then 
when I reboot and do ifconfig -a again, ath0 is gone.

You need to run

  touch /etc/hostname.ath0

to create a zero length file so the service
svc:/network/physical:default will plumb the interface at boottime,
or manually run

  ifconfig ath0 plumb

Then you need to run wificonfig to connect to the wireless base
station, and then you can configure the interface to do dhcp, eg:

  wificonfig -i ath0 connect profilename

where profilename is a profile you created with wificonfig that
specifies if you're using wep, wpa, what the key is, etc.

  ifconfig ath0 dhcp primary wait 30

waits 30 seconds for a dhcp address from the dhcp server.

You should then be able to ping the IP of the base station, etc,
and run

  wificonfig -i ath0 showstatus

There is also a package called Inetmenu on opensolaris.org that does
all this for you, so might be worth trying.

regards,
-glenn
 

Reply via email to