LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 11-09-2004, 02:11 AM   #1
bagaudron54321
LQ Newbie
 
Registered: Nov 2004
Location: Nsw autralia
Distribution: Mandrake linux 10.0 official, Knoppix 2004 bootable, Phat Linux XP
Posts: 17

Rep: Reputation: 0
mdk 10.0 to winxp sp 2 ics problem, shares connection but can not surf net on xp cpu


Hello
I am running MDK 10.0 official download edition and attempting to network it to my Windows XP service pack 2 computer.

On the mdk cpu i connect to the internet via ppp0 and my connection to the windows pc is via eth0. I have managed to share the connection using shorewall, but on the XP machine it allows sign in to MSN and the use of LiveUpdate but wont resolve im thinking the problem may be a firewall problem but im unaware of why most internet programs work, but Internet explorer does not.

I am wondering if there is a way to fix this using iptables or shorewall.
the addresses i am using are this on the mdk machine:
- IP 192.168.0.1
- Subnet 255.255.255.0
-Default Gateway 192.168.0.1
- DNS 203.134.64.66
- DNS 2 203.134.65.66

and This on the XP machine
- IP 192.168.0.2
- Subnet 255.255.0
- Gateway 192.168.0.1
- DNS 203.134.64.66
- DNS 203.134.65.66

I can ping both machines so i dont think its a connectivity problem. Any help would be appreciated and any suggestions.

THANKS
 
Old 11-09-2004, 02:39 PM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
If you trying internet sharing via the MDK machine then you need ip-masquerading installed and you need to have ip-forwarding active. I use a combined firewall, nat and forwarding through MonMotha's firewall for my interface.
And just as a technical point a cpu refers to the processor on the motherboard and not the machine itself.
 
Old 11-10-2004, 10:41 AM   #3
lbabey
LQ Newbie
 
Registered: Jul 2004
Location: Trinidad
Distribution: Mandrake 10.0
Posts: 25

Rep: Reputation: 15
How did you do connect winXP to mandrake?

Hi, to the first guy who posted, i want to know how you got mandrake 10.0 to connect to win XP. I mean, mandrake is seeing my ethernet card but i want to be able to see files on my XP computer. It sounds like you had some success with it, so can you tell me what you did?

 
Old 11-10-2004, 11:54 PM   #4
bagaudron54321
LQ Newbie
 
Registered: Nov 2004
Location: Nsw autralia
Distribution: Mandrake linux 10.0 official, Knoppix 2004 bootable, Phat Linux XP
Posts: 17

Original Poster
Rep: Reputation: 0
hey
lbabey im sorry but im unaware of how to do that, ive tried by editing smb.conf all i know is u use the samba server for that purpose.

TigerOC ip forwarding is enabled so is masquerading the thing i need to do is write chain rules for iptables as far as i can figure out, i wrote rules to accept tcp, udp and both connections is there anything else, or an easeir way using shorewall? Oh by the way this is the hard thing, ive heard that linux is easy to set up networks with routers, but all i have is a patch cable between 2 network cards could that be a problem?
thanks
 
Old 11-11-2004, 01:21 AM   #5
lbabey
LQ Newbie
 
Registered: Jul 2004
Location: Trinidad
Distribution: Mandrake 10.0
Posts: 25

Rep: Reputation: 15
Ok thanks, but i got it working partially in that i can connect to the internet in linux via the win XP machine. I still would like to see the shared files in win XP machine tho. And i'm not sure about this samba, what is it supposed to do?
 
Old 11-11-2004, 01:24 AM   #6
linux_terror
Member
 
Registered: Aug 2004
Location: Northbrook, Illinois
Distribution: CentOS-5
Posts: 311

Rep: Reputation: 30
To lbabey, you need to set up samba to share files with the wins box, if samba is installed it is a simple matter of editing /etc/samba/smb.conf to your liking and then starting or restarting the samba server. there are many threads in the forums about how to go about doing this.

linux_terror
 
  


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
Windows XP as ICS host & Linux as client connection problem ! hemanfan Linux - Networking 3 06-08-2005 04:29 PM
no net connection..mdk 10.1..3com 3c905c-tx tjb Linux - Networking 13 01-10-2005 06:38 AM
ics problem - no net lfur Linux - Networking 1 03-20-2004 08:58 PM
ICS WinXP to RH9 slows down CPU angustia Linux - Networking 0 12-05-2003 09:11 PM
idea: sharing net connection, method: iptables..., problem: broken net connection :( danny2055 Linux - Networking 4 06-09-2003 07:00 AM


All times are GMT -5. The time now is 11:18 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration