I have tried to set up a hotspot on ubuntu14.04. My /etc/NetworkManager/system-connections
file is shown below.
[connection]
id=hotspott
uuid=03eb0f63-e766-41df-bc04-0f30740f6841
type=802-11-wireless
[802-11-wireless]
ssid=machCochin
mode=ap
mac-address=B0:C0:90:68:EE:73
[ipv6]
method=auto
[ipv4]
method=manual
address1=192.168.42.1/24,192.168.42.1
This creates the hotspot but I can't connect to the network. I have tried by replacing ipv4 section to method=shared
and at that time I can join to the network from my phone but it assigned with a dynamic address.
How to create static IP for wlan0 when working as hotspot?