Re: How to set up wireless repeater with Network Manager 0.7?



Hi,

Sorry to spam the mailing list a bit, but I keep getting further into
this, and I want to be really clear about what I want. It seems like
there are two solutions to the problem of DNS not being shared
correctly on the repeater.

The first possible solution is to diagnose why DNS is not forwarding correctly.

The second possibility is to configure dnsmasq-base to serve a
different default nameserver to its dhcp clients. This will probably
be set to the repeater's gateway, as that IP does not change.

Right now, on the boxes behind the repeater, I'm currently editing
resolv.conf by hand to change the nameservers every time I obtain an
IP address via NetworkManager and DHCP, and so the second possibility
seems like it would be simpler to implement. Unfortunately, it looks
like dnsmasq-base does not ship with any configuration files, and so
I'm not sure how I would accomplish the task of configuring it to
serve up a different nameserver. If anyone could tell me how to do
this, I would greatly appreciate it.

Thanks,

Jake

On Wed, Jun 17, 2009 at 8:26 PM, Jacob Beard<jbeard4 cs mcgill ca> wrote:
> Just an update, I see now that when you have two wireless NIC's, the
> dialog gives you the option to select one NIC on which to create the
> network. So, there's no issue there.
>
> I currently have this setup almost working perfectly. I have the
> connection shared between my two NIC's. The only problem is that DNS
> masquerade does not seem to be working correctly, as I can connect to
> my repeater and navigate to http://72.14.205.104/ in Mozilla, but the
> same thing does not work when I attempt to navigate to
> http://www.google.com. To confirm this, I edited /etc/resolv.conf and
> set the contents to be the same as the resolv.conf file on my
> repeater. After that, all hostnames resolved correctly on the computer
> behind the repeater. This is all on Ubuntu 9.04. Could anyone tell me
> what I need to do to troubleshoot this?
>
> I'd greatly appreciate any guidance anyone can offer. Thanks,
>
> Jake
>
> On Wed, Jun 17, 2009 at 7:32 PM, Jacob Beard<jbeard4 cs mcgill ca> wrote:
>> Hi all,
>>
>>   I've found instructions for using Network Manager 0.7 to share an
>> internet connection via the following configurations: wired ->
>> wireless [0], and wireless -> wired [1]. Unfortunately, I have not
>> been able to find any documentation on how to share an internet
>> connection between two wireless NIC's (turning the box into a
>> repeater), and, it's not obvious to me how one would set this up.
>>
>>   The reason for my confusion is that it does not appear as though
>> Network Manager allows you to configure a wireless profile specific to
>> a particular NIC. You would need to have two distinct profiles for
>> each NIC: one profile/NIC to connect to a particular access point, and
>> one profile/NIC to re-broadcast the connection. Network Manager
>> appears to glom all wireless configurations together.
>>
>>   I feel I must be missing something though, because I'm sure this is
>> a somewhat common use case that the creators of Network Manager would
>> have forseen and implemented.
>>
>>   I'd greatly appreciate any guidance anyone can provide. Thanks,
>>
>>   Jake
>>
>> [0] http://ubuntu-tutorials.com/2009/06/13/how-to-share-your-internet-connection/
>> [1] http://www.fishpool.org/post/2009/01/15/How-to-share-a-wireless-connection-with-others-using-Ethernet-and-Fedora
>>
>


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