The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
linksys router and solaris 8 nicomen IP Networking 10 02-04-2009 06:46 PM
Connecting SGI to Linksys router mdbanas IP Networking 3 04-26-2008 03:08 PM
Perl telnet to cisco router and compare the ping ms optimus Shell Programming and Scripting 4 08-27-2007 03:28 AM
router Linksys ajnabi IP Networking 0 02-02-2007 12:33 PM
cannot ping router from sgi irix eidde IP Networking 0 05-14-2004 05:24 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-04-2005
cstovall cstovall is offline
Registered User
  
 

Join Date: Nov 2002
Location: Raleigh, N.C.
Posts: 78
I can't ping my linksys router from Ultra 10

To begin with, I am a Solaris newbie; however, I am very familiar with Linux. Until I began working with Solaris, I didn't realize how much more difficult networking Solaris is than Linux. Before submitting this question, I have tried to fix this problem myself. After days of research, I still can't ping my Linksys router. I receive the response "no response from 192.168.1.1".Below are examples of my network configuration files:

cat /etc/hosts
127.0.0.1 localhost
192.168.1.110 solaris solaris.homesolaris.internal


cat /etc/netmask
192.1.1.0 255.255.255.0


cat /etc/resolv.conf
domain bellsouth.net
nameserver 205.152.37.254
nameserver 205.152.132.235

cat /etc/hostname.hme0
solaris

cat /etc/nodename
solaris

cat /etc/nsswitch.conf
hosts: files dns

cat /etc/defaultrouter
192.168.1.1


I also created a start up script to run the route add command. I added the following command to the /etc/rc2.d/S76static-routes file:

route add net 192.168.1.0 netmask 255.255.255.000 192.168.1.1 1

Another problem I had was that the port light on my linksys router would constantly blink, and while booting the error
message "hme0: can't connect to ethernet, Link down, Cable Problem" I added the following lines to the /etc/system file and the router light remains lit now.

set hme:hme_adv_autoneg_cap=0
set hme:hme_adv_100T4_cap=0
set hme:hme_adv_100fdx_cap=1
set hme:hme_adv_100hdx_cap=0
set hme:hme_adv_10fdx_cap=0
set hme:hme_adv_10hdx_cap=0

Here is the results of the command "netstat -r" :

Destination Gateway Flags Ref Use Interface
________________________________________________________

192.168.1.0 solaris U 1 105 hme0
244.0.0.0 solaris U 1 0 hme0
default 192.168.1.1 UG 1 40
localhost localhost UH 19 17868 lo0




Alternatively, the command "netstat -nr" displays:

Destination Gateway Flags Ref Use Interface
________________________________________________________

192.168.1.0 192.168.1.110 U 1 117 hme0
244.0.0.0 192.168.1.110 U 1 0 hme0
default 192.168.1.1 UG 1 52
localhost 127.0.0.1 UH 19 18872 lo0

Any help will be greatly appreciated. Thank you.
  #2 (permalink)  
Old 01-04-2005
98_1LE 98_1LE is offline Forum Advisor  
Registered User
  
 

Join Date: Dec 2000
Location: Greater Dallas area
Posts: 405
Try changing your netmask file to (and reboot):
192.168.1.0 255.255.255.0

If that doesn't work, can you post a:
ifconfig -a
netstat -nr
  #3 (permalink)  
Old 01-04-2005
cstovall cstovall is offline
Registered User
  
 

Join Date: Nov 2002
Location: Raleigh, N.C.
Posts: 78
Thanks for the quik response. ok. I changed my netmask to
192.168.1.0 255.255.255.0. I then rebooted the machine.

I still can't ping my router. Below is the output from ifconfig -a and netstat -nr :

lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 192.168.1.110 netmask ffffff00 broadcast 192.168.1.255
ether 8:0:20:cf:42:d6





Routing Table: IPv4
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
192.168.1.0 192.168.1.110 U 1 159 hme0
224.0.0.0 192.168.1.110 U 1 0 hme0
default 192.168.1.1 UG 1 74
127.0.0.1 127.0.0.1 UH 19 22684 lo0


I can ping the subnet 192.168.1.0, and the broacast address 192.168.1.255.
  #4 (permalink)  
Old 01-05-2005
rhfrommn rhfrommn is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2003
Location: Minnesota
Posts: 424
Your Solaris box is set up with a static IP of 192.168.1.110 according to all the information you posted.

However, Linksys routers are set up to use DHCP, thus you have no guarantee the Linksys thinks there is an address of 192.168.1.110.

Did you specify that static IP for your solaris box on the Linksys admin page? I know it can be done (I did it for my printer with a network card) but I don't remember the exact steps. It wasn't hard though, the help files or Linksys users guide should show you how to do it.

That may be all you need to do. I don't see anything wrong with your Solaris setup so I think this is the problem.

Ralph

ps. Alternatively, you could set up your Solaris box to get a DHCP address from the linksys. Search this forum for "Solaris DHCP" if you want, I know I replied to a post a few weeks back about it and some instructions were in there.
Closed Thread

Bookmarks

Tags
ping, ping port, port, port ping

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:08 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0