[SOLVED] linux mint 17.1 wifi working just for few minutes

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
rafakretzer

[SOLVED] linux mint 17.1 wifi working just for few minutes

Post by rafakretzer »

Hi everybody, at first I want to ask apologise by my english, I'm from BRasil and I haven't familiarity with your language.

Well, I know there are many topics with this subject and I've been reading most of them but couldnt solve my problem.

I have a Notebook Lenovo G40-70 and have installed Linux Mint 17.1 on it. Every time I turn it on I'm able to connect to the internet and browse. Within a few minutes I'm suddenly no longer able to access the internet. I'm still conected but I'm not able to browse the internet, and if I disconnect I can not connect again.

I'll give you some information about my computer, but I don't know if it will be suficient. Please make me know what comand I have to type here to give you more information.

Thank you for your atencion!

-----------

02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter [10ec:b723]
-------------

eth0 no wireless extensions.

lo no wireless extensions.

wlan0 IEEE 802.11bgn ESSID:"GVT-CF19"
Mode:Managed Frequency:2.462 GHz Access Point: 70:62:B8:26:CF:18
Bit Rate=72.2 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Power Management:off
Link Quality=70/70 Signal level=-24 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
-------------

eth0 Link encap:Ethernet Endereço de HW 64:1c:67:6c:a4:ad
UP BROADCAST MULTICAST MTU:1500 Métrica:1
pacotes RX:0 erros:0 descartados:0 excesso:0 quadro:0
Pacotes TX:0 erros:0 descartados:0 excesso:0 portadora:0
colisões:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

lo Link encap:Loopback Local
inet end.: 127.0.0.1 Masc:255.0.0.0
endereço inet6: ::1/128 Escopo:Máquina
UP LOOPBACK RUNNING MTU:65536 Métrica:1
pacotes RX:251 erros:0 descartados:0 excesso:0 quadro:0
Pacotes TX:251 erros:0 descartados:0 excesso:0 portadora:0
colisões:0 txqueuelen:0
RX bytes:21457 (21.4 KB) TX bytes:21457 (21.4 KB)

wlan0 Link encap:Ethernet Endereço de HW 38:b1:db:50:7f:0b
inet end.: 192.168.1.5 Bcast:192.168.1.255 Masc:255.255.255.0
endereço inet6: fe80::3ab1:dbff:fe50:7f0b/64 Escopo:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Métrica:1
pacotes RX:1362 erros:0 descartados:0 excesso:0 quadro:0
Pacotes TX:1398 erros:0 descartados:0 excesso:0 portadora:0
colisões:0 txqueuelen:1000
RX bytes:870608 (870.6 KB) TX bytes:244920 (244.9 KB)
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.
Kalyk
Level 5
Level 5
Posts: 769
Joined: Wed Mar 12, 2014 5:29 pm
Location: The Netherlands

Re: linux mint 17.1 wifi working just for few minutes

Post by Kalyk »

Hello and welcome to this forum!!
There is not much wrong with your English and in Dutch there is a saying: A good listener only needs a half word.
Meaning: someone who wants to listen will hear your question usually.

The word that struck me is UP when it comes to eth0.
It looks like your wired connection has state UP but doesn't get ip information.
It waits a minute for that and then defaults to being UP anyway, thereby preseeding your wireless.

You can try if this is correct by waiting after being disconnected from wireless, then open a terminal and do

Code: Select all

sudo ifconfig eth0 down
After perhaps 10 seconds Linux should know its wireless ip again and go on.

Do you have a cable connected to your wired network port?
Then probably something's wrong in its connection, the cable or a switch might be broken.

If this doesn't solve anything you might want to include the output of this command so we know more of your hardware

Code: Select all

inxi -Fxz
Add (Solved) to the topic-title of the first post when appropriate so others know they might find a solution here.
rafakretzer

Re: linux mint 17.1 wifi working just for few minutes

Post by rafakretzer »

Hi, Kalyk! Thank you so much by your attention. You're right about that saying, also in Brasil people often say exactly the same frase (but in portuguese ofcourse).

I think I understood what you sugested, but anyway at this moment I just solved the problem (I think) taking the steps from this link http://forums.linuxmint.com/viewtopic.php?f=53&t=186864.

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


I would like to understand what I've done, if you have any idea, please tell me, but the fact is that now my wireless conexion is completely ok.


Thanks again Kalyk!
Kalyk
Level 5
Level 5
Posts: 769
Joined: Wed Mar 12, 2014 5:29 pm
Location: The Netherlands

Re: linux mint 17.1 wifi working just for few minutes

Post by Kalyk »

So your solution had nothing to do with my suggestions, a learning moment for me :-)
Good for you that it works now.

What you did:
sudo apt-get install build-essential linux-headers-generic git dkms: download stuff to be able to compile sources
git clone http://github.com/lwfinger/rtlwifi_new.git : get a copy of new rtlwifi-drivers from github
cd rtlwifi_new : go to directory where you downloaded it
make : precompile new driver (don't know exactly, but step one in compiling afaik)
sudo modprobe -rv rtl8192ce : remove the old driver
sudo make install : compiling new driver
sudo modprobe -v rtl8192ce swenc=Y ips=N : activating new driver

Not my expertise but I think my explanation comes close.
Add (Solved) to the topic-title of the first post when appropriate so others know they might find a solution here.
rafakretzer

Re: [SOLVED] linux mint 17.1 wifi working just for few minut

Post by rafakretzer »

To much kindness by your part, thank you so much for the explanation, Kalyk!

A great hug!
dustinkimpel

Re: [SOLVED] linux mint 17.1 wifi working just for few minut

Post by dustinkimpel »

I'm having this exact problem with the same error on the last code! I tried the alternative one you said as well and still the same error. 'rtl8192ce' unknown symbol in module. Please someone help :/
Kalyk
Level 5
Level 5
Posts: 769
Joined: Wed Mar 12, 2014 5:29 pm
Location: The Netherlands

Re: linux mint 17.1 wifi working just for few minutes

Post by Kalyk »

rafakretzer wrote: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
Might this solve it for you, dustinkimpel?
Add (Solved) to the topic-title of the first post when appropriate so others know they might find a solution here.
Locked

Return to “Networking”