LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-13-2014, 03:40 AM   #16
Monk Tea
Member
 
Registered: Apr 2014
Location: New Delhi
Distribution: Slackware
Posts: 39

Original Poster
Rep: Reputation: 2

How to know if I'm using the correct drivers or if my network hardware is supported? And please tell me what,s the role of netconfig? And if I'm to use nm applet, what should be used in netconfig? It seems that network manager should be running for nm- applet to work, right? As I'm concerned with wireless connection only,what's the preferred way to proceed.

Please guys, I'm just way out of my depth here.
 
Old 09-13-2014, 09:59 AM   #17
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Quote:
And iwconfig command gives me just lo and wlan0 interfaces, there is nothin like eth0, is that a problem? and lspci | grep 'Network controller' gives me nothing too.
The wlan0 interface is your wireless device. What is the wireless device? Is it a card on your motherboard (which seems unlikely if it does not show in the output of 'lspci')? Is it a USB plug device? (If so, it should show in the output of 'lsusb').
Quote:
How to know if I'm using the correct drivers or if my network hardware is supported?
The kernel drivers loaded are shown in the output of 'lsmod'. Without identification of the device, further advice is impossible.
Quote:
It seems that network manager should be running for nm- applet to work, right?
nm-applet is a graphical frontend to NetworkManager, so you do need NetworkManager running for nm-applet to work.
Quote:
And please tell me what,s the role of netconfig?
The netconfig script is for setting up networking if you are _not_ using NetworkManager.
 
1 members found this post helpful.
Old 09-13-2014, 10:17 AM   #18
Monk Tea
Member
 
Registered: Apr 2014
Location: New Delhi
Distribution: Slackware
Posts: 39

Original Poster
Rep: Reputation: 2
Thanks Allen for replying, the wireless device is netgear usb modem, and it is shown in lsusb.but I'm not sure about the drivers that are loaded.

The usb wifi device is Netgear g54/N150 usb micro adapter.

Last edited by Monk Tea; 09-13-2014 at 10:20 AM. Reason: added info
 
Old 09-13-2014, 07:12 PM   #19
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Quote:
Netgear g54/N150
Thanks for that. Your device needs the rtl8192cu.ko kernel module, but you probably need to patch and rebuild the kernel module.
http://www.linuxquestions.org/questi...er-4175486756/
http://ubuntuforums.org/showthread.php?t=2216218
 
1 members found this post helpful.
Old 09-14-2014, 04:12 AM   #20
Monk Tea
Member
 
Registered: Apr 2014
Location: New Delhi
Distribution: Slackware
Posts: 39

Original Poster
Rep: Reputation: 2
Thanks allen, I will try to patch and report back soon.
 
Old 09-14-2014, 08:01 AM   #21
Monk Tea
Member
 
Registered: Apr 2014
Location: New Delhi
Distribution: Slackware
Posts: 39

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by allend View Post
Thanks for that. Your device needs the rtl8192cu.ko kernel module, but you probably need to patch and rebuild the kernel module.
http://www.linuxquestions.org/questi...er-4175486756/
http://ubuntuforums.org/showthread.php?t=2216218
Hi allend.

I saw those two links and I understand that it needs patching to the driver. I downloaded the file from Realtek and there is this install.sh in there. I tried running it as root and it stucks after some work at some code by make: error 2. I saw that link and the guy suggested to comment out the CONFIG_PROC_DEBUG in the make file but I find no such thing. I think it would come after adding patches? But, I am not sure what to add where.

Could you help me on how to patch the driver. I understand what is to be done but don't follow where to start.

Thanks.
 
Old 09-14-2014, 08:30 AM   #22
Smokey_justme
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 534

Rep: Reputation: 203Reputation: 203Reputation: 203
//Disregard this... I haven't read the second page :P.. sorry
 
Old 09-14-2014, 08:40 AM   #23
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
You could try the latest stable backports release downloaded from here. http://drvbp1.linux-foundation.org/~...tml/backports/
The build instructions showing how to build only the wifi drivers can be seen here. https://backports.wiki.kernel.org/in.../Documentation
 
1 members found this post helpful.
Old 09-14-2014, 09:20 AM   #24
Monk Tea
Member
 
Registered: Apr 2014
Location: New Delhi
Distribution: Slackware
Posts: 39

Original Poster
Rep: Reputation: 2
Hi allend.

I figured out how to apply the fixes through that ubuntu link you gave and I prepared the module using dkms after downloading it through other connection.

Blacklisted the default modules (there were three) in /lib/modprobe.d. The blacklisted modules conf file was also there. I checked it and they were the ones which were loaded through lsmod.

Now I rebooted and connected to the internet through wicd. Sigh.

Thanks for handholding man!! I would have given up very early but kept on learning new stuff because everything finally paid off here in Slackware before.

Cheers.
 
Old 09-14-2014, 09:39 AM   #25
Monk Tea
Member
 
Registered: Apr 2014
Location: New Delhi
Distribution: Slackware
Posts: 39

Original Poster
Rep: Reputation: 2
Hi.

Just wanted to know if the module that I have installed into the kernel now, will remain so after any kernel updates installation? After installing updates to kernel through slackpkg upgrade-all?
 
Old 09-14-2014, 09:42 AM   #26
Smokey_justme
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 534

Rep: Reputation: 203Reputation: 203Reputation: 203
Well, I feel bad for my mixup in my previous post and spent some time creating a step-by-step solution.. Please do read carefully and type (or even better copy/paste) the sed commands..

First, ensure you download the RTL8192CU driver from here

Then, unzip that file, cd into the unziped folder and cd into the driver directory (do not run install.sh)
You should have a tar.gz file in that directory
Code:
smokey@desk:~/Stuff/rtl8192cu/RTL8188C_8192C_USB_linux_v4.0.2_9000.20130911/driver$ ls
rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911.tar.gz
Untar it and enter the newly created directory:
Code:
tar xf rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911.tar.gz
cd rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911/
Please insure you are in the right location before running the following commands:

Code:
mv Makefile{,.orig}
sed -r 's/^EXTRA_CFLAGS \+= -O1/#EXTRA_CFLAGS +\= -O1/' Makefile.orig > Makefile
mv include/autoconf.h{,.orig}
sed -r -e 's:^#define CONFIG_DEBUG_RTL819X://#define CONFIG_DEBUG_RTL819X:' -e 's:^#define CONFIG_PROC_DEBUG\t*1://#define CONFIG_PROC_DEBUG 1:' -e 's:#define DBG_CONFIG_ERROR_DETECT://#define DBG_CONFIG_ERROR_DETECT:' include/autoconf.h.orig > include/autoconf.h
Now you need to build the driver...
Run
Code:
make -C /lib/modules/`uname -r`/build M=$PWD
and install it
Code:
sudo make -C /lib/modules/`uname -r`/build M=$PWD modules_install
//LE: Well, I haven't refreshed the page since I begup writing (parallel to testing this) and the OP managed to fix his problem but I'll just leave this here as an alternative way to quickly build the drivers..

Last edited by Smokey_justme; 09-14-2014 at 09:45 AM.
 
2 members found this post helpful.
Old 09-14-2014, 11:14 AM   #27
Monk Tea
Member
 
Registered: Apr 2014
Location: New Delhi
Distribution: Slackware
Posts: 39

Original Poster
Rep: Reputation: 2
Thanks..Smokey_justme, for the alternative way. Sure will be of help to other users who are having similar diver issues...and I downloaded the drivers from the same site..and i was doing the same thing you are telling not to...running install.sh. So, I had to go for alternative way..
 
Old 09-14-2014, 06:38 PM   #28
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
I am glad that you got it working!
Quote:
Just wanted to know if the module that I have installed into the kernel now, will remain so after any kernel updates installation? After installing updates to kernel through slackpkg upgrade-all?
If you use slackpkg, then your custom module will be replaced by the module in the incoming kernel-modules package. It may be that the incoming module will incorporate changes that will allow it to work without any need to patch and rebuild. If you built the driver from the backports release, then you could test whether updates to the kernel since Slackware 14.1 was released have fixed the problem you experienced.

@Smokey_justme - Nice writeup. Thanks for that!

Last edited by allend; 09-15-2014 at 12:38 AM.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wicd network manager can'f find my wifi network kenshinji Linux - Software 22 07-12-2013 08:56 PM
Help : Wifi Connection dropping with network manager speigel205 Linux - Wireless Networking 2 01-23-2012 09:34 AM
ubuntu network manager changes wifi password theacerguy Linux - Wireless Networking 1 06-19-2009 05:55 AM
Unable to connect to wifi network with network manager. Poss authorization issue openSauce Linux - Networking 14 12-13-2008 10:05 AM
wifi network manager stopped working phyre-x Ubuntu 0 08-05-2006 09:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration