LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 06-11-2006, 03:05 AM   #1
Yorick
LQ Newbie
 
Registered: Jul 2003
Location: Tokoroa NZ
Distribution: SuSE 10
Posts: 12

Rep: Reputation: 0
Connecting an XP box to the net via a SuSE10 box


This is probably very simple but I'm a network klutz.

A friend has a dualboot XP Pro/Suse 10 box connected to the internet. It works fine. However his wife has an XP box that shares an internet connection through his machine. Both machines have nics connected to a little 4 port switch which is connected in turn to a ADSL modem.

When he's connected with XP his wifes machine connects no prob, but when he connects with SuSE her connection disappears.

Whats the setup in the SuSE box needed to get his wifes machine sharing the connection.

Cheers
Yo
 
Old 06-11-2006, 03:51 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Lets make sure I've got this clear - the network in question uses a switch/router/modem combo (all in one box - usually just called an adsl modem by the retailer). The XP box connects to the modem and not to the SUSE10 box. (So XP can use the internet when SUSE is completely disconnected i.e. by pulling the plug out.)

In which case - this is very unlikly a linux problem, more likely a router problem. Check the settings in the modem to see if anything changes when SUSE is using the network.
 
Old 06-14-2006, 12:41 AM   #3
Yorick
LQ Newbie
 
Registered: Jul 2003
Location: Tokoroa NZ
Distribution: SuSE 10
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Simon Bridge
Lets make sure I've got this clear - the network in question uses a switch/router/modem combo (all in one box - usually just called an adsl modem by the retailer).
No... 4 port switch to which both machines are connected. The switch is connected to the modem. Two seperate components.

Quote:
The XP box connects to the modem and not to the SUSE10 box. (So XP can use the internet when SUSE is completely disconnected i.e. by pulling the plug out.)
Nope the Dual boot box shares it's connection, when in booted into windows. The wifes machine then connects throught that. Switch the Dual boot box off and the connection disappears. Boot to SuSE .. no connection

Quote:
In which case - this is very unlikly a linux problem, more likely a router problem. Check the settings in the modem to see if anything changes when SUSE is using the network.
Problem with that is that it's not a router, it's a modem
 
Old 06-16-2006, 03:03 AM   #4
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
the modem and all the computers are plugged into the switch?
the modem is plugged into the NAT port on the switch?
then the switch is a HW router as well - cool.

The network diagram looks like this...
Code:
modem
 |
switch
 |
 |-------SUSE/WinXPpro
 |
 |-------WinXP
 |
The question remaining unanswered is:

Can the wife-XP box connect to the internet when the Dual-boot box is physically disconnected from the switch?
 
Old 06-16-2006, 03:20 AM   #5
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
color me stuped, but I don't get it, is it:
Code:
modem
 |
switch
 |
 |-------dualboot
            |
          WinXP
and if so, what's the point of the switch?
 
Old 06-16-2006, 04:16 AM   #6
baikonur
Member
 
Registered: Oct 2005
Location: germany
Distribution: debian
Posts: 255
Blog Entries: 5

Rep: Reputation: 30
hm, as I understand it, he means:

suse/xp ---- modem
|
|
switch
|
|
xp
 
Old 06-16-2006, 05:34 AM   #7
Yorick
LQ Newbie
 
Registered: Jul 2003
Location: Tokoroa NZ
Distribution: SuSE 10
Posts: 12

Original Poster
Rep: Reputation: 0
More like this:
When they're both in XP, Wifeys box connects via ICS on the dualboot box.

Cheers
Yo
 
Old 06-16-2006, 05:52 AM   #8
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
So are you just looking for a way to get "internet connection sharing" on the suse box?
 
Old 06-16-2006, 08:14 PM   #9
Yorick
LQ Newbie
 
Registered: Jul 2003
Location: Tokoroa NZ
Distribution: SuSE 10
Posts: 12

Original Poster
Rep: Reputation: 0
yep... as stated in the first post.
 
Old 06-17-2006, 01:58 AM   #10
binary_y2k2
Member
 
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Blog Entries: 1

Rep: Reputation: 31
you can use something like firestarter firewall to do that but you could just use a script if you just want NAT.
Maybe look at http://firegate.sourceforge.net/
 
Old 07-15-2006, 04:39 AM   #11
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Sorry to vanish on you like this - my computer blew up. How did you get on?

BTW: what's wrong with connecting both machines via the switch and let the hardware do the hard stuff?
 
Old 07-15-2006, 03:46 PM   #12
Yorick
LQ Newbie
 
Registered: Jul 2003
Location: Tokoroa NZ
Distribution: SuSE 10
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Simon Bridge
Sorry to vanish on you like this - my computer blew up. How did you get on?

BTW: what's wrong with connecting both machines via the switch and let the hardware do the hard stuff?
That's what we did in the end. It turns out that it was only an issue if he logged out of Windows and into SuSE while wifeys machine was connected. Not exactly sure what's happening but it's working OK now. She just reboots and all is good. Dodgy workaround which I think has something to do with the network default settings in the XP box.. However laying hands on that box is pain of death stuff! It'll have to wait till Wifey goes on holiday.
 
Old 07-15-2006, 04:07 PM   #13
asimba
Member
 
Registered: Mar 2005
Location: 127.0.0.0
Distribution: Red Hat / Fedora
Posts: 349

Rep: Reputation: 42
just last peice here - Whats the ip address on both boxes ? if you can tell

On windows xp - Click on "Run", Type "cmd", hit return key, Type "ipconfig /all"

on suse - click on terminal window at bottom (near suse/start button) type "su -"
it will prompt you for password - type your root password - Then type "ifconfig eth0"

If you could we would at least know it is not a address conflict
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting to another Linux box through router? BajaNick Linux - Networking 17 07-14-2004 09:07 AM
Connecting from suse 9.1 to an XP box under a domain Un0riginal Linux - Networking 4 06-10-2004 01:29 PM
Connecting Linux box to Internet through Windowx XP box over LAN pcd007 Linux - Networking 1 03-14-2004 09:02 AM
connecting to X from remote box plisken Linux - General 5 05-09-2003 12:28 PM
Connecting to my Linux box using XDMCP Rand Linux - Networking 2 04-08-2003 02:28 PM


All times are GMT -5. The time now is 01:47 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