LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-24-2011, 01:21 PM   #1
R3P71L3
LQ Newbie
 
Registered: May 2011
Posts: 8

Rep: Reputation: Disabled
Linux 2.3.68 (I think) Make command will count then freeze, why?


I'm trying to make and make install a driver for my wireless, every time, though, I use the make command, it'll start at 0 and cound almost up to 200,000 and then the computer freezes. I've been trying to get this to work for two weeks and I would appreciate any help any person can offer. I've tried different drivers, same result. I've tried ndiswrapper but that didn't work either. I'm about to go insane!!
 
Old 05-24-2011, 01:40 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
My crystal ball is currently in repair, so I have to ask you for some essential information.

1. Which distribution in which version.
2. Which wireless device, which driver and where did you get it.
3. Post the exact command you issued.
 
Old 05-24-2011, 02:53 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
"Linux 2.3.68"
the 2.3 kernel???
what is the distro??
 
Old 05-24-2011, 03:30 PM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Your linux kernel, 2.3.68 is very old.
Please download (it's free) and install something more recent from http://distrowatch.com/
 
Old 05-24-2011, 03:46 PM   #5
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
I think that the OP meant "2.6.38" (swapped the "3" and "6").
 
Old 05-24-2011, 05:06 PM   #6
R3P71L3
LQ Newbie
 
Registered: May 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
Yes, 2.6.38, sorry. It's the latest Backtrack version. They were no help so I thought I'd ask where the real skills with Linux are. To answer the questions: The wireless device is the Realtek RTL8192se (from what I've read is a nightmare), the command I issued was make and then sudo make, it starts counting from 0 up to almost 200,000. After searching for half a day on the internet I read that the firmware isn't available and I need to get it myself and, without a wired connection, will be tricky. I got some .img files (RTL8192E_main/data/boot.img) but I have no idea how to mount and open them. Back to the drawing board until Thursday (when I get can get to a wired connection).
 
Old 05-24-2011, 05:30 PM   #7
R3P71L3
LQ Newbie
 
Registered: May 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
Okay, found some instructions once I get to a wired connection (in case you're wondering, I'm travelling around Europe for a while) and wanted to run them by everyone to see if it's worth a shot or a waste of time:
2. Load up a terminal window if you are in the graphic interface.

3. Type in the following to install gcc and the kernel headers:


sudo apt-get install build-essential linux-headers-`uname -r`
You may be asked for your password with the above commands, type it in and press Enter.

4. Move to the /usr/src/ folder with:


cd /usr/src5. Now extract the contents of the file you downloaded with the following command (make sure to replace /path/to/ to the actual path you downloaded the file to):


sudo tar xzvf /path/to/rtl8192se_linux_2.6.0014.0115.2010.tar.gz6. Move into the newly created folder with


cd rtl8192se_linux_2.6.0014.0115.20107. Lets copy across the required firmware with this command:


sudo cp -rf firmware/RTL8192SE /lib/firmware8. Now lets build the driver:


sudo make
You may get an error at this stage depending on your kernel. Don't worry about it, the stuff we need is compiled.

9. These set of drivers contain a whole lot of rubbish we don't need, so we only want to copy the driver module itself. Use the following two commands to install the driver:


sudo cp HAL/rtl8192/r8192se_pci.ko /lib/modules/`uname -r`/kernel/drivers/net/
sudo depmod -a10. Optionally, you may like to delete the driver folder now, use the following command:


sudo rm -rf /usr/src/rtl8192se_linux_2.6.0014.0115.201011. Reboot your computer and your realtek wireless controller should begin to work.

Please note that if Ubuntu release an updated kernel you will have to go through the above steps again but make sure you skip the copying of the firmware.


#1 is downloading the Linux driver from Realtek. My problem is that Make command, it'll just run for about five minutes and then freeze again. Anyway, I'd like to get that Make to work, it worked on 4 R1 but not 5. I tried their forums but got no help and now none of my questions are even being posted, so I was hoping someone here could help shed some light.
 
Old 05-25-2011, 10:13 AM   #8
R3P71L3
LQ Newbie
 
Registered: May 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
Another thing I noticed was when I first tried to make and install, it would come back with an error stating /libs/modules/2.6.38 didn't exist. So went into the libs folder and manually created those folders. Now when I make and make install, it'll look like it's doing something but it just freezes at an hour or so and never finishes. I tried ndiswrapper with XP drivers, 2K drivers and 7 drivers. I can install the driver through that just fine, but still can't see any wireless networks. Am I that Linux stupid or am I actually missing something?
 
Old 05-25-2011, 10:16 AM   #9
R3P71L3
LQ Newbie
 
Registered: May 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
Accidentally posted that twice, oops.

Last edited by R3P71L3; 05-25-2011 at 10:17 AM. Reason: double post
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
vim count command Snaggletooth Linux - Newbie 4 02-09-2011 04:13 AM
Need help in word count command grunge_1 Linux - General 4 03-20-2009 05:01 AM
make/make install freeze Casket Slackware 15 07-28-2005 01:14 PM
make your linux count! e1000 Linux - Distributions 1 11-04-2003 01:28 PM
Doing "make" command makes system freeze weiss Linux - Newbie 16 10-09-2003 09:26 AM


All times are GMT -5. The time now is 07:14 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration