Hi Kalle,

Check your /etc/nsswitch.conf again!

If you do first the copy

# cp /etc/nsswitch.dns /etc/nsswitch.conf

and then you do the switch:

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

usually the nsswitch.conf will be overridden.

Hope it helps,

Erik

On 06/13/11 02:25 PM, Kalle Anka wrote:
Ok, a new try, following the install instructions on the wiki. But it does not
work.

I did a install of SunRay Server v5.1 on a fresh Solaris 11 Express, using
"ipadm" to get static ip. But it behaves strangely. I get "44B" error messages,
etc. So I want to try to make it right now. I try to get static ip with the old
way; edit config files. Thus, I followed the instructions how to get static ip
on the SunRay server wiki:

I have followed the static IP instructions here:
http://wiki.sun-rays.org/index.php/SRS_5.1_on_Solaris_11_Express#Solaris_11_Express_Installation.2FConfiguration_Instructions


After following the instructions, I did this on my fresh S11E:

  /etc/hosts
  127.0.0.1 localhost    loghost
  192.168.1.3    frasse


  /etc/hostname.e1000g0
  frasse  netmask  +  broadcast  +


  /etc/netmasks
  192.168.1.0 255.255.255.0


  /etc/defaultrouter
  192.168.1.1


  # cp /etc/nsswitch.dns /etc/nsswitch.conf
  # svcadm disable network/physical:nwam
  # svcadm enable network/physical:default








And this below output is the result. It does not look right. What is wrong? I
dont get it. How do you get static IP on S11E? I have tried ipadm and succeeded
with SunRay Server v5.1 install, but my SunRay2 DTU behaves strangely ("44B"),
so I thought I try to get static IP as described in the install instructions
(the legacy way, in the future we should use "ipadm"). But it does not work. Can
someone update the wiki with install instructions for S11E?


# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL>  mtu 8232 
index
1
     inet 127.0.0.1 netmask ff000000
e1000g0: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4>  mtu 1500 index 2
     inet 192.168.1.3 netmask ffffff00 broadcast 192.168.1.255
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL>  mtu 8252 
index
1
     inet6 ::1/128



# netstat -rn
Routing Table: IPv4
   Destination           Gateway           Flags  Ref     Use     Interface
-------------------- -------------------- ----- ----- ---------- ---------
127.0.0.1            127.0.0.1            UH        2          4 lo0

Routing Table: IPv6
   Destination/Mask            Gateway                   Flags Ref   Use    If
--------------------------- --------------------------- ----- --- ------- -----
::1                         ::1                         UH      2       0 lo0



# arp -a



# getent hosts frasse
192.168.1.3    frasse



# ipadm show-addr
ADDROBJ           TYPE     STATE        ADDR
lo0/v4            static   ok           127.0.0.1/8
e1000g0/_a        static   down         192.168.1.3/24
lo0/v6            static   ok           ::1/128



# ping 192.168.1.1
ping: sendto No route to host



$ ipadm show-if
IFNAME     STATE    CURRENT      PERSISTENT
lo0        ok       -m-v------46 ---
e1000g0    down     bm--------4- ---



$ ipadm show-ifprop
IFNAME      PROPERTY        PROTO PERM CURRENT    PERSISTENT DEFAULT    POSSIBLE
lo0         arp             ipv4  rw   on         --         on         on,off
lo0         forwarding      ipv4  rw   off        --         off        on,off
lo0         metric          ipv4  rw   0          --         0          --
lo0         mtu             ipv4  rw   8232       --         8232       68-8232
lo0         exchange_routes ipv4  rw   on         --         on         on,off
lo0         usesrc          ipv4  rw   none       --         none       --
lo0         forwarding      ipv6  rw   off        --         off        on,off
lo0         metric          ipv6  rw   0          --         0          --
lo0         mtu             ipv6  rw   8252       --         8252
1280-8252
lo0         nud             ipv6  rw   on         --         on         on,off
lo0         exchange_routes ipv6  rw   on         --         on         on,off
lo0         usesrc          ipv6  rw   none       --         none       --
e1000g0     arp             ipv4  rw   on         --         on         on,off
e1000g0     forwarding      ipv4  rw   off        --         off        on,off
e1000g0     metric          ipv4  rw   0          --         0          --
e1000g0     mtu             ipv4  rw   1500       --         1500       68-1500
e1000g0     exchange_routes ipv4  rw   on         --         on         on,off
e1000g0     usesrc          ipv4  rw   none       --         none       --
e1000g0     forwarding      ipv6  rw   --         --         off        on,off
e1000g0     metric          ipv6  rw   --         --         0          --
e1000g0     mtu             ipv6  rw   --         --         --         --
e1000g0     nud             ipv6  rw   --         --         on         on,off
e1000g0     exchange_routes ipv6  rw   --         --         on         on,off
e1000g0     usesrc          ipv6  rw   --         --         none       --
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to