Your configuration looks fine to me.

You just need your hostname/IP in /etc/hosts and /etc/hostname.INTERFACE. 
You'll need to update /etc/netmasks for your network/mask.

That's it [1]. You're have configured a static IP address and should be able to 
ping IP addresses on your local subnet, yet the ping is not working.

You can verify your configuration by observing that ifconfig is reporting correct information 
regarding your IP address, netmask, and broadcast address, and it's "UP", so you've 
correctly configured a static IP. The fact that it's also "RUNNING" means your network is 
connected to *something*.

But you can't ping your router. That's not a machine configuration problem, 
that's a network wiring problem, or possibly a firewall blocking traffic 
between your host and your router, or some other router configuration issue. I 
don't think your problem is with your server at this point.

-Bob

[1] you also need to setup a name service such as DNS, but that won't affect 
ping of an IP address, and you may need to put the IP address of your router in 
/etc/defaultrouter if your router doesn't support auto discovery, but that 
won't affect ping of anything on your local subnet, such as the router itself. 
So don't worry about either of these things until you can successfully ping 
your router's IP address.

On 05/19/11 10:03 AM, Kalle Anka wrote:
Ok, let's start from the beginning. Does someone know how to get a static IP on
S11E? Are there a link anywhere?

When I get everything working, I will post install instructions here. I will do
the hard work and post them, so we can update the wiki. The community takes care
of this.




----- Forwarded Message ----
From: Kalle Anka<[email protected]>
To: [email protected]
Sent: Wed, May 18, 2011 7:05:23 PM
Subject: Fw: Install instructions of v5.2 for S11E?

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