wifi problem

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

wifi problem

Postby _Tim on Mon Jul 22, 2013 4:06 pm

Hello

Today I installed Linux Mint 15 on my laptop, my first linux experience, so I'm still a newbie in this. I've got it working properly but I got some problems with my wireless connection. When I still got windows 7 I've got good internet connection everywhere in the house, but now I've got on some places no internet connection, but the icon shows internet connection and 60-65%. The wierd part is, if I close my laptop and I open it again, I've got internet for about 10 secs and then firefox/chrome can't load pages anymore but the icon still shows that I'm connected. If I disable the wireless connection with my keyboard, the icon still shows I'm connected while I can't load internet pages. When I sit closer to the router the internet works again and when I sit next to the router it shows 75% connection while in windows 7 it would be 100%.
Can someone help me to fix this problem? If I need to give more info, please tell so.

inxi -N:
Code: Select all
Network:   Card-1: JMicron JMC250 PCI Express Gigabit Ethernet Controller driver: jme
           Card-2: Realtek RTL8188CE 802.11b/g/n WiFi Adapter driver: rtl8192ce


Sorry for my english, it's not my native language.

Thanks

Greetings
_Tim
Level 1
Level 1
 
Posts: 12
Joined: Mon Jul 22, 2013 3:49 pm
Location: Belgium

Linux Mint is funded by ads and donations.
 

Re: wifi problem

Postby _Tim on Tue Jul 23, 2013 7:40 am

This morning I did some more testing and researching. When I'm in my room I've got internet connection for about 1min and then it doesn't work anymore (firefox doesn't load pages anymore) while the icon still shows I'm connected. When I disconnect and reconnect via 'network settings' I have internet connection for again 1min, etc.

Maybe I've got an outdated wireless driver so I downloaded the latest driver from http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PFid=48&Level=5&Conn=4&ProdID=272&DownTypeID=3&GetDown=false&Downloads=true, but I don't know how to install it :/.
I've read the readme but I don't understand it.

You can enter top-level directory of driver and execute follwing command to
Compile, Installation, or uninstall the driver:

1. Change to Super User
sudo su

2. Compile driver from the source code
make

3. Install the driver to the kernel
make install
reboot

4. uninstall driver
make uninstall


Can someone help me to install it?

Thanks
_Tim
Level 1
Level 1
 
Posts: 12
Joined: Mon Jul 22, 2013 3:49 pm
Location: Belgium

Re: wifi problem

Postby WharfRat on Tue Jul 23, 2013 8:34 am

_Tim wrote:Can someone help me to install it?

Thanks

Non of those drivers listed appear to support the 3.8 series kernel so I don't think it will work.

Can you paste back the output of inxi -Fxz so we can have a look at your configuration :?:
Image
User avatar
WharfRat
Level 12
Level 12
 
Posts: 4271
Joined: Thu Apr 07, 2011 8:15 pm

Re: wifi problem

Postby _Tim on Tue Jul 23, 2013 8:43 am

WharfRat wrote:Non of those drivers listed appear to support the 3.8 series kernel so I don't think it will work.

Can you paste back the output of inxi -Fxz so we can have a look at your configuration :?:


Code: Select all
System:    Host: tim-W240HU-W250HUQ Kernel: 3.8.0-19-generic x86_64 (64 bit, gcc: 4.7.3)
           Desktop: Gnome Distro: Linux Mint 15 Olivia
Machine:   Mobo: CLEVO model: W240HU/W250HUQ version: D02A Bios: American Megatrends version: 4.6.4 date: 04/13/2011
CPU:       Dual core Intel Pentium CPU B940 (-MCP-) cache: 2048 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3) bmips: 7982.28
           Clock Speeds: 1: 800.00 MHz 2: 800.00 MHz
Graphics:  Card: Intel 2nd Generation Core Processor Family Integrated Graphics Controller bus-ID: 00:02.0
           X.Org: 1.13.3 drivers: intel (unloaded: fbdev,vesa) Resolution: 1366x768@60.0hz
           GLX Renderer: Mesa DRI Intel Sandybridge Mobile GLX Version: 3.0 Mesa 9.1.3 Direct Rendering: Yes
Audio:     Card: Intel 6 Series/C200 Series Chipset Family High Definition Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture ver: k3.8.0-19-generic
Network:   Card-1: JMicron JMC250 PCI Express Gigabit Ethernet Controller
           driver: jme ver: 1.0.8 ports: d100 d000 bus-ID: 03:00.0
           IF: eth0 state: down mac: <filter>
           Card-2: Realtek RTL8188CE 802.11b/g/n WiFi Adapter driver: rtl8192ce port: e000 bus-ID: 02:00.0
           IF: wlan0 state: up mac: <filter>
Drives:    HDD Total Size: 500.1GB (1.1% used) 1: id: /dev/sda model: WDC_WD5000BPVT size: 500.1GB
Partition: ID: / size: 453G used: 5.0G (2%) fs: ext4 ID: swap-1 size: 6.34GB used: 0.00GB (0%) fs: swap
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   System Temperatures: cpu: 66.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 157 Uptime: 2:49 Memory: 725.8/5879.2MB Runlevel: 2 Gcc sys: 4.7.3 Client: Shell inxi: 1.8.4
_Tim
Level 1
Level 1
 
Posts: 12
Joined: Mon Jul 22, 2013 3:49 pm
Location: Belgium

Re: wifi problem

Postby WharfRat on Tue Jul 23, 2013 9:01 am

Unfortunately you have a problematic wifi adapter.

http://forum.linuxmint.com/viewtopic.php?f=53&t=111803

I would try doing a full upgrade to get to kernel 3.8.0-26 and see if that helps any.

The only other solution that I can think of is purchasing a $20.00 usb wifi dongle and save yourself a lot of headaches.

Good luck :wink:
Image
User avatar
WharfRat
Level 12
Level 12
 
Posts: 4271
Joined: Thu Apr 07, 2011 8:15 pm

Re: wifi problem

Postby AlbertP on Tue Jul 23, 2013 9:25 am

The driver you already downloaded from Realtek's website might work fine, even though it does not claim to support 3.8. At least on 13/14 with the 3.2 or 3.5 kernel, it can still be installed. Please try installing this driver anyway.

Please extract the .tar file (it is an archive like ZIP), and go to the folder where you extracted it. Then please right-click inside that folder > Open in Terminal.
In that terminal you can run these commands to install the driver:
Code: Select all
make
sudo make install


@WharfRat: the device once was problematic because suddenly new revisions of it started appearing, which didn't work with the mint 14 3.5 kernel yet. But now with Mint 15, most users of the RTL8188CE don't have much trouble with their device. For the few people who have a problem, the vendor driver can be tried, and there are still a few more options in case this doesn't work.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6519
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: wifi problem

Postby _Tim on Tue Jul 23, 2013 9:43 am

AlbertP wrote:The driver you already downloaded from Realtek's website might work fine, even though it does not claim to support 3.8. At least on 13/14 with the 3.2 or 3.5 kernel, it can still be installed. Please try installing this driver anyway.

Please extract the .tar file (it is an archive like ZIP), and go to the folder where you extracted it. Then please right-click inside that folder > Open in Terminal.
In that terminal you can run these commands to install the driver:
Code: Select all
make
sudo make install


@WharfRat: the device once was problematic because suddenly new revisions of it started appearing, which didn't work with the mint 14 3.5 kernel yet. But now with Mint 15, most users of the RTL8188CE don't have much trouble with their device. For the few people who have a problem, the vendor driver can be tried, and there are still a few more options in case this doesn't work.


Thanks for the clear instruction, but when I do it gives some errors and it doesn't work. Both commands give the same output.

[spoiler]
Code: Select all
tim@tim-W240HU-W250HUQ ~/Bureaublad/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013 $ make
make -C /lib/modules/3.8.0-19-generic/build M=/home/tim/Bureaublad/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013 modules
make[1]: Entering directory `/usr/src/linux-headers-3.8.0-19-generic'
  CC [M]  /home/tim/Bureaublad/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/base.o
In file included from /home/tim/Bureaublad/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/base.c:39:0:
/home/tim/Bureaublad/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/pci.h:247:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl_pci_probe’
make[2]: *** [/home/tim/Bureaublad/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/base.o] Error 1
make[1]: *** [_module_/home/tim/Bureaublad/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-19-generic'
make: *** [all] Error 2
tim@tim-W240HU-W250HUQ ~/Bureaublad/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013 $ sudo make install
[sudo] password for tim:
make -C /lib/modules/3.8.0-19-generic/build M=/home/tim/Bureaublad/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013 modules
make[1]: Entering directory `/usr/src/linux-headers-3.8.0-19-generic'
  CC [M]  /home/tim/Bureaublad/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/base.o
In file included from /home/tim/Bureaublad/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/base.c:39:0:
/home/tim/Bureaublad/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/pci.h:247:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl_pci_probe’
make[2]: *** [/home/tim/Bureaublad/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013/base.o] Error 1
make[1]: *** [_module_/home/tim/Bureaublad/rtl_92ce_92se_92de_8723ae_88ee_linux_mac80211_0012.0207.2013] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-19-generic'
make: *** [all] Error 2
[/spoiler]

@WharfRat: I rather first try to fix this instead of buying an usb dongle. And I don't understand what you're saying to do a full upgrade to get to kernel 3.8.0-26. I'm still learning to get familiar with linux.
_Tim
Level 1
Level 1
 
Posts: 12
Joined: Mon Jul 22, 2013 3:49 pm
Location: Belgium

Re: wifi problem

Postby AlbertP on Tue Jul 23, 2013 9:46 am

Ok, that doesn't work indeed. Let's try another one.

Please download and extract this package: https://www.kernel.org/pub/linux/kernel ... 618.tar.xz
Then right-click inside the folder where you extracted it, as you usually do with drivers, and run these commands (note, it's a little different):
Code: Select all
make defconfig-rtlwifi
make
sudo make install

Then please reboot. You have now installed a newer version of the default driver, from a package which contains the latest Linux driver developments that have not reached any Mint releases yet.

Note that I'll be on vacation from Friday on, so I hope we get this fixed soon.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6519
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: wifi problem

Postby _Tim on Tue Jul 23, 2013 10:35 am

First off, thanks for helping me out.

I've got it installed. It's a lot better now but when I did the last command it gave this:

Code: Select all
tim@tim-W240HU-W250HUQ ~/Bureaublad/backports-20130618 $ sudo make install
[sudo] password for tim:
  Building modules, stage 2.
  MODPOST 11 modules
  INSTALL /home/tim/Bureaublad/backports-20130618/compat/compat.ko
Can't read private key
  INSTALL /home/tim/Bureaublad/backports-20130618/drivers/net/wireless/rtlwifi/rtl8188ee/rtl8188ee.ko
Can't read private key
  INSTALL /home/tim/Bureaublad/backports-20130618/drivers/net/wireless/rtlwifi/rtl8192c/rtl8192c-common.ko
Can't read private key
  INSTALL /home/tim/Bureaublad/backports-20130618/drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192ce.ko
Can't read private key
  INSTALL /home/tim/Bureaublad/backports-20130618/drivers/net/wireless/rtlwifi/rtl8192cu/rtl8192cu.ko
Can't read private key
  INSTALL /home/tim/Bureaublad/backports-20130618/drivers/net/wireless/rtlwifi/rtl8192de/rtl8192de.ko
Can't read private key
  INSTALL /home/tim/Bureaublad/backports-20130618/drivers/net/wireless/rtlwifi/rtl8192se/rtl8192se.ko
Can't read private key
  INSTALL /home/tim/Bureaublad/backports-20130618/drivers/net/wireless/rtlwifi/rtl8723ae/rtl8723ae.ko
Can't read private key
  INSTALL /home/tim/Bureaublad/backports-20130618/drivers/net/wireless/rtlwifi/rtlwifi.ko
Can't read private key
  INSTALL /home/tim/Bureaublad/backports-20130618/net/mac80211/mac80211.ko
Can't read private key
  INSTALL /home/tim/Bureaublad/backports-20130618/net/wireless/cfg80211.ko
Can't read private key
  DEPMOD  3.8.0-19-generic
depmod will prefer updates/ over kernel/ -- OK!
Note:
You may or may not need to update your initramfs, you should if
any of the modules installed are part of your initramfs. To add
support for your distribution to do this automatically send a
patch against "update-initramfs.sh". If your distribution does not
require this send a patch with the '/usr/bin/lsb_release -i -s'
("Ubuntu") tag for your distribution to avoid this warning.

Your backported driver modules should be installed now.
Reboot.


Dunno if it's a problem that it couldn't read the private key.

Also there are 2 routers in the house with the same name, so that you don't have to reconnect when you move through the house. When I'm sitting between them, the connection strenght variables (varieert) alot and sometimes the internet goes very slow. In w7 i didn't have that problem.

Last thing, when I sit next to the router and I hoover over the icon of the connection it shows 56% and when I click on it, it says 87%. It seems to me that the icon isn't always 'up to date', I had that also when to connection failed, it still showed that I'm connected.
_Tim
Level 1
Level 1
 
Posts: 12
Joined: Mon Jul 22, 2013 3:49 pm
Location: Belgium

Re: wifi problem

Postby AlbertP on Tue Jul 23, 2013 12:26 pm

The private key problem can certainly be fixed, but it appears the driver is already installed at you since internet was working better for you.

If you want to be sure there is indeed a new driver installed, please run:
Code: Select all
modinfo rtl8192ce

Please post the filename at the top of the output.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6519
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: wifi problem

Postby _Tim on Tue Jul 23, 2013 1:08 pm

Code: Select all
filename:       /lib/modules/3.8.0-19-generic/updates/drivers/net/wireless/rtlwifi/rtl8192ce/rtl8192ce.ko
_Tim
Level 1
Level 1
 
Posts: 12
Joined: Mon Jul 22, 2013 3:49 pm
Location: Belgium

Re: wifi problem

Postby Spearmint2 on Tue Jul 23, 2013 1:58 pm

Make sure the DHCP for your second router is turned off, otherwise as you transition between coverage areas it expects to change your internal IP address for each router. Consider having each router set to broadcast on a different channel that is 4 or 5 away from the first. Having both on the same channel can create a dead zone or weak zone in the mid area between them since their signals will be hitting each other on the same frequency.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....
User avatar
Spearmint2
Level 10
Level 10
 
Posts: 3262
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: wifi problem

Postby AlbertP on Tue Jul 23, 2013 2:06 pm

Spearmint2, routers only assign a new IP address if the computer sends a DHCP request, so a change of IP address won't come unexpected to the computer - likely he just keeps using the same IP when moving to another router. His problem is that internet is slow, not that the connection fails because of IP problems.

Checking the channels that the routers use can indeed help, and that was something I hadn't thought of yet.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6519
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: wifi problem

Postby _Tim on Tue Jul 23, 2013 2:24 pm

DHCP is turned off, and they use different channels.

Speedtest.net gives me normal downloadspeeds but I feel that it's still slower then normal. Tomorrow I will check the downloadspeed by downloading some files and compare it to what I got with w7.
_Tim
Level 1
Level 1
 
Posts: 12
Joined: Mon Jul 22, 2013 3:49 pm
Location: Belgium

Re: wifi problem

Postby _Tim on Wed Jul 24, 2013 10:22 am

This morning I wanted to boot my laptop but it freezes after the linux mint logo that gets brighter. I see my mouse in the middle of the screen but I can't move it. Also, I can set my screen brighter or less brighter but nothing more. It goes even in stand-by when I do nothing for 5 min. I can also reboot it with 'Alt+SysRq+B'.
I tried it several times to reboot, even tried to boot in recovery mode but nothing helps. Should I make a new topic about it in the boot section? Or can someone help me here?
_Tim
Level 1
Level 1
 
Posts: 12
Joined: Mon Jul 22, 2013 3:49 pm
Location: Belgium

Re: wifi problem

Postby rokytnji on Wed Jul 24, 2013 10:36 am

Not sure what you are going through. All I can do is relate what I needed to do this morning.

I ran my eeepc 701 till the battery died and that caused a improper shutdown.
Booting was impossible after that on my internal SSD hard drive.

I had to break out my live usb. Open Gparted. Find my internal SSD. Right clicked it and told
Gparted to run a check on the drive. I am posting now from that fixed boot problem on my eeepc 701.
Linux user 475019.
User avatar
rokytnji
Level 3
Level 3
 
Posts: 198
Joined: Mon Nov 03, 2008 9:56 pm
Location: Pecos, TX

Re: wifi problem

Postby AlbertP on Wed Jul 24, 2013 12:06 pm

Can you still boot the computer in Recovery Mode? If you get to the recovery menu, please choose the "resume" option using up/down keys and Enter.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6519
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: wifi problem

Postby _Tim on Wed Jul 24, 2013 1:28 pm

I did that, but it didn't work. I will try it again, but now I did a memtest86+ and it is still busy
_Tim
Level 1
Level 1
 
Posts: 12
Joined: Mon Jul 22, 2013 3:49 pm
Location: Belgium

Re: wifi problem

Postby AlbertP on Wed Jul 24, 2013 2:18 pm

When memtest completes it will write a 1 instead of 0 under Pass, and it will start over again. This way it might seem to run eternally. But you can just exit memtest (by pressing the key to reboot as specified at the bottom) when it's at 1 pass with no errors reported.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6519
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: wifi problem

Postby _Tim on Wed Jul 24, 2013 2:44 pm

No errors with the memtest. I did also the recovery mode and it didn't work. It still freezes after the linux mint logo.
_Tim
Level 1
Level 1
 
Posts: 12
Joined: Mon Jul 22, 2013 3:49 pm
Location: Belgium

Linux Mint is funded by ads and donations.
 
Next

Return to Newbie Questions

Who is online

Users browsing this forum: Bing [Bot], cng-thg, NChewie and 22 guests