2014-11-07 - Re: [GRASE-Hotspot] Routing/DNS problem
Header Data
From: NeonJohn <jg***d@neon-john.com>
Message Hash: dc4fe7ed8d045fc4379757bd44ec673bed731df034b88d31b5fd987a6f29b4a0
Message ID: <545D8064.6000405@neon-john.com>
Reply To: <CAESLx0JmhoUcVEmsH2F72t0DhBXP1Vx_wC3V8iWBYCRa6jjGjQ@mail.gmail.com>
UTC Datetime: 2014-11-07 19:31:00 UTC
Raw Date: Fri, 07 Nov 2014 21:31:00 -0500
Raw message
On 11/07/2014 04:39 PM, Timothy White wrote:
> Hi John
Thanks for the quick response.
>
> dnsmasq is only used for DNS. CoovaChilli does the captive portal and DHCP.
> This is some support in CoovaChilli for doing "static" DHCP addresses.
> However, at this stage I've not implemented anything in the GUI for it.
>
> For most people, they have been able to assign a static IP to their
> "static" machines, give it a machine account, and it works.
Thanks, I'll give that a shot.
>
> I'll aim to implement this in the future, however it won't be part of the
> next release. You're welcome to look at how CoovaChilli static "DHCP"
> leases work, and made the needed backend changes. In my testing I couldn't
> get it to work 100% yet.
> https://github.com/GraseHotspot/grase-www-portal/issues/115
That's great! Can you point me to the directory to look into? I've
been poking around and haven't found where Chili does that.
Oh, one other small thing. Can you tell me where to change the
administrator auto-logout interval?
Thanks so much,
John
>
> Tim
>
> On Sat, Nov 8, 2014 at 7:19 AM, NeonJohn <jg***d@neon-john.com> wrote:
>
>> Hello guys,
>>
>> First off, Thank you Tim for a wonderful package. I provide both free
>> and paid internet access via satellite to this remote fishing resort.
>> I've been using DD-WRT but had no control over bandwidth hogs. Grase is
>> a breath of fresh air.
>>
>> I'm having a couple of problems that I don't know how to resolve. My
>> architecture is as follows:
>>
>> +--AP
>> satmodem----lab machine running grase---router---+--My Linux desktop
>> +--NAS
>> +--laptop
>>
>> I have the DHCP range set from 10 to 254. The NAS is the repository for
>> all my business and personal data. It must have a fixed address for NFS
>> to work. I currently have it assigned the static address of 10.1.0.253.
>>
>> The problem is that I can't reach the NAS from the lab/Grase machine.
>> No connection and no ping. I've tried moving it to within the specified
>> DHCP range to 10.1.0.253 but that made no difference.
>>
>> This brings up the more general question. DD-WRT had the concept of
>> reserved DHCP addresses which would assign the specified IP address to a
>> given MAC address. That let me keep all my machines set to DHCP -
>> including the NAS - while ensuring that when they're on my network they
>> always have the same IP address. I want to achieve that same
>> functionality in Grase.
>>
>> I'm an experienced Linux programmer and user but not so strong on
>> networking.
>>
>> I looked at /etc/dnsmasq.conf I find what appears to do what I need.
>> There is this section:
>>
>> ## Always allocate the host with Ethernet address 11:22:33:44:55:66
>> # The IP address 192.168.0.60
>> #dhcp-host=11:22:33:44:55:66,192.168.0.60
>>
>>
>> Which appears to do just what I want. I want my Linux machine to always
>> be 10.1.0.100 so I entered the line
>>
>> dhcp-host=78:45:c4:31:37:1b,10.1.0.100
>>
>> I then restarted dnsmasq with
>>
>> $ sudo /etc/rc.d/dnsmasq restart
>>
>> Which succeeded.
>>
>> I then released and requested the DHCP address
>>
>> $ sudo dhclient -r eth4 && sudo dhclient eth4
>>
>> eth4 being the ethernet port on this machine.
>>
>> $ ifconfig still shows
>>
>> eth4 Link encap:Ethernet HWaddr 78:45:c4:31:37:1b
>> inet addr:10.1.0.11 Bcast:10.1.0.255 Mask:255.255.255.0
>> inet6 addr: fe80::7a45:c4ff:fe31:371b/64 Scope:Link
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
>> RX packets:9147993 errors:0 dropped:0 overruns:0 frame:0
>> TX packets:8457221 errors:0 dropped:0 overruns:0 carrier:0
>> collisions:0 txqueuelen:1000
>> RX bytes:3670533484 (3.6 GB) TX bytes:1704326715 (1.7 GB)
>> Interrupt:46 Base address:0x2000
>>
>> I then tried rebooting this machine which resulted in the same 10.1.0.11
>> address being assigned to it.
>>
>> So apparently dnsmasq isn't being used by Grase. Is that correct?
>>
>> So what does Grase use to assign DHCP addresses? Can I achieve my goal
>> of having reserved DHCP addresses?
>>
>> Thanks,
>> John
>>
>>
>>
>>
>>
>> --
>> John DeArmond
>> Tellico Plains, Occupied TN
>> http://www.fluxeon.com <-- THE source for induction heaters
>> http://www.neon-john.com <-- email from here
>> http://www.johndearmond.com <-- Best damned Blog on the net
>> PGP key: wwwkeys.pgp.net: BCB68D77
>>
>> --
>> This mailing list is for the Grase Hotspot Project http://grasehotspot.org
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Grase Hotspot" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to gr***e@grasehotspot.org.
>> To post to this group, send email to gr***t@grasehotspot.org.
>> Visit this group at
>> http://groups.google.com/a/grasehotspot.org/group/grase-hotspot/.
>> To view this discussion on the web visit
>> https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/545D3776.7080302%40neon-john.com
>> .
>>
>
--
John DeArmond
Tellico Plains, Occupied TN
http://www.fluxeon.com <-- THE source for induction heaters
http://www.neon-john.com <-- email from here
http://www.johndearmond.com <-- Best damned Blog on the net
PGP key: wwwkeys.pgp.net: BCB68D77
Thread
-
Return to November 2014
- Return to “Dražen Žuvela <dr***a@radez.hr>”
- Return to “drazen <dr***a@radez.hr>”
- Return to “NeonJohn <jg***d@neon-john.com>”
-
Return to “Timothy White <ti***8@gmail.com>”
- 2014-11-07 (Fri, 07 Nov 2014 16:19:50 -0500) - Routing/DNS problem - NeonJohn <jg***d@neon-john.com>
- 2014-11-07 (Sat, 08 Nov 2014 07:39:52 +1000) - Re: [GRASE-Hotspot] Routing/DNS problem - Timothy White <ti***8@gmail.com>
- 2014-11-07 (Fri, 07 Nov 2014 21:31:00 -0500) - Re: [GRASE-Hotspot] Routing/DNS problem - NeonJohn <jg***d@neon-john.com>
- 2014-11-08 (Sat, 08 Nov 2014 12:14:11 -0500) - Re: [GRASE-Hotspot] Routing/DNS problem - NeonJohn <jg***d@neon-john.com>
- 2014-11-09 (Sun, 09 Nov 2014 08:53:39 +0100) - Re: [GRASE-Hotspot] Routing/DNS problem - drazen <dr***a@radez.hr>
- 2014-11-09 (Sun, 09 Nov 2014 17:33:04 -0500) - Re: [GRASE-Hotspot] Routing/DNS problem - NeonJohn <jg***d@neon-john.com>
- 2014-11-10 (Mon, 10 Nov 2014 09:17:33 +0100) - Re: [GRASE-Hotspot] Routing/DNS problem - Dražen Žuvela <dr***a@radez.hr>
- 2014-11-09 (Sun, 09 Nov 2014 17:33:04 -0500) - Re: [GRASE-Hotspot] Routing/DNS problem - NeonJohn <jg***d@neon-john.com>
- 2014-11-09 (Sun, 09 Nov 2014 08:53:39 +0100) - Re: [GRASE-Hotspot] Routing/DNS problem - drazen <dr***a@radez.hr>
- 2014-11-07 (Sat, 08 Nov 2014 07:39:52 +1000) - Re: [GRASE-Hotspot] Routing/DNS problem - Timothy White <ti***8@gmail.com>