Register a domain and help support LQ
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 09-18-2007, 01:37 PM   #1
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora Core 6 x64 , Bluewhite64
Posts: 32

Rep: Reputation: 15
Internet Connection Sharing for Private Wireless Network


I have 2 laptops and I wish to share the internet connection for these.
THe internet connection is through the ethernet port of the Linux laptop.

For setting up sharing, I have done the following:

1. Setup a DHCP server on the Linux laptop. The DHCP server binds on the wireless address (,

2. On the WIndows laptop, I have configured the wireless connection to use DHCP for address.

After these steps, when I activate the wireless on windows, it is able to detect the Ad-Hoc network of the LInux wireless. Howver, it is unable to obtain the proper IP address. After trying for sometime, windows automaticaly gets a random IP address.

Interstingly, if I runt the DHCP server in foreground:

dhcpd -f -d wlan0

It actually prints the DHCPREQUEST and DHCPOFFER information when the windows laptop switches on the wireless.

I am not able to understand, why the windows laptop is then unable to obtain the proper address.

Please help.



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 Wireless Internet Connection Mandriva winXP glassnominal Linux - Wireless Networking 5 11-27-2007 07:40 PM
How do i install a network card/drivers or set up internet connection sharing? Daz155HGT Linux - Newbie 1 04-20-2004 06:22 PM
problem sharing internet connection thru crossover network kozonak Linux - Newbie 3 03-09-2004 05:39 AM
How to setup home network(sharing adsl internet connection) faidzullah Linux - Newbie 2 10-14-2003 01:19 PM
No Internet Connection From Private Network jrgalan Linux - Networking 3 07-31-2003 09:19 PM

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