[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wifi network connection



On Mon December 24 2007 9:02 am, hce wrote:
>
> Sorry, it was my mistake, the local wifi route IP addres =
> 192.168.0.1.  I guess, the problem may be due to missing some services
> in my Debian laptop, should I run the DHCP server on the Debian
> laptop?
>
> I actually tried to connect the local wifi route (with same set up
> above) to a friend's ADSL modem which also sets the local LAN address
> to 192.168.5.1. And, it works fine. It seems that the ADSL modem has
> more proper setting than my Debian laptop.
>
> Thank you.
>
> Jim

What are you trying to do ? share your Dial up internet connection via the 
WIFI router ?
or does the WIFI Router has its own connection to the internet ?

If its the former, you will need to enable IP forwarding in your laptop's 
interface that connects to the wifi router. 
Also, If  you plan to setup dhcp on this interface, then your dhcp options 
must be configured so that
1. dhcp clients gets an IP address in the same subnet as your interface 
laptop's ethernet.
2. the WIFI router must NOT be doing dhcp (2 dhcp servers are not necessary ) 
3. the dhcp clients must get your laptop's ethernet IP as both gateway and 
nameserver.

Alternatively you can use WIFI router's DHCP server but configure it so that :
1. Laptop ethernet, WIF Router and dhcp clients are all on the same ip network
2. Laptop ethernet has ip forwarding enabled
3. dhcp clients get laptop ethernet ip address as both gateway and nameserver.

Goes withut saying that laptop must have a caching dns service such as dnsmasq 
for this to work.

If its the later, suggestion in my earlier mail has to work.

Mihira.

PS. Replies only to the list please.

-- 
Random Quotes From Megas XLR
Coop: You see? The mysteries of the Universe are revealed when you break 
stuff.
Jamie: When in doubt, blow up a planet.
Kiva: It's an 80 foot robot, if we can't see it, absolutely it's not here.
Glorft Technician: Unnecessary use of force in capturing the Earthers has been 
approved.


Reply to: