LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 03-19-2005, 04:31 PM   #1
eutu
LQ Newbie
 
Registered: Jan 2005
Posts: 18

Rep: Reputation: 0
How To Connect To Internet


i have solaris 10 installed and running as far as i can tell the modem seams to be detected. when i open the web brouwser i get the message that no web pages are found.
my cable modem is listed as lo0 and when i open the brouwser you can see that it is sending and recieving. any help thank you
 
Old 03-19-2005, 09:08 PM   #2
gabriele_101
Member
 
Registered: Oct 2001
Location: CAMBRIDGE, MA USA
Distribution: RH9 Kernel 2.4.20-18.9
Posts: 69

Rep: Reputation: 15
You'll have to post more information. To start with, what is the output of the
Code:
ifconfig
command when you believe that you are connected with the modem? If you can include the output of the
Code:
route -n
command, then we may be able to better diagnose if this is a network configuration issue or not. Make sure to mask the output of your route -n command by replacing some of the numbers (usually the first three) so that 123.123.123.456 becomes XXX.XXX.XXX.456 and 123.123.444.678 becomes YYY.YYY.YYY.678, so that you don't post your network information to the whole world .

Good luck.

-Gabriele
 
Old 03-20-2005, 01:19 AM   #3
technopark02
Member
 
Registered: Feb 2005
Distribution: Solaris 8 - 11, JDS Linux 3.0
Posts: 99

Rep: Reputation: 15
Please post the outputs from the commands that gabriele_101 suggested.

Few more thoughts:

Seems dhcp client is not running on the machine. lo0 is the loop back interface. Instructions of the following web page may help:

http://technopark02.blogspot.com/200...cp-client.html
 
Old 03-20-2005, 08:48 AM   #4
Thorrn4
Member
 
Registered: Mar 2005
Distribution: Mepis 3.3.1
Posts: 36

Rep: Reputation: 15
Hello,

On one of the other forums, I found this link: "setting up PPPoe in Solaris 8/9" (I think PPP is how to access the internet). I dont know if it will work for Solaris 10, but I think that 10 is built like the rest of them.

http://www.techgirl-net.com/pppoe.html

Hope that I have helped

(Can someone tell me if I'm wrong...thak you)
 
Old 03-20-2005, 02:11 PM   #5
technopark02
Member
 
Registered: Feb 2005
Distribution: Solaris 8 - 11, JDS Linux 3.0
Posts: 99

Rep: Reputation: 15
The specification for PPP over Ethernet (PPPoE) is at: http://www.ietf.org/rfc/rfc2516.txt?number=2516

Since the initiator is having a cable modem, it is better to use DHCP to connect to internet instead of going through the pain of installing/using PPPoE clients to get the IP, DNS etc.,
 
Old 03-20-2005, 09:01 PM   #6
eutu
LQ Newbie
 
Registered: Jan 2005
Posts: 18

Original Poster
Rep: Reputation: 0
ok i tried the ifconfig but it showed a bunch of ifconfig commands so i tried ifconfig auto- dhcp and i came up with this status:SIOCGIFFAGS:auto-dhcp: no such interface
i was not able to get any ip address from those commands.
 
Old 03-21-2005, 06:32 AM   #7
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
ifconfig -a will show your interfaces and associed IPs
 
Old 03-21-2005, 12:11 PM   #8
eutu
LQ Newbie
 
Registered: Jan 2005
Posts: 18

Original Poster
Rep: Reputation: 0
ok i tried ifconfig -a and came up with this

lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1

I ques that means solaris is not detecting my network card that my cable modem is connected to. my network card is on the list as compatable and i have no problem getting on the internet with linux or winxp
 
Old 03-22-2005, 03:59 AM   #9
technopark02
Member
 
Registered: Feb 2005
Distribution: Solaris 8 - 11, JDS Linux 3.0
Posts: 99

Rep: Reputation: 15
I'm not sure if you are following the responses of other users (here) carefully. Anyways, pls post the output of "dmesg | grep ether"
 
Old 03-22-2005, 07:25 AM   #10
eutu
LQ Newbie
 
Registered: Jan 2005
Posts: 18

Original Poster
Rep: Reputation: 0
dmesg | grep gives no output as far as i can tell there is no dhcp client working
at boot it gives the message that sendmail failed
if i type in ifconfig dhcp status it gives the message that no dhcp interface client exists. judging by the way my desktop gui`s are working i may have a bad install.

Last edited by eutu; 03-22-2005 at 07:27 AM.
 
Old 03-22-2005, 11:49 AM   #11
technopark02
Member
 
Registered: Feb 2005
Distribution: Solaris 8 - 11, JDS Linux 3.0
Posts: 99

Rep: Reputation: 15
Okay. If it is a new installation, you can try running "sys-unconfig" command as root. It takes your system configuration to a "as manufactured" state and let's you choose alternate configuration during the very next system startup.

If you are not sure about "sys-unconfig", please have a look at the online man page: http://docs.sun.com/app/docs/doc/816...nconfig&a=view

Once sys-unconfig command has been executed, the OS reboots the machine without the intervention of the user and asks a bunch of questions regarding the configuration you wish you use. (Most of them are straight forward). When it asks if the machine is in a network, select "Yes". Then select "Yes" if it asks something like "enable DHCP". This step is important; once you select "DHCP", the machine starts configuring the ethernet interface ie., bringing up the dhcp client, communicating with the dhcp server to get the IP address etc., If everything goes well, your machine will be assigned a dynamic IP. (I don't see any reason for this step to fail, as you already mentioned that Linux & Windows are able to fetch the IP from your ISP)

Good Luck!
 
Old 03-22-2005, 02:37 PM   #12
eutu
LQ Newbie
 
Registered: Jan 2005
Posts: 18

Original Poster
Rep: Reputation: 0
well that didn't work i ques that i am having the same problem that szehanz is having. i have a soyo SY-PAI 845PE mother board with Davicom onboard LAN i will look to see if they have drivers for it. when i ran sys-unconfig it did not ask for a network or dhcp.

Last edited by eutu; 03-22-2005 at 04:57 PM.
 
Old 04-01-2005, 12:03 AM   #13
szehanz
LQ Newbie
 
Registered: Mar 2005
Location: Singapore
Distribution: Solaris, Redhat
Posts: 14

Rep: Reputation: 0
I think the problem is your hardware is not in the Solaris OS: Hardware Compatibility List.

The below link show the type of Network Cards reported to work with Solaris 10:


http://www.sun.com/bigadmin/hcl/data...ork.page1.html




You can check your hardwares whether it works with Solaris OS with the below link:


http://www.sun.com/bigadmin/hcl/data/sol/

Good Day
szehanz
 
Old 04-02-2005, 10:12 AM   #14
szehanz
LQ Newbie
 
Registered: Mar 2005
Location: Singapore
Distribution: Solaris, Redhat
Posts: 14

Rep: Reputation: 0
hi eutu,

FYI, I manage to connect to Internet now.

I bought a RealTek RTL8139(A/B/C/D/8130)/810X series network card which
proven to be compatible with Solaris 10 x86. It costs me S$10.

I guess my on-board Ethernet Port is not compatible with Solaris 10 x86 as it is not found on the Solaris OS: Hardware Compatibility List.

In my case,

I create 2 files in /etc to make my settings permanent.
#devfsadm -v
#cd /etc
#touch hostname.rtls1
#touch dhcp.rtls1
#init 6


I will like to share my experience; for those people who wanted to give Solaris 10 x86 a try, you may wish to check the below link to see if your hardware is compatible with Solaris 10 x86 first, in order to save you from un-necessary
problem.

http://www.sun.com/bigadmin/hcl/data/sol/

It is a good learning experience for me
 
Old 04-02-2005, 03:41 PM   #15
eutu
LQ Newbie
 
Registered: Jan 2005
Posts: 18

Original Poster
Rep: Reputation: 0
ok thanks i may give the realtek card a try
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
When i connect on the internet I want root not to access the internet !! skouket Linux - Security 12 07-10-2005 12:17 PM
Messed up my Internet Settings (can't connect to the internet) Almazick Linux - Wireless Networking 0 09-07-2004 06:23 PM
can't connect to the internet:linux dont read my internet address droplsh Linux - General 1 02-29-2004 07:32 PM
Can connect broadband but can't connect Internet satimis Linux - Networking 4 01-31-2004 07:58 PM
How to connect to the internet??? Hachaso Linux - Software 2 04-12-2002 05:27 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 03:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration