peer-to-peer connection on solaris and windows


 
Thread Tools Search this Thread
Operating Systems Solaris peer-to-peer connection on solaris and windows
# 1  
Old 07-01-2009
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  
Old 07-01-2009
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  
Old 07-01-2009
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  
Old 07-02-2009
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.Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Can't SSH - Connection reset by Peer

Hi Guys, I can't SSH to a remote system - connection reset by peer..any ideas ? -The Source is Linux, the Remote is Windows -The remote has OpenSSH running on Port 22 - Telnet confirms port is open -User1 has a RSA2 Key (2048) key, which is capture in the 1010101-pub.key specified by the... (1 Reply)
Discussion started by: stevie_velvet
1 Replies

2. IP Networking

Problem with Static route through peer to peer connection

Hi, I am trying to add a static route in one of 3 server (S3) so that I can access the main application server (S1). But problem is, the server (S3) where I am trying to add static route is connected with another server (S2) which is in same private network of application server (S1). I have... (9 Replies)
Discussion started by: ImranBD
9 Replies

3. UNIX for Dummies Questions & Answers

cat: write error: Connection reset by peer

I have created a script to cat the contents of a log file and pipe it to head and tail so I can get specific lines. When I do this I sometimes randomly get the error "cat: write error: Connection reset by peer". It is completely sporatic and sometimes it doesnt happen and sometimes it does... (4 Replies)
Discussion started by: atelford
4 Replies

4. IP Networking

Firewall stopping Peer to Peer File sharing

I am looking for advice on a router. I am new to Linux and am trying to use Limewire and Ktorent and can make no connection. Limewire indicates I have a firewall. I have a Linksys router WRK54G and my guess is that is the problem. I have spent hours upon hours trying to get it to work using info... (0 Replies)
Discussion started by: Paul K
0 Replies

5. UNIX for Advanced & Expert Users

Connection reset by peer..closing connection

Hello I'm facing the above problem while doing a performance run. I've a script which I'm launching from my windows desktop using mozilla. The script will invoke backend action on a Solaris host which in turn feeds the records to a driver located on a linux box(Cent OS). What's happening is... (1 Reply)
Discussion started by: subramanyab
1 Replies

6. IP Networking

connection reset by peer on freebsd

hi all. am running postgresql in a vm on debian server. i have some client programs connecting to the db. when i check the logs of postgresql i see "connection reset by peer" can someone help me with this issue... thanks. (1 Reply)
Discussion started by: coolatt
1 Replies

7. Shell Programming and Scripting

Connection reset by peer

hi i am connecting to a remote server using sftp protocol. i am using the command like "sftp USER01@122.10.12.45" then i got the error "Couldn't read packet: Connection reset by peer" please help its very urgent (5 Replies)
Discussion started by: Satyak
5 Replies

8. Shell Programming and Scripting

ssh - connection reset by peer

I use ssh to work on the server (OS X 10.4.x) remotely from home (Debian / OS X 10.5.3). If I leave my machine idle, I get disconnected after a couple of minutes. I get the following error message: Read from remote host "server name": Connection reset by peer Connection to "server name" closed.... (2 Replies)
Discussion started by: osxhawk
2 Replies

9. IP Networking

connection reset by peer

:confused: HI, We have 2 servers ( win 2003 + sun 5.8 ) and we run a rsh from the NT to the UNIX. The program runs a shell script on the UNIX and waits for the answer in the EOF. How ever, after period of appx 2 min there is a reply "Recv failed:Connection reset by peer". while the... (5 Replies)
Discussion started by: eyalush
5 Replies
Login or Register to Ask a Question