[indiana-discuss] [laptop-discuss] Indiana Atheros DHCP Problems

Shawn Walker swalker at opensolaris.org
Thu Jan 17 20:20:39 PST 2008


On Jan 17, 2008 8:50 PM, Judy Chen <Judy.Chen at sun.com> wrote:
> Shawn Walker On 01/17/08 22:18 wrote:
> > On Jan 17, 2008 12:52 AM, Judy Chen <Judy.Chen at sun.com> wrote:
> >
> >> Hi Shawn,
> >>
> >> Is WPA enabled on your AP? If that's the case, please refer to previous
> >> thread:
> >>     http://www.opensolaris.org/jive/thread.jspa?messageID=144727&#144727
> >> for more info.
> >>
> >
> > Since that post was from August last year, I'm hoping there is an
> > updated SUNWcry package available now?
> >
> AFAIK, It's target build is b82.
> > This needs to be mentioned on the Indiana/Laptop community pages I think.
> >
> This is included in a Wireless FAQ list which will be released to Laptop
> community next week.
> > Shouldn't there also be something in some log file somewhere pointing this out?
> >
> I cc'ed Quaker who may have more detailed info on this.

Okay, I've gotten farther. I managed to manually configure my wireless
interface w/ WPA enabled. I don't know why dhcp won't work, but that's
something I'm willing to debug if someone will tell me where to look.

I manually configured my interface thusly (and it works, I'm posting
from my Indiana-ized Laptop right now :)):

svcadm disable nwam
svcadm disable network/inetmenu (if applicable)
dladm create-secobj -c wpa psk
dladm connect-wifi -e SSID -k psk ath0
ifconfig ath0 $MY_IP broadcast $BROADCAST netmask $NETMASK
route -n add default -gateway $GATEWAY_IP
echo $GATEWAY_IP > /etc/defaultrouter
echo $HOSTNAME > /etc/nodename
echo $HOSTNAME > /etc/hostname.ath0
echo "$MY_IP $HOSTNAME" >> /etc/hosts
echo "domain $DOMAIN" > /etc/resolv.conf
echo "search $DOMAIN" >> /etc/resolv.conf
echo "nameserver $NS1_IP" >> /etc/resolv.conf
echo "nameserver $NS2_IP" >> /etc/resolv.conf
cp /etc/nsswitch.dns /etc/nsswitch.conf
svcadm enable dns/client

I haven't figured out how to make the connection wholly permanent yet
as wificonfig only supports wep, and not wpa.

Still, at least I can use my network connection now, and the atheros
card pretty much "just works" unlike the broadcom

-- 
Shawn Walker, Software and Systems Analyst
http://binarycrusader.blogspot.com/

"To err is human -- and to blame it on a computer is even more so." -
Robert Orben


More information about the indiana-discuss mailing list