0

Recently, I've bought a computer, on which I installed a dual boot Windows 7 and Ubuntu 13.10 installation. I have temporary access to a wired connection, but I bought a Asus PCE-N15 wireless network adapter to connect. For Windows 7, I got this adapter to work using the drivers. In Ubuntu 13.10, however, I did not manage to connect it properly.

Following some good leads on askubuntu, I got abit closer, for example

I downloaded and compile the drivers from https://github.com/FreedomBen/rtl8188ce-linux-driver . I followed the instructions in the README.md file coming with this repository.

Before I started altering anything, I have the following output from lsmod | grep ^rtl

rtl8192ce              53550  0 
rtl_pci                26641  1 rtl8192ce
rtlwifi                63229  2 rtl_pci,rtl8192ce
rtl8192c_common        48877  1 rtl8192ce

After following the instructions (i.e. also editing /etc/modules/ and rebooting), I cannot seem to add any off the other modules.

root@bernhard-desktop:/home/bernhard# lsmod | grep ^rtl
rtl8192ce             137725  0 
rtlwifi               110108  1 rtl8192ce
root@bernhard-desktop:/home/bernhard# modprobe rtl_pci
FATAL: Module rtl_pci not found.
root@bernhard-desktop:/home/bernhard# modprobe rtl_8192c_common
FATAL: Module rtl_8192c_common not found.

When rebooting, after a little while, I get a notification that tells me that I am connect to my Wifi-network. However, when I try to open a web-page or make an ssh-connection, I do not get any information transfered, which is not a problem for my wired connection.

Proof of the above statements is as follows

root@desktop# nmcli d
DEVICE     TYPE              STATE        
wlan0      802-11-wireless   connected    
eth0       802-3-ethernet    unavailable

root@desktop# ping -c2 4.2.2.2
PING 4.2.2.2 (4.2.2.2) 56(84) bytes of data.

--- 4.2.2.2 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1007ms

My question is the following: What am I overlooking, or doing wrong, and how can I fix this issue and connect to the internet by wifi, using my Asus adapter?

Bernhard
  • 131
  • Are you still working on getting this working? – Freedom_Ben May 04 '14 at 02:05
  • @Freedom_Ben No, after connecting my wired connection, I gave up. Funny story is that I needed to install additional drivers for my Windows 7 dual boot, but Ubuntu recognized it directly :) – Bernhard May 04 '14 at 06:36

1 Answers1

2

First, the driver you built from github does not depend nor require rtl_pci nor rtl_8192c_common. The module mac80211 is required. Is it loaded?

lsmod | grep 80211

Please be certain that any ethernet cable is detached as you try to connect. Network Manager will prefer ethernet over wireless and is intended to disallow wireless if ethernet is available.

Second, be sure your router is set to WPA2-AES only, no TKIP nor mixed mode WPA/WPA2. Experiment with and without N speeds enabled.

Finally, let's try a driver parameter:

sudo modprobe -r rtl8192ce
sudo modprobe rtl8192ce swenc=1

If it helps, we'll write a quick file to make it persistent.

Look for any clues as to why it isn't working with:

cat /var/log/syslog | grep -e rtl -e etwork | tail -n 25

As the file is quite sizable, post it here and give us the link in your reply: http://paste.ubuntu.com

chili555
  • 60,188
  • I rebooted without ethernet attached, mac80211 is loaded (as well as cfg80211 if that is relevant). Will now check your other hints – Bernhard Feb 25 '14 at 14:24
  • From the specifics of the router, it says it supports WMM, WPA-PSK, WPA2-PSK,. In the Wi-Fi security settings, "WPA & WPA2 Personal" is selected (other options are WEP, LEAP, Dynamic WEP). I am not sure how to process or enable N speeds. – Bernhard Feb 25 '14 at 14:31
  • The driver parameter swenc=1 does not seem to make a difference. – Bernhard Feb 25 '14 at 14:33
  • I believe you want WPA2-PSK. Perhaps your router doesn't do N speeds at all. Please see my edit. – chili555 Feb 25 '14 at 15:15
  • For the pastebin: http://paste.ubuntu.com/6996799/ – Bernhard Feb 25 '14 at 22:21
  • Your paste actually looks very good. Didn't you connect? Did it drop? What are your symptoms? – chili555 Feb 25 '14 at 23:43
  • That is the confusing part, I am not able to transfer data in any way (see ping results in the edit of my question) – Bernhard Feb 26 '14 at 05:21
  • And, by the way, I don't know how I can set my router to WPA2-PSK, there are no buttons nor switches, or whatever. – Bernhard Feb 26 '14 at 07:06
  • To change to WPA2-AES, you will need to log in to the administration pages of the router. May we see: nm-tool – chili555 Feb 26 '14 at 21:27
  • Sorry for late reply, but this is the output of nm-toolhttp://paste.ubuntu.com/7006438/ – Bernhard Feb 27 '14 at 18:23
  • Can you ping the router? ping -c3 192.168.1.254 – chili555 Feb 27 '14 at 22:19
  • I will test as soon as I can, probably late this evening, thanks for helping this far. – Bernhard Feb 28 '14 at 06:44
  • I decided to install wired connection. Thanks for your help this far. If you are interested in the issue from a professional point of view, then I can continue trying. Again, thanks for all your efforts. – Bernhard Mar 01 '14 at 08:40
  • Not at all. I'm glad it's working by whatever means. – chili555 Mar 01 '14 at 13:01