Hacker(ish) trick for you...

Install the Gentoo install CD and boot from that.  Once you've done 
that, mount your local drive to /mnt/gentoo, and the other usual parts 
that you would do just prior to chrooting during the install (mount all 
drives, and proc, copy resolv.conf, etc.).

One you have things mounted, chroot to the installed system.  You should 
have network access at this point.  The install CD should have given you 
that.  If not, then you have deeper problems.

If you do have net access at this time, then do:

emerge sync
emerge sys-kernel/gentoo-sources

Then fix the /usr/src/linux symlink to point to the right directory.

Next compile your kernel.  (you might want to do a make oldconfig first, 
to get your old settings moved over...  I think there's a file you have 
to move too, but don't remember it off the top of my head...)

Fix grub to point at the new kernel (the usual kernel dance you need to 
do when changing a kernel).

Emerge your driver - ipw3945, and configure your modules/networking as 
needed.

Reboot your computer from the local drive.  If all goes well, you should 
have a network card set up for you.

(note - all the above is from memory, so take it with a grain of salt).

As for searching for packages, I found that visiting 
http://packages.gentoo.org saved me a lot of grief when searching for a 
package.

Hope this helps.

Shawn

Nick Wiltshire wrote:
> Ok, it looks like your portage tree is outdated. Seems odd a program would 
> require a kernel source that isn't provided.
>
> You need to emerge --sync but thats hard with no network.
>
> As for searching, you can use emerge -s or -S but those are pretty slow. If 
> you can install gentoolkit use equery like so:
>
> #equery l search-pattern -p
>
> The l means "list" and -p tells it to search the entire portage tree.
>
> If you can do this:
>
> #emerge -va gentoolkit
>
> then do this:
>
> #equery l gentoo-sources -p
>
> Nick
>
>
> On Saturday 18 November 2006 18:09, [EMAIL PROTECTED] wrote:
>   
>> Hmm...closer. I get this:
>>
>> !!! 'sys-kernel/gentoo-sources-2.6.17-r7' is not a valid package atom.
>> !!! Please check ebuild(5) for full details.
>> !!! (Did you specify a version but forget to prefix with '='?)
>>
>>
>> I know that I have to figure out how to use portage/emerge, but that's
>> hard to do without an Internet connection. Once I get this card
>> running, I'll be more self sufficient, I swear :)
>>
>> Is there like an apt-cache search for portage?
>>
>> J
>>
>> Quoting Nick Wiltshire <[EMAIL PROTECTED]>:
>>     
>>> Ahh ok,
>>>
>>> try this:
>>>
>>> #emerge -va sys-kernel/gentoo-sources-2.6.17-r7
>>>
>>> On Saturday 18 November 2006 17:46, you wrote:
>>>       
>>>> Hey Nick,
>>>>
>>>> I get that part, but my issue is that I don't have the source for my
>>>> running kernel. I ended up running gentoo-r7, but the only sources in
>>>> my /usr/src is gentoo-r5.
>>>>
>>>> In order to emerge my ipw3945 package, the running kernel and
>>>> available source have to jive. My two options, therefore, are to
>>>> either downgrade my running kerel to gentoo-r5 to match my sources, or
>>>> to install the source for gentoo-r7.
>>>>
>>>> I'd prefer to install the sources for gentoo-r7, but I cam't figure
>>>> out how to. Google seems to think that emerging gentoo-sources will
>>>> work, but it doesn't. It leaves me with just the gentoo-r5 sources.
>>>>
>>>> Is there some way I can specify "go get the gentoo-r7 sources"?
>>>>
>>>> Thanks!
>>>>         



_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to