PDA

View Full Version : Wireless does not work properly after deleting interfaces file



Farhad.plasma
2015-08-07, 06:34
hi, yesterday I accidentally removed /etc/network/interfaces and then I recreated it, after that my lan interface works just fine but wireless DOES NOT, and its going to make me crazy cause I did almost anything on the Internet but no luck, I even reinstalled network-manager. In this forum I tried this http://ubuntuforums.org/showthread.php?t=1836867 but again no luck. I don't want to reinstall my os please help if you can. Thank you in advance.
his is the content of my interfaces file:

# This file describes the network interfaces available on your system# and how to activate them. For more information, see interfaces(5).


# The loopback network interface
auto lo
iface lo inet loopback


# The primary network interface
auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.1.120
mask 255.255.255.0
gateway 192.168.1.1
dns-nameserver 8.8.8.8


auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp