0

I have ubuntu 14.04 and when I want to connect to the wifi my network manager found nothing and when I use this command

sudo iwlist wlan0 scan

It can find my essid wifi and when I use this command to connect

sudo iwconfig wlan0 essid "sample"

Nothing happen and I can't connect neither my ifconfig command show this

eth0      Link encap:Ethernet  HWaddr b8:88:e3:0e:03:49  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:16 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1576 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1576 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:131573 (131.5 KB)  TX bytes:131573 (131.5 KB)

wlan0     Link encap:Ethernet  HWaddr 08:ed:b9:fa:1f:3b  
          inet6 addr: fe80::aed:b9ff:fefa:1f3b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:29
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:17 

My wifi device is broadcome :

03:00.0 Network controller: Broadcom Corporation BCM43228 802.11a/b/g/n  

This is the text file of that script for my wifi information

Text File Contain My Wireless info

What should I do to connect to the wifi??

Daniel.V
  • 123

3 Answers3

1

I found the solution for my problem just edit one file:

sudo nano /etc/NetworkManager/NetworkManager.conf

and just change the value of false to true

[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq

[ifupdown]
managed=true

And solved

Daniel.V
  • 123
0

First change the wpa/wpa2 encryption to just wpa2 (CCMP)(AES) not (TKIP) if you have that option it will work best.

Second set your wireless channel in the router to 1 or 11 then save the router configuration and reboot it.

Third go into network manager at top right corner of the screen and click on edit connections>wireless tab and set IPV6 to ignore.

Fourth shutdown your computer and unplug your usb wireless device so your internal wireless can work then reboot, if it does not connect then post a new file without usb wireless plugged in.

Wild Man
  • 8,327
0

Using the kernel driver, you won't be able to connect unless your 20ft within range of the router.

If you want your usb wireless device to work (rtl8192cu) properly, you may want to install the proprietary driver with the following commands:

sudo apt-get install git build-essential linux-headers-generic dkms

git clone https://github.com/dz0ny/rt8192cu.git --depth 1 

cd rt8192cu

sudo make dkms

And use the following to load the driver

sudo modprobe 8192cu

Notice this module uses "8192cu" instead of "rtl8192cu" to load.

Finally,update your /etc/modules folder accordingly with this command:

echo '8192cu' | sudo tee -a /etc/modules

With this driver you get full 300Mb/s instead of 150 and there is full encryption suport as well. Not only that but the range is at least 10 times better than the kernel driver and no more dropped signal.

https://github.com/dz0ny/rt8192cu

mchid
  • 44,904
  • 8
  • 102
  • 162