I'll answer only what I'm pretty sure of.. the rest I'd like to know more about as well :-)



"Imagine a school with children that can read and write, but with teachers who cannot, and you have a metaphor of the Information Age in which we live."�� - Peter Cochrane



[1]
# env-update && source /etc/profile (have no clue what this is doing but did it anyways)(I would
like to know though):D When do I know when to invoke this command?
The && command is a way to tell the system to kick in another command as soon as the last one has finished..
the other way to do that is like this:
# env-update
# source /etc/profile





[2]
# rc-update add xfs default (not sure what this is doing but I'm assuming that this is needed
before I can install KDE or GNOME or any other windowing/gui stuff..)(maybe this is telling the
kernel to add xfee at bootup..again not sure exactly)
here you are telling it to make xfs as the default choice.. to reverse it you would "rc-update del xfs"

[3]
# /etc/init.d/xfs start (not sure...)
Starting xfs ....


# startx (This is obvious)(Started Xfree server)3 ugly ass windows...see ya..ctrl<backspace>
Mostly used in Gentoo for just testing to see if your vid card is setup ok..


Then...the mouse...this is fine upto....
[Quote:]
Don't forget to add the modules that your mouse uses to modules.autoload.d/kernel-2.4.
Code listing 2.10: Adding entries to modules.autoload.d/kernel-2.4
[4]
# nano -w /etc/modules.autoload.d/kernel-2.4 (not sure what this file is used for and what I'm
doing here..looks as though I'm telling the kernel to load hardware settings about my mouse and or
other hardware that I have)
# We will add the following lines to the file.
mousedev
hid
usbcore
input
[Unquote:]


I didn't add anything to this file because I didn't understand what they wanted me to add and why.
I have a "IMPS/2" mouse and made the appropriate changes to the /etc/X11/XF86Config file. But my
mouse buttons and scroll wheel work fine even after reboot.


Next.....
[Quote:]
Make sure that "qt" and "kde" are in your USE variables in make.conf.
Make sure that (optional) "-gnome" and "-gtk" are in your USE variables in make.conf.
[Unquote:]
[5]
Now this is an area that really confused me even after reading the USE doc.. They give examples of
what you put in thier and lead me to beleive that for every peace of software that I install that
I should add the name here...Not to sure...even after reading the USE doc...I think some better
examples would help maybe.


[6]
Now the strange thing is that I didn't do anything as far as a video card and sound card
configuration and these just seem to work. I don't know how so I just leave it alone for now. But
eventually I would like to have Gentoo optimizing any features that these devices have.
SoundBlaster Live adition Soundcard
Sblive support in kernel is pretty good.. and supports hardware mixing.. there is little else to know..

64M AGP ATI RADEON vid card.



I eventually got Xfree and KDE installed using the Gentoo desktop doc. Again the guide was great
because I didn't really understand allot of what I was doing but it seemed to work..COOL....


Whoooo....Hooooo...some light at the end of the tunnel:D
Configured net access with Kppp dialup utility and started to follow the Portage users doc to get
my Gentoo upto date.



Now this is where I think that I might of done something wrong.

[Quote]
Updating Portage�

Before using our Portage tree, it's important that you update Portage by doing the following:
Code listing 1.3: Updating Portage
This will show you what packages are going to be updated
# emerge -up system
This will update the necessary packages
# emerge -u system
[Unquote:]


#emerge sync
[7]
But the next part right after this command is where I need to get a better understanding:
Cut&Paste:
* NOTICE: PLEASE *REPLACE* your make.globals. All user changes to variables
* in make.globals should be placed in make.conf. DO NOT MODIFY make.globals.


 * Feature additions are noted in help and make.conf descriptions. Update
 * them using 'etc-update' please. Maintaining current configs for portage
 * and other system packages is fairly important for the continued health
 * of your system.

 >>> Regenerating /etc/ld.so.cache...
>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


* GNU info directory index is up-to-date. * IMPORTANT: 3 config files in /etc need updating. * Type emerge --help config to learn how to update config files.

bash-2.05b# etc-update
Scanning Configuration files...
The following is the list of files which need updating, each
configuration file is followed by a list of possible replacement files.
1) /etc/dispatch-conf.conf
/etc/._cfg0000_dispatch-conf.conf
2) /etc/make.conf
/etc/._cfg0000_make.conf
3) /etc/make.globals
/etc/._cfg0000_make.globals
Please select a file to edit by entering the corresponding number.
(-1 to exit) (-3 to auto merge all remaining files)
(-5 to auto-merge AND not use 'mv -i'): -3
[8]

(I WASN'T SURE WHAT TO DO HERE AND I CHOSE -3 BECAUSE THIS SEEMED LIKE THE LOGICAL CHOICE)
(wHAT SHOULD I BE CHOOSING AT THIS POINT?)



Replacing /etc/dispatch-conf.conf with /etc/._cfg0000_dispatch-conf.conf
mv: overwrite `/etc/dispatch-conf.conf'? y
That should do fine.. though to be safe I'd cp /etc/dispatch-conf.conf /etc/dispatch-conf.conf.old-08-09-03




Replacing /etc/make.conf with /etc/._cfg0000_make.conf
mv: overwrite `/etc/make.conf'? y
Because you make massive changes to make.conf I wouldn't do this..
Best thing to do is to compare the two files and add into your currnent copy, the extra lines.. (works for me *shrug*)




Replacing /etc/make.globals with /etc/._cfg0000_make.globals
mv: overwrite `/etc/make.globals'? y
You should never *edit* the make.globals so yes, do an overwrite (but backup first like I said in the /etc/dispatch-conf.conf )


Exiting: Nothing left to do; exiting. :)  I then did: #emerge -u world Cut&paste: >>> /usr/src/linux-2.4.20-gentoo-r6/COPYING >>> /usr/src/linux-2.4.20-gentoo-r6/REPORTING-BUGS >>> /usr/src/linux-2.4.20-gentoo-r6/CREDITS

* After installing a new kernel of any version, it is important
* that you have the appropriate /etc/modules.autoload.d/kernel-X.Y
* created (X.Y is the first 2 parts of your new kernel version)
[9]
(I thought that this was created automatically when the kernel is compiled)
So I check that directory to see whats listed.
#ls /etc/modules.autoload.d/*
/etc/modules.autoload.d/kernel-2.4 /etc/modules.autoload.d/kernel-2.5
[10]
(Not sure what to do next so I do etc-update because this seems to be the standard operating
proceedure after doing an upgrade or a sync. Please correct me if I'm wrong.


bash-2.05b# etc-update
Scanning Configuration files...
The following is the list of files which need updating, each
configuration file is followed by a list of possible replacement files.
1) /etc/init.d/hdparm
/etc/init.d/._cfg0000_hdparm
2) /etc/kernels/genkernel
/etc/kernels/._cfg0000_genkernel
Please select a file to edit by entering the corresponding number.
(-1 to exit) (-3 to auto merge all remaining files)
(-5 to auto-merge AND not use 'mv -i'): -3
[11]
(again..I chose -3 like I did last time. Still don't know exactly what I should be choosing or how
to unfix what I've done the last two times.) :D


Replacing /etc/init.d/hdparm with /etc/init.d/._cfg0000_hdparm
mv: overwrite `/etc/init.d/hdparm'? y
Should be fine unless you've edited this old file on your own.. then make sure you keep those changes as well..


Replacing /etc/kernels/genkernel with /etc/kernels/._cfg0000_genkernel
mv: overwrite `/etc/kernels/genkernel'? y
Ditto..

Exiting: Nothing left to do; exiting. :)



[12]
Now it looks as though I have a new kernel to compile but I don't know what steps SPECIFICALLY IN
ORDER considering that I used Genkernel to compile last time. And what effects this is going to
have on the software that I have emerged so far and exactly where the new kernel is actually
located.


All of these were loaded using standard "emerge <package name> as they are named below.
xfee...this is working
kde....this is working
gaim...this is working
ethereal..not working
shorewall..not working
[13]
Ethereal... Not sure whats happening with this one. (worked in Mandrake fine) I know that when I
compiled this in Mandrake I had to have ethereal plus libpcap. And libpcap is installed and
up-to-date.


When I'm logged in as a normal user and type:
bash-2.05b$/usr/bin/ethereal (not sure if I need to be root or normal user) Most times I try to
run programs as Root Gentoo won't let me. Mandrake was never like this and matter a fact I thought
thats how you needed to run most programs anyways..shows you what I don't know and where I'm
coming from.


Anyways, Ethereal opens but when I goto capture traffic I don't have any network interfaces to
choose from to start capturing traffic. Eth0 (local lan) or PPP0 when I'm dialed up. Everythings
plugged in and I can ping from eth0 to a Win98 machine and I can ping from ppp0 out to the
internet. Im missing something small I'm sure..:D
[14]
So I thought that I needed to be "su". This is what's spit out.


bash-2.05b# /usr/bin/ethereal
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


Gtk-WARNING **: cannot open display: :0.0 bash-2.05b# exit exit

[16]
When I emegre a package, how can I tell after I have emerged that package everything that was
installed along with the specific package?


[17]
Shoerwall firewall
It looked like it install the iproute package and the neccessary modules but I'm unsure.


when I issued the Shorewall "start" command this is whats spit out:
bash-2.05b#shorewall start
Starting Shorewall...
Initializing...
Shorewall has detected the following iptables/netfilter capabilities:
NAT: Not available
Packet Mangling: Not available
Multi-port Match: Not available
Connection Tracking Match: Not available
modprobe: Can't locate module ip_tables
iptables v1.2.8: can't initialize iptables table `filter': iptables who? (do you
need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Processing /etc/shorewall/stop ...


(I've obviously missed something here)
You need to have these things either compiled into the kernel or compiled as modules (and added to your modules.autoload.d :
NAT
Packet Mangling
Multi-port Match
Connection Tracking Match
ip_tables



NOTE!
Unless your using this machine as a gateway/router then I'm not sure why you would add them..
and if you are then why have a soundcard etc in it..?

Thanks, JBanks


I hope my little bit helps..


_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus



-- [EMAIL PROTECTED] mailing list



Reply via email to