LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-29-2001, 03:03 PM   #1
kleinella
LQ Newbie
 
Registered: Dec 2001
Location: East Brunswick, NJ
Distribution: Mandrake 8.1
Posts: 14

Rep: Reputation: 0
Angry Linux with WinXP...


Alert..... ..... Alert

I have a WinXP Professional box connected to the internet through a LAN. I installed a second ethernet card on it, through which I connected my Mandrake 8.1 box, hoping to connect it to the internet. I know I can get it working once I get my linux box to be able to ping the windows box, but I don't know where to start. Any suggestions? Thanks.
 
Old 12-29-2001, 04:57 PM   #2
Scotty2435
Member
 
Registered: Dec 2001
Location: Waco, Texas USA
Distribution: Redhat 7.1
Posts: 232

Rep: Reputation: 30
i heard you can use win XP's internet connection sharing and DHCP on linux. I don't know much more than that. Try a forum search because this has been discussed before a few times
 
Old 12-29-2001, 05:14 PM   #3
kleinella
LQ Newbie
 
Registered: Dec 2001
Location: East Brunswick, NJ
Distribution: Mandrake 8.1
Posts: 14

Original Poster
Rep: Reputation: 0
thanks

Last edited by kleinella; 12-29-2001 at 05:15 PM.
 
Old 12-29-2001, 06:53 PM   #4
ChaosX2
Member
 
Registered: Aug 2001
Location: Sacramento, CA
Distribution: Gentoo 1.4+
Posts: 195

Rep: Reputation: 30
Doing internet connection sharing with XP is really easy. Go into your network setting right click on network you connect to the internet with and go to properties select the advance tab and check the connection sharing checkbox.
 
Old 12-29-2001, 08:49 PM   #5
kleinella
LQ Newbie
 
Registered: Dec 2001
Location: East Brunswick, NJ
Distribution: Mandrake 8.1
Posts: 14

Original Poster
Rep: Reputation: 0
So after that, should I just set Linux to DHCP? If not, how should I configure it in Netconf?
 
Old 12-29-2001, 08:51 PM   #6
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Rep: Reputation: 30
I think you can setup the mandarke box to dhcp or static, it doesnt matter as far as I know.

L8rs

RecoilUK
 
Old 12-29-2001, 08:52 PM   #7
kleinella
LQ Newbie
 
Registered: Dec 2001
Location: East Brunswick, NJ
Distribution: Mandrake 8.1
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks -- Will this work with any distro? I have Red Hat 7.1 on another box and will eventually try to do the same thing with it.

Last edited by kleinella; 12-29-2001 at 08:54 PM.
 
Old 12-29-2001, 10:01 PM   #8
ChaosX2
Member
 
Registered: Aug 2001
Location: Sacramento, CA
Distribution: Gentoo 1.4+
Posts: 195

Rep: Reputation: 30
It will just fine with Red Hat as well. Upto about a month ago I was doing just that with Red Hat 7.2 and Mandrake 8.1
 
Old 12-31-2001, 02:09 PM   #9
Ruckuss
LQ Newbie
 
Registered: Dec 2001
Posts: 15

Rep: Reputation: 0
Need a crossover cable

If you are going from machine to machine with your Cat5, you need to use a crossover cable. Mandrake & Linux need to use DHCP. You need to right click on my network places and select properties. Right click on the NIC that has your internet connection and select properties. The click the "advanced" tab & enable internet connection sharing. Your second NIC will automatically be assigned to 192.168.0.1. The second NIC will need a crossover cable to the Linux box.
 
Old 12-31-2001, 03:10 PM   #10
kleinella
LQ Newbie
 
Registered: Dec 2001
Location: East Brunswick, NJ
Distribution: Mandrake 8.1
Posts: 14

Original Poster
Rep: Reputation: 0
Alright...this is what I have currently:

Computer 1: Linux Mandrake 8.1

-Set to DHCP
-Realtek RTL 8029 set to use module ne2k-pci
-Connected by crossover cable to Computer 2

Computer 2: Windows XP

-Working internet on first ethernet card, shared connection
-Second card connected by crossover cable to Computer 1
-Second card has IP 192.168.0.1

I can ping 192.168.0.1, but I can't ping anything else from my Linux Box. My windows computer can't "see" my linux box either. Anyone know what's missing in this equation?
 
Old 12-31-2001, 03:25 PM   #11
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Rep: Reputation: 30
What address are you pinging from your windows machine to reach your Linux box?

L8rs

RecoilUK
 
Old 12-31-2001, 03:27 PM   #12
kleinella
LQ Newbie
 
Registered: Dec 2001
Location: East Brunswick, NJ
Distribution: Mandrake 8.1
Posts: 14

Original Poster
Rep: Reputation: 0
192.168.0.2

But it's not working
 
Old 12-31-2001, 03:39 PM   #13
RecoilUK
Member
 
Registered: Jul 2001
Location: Southampton, England
Distribution: Mandrake 8.2 , Slackware 8.1, $LFS
Posts: 270

Rep: Reputation: 30
When I was using XP the default address for the first dhcp connected pc was 192.168.0.16

try that or run ifconfig in linux

RecoilUK
 
Old 12-31-2001, 03:50 PM   #14
kleinella
LQ Newbie
 
Registered: Dec 2001
Location: East Brunswick, NJ
Distribution: Mandrake 8.1
Posts: 14

Original Poster
Rep: Reputation: 0
ifconfig says that its 192.168.0.2. Even then, shouldn't I be able to see the linux box in Windows "My Network Places?"

I'm confused

Thanks for the help.
 
Old 12-31-2001, 03:51 PM   #15
ChaosX2
Member
 
Registered: Aug 2001
Location: Sacramento, CA
Distribution: Gentoo 1.4+
Posts: 195

Rep: Reputation: 30
Quote:
Originally posted by kleinella
Alright...this is what I have currently:

Computer 1: Linux Mandrake 8.1

-Set to DHCP
-Realtek RTL 8029 set to use module ne2k-pci
-Connected by crossover cable to Computer 2

Computer 2: Windows XP

-Working internet on first ethernet card, shared connection
-Second card connected by crossover cable to Computer 1
-Second card has IP 192.168.0.1

I can ping 192.168.0.1, but I can't ping anything else from my Linux Box. My windows computer can't "see" my linux box either. Anyone know what's missing in this equation?
First off unless you have samba setup on the linux box you will not be able to see it on the windows machine under my network places. Another user suggested running ifconfig on the linux machine and find out what IP XP is assigning.

What would really help is if you ran ipconfig in windows XP and let me know the output as well as running ifconfig in linux and letting me know the output.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
HELP!! Tried to install linux (YOPER) with winxp and now winxp is unmountable! buffpandabear Linux - Newbie 2 01-13-2005 07:18 PM
After installing LINUX on a new partition, LINUX boots but WinXP doesn't joelmj Red Hat 5 09-14-2003 12:53 PM
Install linux (mandrake 9.1) over win 98 and still boot linux and winxp(drive E:) BlueTaurus13 Linux - General 12 09-01-2003 09:03 AM
i got RH8 & WinXP installed and properly working by GRUB. how can i reinstall WINXP? kublador Linux - Newbie 4 06-23-2003 01:00 PM
Samba: Linux Not establishing itself on network, WinXP cannot see Linux either shassouneh Linux - Networking 5 07-27-2002 07:28 PM


All times are GMT -5. The time now is 12:39 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration