Hi Renee, Ilya,

first - nope, restarting nwam does not help and the problem does not occur
only short after reboot, but persist for the all time the machine is up.
second - nestat -rn output looks like this (i left out one column ..) :

default               192.168.1.1     UG    1     (nothing)
192.168.1.1        192.168.1.36   U      1     rge0
127.0.0.1            127.0.0.1        UH    1     lo0

(rge0 is my network device).

I believe that my nsswtich.conf is correct and also my resolv.conf is ok
(well, i work in sun and I am using solaris daily;) ). what I do not
understand, why there is no device set for default route.

To me, the problem seems more similar to bug
6584967<http://bugs.opensolaris.org/view_bug.do?bug_id=6584967>- which
would be that to successfully switch from nwam to static wired
connection it is not enough to disable "nwam" and enable "network/physical",
but some step is missing.

Michal

On Mon, May 12, 2008 at 8:01 PM, Renee Danson <[EMAIL PROTECTED]> wrote:

> On Sun, May 11, 2008 at 08:34:02PM +0200, Michal Bachorik wrote:
> > Hi all,
> >
> > (if I write to bad alias, let me know please).
> >
> > I have quite a strange problem with Opensolaris 2008.05 LiveCD - when I
> use
> > it as a LiveCD, my network is working without any problem (nwam is
> enabled),
> > but when I install the LiveCD image on my harddrive, network is not
> working
> > regardless I use nwam or switch to static wired network ("physical").
> >
> > My HW setup is:
> >
> > AMD Athlon FX64 x2, 2Gb RAM, RealTek 1Gb LAN (integrated on a
> motherboard)
> >
> > The problem is the name resolution...
>
> I'm not sure of the details on how the network admin gui works and makes
> configuration persist, but I can give you a few suggestions about nwam vs.
> network/physical:default.
>
> My guess is that the problem is that your /etc/resolv.conf and/or
> /etc/nsswitch.conf files are not getting set up properly; the DHCP server
> usually provides the name of the dns server and optionally the dns domain,
> but there are additional steps that need to be taken to load that
> information
> into /etc/resolv.conf so that your dns client can find it, and to update
> /etc/nsswitch.conf so that the name services library knows to use dns in
> the first place.
>
> When you use network/physical:default for your network configuration, it
> relies on svc:/network/service to edit /etc/resolv.conf and
> /etc/nsswitch.conf
> as needed; so if network/physical:default is enabled after boot, the file
> won't be updated.
>
> NWAM should ensure that the files are updated whenever a DHCP lease is
> acquired, but there's an open bug with that that seems to be popping up
> quite frequently in the latest opensolaris builds that you might be
> running
> into.  Have you tried simply restarting the nwam service?  That should
> help; the bug seems to be timing related and usually only happens during
> boot.  See http://defect.opensolaris.org/bz/show_bug.cgi?id=1293 or
> http://bugs.opensolaris.org/view_bug.do?bug_id=6584967.
>
> -renee
>
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to