Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 08-10-2007, 10:16 AM   #1
LQ Newbie
Registered: Aug 2007
Posts: 9

Rep: Reputation: 0
Question Sharing Wireless Internet Connection Mandriva winXP

OK, just installed Mandriva on my old dell 733Mhz PIII 383 MB Ram
Have WinXP Home on my newer Dell P D 3Ghz 1G Ram. -With a wireless adapter connecting to my landlords wireless network (no access to it)

Now.. I haven't run Linux since my old dell was my new dell and I had an old IBM running RedHat 7 or something..

What I'd like is this. To share the XP's connection with the Mandriva machine.

Internet < Wireless Adapter < XP < Eth < Mandriva

My ISP only allows DHCP for addressing, is it possible to share the connection?
Known possible issues being:

WinXP acting as server vs Mandriva (I'd prefer XP due to being much faster machine. True or no?)

I think that sums it up. Thanks in Advance
Old 08-10-2007, 12:31 PM   #2
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Thumbs up

The usual setup is
                                <-> XP
INet <-> Wireless router
                                <-> Mandriva
That is, both system should be able to connect directly and independently to the router, and the router will dynamically assign addresses and DNS settings from its pool of available addresses.

For example, my son has a Qwest router in his house with two desktop PCs and a laptop PC (all running XP). One desktop is hardwired to the router, whilst the other desktop and the laptop use a wireless connection. Each wireless connection is automatically made when the system is powered on.

When I'm at his house, and turn on my Linux laptop, I'm also automatically connected to his network.

(Note: His home network uses WPA2 pass-phrase encryption, so the "automatic" connection part only happens because he and I have "saved" the pass-phrase for the various connection software systems to use when the connection is being established. In the XP system this is "automatically" done when the phrase is first entered. On the Linux system, it's stored in a "wallet" that needs to be opened before the connection software can access it.)

If you really want to use the XP a secondary router, you'll need to purchase equipment (a wireless router with NAT capabilities, an Ethernet card, cables, etc.) to set it up. (This is possible to do, but expansive and, for what you describe, probably pointless.)

One "wrinkle" to all this is that, by default, almost all wireless routers are set up to assign addresses from the 192.168.-.- pool. Any device with an address in that pool can only communicate with the router, but not with any other device connected to the router. In other words, if your neighbor's router uses the default configuration settings, your two systems will be connect to the Internet, but they will not be able to "talk" to each other.
Old 08-10-2007, 03:26 PM   #3
LQ Newbie
Registered: Aug 2007
Posts: 9

Original Poster
Rep: Reputation: 0

True, but I have ethernet cards in both boxes, and if they were both Windows I think I could share my connection to the router without having to buy a $50 card that will add more 2+ Ghz cancer causing rays to my house... Last part toungue in cheek..
But.... since I want to connect my mandriva windows doesn't like it and I tried setting up J- something server on XP, but the simplest hack was shopping.

I vaguely remember DHCP being a block to connecting a LAN on a shared connection, though I think by now there should be a solution beyond buying a router..

anyway I just bought a new Linksys PCI for my Mandriva box and am typing this on it so I guess everythings cool.

Yeah I am impatient. Thanx neway

Last edited by glassnominal; 08-10-2007 at 03:30 PM.
Old 11-26-2007, 11:01 AM   #4
Registered: Sep 2005
Distribution: Debian unstable && Kazit (reformated knoppix)
Posts: 194

Rep: Reputation: 31
Iam not sure if i could help but i can try.
since iptables can forward any data between any two given interfaces i guess yo can work like that:
1.Connect the pc with the ethernet to your ISP.

Start a Ad-Hoc connection on that pc (on the Wireless card).
set the a bridge between the two cards (on the same pc).
set an internel ip on the wireless card (

2.on the linux box:
move the card to Ad-Hoc mode.
set an ip as
set the gateway as the
Old 11-26-2007, 12:25 PM   #5
Registered: Dec 2005
Location: Oregon
Distribution: Debian Testing
Posts: 488

Rep: Reputation: 38
Windows XP Pro (not sure about Home version) has capability for bridge connections that will do what you want. You may need a special crossover Ethernet cable if you want to connect directly from one computer's Ethernet port to the other.

Go into XP's Network Connections section and look for something on creating a bridge. I've used this to do a net install of Debian on an old system. It worked, but seemed a little flaky. Plus, your XP box will always have to be running.

Or... you can buy a wireless router than can work in bridge mode and run it as a client to your landlord's router. Then you can have a wired Ethernet connection from this client router to your two boxes. The ZyCel P-330W is a low-cost option for this. This is probably a better long-term solution - probably get it all for under $50.
Old 11-27-2007, 06:40 PM   #6
LQ Newbie
Registered: Aug 2007
Posts: 9

Original Poster
Rep: Reputation: 0
thanks guys, but I had bought a wireless PCI for the linux box, and I just hooked into the router... so I'm good. Thanks for the ideas tho


connection, internet, mandriva, sharing, spring, windows, wireless, xp

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
Sharing Internet connection (Suse and WinXP) glore Linux - Networking 1 04-25-2006 04:47 PM
Internet connection Sharing between linux and WinXP akutenshi Linux - Networking 4 01-28-2006 07:35 AM
Sharing an WinXP internet connection with linux adamsimpkin384 Linux - Newbie 2 01-08-2006 03:55 PM
need help on FC3 WinXP file sharing. Internet connection OK bestbidder1 Linux - Networking 1 01-15-2005 03:51 AM
Internet connection sharing - WinXP + Knoppix + Gentoo Mireno Linux - Networking 1 12-17-2004 02:56 PM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 02:09 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration