The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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
connection reset by peer on freebsd coolatt IP Networking 1 06-25-2009 11:28 AM
Transaction rate limiters for peer-to-peer systems iBot UNIX and Linux RSS News 0 10-23-2008 04:10 AM
Connection reset by peer Satyak Shell Programming and Scripting 5 07-14-2008 08:37 PM
ssh - connection reset by peer osxhawk Shell Programming and Scripting 2 06-05-2008 03:18 PM
connection reset by peer eyalush IP Networking 5 11-03-2005 09:45 AM

Reply
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 07-01-2009
graboid888 graboid888 is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 11
peer-to-peer connection on solaris and windows

hi everyone.

As a solaris/unix beginner, I am trying a peer-to-peer connection with my Sun and Windows.

Here is my setup:
-Windows XP
-Sun System (Netra T1) which is connected to the console of the WinXP machine.
-Windows XP has wireless connection which enables me to access internet
and a LAN card where I connected my SUN system thru crossover connection.

-I had tried to set a static ip address on my sun system using
/usr/sbin/ifconfig eri0 192.168.2.160 netmask 255.255.255.0 broadcast 192.168.2.1
--from what i understand, the broadcast is the default gateway of my wireless connection in windows xp.. please correct me if im wrong.

--i tried to ping the two systems, but i am not able to communicate.
--also, i tried to use sys-unconfig to reconfigure the network but it just hang-up after the last process wherein, it only shows an error:

svc.startd [7]: svc:/network/nis/client:default: Method "/lib/svc/method/yp" failed with exit status 96

any insights? or maybe i am not configuring my solaris system properly.
thanks a lot..
  #2 (permalink)  
Old 07-01-2009
lowbyte lowbyte is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 73
Hi,

you're wrong, the broadcast is the address for the net not for
the gateway.
Setup yur server with
ifconfig eri0 192.168.2.160 netmask 255.255.255.0 broadcast 192.168.2.255 up

Put your hostname in /etc/hostname.eri0
put hostname and ip-address in /etc/inet/hosts
<your hostname> 192.168.2.160
put netmask in /etc/inet/netmasks
192.168.2.0 255.255.255.0

Then your settings will apply at reboot.

cu
lowbyte
  #3 (permalink)  
Old 07-01-2009
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,976
broadcast != defaultrouter (Broadcasting (computing) - Wikipedia, the free encyclopedia)

to add a default route just edit /etc/defaultrouter and restart your network or enter the "route add default yourip" command.
in your "ifconfig" command the string "up" is missing. so the interface won't work! please go to the docs.sun.com website and download the ip admin guide. in shorts:

Code:
# ifconfig eri0 plumb
# ifconfig eri0 192.168.2.160 up
# ifconfig -a
the last command will show your configuration... check your default route with "netstat -rn".

hth,
DN2
  #4 (permalink)  
Old 07-02-2009
graboid888 graboid888 is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 11
thanks lowbyte and dukenuke2 for your insights..

unfortunately, i am not able to try such configurations as when i tried to use the command: sys_unconfig before i even post the first time, it rebooted the system and reconfigure the network.. i tried to follow the steps but it will only give me the error message that i posted above.. i even tried to choose different options from the steps.. but same message appears..

First: Select the network interface
eri0
eri1 (tried to choose both of them already..)
Second: System part of a subnet
yes
no (tried yes and no already)
then the steps goes on..netmask..IPv6..default route..

but everytime i finish, it gave me the error message about svc.startd.. then it will just stay there.. tried to wait for a couple of minutes and nothing happens at all.. so i need to turn off the sun system thru the power button and turn it back on either Lom command or the switch.

and i ve been trying to restart the system for a couple of hours now.. and it will immediately go to configure the network and it will just loop the process and steps..

is my solaris os already corrupted? its just so strange that i just use the command sys_unconfig and i cannot do anything at all anymore..

thanks again guys.



---------- Post updated at 05:36 AM ---------- Previous update was at 05:31 AM ----------

By the way, this is the exact message after trying to configure the network:

Jul 1 03:05:03 svc.startd [7]: svc:/network/nis/client:default: Method "/lib/svc/method/yp" failed with exit status 96

Jul 1 03:05:03 svc.startd [7]: network/nis/client:default misconfigured:transitioned to maintenance (see 'svcs -xv' for details)

after showing these messages.. nothing happens ..
thanks

---------- Post updated at 10:50 PM ---------- Previous update was at 05:36 AM ----------

update:
i now manage to work back with the original configuration.
the error message is not showing anymore.
now i just need to get back to the process of connecting my solaris to windows, i already set the static ip address for sun solaris but still not able to communicate with the windows pc that will share the internet connection.
Reply

Bookmarks

Tags
peer-to-peer, solaris and windows, wireless

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 10:53 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