[SOLVED] Asus PCE-N15 not working in 17.1

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
DagonXB49

[SOLVED] Asus PCE-N15 not working in 17.1

Post by DagonXB49 »

I have spent the last 3 days trying to get my new wifi card to work - I've shouted at it, sworn at it, threatened to throw it in the bin, but to no avail. It's an Asus PCE-N15 which I believe is a Realtek chipset, and I'm running Linux Mint 17.1 Rebecca. Googling around and searching the forums there seem to be plenty of others having problems with this card/chipset. As a Linux n00b I've tried to implement many of the suggestions that I've read (e.g. using ndiswrapper to install the XP drivers, trying and failing to compile the Linux drivers from the cd and the Asus website) but I fear I've simply made the problem worse and turned the config into a shambles.

I'm at work at the moment (ssh don't tell them I'm on the interwebs!) but as soon as I can I'll try some diagnostic commands and post the outputs - any suggestions what to run to get the relevant info? I recall something like lspci to list pci devices, and people banging on about modprobe.

Other info that may be relevant - my router is old so it's 802.11g there's no n speed. I have a USB dongle that works (my old and trusty Sweex LW053) but I have to use a USB extension trailed across the floor and down the stairs to get reception hence wanting a pci card. Oh and I've tried changing the router channel from Auto to 11 but it made no difference.

Thanks in advance
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
DagonXB49

Re: Asus PCE-N15 not working in 17.1

Post by DagonXB49 »

OK I'm back from work, here's some info:

lspci

Code: Select all

user1@Media-Server ~ $ lspci
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 2 (rev 01)
00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 01)
00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 01)
00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation NM10/ICH7 Family SATA Controller [IDE mode] (rev 01)
00:1f.3 SMBus: Intel Corporation NM10/ICH7 Family SMBus Controller (rev 01)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 01)
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192CE PCIe Wireless Network Adapter (rev 01)
mintWifi

Code: Select all

user1@Media-Server ~ $ sudo /usr/lib/linuxmint/mintWifi/mintWifi.py
[sudo] password for user1: 
-------------------------
* I. scanning WIFI PCI devices...
  -- Realtek Semiconductor Co., Ltd. RTL8192CE PCIe Wireless Network Adapter (rev 01)
      ==> PCI ID = 10ec:8178 (rev 01)
-------------------------
* II. querying ndiswrapper...
net8192ce : driver installed
	device (10EC:8178) present (alternate driver: rtl8192ce)
-------------------------
* III. querying iwconfig...
wlan0     IEEE 802.11bg  ESSID:"O2wireless3DD8BE"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:90:D0:F2:CB:51   
          Bit Rate=54 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
          Link Quality=64/70  Signal level=-46 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:219   Missed beacon:0

lo        no wireless extensions.

eth0      no wireless extensions.

-------------------------
* IV. querying ifconfig...
eth0      Link encap:Ethernet  HWaddr 00:13:8f:ea:7a:ca  
          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)

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:1445 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1445 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:289345 (289.3 KB)  TX bytes:289345 (289.3 KB)

wlan0     Link encap:Ethernet  HWaddr 00:16:0a:0f:62:5f  
          inet addr:192.168.1.67  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::216:aff:fe0f:625f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4781 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4829 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3991842 (3.9 MB)  TX bytes:780005 (780.0 KB)

-------------------------
* V. querying DHCP...
RTNETLINK answers: File exists
-------------------------
* VI. querying nslookup google.com...
Server:		192.168.1.254
Address:	192.168.1.254#53

Non-authoritative answer:
Name:	google.com
Address: 216.58.209.238
Name:	google.com
Address: 216.58.209.224
I'm guessing that wlan0 is the Sweex USB dongle that I'm currently using to connect to the internet.

If there's any other info that would be useful just let me know.

Over to the experts, ie you lot out there - help! Please bear in mind I have no real clue what I'm doing.
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: Asus PCE-N15 not working in 17.1

Post by JeremyB »

DagonXB49 wrote:OK I'm back from work, here's some info:

lspci

Code: Select all

user1@Media-Server ~ $ lspci
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 2 (rev 01)
00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 01)
00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 01)
00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation NM10/ICH7 Family SATA Controller [IDE mode] (rev 01)
00:1f.3 SMBus: Intel Corporation NM10/ICH7 Family SMBus Controller (rev 01)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 01)
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192CE PCIe Wireless Network Adapter (rev 01)
mintWifi

Code: Select all

user1@Media-Server ~ $ sudo /usr/lib/linuxmint/mintWifi/mintWifi.py
[sudo] password for user1: 
-------------------------
* I. scanning WIFI PCI devices...
  -- Realtek Semiconductor Co., Ltd. RTL8192CE PCIe Wireless Network Adapter (rev 01)
      ==> PCI ID = 10ec:8178 (rev 01)
-------------------------
* II. querying ndiswrapper...
net8192ce : driver installed
	device (10EC:8178) present (alternate driver: rtl8192ce)
-------------------------
* III. querying iwconfig...
wlan0     IEEE 802.11bg  ESSID:"O2wireless3DD8BE"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:90:D0:F2:CB:51   
          Bit Rate=54 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
          Link Quality=64/70  Signal level=-46 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:219   Missed beacon:0

lo        no wireless extensions.

eth0      no wireless extensions.

-------------------------
* IV. querying ifconfig...
eth0      Link encap:Ethernet  HWaddr 00:13:8f:ea:7a:ca  
          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)

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:1445 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1445 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:289345 (289.3 KB)  TX bytes:289345 (289.3 KB)

wlan0     Link encap:Ethernet  HWaddr 00:16:0a:0f:62:5f  
          inet addr:192.168.1.67  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::216:aff:fe0f:625f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4781 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4829 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3991842 (3.9 MB)  TX bytes:780005 (780.0 KB)

-------------------------
* V. querying DHCP...
RTNETLINK answers: File exists
-------------------------
* VI. querying nslookup google.com...
Server:		192.168.1.254
Address:	192.168.1.254#53

Non-authoritative answer:
Name:	google.com
Address: 216.58.209.238
Name:	google.com
Address: 216.58.209.224
I'm guessing that wlan0 is the Sweex USB dongle that I'm currently using to connect to the internet.

If there's any other info that would be useful just let me know.

Over to the experts, ie you lot out there - help! Please bear in mind I have no real clue what I'm doing.
First let's dirch the ndiswrapper

Code: Select all

ndiswrapper -r net8192ce
Then we get the newest kernel driver from Larry Fingers github

Code: Select all

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

Code: Select all

git clone http://github.com/lwfinger/rtlwifi_new.git

Code: Select all

cd rtlwifi_new

Code: Select all

make

Code: Select all

sudo modprobe -rv rtl8192ce

Code: Select all

sudo make install

Code: Select all

sudo modprobe -v rtl8192ce swenc=Y ips=N
DagonXB49

Re: Asus PCE-N15 not working in 17.1

Post by DagonXB49 »

You, sir, are a GENIUS! Many thanks, I would never have worked that out myself. The wifi card is now working, the only problem is that it doesn't survive a reboot. Reading around I think I need to blacklist the built-in driver and somehow get the new driver active at startup.

Can you help with the final piece of the puzzle?
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: Asus PCE-N15 not working in 17.1

Post by JeremyB »

DagonXB49 wrote:You, sir, are a GENIUS! Many thanks, I would never have worked that out myself. The wifi card is now working, the only problem is that it doesn't survive a reboot. Reading around I think I need to blacklist the built-in driver and somehow get the new driver active at startup.

Can you help with the final piece of the puzzle?
This will make it survive a reboot

Code: Select all

echo "options rtl8192ce swenc=Y ips=N" | sudo tee /etc/modprobe.d/rtl8192ce.conf
DagonXB49

Re: Asus PCE-N15 not working in 17.1

Post by DagonXB49 »

Hmm that hasn't worked, after a reboot the card isn't picked up. I can see that the file /etc/modprobe.d/rtl8192ce.conf now contains the text "options rtl8192ce swenc=Y ips=N". Is there another step I need to take?
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: Asus PCE-N15 not working in 17.1

Post by JeremyB »

DagonXB49 wrote:Hmm that hasn't worked, after a reboot the card isn't picked up. I can see that the file /etc/modprobe.d/rtl8192ce.conf now contains the text "options rtl8192ce swenc=Y ips=N". Is there another step I need to take?
What does terminal return for

Code: Select all

lspci -nnk | grep -iA2 net
DagonXB49

Re: Asus PCE-N15 not working in 17.1

Post by DagonXB49 »

lspci -nnk | grep -iA2 net:

Code: Select all

user1@Media-Server ~ $ lspci -nnk | grep -iA2 net
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 01)
	Subsystem: ASRock Incorporation Motherboard (one of many) [1849:8168]
	Kernel driver in use: r8169
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8192CE PCIe Wireless Network Adapter [10ec:8178] (rev 01)
	Subsystem: ASUSTeK Computer Inc. Device [1043:84b6]
	Kernel driver in use: rtl8192ce
I appreciate you looking into this.
DagonXB49

Re: Asus PCE-N15 not working in 17.1

Post by DagonXB49 »

Sorry, that last post was the output of the command after I've booted up and got the card working. Is that correct or did you want the output from when I boot up but before I get the card working?
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: Re: Asus PCE-N15 not working in 17.1

Post by JeremyB »

DagonXB49 wrote:Sorry, that last post was the output of the command after I've booted up and got the card working. Is that correct or did you want the output from when I boot up but before I get the card working?
What did you do to get it working again?
DagonXB49

Re: Asus PCE-N15 not working in 17.1

Post by DagonXB49 »

OK when I reboot the pc I get this

lspci -nnk | grep -iA2 net:

Code: Select all

user1@Media-Server ~ $ lspci -nnk | grep -iA2 net
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 01)
	Subsystem: ASRock Incorporation Motherboard (one of many) [1849:8168]
	Kernel driver in use: r8169
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8192CE PCIe Wireless Network Adapter [10ec:8178] (rev 01)
	Subsystem: ASUSTeK Computer Inc. Device [1043:84b6]
Then I do this

Code: Select all

cd rtlwifi_new

Code: Select all

sudo modprobe -rv rtl8192ce

Code: Select all

sudo make install

Code: Select all

sudo modprobe -v rtl8192ce swenc=Y ips=N
Then I run the lspci command again and get this

Code: Select all

lspci -nnk | grep -iA2 net after getting card working:
user1@Media-Server ~ $ lspci -nnk | grep -iA2 net
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 01)
	Subsystem: ASRock Incorporation Motherboard (one of many) [1849:8168]
	Kernel driver in use: r8169
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8192CE PCIe Wireless Network Adapter [10ec:8178] (rev 01)
	Subsystem: ASUSTeK Computer Inc. Device [1043:84b6]
	Kernel driver in use: rtl8192ce
It's the same except for the extra line at the end about the Kernel driver in use.
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: Asus PCE-N15 not working in 17.1

Post by JeremyB »

DagonXB49 wrote:OK when I reboot the pc I get this

lspci -nnk | grep -iA2 net:

Code: Select all

user1@Media-Server ~ $ lspci -nnk | grep -iA2 net
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 01)
	Subsystem: ASRock Incorporation Motherboard (one of many) [1849:8168]
	Kernel driver in use: r8169
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8192CE PCIe Wireless Network Adapter [10ec:8178] (rev 01)
	Subsystem: ASUSTeK Computer Inc. Device [1043:84b6]
Then I do this

Code: Select all

cd rtlwifi_new

Code: Select all

sudo modprobe -rv rtl8192ce

Code: Select all

sudo make install

Code: Select all

sudo modprobe -v rtl8192ce swenc=Y ips=N
Then I run the lspci command again and get this

Code: Select all

lspci -nnk | grep -iA2 net after getting card working:
user1@Media-Server ~ $ lspci -nnk | grep -iA2 net
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 01)
	Subsystem: ASRock Incorporation Motherboard (one of many) [1849:8168]
	Kernel driver in use: r8169
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8192CE PCIe Wireless Network Adapter [10ec:8178] (rev 01)
	Subsystem: ASUSTeK Computer Inc. Device [1043:84b6]
	Kernel driver in use: rtl8192ce
It's the same except for the extra line at the end about the Kernel driver in use.
Try this and reboot

Code: Select all

echo rtl8192ce | sudo tee -a /etc/modules
DagonXB49

Re: Asus PCE-N15 not working in 17.1

Post by DagonXB49 »

Fantastic, that's done the trick! Thanks for your help JeremyB, kudos to you. I'll mark this as solved.
rafakretzer

Re: [SOLVED] Asus PCE-N15 not working in 17.1

Post by rafakretzer »

Thank you guys, also I'vee solved my problem with this topic. I have a Notebook Lenovo G40-70 and have installed Linux Mint 17.1 on it. My wireless connection also was not working right. Every time I turned on my notebook I had wireless connection for a few minutes, but then could no longer surf the Internet, though still connected to the wireless network.

So, I worked with the codes you put here:

Code: Select all

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

Code: Select all

git clone http://github.com/lwfinger/rtlwifi_new.git

Code: Select all

cd rtlwifi_new

Code: Select all

make

Code: Select all

sudo modprobe -rv rtl8192ce

Code: Select all

sudo make install

Code: Select all

sudo modprobe -v rtl8192ce swenc=Y ips=N

For the last code I've got the following error:

~/rtlwifi_new $ sudo modprobe -v rtl8192ce swenc=Y ips=N
insmod /lib/modules/3.13.0-37-generic/kernel/drivers/net/wireless/rtlwifi/rtl8192c/rtl8192c-common.ko
modprobe: ERROR: could not insert 'rtl8192ce': Unknown symbol in module, or unknown parameter (see dmesg)

Then, as I saw in another forum, I switched rtl8192ce by rtl8192se and I got:

insmod /lib/modules/3.13.0-37-generic/kernel/drivers/net/wireless/rtlwifi/rtl8192se/rtl8192se.ko swenc=Y ips=N

If you know what happened here, please, tell me.
Thanks!
Locked

Return to “Networking”