LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   Internet connection issues AGAIN. (https://www.linuxquestions.org/questions/solaris-opensolaris-20/internet-connection-issues-again-548200/)

as400 04-23-2007 12:02 AM

Internet connection issues AGAIN.
 
Problems after problems after problems.....


Can you guys help me out here? I would appreciate it.

I am using a DHCP connection and I selected NON-NETWORKED during install too and maybe thats the problem. How can I re-configure my connection? I am behind a router too. But I need those two files to add the 192.168.1.1 router IP address.

Ok, I brought back those two files and they have the routers IP address in there and I also did this:

echo "nameserver 192.168.1.1" > /etc/resolv.conf

rebooted and still no Internet connection.

What the next suggestion?

as400 04-23-2007 12:08 AM

After I rebooted, I double checked those two files and they contain the routers IP address.

So how can I configure this DHCP connection if I did not select NETWORKED from the installation?

In WIndows, everything is OK. But solaris does not seem to recognize my connection.

jlliagre 04-23-2007 09:03 AM

Quote:

Originally Posted by as400

I am using a DHCP connection and I selected NON-NETWORKED during install too and maybe thats the problem.

You guess right, non-networked means the machine is set not to use the network.
Quote:

How can I re-configure my connection?
run sys-unconfig and give the right answers when prompted.

as400 04-23-2007 11:13 AM

OK, it seemed very straight forward but after I did those settings it gave me a bunch of error messages on the gray booting svreen like here:

Code:

WARNING: IP: HARDWARE ADDRESS "THE MAC ADDRESS" TRYING TO BE OUR ADDRESS 192.168.001.001.001!

WARNING: IP: HARDWARE ADDRESS "THE MAC ADDRESS" TRYING TO BE OUR ADDRESS 192.168.001.001.001!

WARNING: IP: HARDWARE ADDRESS "THE MAC ADDRESS" TRYING TO BE OUR ADDRESS 192.168.001.001.001!

Now as far as tyhe questions go here what I answered:

1. Hostname for rtls0: myname1
2. Part of a Subnet: NO (TRIED BOTH...NO AND YES)
3. Nameserver: NONE
4. IP address for rtls0: 192.168.1.1
5. Kereeros: NO
6. FOR THE ROUTE I ENTERED AS NONE....OR SHOULD I HAD SELECTED DETECT ONE??

Can you please explain whats going on here??


ANy more suggestions here? Or please take a look at my answers please.

as400 04-23-2007 12:33 PM

Here are my WIndows ip settings to compare:

Adapter
Physical Address. . . . . . . . . : 00-0D-87-2F-65-66
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.113
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 84.2.44.1
84.2.46.1
NetBIOS over Tcpip. . . . . . . . : Disabled
Lease Obtained. . . . . . . . . . : 23-Apr-2007 19:29:57
Lease Expires . . . . . . . . . . : 24-Apr-2007 19:29:57

jlliagre 04-23-2007 12:53 PM

Quote:

Originally Posted by as400
Can you please explain whats going on here?

It's written in plain English in the error message.

The IP address you have assigned to the Solaris box is already used on your network by another machine. This can't work. Use a different address or alternatively a DHCP server to distribute IP addresses.

as400 04-23-2007 01:02 PM

I dont have another machine...I am dual booting with Windows. Its just one machine and its not connected to another machine.

Here are the answers I gave again:

1. Host name: myname1
2. System part of a subnet: NO
3. Default Route for rtls0: NONE
4. Nameservice: NONE

The one thing I am always confused about are the SUBNET PART (YES OR NO) and the DEFAULT ROUTE...Those things always confuses me when configuring a DHCP connection in Solaris.

Can I get workaround this or do I have to reinstall the whole thing again?

as400 04-23-2007 02:22 PM

Sorry for the hassles...But this is crazy

Ok....Long story short...Heres what I did again...

1. Host name: as40001
2. DEFAULT ROUTE WOULD BE 192.168.1.100 UNDER "SPECIFY ONE"
3. ROUTERS IP ADDRESS FOR MY INTERFACE CARD WOULD BE 192.168.1.1.....THIS IS WERE THE ISSUE WAS...AT THIS PART OF THE QUESTIONS..

So...in conclusion this how it is and plus after these settings I managed to the following things:

ECHO "192.168.1.1" > /ETC/DEFAULTROUTER
ECHO "192.168.1.1" > /ETC/RESOLV.CONF
ECHO "NAMESERVER 192.168.1.1" > /ETC/RESOLV.CONF
TOUCH /ETC/DHCP.RTLS0
CP /ETC/NSSWITCH.DNS /ETC/NSSWITCH.CONF

REBOOTED....

My FINAL FINAL FINAL question (I hope...) Is that why does it still say when booting, that my DHCP is still configured wrong???

While I see the RTSL0 LINK DOWN AND THEN LINK UP AT 100MBPS???

And why under the SYSTEM INFO it says the following:

IP Address: Counld not Ascertain
Host ID: 1891 eafd
Network Domain: COuld not Ascertain

But then how come the connection worked all of a sudden???

I think my version of Solaris is a bit strange....

Oh....ONE MORE THING HERE: I DID A IPCONFIG rtls0:

ifconfig rtls0
rtls0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2
inet 192.168.1.100 netmask ffffff00 broadcast 192.168.1.255
ether 0:d:87:2f:65:66

Are these settings OK or are they out of place a bit??? But the Internet is working just fine...Please let me know what else to change please.

as400 04-24-2007 12:15 AM

Ok, I did the following again in the sys-unconfig thing:

1. Host name: myname01
2. System part of the Subnet: YES
3. IP Address for rtls0: 192.168.1.114
4. Default Route for rtls0: 192.168.1.1

So...

Host Name: myname01
IP Address: 192.168.1.114
Subnet: 255.255.255.0
Default Route: SPECIFY ONE
Router IP Address: 192.168.1.1

And plus I did the following commands:

echo "192.168.1.1" > /etc/defaultrouter
echo "192.168.1.1" > /etc/resolv.conf
echo "nameserver 192.168.1.1" > /etc/resolv.conf

The I rebooted and then I managed to get inside my router settings by doing 192.168.1.1 in the address bar in my browser and plus when I pinged it it said it was ALIVE.

But still no luck browsing the Internet. Then I checked the following files:

/etc/hosts
127.0.0.1 localhost
192.168.1.114 myname01 loghost

/etc/defaultrouter
192.168.1.1

/etc/resolv.conf
nameserver 192.168.1.1

Still cannot browse Internet... And after doing some investigating on my own...I realized that the DT Error Message when I tried logging into my user account was caused by doing the following commands:

touch /etc/dhcp.rtsl0
cp /etc/nsswitch.dns /etc/nsswitch.conf

Thats when I realized that I couldd not even pen SMC or I was unable to logon using my user account..

So there MUST be a little or small thing to set in order for me to browse if its able to communicate with my router...EXCEPT..why cannot I browse the net?

Pinging 192.168.1.1 was able to recognize it since it said it was ALIVE...

Are my settings OK on what I did in sys-unconfig??? If not, what should I change nextime if I am using a DHCP (PPPoE) connection???

And my router settings STATUS even shows CONNECTED....I dont really understand.

Please help. I cannot afford much down time.

as400 04-24-2007 11:07 AM

Ok, if sys-unconfig will not have the DHCP selection listed, then what IP address should I enter were it says IP ADDRESS FOR RTSL0?

And should I leave the Nameservice as NONE or enter the DNS too?

I do not understand why sys-unconfig will not have DHCP selection listed...

So is there any suggestions on what settings need to be entered?

Here are settings again:

IP Address for rtls0: (I DONT KNOW THIS ONE...)
Default Route for rtls0: 192.168.1.1 (Router IP Address)
Nameservice: SHOULD I SELECT NONE OR ENTER ONE?
System Part of the Subnet: 255.255.255.0

Now, let me rephrase my post here.

Since sys-unconfig does not have were I can SELECT DHCP as connection type, then what IP address should I give for: IP ADDRESS FOR RTSL0??

And did manage to enter my router settings and it says CONNECTED, but I cannot access webpages.

as400 04-24-2007 12:10 PM

I got the DAMN THING!!!! working....

But this time I added my DNS servers IP which is my Internet Porvider DNS address....

Also I entered a different IP address of 192.168.1.102 leaving the Router Address of 192.168.1.1....

So WHY in the world when its bootin up its saying or logging this message below???

FAILED TO CONFIGURE IPV4 (DHCP) FOR RTLS0

WHy in the heck is it giving that during boot???

jlliagre 04-24-2007 12:11 PM

After running sys-unconfig, the system reboots and in the initial configuration dialog is prompting you about using or not DHCP for your NIC:

http://docs.sun.com/app/docs/doc/816...aoq020g?a=view

as400 04-24-2007 12:15 PM

Also....Next question

FOR NEXTIME....

If I do not SELECT NETWORKED DURING THE INSTALLATION PROCESS...(which I will nextime)....Then how can I select DHCP from SYS-UNCONFIG??

Thats all I want to know....

The link does not work...

Do you have another one WITH pictures???

And how can I prevent that error message were I see in the bootup logs when Solaris boots?

SO I can learn visually???

Something came up in my mind here...

First I selected (in sys-unconfig Xorg....instead of Xsun....Is that why it did not ask me to select whether my network was DHCP or not???

Ho can I get that selection in SYS-UNCONFIG....???? Please explain...

jlliagre 04-24-2007 12:41 PM

Quote:

Originally Posted by as400
But this time I added my DNS servers IP which is my Internet Porvider DNS address....

Yes, giving the proper IP of a DNS server instead of a gateway that doesn't have this capability is correct.
Quote:

Also I entered a different IP address of 192.168.1.102 leaving the Router Address of 192.168.1.1....
Yes, giving the same IP address to two devices connected on a network prevent them to communicate.
Quote:

So WHY in the world when its bootin up its saying or logging this message below???

FAILED TO CONFIGURE IPV4 (DHCP) FOR RTLS0
Probably because you have left both a dhcp configuration and a fixed IP one.

...

Quote:

The link does not work...

Do you have another one WITH pictures???
How do you know there are no pictures if the link doesn't work ?

as400 04-24-2007 11:30 PM

If I do not SELECT NETWORKED DURING THE INSTALLATION PROCESS...(which I will nextime)....Then how can I select DHCP from SYS-UNCONFIG??

Please...I NEED to know this for nextime...

Is there any way to select DHCP option in SYS-UNCONFIG?

There MUST be an option for that but I cannot seem to find it.


All times are GMT -5. The time now is 06:23 AM.