Re: [gentoo-user] Xorg.. twm not starting and terrible performance with fluxbox

2005-11-12 Thread Mrugesh Karnik

Richard Fish wrote:

I think we have a failure to communicate here


Actually no...


The via_drv I am talking about is an _x.org_ driver, not a kernel
driver.  It has nothing to do with the kernel sources or rebuilding
the kernel.  It should exist at /usr/lib/modules/drivers/via_drv.o
(along with all other X11 drivers).


I know! My xorg just doesn't want to compile that file! So what I tried 
was to enable the VIA drivers in the kernel. It then compiled both 
drm.ko and via.ko and also via_drv.o, but the via_drv.o never left the 
/usr/src directory.



I don't understand why you don't have this file.  The only case this
should be missing is if you have USE=minimal.  Could you please post
the output of emerge -pv xorg-x11?


I surely didn't use the minimal flag. The first time I had enabled 
insecure-drivers and disabled font-server. Then after reading your first 
email, I tried to compile it with the same USE flags as yours.



Once you have this file, then you will need to update your xorg.conf
Device section and change the Driver option to via.


Already tried that, but of course, no via_drv.o!


The kernel has a DRM driver for via, that (if compiled as a module)
will be installed under /lib/modules as via.ko.  To load that, you
will modify /etc/autoload.d/kernel-2.6 to add the line via. 
However, again, this is only for DRI/DRM support, and will almost

certainly require using the X11 via driver, so let's worry about that
later!

-Richard



Well, the kernel modules have been loaded already...

I noticed one thing, the agpgart option in the kernel is always 
disabled... !x86_64 says the Help for that option. As it is, I have a 
PCI card...


I just can't understand why the file isn't compiled by xorg. Not to 
mention, FC4 uses vesa and works perfectly. I wonder what's going on 
with Gentoo :(


Thanks for your help so far,
Mrugesh
--
gentoo-user@gentoo.org mailing list



[gentoo-user] strange problem with fam USE-flag

2005-11-12 Thread Rumen Yotov
Hi,
Recently (last two days) when running:emerge -DNu world -ptv receive
the following:
...
#emerge -DNu world -ptv

These are the packages that I would merge, in reverse order:

Calculating world dependencies ...done!
[ebuild   R   ] mail-filter/maildrop-2.0.1  +berkdb -debug +fam* -gdbm
-ldap -mysql -postgres 0 kB
[ebuild   R   ] net-mail/courier-imap-4.0.1  +berkdb -debug +fam* -gdbm
+ipv6 +nls (-selinux) 0 kB

Total size of downloads: 0 kB
...
In first look nothing strange, only i don't have/use fam (use 'gamin'
instead).
More info,no fam in /etc/make.conf: grep fam /etc/make.conf  nothing.
So must be some issue with virtuals.
In maildrop-2.0.1.ebuild there is the following:
...
DEPEND=!mail-mta/courier
dev-libs/libpcre
gdbm? ( =sys-libs/gdbm-1.8.0 )
mysql?( net-libs/courier-authlib )
postgres? ( net-libs/courier-authlib )
ldap? ( net-libs/courier-authlib )
fam?  ( virtual/fam )
!fam? ( ~sys-devel/autoconf-2.59 )
!gdbm? (
berkdb? (
=sys-libs/db-3
~sys-devel/autoconf-2.59
)
)
=sys-devel/automake-1.9.3
...
Same for courier-imap:
...
RDEPEND=virtual/libc
=dev-libs/openssl-0.9.6
berkdb? ( sys-libs/db )
gdbm? ( =sys-libs/gdbm-1.8.0 )
fam? ( virtual/fam )
selinux? ( sec-policy/selinux-courier-imap )
DEPEND=${RDEPEND}
=sys-apps/sed-4
dev-lang/perl
sys-process/procps
=net-libs/courier-authlib-0.50
!mail-mta/courier
PROVIDE=virtual/imapd
...
Yes there's a virtual/fam in both.
Now looking in: gamin-0.1.7.ebuild
...RDEPEND=virtual/libc
=dev-libs/glib-2
!app-admin/fam

DEPEND=${RDEPEND}
dev-util/pkgconfig

PROVIDE=virtual/fam
...
Now don't need to post this as a question, thing are clear. Gamin also
provides virtual/fam although it's gamin not fam.
Just a confusion with fam USE-flag.
Post this for info only. Thanks.
Rumen


signature.asc
Description: This is a digitally signed message part


[gentoo-user] More 2.6.14 badness: iptables no longer logging

2005-11-12 Thread William Kenworthy
More 2.6.14 badness: just realised my gateway iptables rules under
2.6.14 no longer log events.  rebuilt iptables with no changes so Ive
gone back to 2.6.13.  Is anyone else seeing this?

Ive only tested 1 system so far.

BillK

-- 
William Kenworthy [EMAIL PROTECTED]
Home!
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Is a wiki what I'm after?

2005-11-12 Thread Jimmy Rosen
On Saturday 12 November 2005 17.11, Chris White wrote:
 On Saturday 12 November 2005 16:33, Andrew Lowe wrote:
  Hi all,
  The wife has finally put her foot down and said I have to clean
  up the mess that inhabits my office which occupies our second
  bedroom.

 I probably would tell you the same thing sadly ;P

  A wiki is one of the first things to come to mind. I'm
  contemplating setting a wiki up on my trusty little
  firewall/email/squid/dns server, scanning the clipping,
  creating an entry in the wiki, placing, say, the first para of
  the clipping in the wiki page, maybe via OCR software, and then
  attaching the scanned image to the page. This way I can search
  the wiki looking for stuff, the first paragraph of the article
  will probably tell me if its the page I'm after and if so, look
  at the scanned image for the full article.

 Yes, I'd recommend tikiwiki for that, as I know they have a file
 gallery, which pretty much does what you've suggested.  I also
 noticed that tikiwiki is generally really easy to setup.

  Does this sound like a suitable use for a wiki or am I wasting
  my time and there are more application specific packages out
  there that would suit my needs better? Anyone done anything like
  this before?
 
  Any thoughts greatly appreciated,
 
  Andrew

 My 2 Cents
 Chris White


I'm regularly scanning most dead-tree info that comes my way, and 
filing it away. I bought a cheap HP all in one gadget (d125xi ~200€) 
that has a document feeder on top which works really well up to ~40 
pages per batch. Its operation is easily scriptable and together with 
imagemagick you can do some nice post-processing.

However, I haven't found a good OCR program yet. That is the major 
hurdle. Searchability is the really important thing. The space saving 
and portability is nice enough though, for the moment.

I heard that Adobe has a windoze only software that can do this 
reasonably well, but I haven't researched it further.

Jimmy

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] More 2.6.14 badness: iptables no longer logging

2005-11-12 Thread Sascha Lucas

More 2.6.14 badness: just realised my gateway iptables rules under
2.6.14 no longer log events.  rebuilt iptables with no changes so Ive
gone back to 2.6.13.  Is anyone else seeing this?


sorry I can't see this on my desktop. -j LOG works as expected. Do you use 
ULOG?


BTW: I use net-firewall/iptables-1.3.4 (~x86). Not 1.3.2 from x86-keyword.

Sascha.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Is a wiki what I'm after?

2005-11-12 Thread Chris White
On Saturday 12 November 2005 18:17, Jimmy Rosen wrote:
 However, I haven't found a good OCR program yet. That is the major
 hurdle. Searchability is the really important thing. The space saving
 and portability is nice enough though, for the moment.

 I heard that Adobe has a windoze only software that can do this
 reasonably well, but I haven't researched it further.

Not sure about Linux OCR.  I know that you can get ScanSoft or Paper Port for 
windows.  Paper Port is what I hear most people recommend.

 Jimmy

Chris White


pgpxQaSERVr1T.pgp
Description: PGP signature


Re: [gentoo-user] how to upload files...?any tool?

2005-11-12 Thread Johám-Luís Miguéns Vila
On 00:22 Fri 11 Nov , El Nino wrote:
 Dear friends,
 
 i develop my own webpages  now want to upload them to a remote server. so
 im new to do this... so can any body to point me a tool to do this?

For ftp I use:

* net-ftp/weex 
 Available versions:  2.6.1.5
 Installed:   2.6.1.5-r1
 Homepage:http://weex.sourceforge.net/
 Description: Automates maintaining a web page or other FTP archive.
-- 
[sinatura]
A ouvir (mpd): Mikel Laboa - Baga, biga, higa
 GPG KeyID:0x9D2FD6C8 - http://tinyurl.com/79lrs
[\sinatura]


pgpfbA816FORR.pgp
Description: PGP signature


Re: [gentoo-user] What is recommended behavior for complete updating of an old system ?

2005-11-12 Thread abhay
On Saturday 12 Nov 2005 8:52 am, Bob Sanders wrote:
   emerge sync once per week and let it run over the weekend doing updates.

   About once per year -
   - emerge sync
   - ufed and check out the USE flags.  Some changes occur and 
 they need a
   bit of cleaning.
   - emerge -eav system  (no need to d world.)
   - emerge -uDNav world
   - python-updater
   - perl-cleaner all
   - revdep-rebuild
Even though I am not facing problems like the original thread starter but I 
have always thought that what would I do a year down the lane when stuff like 
gcc/glibc (and other important things) are upgraded in major ways. These 
commands will help :-)

Thanks from my side.

Abhay


pgprP5cCIDtOA.pgp
Description: PGP signature


Re: [gentoo-user] how to upload files...?any tool?

2005-11-12 Thread Toby 'qubit' Cubitt
On 00:22 Fri 11 Nov , El Nino wrote:
 Dear friends,
 
 i develop my own webpages  now want to upload them to a remote server. so
 im new to do this... so can any body to point me a tool to do this?

If you can find some way (e.g. shell access or a friendly sysadmin) to
install it on the remote server, I highly recommend unison:

*  net-misc/unison
  Latest version available: 2.13.16
  Latest version installed: 2.13.16
  Size of downloaded files: 1,001 kB
  Homepage:http://www.cis.upenn.edu/~bcpierce/unison/
  Description: Two-way cross-platform file synchronizer
  License: GPL-2

It uses the rsync protocol, so is much faster than copying the files if you've
just made small changes. But unlike rsync it allows full two-way
synchronisation, which is very useful if files can be changed on the server as
well as on your local copy.

HTH,

Toby 
-- 
PhD Student
Quantum Information Theory group
Max Planck Institute for Quantum Optics
Garching, Germany

email: [EMAIL PROTECTED]
web: www.dr-qubit.org
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] problem starting BillardGL (assertion failed)

2005-11-12 Thread b.n.

Hi,
I'm trying to start BillardGL (a very cool billard OpenGL free game), 
but all I have is this error...



BillardGL (C) 2001, 2002 Tobias Nopper, Stefan Disch, Martina Welte

  No Game Mode possible!

BillardGL: r200_vtxfmt.c:1052: r200VtxFmtFlushVertices: Assertion 
`rmesa-dma.flush == 0 || rmesa-dma.flush == flush_prims' failed.

Aborted

Nor the forums nor bugzilla nor Google seem to know anything about this. 
 What about you? :)


I have xorg-x11 6.8.2-r4, fluxbox, my graphic card is a Radeon 9200SE, 
DRI enabled.


Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, 
glibc-2.3.5-r2, 2.6.12-gentoo-r9 i686)

=
System uname: 2.6.12-gentoo-r9 i686 AMD Duron(tm)
Gentoo Base System version 1.6.13
dev-lang/python: 2.3.5-r2, 2.4.2
sys-apps/sandbox:1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS=x86
AUTOCLEAN=yes
CBUILD=i686-pc-linux-gnu
CFLAGS=-O3 -pipe -march=athlon-xp -fomit-frame-pointer -mmmx -msse -m3dnow
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/kde/2/share/config /usr/kde/3.3/env 
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env 
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config 
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ 
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ 
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ 
/var/qmail/control

CONFIG_PROTECT_MASK=/etc/gconf /etc/terminfo /etc/env.d
CXXFLAGS=-O3 -pipe -march=athlon-xp -fomit-frame-pointer -mmmx -msse 
-m3dnow

DISTDIR=/usr/portage/distfiles
FEATURES=autoconfig distlocks sandbox sfperms strict
GENTOO_MIRRORS=http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo;

MAKEOPTS=-j2
PKGDIR=/usr/portage/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=x86 3dnow X acl alsa apm arts audiofile avi berkdb bitmap-fonts 
bzip2 cdr crypt cups curl divx4linux dvd dvdr eds emboss encode esd 
ethereal exif expat fam ffmpeg flac foomaticdb fortran ftp gd gdbm gif 
glut gnome gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 idn imagemagick 
imlib ipv6 jabber jack java jpeg junit kde lcms libg++ libwww lua mad 
mikmod mmx mng motif mp3 mpeg ncurses nls ogg oggvorbis openal opengl 
oss pam pcre pdflib perl png python qt quicktime readline recode samba 
sdl slang spell sse ssl svg svga tcltk tcpd tetex tiff truetype 
truetype-fonts type1-fonts udev usb vorbis xine xml xml2 xmms xv xvid 
zlib userland_GNU kernel_linux elibc_glibc

Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY


Thank you for any info!

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



[gentoo-user] Server Mirroring...

2005-11-12 Thread Mal Herring
Hi Gentoo-User

I run a Apache2 webserver and Postfix as per the virtual mailhost
guide...

For resilience I would like to have two gentoo boxes doing these tasks
for load balancing / redundancy - how can this be achieved?  Is there a
tool that will allow replication of the config files / mysql stuff to
allow the boxes to basically be a cluster ?

Oh - one more thing, the boxes will sit in different data centres !

Thanks in advance...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xorg.. twm not starting and terrible performance with fluxbox

2005-11-12 Thread Holly Bostick
Mrugesh Karnik schreef:
 Richard Fish wrote:
 
 The via_drv I am talking about is an _x.org_ driver, not a kernel 
 driver.  It has nothing to do with the kernel sources or rebuilding
  the kernel.  It should exist at /usr/lib/modules/drivers/via_drv.o
  (along with all other X11 drivers).
 
 I know! My xorg just doesn't want to compile that file! So what I
 tried was to enable the VIA drivers in the kernel. It then compiled
 both drm.ko and via.ko and also via_drv.o, but the via_drv.o never
 left the /usr/src directory.

Possibly because you don't have the 'insecure-drivers' USE flag enabled:

 On 11/10/05, Mrugesh Karnik [EMAIL PROTECTED] wrote:
 
  carcharias rjf # equery belongs /usr/lib/modules/drivers/via_drv.o [
 Searching for file(s) /usr/lib/modules/drivers/via_drv.o in *... ] 
 x11-base/xorg-x11-6.8.2-r6 (/usr/lib/modules/drivers/via_drv.o) 
 carcharias rjf # emerge -vp x11-base/xorg-x11
 
 These are the packages that I would merge, in order:
 
 Calculating dependencies ...done! [ebuild   R   ]
 x11-base/xorg-x11-6.8.2-r6  -3dfx -3dnow +bitmap-fonts -cjk -debug
 -dlloader -dmx +doc +font-server -insecure-drivers +ipv6 -minimal
 +mmx +nls -nocxx +opengl +pam -sdk +sse -static +truetype-fonts
 +type1-fonts (-uclibc) -xprint +xv 0 kB
 

/usr/portage/profiles/use.local.desc:x11-base/xorg-x11:insecure-drivers
- Builds insecure DRI stuff for via, mach64 and savage

You might as well try it; you can't be much worse off.

 I just can't understand why the file isn't compiled by xorg. Not to 
 mention, FC4 uses vesa and works perfectly. I wonder what's going
 on with Gentoo :(
 

Like most binary distros, the FC RPMs probably enable everything
'enableable'. I have no idea why the drivers are considered 'insecure',
but assuming they are (which would not surprise me), it's well within
the realm of possibility that they fall under the you have to know what
you're doing and decide for yourself' section of the Gentoo design
philosopy (which is the major thrust of the Gentoo design philosopy, so
that doesn't surprise me either).

Why FC 4 would enable them and Gentoo would mark them as insecure
well, heck-- FC4 uses GCC 4.0 *by default* as I understand it, and we
have it completely masked (and most other distros don't use it either,
afaik, certainly not by default yet). So since FC4 seems to want to live
even further out on the 'bleeding edge' than we are said to do, again,
I'm not surprised that the drivers would be enabled by default, no
matter their status in terms of security, completeness, or stability.

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] strange problem with fam USE-flag

2005-11-12 Thread Holly Bostick
Rumen Yotov schreef:
 Hi, Recently (last two days) when running:emerge -DNu world -ptv
 receive the following: ... #emerge -DNu world -ptv
 
 These are the packages that I would merge, in reverse order:
 
 Calculating world dependencies ...done! [ebuild   R   ]
 mail-filter/maildrop-2.0.1  +berkdb -debug +fam* -gdbm -ldap -mysql
 -postgres 0 kB [ebuild   R   ] net-mail/courier-imap-4.0.1  +berkdb
 -debug +fam* -gdbm +ipv6 +nls (-selinux) 0 kB
 
 Total size of downloads: 0 kB ... In first look nothing strange, only
 i don't have/use fam (use 'gamin' instead). More info,no fam in
 /etc/make.conf: grep fam /etc/make.conf  nothing. So must be some
 issue with virtuals. In maildrop-2.0.1.ebuild there is the
 following: ... Now don't need to post this as a question, thing are
 clear. Gamin also provides virtual/fam although it's gamin not fam.
  Just a confusion with fam USE-flag. Post this for info only.
 Thanks.

This happened to me yesterday, except with a twist. For a change, I did
an emerge -uaDNtv world instead of without a --newuse like normal, and I
got a block, because of emelfm2:

Calculating dependencies ...done!
[ebuild   R   ] app-misc/emelfm2-0.1.2  +fam* -gamin +nls -utf8only 0 kB
[1]

Total size of downloads: 0 kB
Portage overlays:
 [1] /usr/local/portage

Now, since I use gamin, fam wanted to install, and was (naturally)
blocked by gamin. Fortunately, emelfm2 has a 'gamin' USE flag, so I just
disabled fam and enabled gamin to clear the block.

Comparing this to your situation, it looks like 'fam' is a new USE flag,
enabled by default (since fam is installed by default). I don't really
have much of a problem with that-- except I misss the corresponding
'gamin' USE flag for the programs you are upgrading.

However, I also assume that these programs may not be able to use gamin,
or have not been updated to use a virtual/fam rather than fam itself.

Either way, I would be clued that these programs were out of date in
some respect, and would start checking their current status on the web
page: are they currently maintained? are there plans to enable gamin
support? If not, then I would check Bugzilla to see if a bug had been
filed to allow for virtual/fam instead of fam directly. If not, I would
copy the ebuilds to my overlay and modify them to take a virtual/fam,
and install those.

If they worked that way, I would submit the modified ebuilds to b.g.o.

My 2 eurocents (which we don't even have anymore),
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xorg.. twm not starting and terrible performance with fluxbox

2005-11-12 Thread Mrugesh Karnik

Holly Bostick wrote:


Possibly because you don't have the 'insecure-drivers' USE flag enabled:


I had insecure-drivers enabled the first time I compiled xorg. I think I 
had disabled it in the subsequent compilations. I found an ebuild with 
VIA Unichrome USE flag and patches added; in the forums. I'll try that 
ebuild because it's been reported to have worked. I'll also make sure 
that I enable insecure-drivers this time! I'll know the results in about 
an hour and half... Hope it works.



Like most binary distros, the FC RPMs probably enable everything
'enableable'. I have no idea why the drivers are considered 'insecure',
but assuming they are (which would not surprise me), it's well within
the realm of possibility that they fall under the you have to know what
you're doing and decide for yourself' section of the Gentoo design
philosopy (which is the major thrust of the Gentoo design philosopy, so
that doesn't surprise me either).

Why FC 4 would enable them and Gentoo would mark them as insecure
well, heck-- FC4 uses GCC 4.0 *by default* as I understand it, and we
have it completely masked (and most other distros don't use it either,
afaik, certainly not by default yet). So since FC4 seems to want to live
even further out on the 'bleeding edge' than we are said to do, again,
I'm not surprised that the drivers would be enabled by default, no
matter their status in terms of security, completeness, or stability.

HTH,
Holly


Hmmm. Well, I love my Gentoo. I can always use the bleeding edge stuff 
with ~ keywords (As you would already know of course ;))! Anyway, I 
think Mandriva 2006 also uses GCC 4 by default now. It also comes with 
xorg 6.8.9*. I read on xorg.freedesktop.org that the new xorg release 
includes updates from the VIA Unichrome project. I looked into portage 
and yaay! The VIA drivers package is there.. Only, its -amd64. I am on 
AMD64. I'm wondering what to do.


If all fails, I'll have to buy an NVIDIA AGP card I guess. I love Gentoo 
too much to remove it just because of this graphics card issue. (Wise 
choice spending money on an FX5200 just to have Gentoo running??? Well, 
I can always install UT and say to myself, YES! Wise choice indeed :P )


Regards,
Mrugesh
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] More 2.6.14 badness: iptables no longer logging

2005-11-12 Thread William Kenworthy
No, I use LOG (via the monmotha script).  Same prob with both iptables
versions: its only the kernel version thats changed.  Diff'ing the
configs hasnt helped.  At least I now know its my system, and not
something more widespread.

Just setup and tested another gentoo-sources-2.6.14-r1 system and thats
fine.  Think I'll wipe the kernel and start from scratch and see if its
something Ive overlooked.

BillK

On Sat, 2005-11-12 at 11:16 +0100, Sascha Lucas wrote:
  More 2.6.14 badness: just realised my gateway iptables rules under
  2.6.14 no longer log events.  rebuilt iptables with no changes so Ive
  gone back to 2.6.13.  Is anyone else seeing this?
 
 sorry I can't see this on my desktop. -j LOG works as expected. Do you use 
 ULOG?
 
 BTW: I use net-firewall/iptables-1.3.4 (~x86). Not 1.3.2 from x86-keyword.
 
 Sascha.
 
-- 
William Kenworthy [EMAIL PROTECTED]
Home!
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ghosting(?) a drive

2005-11-12 Thread Digby Tarvin
I do this quite frequently - except that in most cases I am
replacing an old drive with a new larger driver, but want
the existing partitions copied accross identically as if
nothing has changed. To complicate matters, I often have
more that one operating system installed on the disk.

The basic appreach is really the same thing you would do if
your old drive failed completely and you were recovering from
backups - only this way you can make sure your backups are
completely up to date so that nothing is lost.

The best method (IMHO) is as follows:

Firstly, always make sure your backups are completely up
to date before you start plugging and unplugging hard drives.
Use 'fdisk -l' or similar to get the exact partitioning of the
old drive, and print a copy.

Next connect and partition the new drive with identically sized
partitions to the original drive. Any extra space will be available for
new partitions - these can be created now or later. 

Now load all of the partitions with the content of the corresponding
original. If I am using dump to backup ext2/ext3 filesystems, I usually
just use restore at this point.

Alternatively, boot your old system single user (so all filesystems
are read-only) and dd each old filsystem to the corresponding
new filesystem. 

Finally, move the new drive to its final address and remove the
original, boot using a floppy or CD, and use grub/lilo to update your
boot blocks. Then, of course, you chould run a filesystem check
on each of the filesystems just to make sure.

This ensures that the information in the boot sector is correct
for the new drive. Two 120G drives will typically not have
*exactly* the same number of sectors, and usually will have
a different geometry. So long as the new drive has the same
or more, then you are ok and just need to make sure you copy
the original partition sizes exactly. If you have slightly less,
then at least one partition will be smaller and should be
formatted and copied file by file (although you could avoid
this by choosing to shrink the swap partition).

The dd means I don't have to worry about what operating system
is in the partition, and there is no possibility that oversights
with rsync will have resulted in subtle changes that might go
un-noticed for a long time - such as forgetting to preserve
hard links (archive mode does not preserve everything..).

When I need to change the size of one or more filesystems, then
I use dump/restore (for ext2/3 filesystem) or rsync for Unix
based systems.

Regards,
DigbyT

On Fri, Nov 11, 2005 at 02:50:22PM -0800, maxim wexler wrote:
 Hello everyone,
 
 Just received a new, unformatted SATA 120G HD with the
 intention of moving my entire gentoo OS over to it
 from a flaky 120G ATA drive(reiserfs). Hopefully, I
 can just boot up from the new drive as if nothing had
 changed.
 
 Can anybody recommend any tool(s) for the job?
 Gotchas? Does SATA prefer a certain fs?
 
 -mw
 
 
   
 __ 
 Yahoo! FareChase: Search multiple travel sites in one click.
 http://farechase.yahoo.com
 -- 
 gentoo-user@gentoo.org mailing list

-- 
Digby R. S. Tarvin [EMAIL PROTECTED]
http://www.digbyt.com
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] strange problem with fam USE-flag

2005-11-12 Thread Rumen Yotov
Hi Holly,
On Sat, 2005-11-12 at 15:16 +0100, Holly Bostick wrote:
 Rumen Yotov schreef:
  Hi, Recently (last two days) when running:emerge -DNu world -ptv
  receive the following: ... #emerge -DNu world -ptv
  
  These are the packages that I would merge, in reverse order:
  
  Calculating world dependencies ...done! [ebuild   R   ]
  mail-filter/maildrop-2.0.1  +berkdb -debug +fam* -gdbm -ldap -mysql
  -postgres 0 kB [ebuild   R   ] net-mail/courier-imap-4.0.1  +berkdb
  -debug +fam* -gdbm +ipv6 +nls (-selinux) 0 kB
  
  Total size of downloads: 0 kB ... In first look nothing strange, only
  i don't have/use fam (use 'gamin' instead). More info,no fam in
  /etc/make.conf: grep fam /etc/make.conf  nothing. So must be some
  issue with virtuals. In maildrop-2.0.1.ebuild there is the
  following: ... Now don't need to post this as a question, thing are
  clear. Gamin also provides virtual/fam although it's gamin not fam.
   Just a confusion with fam USE-flag. Post this for info only.
  Thanks.
It turns out this is confusion only in my head ;-)
 
 This happened to me yesterday, except with a twist. For a change, I did
 an emerge -uaDNtv world instead of without a --newuse like normal, and I
 got a block, because of emelfm2:
 
 Calculating dependencies ...done!
 [ebuild   R   ] app-misc/emelfm2-0.1.2  +fam* -gamin +nls -utf8only 0 kB
 [1]
 
You are using the one in your overlay here. i have this:
...
#ACCEPT_KEYWORDS=~x86 emerge emelfm2 -pv

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N] app-misc/emelfm2-0.0.9-r1  +nls 456 kB

Total size of downloads: 456 kB
...
 Total size of downloads: 0 kB
 Portage overlays:
  [1] /usr/local/portage
 
 Now, since I use gamin, fam wanted to install, and was (naturally)
 blocked by gamin. Fortunately, emelfm2 has a 'gamin' USE flag, so I just
 disabled fam and enabled gamin to clear the block.
 
 Comparing this to your situation, it looks like 'fam' is a new USE flag,
 enabled by default (since fam is installed by default). I don't really
 have much of a problem with that-- except I misss the corresponding
 'gamin' USE flag for the programs you are upgrading.
 
 However, I also assume that these programs may not be able to use gamin,
 or have not been updated to use a virtual/fam rather than fam itself.
 
Think it's better they use virtual/fam or some sort of
virtual/a-name-here. Gamin ebuild already provides virtual/fam.
 Either way, I would be clued that these programs were out of date in
 some respect, and would start checking their current status on the web
 page: are they currently maintained? are there plans to enable gamin
 support? If not, then I would check Bugzilla to see if a bug had been
 filed to allow for virtual/fam instead of fam directly. If not, I would
 copy the ebuilds to my overlay and modify them to take a virtual/fam,
 and install those.
They already DEPEND on virtual/fam.
It's just a matter of naming IMO, the name fam (File Alternating
Monitor IIRC) merely coincides with fam in virtual/fam, not like
virtual/mda which is clearer.
 
 If they worked that way, I would submit the modified ebuilds to b.g.o.
 
 My 2 eurocents (which we don't even have anymore),
 Holly
Thanks.Rumen


signature.asc
Description: This is a digitally signed message part


[gentoo-user] Re: Have another 2.6.14 problem: cisco-vpn client

2005-11-12 Thread Adrian Loetscher

Hi,

I had the same problem and found a solution for this problem. In line
292 and line 432 of the file linuxcniapi.c, I have replaced the
following text

   do_gettimeofday(skb-stamp);

whit the following code:

   __net_timestamp((struct sk_buff *)skb);

I have found this solution in a patch for iptime here:
http://patchwork.netfilter.org/netfilter-devel/patch.pl?id=2988, but I don't 
really know, why
this solution works.

I have made available my solution under www.aloetscher.ch/patches/linuxcniapi.c.
I hope, this helps.

Regards, Adrian






W.Kenworthy schrieb:



Have another 2.6.14 problem.  I am trying to build the cisco-vpn client
against this kernel and get the following errors below.  Note that I am
using a portage overlay version here, but the error message is identical
no matter what version I am trying to build.  Needless to say, it builds
fine with 2.6.13.  I am wondering if this is a header problem (something
has moved in 2.6.14)

BillK

 


 Unpacking source...
 Unpacking vpnclient-linux-4.7.00.0640-k9.tar.gz
   


to /var/tmp/portage/cisco-vpnclient-4.7.00.0640/work
 


 Source unpacked.
   


make -C /lib/modules/2.6.14-gentoo/build
SUBDIRS=/var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient
modules
make[1]: Entering directory `/usr/src/linux-2.6.14-gentoo'
  CC
[M]  /var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient/linuxcniapi.o
/var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient/linuxcniapi.c: In 
function `CniInjectReceive':
/var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient/linuxcniapi.c:292: 
error: structure has no member named `stamp'
/var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient/linuxcniapi.c: In 
function `CniInjectSend':
/var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient/linuxcniapi.c:432: 
error: structure has no member named `stamp'
make[2]: ***
[/var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient/linuxcniapi.o] 
Error 1
make[1]: ***
[_module_/var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient]
Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.14-gentoo'
make: *** [default] Error 2

!!! ERROR: net-misc/cisco-vpnclient-4.7.00.0640 failed.
!!! Function src_compile, Line 34, Exitcode 0
!!! Failed to make module 'cisco_ipsec'
!!! If you need support, post the topmost build error, NOT this status
message.

bunyip linux # make xconfig

--
gentoo-user@gentoo.org mailing list
 


--
gentoo-user@gentoo.org mailing list



[gentoo-user] Automatically mounting USB mass storage devices (camera)

2005-11-12 Thread Alexander Skwar
Hi!

Since recently (I of course don't know since when exactly *G*),
I cannot get KDE or Gnome or ivman to automatically mount my
digicam, when I plug it in. The camera appears as a USB
Mass Storage devices. In the kern.log, I get the following entries:

Nov 12 20:28:14 blatt usb 1-1: new full speed USB device using uhci_hcd and 
address 5
Nov 12 20:28:14 blatt scsi3 : SCSI emulation for USB Mass Storage devices
Nov 12 20:28:14 blatt usb-storage: device found at 5
Nov 12 20:28:14 blatt usb-storage: waiting for device to settle before scanning
[...]
Nov 12 20:28:19 blatt Vendor: NIKON Model: NIKON DSC E4300   Rev: 1.00
Nov 12 20:28:19 blatt Type:   Direct-Access  ANSI SCSI 
revision: 02
Nov 12 20:28:19 blatt SCSI device sda: 503808 512-byte hdwr sectors (258 MB)
Nov 12 20:28:19 blatt sda: Write Protect is off
Nov 12 20:28:19 blatt sda: Mode Sense: 18 00 00 08
Nov 12 20:28:19 blatt sda: assuming drive cache: write through
Nov 12 20:28:19 blatt SCSI device sda: 503808 512-byte hdwr sectors (258 MB)
Nov 12 20:28:19 blatt sda: Write Protect is off
Nov 12 20:28:19 blatt sda: Mode Sense: 18 00 00 08
Nov 12 20:28:19 blatt sda: assuming drive cache: write through
Nov 12 20:28:19 blatt sda: sda1
Nov 12 20:28:19 blatt Attached scsi removable disk sda at scsi3, channel 0, id 
0, lun 0
Nov 12 20:28:19 blatt usb-storage: device scan complete

As you can see, the system made the device available as sda1.
When I mount /dev/sda1 /mnt, I can get to the pictures and
what-not on the disk.

I just noticed another strange thing - lsusb isn't finding the
device. Or rather, it's only able to find it when ran with root
rights.

[EMAIL PROTECTED] ~ $ lsusb
Bus 002 Device 002: ID 046d:c00c Logitech, Inc. Optical Wheel Mouse
Bus 002 Device 001: ID :
Bus 001 Device 001: ID :

[EMAIL PROTECTED] ~ $ sudo lsusb
Bus 002 Device 002: ID 046d:c00c Logitech, Inc. Optical Wheel Mouse
Bus 002 Device 001: ID :
Bus 001 Device 005: ID 04b0:010e Nikon Corp. Coolpix 4300 (storage)
Bus 001 Device 001: ID :

Strange.

How can I get the system to automatically mount my USB device when I
attach it?

[EMAIL PROTECTED] ~ $ lsmod
Module  Size  Used by
autofs419844  4
rt2500169572  1
sd_mod 16144  0
usb_storage33412  0
scsi_mod   92772  2 sd_mod,usb_storage
snd_pcm_oss50720  0
snd_mixer_oss  18176  1 snd_pcm_oss
snd_seq_oss32896  0
snd_seq_midi_event  7168  1 snd_seq_oss
snd_seq50192  4 snd_seq_oss,snd_seq_midi_event
snd_via82xx26656  1
snd_ac97_codec 88316  1 snd_via82xx
snd_ac97_bus2304  1 snd_ac97_codec
snd_pcm88584  3 snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer  24708  2 snd_seq,snd_pcm
snd_page_alloc 10504  2 snd_via82xx,snd_pcm
snd_mpu401_uart 7424  1 snd_via82xx
snd_rawmidi25120  1 snd_mpu401_uart
snd_seq_device  8460  3 snd_seq_oss,snd_seq,snd_rawmidi
snd52452  13
snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore  10080  1 snd
ext3  121736  2
jbd58260  1 ext3
reiserfs  238448  3
af_packet  22024  2
usbhid 37088  0
rtc 9236  0
pcspkr  3808  0
drm69652  0
via_agp 9600  1
agpgart33608  2 drm,via_agp
ide_cd 39940  0
cdrom  38176  1 ide_cd
cpufreq_conservative 7204  0
cpufreq_ondemand6300  0
cpufreq_powersave   1920  0
p4_clockmod 4872  0
speedstep_lib   3968  1 p4_clockmod
freq_table  4612  1 p4_clockmod
evdev   9344  1
psmouse35204  0
ac  4868  0
button  6672  0
video  15492  0
thermal13064  0
processor  22844  1 thermal
battery 9348  0
fan 4612  0
uhci_hcd   32016  0
usbcore   120064  4 usb_storage,usbhid,uhci_hcd
[EMAIL PROTECTED] ~ $ uname -a
Linux blatt 2.6.14-suspend2.037 #1 PREEMPT Tue Nov 8 20:57:32 CET 2005 i686 
Intel(R) Celeron(R) M processor 1.50GHz GenuineIntel GNU/Linux

Thanks,

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



Re: [gentoo-user] Automatically mounting USB mass storage devices (camera)

2005-11-12 Thread Christoph Eckert

 How can I get the system to automatically mount my USB device when I
 attach it?

Most cameras can be switched from USB to PTP mode in the setup.

I recommend to do so and instead of automounting it to access it via PTP 
(see gphoto2/digikam etc.). It's much more convenient because you can 
plug it in out pull it out at any time without the need to mount it.


Best regards


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



Re: [gentoo-user] Automatically mounting USB mass storage devices (camera)

2005-11-12 Thread Alexander Skwar
Christoph Eckert schrieb:
 How can I get the system to automatically mount my USB device when I
 attach it?
 
 Most cameras can be switched from USB to PTP mode in the setup.

Yeah, I know. When Mass Storage worked, it was much more convenient
than having to start some program to import hte files from PTP
to the system.

 I recommend to do so and instead of automounting it to access it via PTP 
 (see gphoto2/digikam etc.). It's much more convenient because you can 
 plug it in out pull it out at any time without the need to mount it.

Yep. That's the way it used to be :) But with PTP I had
other kinds of problems.

Well, instead of using PTP, I rather mount the camera by
hand. Much more convient, IMO.

Thanks for the tip, though. But instead of the PTP
workaround, I'll use the manual-mount workaround. Or
maybe autofs.

Alexander Skwar
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Automatically mounting USB mass storage devices (camera)

2005-11-12 Thread Christoph Eckert

 Thanks for the tip, though. But instead of the PTP
 workaround, I'll use the manual-mount workaround. Or
 maybe autofs.

PTP is slow, *very* slow on my machine. This is a big minus.

Regardless of mass storage or PTP you can write a small shell script 
which automates the process and copies the pics to disk, maybe by 
creating a folder with the current date.


Best regards


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



Re: [gentoo-user] Xorg.. twm not starting and terrible performance with fluxbox

2005-11-12 Thread Richard Fish
On 11/12/05, Mrugesh Karnik [EMAIL PROTECTED] wrote:
 So what I tried
 was to enable the VIA drivers in the kernel. It then compiled both
 drm.ko and via.ko and also via_drv.o, but the via_drv.o never left the
 /usr/src directory.

Which is the exactly correct and expected behavior.

  I don't understand why you don't have this file.  The only case this
  should be missing is if you have USE=minimal.  Could you please post
  the output of emerge -pv xorg-x11?

 I surely didn't use the minimal flag. The first time I had enabled
 insecure-drivers and disabled font-server. Then after reading your first
 email, I tried to compile it with the same USE flags as yours.

Ok, if I am reading the xorg configuration files correctly (which are
a bit complex...to say the least), it seems the via driver is disabled
by default when compiling for the AMD64 architecture.

 Not to
 mention, FC4 uses vesa and works perfectly. I wonder what's going on
 with Gentoo :(

Too many variables to answer that question...kernel versions, kernel
configuration, kernel patches, frame buffer options, xorg versions,
xorg patches, and so on.  You could try to eliminate some of those
variables by using the same kernel version  .config under both.

-Richard

-- 
gentoo-user@gentoo.org mailing list



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

2005-11-12 Thread Harry Putnam
Hopefully somehere can direct me to where this should be posted or
answer it directly.  I'm looking to my Gentoo box to solve the problem
described below:

First:
My home lan looks like:


 INTERNET
|
 DSLMODEM
|
- NETGEAR FVS318 fw/router---
 |   |||   |

Mch1Mch2 mch3mch4 mch5  
Lin  win win win  win
Gentoo

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.

That is, only mch 1 (a linux) machine and mch2 (a winxp pro) machine,
should be able to freely access the internet. (Making those secure
while doing so is not dicussed here)  3-5 should only be able
to talk to/from the local net.

I realize this would not be true isolation as anyone getting to 1-2
would have access to 3-5, so all bets are off if that should happen.

Its more about having to worry about downloads or link clicks etc with
unwanted results.

The Netgear FVS318 appears not to be able to do this for me.  But I
could be wrong there.  I see no options that look usefull for it.
Blocking of sites might do it but appears it would be a long process
setting it up. 

I'd happily hear that the router can do this.

=

I'm turning to my gentoo box for a solution.  

However, I'm not interested in setting it up as the router for
everthing and ditching the NETGEAR.  Its to convenient having
something the size of a medium book that makes no noise or heat but
can keep all but the most dedicated of script kiddies of my network.

I'm thinking I could route machines 3-5 thru it as gateway.  
The way I work, the gentoo box is always running.  I would never be
using the others without it running, its just how I work.

I know already that Iptables can handle the rulesets needed to get
what I want.  I'm not sure of the exact rules yet but believe it is at
least possible.

Now for the questions:

Can I route 3-5 thru the Gentoo box without changing the subnet
setup?  That is, all still remain 192.168.0.0/24.  And simply set
gateway on 3-5 to point at the gentoo box.  Then setup IPtables to
prevent those machines from talking beyond local lan in or out.

Something like deny everything, then allow only a list of `safe' IPs
on the local lan.

So again:
Can I do all this without hardwiring 3-5 direct to the Gentoo box.
That is, just by setting it as gateway on each of them.

-- 
gentoo-user@gentoo.org mailing list



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

2005-11-12 Thread John Jolet
The netgear will do it.  you can give it ip addresses to block.  look at the 
schedule setups.  set them up only to be able to access the internet for, say 
a second on sunday at 3 am, and not for the rest of the time

On Saturday 12 November 2005 17:35, Harry Putnam wrote:
 Hopefully somehere can direct me to where this should be posted or
 answer it directly.  I'm looking to my Gentoo box to solve the problem
 described below:

 First:
 My home lan looks like:


  INTERNET

  DSLMODEM

 - NETGEAR FVS318 fw/router---


 Mch1Mch2 mch3mch4 mch5
 Lin  win win win  win
 Gentoo

 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.

 That is, only mch 1 (a linux) machine and mch2 (a winxp pro) machine,
 should be able to freely access the internet. (Making those secure
 while doing so is not dicussed here)  3-5 should only be able
 to talk to/from the local net.

 I realize this would not be true isolation as anyone getting to 1-2
 would have access to 3-5, so all bets are off if that should happen.

 Its more about having to worry about downloads or link clicks etc with
 unwanted results.

 The Netgear FVS318 appears not to be able to do this for me.  But I
 could be wrong there.  I see no options that look usefull for it.
 Blocking of sites might do it but appears it would be a long process
 setting it up.

 I'd happily hear that the router can do this.

 =

 I'm turning to my gentoo box for a solution.

 However, I'm not interested in setting it up as the router for
 everthing and ditching the NETGEAR.  Its to convenient having
 something the size of a medium book that makes no noise or heat but
 can keep all but the most dedicated of script kiddies of my network.

 I'm thinking I could route machines 3-5 thru it as gateway.
 The way I work, the gentoo box is always running.  I would never be
 using the others without it running, its just how I work.

 I know already that Iptables can handle the rulesets needed to get
 what I want.  I'm not sure of the exact rules yet but believe it is at
 least possible.

 Now for the questions:

 Can I route 3-5 thru the Gentoo box without changing the subnet
 setup?  That is, all still remain 192.168.0.0/24.  And simply set
 gateway on 3-5 to point at the gentoo box.  Then setup IPtables to
 prevent those machines from talking beyond local lan in or out.

 Something like deny everything, then allow only a list of `safe' IPs
 on the local lan.

 So again:
 Can I do all this without hardwiring 3-5 direct to the Gentoo box.
 That is, just by setting it as gateway on each of them.

-- 
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
[EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



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

2005-11-12 Thread Harry Putnam
John Jolet [EMAIL PROTECTED] writes:

 The netgear will do it.  you can give it ip addresses to block.
 look at the schedule setups.  set them up only to be able to access
 the internet for, say a second on sunday at 3 am, and not for the
 rest of the time

Do you mean to bock every address on the internet?  I'm not following
you hear.  Further I don't see an option to block ip addresses in the
blocking section at all.  Only by keywords.

Are we looking at the same router?
(here is it FVS318)
I see:

# Security Logs
# Block Sites
# Block Service
# Add Service
# Schedule
# E-mail

On left 

(others are below but not of interest here unless you tell me
you mean some other section)


I see no way to block by IP number in any of those sections.  One
could block by keyword and use `com' `net' `org' etc as the keywords I
suppose but it seems really hackish and prone to unexpected results.

No kind of control like is possible with Iptables.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Xorg.. twm not starting and terrible performance with fluxbox

2005-11-12 Thread Mrugesh Karnik

Richard Fish wrote:
  Too many variables to answer that question...kernel versions, kernel

configuration, kernel patches, frame buffer options, xorg versions,
xorg patches, and so on.  You could try to eliminate some of those
variables by using the same kernel version  .config under both.


Ay! Great idea! I think I'll get the FC4 kernel sources and the .config 
file as well! Let's see how it goes!


Thanks again!
Mrugesh
--
gentoo-user@gentoo.org mailing list



[gentoo-user] NTFS resizing

2005-11-12 Thread Pingveno
I'm trying to resize an NTFS partition to fit Gentoo on a new laptop. As 
recommended by countless sources all over the Internet, I am using 
Knoppix  Qtparted for resizing. However, QTParted complains about 
accounting errors in the NTFS filesystem (yes, I know that's redundant). 
After a little bit of Google searching, I discovered I needed to use 
chkdsk on Windows with the /f switch to fix the errors. Easy. Of course, 
chkdsk alerted me that it can't modify a running NTFS system. Okay, so I 
do what it recommends to me: let the checking be run after a reboot.


None of this is exactly extraordinary. However, there is the slight 
problem that chkdsk never actually runs at start up. No bueno. Any 
tricks to con it into working?


-Pingveno

P.S. This is a Thinkpad T43

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Keeping /usr/portage/distfiles empty. Need the room. :/

2005-11-12 Thread Pingveno

Dale wrote:

Hi all,

I am putting Gentoo on a fairly small hard drive.  I would like to clean
out distfiles to save room.  I would like to tell it to download the
source file then delete it when the compile is finished.  I looked in
the make.conf.example but I didn't see anything that tells it to do that.

Is there a way to do this? 


Thanks

Dale
:-)
As a horrible, horrible hack, you could just write a shell script to be 
run by crond. I'm sure there's something better, though.


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] NTFS resizing

2005-11-12 Thread Grimaldy Soto
I suposed that if the partition is in use it's because is the main partition, if not you can use the /x option for chkdsk if will force a dismount, anyway why you no resize the partition with a partition manager like partition magic.
Its better and faster and course lets dangerous that making inside from linux.On 11/12/05, Pingveno 
[EMAIL PROTECTED] wrote:I'm trying to resize an NTFS partition to fit Gentoo on a new laptop. As
recommended by countless sources all over the Internet, I am usingKnoppix  Qtparted for resizing. However, QTParted complains aboutaccounting errors in the NTFS filesystem (yes, I know that's redundant).
After a little bit of Google searching, I discovered I needed to usechkdsk on Windows with the /f switch to fix the errors. Easy. Of course,chkdsk alerted me that it can't modify a running NTFS system. Okay, so I
do what it recommends to me: let the checking be run after a reboot.None of this is exactly extraordinary. However, there is the slightproblem that chkdsk never actually runs at start up. No bueno. Anytricks to con it into working?
-PingvenoP.S. This is a Thinkpad T43--gentoo-user@gentoo.org mailing list-- We must agree that the beauty of a work of art will always remain a 
mystery, in other words, we can never be absolutely sure 'how it's made.' We must at all costs preserve this magic which is peculiar to music and to which, by its nature, music is of all arts the most receptive.
-Claude Debussy-


Re: [gentoo-user] Re: Keeping /usr/portage/distfiles empty. Need the room. :/

2005-11-12 Thread Arturo 'Buanzo' Busleiman

Write a wrapper for emerge.

(example for updating a package):

First, get the output of emerge -fup PACKAGE. Use basename to get the 
filename. Save that in a variable.


Second, emerge -u PACKAGE  (for f in $FILES; do rm -f $f; done)

On Sat, 12 Nov 2005, Pingveno wrote:


Dale wrote:

 Hi all,

 I am putting Gentoo on a fairly small hard drive.  I would like to clean
 out distfiles to save room.  I would like to tell it to download the
 source file then delete it when the compile is finished.  I looked in
 the make.conf.example but I didn't see anything that tells it to do that.

 Is there a way to do this?
 Thanks

 Dale
: -)
As a horrible, horrible hack, you could just write a shell script to be run 
by crond. I'm sure there's something better, though.


--
gentoo-user@gentoo.org mailing list




--
gentoo-user@gentoo.org mailing list



[gentoo-user] recommendatoin for a new server

2005-11-12 Thread El Nino






Dear friends,i'm planning on buying a server for running gentoo(will b our 1st gentoo server) with a mail+dns server(1000mails/per day).i'm looking for sata raid,amd opteron  around 1GB ram.
has anyone built a server recently that worked?1) can anyone give me a suggestions for a good(cost-effective) server(good with gentoo).
-- ...The future lies ahead. ___ Have you mooed today?  \^__^ \ (oo) \___

(__)
\
)\/\|
|-w ||
|| |2.6.14-gentoo-sinhalese-r1


[gentoo-user] Re: NTFS resizing

2005-11-12 Thread Pingveno
Yeah, this is the main partition. According to the web sites I have 
read, there should be no problem with what I'm doing, even with this 
being the boot partition.


Here's the message I get when I run chkdsk /f:
output
The type of the file system is NTFS.
Cannot lock current drive.

Chkdsk cannot run because the volume is in use by another
process. Would you like to schedule this volume to be
checked the next time the system restarts? (Y/N) Y

This volume will be checked the next time the system restarts.
/output

Yet when I restart, there is no unusual lag in the start up (which would 
be necessary to scan an entire hard drive). I also continue getting the 
message, upon running chkdsk without /f, that I need to do chkdsk /f. Weird.


-Pingveno

Grimaldy Soto wrote:
I suposed that if the partition is in use it's because is the main 
partition, if not you can use the /x option for chkdsk if will force a 
dismount, anyway why you no resize the partition with a partition 
manager like partition magic.


Its better and faster and course lets dangerous that making inside from 
linux.


On 11/12/05, *Pingveno*  [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


I'm trying to resize an NTFS partition to fit Gentoo on a new
laptop. As
recommended by countless sources all over the Internet, I am using
Knoppix  Qtparted for resizing. However, QTParted complains about
accounting errors in the NTFS filesystem (yes, I know that's redundant).
After a little bit of Google searching, I discovered I needed to use
chkdsk on Windows with the /f switch to fix the errors. Easy. Of course,
chkdsk alerted me that it can't modify a running NTFS system. Okay, so I
do what it recommends to me: let the checking be run after a reboot.

None of this is exactly extraordinary. However, there is the slight
problem that chkdsk never actually runs at start up. No bueno. Any
tricks to con it into working?

-Pingveno

P.S. This is a Thinkpad T43

--
gentoo-user@gentoo.org mailto:gentoo-user@gentoo.org mailing list




--
We must agree that the beauty of a work of art will always remain a
mystery, in other words, we can never be absolutely sure 'how it's made.'
We must at all costs preserve this magic which is peculiar to music and to
which, by its nature, music is of all arts the most receptive.
-Claude Debussy-



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] recommendatoin for a new server

2005-11-12 Thread John Jolet
built 20 blade-type servers.  tyan tomkat motherboard with dual-core opteron 
processers and sata drives.  also single-core.  the single-core models ended 
up costing about a grand each, but 5 of them are supporting 500,000 web 
hits/day.
On Saturday 12 November 2005 20:31, El Nino wrote:
 Dear friends,

 i'm planning on buying a server for running gentoo(will b our 1st
 gentoo server) with a mail+dns server(1000mails/per day).

 i'm looking for sata raid,amd opteron  around 1GB ram.

 has anyone built a server recently that worked?

 1) can anyone give me a suggestions for a good(cost-effective)
 server(good with gentoo).



 --
 ...
 The future lies ahead.
 ___
  Have you mooed today? 
 
 \ ^__^
 \ (oo) \___
 (__) \ )\/\

 | |-w |

 2.6.14-gentoo-sinhalese-r1

-- 
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
[EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Keeping /usr/portage/distfiles empty. Need the room. :/

2005-11-12 Thread Dale
Pingveno wrote:

 As a horrible, horrible hack, you could just write a shell script to
 be run by crond. I'm sure there's something better, though.

Well, right now I'm just doing a rm -rfv /usr/portage/distfiles/* every
few hours.  It works but it did fill up once.  The system was still
running but the emerge had failed.  It couldn't create a directory that
it needed, you know the rest.  It did let me use the rm command though.

I'm trying to set up a rig for my Mom.  I may be moving soon and I want
her to learn how to use a puter, she's in her 70's so this will be fun,
we tried once before.  She has trouble grasping that she moves her hand
and the mouse pointer moves.  o_@  Clicking is fun too.  LOL

Maybe I can make it without to many more crashes.  At least when it
crashes it doesn't bork the whole system.  Poor thing.  1GHz proc and
256MBs of ram and a whimpy sized, slow as syrup hard drive.  :(

Somewhat off topic, what files can I safely delete in /tmp and /var ?  I
know not to delete the logs but some stuff is taking up some space.  It
sort of needs it.

Thanks

Dale
:-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nvidia driver problem

2005-11-12 Thread Hemmann, Volker Armin
On Sunday 13 November 2005 04:06, sempsteen wrote:

 Section Module

 # This loads the DBE extension module.

 Load dbe # Double buffer extension

 # This loads the miscellaneous extensions module, and disables
 # initialisation of the XFree86-DGA extension within that module.
 SubSection extmod
 Option omit xfree86-dga # don't initialise the DGA extension
 EndSubSection

 # This loads the font modules
 Load type1
 # Load speedo
 Load freetype
 # Load xtt

 # This loads the GLX module
 Load glx
 # This loads the DRI module
 # Load dri

 EndSection


you should also load 'ddc'

Option dpms in your monitor section would be usefull, too.

It would not harm you to remove the 'generic' and unneeded stuff. Makes the 
conf more readable.

Beside of that, your conf is looking good.
Did you did 'opengl-update nvidia' or 'eselect opengl set nvidia'?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Keeping /usr/portage/distfiles empty. Need the room. :/

2005-11-12 Thread Dale
Don't shoot me, he top posted so I assume he likes it too.

Noobie alert.  Take hand and with a quick motion go right over the top
of your head.  I did get the emerge -fup PACKAGE part though.

What I was needing is this.  Let's say I want to install mozilla.  I
issue the command, it downloads it from my local server.  Then it
compiles and installs it.  Then it deletes the source files in
/usr/portage/distfiles.  If it fails to install, I don't mind it staying
there then.

I thought I saw this option somewhere once before but I couldn't find
it.  I thought maybe it was in my blind spot somewhere.  Maybe not.  I
was hoping it was a option that I could set in make.conf or with the
emerge command itself.

Oh, well.  It almost through installing now.  Maybe I can keep it
cleaned out.

 swifty / # df
 Filesystem   1K-blocks  Used Available Use% Mounted on
 /dev/hda6  3564108   2352532   1211576  67% /
 udev12733684127252   1% /dev
 /dev/hda148312 37412 10900  78% /boot
 none127336 0127336   0% /dev/shm
 swifty / #


I hope she doesn't want to save a lot fo junk.  LOL

 says prayer 

Dale
:-)


Arturo 'Buanzo' Busleiman wrote:

 Write a wrapper for emerge.

 (example for updating a package):

 First, get the output of emerge -fup PACKAGE. Use basename to get the
 filename. Save that in a variable.

 Second, emerge -u PACKAGE  (for f in $FILES; do rm -f $f; done)

 On Sat, 12 Nov 2005, Pingveno wrote:

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: nvidia driver problem

2005-11-12 Thread Pingveno
I am by no means an expert on this subject, but any time you have an X 
server problem, you run startx -- :1 from a shell. This starts the X 
server up on virtual terminal 8. The X server starts dumping out 
information, which might be helpful for diagnostics.


-Pingveno

sempsteen wrote:

Hi,
I've installed the nvidia drivers by the walkthrough of Gentoo Linux 
nVidia Guide. Emerge installed nvidia-glx v1.0.6629-r6 and 
nvidia-kernel v1.0.6629-r4 with no problems and i did the necessary 
changes in the xorg.conf file. Then i tested my card with glxinfo | 
grep direct and glxgears and i got errors:


glxinfo | grep direct
Xlib:  extension GLX missing on display :0.0.
Xlib:  extension GLX missing on display :0.0.
Xlib:  extension GLX missing on display :0.0.
Error: couldn't find RGB GLX visual
Xlib:  extension GLX missing on display :0.0.
Xlib:  extension GLX missing on display :0.0.
Xlib:  extension GLX missing on display :0.0.
Xlib:  extension GLX missing on display :0.0.

glxgears
Xlib:  extension GLX missing on display :0.0.
glxgears: Error: couldn't get an RGB, Double-buffered visual.

Also after a restart gdm couln't start with a X server error:
Failed to start the X server (your graphical interface). It is likely 
that it is not set up correctly...


I searched the net but couldn't find a solution yet. Please help me to 
solve this problem, thanks.




--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] recommendatoin for a new server

2005-11-12 Thread Bob Sanders
On Sun, 13 Nov 2005 08:31:10 +0600
El Nino [EMAIL PROTECTED] wrote:

 i'm looking for sata raid,amd opteron  around 1GB ram.
 

I wouldn't worry about whether it's parallel or sata raid.  If you
need high i/o it needs to be SCSI.  Otherwise either IDE or SATA works fine
with little difference in performance between the two.

Also, IDE/SATA drives will need to be replaced at a higher rate than SCSI
drives.  Just a fact of life.

 has anyone built a server recently that worked?
 
 1) can anyone give me a suggestions for a good(cost-effective)
 server(good with gentoo).


I've been using a Penguin computing 1U for almost 2 years now.  And I run
a home built dual Opteron - Tyan Thunder motherboard.  Stay away from 
MSI and ASUS if reliability is a major concern.   So far the only real
problem has been one Opteron having a flakey memory controller.  Only
fails on specific things - emerging nvidia-glx/kernel.  Replacing both
cpus next week.

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



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

2005-11-12 Thread Willie Wong
On Sat, Nov 12, 2005 at 06:56:46PM -0600, Harry Putnam wrote:
 Do you mean to bock every address on the internet?  I'm not following
 you hear.  Further I don't see an option to block ip addresses in the
 blocking section at all.  Only by keywords.

Yes, the netgear will do it. My crappy netgear router will, so your
much higher end machines will too. 
 
 Are we looking at the same router?
 (here is it FVS318)
 I see:
 
 # Security Logs
 # Block Sites
 # Block Service

This is the one. Block service allow you to specify which LOCAL ip
addresses you want to limit the service for. 

Just set up static ip for machines 3-5 (or DHCP with fixed ip
addresses for those machines based on hardware address). Set the
blocking schedule to always. For ALL services you find in the list,
supply the ips for those three machines. 

W

-- 
The last time anybody made a list of the top hundred 
character attributes of New Yorkers, common sense snuck in 
at number 79. 
When it's fall in New York, the air smells as if someone's 
been frying goats in it, and if you are keen to breathe the 
best plan is to open a window and stick your head in a 
building. 

- Nuff said?? 
Sortir en Pantoufles: up 20:10
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nvidia driver problem

2005-11-12 Thread Bob Sanders
On Sun, 13 Nov 2005 05:06:12 +0200
sempsteen [EMAIL PROTECTED] wrote:

 Hi,
 I've installed the nvidia drivers by the walkthrough of Gentoo Linux nVidia
 Guide. Emerge installed nvidia-glx v1.0.6629-r6 and nvidia-kernel
 v1.0.6629-r4 with no problems and i did the necessary changes in the 
 xorg.conf file. Then i tested my card with glxinfo | grep direct and
 glxgears and i got errors:
 

Well, your /etc/X11/xorg.conf  looks fine, but the log shows that the glx module
was not loaded.  Did you reboot after the emerge?

I suggest trying the following logged in as root -

mv /etc/X11/xorg.conf /etc/X11/xorg.conf.2D
cd $home
/etc/init.d/xdm stop
From the console -
X -confgure
vi/nano /etc/X11/xorg.conf
- Change - /dev/mouse to /dev/misc/psaux (or whatever 
your favorite is)
- Comment out load dri
Then do (X will tell you what the proper command line is at the 
end of configure) -
X -file /root/xorg.conf.new
If X comes up, exit out,
cp /root/xorg.conf.new /etc/X11/xorg/conf
/etc/init.d/xdm start
You may need to change or add a mode line to get the resolution 
you want
and add a - DefaultDepth 24 to - Section Screen
But it should load glx with no problem.

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



Re: [gentoo-user] nvidia driver problem

2005-11-12 Thread Willie Wong
On Sun, Nov 13, 2005 at 05:06:12AM +0200, sempsteen wrote:
 (II) LoadModule: nv
 (II) Loading /usr/lib/modules/drivers/nv_drv.o
 (II) Module nv: vendor=X.Org Foundation
 compiled for 6.8.2, module version = 1.0.1
 Module class: X.Org Video Driver
 ABI class: X.Org Video Driver, version 0.7
 (II) NV: driver for NVIDIA chipsets: RIVA 128, RIVA TNT, RIVA TNT2,
 Unknown TNT2, Vanta, RIVA TNT2 Ultra, RIVA TNT2 Model 64,
 Aladdin TNT2, GeForce 256, GeForce DDR, Quadro, GeForce2 MX/MX 400,

Which xorg configuration is this? Whichever it is, it is not the one
used by Xorg given the error logs. 

The above states that it is loading module nv, which is the xorg
driver for nvidia chipsets. If you are using the nvidia driver, it
should say:

(II) LoadModule: nvidia
(II) Loading /usr/lib/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor=NVIDIA Corporation
compiled for 4.0.2, module version = 1.0.7676
Module class: XFree86 Video Driver
(II) NVIDIA dlloader X Driver  1.0-7676  Fri Jul 29 13:00:04 PDT 2005
(II) NVIDIA Unified Driver for all NVIDIA GPUs
(II) Primary Device is: PCI 01:00:0
(--) Assigning device section with no busID to primary device
(--) Chipset NVIDIA GPU found
..

check to make sure the xorg configuration you posted below is the same 
one at /etc/X11/xorg.conf, and that the error log above is from the 
failed attempt at starting X.


 
 My Xorg configuration
 
 
 # **
 # Graphics device section
 # **
 
 # Any number of graphics device sections may be present
 
 # Standard VGA Device:
 
 Section Device
 Identifier Standard VGA
 VendorName Unknown
 BoardName Unknown
 
 # The chipset line is optional in most cases. It can be used to override
 # the driver's chipset detection, and should not normally be specified.
 
 # Chipset generic
 
 # The Driver line must be present. When using run-time loadable driver
 # modules, this line instructs the server to load the specified driver
 # module. Even when not using loadable driver modules, this line
 # indicates which driver should interpret the information in this section.
 
 Driver vga
 # The BusID line is used to specify which of possibly multiple devices
 # this section is intended for. When this line isn't present, a device
 # section can only match up with the primary video device. For PCI
 # devices a line like the following could be used. This line should not
 # normally be included unless there is more than one video device
 # intalled.
 
 # BusID PCI:0:10:0
 
 # VideoRam 256
 
 # Clocks 25.2 28.3
 
 EndSection
 
 # Device configured by xorgconfig:
 
 Section Device
 Identifier TNT2
 Driver nvidia
 #VideoRam 16384
 # Insert Clocks lines here if appropriate
 EndSection
 


W
-- 
I'm going to do this in more stupid fashion in a moment.
~DeathMech, S. Sondhi. P-town PHY 205
Sortir en Pantoufles: up 20:18
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nvidia driver problem

2005-11-12 Thread abhay
On Sunday 13 Nov 2005 8:36 am, sempsteen wrote:
snip
 # **
 # Module section -- this section is used to specify
 # which dynamically loadable modules to load.
 # **
 #
 Section Module
...
 # Load dri

 EndSection
...
 # Section DRI
 # Mode 0666
 # EndSection

AFAIK these sections should be uncommented i relevant sections to load dri 
module and set required permissions. Also put the user in video group.

Abhay


pgpTFu0S3lkyN.pgp
Description: PGP signature


Re: [gentoo-user] Re: NTFS resizing

2005-11-12 Thread abhay
On Sunday 13 Nov 2005 8:43 am, Pingveno wrote:
 Yeah, this is the main partition. According to the web sites I have
 read, there should be no problem with what I'm doing, even with this
 being the boot partition.

 Here's the message I get when I run chkdsk /f:
 output
 The type of the file system is NTFS.
 Cannot lock current drive.

 Chkdsk cannot run because the volume is in use by another
 process. Would you like to schedule this volume to be
 checked the next time the system restarts? (Y/N) Y

 This volume will be checked the next time the system restarts.
 /output

 Yet when I restart, there is no unusual lag in the start up (which would
 be necessary to scan an entire hard drive). I also continue getting the
 message, upon running chkdsk without /f, that I need to do chkdsk /f.
 Weird.

 -Pingveno
Looks like some how dirty bit setting has been disabled on your drive which is 
essential for running chkdsk at boot time. Try running fsutil to query/set 
the dirty bit on your drive. To read more about fsutil head here
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/ServerHelp/740cb38b-66dc-41e2-9f0b-7f2816c7c2ca.mspx

Abhay


pgp6fm52PHnLI.pgp
Description: PGP signature


[gentoo-user] looking for wireless technology

2005-11-12 Thread El Nino
dear friends,

i have a 128kbps Internet connection to my home  now i want give
access to my college friends to it. (i already have two running
squid+firewall gentoo servers)

I'm looking for wireless technology to do this. all friends are within 1km.

can anyone give me a solution to do this?

all advices are warmly welcome...


--
...
The future lies ahead.
 ___
 Have you mooed today? 
 
\^__^
 \   (oo) \___
 (__) \ )\/\
| |-w   |
| || |

2.6.14-gentoo-sinhalese-r1

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nvidia driver problem

2005-11-12 Thread Hemmann, Volker Armin
On Sunday 13 November 2005 05:13, abhay wrote:
 On Sunday 13 Nov 2005 8:36 am, sempsteen wrote:
 snip

  # **
  # Module section -- this section is used to specify
  # which dynamically loadable modules to load.
  # **
  #
  Section Module

 ...

  # Load dri
 
  EndSection

 ...

  # Section DRI
  # Mode 0666
  # EndSection

 AFAIK these sections should be uncommented i relevant sections to load dri
 module and set required permissions. Also put the user in video group.

 Abhay

you are so totally wrong...

no.

dri has to be removed and the stuff at the end to be removed or commented out. 
So he got that correct.

DRI is for Ati users and other poor sods.

Please read the nvidia README
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Printer configuration for Flash

2005-11-12 Thread Willie Wong
Hum, does anyway know how to set up the printer configuration for the
Macromedia Flash plugin? 

Someone wrote a nifty flash page from which he offered a print button
to print the content generated. Unfortunately, it seems to only want
to send the job to lpr, without an option to print to file. Right
clicking on the flash widget doesn't help, since the Setup option
isn't very well done. 

Two problems are encountered:

  1) I don't have a printer on this box. cupsd was left over from a
  long time ago when I did. So lpr really wouldn't do any good. It
  would be nice if I could print to file and copy it to be printed
  elsewhere. 

  2) Even if I do have a printer, the print command still won't work,
  since there kept popping up an error:

lpr: error - unknown option ''!

  I assume there was an environmental variable the plugin is reading,
  possibly in trying to determine which printer to print to, and that
  included passing a single-quote enclosed string to lpr

Temporarily I have the problem solved in a very non-elegant way: I
replaced /usr/bin/lpr with a stub entry that is basically a
shellscript that calls 'cat' and dumps the output to a file in /tmp

But I hope there is a better solution...

Thanks, 

W
-- 
In this course we will of course make use of God's Units, namely 
   h-bar = c = 1
but occasionally I will indulge myself in my personal addition to
those units, in the form of 
   2 = -1 = pi = i = 1
please feel free to interject whenever you feel confused, and I will
make my best effort to clarify things. 
   ~Prof. Herman Verlinde explaining the things. 
PHY 509, Intro to QFT, first lecture 09-12-03
Sortir en Pantoufles: up 21:40
-- 
gentoo-user@gentoo.org mailing list



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

2005-11-12 Thread Mike Williams
On Sunday 13 November 2005 01:49, Brian Parish wrote:
 I am trying to add a software RAID 5 disk set to an existing machine
 installed using genkernel.  All the RAID support is compiled into the
 kernel, but no /dev/md? device files exist.  I can create these using mknod
 and make the RAID, but they don't survive a reboot.  How do I tell udev to
 create these files as persistant devices?

All partitions in the RAID set need to be set to partition type fd (Linux raid 
autodetect), then the kernel will build the arrays during startup.

-- 
Mike Williams

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] looking for wireless technology

2005-11-12 Thread Willie Wong
On Sun, Nov 13, 2005 at 11:02:09AM +0600, El Nino wrote:
 i have a 128kbps Internet connection to my home  now i want give
 access to my college friends to it. (i already have two running
 squid+firewall gentoo servers)
 
 I'm looking for wireless technology to do this. all friends are within 1km.

A noble pursuit, but I doubt it could be done easily... AFAIK
IEEE802.11 is mostly reliable only for clients within 100 meters.
Unless you live on the top of a hill with wide open space all around
you for kilometers, I doubt you'd get coverage all the way out of 1
kilometer. And if someone happened to be using wireless on neighboring
frequency bands to the one you are using, and if that someone happened
to be physically closer to your friend than you are, there's almost no
hope in establishing a connection...

Of course, you could mean wireless other than 802.11, but I don't
think IP over carrier pigeons or bongo drums[1] would do you much good
either. 

If you have line-of-sight, you might be able to make do with a
pair of directional antennae set up in the right way, and you might
need a way of increasing the power output of the antennae. Any such
modifications, however, is surely ILLEGAL in most civilized
municipalities. 

The long-range wireless guys who have been doing stuff like this all
have ham licenses, and are allowed quite a bit more power from their
devices then us lowly consumers

Best

W
 
 can anyone give me a solution to do this?
 
 all advices are warmly welcome...

[1] http://arstechnica.com/news.ars/post/20030929-2886.html
-- 
This one's a bitummm...graphic?
Lagrangian Mechanics with Differential Equations is like masturbating. You do 
what works and what makes you feel good.
~DeathMech, Some Student. P-town PHY 205
Sortir en Pantoufles: up 21:59
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: NTFS resizing

2005-11-12 Thread Pingveno

abhay wrote:

On Sunday 13 Nov 2005 8:43 am, Pingveno wrote:

Yeah, this is the main partition. According to the web sites I have
read, there should be no problem with what I'm doing, even with this
being the boot partition.

Here's the message I get when I run chkdsk /f:
output
The type of the file system is NTFS.
Cannot lock current drive.

Chkdsk cannot run because the volume is in use by another
process. Would you like to schedule this volume to be
checked the next time the system restarts? (Y/N) Y

This volume will be checked the next time the system restarts.
/output

Yet when I restart, there is no unusual lag in the start up (which would
be necessary to scan an entire hard drive). I also continue getting the
message, upon running chkdsk without /f, that I need to do chkdsk /f.
Weird.

-Pingveno
Looks like some how dirty bit setting has been disabled on your drive which is 
essential for running chkdsk at boot time. Try running fsutil to query/set 
the dirty bit on your drive. To read more about fsutil head here

http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/ServerHelp/740cb38b-66dc-41e2-9f0b-7f2816c7c2ca.mspx

Abhay
Strange. Even when I set the dirty bit and restart, no check was done. I 
think it's time to call up IBM. Maybe one of their wonderful 
contraptions is stopping chkdsk at startup _


-Pingveno

-Pingveno

--
gentoo-user@gentoo.org mailing list



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

2005-11-12 Thread Harry Putnam
John Jolet [EMAIL PROTECTED] writes:

 On Saturday 12 November 2005 18:56, Harry Putnam wrote:
 John Jolet [EMAIL PROTECTED] writes:
  The netgear will do it.  you can give it ip addresses to block.
  look at the schedule setups.  set them up only to be able to access
  the internet for, say a second on sunday at 3 am, and not for the
  rest of the time

 Do you mean to bock every address on the internet?  I'm not following
 you hear.  Further I don't see an option to block ip addresses in the
 blocking section at all.  Only by keywords.

 Are we looking at the same router?
 (here is it FVS318)
 I see:

 # Security Logs
 # Block Sites
 # Block Service
 # Add Service
 # Schedule
 here.  you set a schedule, then limit certain ip addresses to access only at 
 certain times...you make the time slice small enough, you've effectively 
 blocked them.
 # E-mail


Willie Wong [EMAIL PROTECTED] writes:


 # Block Service

 This is the one. Block service allow you to specify which LOCAL ip
 addresses you want to limit the service for. 

 Just set up static ip for machines 3-5 (or DHCP with fixed ip
 addresses for those machines based on hardware address). Set the
 blocking schedule to always. For ALL services you find in the list,
 supply the ips for those three machines. 

Apparently you too are not looking at the router I've specified:
NETGEAR FVS318

In the schedule section there is only one place to put an IP address
and that is for an ntp server if you want one.

http://home.jtan.com/~reader/exp/web_ready/dispimg.cgi

-- 
gentoo-user@gentoo.org mailing list



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

2005-11-12 Thread Richard Fish
On 11/12/05, Mike Williams [EMAIL PROTECTED] wrote:
 On Sunday 13 November 2005 01:49, Brian Parish wrote:
  I am trying to add a software RAID 5 disk set to an existing machine
  installed using genkernel. All the RAID support is compiled into the
  kernel, but no /dev/md? device files exist. I can create these using mknod
  and make the RAID, but they don't survive a reboot. How do I tell udev to
  create these files as persistant devices?

 All partitions in the RAID set need to be set to partition type fd (Linux raid
 autodetect), then the kernel will build the arrays during startup.

FYI, this is only true if the raid drivers are compiled into the
kernel (no modules), and you do _not_ use an initramfs to boot the
system.  If you use an initramfs, the kernel skips the autodetection
of raid arrays.

-Richard

-- 
gentoo-user@gentoo.org mailing list



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

2005-11-12 Thread Brian Parish
On Sunday 13 November 2005 17:23, Richard Fish wrote:
 On 11/12/05, Mike Williams [EMAIL PROTECTED] wrote:
  On Sunday 13 November 2005 01:49, Brian Parish wrote:
   I am trying to add a software RAID 5 disk set to an existing machine
   installed using genkernel. All the RAID support is compiled into the
   kernel, but no /dev/md? device files exist. I can create these using
   mknod and make the RAID, but they don't survive a reboot. How do I tell
   udev to create these files as persistant devices?
 
  All partitions in the RAID set need to be set to partition type fd (Linux
  raid autodetect), then the kernel will build the arrays during startup.

 FYI, this is only true if the raid drivers are compiled into the
 kernel (no modules), and you do _not_ use an initramfs to boot the
 system.  If you use an initramfs, the kernel skips the autodetection
 of raid arrays.

 -Richard

I did and it does (skip that is).  Thanks again Richard.

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



Re: [gentoo-user] recommendatoin for a new server

2005-11-12 Thread kashani

El Nino wrote:

Dear friends,

i'm planning on buying a server for running gentoo(will b our 1st
gentoo server) with a mail+dns server(1000mails/per day).

i'm looking for sata raid,amd opteron  around 1GB ram.

has anyone built a server recently that worked?

1) can anyone give me a suggestions for a good(cost-effective)
server(good with gentoo).


I ebay'ed a nice HP DL360 recently as my new personal server with some 
break even paid web hosting. Dual 3.0Ghz Xeons, 4GB RAM, RAID card, and 
two 73GB 10k SCSI drives. $1500.


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



Re: [gentoo-user] [OT] Is a wiki what I'm after?

2005-11-12 Thread Robert Persson
On November 11, 2005 11:33 pm Andrew Lowe was like:
  A wiki is one of the first things to come to mind. I'm contemplating
 setting a wiki up on my trusty little firewall/email/squid/dns
 server, scanning the clipping, creating an entry in the wiki, placing,

By all means consider using your 'puter to help with your filing.  The wiki 
might well be a good idea.  However please don't underestimate the power of 
your memory.

One technique that I sometimes find useful is to collect things based on 
criteria that are apparently irrelevant to what I am doing, but appeal to the 
senses.  For instance I might, in your situation, sort the material based on 
arbitrary criteria, such as Can I see an indoor plant in this photo? or 
Does this text mention the eating of food?  by remembering one thing about 
the document you stand a good chance of remembering the other things, and you 
will also stand a good chance of remembering where you put it.

Decorate the files and boxes too.  The decorations don't necessarily have to 
be relevant.  Wallpaper scraps, colourful pictures of animals, unusual 
handwriting - whatever it takes to get the stuff through your visual cortex 
or your fingers and to get your memory working the way it wants to.

Of course different techniques may work better for you.  Go to the library and 
get a book or two on improving your memory, clutter reduction, whatever.  Use 
the ones that help and ditch the ones that don't.  Find what works for you.  
Then, if you still need to, set up an electronic database that thinks the way 
you like to.

Robert  
-- 
Robert Persson

Don't use nuclear weapons to troubleshoot faults.
(US Air Force Instruction 91-111, 1 Oct 1997)


-- 
gentoo-user@gentoo.org mailing list