LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 04-04-2004, 04:17 AM   #1
demmylls
Member
 
Registered: Aug 2003
Location: AT
Distribution: Fedora Core 3
Posts: 404

Rep: Reputation: 30
share and access DSL donnection with window?


how to share and DSL connection and get access from DSL connection from windows xp?

i would like to share my DSL connection with windows xp if i use my redhat linux 9 linux to connect to internet.

i would also like to get access to internet from windows system that connected to internet.

i'm not using wifi. i'm only using NIC card or direct connection to windows xp using network card.
 
Old 04-04-2004, 09:17 AM   #2
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK - South Coast.
Distribution: Ubuntu (usually the latest....)
Posts: 2,672
Blog Entries: 9

Rep: Reputation: 45
Not sure if it's what you're looking for, but I dual boot XP/Mandrake/Gentoo.

My set up is a DSL connection that comes in and terminates at a modem/router. This is inturn cable connected to the NIC card I fitted (a PCI model). This means that its the modem router that handles the connection, and I just boot between OS's at will, with no drop in connection.

If It's using different PC's i.e. one with windowsXP another with the redhat, then the same could be achieved with either a multi port modem/router or a single port model and a hub.

Erm, if it's the second system, you may have to also look into samba if you need file and print server facilities.

regards

John
 
Old 04-04-2004, 04:35 PM   #3
demmylls
Member
 
Registered: Aug 2003
Location: AT
Distribution: Fedora Core 3
Posts: 404

Original Poster
Rep: Reputation: 30
so can i access the DSL internet connection from windows xp (windows is where modem are pluginto and dialed to connect to dsl)
can get the access through network card?
 
Old 04-05-2004, 03:29 PM   #4
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK - South Coast.
Distribution: Ubuntu (usually the latest....)
Posts: 2,672
Blog Entries: 9

Rep: Reputation: 45
So I still don't quite follow, are we talking 2 machines as a network? or 1 machine dual booting?

regards

John
 
Old 04-05-2004, 04:25 PM   #5
murphaph
Member
 
Registered: Mar 2004
Location: Dublin, Ireland.
Distribution: redHat 7.2
Posts: 36

Rep: Reputation: 15
If it is TWO machines and you want to share the DSL you really should connect through the Linux machine as it is more secure when set up properly. We need more details-
1 or 2 machines?
network or dual boot?
Type of DSL modem? (driver availability will decide if you can use Linux to connect to the DSL)
 
Old 04-06-2004, 07:51 AM   #6
demmylls
Member
 
Registered: Aug 2003
Location: AT
Distribution: Fedora Core 3
Posts: 404

Original Poster
Rep: Reputation: 30
i'm talking about 2 machine direct connected through NIC with no hub or router.
i would like to use my linux to connect to internet using USB DSL modem.
after connected i would like to share DSL connection with my another machine which is windows xp.

how do i do that?
can i even do that?
 
Old 04-06-2004, 02:40 PM   #7
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,747

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
The best way is just to get a router.
 
Old 04-06-2004, 07:23 PM   #8
J.W.
Guru
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 67
You can't connect 2 PC's to one NIC. (If you only have one NIC, and it's installed into PC "A", how would you possibly connect PC "B" to it?) The bottom line is that if you have 2 PC's and you want both of them connected to the net at the same time, they each need their own NIC. My recommendation would be to buy a 2 port router (or 4 port if you have other machines) to accomplish this. Also, as you probably know, if you want to use a single keyboard, mouse, and monitor while using either of the 2 PC's, you'd also need a KVM switch. -- J.W.
 
Old 04-07-2004, 03:15 AM   #9
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK - South Coast.
Distribution: Ubuntu (usually the latest....)
Posts: 2,672
Blog Entries: 9

Rep: Reputation: 45
Well I suppose it must be possible.

Afterall, you can plug the two computers together without the dsl connection and I should think that some of the common services could be used with samba.

I seem to remember something about direct cable connections. But the example showed 2 windows boxes. So surely it's similar, even if you'd have to have the linux box set up so it acted as a router for the windows box.

Myself, I suspect I'd end up getting something like this. Yes I appreciate that it's a discontinued product (according to the website).

When I got really pissed off with my Alcatel speedtouch USB modem, I considered it, but when I did my research of available product's/prices/etc etc it worked out cheaper to get the "ethernet" model of this. I have the single port model and had to buy a hub when I got a network printer, that just happened to have an ethernet card built in.

So as I've had success with the "Solwise device", you should be able to get one of these, you can change the voltage and the network settings. Though you could probably get something similar locally (presuming that you're not in the UK). You'd still need to get another network card (20$/£12).

that would make things a lot easier i.e. if 1 pc "fellover", then the other would just carry on (depending on which way you configured them).

regards

John
 
Old 04-10-2004, 02:48 PM   #10
murphaph
Member
 
Registered: Mar 2004
Location: Dublin, Ireland.
Distribution: redHat 7.2
Posts: 36

Rep: Reputation: 15
Yes you can do that and you don't need to buy anymore hardware. You need to use Network Address Translation NAT because you (presumably) only have one IP address given to you by your ISP. Now, your windows machine's NIC will have it's own IP address (which you assign, eg 192.168.0.3) and your linux machines NIC eth0 will have another IP address that you assign it, but they must be different so use say 192.168.0.2. The USB modem (I'm assuming this modem is supported under Linux and that you have got this working otherwise you need to get that part going first) will be associated with ppp0 I think (I have an ethernet modem and do not use any ppp daemon so I can't be sure but when I was setting up my NAT I remember reading in this http://www.linux.com/howtos/IP-Masqu...TO/index.shtml that you can do it-read that fully you'll need to use it to do what you want to do. Hope this helps but yeah it can be done but get the modem working with windows if you haven't already, ok?
 
Old 04-10-2004, 05:23 PM   #11
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK - South Coast.
Distribution: Ubuntu (usually the latest....)
Posts: 2,672
Blog Entries: 9

Rep: Reputation: 45
Well done murphaph,

Even an idiot like me had a sneaking suspicion that this is possible, but I just didn't know how to accomplish it without the extra hardware.

I suppose I'd better go back to smashing walnut's with a sledge hammer

regards

John
 
Old 04-11-2004, 03:46 AM   #12
murphaph
Member
 
Registered: Mar 2004
Location: Dublin, Ireland.
Distribution: redHat 7.2
Posts: 36

Rep: Reputation: 15
thanks john,
If newbies help other newbies with the little things we'll all learn!

Also demmylls you have to use 'crossover cable', not 'straight through' to connect two devices directly together,that is all important otherwise you will have no connection!!!
 
Old 04-11-2004, 09:17 AM   #13
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK - South Coast.
Distribution: Ubuntu (usually the latest....)
Posts: 2,672
Blog Entries: 9

Rep: Reputation: 45
Well I still consider myself as a n00b, the only reason it says Addict next to my name is because I've spent the last two years asking stupid questions.

Or maybe not so stupid questions, more of a case of the answer being under my nose, but not being able to see it.

still, keep up the good work.

regards

John
 
  


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
DSL - window manager satimis DamnSmallLinux 3 08-31-2005 01:47 PM
Window share access through linux (SAMBA) emailssent Linux - Software 12 09-19-2004 02:11 PM
Howto share DSL Connection in Gentoo 2004.1 Fakiiri Linux - Networking 2 07-07-2004 02:35 AM
Need help setting up a winXP box to share DSL with Linux Digitalgoddess Linux - Networking 1 07-23-2003 06:45 PM
how to share DSL connection chanmy8 Linux - Networking 2 01-18-2003 09:06 PM


All times are GMT -5. The time now is 11:58 PM.

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
Open Source Consulting | Domain Registration