Peppermint | Linux OS Community Forum
 
It is currently Fri Sep 20, 2019 8:05 am

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 35 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: Wireless cuts out at certian times [solved]
PostPosted: Sun Dec 29, 2013 5:45 am 
Offline

Joined: Sun Dec 29, 2013 5:14 am
Posts: 18
I have an odd problem I've never been able to solve and I don't know where to start.

I'm running peppermint one. Every so often, depending on which website I'm on, the wireless connection stops working. If I right click to disable networking and then enable networking, it fixes the problem, but only temporarily. I'm not even sure what it is about certain sites that causes it to crash. I'm not sure where to start on this and my knowledge of linux us limited at best.

lsmod output:
Module Size Used by
ppdev 5588 0
aes_i586 7280 2
aes_generic 26875 1 aes_i586
dm_crypt 11417 0
snd_hda_codec_intelhdmi 9812 1
snd_hda_codec_realtek 217948 1
snd_hda_intel 22139 1
snd_hda_codec 87424 3 snd_hda_codec_intelhdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 5040 1 snd_hda_codec
snd_pcm 71507 2 snd_hda_intel,snd_hda_codec
snd_seq_midi 4588 0
snd_rawmidi 17783 1 snd_seq_midi
snd_seq_midi_event 6047 1 snd_seq_midi
joydev 8735 0
snd_seq 47206 2 snd_seq_midi,snd_seq_midi_event
snd_timer 19067 2 snd_pcm,snd_seq
snd_seq_device 5744 3 snd_seq_midi,snd_rawmidi,snd_seq
snd 49006 11 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 880 1 snd
snd_page_alloc 7120 2 snd_hda_intel,snd_pcm
sdhci_pci 6371 0
uvcvideo 55879 0
sdhci 15890 1 sdhci_pci
videodev 43162 1 uvcvideo
v4l1_compat 13359 2 uvcvideo,videodev
lp 7342 0
psmouse 58969 0
parport 31492 2 ppdev,lp
led_class 2633 1 sdhci
serio_raw 4022 0
r8192se_pci 465354 0
dm_raid45 81753 0
xor 15136 1 dm_raid45
usbhid 37138 0
hid 67742 1 usbhid
i915 291002 2
drm_kms_helper 30136 1 i915
drm 168135 3 i915,drm_kms_helper
ahci 19013 0
r8169 36457 0
libahci 21667 3 ahci
mii 4425 1 r8169
intel_agp 26392 2 i915
i2c_algo_bit 5168 1 i915
video 18712 1 i915
output 1883 1 video
agpgart 32011 2 drm,intel_agp

lspci | grep Net output:
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 8172 (rev 10)

inxi -F output:
System: Host peter-laptop Kernel 2.6.35-22-generic i686 (32 bit) Distro Peppermint
CPU: Dual core Intel Core2 Duo T6600 (SMP) cache 2048 KB flags (sse3 nx lm) bmips 8777.38
Clock Speeds: (1) 2200.00 MHz (2) 2200.00 MHz
Network: Card-1 Realtek RTL8101E/RTL8102E PCI Express Fast Ethernet controller driver r8169 v: 2.3LK-NAPI at port 5000
Card-2 Realtek Device 8172 driver rtl819xSE v: 0017.0507.2010 at port 3000

lspci output:
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 8172 (rev 10)

lspci -vvnn output:

02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 02)
Subsystem: Toshiba America Info Systems Device [1179:ff1e]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 44
Region 0: I/O ports at 5000 [size=256]
Region 2: Memory at d0410000 (64-bit, prefetchable) [size=4K]
Region 4: Memory at d0400000 (64-bit, prefetchable) [size=64K]
Expansion ROM at d0420000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: r8169
Kernel modules: r8169

03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:8172] (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. Device [10ec:8151]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 17
Region 0: I/O ports at 3000 [size=256]
Region 1: Memory at d6700000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: rtl819xSE
Kernel modules: r8192se_pci


Last edited by ut_icedragon on Mon Jan 27, 2014 10:45 pm, edited 1 time in total.

Top
 Profile  
 
 

 Post subject: Re: Wireless cuts out at certian times
PostPosted: Sun Dec 29, 2013 9:08 am 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
You may have to bear with me a bit on this one as I don't have Peppermint One.

A quick Google suggests this was a common problem with the r8192se_pci driver.

According to this forum topic:
http://ubuntuforums.org/showthread.php? ... 61&page=11
the solution seems to be to use an old version of the Win2k drivers through ndiswrapper.

But this only seems to apply to the 32bit kernel .. are you running 32bit Peppermint One ?

If you're unsure, what's the output from:
Code:
uname -a


The link to the old Wiin2k drivers on that forum is broken, but later in the topic there IS an attachment that contains the driver .. or you can download it from my dropbox here:
https://dl.dropboxusercontent.com/u/118 ... ver.tar.gz

If you're not sure how to use those .. just ask.

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Wireless cuts out at certian times
PostPosted: Sun Dec 29, 2013 10:17 am 
Offline

Joined: Sun Dec 29, 2013 5:14 am
Posts: 18
uname -a output:
Linux peter-laptop 2.6.35-22-generic #33~lucid1-Ubuntu SMP Sat Sep 18 07:57:32 UTC 2010 i686 GNU/Linux

Is that 32 bit?

I have downloaded the driver from your dropbox and extracted it to my desktop.

What is the next step?


Top
 Profile  
 
 Post subject: Re: Wireless cuts out at certian times
PostPosted: Sun Dec 29, 2013 11:49 am 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
Yup, that's 32bit :)

OK, first you'll want to install ndisgtk and some dependencies:
Code:
sudo apt-get install ndisgtk ndiswrapper-dkms ndiswrapper-common ndiswrapper-utils-1.9


You'll now have a new menu item at
menu > System Tools > Windows Wireless Drivers

Start that, and click the "Install New Driver" button, and point it at the net8192se.inf file you extracted from the file in my dropbox.

You'll probably also need to blacklist the r8192se_pci driver by running:
Code:
sudo leafpad /etc/modprobe.d/blacklist.conf

and adding a single NEW line at the bottom that reads:-

blacklist r8192se_pci

SAVE the file .. then reboot.

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Wireless cuts out at certian times
PostPosted: Sun Dec 29, 2013 12:29 pm 
Offline

Joined: Sun Dec 29, 2013 5:14 am
Posts: 18
Quote:
OK, first you'll want to install ndisgtk and some dependencies:
Code:
sudo apt-get install ndisgtk ndiswrapper-dkms ndiswrapper-common ndiswrapper-utils-1.9



I get an error when I run that command:

E: Couldn't find package ndiswrapper-dkms


Top
 Profile  
 
 Post subject: Re: Wireless cuts out at certian times
PostPosted: Sun Dec 29, 2013 2:44 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
Leave that out then .. I'm not even sure it5's necessary in Peppermint One .. just make that command:
Code:
sudo apt-get install ndisgtk ndiswrapper-common ndiswrapper-utils-1.9

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Wireless cuts out at certian times
PostPosted: Sun Dec 29, 2013 3:08 pm 
Offline

Joined: Sun Dec 29, 2013 5:14 am
Posts: 18
installed but there is no menu item for the program, but it is loaded on the computer. I can pull up the manual for it in terminal.

Code:
man ndiswrapper-1.9


NAME
ndiswrapper - Linux kernel module and user space tool to load and run Windows XP drivers for wireless cards

SYNOPSIS
ndiswrapper

DESCRIPTION
ndiswrapper is two parts: user space tool that is used to install Windows XP drivers and kernel module to load the Windows XP drivers. Both are called ndis‐
wrapper.

ndiswrapper - tool
The user space tool (/usr/sbin/ndiswrapper) is used whenever a new Windows XP driver is to be installed. This program takes the following options:

OPTIONS

-i <inf file>
installs new Windows XP driver, where <inf file> is full path to INF file for that driver.

-l lists the currently installed drivers.

-e <driver>
removes an installed Windows XP driver named <driver>.

-m writes an alias for wlan0 (default wireless device) into module configuration file so that ndiswrapper kernel module is loaded automatically when
this interface is used.

ndiswrapper - kernel module
The kernel module loads the installed Windows drivers and executes them so that the wireless cards can be used in Linux. The module takes the following
options:

OPTIONS

if_name=<basename>
The default basename for the interface is wlan%d, so that the wireless cards will be configured as wlan0, wlan1, ... (%d is replaced with lowest
available number). You may use any other basename or fixed name, such as eth%d, ndis2 etc.

proc_uid=<uid>
The module creates files in /proc/net/ndiswrapper that provide some useful information. These files are created so that they can be read only by root
by default. If some other user needs to access these files without having to login as root, then replace <uid> with the user ID of that user.

proc_gid=<gid>
The module creates files in /proc/net/ndiswrapper that provide some useful information. These files are created so that they can be read only by peo‐
ple in root group by default. If users from other groups need to access these files, then replace <gid> with the group ID of those users.

ndiswrapper kernel module uses loadndisdriver user space tool to load all the Windows drivers. This tool is not to be used under normal circum‐
stances. Only when ndiswrapper module is already loaded and a new Windows XP driver is instaleld (by ndiswrapper user space tool) and you want the
kernel module to load that driver without having to unload the module that you need to use it.

AUTHOR
This manual page was written by Giridhar Pemmasani <ndiswrapper-general@lists.sourceforge.net>, for the Debian project (but may be used by others).

June 25, 2004
There is an instruction guide here https://help.ubuntu.com/community/WifiDocs/Driver/Ndiswrapper for ndiswrapper but I'm not familiar with linux enough to feel confident going through it on my own, plaus it looks like there are multiple subsections depending on your setup, and I'm not sure which one apply and which ones don't.

Sorry to be such a pain about all this.


Top
 Profile  
 
 Post subject: Re: Wireless cuts out at certian times
PostPosted: Sun Dec 29, 2013 5:01 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
Does it open if you run:
Code:
gksu ndisgtk

or
Code:
gksudo ndisgtk

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Wireless cuts out at certian times
PostPosted: Sun Dec 29, 2013 10:43 pm 
Offline

Joined: Sun Dec 29, 2013 5:14 am
Posts: 18
It did open, and it ran successfully. :)

I was able to open the blacklist.conf file and add the new line as well and the wifi appears stable after reboot.

I'll let it go 24 hours and it it holds up, I post this as solved. :D

Question: Do I need the driver file I downloaded from your dropbox that I extracted anymore? I saved it to my desktop for convenience sake.


Top
 Profile  
 
 Post subject: Re: Wireless cuts out at certian times
PostPosted: Mon Dec 30, 2013 12:28 am 
Offline

Joined: Sun Dec 29, 2013 5:14 am
Posts: 18
Unfortunately the problem is not solved :(

The connection remains stable for longer, but it eventually goes out.

Furthermore, now when it goes out, simply disabling/enabling the network does not fix the problem. I have to reboot the system to bring it back.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 35 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

Powered by php B.B. © 2000, 2002, 2005, 2007 php B.B. Group
Template made by DEVPPL