Yoper This forum is for the discussion of Yoper Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-24-2004, 11:24 PM
|
#1
|
Member
Registered: Jan 2004
Distribution: suse/slack/gentoo/lfs (not-in-that-order)
Posts: 284
Rep:
|
kernel rebuild
i'm trying to get wireless working on a Sony VGN-S150 with intel 2200 wireless.
according to the drivers i need CONFIG_NET_RADIO configured in my kernel. when i grep see if it is on, i get an error.
i also need firmware loading capabilities of hotplug.
can i turn both these on without recompiling?
what is the proper directory for firmware loading?
if not, should i just download the most recent source and recompile?
hmm, guess that's enough q's to get me started, lol.
thx,
pres
|
|
|
11-25-2004, 05:20 AM
|
#2
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517
Rep:
|
Quote:
when i grep see if it is on, i get an error.
|
What error ? Something like "CONFIG_NET_RADIO is not set" ?
Then you need to compile the kernel with the above option set.
Quote:
i also need firmware loading capabilities of hotplug.
what is the proper directory for firmware loading?
|
Sorry, don't know anything about that.
Quote:
if not, should i just download the most recent source and recompile?
|
I think it's easier to recompile the current kernel (instead of the newest), so you don't run into possible configuration problems. Simply clone the kernel config (copy .config and make oldconfig) and change the parameters you need.
|
|
|
11-25-2004, 12:47 PM
|
#3
|
Member
Registered: Jan 2004
Distribution: suse/slack/gentoo/lfs (not-in-that-order)
Posts: 284
Original Poster
Rep:
|
no the error i get is that the directory i am grepping does not exist (the wireless driver developers said to grep that directory).
here is the output:
grep CONFIG_NET_RADIO \
> /lib/modules/'uname -r'/build/include/linux/autoconf.h
grep: /lib/modules/uname -r/build/include/linux/autoconf.h: No such file or directory
also, the locate db has not been created when i installed yoper. making difficult to find things. how do i tell it to generate one?
hate to ask such simple questions :S
pres
|
|
|
11-25-2004, 01:08 PM
|
#4
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517
Rep:
|
I don't know if the Yoper kernel has this feature, but you could try the following:
zcat /proc/config.gz | grep NET_RADIO
I guess what the developers mean ist that you should fill in the output of uname -r rather than uname -r itself. This command returns the kernel version.
Code:
user@linux:~> uname -r
2.6.7
user@linux:~> cat /lib/modules/2.6.7/build/include/linux/autoconf.h | grep NET_RADIO
#undef CONFIG_NET_RADIO
To get your locate db updated, you may need to run the command updatedb (as root).
|
|
|
11-25-2004, 04:10 PM
|
#5
|
Member
Registered: Jan 2004
Distribution: suse/slack/gentoo/lfs (not-in-that-order)
Posts: 284
Original Poster
Rep:
|
thanks,
actually after my last post i decided to try to follow the directory tree listed, and saw that 2.6.8.1-3 was the "uname -r" directory, but then the entire naming scheme breaks down.... there is no .../build directory after that, let alone the other ones listed.
hmm, let me do some more sleuthing... wish i knew how to get "locate" working... lemme do a search on that first, lol... i need to write the db files for it.
|
|
|
11-25-2004, 04:19 PM
|
#6
|
Member
Registered: Jan 2004
Distribution: suse/slack/gentoo/lfs (not-in-that-order)
Posts: 284
Original Poster
Rep:
|
cool, the command to write the locate and find db is: updatedb
now the locate command works
now back to the problem @ hand...
locate does not find an autoconf.h anywhere. i cannot grep for the NET_RADIO status unless i can locate it?
hmm...
edited:
so if i were to recompile the kernel, i would need to place the drivers in the above mentioned directory?
i'm not sure why the directory structure is different. either the kernel i'm using, or yoper has made it different?
hmm again... lol, i'm lost
Last edited by Present; 11-25-2004 at 04:23 PM.
|
|
|
11-25-2004, 05:22 PM
|
#7
|
Member
Registered: Jan 2004
Distribution: suse/slack/gentoo/lfs (not-in-that-order)
Posts: 284
Original Poster
Rep:
|
i just tried this to get the kernel source (i don't think i have it):
apt-get install kernel-source
and it reads package lists and dep tree fine, but then i get this message:
E: Couldn't find package kernel-source
do i need to refer to the package differently?
edited
i just checked kernel.org for a version of the kernel i'm using to manually install it so i can get on with configuring this computer, and they only have 2.6.8.1 while yoper is using 2.6.8.1-3. is this the same? can i manually install sources from ..1 and have them work with ..1-3?
-maybe i should ask this last part at the general forum... not sure if this is the right place...
thx
Last edited by Present; 11-25-2004 at 07:22 PM.
|
|
|
11-26-2004, 12:19 AM
|
#8
|
Member
Registered: Jan 2004
Distribution: suse/slack/gentoo/lfs (not-in-that-order)
Posts: 284
Original Poster
Rep:
|
i found the source on yoper website and just installed it from rpm (couldn't get the apt-get to work..)
also got the radio transmitting and receiving, just need to get the networking setup on it now (a quick search of the forums or web should get me through this easily).
thanks all, i'm all set,
pres
edited:
the solution for the radio actually didn't need the source (vmware did, lol).
to get the radio working on this notebook, get the ipw2200-0.15(+) drivers and firmware (two separate tars).
1. untar the firmware to the /usr/lib/hotplug/firmware/ directory.
2. untar the drivers to a directory and make, make install (as su)
3. modprobe ipw2200 (as su also)
you should be set. yoper takes care of the rest of the settings in the kernel.
a little prog like KWiFiManager should let you see if you're transmitting and receiving.
gl
Last edited by Present; 11-26-2004 at 12:28 AM.
|
|
|
11-26-2004, 04:15 AM
|
#9
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517
Rep:
|
Quote:
Originally posted by Present
cool, the command to write the locate and find db is: updatedb
now the locate command works
|
WOW, who told you that?
Quote:
Originally posted by abisko00
To get your locate db updated, you may need to run the command updatedb (as root).
|
Quote:
Originally posted by Present
now back to the problem @ hand...
locate does not find an autoconf.h anywhere. i cannot grep for the NET_RADIO status unless i can locate it?
|
I actually get the impression that you didn't read my post at all:
Quote:
Originally posted by abisko00
zcat /proc/config.gz | grep NET_RADIO
|
But I am happy that you resolved the problem yourself, finally!
|
|
|
11-26-2004, 07:08 PM
|
#10
|
Member
Registered: Jan 2004
Distribution: suse/slack/gentoo/lfs (not-in-that-order)
Posts: 284
Original Poster
Rep:
|
Quote:
Originally posted by abisko00
I don't know if the Yoper kernel has this feature, but you could try the following:
zcat /proc/config.gz | grep NET_RADIO
|
"No such file or directory"
Quote:
Originally posted by abisko00
I guess what the developers mean ist that you should fill in the output of uname -r rather than uname -r itself. This command returns the kernel version.
Code:
user@linux:~> uname -r
2.6.7
user@linux:~> cat /lib/modules/2.6.7/build/include/linux/autoconf.h | grep NET_RADIO
#undef CONFIG_NET_RADIO
|
for me that would be: ~> cat /lib/modules/ 2.6.8.1-3/build/include/linux/autoconf.h | grep NET_RADIO
...drum roll..."No such file or directory"
Quote:
Originally posted by abisko00
To get your locate db updated, you may need to run the command updatedb (as root).
|
OOPPPS!!! i goofed, lol. dyslexia strikes back... here's how i read that:
To get your locate db updated, you may need to run the command updated (as root).
...And i thought to myself, "he misspelled and never told me the command."
Sorry about that. ignorance does have a price. in my case the price was an hour trying to figure out how to update the db because i didn't read carefully and reread.
Thanks again for your help,
pres
Last edited by Present; 11-26-2004 at 07:16 PM.
|
|
|
All times are GMT -5. The time now is 03:48 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|