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 01-13-2004, 03:18 PM   #1
LQ Newbie
Registered: Jan 2004
Posts: 3

Rep: Reputation: 0
Wink Internet access through router and wifi connection

Hi to all experts !
Well I come to you very humbly after having spent hours and hours of unsuccessful nightly work.
The problem is the following : how to access the internet from a station (PC1) wifi linked to a linux station (PC2) itself Ethernet linked (cable) to a hub connected to a modem router ???

PC 1 ---- wifi ---- PC 2 ---- Hub ---- PC x

The IP configuration of the whole stuff is the following :

PC 1
running Win XP (OK, OK, please...)
Wifi PCIcard : DLink 520+
IP adress, netmask

PC 2
running Linux Mandrake 9.2
First interface : wlan0
= Wifi PCIcard : DLink 520+ (works perfectly under Mandrake 9.2 after module compilation !)
IP adress netmask

Second interface : eth0
= Ethernet card (SIS chip on Motherboard)
IP adress netmask

Modem Router
Bewan ADSL Cx Ethernet modem router
IP adress (THE gateway)

I can ping (wlan0 of PC2) from (PC1)
I can ping (router) from (eth0 of PC2)
I can't ping (PC2) from (PC1)
and of course
I can't ping (router) from (PC1) and of course access the internet, this is the main problem!

The only thing that worked was a successfull ping on (Ethernet on PC2) from (PC1) after having launched a ARP Proxy on eth0 and wlan0. But (router) remained invisible for PC1 even with the ARP proxy running.

I've tried many combinations in the routing table of PC2 using "route add..." but obviously not the good one* ! I feel it is a routing problem but... Would a bridge between the subnets be usefull ? Heeeeeeeelp !
* the default route is defined as using the gateway

The first relevant reply wins my eternal gratitude !

N.B : of course I could add a second ethernet card on PC2 and use it as a residential gateway but it would mean full time power for PC2. Moreover, now I've launched out a challenge to myself I must find a way to succeed... and find peacefull nights !

Thanks to everybody

Last edited by caudalie; 01-13-2004 at 03:30 PM.
Old 01-13-2004, 03:22 PM   #2
LQ Newbie
Registered: Jan 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Angry Correction

Hum ... the scheme does not appear as I drew it...
The link to the modem router and internet starts from Hub and not PC1 !

Last edited by caudalie; 01-13-2004 at 03:26 PM.
Old 01-15-2004, 11:11 AM   #3
LQ Newbie
Registered: Jan 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Anybody interested in this issue ?
Old 01-22-2004, 03:51 PM   #4
LQ Newbie
Registered: Apr 2003
Location: hanish worlds
Distribution: fedora & windows XP
Posts: 23

Rep: Reputation: 15
you do know you're asking PC2 to act as a wireless access point/router, don't you? Do you have it configured to do that?

i have a home network set up with a wireless access point (AP) plugged into a router. All the wireless PCs connect to the router thru the AP; the rest of the PCs are ethernet cable to the router. The router handles all the routing/dhcp stuff as well as acting as a NAT firewall.


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
HOW TO share I internet connection through wifi?? piggyaugu Linux - Newbie 4 07-03-2005 12:22 AM
connected to wifi network but no internet connection? mr.gizm0 Linux - Wireless Networking 3 03-21-2005 03:07 AM
Connection to access point OK, but cannot access the network/internet Nymphetamine Linux - Wireless Networking 29 01-13-2005 02:59 PM
internet connection through wifi Hotfeet Linux - Wireless Networking 4 12-04-2004 12:09 AM
Router - Internet connection Sun_Tsu Mandriva 2 11-29-2004 03:41 AM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

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