Hi,
I’ve installed WIFI Hotspot on a TP-LINK TL-WN722N v2, with the driver provided by MrEngMan.
wget http://fars-robotics.net/install-wifi -O /usr/bin/install-wifi
chmod +x /usr/bin/install-wifi
sudo install-wifi
The trouble I’m facing is:
- When I reboot, I need to:
a) Disconnect the wifi dongle;
b) Wait for some seconds:
c) Connect the wifi dongle again.
I see when I type iwconfig:
wlan0 unassociated Nickname:"<WIFI@REALTEK>"
Mode:Managed Frequency=2.412 GHz Access Point: Not-Associated
Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
d) service hostapd restart
I see when I type iwconfig:
wlan0 IEEE 802.11bg ESSID:"My_WIFI" Nickname:"<WIFI@REALTEK>"
Mode:Master Frequency:2.422 GHz Access Point: 7C:8B:CA:13:AB:D5
Bit Rate:54 Mb/s Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
To be able to connect to the WIFI Hotspot.
Can this be solved?
I have all the config set as it’s supposed to be (allow hotplug, etc.).
For example, /etc/network/interfaces:
#/etc/network/interfaces
#Please use DietPi-Config to modify network settings.
# Local
auto lo
iface lo inet loopback
# Ethernet
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.11
netmask 255.255.255.0
gateway 192.168.0.1
dns-nameservers 192.168.0.10
# Wifi
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.42.1
netmask 255.255.255.0
#gateway 192.168.0.1
wireless-power on
dns-nameservers 8.8.8.8 8.8.4.4
# IP tables
up iptables-restore < /etc/iptables.ipv4.nat