Diego Giurgola writes:
> Thanks for your help. I've tried to run:
> pkg image-update
> and I think the upgrade was ok, but nothing changed, I've still this
> problem. Could I resolve disabling nwam and assigning a static ip to
> the nic?

I don't think that'll fix the problem, but disabling nwam is pretty
simple, and is documented in nwamd(1M).  You just do this:

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

(You'll need to prefix that with "pfexec" on OpenSolaris, or be root
on Solaris Express.)

If you do that, you'll need to configure the interfaces yourself.  See
dladm(1M) and ifconfig(1M).

The following script isn't in any way supported, but it's what I used
to use for wireless interfaces before nwam.  If it works for you,
you're welcome to it.

#!/bin/sh -e

PATH=/usr/sbin:/sbin:/bin
export PATH

intf=ath0

if [ "$1" != "" ]; then
        essid="-e $2"
fi

echo plumb
/usr/sbin/ifconfig $intf plumb
/usr/sbin/ifconfig $intf inet6 plumb
echo connect
dladm connect-wifi $intf $essid
sleep 1
dladm show-wifi $intf
echo dhcp start
/usr/sbin/ifconfig $intf inet6 up
/usr/sbin/ifconfig $intf dhcp start

(
        domain=`/sbin/dhcpinfo -i $intf DNSdmain`
        if [ -n "$domain" ]; then
                echo domain $domain
        else
                echo domain workingcode.com
        fi
        for addr in `/sbin/dhcpinfo -i $intf DNSserv`
        do
                echo nameserver $addr
        done
) > /etc/resolv.conf

/sbin/dhcpinfo -i $intf Message

svcadm restart network/initial
svcadm restart network/ntp


-- 
James Carlson, Solaris Networking              <[EMAIL PROTECTED]>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to