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

Re: Redirect internet connection to wireless router (was: Sharing ppp [...])



On Fri, Oct 2, 2009 at 4:03 PM, green <greenfreedom10@gmail.com> wrote:
> Vinicius Massuchetto wrote at 2009-10-02 11:54 -0500:

[...]

> Here is one way:
> 1. Set the IP address statically on the laptop for eth0 (192.168.0.1).

I did this. My eth1 is on 192.168.1.1.

> 2. Set up a DHCP server (I use dnsmasq) on the laptop, listening on eth0.

And this:
$ cat /etc/dnsmasq.conf
domain-needed
bogus-priv
interface=eth1
dhcp-range=192.168.1.3,192.169.1.100,12h

> 3. Configure the DHCP server to give the router a specific IP address, using
> the MAC address of the router (IP 192.168.0.2).

The router configuration allows me to fix its IP. Is it still necessary?
The router is on 192.168.1.2

> 4. Disable the DHCP server on the router.

I did this too. On LAN and WLAN interface.

> 5. Install the ipmasq package, and configure as necessary.

ipmasq is not available on sid. What package replaces it?

--
Vinicius Massuchetto
http://vinicius.soylocoporti.org.br


Reply to: