Re: [gentoo-user] user command auditing

2008-07-16 Thread A. Khattri

On Wed, 16 Jul 2008, Richard Marzan wrote:


Is there a tool or a way of keeping track of which commands user's are
executing on a system? I understand that history files can be wiped out
and they don't really contain the time at which a command and it's
arguments were run so I refrain from relying on it.


On traditional UNIX systems, system accounting logs (usually called 
acct) can be read via the lastcomm command. Im guessing that the 
sys-process/acct ebuild will give you those commands.


NOTE: You will also need kernel support for process/login accounting - 
look for "process accounting" in your kernel config and make sure it is 
switched on. (Natrually, you will need to rebuild your kernel / modules if 
it isn't switched on and reboot to activate it).



UPDATE: I just checked one of my kernels and the config option is called 
"BSD-style process accouting" - it lives in General Setup when configuring 
a kernel.



--
A
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] [OT] Online bookmark keeper with good merge routine

2008-01-18 Thread A. Khattri

On Wed, 16 Jan 2008, [EMAIL PROTECTED] wrote:


I've been using sitebar as my online bookmark keeper for quite a while
but seem to have trouble merging in new bookmarks from multiple
machines ... what is supposed to be a merge turns into a replace
operation or so it seems .. but not always.


What about Google Browser Sync?

http://www.google.com/tools/firefox/browsersync/


--
A
--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] PHP and glsa

2007-08-31 Thread A. Khattri


glas-check shows that PHP on one of my servers is vulnerable but in 
examining the GLSA and comparing my version against it I see I am running 
a version that is unaffected by this GLSA - so do I need to tell GLSA to 
ignore that package or is there something else Ive missed?


root# glsa-check -l | egrep '\[N\]'
[A] means this GLSA was already applied,
[U] means the system is not affected and
[N] indicates that the system might be affected.

200705-19 [N] PHP: Multiple vulnerabilities ( dev-lang/php )
200708-10 [N] MySQL: Denial of Service and information leakage ( 
dev-db/mysql )


root # glsa-check -d 200705-19 | grep Unaffected
Unaffected:>=~4.4.7 >=5.2.2

root# eix ^php$
[I] dev-lang/php
 Available versions:
(4) 4.4.7 4.4.8_pre20070816
(5) [m]5.1.6-r11 [m]5.2.2-r1 [m]5.2.3-r3 [m]5.2.4_pre200708051230-r2
 Installed versions:  4.4.8_pre20070816(4)(16:56:39 08/28/07)
 Description: The PHP language runtime engine: CLI, CGI and Apache2 
SAPIs.


Huh?

--
A
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Best language for Ajax Web Developping

2006-12-28 Thread A. Khattri
On Thu, 28 Dec 2006, Strong Cypher wrote:

> I'm looking for a language really great for ajax web developping
>
> I really want a list of advantage a disadvantage, like
>
> Developper available who know well the language
> Ajax integration
> Framework object oriented ...
>
> Easy plugins install ...
>
> I'm searching and searching, I found 2 one
>
> Ruby, really beautifull, but lake of developper who know it are really a bad
> pointed, I can do a mistake perhaps
> And so PHP, lot's of people know it, smarty + adodb or pear, and object are
> fine, but does exist an alternative ?

There isn't a language specifically geared to doing AJAX stuff (AJAX is
usually Javascript anyway).

There are a lot of frameworks out there that might make it easier to
_generate_ AJAX code and/or work with specific AJAX libraries like
Prototype, Scriptaculous, Dojo, etc.

Some of the better frameworks:

Ruby on Rails: based on Ruby; comes with Prototype and helpers to work
with it. Ive found the Ruby folks to be very helpful - the Rails list is a
very high volume list! Very nice framework.

Symfony: PHP5 object-based; comes with Prototype and helpers; there is a
Dojo plugin; Yahoo used this framework to develop their new bookmarks
service (http://beta.bookmarks.yahoo.com/); Im using this at work
currently and have found it fairly easy to use.

If you like Python, you might want to check out Django or TurboGears (I
dont know much about them since I dont know Python but they have receieved
a lot of positive press).



-- 
A
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Unicode fonts

2006-12-22 Thread A. Khattri

Does anyone know of a good all-round font to use for a unicode console?
Ideally, I want to be able to display mostly European languages (though,
if there is a font out there that can deal with Asian languages too, that
would be great ;-)


-- 
A
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Apple keyboards with Gentoo

2006-12-22 Thread A. Khattri
On Thu, 21 Dec 2006, Nelson, David \(ED, PAR&D\) wrote:

> I may be preaching to the converted, but have you tried Ctrl-Alt-Fx keys
> to try and get a console? Does the keyboard have any odd switches to
> turn the F keys on? My logitech keyboard does - to switch between
> hotkeys and Fx keys.

Basically, Im using an Apple USB keyboard on an amd64 box. The "Option"
key (which has the word "Alt" written above it) does not function as an
ALT key at all (even on the console it doesn't work). So this tells me
that I need to set my keyboard map in the console and get that working
first (hopefully, the key will work in X too when I solve this).

Of course, I could just use a "regular" PC keyboard (though this Apple
keyboard was a spare I had lying around and Ive grown fond of it).

So... how do we play with the keyboard mapping in the console?


-- 
A
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CFLAGS Core2Duo

2006-12-20 Thread A. Khattri
On Tue, 19 Dec 2006, Jakob wrote:

> > Its funny till yesterday I didnt even know It supports 64bit ;-)

Any Pentium D (or higher) CPU supports 64bit.

> for now I will stick with 32bit, I think I will Install 64bit to
> another partition in some weeks

The other option is to have a pure 64bit system and have a 32bit chroot
inside it for those few apps that need to stay 32bit (running Flash
plugins with Firefox spring to mind).

My pure 64bit Gentoo box seems much faster to me...


-- 
A
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Apple keyboards with Gentoo

2006-12-19 Thread A. Khattri

Anyone using an Apple USB keyboard with Gentoo Linux?

Specifically, Im running XFCE4 and want to figure out how to map some
keys and get some missing functionality. How can I set these up with
X11/XFCE? Also, I can't seem to switch between X11 and the console (I
think I can't even switch consoles outside of X11)

Anyone have any pointers / FAQs?

(I already Googled and an archive search proved fruitless).


-- 
A
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo apache2 VirtualHost :443 config

2006-12-08 Thread A. Khattri
On Thu, 7 Dec 2006, Grant wrote:

> Ok, knowing that others like it I'm more comfortable trying to get
> used to it.  It's all the IfDefine stuff I don't like.

Actually that makes it super flexible.

> What would you do if you needed a certain  block for one
> domain but not for another, and you need both of the domains to
> function under SSL?  Is multiple IPs the only way?

YES.


-- 
A
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mysql-5.* unmasked

2006-11-23 Thread A. Khattri
On Thu, 23 Nov 2006, Markus Schönhaber wrote:

> A. Khattri wrote:
> > On Tue, 7 Nov 2006, Grant wrote:
> > > emerge world wants to update mysql from 4.1.21 to 5.0.26-r1 on my
> > > server this morning.  Has anyone made a similar upgrade?
> >
> > More importantly, I would like to know why MUST I update to MySQL 5?
>
> Why do you think you "MUST"? I doubt that there exists a law that says that
> you have to upgrade or you will be sent to jail if you don't.
>
> > Im running 4.1 quite happily and have mysql-5 masked out in
> > /etc/portage/package.mask.
>
> What's the problem then?

Nothing - apart from not being to *any* updates:

# emerge -uDtav world

These are the packages that would be merged, in reverse order:

Calculating world dependencies |
!!! All ebuilds that could satisfy "=dev-db/mysql-5.0*" have been masked.
!!! One of the following masked packages is required to complete your
request:
- dev-db/mysql-5.0.26-r1 (masked by: package.mask)


For more information, see MASKED PACKAGES section in the emerge man page
or
refer to the Gentoo Handbook.
(dependency required by "virtual/mysql-5.0" [ebuild])



!!! Problem resolving dependencies for dev-db/mysql
!!! Depgraph creation failed.





Nice.



-- 
A
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mysql-5.* unmasked

2006-11-23 Thread A. Khattri
On Tue, 7 Nov 2006, Grant wrote:

> emerge world wants to update mysql from 4.1.21 to 5.0.26-r1 on my
> server this morning.  Has anyone made a similar upgrade?

More importantly, I would like to know why MUST I update to MySQL 5?

Im running 4.1 quite happily and have mysql-5 masked out in
/etc/portage/package.mask.


-- 
A
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Exchange compatibility with MTAs (not evolution)

2006-10-19 Thread A. Khattri
On Fri, 18 Aug 2006, Jim Ramsay wrote:

> Sylpheed-claws has a 'vcalendar' plugin which reports to be compatible
> with Exchange calendar events.  I've never tried it, though.
>
> 'emerge sylpheed-claws-vcalendar'


Maybe you can persuade them to use this drop-in replacement for Exchange:
http://www.postpath.com/

;-)


-- 
A
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Mac k/b on PC?

2006-10-15 Thread A. Khattri

Im using a USB Mac keyboard on a regular (Intel) PC.
Works fine apart from the lack of a working ALT key (so I can't switch to
another virtual console).

I tried playing loading different keymaps using loadkeys but have not
found a working setup. Anyone got this working? Or can point me to some
docs?


-- 
A
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] etc-update

2006-06-29 Thread A. Khattri
On Mon, 26 Jun 2006, Philip Webb wrote:

> Even if you're not normally a Vim user, this shows the diffs very clearly
> & allows you to copy your personal changes from old to new versions.

Vim is great for looking at diffs and copying between config files.

Anyone hacked dispath-conf to use cvs/svn (if I wanted to use rcs Id still
be using BSD ;-)

-- 
A
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] etc-update

2006-06-29 Thread A. Khattri
On Mon, 26 Jun 2006, David Corbin wrote:

> >
> > I don't see why use other tool. Etc-update works great...
>
> It works great,  But the interface sucks.

What exactly sucks? Be specific rather than making some vague sweeping
statement.


-- 
A
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] etc-update

2006-06-29 Thread A. Khattri
On Mon, 26 Jun 2006, Alexander Skwar wrote:

> A. Khattri wrote:
>
> > For example, looking at diffs using vim via etc-update is easier to read
> > than dispatch-conf. The fact that dispatch-conf can use archiving is nice
> > but it uses the (archaic) rcs tool to do it.
> >
> > For me, seeing the diffs clearly is more important...
>
> ACK
>
> But dispatch-conf uses diff as well, so that's no advantage of etc-update
> over dispatch-conf.

Sorry the emphasis should have been on the word CLEARLY.

diff output is hard to read so I use vim (which is easy to configure and
use i etc-update).

(Bo pointed out that he's used vim to show diffs with dispathc-conf too).


-- 
A
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] etc-update

2006-06-26 Thread A. Khattri
On Mon, 26 Jun 2006, Teresa and Dale wrote:

> I also seem to recall that dispatch-conf didn't keep back-ups on mine.
> I had the directory but it was always empty even after a lot of
> updates.  You know of any reason for that?

Is use-rcs=yes in /etc/dispath-conf.conf ?



-- 
A
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] etc-update

2006-06-26 Thread A. Khattri
On Mon, 26 Jun 2006, Bo Ørsted Andresen wrote:

> On Monday 26 June 2006 16:29, A. Khattri wrote:
> > For example, looking at diffs using vim via etc-update is easier to read
> > than dispatch-conf. The fact that dispatch-conf can use archiving is nice
> > but it uses the (archaic) rcs tool to do it.
> >
> > For me, seeing the diffs clearly is more important...
>
> Why would you think that cfg-update and dispatch-conf cannot show you the
> diffs?

Vim diff?

-- 
A
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] etc-update

2006-06-26 Thread A. Khattri
On Mon, 26 Jun 2006, Bo Ørsted Andresen wrote:

> There are three competing utilities for this purpose. The official etc-update
> (which sucks and should have been deprecated a long time ago... ;) ),
> dispatch-conf and cfg-update.

Actually all the update tools have pros and cons.

For example, looking at diffs using vim via etc-update is easier to read
than dispatch-conf. The fact that dispatch-conf can use archiving is nice
but it uses the (archaic) rcs tool to do it.

For me, seeing the diffs clearly is more important...


-- 
A
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] which forum app to use?

2006-06-05 Thread A. Khattri
On Mon, 5 Jun 2006, Andrew Gaydenko wrote:

> The question is: which forum app to use??

I dont think this is in Portage:
http://getvanilla.com/


-- 
A
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] email netiquette

2006-04-26 Thread A. Khattri
On Wed, 26 Apr 2006, Richard Fish wrote:

> Guys, I think most of this advice is going to be wasted on Windows
> users.  Outlook makes it damn near impossible to properly quote and
> trim a message when replying.  Be thankful if you never have to use
> that piece of .

Yeah, but we're not going down without a fight DAMN IT!


;-)

-- 
A
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] bindkey

2006-04-25 Thread A. Khattri
On Tue, 25 Apr 2006, Glenn Enright wrote:

> Does anyone know which package supplies this function.

Its builtin to tcsh.


-- 
A
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Hotpluggable SATA question...

2006-04-21 Thread A. Khattri
On Fri, 21 Apr 2006, Sieb, Glenn E (Glenn) wrote:

> Brett,
>
> > Will the hotplug package work on these drives?
>
> Hmm. (checks) Well, it appears to be installed.
>
> # equery list hotplug
> [ Searching for package 'hotplug' in all categories among: ]
>  * installed packages
> [I--] [  ] sys-apps/hotplug-20040923-r1 (0)
> [I--] [  ] sys-apps/hotplug-base-20040401 (0)
>
> Further checking:
>
> There's a scsi.agent in /etc/hotplug/
>
> So now I've tried:
>
> hotplug scsi add sdb
> (which sounded like the right thing to do after looking at 
> /etc/hotplug/scsi.agent)
>
> Doing that command didn't give any feedback. dmesg hasn't changed... heck 
> doing hotplug scsi blah didn't give any feedback either.
>
> Thanks for the reply :) I'm hoping I can do this.

Please post back here if you get anywhere - I have the same hotswap
chassis (Im using software RAID 1 though).


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Udev (?) oddity

2006-04-10 Thread A. Khattri
On Sun, 9 Apr 2006, Meino Christian Cramer wrote:

>
> Hi,
>
>  the basic question is: Where should I start ?
>
>  The problem: I updated several programs via emerge after they where
>  flagged by the emerge -up world command.

Probably emerge -uDp would be better...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SSH + Keys

2006-03-08 Thread A. Khattri
On Wed, 8 Mar 2006, John Jolet wrote:

> I've had NO ssh portscans on my boxes since I moved them off of port
> 22.  for security's sake, i won't tell you where I moved them to :)

I dont think moving ssh from port 22 will stop portscans but it will stop
brute force attacks directly on port 22.

I prefer to just run denyhosts on my servers instead:

# eix denyhosts
* app-admin/denyhosts
 Available versions:  1.1.2 1.1.2-r1 2.1
 Installed:   2.1
 Homepage:http://www.denyhosts.net
 Description: DenyHosts is a utility to help sys admins thwart ssh 
hackers


Found 1 matches

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Ebuild for net-mail/mailman

2006-02-20 Thread A. Khattri
On Mon, 20 Feb 2006, Jonatan Antoni wrote:

> I've just emerged mailman-2.1.7 and noticed that it is installed to
> /usr/local/mailman.
>
> IMHO the /usr/local-directory is not the right place for installing
> software by a package-management. I think it would be much better to
> place it to /opt or split the package up into the existing /usr-directory.

Generally, /opt in Gentoo is for binary-only or commercial packages.

Its perfectly reasonable to have local stuff under /usr/local (see FHS:
http://www.pathname.com/fhs/2.2/fhs-4.9.html).

Of course, you can change where stuff gets installed too.

-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] php5 upgrade instruction

2006-02-17 Thread A. Khattri
On Fri, 17 Feb 2006, A. Khattri wrote:

> On Thu, 16 Feb 2006, Roy Wright wrote:
>
> > >
> >
> > http://www.gentoo.org/proj/en/php/php-upgrading.xml
> >
>
>
> And what if you dont want to upgrade?!

Never mind, I figured it out.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] php5 upgrade instruction

2006-02-17 Thread A. Khattri
On Thu, 16 Feb 2006, Roy Wright wrote:

> >
>
> http://www.gentoo.org/proj/en/php/php-upgrading.xml
>


And what if you dont want to upgrade?!


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: So O.K.

2006-02-04 Thread A. Khattri
On Sat, 4 Feb 2006, Harry Putnam wrote:

> But a sysadmin of 20 yrs will not have too much trouble getting lined
> out again.

Must be one of thise old school Slowaris or HP-SUX admins...


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ... Can't connect to local MySQL server ...

2006-02-04 Thread A. Khattri
On Sun, 5 Feb 2006, Fredrik Lundgren wrote:

> When I try to visit with
> $ mysql -u root -p
> password. ***
>
> I get
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket
> 'var/run/mysqld.sock' (2)
>
> Evidently my configuration is wrong
>
> Has anyone a tip or two ?

Maybe start mysqld?

/etc/init.d/mysql start

> and how do I get mysql to start at boot?

Maybe use rc-update?

rc-update add mysql default


(Yes, its in the handbook)

-- 

-- 
gentoo-user@gentoo.org mailing list




Re: [gentoo-user] OT - SSL certificate authorities

2005-11-21 Thread A. Khattri
On Sat, 19 Nov 2005, kashani wrote:

> A. Khattri wrote:
> > GeoTrust claim to have their root cert in 99% of the browsers out there...
>
> Claims and actually works are two different things.
>
>   For the record IE 5 on the Mac is your big problem child.

IE 5 on Mac is a strange beast in many many ways (wearing my web developer
hat now ;-)


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] DNS lookup fails on a server; no changes since it worked

2005-11-21 Thread A. Khattri
On Sun, 20 Nov 2005, Micah R Ledbetter wrote:

> I have a server out on the net, and it's been up for a week or two.
> I've been on and off it all week long, but as of last night, DNS
> didn't seem to work for it. Network connectivity worked, because not
> only could I ssh *in*, but I could also contact the outside network
> as long as I used something in the hosts file or an IP address.
> Adding more (known good) DNS servers to /etc/resolv.conf doesn't seem
> to help. DNS was working recently, and I haven't changed anything
> since then. A reboot didn't help (I would have just stopped &&
> started networking... but, well, all I have is ssh, so...).
>
> One very weird thing is that it can apparently send mail to outside
> network addresses. It could send to my gmail account fine last night,
> though it seemed to take a while (20 minutes or so, when normally
> it's instantaneous). I don't have gmail or google in my /etc/hosts.
>
> I've seen elsewhere to look at the output of iptables, but it has
> never been installed.
> The contents of /etc/nsswitch.conf are at http://vlack.com/vlack/lol/
> nsswitch.conf. I'm getting nowhere, and I have no idea why.

What is /etc/resolv.conf?

Are you running a local name server or uses someone else's?

If you are using someone else's can you ping them?

If you can ping them, install bind-tools and see if you can run direct
queries against them with dig or host, something like:

dig @xxx.xxx.xxx.xxx -t mx gentoo.org

where xxx.xxx.xxx.xxx is the IP of the DNS server you are checking.

Lots of troubleshooting options here.



-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [Iptables related] How to make one machine only talk on loc lan

2005-11-19 Thread A. Khattri
On Sat, 12 Nov 2005, Harry Putnam wrote:

> Machines 3-5 are heavy hitters for graphics work and are heavily
> loaded with such things as Photoshop, vegas, canopus Edius, Adobe
> Illustrator and the like.
>
> I don't want to have to worry about spyware,adware,virus prevention
> firewall stuff competing for resources with the graphics tools.
> Instead I'd like to prevent those three from contacting the internet.
>
> I want to isolate mch3-5 to only the local network.

Any simple off-the-shelf NAT router will do that.

But preventing updates (espec. if they're Windoze boxes) seems like a bad
idea to me.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Creating RAID devices - udev question

2005-11-19 Thread A. Khattri
On Sun, 20 Nov 2005, Brian Parish wrote:

> I have now implemented a smooth work-around by:
>
> 1. Setting the RAID in fstab to noauto and no checking
> 2. Creating a script in /etc/init.d which assembles and mounts the RAID set
> 3. Adding this script to the default group using rc-update

Yes, this seems like an unnecessary kludge to me.

I have several servers all using software RAID, udev and 2.6 kernels (all
are SCSI, one is SATA) without any problems.



-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - SSL certificate authorities

2005-11-19 Thread A. Khattri
On Wed, 16 Nov 2005, kashani wrote:

>   We've got a number of customers that use Geotrust which is
> significantly cheaper than Verisign/Thwate. Someone also uses Starfield
> which is dirt cheap.
>
>   There is a technical issue when using certs no one has ever heard of
> before. Many times their cert company's root certs or whatever are not
> in the user's browser.

GeoTrust claim to have their root cert in 99% of the browsers out there...



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Is Gentoo still on the right path?

2005-11-19 Thread A. Khattri
On Wed, 16 Nov 2005, Mark Knecht wrote:

> I will admit that I have a big concern about an upcoming MySQL update
> that is probably going to break my whole TV network here. Due to my
> fear I haven't upgraded MySQL and will likely come back ranting myself
> sometime in December when I'm probably forced to do it. We'll see...

I have upgraded MySQL on several servers (two in production) without any
problems whatsoever...


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - SSL certificate authorities

2005-11-15 Thread A. Khattri
On Tue, 15 Nov 2005, Antoine wrote:

> We are going to set up ssl on a webserver at work and I guess that means
> we need a certificate... does anyone have any useful alternatives to
> Verisign? Are they really worth the name?
> We are not going to be doing any monetary transactions but our clients
> are very security conscious (who isn't!) and I have no experience in
> these matters. I am certain the boss will want verisign, as he buys a
> lot of stuff just for the name but if I can offer him a comparable
> alternative at a fraction of the cost he may go for it.

rapidssl.com

Cheap and fast.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Abysmally slow 2D performance using proprietary Nvidia driver on dual Xeon system (EMT64)

2005-11-10 Thread A. Khattri
On Thu, 10 Nov 2005, Greg Bur wrote:

> It definitely is not an issue with swapping to disk. For some reason X is
> causing a high CPU load and it acts like its only using one processor. If I
> switch back to the open source driver the load seems to be balanced across
> all "4" processors. To make things even more interesting if I open glxgears
> while using the Nvidia driver the problem can be temporarily alleviated. The
> CPU load drops back to normal and the system is much more responsive. The
> open source driver is working fine for now but I sure would like to know
> what it is that I'm doing to cause the Nvidia driver to perform so poorly.

Maybe the Nvidia drivers dont play well with threading and/or SMP?


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Developmnet Environment for PHP and PERL

2005-11-10 Thread A. Khattri
On Wed, 9 Nov 2005, Renat Golubchyk wrote:

> "syntax on" within vim or in your .vimrc

That would be ":syntax on" (note leading colon) from inside vim.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Trying to update to 2.6.14 but I cant get x11-drm to build against it

2005-11-10 Thread A. Khattri
On Thu, 10 Nov 2005, William Kenworthy wrote:

> I fixed it, had to go ~x86
>
> Seems like gentoo is getting more debianish as time goes on -
> package.keywords is getting quite ridiculous in order to have a usable
> system.

I have useable machines without having and package.keywords file...


>
> BillK
>
>
>
>
> On Thu, 2005-11-10 at 09:16 +, Anthony Roy wrote:
> > I've been having the same problem, but have ignored it for now, since
> > I am setting up the box primarily as a server. So sorry - no solution!
> >
> > On 07/11/05, W.Kenworthy <[EMAIL PROTECTED]> wrote:
> > > Trying to update to 2.6.14 but I cant get x11-drm to build against it -
> > > fails with an error on I2C_ALGO_ATI.  I have copied the working 2.6.13
> > > config over without luck - this symbol doesnt show in it.
> >
> >
> > --
> > Ant...
> >
>

-- 
File Attach [FidoNet]

 1. n. A file sent along with a mail
   message from one FidoNet to another.  2. vt. Sending someone a file by
   using the File Attach option in a FidoNet mailer.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Developmnet Environment for PHP and PERL

2005-11-08 Thread A. Khattri
On Tue, 8 Nov 2005, Michael Shaw wrote:

> What editor do people use for PHP and Perl development.  I'm looking for
> something with syntax highlighting and such, so that rules ut vi or gedit.

Not true - maybe your terminal doesn't do color or you have it switched
off?


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Abysmally slow 2D performance using proprietary Nvidia driver on dual Xeon system (EMT64)

2005-11-08 Thread A. Khattri
On Mon, 7 Nov 2005, Greg Bur wrote:

> Dual 3.0Ghz Xeon
> 2GB RAM
> 128MB GeForce 6600GT
> Audigy 2 soundcard
>
> free -t -o -m output:
>
> [EMAIL PROTECTED] ~ $ free -t -o -m
> total used free shared buffers cached
> Mem: 2009 1505 503 0 440 584
> Swap: 1953 2 1950
> Total: 3962 1508 2454

According to the output of free it looks like despite having 2Gb of RAM,
your machine is swapping to disk. That will slow down your machine too.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Apache configuration files

2005-11-08 Thread A. Khattri
On Tue, 8 Nov 2005, James Colby wrote:

> I recently upgraded my apache2 to use the new layout. I was wondering about
> which configuration files that I now have to concern myself with. If I
> understand correctly the only configuration file is now
> /etc/apache2/httpd.conf, is this correct? Would it be safe to delete the
> configuration files located in the /etc/apache2/conf directory? Any
> assistance you can give me is greatly appreciated.

http://www.gentoo.org/doc/en/apache-upgrading.xml

-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread A. Khattri
On Mon, 7 Nov 2005, Qian Qiao wrote:

> 3. Schedule maintenance slots.

That's the best way to manage updates.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] LTSP vs. Diskless Nodes

2005-11-07 Thread A. Khattri
On Tue, 1 Nov 2005, Bob Sanders wrote:

> Why not 4P with dual cores?  While they work, the need is  i/o and memory 
> bandwidth.
> 4 sockets does that while 2 sockets and 2 dual-cores cores is only half the 
> bandwidth.

Its very expensive, but you can now go up to 16 Opeteron cores in a single
machine. Meanwhile, AMD are working on quad-core processors ;-)


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Full path in apache2 access_log?

2005-11-07 Thread A. Khattri
On Fri, 4 Nov 2005, Grant wrote:

> The shopping cart software does only look at the URL, but I have it
> determining what to display partially based on the domain in that URL.
>  apache2 doesn't do anything based on the domain.

If you are using name virtual-hosting, Apache can serve
different sites based on the domain name, e.g.


# a.b.c.d is your IP
NameVirtualHost a.b.c.d







When using name virtual hosting, Apache looks at the Host: header in the
HTTP request and matches that to VirtualHost blocks.

> The shopping cart
> software is open-source Interchange, but the stuff I'm talking about
> here is custom-programmed in ITL (Interchange Tagging Language) for
> non-standard operation.
>
> http://icdevgroup.org
>
> Interchange is awesome and I highly recommend it, but I have to
> mention its steep learning curve.

Ive played with many ecommerce packages (OSC, intershop, home-grown
stuff in Perl, PHP and ASP). Recently built a site using Mambo (err...
that should be called Joomla now ;-) and a plugin callead mambo-phpshop.
The plugin has a complete backend already built so you just customize a
few pages...

Interchange sounds more like a framework that needs more work to build a
complete store, right?


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread A. Khattri
On Mon, 7 Nov 2005, John Jolet wrote:

> At the risk of of adding to the flames here, perhaps an example is in
> order I once worked as a sysadmin for a guy who firmly believed in
> security.  To prevent any security holes from lingering, he did an apt-get
> update out of cron every friday nighton production servers (we were
> running debian).  The instance of us having to spend monday fixing what broke
> friday was about 10%.  Unacceptable on a server.  I don't even do that on my
> test systems.

I can understand the paranoia of having your servers hacked but there is
usually a middle ground that works reasonably well. I run a script nightly
via cron but all it does is do a portage sync and then *prebuild* binary
packages for any important updates before sending an email in them
morning. I have to apply the updates manually but this gives you a chance
to test and/or rollback if need be. The only downside is that manual
intervention is required - can't have everything I suppose.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Abysmally slow 2D performance using proprietary Nvidia driver on dual Xeon system (EMT64)

2005-11-07 Thread A. Khattri
On Mon, 7 Nov 2005, Greg Bur wrote:

> My apologies for not making this more clear. The system load spike begins
> with the click and it hovers at or near 100% until the new task (opening a
> program, displaying a menu, etc) has completed. Even moving a window causes
> this to happen and the load only jumps on one processor, the other is idle
> or nearly so. When the nvidia driver is working correctly (assuming the
> driver is to blame) the load seems to be balanced evenly across both
> processors.

What are the specs of the machine? How much RAM when running X? ("free -t
-o -m" in an xterm will tell you). How much free disk space? Dual
processor machine? If so, SMP is enabled in your kernel? Is X using
software rendering?

Many variables here.

-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Full path in apache2 access_log?

2005-11-04 Thread A. Khattri
On Thu, 3 Nov 2005, Grant wrote:

> Yeah, I wasn't very clear about that.  The problem is I can't use
> VirtualHost definitions because I don't think apache knows which
> domain is actually being served.  I don't use any apache virtual host
> stuff.  Domain identification is handled by my shopping cart software.

But presumably the shopping cart software merely looks at the URL you are
coming from right? (What software is it? Does it run locally or is it on a
remote server?).


-- 
Aj.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] changing Apache installation

2005-11-04 Thread A. Khattri
On Thu, 3 Nov 2005, michael higgins wrote:

> Hello, all.
>
> I've tried to install Template Toolkit, Apache2::Template under Apache2, 
> mod_perl2 and am having, no suprise, issues. Though this may be possible, I'm 
> not up to it.
>
> So, rather than try to make this work, I just want to unmerge cleanly all 
> apache/mod_perl/TT stuff on my machine, including leftover configs. And then 
> re-install apache 1.x, or whatever.
>
> Any pointers to make this go smoothly? I'm thinking something like 
> CONFIG_PROTECT_MASK="-*" emerge -Cv apache modperl or something similar... is 
> this possible, or do I have to hunt & peck for the old configs, particularly 
> if I've had an old apache 1.x install on here before and didn't try to clean 
> the configs?

"etcat files apache" will tell what files "apache" installed - you could
use this to make a list of where to look for manualing removing config and
doc files.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Bandwidth monitor on per service/program basis

2005-11-04 Thread A. Khattri
On Fri, 4 Nov 2005, Stuart Howard wrote:

> I am looking to find a tool that will allow me to monitor which
> applications or services are utilising my network and hence bandwidth.
> Now I have found loads of useful tools that can offer me representations
> of the interface but little that breaks it down on a time basis and per
> program basis.
> If anyone has a suggestion of a ready built application it will be welcome,
> prefer it to be console based for ssh [with a nice gui at home, if I am being
> greedy ].

Most network tools know about ports and protocols so "per program basis"
may not be possible. However, you can monitor protocols using something
like iptraf or ntop (web-based). A quick look in
/usr/portage/net-analyzer/ will give you an idea of what's available.



-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Full path in apache2 access_log?

2005-11-03 Thread A. Khattri
On Wed, 2 Nov 2005, Grant wrote:

> Is there any way to get apache2 to include a full path in its
> access_log?  That would be something like this:
>
> domain.com/page.html
>
> instead of this:
>
> /page.html
>
> If I can get a full path in the log, I can have webalizer report on
> traffic per domain.  The conventional method of using the vhost log
> format for something like this won't work for me because it relies on
> defining different ServerName directives via VirtualHost definitions
> but I don't think apache knows which domain is actually being served.
> I don't use any apache virtual host stuff.  Domain identification is
> handled by my shopping cart software.

Maybe I dont understand what you mean: but since you are using
VirtualHost definitions, then perhaps you could use separate logs for
each site?

e.g.


ServerName www.site1.com
ErrorLog "/var/log/apache/site1_error.log"
AccessLog "/var/log/apache/site2_access.log"



ServerName www.site2.com
ErrorLog "/var/log/apache/site1_error.log"
AccessLog "/var/log/apache/site2_access.log"


I just avoid the whole logsplit issue by doing this on production servers.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: iptables on gentoo

2005-11-02 Thread A. Khattri
On Mon, 31 Oct 2005, Joshua Schmidlkofer wrote:

> James,
>
> Why are you using IPtables directly? It's good for an exercise, but
> roll-your-own firewall is not really as cool as it seems. Have you looked at
> Shorewall [net-firewall/shorewall].

Its useful to know how iptables works when things go wrong...

>
> http://www.shorewall.net
>
> thanks,
> joshua
>
>
> On 10/28/05, James <[EMAIL PROTECTED]> wrote:
> >
> > A. Khattri  bway.net <http://bway.net>> writes:
> >
> >
> > > > /etc/init.d/firewall is the default file where where you put your
> > rules you
> > > > have written or grabbed elsewhere and modified to meet your specific
> > needs.
> >
> > > Not sure where this script came from - it doesn't come with iptables.
> >
> > You are right, as it seems a very common name used for the rules scripts.
> > Maybe it's a ipchain vestige. I'll just ignore this...
> >
> >
> > > Not much to it. Make your rules and use "/etc/init.d/iptables save" to
> > > save 'em. When you restart iptables it will automatically load them from
> > > /var/lib/iptables/rules-save if it finds that file.
> >
> > OK
> >
> > > If you need any help, post on this list.
> >
> > OK thanks for the clarifications...
> >
> > James
> >
> >
> >
> >
> >
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
>

-- 
hello sailor! interj.

 Occasional West Coast equivalent
   of hello world; seems to have originated at SAIL, later
   associated with the game Zork (which also included "hello,
   aviator" and "hello, implementor").  Originally from the
   traditional hooker's greeting to a swabbie fresh off the boat, of
   course.  The standard response is "Nothing happens here."; of all
   the Zork/Dungeon games, only in Infocom's Zork 3 is "Hello, Sailor"
   actually useful (excluding the unique situation where _knowing_
   this fact is important in Dungeon...).

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Apache 1.3.34 ebuild

2005-11-02 Thread A. Khattri
On Mon, 31 Oct 2005, David Gama Rodrí­guez wrote:

> I need to update Apache 1.3.33 to Apache 1.3.34 but I cant find an
> ebuild for that version,
>
> Why 1.3.34 ebuild is not in portage? Is unstable??

Have you checked in bugs.gentoo.org - maybe someone submitted an ebuild?

> Is there a way to install apache 1.3.34 without and ebuild and without
> "crash" portage?

You can install anything you want without portage - you would have to
download the tarball from apache.org and install it "by hand"

> Or I have to make my own ebuild?

You could try that too if you want.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] RAID 10 help

2005-10-29 Thread A. Khattri
On Sun, 30 Oct 2005, Qiangning Hong wrote:

> As grub cannot be setup on RAID0 (neither RAID 1+0 nor RAID 0+1), I have
> to create a four-partion RAID1 with /dev/sd[abcd]1 and mount it as /boot.
>
> Then I want both my / and /var are RAID10.  I use the following schema:
>
> /dev/sda3/dev/sdb3/dev/sdc3/dev/sdd3
> ||||
> +--(RAID1)---++---(RAID1)--+
>   |  |
>/dev/md3   /dev/md4
>   |  |
>   +-(RAID0)--+
>|
> /dev/md5
>
> and mount /dev/md5 as /.  The same as /dev/sd[abcd]4 for a /dev/md8 as /var.
>
> After mkraid, I followed the Gentoo Handbook and installed system, build
> all RAID and driver mapping options into kernel.  But after reboot,
> kernel panic!  The error message says it can not mount / on /dev/md5
> because it doesn't exist.

Is RAID support in your kernel?

Did you use mdadm to make the arrays?


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to get debug information if system crashs randomly?

2005-10-29 Thread A. Khattri
On Sun, 30 Oct 2005, Qiangning Hong wrote:

> I know there is memtest86 to test memory.  What tool can check health of
> hard disks?

Maybe you can check with smartmontools...

-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] The Root Block Device is unspecified or not detected - PCMCIA card CD Boot on Sony Vaio

2005-10-29 Thread A. Khattri
On Sun, 30 Oct 2005, Richard Watson wrote:

> Hi - I have an old Sony Vaio I thought to run Gentoo on with X. The CD
> drive is attached to a PCMCIA card. When the LiveCD boots it seems to go
> OK up until mounting root at which point I get the error "The Root Block
> Device is unspecified or not detected " and then I'm offerred to either
> shell or specify a /dev. I've tried gentoo-nofb dopcmcia ide=nodma but
> no luck. I'm a bit stuck at this point does anyone have any suggestions
> how I could make the install CD boot? Thanks, Richard

What sort of PCMCIA card? SCSI?


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] orphaned kernel sources?

2005-10-29 Thread A. Khattri
On Sat, 29 Oct 2005, Jarry wrote:

> So, with your help I finally checked all software installed on my
> gentoo-server (thanks to everyone, who replied). There were a few
> gentoo-sources (I think 5 or 6 different versions), so I used
> "emerge --prune gentoo-sources" to leave only the last one.
>
> Then I checked /usr/src, and I see there are still 2 subdirectories:
> linux-2.6.12-gentoo-r6   (~50MB)
> linux-2.6.13-gentoo-r5   (~300MB)

Bear in mind, that if you've built kernels inside these folders then there
are object files, libraries and other debris from the build process that
portage knows nothing about - so unmerging doesn't remove the folder
completely.

The thing to do is to cd into each folder and do "make clean" to remove
files left over from the build process. Then run the emerge command to
remove the package.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Wearab le Gentoo Computer?

2005-10-28 Thread A. Khattri
On Fri, 28 Oct 2005, Matt Randolph wrote:

> If you must have a biometric scanner for security, there are much
> cheaper ways to do it. I just found a 512MB Sandisk Cruzer Profile for
> $55. It is a thumbdrive and a fingerprint scanner combined. Add a
> Knoppix CD and you have the same functionality as this device. Except
> the BlackDog only has a 400MHz PPC CPU and 64MB RAM. This is probably
> slower than the host computer will be and it probably has less RAM too.
> Also, everything like networking, video, and disk activity must be
> squeezed through the USB bus when you use this device. With Knoppix, you
> use the PCI and AGP busses of the host computer for these things.
> Knoppix should be much faster than this device for most purposes.

Not trying to knock what you're saying but in terms of requirements, both
a Knoppix CD and a Blackdog box require a host computer of some kind.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Wearab le Gentoo Computer?

2005-10-28 Thread A. Khattri
On Thu, 27 Oct 2005, Matt Randolph wrote:

