How to create wifi hotspot in fedora 21 ?
In this example , wifi hotspot from fedoa21 is connecting to Android Phone
3. Usually this sufficient to access from your phone .
4. Sometime phone can connect to SID , but stuck at “Authenticating “ or “Getting IP adress “
11. Next time , while accessing the hotspot, you have to simply
follow steps 1,2 Phone will be automatically connects it
In this example , wifi hotspot from fedoa21 is connecting to Android Phone
1. Create HotSpot
network
2. It will create
Hotspot file under /etc/NetworkManager/system-connections
3. Usually this sufficient to access from your phone .
Select SID:
Provide the password
:
4. Sometime phone can connect to SID , but stuck at “Authenticating “ or “Getting IP adress “
in that case ,
Follow below steps to debug the issue
5. Verify the
Hotsport file created in
/etc/NetworkManager/system-connections
[root@sterinlap
system-connections]# more Hotspot
[connection]
id=Hotspot
uuid=e6a7f45e-2bf3-4e92-8ba3-90e759sds32f2bc
type=wifi
autoconnect=false
[wifi]
ssid=sterinlap
mode=ap
mac-address=AC:7B:A1:3C:E2:3B
security=802-11-wireless-security
hidden=true
[wifi-security]
key-mgmt=wpa-psk
proto=rsn;
pairwise=ccmp;
group=ccmp;
psk=PASSWORD
[ipv4]
method=shared
[ipv6]
method=auto
Key is mode should
ap
6. Get the Lan Card
details :
ifconfig
whill show the deails
Here my wirless card
is wlp2s0:
7.Disable the
firewall
systemctl stop
firewalld.service
8.Start
the hotspot from commadline :
nmcli con up
Hotspot ifname wlp2s0
[root@sterinlap system-connections]# nmcli con up Hotspot ifname
wlp2s0
Connection successfully activated (D-Bus active path:
/org/freedesktop/NetworkManager/ActiveConnection/19)
9.
Connect from mobile
10.Some
times , you have to set proxy in phone to access internet .
-
Connect to WIFI network (e.g. 'sterinlap')
-
Long tap on connected network's name (e.g. on 'sterinlap')
-
Modify network config-> Show advanced options
-
Set proxy settings
No comments:
Post a Comment