Re: network managet and 10.42.0.1/24

2016-07-11 Thread Bhasker C V
https://bhaskerv.blogspot.de/2016/06/network-maanget-changing-default-1042.html
Managed to change the IP to any IP you want to setup and use.


On Wed, Jun 15, 2016 at 3:22 AM, Rodary Jacques  wrote:
> I had (and still partly have) the same questions. I know where to find the
> answers, but didn't dare to use them.
>
> --First "nmcli -p connection show --active" will show all your connections.
> Or me the access point has name (not id) "Hotspot" (I don't know if the name
> depends on the device and driver).
>
> --Then "nmcli -p connection show --active Hotspot" gives all the details,
> including 802-11-wireless.ssid (the hostname), 802-11-wireless.mode ap
> (access-point I guess),IP4.ADRESSE[1] (ip = 10.42.0.1/24, gw = 0.0.0.0),
> IP6.ADRESSE[1] (ip = fe80::7e5c:f8ff:fe8e:9473/64, gw = ::) and many other
> infos.
>
> --What I didn't dare to do was to try "nmcli connection edit (or modify)
> Hotspot".
>
> --What I did was to modify my DNS setup. In my master zone I added 10.42.0.1
> as ip-address for my server (which now has 3 addresses, one for the outside,
> from my ISP, one not routable for my local network 192.168.xxx.1, and
> 10.42.0.1, not routable also). In the zone file I added also fixed addresses
> 10.42.0.xxx for some devices (e.g. a printer which has two addresses
> 192.168.10.6 and 10.42.0.6; this allows wifi clients to use this printer. I
> also added a reverse zone 10.42.0.zone.
>
> I can't remember how I managed to exclude the fixed addresses from dhcpd
> range to avoid conflicts but it works. Hope this will help.
>
> Sorry for my English.
>
> Jacques



Re: network managet and 10.42.0.1/24

2016-06-14 Thread Rodary Jacques
I had (and still partly have) the same questions. I know where to find the 
answers, but didn't dare 
to use them. 
--First "nmcli -p connection show --active" will show all your connections. Or 
me the access 
point has name (not id) "Hotspot" (I don't know if the name depends on the 
device and driver).
--Then "nmcli -p connection show --active Hotspot" gives all the details, 
including 802-11-
wireless.ssid (the hostname), 802-11-wireless.mode ap (access-point I 
guess),IP4.ADRESSE[1] 
(ip = 10.42.0.1/24, gw = 0.0.0.0), IP6.ADRESSE[1] (ip = 
fe80::7e5c:f8ff:fe8e:9473/64, gw = ::) 
and many other infos. 
--What I didn't dare to do was to try "nmcli connection edit (or modify) 
Hotspot". 
--What I did was to modify my DNS setup. In my master zone I added 10.42.0.1 as 
ip-address 
for my server (which now has 3 addresses, one for the outside, from my ISP, one 
not routable for 
my local network 192.168.xxx.1, and 10.42.0.1, not routable also). In the zone 
file I added also 
fixed addresses 10.42.0.xxx for some devices (e.g. a printer which has two 
addresses 
192.168.10.6 and 10.42.0.6; this allows wifi clients to use this printer. I  
also added a reverse 
zone 10.42.0.zone.
I can't remember how I managed to exclude the fixed addresses from dhcpd range 
to avoid 
conflicts but it works. Hope this will help.
Sorry for my English.
Jacques


Re: network managet and 10.42.0.1/24

2016-06-10 Thread Michael Milliman
Sorry, then, I can't help there. I've never used NetworkManager in that
way. Maybe someone else here will know more.
On Jun 10, 2016 3:12 AM, "Bhasker C V"  wrote:

> Michael
> Thanks. I can understand that the doc is about setting up a separate DHCP
> server. However, I want to use network manager's functionality to create a
> hotspot and also be able to control the dhcp range of this hotspot.
> This is where I got stuck with the 10.42.0.1
>
>
> On Fri, Jun 10, 2016 at 1:55 AM, Michael Milliman <
> michael.e.milli...@gmail.com> wrote:
>
>>
>>
>> On 06/09/2016 03:59 PM, Bhasker C V wrote:
>>
>> Hi all,
>>
>>  I am at a loss to find out how to change 10.42.0.1/24 and 10.42.0.x/24
>> as ip and dhcp range which is used by network manager when configuring a
>> wireless card as an AP. I dont see the setting anywhere and cant find a
>> valid doc in the internet too
>> Is this value had-coded in the source-code of NetworkManager ?
>>
>> Has anyone got an experience of making Network manager work aas a DHCP
>> server with custom DHCP range ? please if you can share your experiences
>>
>> The Debian Administrator's Handbook has the information for setting up a
>> DHCP server in it.  Check out the following link:
>>
>> https://debian-handbook.info/browse/stable/sect.dhcp.html
>>
>> That ought to get you started, at least.
>>
>> thanks
>> Bhasker
>>
>>
>> --
>> 73's
>> Mike, WB5VQX
>>
>>
>


Re: network managet and 10.42.0.1/24

2016-06-10 Thread Bhasker C V
Michael
Thanks. I can understand that the doc is about setting up a separate DHCP
server. However, I want to use network manager's functionality to create a
hotspot and also be able to control the dhcp range of this hotspot.
This is where I got stuck with the 10.42.0.1


On Fri, Jun 10, 2016 at 1:55 AM, Michael Milliman <
michael.e.milli...@gmail.com> wrote:

>
>
> On 06/09/2016 03:59 PM, Bhasker C V wrote:
>
> Hi all,
>
>  I am at a loss to find out how to change 10.42.0.1/24 and 10.42.0.x/24
> as ip and dhcp range which is used by network manager when configuring a
> wireless card as an AP. I dont see the setting anywhere and cant find a
> valid doc in the internet too
> Is this value had-coded in the source-code of NetworkManager ?
>
> Has anyone got an experience of making Network manager work aas a DHCP
> server with custom DHCP range ? please if you can share your experiences
>
> The Debian Administrator's Handbook has the information for setting up a
> DHCP server in it.  Check out the following link:
>
> https://debian-handbook.info/browse/stable/sect.dhcp.html
>
> That ought to get you started, at least.
>
> thanks
> Bhasker
>
>
> --
> 73's
> Mike, WB5VQX
>
>


Re: network managet and 10.42.0.1/24

2016-06-09 Thread Michael Milliman



On 06/09/2016 03:59 PM, Bhasker C V wrote:

Hi all,

 I am at a loss to find out how to change 10.42.0.1/24 
 and 10.42.0.x/24 as ip and dhcp range which is 
used by network manager when configuring a wireless card as an AP. I 
dont see the setting anywhere and cant find a valid doc in the 
internet too

Is this value had-coded in the source-code of NetworkManager ?

Has anyone got an experience of making Network manager work aas a DHCP 
server with custom DHCP range ? please if you can share your experiences


The Debian Administrator's Handbook has the information for setting up a 
DHCP server in it.  Check out the following link:


https://debian-handbook.info/browse/stable/sect.dhcp.html

That ought to get you started, at least.

thanks
Bhasker


--
73's
Mike, WB5VQX