> My gosh! They've invented the world's most expensive Knoppix CD.

I forgot, the Knoppix CD is writable and comes with a fingerprint
reader...


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to get debug information if system crashs randomly?

2005-10-28 Thread A. Khattri
On Fri, 28 Oct 2005, Qiangning Hong wrote:

> My gentoo system on an IBM Thinkpad R52 crashs randomly (usually when
> CPU usage is high).  When it crashs, the whole system freezes -- mouse
> point doesn't move, keyboard doesn't response, I even can't connect it
> via ssh.  I had to hard reset the machine, therefore no error message is
>  left in the log files.  How can I find the reason?

Could be hardware problem. You can boot a LiveCD and run the memtest to
check your RAM. I would also check your CPU is cooled properly when under
load (check fans are working, etc).


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Wearab le Gentoo Computer?

2005-10-27 Thread A. Khattri
On Thu, 27 Oct 2005, Mark Shields wrote:

> You want to be a gargoyle (
> http://tecfa.unige.ch/perso/staf/nova/blog/2003/09/23/gargoyle-and-self-gargoyle/
> )?
>
> Heh. I'd start with a mac mini.

Or get Gentoo running on this:
http://www.projectblackdog.com/


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage and local mirrors

2005-10-27 Thread A. Khattri
On Thu, 27 Oct 2005, John Jolet wrote:

> Yes, I read that man page quite a bit.  I have written a script that uses from
> the command line rsync --rsh="ssh -l username" server::module/files
> successfully.  However, changing the SYNC line in make.conf to
> rsync://[EMAIL PROTECTED] give me a connection refused.

Is rsyncd running at the other end?

Is there a firewall on the client machine or the local respository
machine?

On the machine running rsyncd, have you edited the config file to allow
the client machines to access the local respository?

Many many possibilities to check.


-- 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] iptables on gentoo

2005-10-27 Thread A. Khattri
On Thu, 27 Oct 2005, James wrote:

> Question 1:
> I'm planning on using nmap and nessus  to test from the outside(internet)
> inward). On the inside I plan on using snort, an monitoring the various
> log files. Any further suggestions on testing?

Plain ole telnet works for testing protocols too ;-)

> /etc/init.d/firewall  is the default file where where you put your rules you
> have written or grabbed elsewhere and modified to meet your specific needs.

Not sure where this script came from - it doesn't come with iptables.

> /var/lib/iptables/rules-save is the file that will save out from kernel memory
> the actual rulesets being used. This file is also reloaded as necessary. Avoid
> direct modifications to this.
>
> Is this explanation correct? Did I miss something or get something confused.
> I could not really find any documentation on this, so much was inference
> from various linux sites, some very old, and a few gentoo specific sites.

Not much to it. Make your rules and use "/etc/init.d/iptables save" to
save 'em. When you restart iptables it will automatically load them from
/var/lib/iptables/rules-save if it finds that file.

> Assuming this is correct, I have seen many command line options and
> differing recommendations on how to modify the rules and when to save
> them out and to what file. Any details one can provide, that are gentoo
> specific, are most welcome.

None of these are Gentoo specific (there aren't any Gentoo specifics in
iptables AFAIK).

Some notes:

I wrote all the rules out "by hand" and tested them. Any tweaks I did
directly on the command line. Bear in mind that the order of the rules is
pretty important (I use the --line-numbers option so you know what line
numbers to insert/delete after when changing the ordering of rules, i.e.
iptables -L -n --line-numbers).

Obviously you'll be doing this from the console directly.

I broke rules down into various groups that I separated out into chains.

So the first chain (called SCRUB) gets rid of obvious bogus packets (like
packets from 192.168.x.x etc etc). Another chain is called BANNED (for
obvious reasons). And so on.

When working with chains its easier to make the chain and rules first and
then "activate" them by adding a rule to the INPUT chain to send
all packets through it, e.g.

iptables -A INPUT -j SCRUB

Dont forget to set default policies for your chains.

Often its better to start with a completely locked down machine and add
rules for those ports you want to open.

Make use of of the state module if you can (it understands FTP, IRC and a
few other protocols) which makes it trivial to write state tracking rules.

If you iptables extensions are built as modules (not recommended - if one
fails to load you might compromise security) then make sure they are
loaded - some rules do NOT load the corresponding modules automatically so
beware.

If you need any help, post on this list.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] MySQL 4.1 upgrade questions

2005-10-27 Thread A. Khattri
On Thu, 27 Oct 2005, Francesco R. wrote:

> For a security hardened database you should drop the test database and
> all users with "%" access. Also you can play with "bind-address" and
> "skip-networking" in the my.cnf

I think bind-address is 127.0.0.1 by default anyway.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] laptop

2005-10-26 Thread A. Khattri
On Wed, 26 Oct 2005 [EMAIL PROTECTED] wrote:

> As a gross first pass, my impression is that ThinkPads and Dells seem to
> do well with Linux.
>
> Do your collective experiences confirm or deny this?

Yes, Thinkpads run well with Linux (there is a web site and mailing list
dedicated to Linux on TP).

However, IBM (like Sony) are a bit overpriced IMHO.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: laptop

2005-10-26 Thread A. Khattri
On Wed, 26 Oct 2005, James wrote:

> Warning, I'm not sure why, but some of these aforementioned diagnostic
> tools are not part of the standard gentoo install CD.

I was suprised to find lspci on the latest LiveCDs so I guess this is
improving all the time.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] laptop

2005-10-26 Thread A. Khattri
On Wed, 26 Oct 2005, Neil Bothwick wrote:

> Works for me, but you'll need a USB wireless adaptor, there are no
> drivers for the built in wireless.

Im guessing this is with Airport Extreme rather than plain ole Airport?
(I have a friend running Debian on his iBook quitw happily).


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] laptop

2005-10-26 Thread A. Khattri
On Wed, 26 Oct 2005, John Jolet wrote:

> I need to have my company order me a new laptop, but obviously, i'll be
> putting gentoo on it.  Does anyone have a recommendation for a very small 'n'
> light laptop known to be pretty much a slam dunk to get gentoo on (with sound
> and wireless, etc)?
>
> I'm currently using a dell inspiron 1100 and gentoo slid on very easily. Oh,
> and they want it a grand or under (us dollars).  Thanks.
>


Seems to me, "very small 'n' light" is mutually exclusive with "grand or
under".

Unless you're interested in running GentooPPC on an iBook?


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] partition sizes and home directories

2005-10-26 Thread A. Khattri
On Wed, 26 Oct 2005, Iain Buchanan wrote:

> I couldn't see a /boot in your `df -h` list, probably because it wasn't
> mounted.  I've never needed a /boot larger than 100Mb, and I'm
> constantly recompiling kernels, with a few old versions lying around
> in /boot just in case.

Id make /boot 50Mb.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] apache log analyzer

2005-10-24 Thread A. Khattri
On Mon, 24 Oct 2005, Catalin Trifu wrote:

> I'm pretty new to log analyzers. Besides webalizer which got a
> little bit old (still usefull nonetheless) i have no other experience.
> I've googled and found awstats and analog.
> If you would care to comment on this issue I would be grateful for
> any hints.

Im using analog to produce a datafile that is then run through
reportmagic. I wrote several scripts too manage all of the different
processes. It is currently in use here for weekly reports for 200 or so
web sites.


-- 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Anyone running a RAQ4?

2005-10-24 Thread A. Khattri

Subject says it all - anyone succeeded in installing Gentoo on a Cobalt
RAQ4 (x86) system? Is netbooting the only way to go or did you manage to
hook up a CDROM and boot a LiveCD?


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Should emerge --sync be so slow?

2005-10-19 Thread A. Khattri
On Wed, 19 Oct 2005, Richard Fish wrote:

> Well, you could try this:
>
> http://gentoo-wiki.com/TIP_speed_up_portage_with_cdb
>
> Several people here (including me) are using this without any bad effects.

I noticed this broke after the recent Python upgrade - I had to remove the
module to run emerge.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SMP/HT & top

2005-10-17 Thread A. Khattri
On Sun, 16 Oct 2005, Mark Knecht wrote:

>Was I mistaken in thinking that a true SMP system and also a hyper
> threading system would show two processors in top? I am trying out a
> new HT kernel built this morning. I've enabled both SMP support and
> hyper threading support but top shows only a single processor.

What kind of CPU is it? And what kind of FSB? Not all P4's have
hyperthreading (as I discovered recently).


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SMP/HT & top

2005-10-17 Thread A. Khattri
On Sun, 16 Oct 2005, Chris Boot wrote:

> Yes. You may need to press '1' once you have started top to show each
> processor individually. See the top manpage to see how you can set this
> as the default.

You can also press ? in top (like in many command-line apps) to show a
quick help page. There should be a keypress to write a .toprc file :-)


-- 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Best Tomcat performance?

2005-10-17 Thread A. Khattri

Which combination of Tomcat and JVM gives the best performance?
(or is this question not relevant?)


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Is There An Ebuild For aee?

2005-10-14 Thread A. Khattri
On Fri, 14 Oct 2005, Drew Tomlinson wrote:

> I also recall reading about non-official ebuilds available at somewhere
> like bugs.gentoo.org.

Is there something preventing you from doing a search in Bugzilla?


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Portage downloads fail when ~ is in path

2005-10-10 Thread A. Khattri
On Mon, 10 Oct 2005, libertine wrote:

> can you give me the mirrorsit where to download the latest glibc and
xcompmgr

You could try using mirrorselect to find your nearest mirrors.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gentoo in a tight place

2005-10-10 Thread A. Khattri
On Mon, 10 Oct 2005, maxim wexler wrote:

> Hello everybody,
>
> That min-install I was talking about failed due to
> lack of disk space. I'm trying to install on a 3.2G
> drive. Partitions are :
> / of 1.47G  ext2
> /home 1.1G ext2
> 500M swap
> 100M /boot reiserfs
>
> I was going to use this disk to help diagnose/repair
> the 120G which is down. I guess I don't really need a
> /home dir. Is there someway to free up some space on
> /home and make it available to /? I'd hate to have to
> wipe the disk and start over; it took about two  days
> straight to download all the files at 2.8K over the
> phone line!

Maybe you can move /usr/portage and /tmp or /var/tmp to /home, set up some
sym links and free up some space??


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Making A News Server

2005-09-29 Thread A. Khattri
On Wed, 28 Sep 2005, Michael Sullivan wrote:

> My ISP's news server (news.cableone.net) does not allow posting.  I
> wanted to set up my own news server so that I could both get nntp/news
> data and post to newsgroups.  I found a howto at www.tldp.org and have
> been following it.  The howto said to open leafnode/config (I copied
> mine frim /etc/leafnode/config.example to /etc/leafnode/config) and set
> the server variable to be equal to my ISP's news server.  Herein lies my
> problem.  The comment in the file above the server variable assignment
> is:
>
> ## This is the NNTP server leafnode fetches its news from.
> ## You need read and post access to it. Mandatory.
>
>
> I don't have post access to news.cableone.net - That's why I'm doing
> this.  Is there a way around this, or can anyone make suggestions for
> setting up a news server that can both read and post to Usenet groups?

Setting up a new server is a non-trivial task.

If you just want to read and post messages you might be better off getting
an account from Giganews.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] VFS root device and kernek panic

2005-09-29 Thread A. Khattri
On Thu, 29 Sep 2005, jangar wrote:

> hi, i have problem with Gentoo Linux 2005.1 AMD64 installation.
> CPU: Athlon 64 2800+
> HD SATA Maxtor 80GB
> Ati Radeon 9200
> etc...
>
> after make partition, LVM2 and compiling kernel and config grub my kernel
> give me follow message:
> VFS Cannot Open root device "sda3" or unknow-block(0,0)

Is SCSI and XFS support builtin to your kernel?


> ...
> Kernel panic ...
>
> i have set grub to follow synax
> ###
> Title Gentoo/Linux
> root (hd0,0)
> kernel /kernel-2.6.12-gentoo-r10 root=/dev/sda3
> ###
>
> and my /etc/fstab is configured as follow
> ###
> /dev/sda1 /boot ext2 defaults,noatime 1 2
> /dev/sda2 none swap sw 0 0
> /dev/sda3 / xfs noatime 0 1
> /dev/vg/usr /usr xfs noatime 0 0
> /dev/vg/home /home xfs noatime 0 0
> /dev/vg/opt /opt xfs noatime 0 0
> /dev/vg/var /var xfs noatime 0 0
> /dev/vg/tmp /tmp xfs noatime 0 0
> none /proc proc defaults 0 0
> none /dev/shm tmpfs nodev,nosuid,noexec 0 0
> /dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
> ###
>
> what is appened?
>
> thanks
>

-- 
FAQ list /F-A-Q list/ or /fak list/ n.

 [common;
   Usenet] Syn FAQ, sense 2.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Document management solution [possibly a bit off-topic...]

2005-09-29 Thread A. Khattri
On Thu, 29 Sep 2005, Steve [Gentoo] wrote:

> Alfresco is what I'd have called a content management system - as
> opposed to a document management system.  I'm interested in managing
> archives of documents I have received from other people (in dead-tree
> format)...

If there was something that scanned the document, performed OCR on it,
checked the OCR output and then built an electronic repository for you I'd
recommend it. Until then, Alfresco is the closest thing Ive seen that is
open source. If you're willing to do your own scanning and OCR'ing then it
will do the rest.

BTW, I would call things like Mambo or Xaraya, content-management tools -
Alfresco is a slightly different kettle of fish.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] no ebuild what to do?

2005-09-29 Thread A. Khattri
On Thu, 29 Sep 2005, maxim wexler wrote:

> I'm sure this has been covered before but can't seem
> to google for it.
>
> I'd like to install dekagen but there are no ebuilds
> for it. I suppose I could just unpack it and follow
> the INSTALL doc but is that the appropriate gentoo
> way?

The "Gentoo Way" would be to switch over PORTAGE_OVERLAY (see
/etc/make.conf) and write an ebuild for it ;-)


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Document management solution [possibly a bit off-topic...]

2005-09-29 Thread A. Khattri
On Thu, 29 Sep 2005, Steve [Gentoo] wrote:

> I think I want a "document management solution" - though I'm not sure
> that everyone understands the same idea by the term.

This might be overkill:
http://www.alfresco.org/

Or maybe something like ScrollKeeper would suffice?


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Multi-services box

2005-09-29 Thread A. Khattri
On Thu, 29 Sep 2005, Mark wrote:

> Hi, I'm thinking of setting up a Gentoo server to host a few different
> services, primarily a small web site on Apache, an Exim mail server, a
> Halafax fax server and a Squid proxy server. I intend to put the machine in
> a DMZ to protect the internal network. At first glance, should these 4
> packages play well together on the same piece of hardware?

Why not?

I have one machine doing web, email, IMAP/POP3, DNS, FTP and MySQL.

My one caveat would be to make sure its not more load than the hardware
can handle.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Size of portage tree

2005-09-28 Thread A. Khattri
On Wed, 28 Sep 2005, Rumen Yotov wrote:

> Note: my portage directory is in /var not /usr

Why?


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: Web mail suggestions...

2005-09-27 Thread A. Khattri
On Tue, 27 Sep 2005, kashani wrote:

> Can you guess which webmail package I've been attempting to subjugate
> for the past couple of hours?

Ive seen a lot of admins struggle with Horde - and then move on to
SquirrelMail ;-)


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] broadcom BCM4309 chipset and 2005.1 install

2005-09-27 Thread A. Khattri
On Tue, 27 Sep 2005, W.Kenworthy wrote:

> I am just about to install gentoo on my wifes dell9200 with the broadcom
> BCM4309 chipset.  However, no wlan0 is created and the chipset is not
> detected.
>
> Does 2005.1 detect this chipset, or do any liveCD's work with it?

What does "lspci" say?


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Can't get iptables to work on AMD64, 2.6.12-gentoo-r10

2005-09-24 Thread A. Khattri
On Sat, 24 Sep 2005, Michael Kjorling wrote:

> My system is AMD64, Linux 2.6.12-gentoo-r10 (from gentoo-sources),
> iptables 1.3.2 and generally up-to-date. I can't seem to get iptables
> to work. Netfilter support is compiled into the kernel (compiling it
> as a module and loading that gave the same result), as evidenced by:
>
> $ zgrep -i iptables /proc/config.gz
> CONFIG_IP_NF_IPTABLES=y
> $
>
> but iptables refuses to run:
>
> # iptables -L -n
> FATAL: Module ip_tables not found.
> iptables v1.3.2: can't initialize iptables table `filter': Table does not 
> exist (do you need to insmod?)
> Perhaps iptables or your kernel needs to be upgraded.

If you run "dmesg | grep filter" do you see:

ip_tables: (C) 2000-2002 Netfilter core team

???

Can we assume you did "make modules_install" when building the current
kernel?

Did you run "emerge iptables" (Im assuming yes) ?

Do you have any IP tables modules too? ("grep IP_NF_
/usr/src/linx/.config" should tell you).


-- 

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] USB modem

2005-09-22 Thread A. Khattri
On Thu, 22 Sep 2005, Michael Kintzios wrote:

> Googling around once you set your eyes on a particular USB modem usually
> provides some useful clues.

Also reading /usr/src/linux/Documentation/usb/acm.txt might be useful.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] idea about small footprint gentoo

2005-09-22 Thread A. Khattri
On Thu, 22 Sep 2005, Sascha Lucas wrote:

> I realy know what will run on such a system. Think of a router, or a
> datacollector.

You might want to look at GNAP from the Embedded Gentoo project - it
sounds close to the minimal setup you are looking for.

http://www.gentoo.org/proj/en/base/embedded/gnap.xml

To get the tools: emerge gnap gnap-dev

Im interested in this and currently also working my way through O'Reilly's
"Building Embedded Linux Systems" book:

http://www.oreilly.com/catalog/belinuxsys/



-- 
Aj.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] smartctl: target a signle disk of a scsi raid array, not the raid array?

2005-09-22 Thread A. Khattri
On Thu, 22 Sep 2005, fire-eyes wrote:

> How do I use smartctl (smartmontools) on a single disk in a scsi raid
> array? I've done it before, I just forget how. /dev/sda is the entire
> array, not an individual "disk".

You have hardware RAID right? I think 3Ware is one of the RAID controllers
that smartctl can query "through" and access the disks directly - I dont
know what other brands it can work through this way. (Maybe ask on the
smartmontools mailing list?).

Some RAID controllers have Linux utilities available that allow you to
control the card or access the disks from the command-line - check with
your card manufacturer.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: gmail

2005-09-21 Thread A. Khattri
On Wed, 21 Sep 2005, Michael W. Holdeman wrote:

> I am sure I'll get flamed for this, but I am in need of a gmail account,
> anyone have one to give?

I can send you invite if you'd like?


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Newb question on handling of kernels and patches in Gentoo

2005-09-21 Thread A. Khattri
On Wed, 21 Sep 2005, Neil Bothwick wrote:

> On Wed, 21 Sep 2005 15:55:06 -0400 (EDT), A. Khattri wrote:
>
> > Since ebuilds have preinstall and postinstall functions, it would be
> > nice if there were preunmerge and postunmerge functions - then it would
> > be easy to re-write the kernel ebuilds to clean up after themselves.
>
> Like these?
>
>
> pkg_preinstThe commands in this function are run just prior to merging
>a package image into the file system.
>
> pkg_postinst   The commands in this function are run just following
>merging a package image into the file system.
>
> pkg_prerm  The commands in this function are run just prior to
>unmerging a package image from the file system.
>
> pkg_postrm The commands in this function are run just following
>unmerging a package image from the file system.
>
> From http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=1

The gentoo-sources ebuilds dont seem to override them (for one thing, it
could remove modules for the kernel you're unmerging).


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Newb question on handling of kernels and patches in Gentoo

2005-09-21 Thread A. Khattri
On Wed, 21 Sep 2005, Richard Fish wrote:

> I think you are correct, if I could ever remember to do it, or if it
> would annoy me enough to warrant writing a script for it. :-)

Since ebuilds have preinstall and postinstall functions, it would be nice
if there were preunmerge and postunmerge functions - then it would be easy
to re-write the kernel ebuilds to clean up after themselves.

(I haven't done any serious ebuild development so this feature may already
be there or impossible to implement).


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Newb question on handling of kernels and patches in Gentoo

2005-09-21 Thread A. Khattri
On Wed, 21 Sep 2005, Richard Fish wrote:

> The only "problem" with this is that when you unmerge old kernel
> sources, emerge will refuse to remove any patched, backup, or object
> files, so you have to go delete the remaining files manually.  But I
> think you end up having to do that in any case, so this isn't really a
> problem.

Doing a "make clean" in the kernel directory before unmerging should take
care of that, no?


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] lvm2 and RAID

2005-09-20 Thread A. Khattri
On Tue, 20 Sep 2005, John Jolet wrote:

> you'd have to define "just plain raid".  There is a performance
> penalty for software raid over hardware raid, but I've not been able
> to see any performance penalty for lvm over plain filesystem.  Note
> that my testing has been on light-to-moderately loaded systems, not
> heavily io-based.

Im talking about software RAID specifically. I would assume running lvm2
(a software process) over software RAID would have more overhead than just
software RAID alone.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] lvm2 and RAID

2005-09-20 Thread A. Khattri
On Thu, 15 Sep 2005, Neil Bothwick wrote:

> On Thu, 15 Sep 2005 12:25:14 -0700, Carl Flippin wrote:
>
> > The trick to getting it all to work together is doing the raid setup
> > first and then using the /dev/md* devices for the LVM2 setup.
>
> I did something similar here. By creating the RAID first, you only need
> to RAID one large partition.

Is there a performance hit with lvm on RAID vs. just plain RAID?

-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Bash + Awk + variable assignation.

2005-09-20 Thread A. Khattri
On Tue, 20 Sep 2005, Ow Mun Heng wrote:

> Remember my script that sends out HTML emails? Well, that's done, but
> it's in-efficient.
>
> The actual script that parses screen-scrapes. Initial script only went
> to get the "Last Price" now, I would like to add the "Day Range"
>
> last_price()
> {
> value="$(lynx -dump "$url$symbol" | grep 'Last price:' | \
> awk -F: 'NF > 1 && $(NF) != "N/A" { print $(NF) }' )"
> }
>
> day_range()
> {
> day_range="$(lynx -dump "$url$symbol" | grep 'Low \& High:' | \
> awk -F: 'NF > 1 && $(NF) != "N/A" { print $(NF) }' )"
> }
>
> The above is in-efficient because I need to call the script to get the
> page 2 times.

Err... what were you saying about perl being hard...?

(At some point, your shell script will become so convoluted that perl
or python will look easy ;-)


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Dependency determination

2005-09-20 Thread A. Khattri
On Mon, 19 Sep 2005, gentuxx wrote:

> One thing to note for anyone that might have the same question/problem
> in the future:
>
> The "--tree" option appears to only show the closest dependency.
> Which means that if there are several packages (as in my case) that
> depend on the one you don't want to install, you'll have to re-run
> emerge with the "--tree" option, and subsequently de-install the
> packages you don't want, until the package doesn't show up.

Most of us run the -D (i.e. --deep) option as well - in fact, I'd wager
"emerge -uDtav world" is pretty commonly used.


-- 

-- 
gentoo-user@gentoo.org mailing list



  1   2   3   4   5   >