Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

network managet and 10.42.0.1/24

284 views
Skip to first unread message

Bhasker C V

unread,
Jun 9, 2016, 5:00:04 PM6/9/16
to
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

thanks
Bhasker

Michael Milliman

unread,
Jun 9, 2016, 8:00:04 PM6/9/16
to
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

Bhasker C V

unread,
Jun 10, 2016, 4:20:03 AM6/10/16
to
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

Michael Milliman

unread,
Jun 10, 2016, 4:20:04 AM6/10/16
to

Sorry, then, I can't help there. I've never used NetworkManager in that way. Maybe someone else here will know more.

Rodary Jacques

unread,
Jun 14, 2016, 9:40:03 PM6/14/16
to

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

Bhasker C V

unread,
Jul 11, 2016, 8:10:06 AM7/11/16
to
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.
0 new messages