If you run sys-unconfig it will unconfigure your box and reboot. During reboot it will ask you about hostname, IP address, netmask etc, to configure from scratch your network. The other approach is to manually edit a lot of files (see http://www.unixguide.net/sun/x86faq/6.8.shtml for details)
|
Quote:
|
According to your nic installation the interface is named rtls0. Try ifconfig rtls0, to see if it shows up.
|
Quote:
I think the installation is incomplete. Maybe I should try another driver huh. |
Take a look at: http://access1.sun.com/technotes/01146.html to see if you can correct that devfsadm error.
|
Quote:
I think I am getting there soon. Now, what entry must I add into /etc/hostname.rtls0? What hostname? I'm using static ip 192.168.0.162, the hostname of this solaris is "solaris". |
The only entry in /etc/hostname.rtls0 must be "solaris" (without the quotes)
|
cool, the interface is there.
But I can't surf net. How do I configure my DNS server and gateway ip? I remembered I did add in the entry during installation of solaris. But I don't have both of the file /etc/defaultrouter and /etc/resolv.conf |
Edit /etc/resolv.conf to add your DNS servers.
Also check /etc/nsswitch.conf to see if you have the line: "hosts: files dns" Perhalps you have to add the dns keyword. Edit (or create if it doesn't exist) /etc/defaultrouter to give your gateway IP address |
Quote:
I google-d and I have created and added "nameserver x.x.x.x" to my /etc/resolv.conf. How about defaultrouter? |
echo xxx.xxx.xxx.xxx > /etc/defaultrouter
where xxx.xxx.xxx.xxx is the IP of your gateway |
Below is my config, it is still not working :(
Have already configured nsswitch.conf Code:
bash-2.05# netstat -r Code:
bash-2.05# ping 64.233.167.104 |
Try: route add default 192.168.0.1
|
Quote:
hmm.. why doesn't /etc/defaultrouter works? |
/etc/defaultrouter works at system startup. It reads from there the default gateway.
Glad to see you have done it. Cheers |
All times are GMT -5. The time now is 05:28 PM. |