LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-27-2011, 07:22 AM   #1
Bazzaah
Member
 
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 331

Rep: Reputation: 50
make && make install in chroot


Hey,

I have an installation of Sid up and running next to my installation of Squeeze.

I'm having a few troubles in kernel 3.1 with my USB wifi though. The rt2800usb drivers don't work with my Asus USB-N13, but they should.

So my question is this - what solutions can I use to get wirless running on Sid?

I have two ideas

- use the old staging drivers on the new kernel

- use chroot to make and make install the Ralink drivers to my Sid partition from a chroot on Squeeze. Sid doesn't have make installed.

I guess the latter would be easier so any thoughts would be appreciated.

Thanks in advance
 
Old 12-28-2011, 01:52 PM   #2
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Hi, I don't think doing a chroot on the Debian Sid install will work because you will still have access only to the binaries available on your Sid partition. Anyway, from what I read on the Debian Wiki you need the firmware-ralink package installed. Have you tried installing it on Sid and see if it works?

EDIT: Another possibility if you want/need to compile the drivers on the chrooted Debian Sid, is to mount it, copy the /etc/resolv.conf file from your Squeeze partition into your Sid partition, chroot your Sid partition, and then install build-essential (with apt-get or aptitude; you could also install the firmware-ralink package this way).

Regards.

Last edited by Hungry ghost; 12-28-2011 at 04:44 PM.
 
1 members found this post helpful.
Old 12-28-2011, 05:59 PM   #3
Bazzaah
Member
 
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 331

Original Poster
Rep: Reputation: 50
Thanks - I installed firmware-ralink at the end of the update to Sid. There seem to be loads of problems with the rt2800usb module (odd; the staging drivers work very well).

I'll prob reinstall and upgrade and make sure that I have make installed before I reboot into the new kernel. It's the most direct route.

Thanks for the ideas though.
 
Old 12-28-2011, 06:20 PM   #4
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Quote:
Originally Posted by Bazzaah View Post
I'll prob reinstall and upgrade and make sure that I have make installed before I reboot into the new kernel. It's the most direct route.
There's no need to reinstall (unless you think you have to, for some other reason); you can chroot debian sid from your squeeze install, copy the /etc/resolv.conf file from squeeze to sid (so sid can find the network), and install build-essential with apt-get or aptitude from there (build-essential depends on make, gcc and other packages needed to compile things, so it will download them automatically). You will also need the kernel headers in order to compile the driver (on the chrooted sid, search/install the package named 'linux-headers-{your_kernel_version}').

Regards and good luck.

Last edited by Hungry ghost; 12-28-2011 at 08:07 PM.
 
1 members found this post helpful.
Old 12-29-2011, 12:10 PM   #5
Bazzaah
Member
 
Registered: Mar 2007
Distribution: Slackware64-current, Slackware64 14
Posts: 331

Original Poster
Rep: Reputation: 50
In the end I got linux-headers in and make failed with an error 2 message. The benefit I'll get from Sid is marginal compared to the effort of sorting make errors out, so I'll stick to Squeeze and pick up a new adapater that works better with kernel 3.1 at some point. Who knows the rt2800usb might work a bit better too at some point!

Thanks for your help - amazing what you can do with chroot!

PS I installed additional linux-headers-all (or similar) and drivers compiled and installed fine. Blaklisted the 2870sta module and all's well (just change wlan0 to ra0 in wicd). Changed Sid for Arch and have a boost in speed on both Squeeze and in Arch. For anyone who finds this thread on a search, save yourself a headache and use the Ralink drivers.

Last edited by Bazzaah; 01-05-2012 at 05:48 AM.
 
  


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
Why PKGBUILD and not ./configure && make && make install? slkrover Arch 2 08-09-2010 03:04 AM
what does make man && make setup check while installing qmail means vitalstrike82 Linux - Software 3 05-26-2009 09:41 AM
package compiling from source, make & make install concepts shujja Linux - Newbie 2 09-20-2005 12:18 AM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 03:01 AM
Look the output of: make dep && make clean bzImage modules modules_install Hell-Shooter Linux - General 2 06-05-2004 05:05 AM

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

All times are GMT -5. The time now is 01:22 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