On Tue, 28 Aug 2007, Duncan Groenewald wrote:

> So now I can connect and its all cool but my dns does not work via the wifi 
> connection ?
>

How are you connecting? You should plumb the interface:
  ifconfig ipw0 plumb
and then:
  dladm scan-wifi
to find a network and
  dladm connect-wifi -e <essid>
to connect.

> If I use the normal ethernet port to the same hub dns works fine.  If I 
> unplug this and connect the wifi up then no dns.  Well my browser no longer 
> finds www.google.com ...
>
> I would have thought the dns is automatically provided by the dhcp server - 
> well seems to be for the ethernet port anyway..
>

  ifconfig ipw0 dhcp primary
will configure the system using DHCP information, including DNS.

> Then finally how do I set up the wificonnect to connect during boot ?
>

The best option is to use NWAM (Network Auto-Magic):

svcadm disable network/physical:default 
svcadm enable network/physical:nwam

When you log in you will be prompted with a GUI to choose a wireless 
network, and it will remember your choice the next time you boot. It will 
also prompt you if you move your laptop to a different location, and 
manage WEP keys.

Make sure your wireless interface is listed before the wired one in 
the file /etc/nwam/llp. For example:
[root at shamisen]# cat /etc/nwam/llp
wpi0    dhcp
skge0   dhcp


-Albert

Reply via email to