If you can't ping your router, the problem isn't DNS, it's your basic network 
connection.
Check the connection between your server and your router, and make sure you 
don't have a firewall or NAT configured.

The fact that you have the RUNNING flag set on your NIC is a good sign - it means you're 
plugged into something. But somehow that "something" isn't able to reach the 
router you want. Double-check your router's address also.

-Bob

On 05/18/11 01:05 PM, Kalle Anka wrote:
Bob, I now tried to setup /etc/resolv.conf on a fresh install of S11E, but still

it dont work to get static ip.



I added "dns" at the end:
nsswitch.conf
...
hosts: files dns
...


I added the last line:
resolv.conf
nameserver 192.168.1.1
domain 195.54.122.200



Upon reboot, I can not ping 192.168.1.1. But I can ping 127.0.0.1. So how do I
setup an /etc/resolv.conf file?


Too bad that the SRS install instructions on the wiki doesn't work
http://wiki.sun-rays.org/index.php/SRS_5.1_on_Solaris_11_Express
When I get this working, I will post a how to how to install SRS v5.2 on a fresh
S11E. Hopefully someone can update the install instructions.

------------------------

It sounds as though you did not set up your /etc/resolv.conf DNS control file?
Can you do "ping 192.168.1.1"? That would verify whether your network connection
itself is working.  -Bob


----- Forwarded Message ----
From: Kalle Anka<[email protected]>
To: [email protected]
Sent: Wed, May 18, 2011 12:29:33 AM
Subject: Fw: Install instructions of v5.2 for S11E?

Ok, to install v5.2, Ive tried to first get static IP but did not succeed. I did

these steps on my fresh installation of 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






Then I rebooted and I have no internet connection. Look:
# netstat -rn
Routing Table: IPv4
   Destination           Gateway           Flags  Ref     Use     Interface
-------------------- -------------------- ----- ----- ---------- ---------
default              192.168.1.1          UG        1          0
127.0.0.1            127.0.0.1            UH        2          4 lo0
192.168.1.0          192.168.1.3          U         2          0 e1000g0

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

# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL>  mtu 8232 
index

1
     inet 127.0.0.1 netmask ff000000
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4>  mtu 1500 index 2
     inet 192.168.1.3 netmask ffffff00 broadcast 192.168.1.255
     ether 0:1b:21:1e:2e:d0
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL>  mtu 8252 
index

1
     inet6 ::1/128

# ping www.google.com
ping: unknown host www.google.com

# getent hosts Frasse
192.168.1.3    Frasse


What can be the problem?
_______________________________________________
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