Bluehost.com Web Hosting $6.95

network question about linux-mandrake + winxp

This is a discussion on network question about linux-mandrake + winxp within the Linux Networking forums, part of the Linux Forums category; Hi all To put it simply.. To start of with I had a WinXP Pro box [my bigg power house ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-08-2003
Player
 
Posts: n/a
Default network question about linux-mandrake + winxp

Hi all

To put it simply..

To start of with I had a WinXP Pro box [my bigg power house and gaming
platofrm] :) [took me years to get it were it is now heh] :)
and it is connected to an adsl connection via a usb adsl modem.

Well I took an interest in linux but soon learned that the usb adsl modem
and linux didnt mix so I was stuck for a while as to what to do.
Eventually after deciding that I would save up for a adsl router, I bought
two nics and a cross-over cable.

I attached both nics to both pc's, enabled internet connection sharing on
my winxp box and then installed mandrake 9.1 on my second box.

Well everything went smoothly and mandrake didnt even ask me for any
details regarding the nic, i.e host, domain, masq, dns ip and all that, it
just did it automaticly, which I was very impressed with :)

However the thing is now though, I don't no much about the setup, me being
a begginer and all, and I would like to no just exactly what
mandrake-linux did in order to get this setup working ok.

So my questions are.
What ip should I ping from the linux box, in order to ping the winxp box?
As I no it's internet ip address, but I don't no it's lan ip addy, or if
it even has one?

I can get my linux box's ip via netstat -a but that doesnt show any
details regarding the winxp box.

I would like to explore the winxp box and all its open ports and what-not,
from my linux box, you no, so I can explore and all, but doing it on my
own machines, nice and safely.

I would like to try network progs out on my linux box, such as ftp and
sshd, but at the moment I am stumped as to how I am supposed to get any
details about the winxp box on the little network I have created, from the
linux box.

My netstat from the linux box, gives me this output...

Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:32768 *:* LISTEN
tcp 0 0 localhost:32769 *:* LISTEN
tcp 0 0 *:sunrpc *:* LISTEN
tcp 0 0 *:x11 *:* LISTEN
tcp 0 0 localhost:smtp *:* LISTEN
tcp 0 0 *:7741 *:* LISTEN
tcp 0 0 ip.ip.ip.ip:32774 efnet.demon.co.uk:ircd ESTABLISHED
udp 0 0 *:32768 *:*
udp 0 0 localhost:domain *:*
udp 0 0 *:7741 *:*
udp 0 0 *:bootpc *:*
udp 0 0 224.0.0.251:5353 *:*
udp 0 0 ip.ip.ip.ip:5353 *:*
udp 0 0 localhost:5353 *:*
udp 0 0 *:sunrpc *:*
raw 0 0 *:icmp *:* 7

Substitued my mac ip for ip.ip.ip.ip for paranoid security reasons :)

So could someone explain to me were I should look for relevant details on
just what mandrake did at install time as regards my cross over link to
the winxp box with the adsl con.
And any relevant info or little tricks I could do and use in order to gain
some info on the winxp box from the linux box.
Regards Player

--
***********************************
Hale to the new GODS of Earth.....
Long live the Machines
***********************************

Reply With Quote
  #2 (permalink)  
Old 10-08-2003
Allan Bruce
 
Posts: n/a
Default Re: network question about linux-mandrake + winxp


"Player" <Architect@Matrix.com> wrote in message
news:pan.2003.10.08.09.49.58.803105@Matrix.com...
> Hi all
>
> To put it simply..
>
> To start of with I had a WinXP Pro box [my bigg power house and gaming
> platofrm] :) [took me years to get it were it is now heh] :)
> and it is connected to an adsl connection via a usb adsl modem.
>
> Well I took an interest in linux but soon learned that the usb adsl modem
> and linux didnt mix so I was stuck for a while as to what to do.
> Eventually after deciding that I would save up for a adsl router, I bought
> two nics and a cross-over cable.
>
> I attached both nics to both pc's, enabled internet connection sharing on
> my winxp box and then installed mandrake 9.1 on my second box.
>
> Well everything went smoothly and mandrake didnt even ask me for any
> details regarding the nic, i.e host, domain, masq, dns ip and all that, it
> just did it automaticly, which I was very impressed with :)
>
> However the thing is now though, I don't no much about the setup, me being
> a begginer and all, and I would like to no just exactly what
> mandrake-linux did in order to get this setup working ok.
>
> So my questions are.
> What ip should I ping from the linux box, in order to ping the winxp box?
> As I no it's internet ip address, but I don't no it's lan ip addy, or if
> it even has one?


Your XP box will be 192.168.0.1 if it is using Internet Connection Sharing
type
ipconfig /all
to get its address otherwise

>
> I can get my linux box's ip via netstat -a but that doesnt show any
> details regarding the winxp box.
>
> I would like to explore the winxp box and all its open ports and what-not,
> from my linux box, you no, so I can explore and all, but doing it on my
> own machines, nice and safely.


No can do if the XP box is the one dialling in to the exchange

>
> I would like to try network progs out on my linux box, such as ftp and
> sshd, but at the moment I am stumped as to how I am supposed to get any
> details about the winxp box on the little network I have created, from the
> linux box.
>
> My netstat from the linux box, gives me this output...
>
> Proto Recv-Q Send-Q Local Address Foreign Address State
> tcp 0 0 *:32768 *:* LISTEN
> tcp 0 0 localhost:32769 *:* LISTEN
> tcp 0 0 *:sunrpc *:* LISTEN
> tcp 0 0 *:x11 *:* LISTEN
> tcp 0 0 localhost:smtp *:* LISTEN
> tcp 0 0 *:7741 *:* LISTEN
> tcp 0 0 ip.ip.ip.ip:32774 efnet.demon.co.uk:ircd

ESTABLISHED
> udp 0 0 *:32768 *:*
> udp 0 0 localhost:domain *:*
> udp 0 0 *:7741 *:*
> udp 0 0 *:bootpc *:*
> udp 0 0 224.0.0.251:5353 *:*
> udp 0 0 ip.ip.ip.ip:5353 *:*
> udp 0 0 localhost:5353 *:*
> udp 0 0 *:sunrpc *:*
> raw 0 0 *:icmp *:* 7
>
> Substitued my mac ip for ip.ip.ip.ip for paranoid security reasons :)


I could take a stab as to what it is, and so would most "admin" Im afraid
:o)

>
> So could someone explain to me were I should look for relevant details on
> just what mandrake did at install time as regards my cross over link to
> the winxp box with the adsl con.
> And any relevant info or little tricks I could do and use in order to gain
> some info on the winxp box from the linux box.
> Regards Player
>


In XP

Command What it does
---------------------------------
ipconfig /all shows the IP info for the interfaces along with subnets
etc.
netstat -rn shows the routing tables
ping 192.168.0.x will ping your linux machine



In Linux

Command What it does
---------------------------------
ifconfig -a shows the IP info for the interfaces along with subnets
etc.
netstat -rn shows the routing tables
ping 192.168.0.1 will ping your XP machine

HTH
Allan



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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




All times are GMT +1. The time now is 10:29 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0