[gentoo-user] shutdown, restart problem

2005-10-24 Thread Martins Steinbergs
hi,

i run into this problem, calling for shutdown or restart wont work, and cant 
find any logs on that. when xserver closes there is mess on screen and i 
loose any control over - just power button. Any ideas where to look? I dont 
keep track but possibly this is after baselayout and udev upgrade.

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



[gentoo-user] [ot] PDF or PS format for daily use?

2005-10-24 Thread Zhang Weiwu
Hello. I have got a lot (much more) ps files and PDF files since I start to
use Linux. In the past there were mostly doc files but now I always prefer
to have a PS or PDF copy to ease the compatibility pain. And looks linux
people always prefer to send me a PS or PDF document.

Because I always save two copies of every of my document, one in original
format (eg. odt) and another in printable format for my colleagues in case
they don't have the Linux fonts and software. Here comes the question should
I keep a PS copy or PDF copy.

I think PDF copy is absolutely the prefered format because:
* easier to find acrobat reader;
* can be 'Tagged', especially used with OOo;
* possibility to 'copy and paste', though format will be lost;
* not to take other people by surprise with unfamiliar PS extension;
* different quanlity: I can save PDF in very high quanlity that I was told
can be taken to press house
* easy to convert to PS format when needed.

Here comes the question: if the above all stands true, why do I ever need PS
format at all? There might be some reasons to keep this format still
existing. Perhaps in other areas, other then office work.

So the conclusion: for typical office workers, we can forget PS format.

Now welcome for suggestions.

P.S. another quesiton I happen wish to have an answer: in one case, I have
to keep PS format because, I can print booklet (brochure) in OOO2 right the
way I expected, but if I carry this brochure to my colleague, and he doesn't
have openoffice, then I try to export to PDF format, and found there is no
'brochure' option in exporting, also there is no 'brochure' option in
Acrobat Reader printing dialogue box, so it's clear if I export to PDF
format I will never be able to print it in brochure style on a normal PC, so
I have to print to PS file and carry it. But so far this is the only case I
think I need PS format. If I only exported PDF format, can I still print a
brochure? The difficulty in printing brochure is you have to make correct
page order.

--
Zhang Weiwu   CEO Real Softservice
International business: http://www.realss.com
International sales:0086 10 84606011
Inland business:http://www.realss.cn
Inland sales call:  0086 592 2099987
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: CFLAGS setting for Intel(R) Pentium(R) M processor 1.73GHZ stepping 08

2005-10-24 Thread Jochen Schalanda
On 10/22/2005 05:31 PM, Richard Watson wrote:
 I've just got a new laptop I'm installing Gentoo on and was wondering if
 anyone could advise on the CFLAG setting I'm using. The CPU is a
 Intel(R) Pentium(R) M processor 1.73GHZ stepping 08. Currently I've set
 CFLAGS=-02 -mcpu=pentium -pipe

Honestly, did these CFLAGS ever work? I don't think GCC knows something
about a parameter called -02.
Anyway, I'm using CFLAGS=-O2 -march=pentium-m -pipe on my Centrino
laptop for about 2 years now without problems. The architecture
pentium-m is available from GCC 3.4 on. GCC 3.3 doesn't support it. If
you use GCC 3.3.x, you should set CFLAGS=-O2 -march=pentium3 -pipe.

You should also take a look at [1] and [2].

[1]: http://gentoo-wiki.com/CFLAGS
[2]: http://gentoo-wiki.com/Safe_Cflags

--
Regards
Jochen
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] vnc

2005-10-24 Thread Mark
I followed the instructions on the Gentoo wiki about configuring VNC
server, but I am not able to connect either inside the LAN or from the
outside, despite having port forwarding enabled for it on my firewall.
I went through the instructions twice, and everything is as listed.
Anybody know if there are some common mistakes made not mentioned in
the article that I might check for? Alternatively, is there a better
solution for remote access to my Gentoo box I should be looking at?
Thanks!-- Mark[unwieldy legal disclaimer would go here - feel free to type your own]


Re: [gentoo-user] shutdown, restart problem

2005-10-24 Thread Iain Buchanan
On Mon, 2005-10-24 at 00:28 +0300, Martins Steinbergs wrote:

 i run into this problem, calling for shutdown or restart wont work, and cant 
 find any logs on that. when xserver closes there is mess on screen and i 
 loose any control over - just power button. Any ideas where to look? I dont 
 keep track but possibly this is after baselayout and udev upgrade.

Do you mean it _used_ to work, and doesn't any more, or it never worked
properly?

Do you have a laptop?

What display driver are you using for X?

Are you using a framebuffer console?

I suspect it may be your X driver conflicting with your framebuffer
driver.

HTH,
-- 
Iain Buchanan [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Script Run From Cron Sometimes Leaves Defunct sh Process

2005-10-24 Thread Drew Tomlinson
I wrote a script to read a smbfs mounted filesystem and make symlinks to 
the files locally.  The script appears to run fine interactively and 
fine most of the time when run by cron.  I run the script every half 
hour.  Over the course of a week or so, 15 - 20 defunct sh processes 
show up in the ps output.  I've Googled and learned that the child (my 
script) is exiting but the parent (cron) is still around.  So now my 
question is why and what's wrong with my script to cause this 
occasional behavior.  And more importantly, how can I fix it?  :)


Thanks for your help!

Drew

--- BEGIN ---
#! /bin/sh

# 10/13/05
# This script creates symlinks to media files on Blacklamb.  Because MythTV
# needs to write it's own . files and such, mounting a read-only share 
and

# then creating symlinks locally keeps the share on Blacklamb clean.

remote_dir=/multimedia/Pictures
local_dir=/tv/pictures
find_args=-iname \*.jpg\ -or -iname \*.gif\

# Don't wipe out the entire directory or else MythTV has to recreate all its
#  local cache files.  Consider using find with above $find_args to remove
# symlinks and avoid listing each *.xxx explicitly.
echo -e \nRemoving old symlinks from $local_pictures_dir...
rm $local_pictures_dir/*.[Jj][Pp][Gg]
rm $local_pictures_dir/*.[Gg][Ii][Ff]

# Default sh delimiter is a space and is stored in $IFS.
# This caused $original to be truncated at the first space in the file 
name.

# Save $IFS and then set sh delimeter to a newline so 'for' loop works.
OLDIFS=$IFS
IFS='
'
echo -e \nCreating new symlinks in $local_pictures_dir...

# Search directory contained in $remote_dir using criteria in $find_args
for original in \
   $( eval /usr/bin/find $remote_dir \( $find_args \) -print )
   do

   # Remove $remote_dir from filename and replace remaining / 
with -

   # and spaces with _.  Save in $newfile
   newfile=`echo $original | cut --delimiter=/ --fields=4- | \
   sed -e s/\//-/g -e s/ /_/g`

   # Create symlink from original file to $newfile in $local_dir
   # specified above.
   ln -s $original $local_dir/$newfile
  
   # Increase count by 1

   count=$(( count + 1 ))
done

# Reset $IFS to original value
IFS=$OLDIFS

# Print number of symlinks created.
echo -e \nCreated $count symlinks.

exit
--- END ---
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CFLAGS setting for Intel(R) Pentium(R) M processor 1.73GHZ stepping 08

2005-10-24 Thread Renat Golubchyk
Hi!

On Sun, 23 Oct 2005 01:31:32 +1000 Richard Watson [EMAIL PROTECTED]
wrote:
 I've just got a new laptop I'm installing Gentoo on and was wondering
 if anyone could advise on the CFLAG setting I'm using. The CPU is a
 Intel(R) Pentium(R) M processor 1.73GHZ stepping 08. Currently I've
 set CFLAGS=-02 -mcpu=pentium -pipe

Use -mcpu=pentium-m for a Pentium-M CPU. (BTW, -mcpu is deprecated in
favor of -mtune.)
I use CFLAGS=-march=pentium-m -O2 -pipe -fomit-frame-pointer.

Cheers,
Renat

-- 
Probleme kann man niemals mit derselben Denkweise loesen,
durch die sie entstanden sind.
  (Einstein)


pgpX5PYbI0dTQ.pgp
Description: PGP signature


[gentoo-user] #emerge asterisk ::: giving me an error

2005-10-24 Thread Widyachacra Rajapaksha
dear friends,

i just try to emerge asterisk for my gentoo box. unfotunatly it stopped by giving me an error. pls help me to emerge it.


#emerge info
Gentoo Base System version 1.12.0_pre8
Portage 2.0.53_rc6 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-gentoo-r2-AIT-v3.53 i686)
=
System uname: 2.6.13-gentoo-r2-AIT-v3.53 i686 Pentium III (Coppermine)
dev-lang/python: 2.3.4-r1, 2.4.2
sys-apps/sandbox: 1.2.13
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.20
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS=x86 ~x86
AUTOCLEAN=yes
CBUILD=i686-pc-linux-gnu
CFLAGS=-march=pentium3 -O3 -pipe -fstack-protector
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/kde/2/share/config /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 /var/bind /var/qmail/alias
/var/qmail/control /var/vpopmail/domains /var/vpopmail/etc
CONFIG_PROTECT_MASK=/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d
CXXFLAGS=-march=pentium3 -O3 -pipe -fstack-protector
DISTDIR=/home/storage/public/gentoo/distfiles
FEATURES=autoconfig candy ccache distcc distlocks sandbox sfperms strict userpriv usersandbox
GENTOO_MIRRORS=http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo

LINGUAS=si
MAKEOPTS=-j2
PKGDIR=/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=x86 16bit X a52 aac aalib acl acpi activefilter aliaschain alsa
apache2 apm audiofile avi bash-completion berkdb bitmap-fonts bl
bluetooth bmp browserplugin bzip2 cdparanoia cdr chroot cjk cnamefix
crypt css cups customlog dbus dga dhcp directfb divx4linux dlloader
dpms dts dv dvb edl eds emboss encode exif extraengine fam fame fax fb
fbcon fbdev fdftk ffmpeg firefox flac flash foomaticdb fortran fpx
freetds fwdzone gd gdbm ggi gif gimp glut gnutls gpgme gphoto2 gpm
graphviz gstreamer gtk gtk2 gtkhtml hal hpn id3 idn ieee1394
imagemagick imap imlib ipalias irda java _javascript_ jbig jikes jpeg
jpeg2 jpeg2k justify kde kdgraphics kerberos lame lcd lcms ldap libcaca
libclamav libg++ libwww lirc logmail logrotate lzo mad maildir
mailwrapper md5sum mikmod mime mjpeg mmap mmx mng motif mozcalendar
mozdevelop mozsvg mp3 mp4live mpeg mpeg2 mpi mplayer multipleip
musepack musicbrainz mysql nas ncurses network nfs nis nls nntp nptl
nsplugin oav odbc oggvorbis opengl oss pam pam_chroot pam_console
pdflib perl player png ppds python qmail qt quicktime quotas readline
real roundrobin rtc samba scanner sdl slang smime smp socks5
spamassassin speex spell sqlite sse sse-filters ssl svg svga sysfs
syslog tcltk tcpd tetex tga theora tiff truetype truetype-fonts
type1-fonts ucs2 udev underscores unicode usb utf8 v4l v4l2 vcd vhosts
vidix vorbis win32codecs winbind wmf xanim xine xml xml2 xmms xprint xv
xvid xvmc zeroconf zlib video_cards_ati linguas_si userland_GNU
kernel_linux elibc_glibc
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY



#emerge asterisk
[ebuild N ] net-misc/asterisk-1.0.9-r1
+alsa -bri -debug -doc +gtk -hardened +mmx +mysql -postgres -pri
-resperl +speex +vmdbmysql -vmdbpostgres -zaptel 0 kB


error in details,

gcc -shared -Xlinker -x -o cdr_odbc.so cdr_odbc.o -lodbc
gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Iinclude -I../include -D_REENTRANT
-D_GNU_SOURCE -march=pentium3 -O3 -pipe
-fstack-protector -DZAPTEL_OPTIMIZATIONS
-DASTERISK_VERSION=\1.0.9\ -DINSTALL_PREFIX=\\
-DASTETCDIR=\/etc/asterisk\ -DASTLIBDIR=\/usr/lib/asterisk\
-DASTVARLIBDIR=\/var/lib/asterisk\
-DASTVARRUNDIR=\/var/run/asterisk\
-DASTSPOOLDIR=\/var/spool/asterisk\ -DASTLOGDIR=\/var/log/asterisk\
-DASTCONFPATH=\/etc/asterisk/asterisk.conf\
-DASTMODDIR=\/usr/lib/asterisk/modules\
-DASTAGIDIR=\/var/lib/asterisk/agi-bin\
-DBUSYDETECT_MARTIN
-fPIC -c -o cdr_tds.o
cdr_tds.c
cdr_tds.c: In function `mssql_connect':
cdr_tds.c:415: error: `TDSCONNECTINFO' undeclared (first use in this function)
cdr_tds.c:415: error: (Each undeclared identifier is reported only once
cdr_tds.c:415: error: for each function it appears in.)
cdr_tds.c:415: error: `connection' undeclared (first use in this function)
cdr_tds.c:460: warning: implicit declaration of function `tds_free_connect'
cdr_tds.c: At top level:
cdr_tds.c:71: warning: 'connect_time' defined but not used
make[1]: *** [cdr_tds.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/asterisk-1.0.9-r1/work/asterisk-1.0.9/cdr'
make: *** [subdirs] Error 1


-- ---the path to freedom.--- 2.6.13-gentoo-r4


Re: [gentoo-user] gnome-vfs

2005-10-24 Thread Csanyi Andras
Sat, 22 Oct 2005 14:57:40 +0200 -kor Holly Bostick [EMAIL PROTECTED]
irta ezt:
  sayusi bundi # fix_libtool_files.sh 3.3.6 * Scanning libtool
  files for hardcoded gcc library paths...
 
 This is where you wen't wrong. If you need to run the script with
 further parameters, the usage is:
 
 Usage: fix_libtool_files.sh old-gcc-version [--oldarch
 old-CHOST]
 
 (taken from reading the script with less)
 
 But the thing is, your problem is not with gcc 3.3.6, as you put in
 the command; if the problem is that you upgraded gcc (did you?),
 the proper old version of gcc is listed in the error message:
 
 3.3.5-20050130
 
 So if libtool is failing because you upgraded gcc, the command
 should be
 
 fix_libtool_files.sh 3.3.5-20050130
 
 But if libtool is failing because you changed your CHOST (with or
 without upgrading gcc), the command should be
 
 fix_libtool_files.sh --oldarch i386-pc-linux-gnu
 
 So you might try running the script with the correct command and
 see if that helps more :-) .

Hi Holly!

Thank you the help!
My harddisk is crash, consistency problem. I make new install.

have a nice day! 


-- 
-- Csanyi Andras --
-Bízzál Istenben és tartsd szárazon a puskaport. - Cromwell
...a KERNEL legyen veletek...



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CFLAGS setting for Intel(R) Pentium(R) M processor 1.73GHZ stepping 08

2005-10-24 Thread Walter Dnes
On Sun, Oct 23, 2005 at 01:31:32AM +1000, Richard Watson wrote
 I've just got a new laptop I'm installing Gentoo on and was wondering if
 anyone could advise on the CFLAG setting I'm using. The CPU is a
 Intel(R) Pentium(R) M processor 1.73GHZ stepping 08. Currently I've set
 CFLAGS=-02 -mcpu=pentium -pipe

  Boot that machine with any linux distro, install CD, rescue CD,
whatever, and issue the command...

cat /proc/cpuinfo

Post the output here and we can help you, and you can learn how to help
yourself in future.  The flags line is the most useful portion of the
output.

-- 
Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CFLAGS setting for Intel(R) Pentium(R) M processor 1.73GHZ stepping 08

2005-10-24 Thread Peter Gordon
On Sun, 2005-10-23 at 01:31 +1000, Richard Watson wrote:
 I've just got a new laptop I'm installing Gentoo on and was wondering if
 anyone could advise on the CFLAG setting I'm using. The CPU is a
 Intel(R) Pentium(R) M processor 1.73GHZ stepping 08. Currently I've set
 CFLAGS=-02 -mcpu=pentium -pipe

If you're using the the GCC from stable (x86) portage (GCC 3.3), then
you should probably use something like:

CFLAGS=-O2 -march=pentium3 -msse2 -pipe

GCC 3.4 (marked unstable, ~x86) makes it a little simple by adding
a Pentium-M specific architecture type:

CFLAGS=-O2 -march=pentium-m -pipe

Although, on a laptop you might want to use -Os (size optimization)
in place of -O2, as the disk is a lot slower than desktop machines
and you will probably have longer startup times for programs. I'm not
too sure on that last part, a I don't have a laptop, though. Anyone
else want to take a stab at that? :)

Hope that helps.
--Peter


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


[gentoo-user] [OT] Moving system from single-disk to RAID-1 configuration

2005-10-24 Thread Dan Johansson
Hi,

I have a setup Gentoo on a Box with a onboard ATA Raid controller (Promise 
PDC20265 FastTrak100 Lite/Ultra100). At the moment I am only using one 
ATA-Disk on this controller (this is the only disk in the system).
Now I want to add a second Disk to this system and setup a RAID-1 
configuration. Can someone point me to a good HOWTO or something similar 
which describes how to setup this (grub/lilo/dm/...) on a 2.6 kernel.

Regards,
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***


pgpj7FgkmTzpa.pgp
Description: PGP signature


[gentoo-user] Uploading ebuilds

2005-10-24 Thread Rafael Fernández López
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I've created an ebuild for tkgate (http://www.tkgate.org). It is very
frustrating because I cannot see how to upload it or whatever. I'm not a
developer user in CVS so I cannot upload. If I fill in a bug for
uploading ebuilds (is the right way) I've created a patch file, so what
I've to do !!! THE EBUILD IS DONE !!! WHY CANNOT GENTOO USERS BENEFIT
FROM IT ??

Thanks,
Rafael Fernández López.

- -
Fight for your rights, Fight for GPL.
- -
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDXBEttPAXaALiLsARAhcYAKCNu82X2ehkHXerQgGZkEjDBNVV0ACfZdor
M5DKQSt/QnPc+/P8ZHpwM2E=
=SlAn
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Uploading ebuilds

2005-10-24 Thread Christoph Gysin

Rafael Fernández López wrote:

I've created an ebuild for tkgate (http://www.tkgate.org). It is very
frustrating because I cannot see how to upload it or whatever. I'm not a
developer user in CVS so I cannot upload. If I fill in a bug for
uploading ebuilds (is the right way) I've created a patch file, so what
I've to do !!! THE EBUILD IS DONE !!! WHY CANNOT GENTOO USERS BENEFIT
FROM IT ??


Yes, the right way is to file a bug on bugzilla. But be patient. A developer 
needs to be willing to maintain your ebuild, or it won't ever get accepted to 
portage.


Christoph

PS: Your Caps-Lock key seems to be broken.
--
echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CFLAGS setting for Intel(R) Pentium(R) M processor 1.73GHZ stepping 08

2005-10-24 Thread Octavio Ruiz (Ta^3)
Bill Roberts, who happens to be smarter than you, thinks:
 On 01:31 Sun 23 Oct , Richard Watson wrote:
  I've just got a new laptop I'm installing Gentoo on and was wondering if
  anyone could advise on the CFLAG setting I'm using. The CPU is a
  Intel(R) Pentium(R) M processor 1.73GHZ stepping 08. Currently I've set
  CFLAGS=-02 -mcpu=pentium -pipe
  --
  Thanks, Richard
  
  -- 
  gentoo-user@gentoo.org mailing list
  
 I have:
 
 CFLAGS=-02 -march=pentium4

That's right, for Dothan processors, 'pentium4m' or 'pentium4' should be
used. 'pentium-m' and 'pentium3'+sse2 are for old centrino processors.

:-)

-- 
Ego sum ens omnipotens.


pgp62cTfLhucG.pgp
Description: PGP signature


Re: [gentoo-user] CFLAGS setting for Intel(R) Pentium(R) M processor 1.73GHZ stepping 08

2005-10-24 Thread Richard Fish

Richard Watson wrote:


I've just got a new laptop I'm installing Gentoo on and was wondering if
anyone could advise on the CFLAG setting I'm using. The CPU is a
Intel(R) Pentium(R) M processor 1.73GHZ stepping 08. Currently I've set
CFLAGS=-02 -mcpu=pentium -pipe
 



With a 2.13Ghz pentium-m, I am using:
CFLAGS=-march=pentium-m -Os -fomit-frame-pointer -pipe

I recommend using either -Os or -O3 with the pentium-m.  In my 
experience, -Os and -O3 provide slightly better overall performance than 
-O2, although I should mention a few things will probably run slower.  
As far as mmx, sse, and the like, I'd say enable those through USE flags 
for those packages that support them.


Also, be sure you are using the latest version (3.4.4) of gcc by running 
gcc-config -l.


-Richard

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Connecting a Linux workstation to a Windoze server

2005-10-24 Thread Andrew Lowe

Hi all,
	I have the situation where I work that it is a total M$ setup. Our 
workstations use DHCP to grab IP addresses from the Win2003 server. For 
various reasons I want to place a Gentoo box on the network. For some 
reason when I try to bring up the network interface on the Gentoo box, 
which has a dhcp client, the dhcp client times out and I can't obviously 
get an IP address.


	Does anyone know of any gotcha's or traps for young players when trying 
to get IP addresses from a Win2003 server from the Linux world?


Any thoughts grealy appreciated,
Andrew
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] vnc

2005-10-24 Thread Nick Rout
On Sun, 23 Oct 2005 18:10:55 -0500
Mark [EMAIL PROTECTED] wrote:

 I followed the instructions on the Gentoo wiki about configuring VNC server,
 but I am not able to connect either inside the LAN or from the outside,
 despite having port forwarding enabled for it on my firewall. I went through
 the instructions twice, and everything is as listed. Anybody know if there
 are some common mistakes made not mentioned in the article that I might
 check for? Alternatively, is there a better solution for remote access to my
 Gentoo box I should be looking at? Thanks!
 
 --
 Mark
 [unwieldy legal disclaimer would go here - feel free to type your own]
 


well what sort error are you getting?

is there anything running on the vnc ports? (5800+, 5900+)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] way OT - doze equivalent for dvdrip for a linophobe friend

2005-10-24 Thread darren kirby
quoth the Antoine:
 Hi,
 I am really embarrassed to ask this question but I have spent a couple
 of hours searching and couldn't find anything even remotely as good as:
 emerge -av dvdrip

 a couple of clicks, legal (in France it is even LEGAL to copy rented
 dvds!!!) backup of dvd. Why are things so much more difficult with doze?!?
 Cheers
 Antoine

I still chuckle when my brother gives me CDs he just bought to rip to mp3 
because the DRM on windows won't let him do it himself 
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972


pgpqxc04GpMTa.pgp
Description: PGP signature


Re: [gentoo-user] emerge -u world won't update kde metapackages

2005-10-24 Thread Robert Persson
[This is the third time sending this post because it doesn't seem to be 
showing up on the list.  Sorry if it ends up being a duplicate (or a 
triplicate).]

Thank you everyone!

I have now discovered that my problem was that I still had some monolithic kde 
packages hanging around alongside the metapackages (e.g. kdeedu instead of 
kdeedu-meta).  I think I'd been unmerging them one at a time and didn't get 
around to finishing the job.  Now that I have done so emerge -u world seems 
to be catching the kde updates the way it should.
-- 
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



Re: [gentoo-user] OT -- gcc .o linking and undefined references

2005-10-24 Thread Christoph Gysin

Dan wrote:
The bit that makes me think I'm stupid is that it seems that neither gcc 
or I can find the source (.c) or compiled binaries (.o) which implement 
the structures and functions defined in ldap.h.  What am I doing wrong?  
Where are the .c and .o files supposed to be on a regular linux system? 
Where on gentoo? Have I missed a crucial flag?


Openldap (like most software) installs its code in libraries under /usr/lib. 
They are called libname.a (static) or libname.so (dynamic). In your case the 
file is called /usr/lib/libldap.so. But you don't really need to know that. To 
compile your code, simply type:


gcc -o your_prog main.o myfile1.o myfile2.o -lldap

Where -lldap means: link against libldap.

Christoph
--
echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Connecting a Linux workstation to a Windoze server

2005-10-24 Thread Nick Rout
On Sun, 23 Oct 2005 14:07:42 +1000
Andrew Lowe [EMAIL PROTECTED] wrote:

 Hi all,
   I have the situation where I work that it is a total M$ setup. Our 
 workstations use DHCP to grab IP addresses from the Win2003 server. For 
 various reasons I want to place a Gentoo box on the network. For some 
 reason when I try to bring up the network interface on the Gentoo box, 
 which has a dhcp client, the dhcp client times out and I can't obviously 
 get an IP address.
 
   Does anyone know of any gotcha's or traps for young players when trying 
 to get IP addresses from a Win2003 server from the Linux world?
 
   Any thoughts grealy appreciated,
   Andrew

Try running dhcpcd -d eth0

-d is debug, and may help you figure out what i going wrong.

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



Re: [gentoo-user] emerge -u world won't update kde metapackages

2005-10-24 Thread Robert Persson
Thank you everyone!

I have now discovered that my problem was that I still had some monolithic kde 
packages hanging around alongside the metapackages (e.g. kdeedu instead of 
kdeedu-meta).  I think I'd been unmerging them one at a time and didn't get 
around to finishing the job.  Now that I have done so emerge -u world seems 
to be catching the kde updates the way it should.
-- 
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



Re: [gentoo-user] Uploading ebuilds

2005-10-24 Thread Nick Rout
On Mon, 24 Oct 2005 00:39:42 +0200
Rafael Fernández López [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi,
 
 I've created an ebuild for tkgate (http://www.tkgate.org). It is very
 frustrating because I cannot see how to upload it or whatever. I'm not a
 developer user in CVS so I cannot upload. If I fill in a bug for
 uploading ebuilds (is the right way) I've created a patch file, so what
 I've to do !!! THE EBUILD IS DONE !!! WHY CANNOT GENTOO USERS BENEFIT
 FROM IT ??


Stop shouting.

bugs.gentoo.org is the place to submit it. Submit the ebuild and any supoprt 
files you need (like the patch file).

The devs are overworked volunteers. You cannot guarantee that it will pass 
muster anytime soon. So post it on a web site, post a link here, gentoo forums, 
get it tested, keep referring people to your bug post so that people can try it 
and post their comments.

 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] way OT - doze equivalent for dvdrip for a linophobe friend

2005-10-24 Thread Dan

Antoine wrote:


Hi,
I am really embarrassed to ask this question but I have spent a couple 
of hours searching and couldn't find anything even remotely as good as:

emerge -av dvdrip

a couple of clicks, legal (in France it is even LEGAL to copy rented 
dvds!!!) backup of dvd. Why are things so much more difficult with 
doze?!?

Cheers
Antoine


Buy anydvd from slysoft.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CFLAGS setting for Intel(R) Pentium(R) M processor 1.73GHZ stepping 08

2005-10-24 Thread Bill Roberts
On 01:31 Sun 23 Oct , Richard Watson wrote:
 I've just got a new laptop I'm installing Gentoo on and was wondering if
 anyone could advise on the CFLAG setting I'm using. The CPU is a
 Intel(R) Pentium(R) M processor 1.73GHZ stepping 08. Currently I've set
 CFLAGS=-02 -mcpu=pentium -pipe
 --
 Thanks, Richard
 
 -- 
 gentoo-user@gentoo.org mailing list
 
I have:

CFLAGS=-02 -march=pentium4

Seems to work nicely on my M processor.

Bill Roberts


pgpEV7wAWznAr.pgp
Description: PGP signature


[gentoo-user] bash completion for paths not working

2005-10-24 Thread Mark Knecht
Hi,
   On one machine of mine, and only one machine, bash completion is
not working for my user account when I try to complete a path. I hit
tab and nothing happens. Bash completion is working for files though.
I can do bash completion in my home directory and get a list of files,
but if I try to complete /usr/sr  but hitting a tab it just sits and
does nothing.

   It works fine for root.

   What turns this feature on for a user? I copied a good .bashrc file
from a working machine over and logged back into the bad machine but
that didn't fix it.

   man bash makes it look like it should be on by default.

  Thanks for the unix lesson.

Cheers,
Mark

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT -- gcc .o linking and undefined references

2005-10-24 Thread Dan
Hi everyone, I'm doing something really obviously wrong, but I don't 
know what.


I can gcc -c -o file.o file.c  and get a binary object.

I do this for the main and two helper .c files

This works, then I get a bunch of .o files.

then you usually do

gcc -o final executable name main.o myfile1.o myfile2.o

and gcc does the linking.

In thsi case, myfile2.c uses ldap_init and ldap_simple_bind, and 
myfile2.h inludes ldap.h.


At this point, there is no ldap.o, just the ldap.h from 
/usr/include/ldap.h so compile of everything stalls, saying that there 
is an undefined reference to the function ldap_init and ldap_simple_bind.


Testing indicates that you can do:

int main() {
thingy_do(123);
}

and it will happily do a gcc -c -o main main.c  and create the object, 
which is what it should -- it's not until we link .o's to create a real 
executable that the system wants to make sure the executable code exists.


The bit that makes me think I'm stupid is that it seems that neither gcc 
or I can find the source (.c) or compiled binaries (.o) which implement 
the structures and functions defined in ldap.h.  What am I doing wrong?  
Where are the .c and .o files supposed to be on a regular linux system? 
Where on gentoo? Have I missed a crucial flag?


Thanks in advance...

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Wired font problems in gtk applications:

2005-10-24 Thread Stoian Ivanov
   Since recently i began to see some wired font problems here are some screen 
shots: 

i tried reemerge xorg xfontconfig freetype but no success. I haven't  notice 
the problem in KDE programs. So what should I do (reemerge?)

some additional info:
[EMAIL PROTECTED] ~ $ equery list xorg
[ Searching for package 'xorg' in all categories among: ]
 * installed packages
[I--] [  ] x11-base/xorg-x11-6.8.2-r6 (0)
[EMAIL PROTECTED] ~ $ equery list qt
[ Searching for package 'qt' in all categories among: ]
 * installed packages
[I--] [  ] x11-libs/qt-3.3.4-r8 (3)
[EMAIL PROTECTED] ~ $ equery list freetype
[ Searching for package 'freetype' in all categories among: ]
 * installed packages
[I--] [  ] media-libs/freetype-1.3.1-r5 (1)
[I--] [  ] media-libs/freetype-2.1.10 (2)
[EMAIL PROTECTED] ~ $ equery list fontconfig
[ Searching for package 'fontconfig' in all categories among: ]
 * installed packages
[I--] [  ] media-libs/fontconfig-2.3.2 (1.0)
[EMAIL PROTECTED] ~ $ equery list gtk
[ Searching for package 'gtk' in all categories among: ]
 * installed packages
[I--] [  ] x11-themes/gtk-engines-2.6.5 (2)
[EMAIL PROTECTED] ~ $ equery list glib
[ Searching for package 'glib' in all categories among: ]
 * installed packages
[I--] [  ] dev-libs/glib-1.2.10-r5 (1)
[I--] [  ] dev-libs/glib-2.8.3 (2)
[EMAIL PROTECTED] ~ $ equery list qt
[ Searching for package 'qt' in all categories among: ]
 * installed packages
[I--] [  ] x11-libs/qt-3.3.4-r8 (3)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] using g++ instead of gcc to build abiword

2005-10-24 Thread Hans-Werner Hilse
Hi,

On Sat, 22 Oct 2005 18:08:47 -0700
Robert Persson [EMAIL PROTECTED] wrote:

 On October 22, 2005 04:38 pm Dave Nebinger was like:
  I think at this point you'll have to post some of the output generated when
  the ebuild fails before we'll be able to help you any further...
 
 Well here goes...
 [...]

What you cited then looks like the final linking step. My first guess
is that the ebuild doesn't list all dependencies of abiword that it
actually has and in your case you're missing one. Check the -lx
lines (libraries) if something is obviously not yet installed. I don't
really know which library is supposed to provide those missing
functions, and searching for them doesn't make lot of sense - I guess
new and delete aren't very typical for one certain library...

Have you got some old .h header files lying around
in /usr/local/include? This might totally mess up things, as well as
duplicate libraries (of different versions) in /usr/lib
and /usr/local/lib.

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



Re: [gentoo-user] Agetty

2005-10-24 Thread Glenn Enright
On Mon, 24 Oct 2005 20:27, Daniel Faulknor wrote:
 Hi everyone
 After my kernel loads i get the message
 INIT: cannot execute /sbin/agetty
 INIT: cannot execute /sbin/agetty
 INIT: cannot execute /sbin/agetty
 INIT: cannot execute /sbin/agetty
 INIT: cannot execute /sbin/agetty
 INIT: cannot execute /sbin/agetty
 INIT: cannot execute /sbin/agetty
 INIT: Id c2 respawning too fast: disabled for 5 minutes
 INIT: Id c3 respawning too fast: disabled for 5 minutes
 INIT: Id c4 respawning too fast: disabled for 5 minutes
 INIT: Id c5 respawning too fast: disabled for 5 minutes
 INIT: Id c6 respawning too fast: disabled for 5 minutes
  INIT: no more processes left in this runlevel

 Then the computer just stops - HELP!

 Thanks
 Daniel Faulknor
 --
 www.nzguydaniel.blogspot.com http://www.nzguydaniel.blogspot.com

you are missing the agetty application that is described in your /etc/inittab 
file. agetty belongs to sys-apps/util-linux, which you could reemerge by 
using your livecd and doing the chroot thing like when you installed. either 
that or you are playing with a new kernel, and forgot to compile support for 
the filesystem which /sbin is on. 

Consider that init calls inittab as soon as the kernel is up, so if it stops, 
you will probably only see a few lines from the kernel on screen and not much 
else... is this what you are experiencing?
-- 

furbling, v.:
Having to wander through a maze of ropes at an airport or bank
even when you are the only person in line.
-- Rich Hall, Sniglets
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Firefox search/toolbar washout

2005-10-24 Thread Stuart Howard
Hi people

I have been suffering from the bug at the link below for quite some
time, in fact I have given up on firefox and moved to Opera.

https://bugzilla.mozilla.org/show_bug.cgi?id=274823#add_comment

That said I hate to leave anything undone, so on the off chance that
anyone on this list has suffered the bug and come across the solution,
could you let me know.
I will post any version information as asked, but in brief with regard
to gtk/X11 and other such fundamental pieces of software they will all
be portage marked stable items.
The fault occurs with both src built and bin versions.

stuart
--
There are 10 types of people in this world: those who understand
binary, those who don't

--Unknown

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT: Gentoo user using FC2 on his test machine hits an unfathomable VFS Panic!

2005-10-24 Thread Hareesh Nagarajan
Hi,

I installed FC2 on my test machine, to test my kernels and I keep
hitting the following VFS panic error:

   http://www.cs.uic.edu/~hnagaraj/vfs-panic.png

My grub.conf looks like this:

snip
default=1
timeout=10
title FC2
   root (hd0,0)
   kernel /vmlinuz-2.6.5-1.358 ro root=/dev/sda2
   initrd /initrd-2.6.5-1.358.img

title test
   root (hd0,0)
   kernel /bzImage ro root=/dev/sda2
/snip

The first kernel (default=0) works fine. The second kernel (default=1)
is a vanilla 2.6.13.1 and contains no modules; that is everything has
been compiled in, so I figured that I do *not* need a ramdisk (initrd)
and just having the kernel - bzImage (compressed kernel) is ample. The
config file is here:

   http://www.cs.uic.edu/~hnagaraj/test-config

The relevant sections from my fstab look like this:

snip
/dev/sda2/   ext3defaults1 1
/dev/sda1/boot   ext3defaults1 2
/snip

Am I missing something?

Thanks,

Hareesh
PS: I haven't yet tried the kernel on my Gentoo box.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT: Gentoo user using FC2 on his test machine hits an unfathomable VFS Panic!

2005-10-24 Thread Hareesh Nagarajan
Hi,

I installed FC2 on my test machine, to test my kernels and I keep
hitting the following VFS panic error:

http://www.cs.uic.edu/~hnagaraj/vfs-panic.png

My grub.conf looks like this:

snip
default=1
timeout=10
title FC2
root (hd0,0)
kernel /vmlinuz-2.6.5-1.358 ro root=/dev/sda2
initrd /initrd-2.6.5-1.358.img

title test
root (hd0,0)
kernel /bzImage ro root=/dev/sda2
/snip

The first kernel (default=0) works fine. The second kernel (default=1)
is a vanilla 2.6.13.1 and contains no modules; that is everything has
been compiled in, so I figured that I do *not* need a ramdisk (initrd)
and just having the kernel - bzImage (compressed kernel) is ample. The
config file is here:

http://www.cs.uic.edu/~hnagaraj/test-config

The relevant sections from my fstab look like this:

snip
/dev/sda2/   ext3defaults1 1
/dev/sda1/boot   ext3defaults1 2
/snip

Am I missing something?

Thanks,

Hareesh
PS: I haven't yet tried the kernel on my Gentoo box.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CFLAGS setting for Intel(R) Pentium(R) M processor 1.73GHZ stepping 08

2005-10-24 Thread Sascha Lucas

Hi Richard,



I've just got a new laptop I'm installing Gentoo on and was wondering if
anyone could advise on the CFLAG setting I'm using. The CPU is a
Intel(R) Pentium(R) M processor 1.73GHZ stepping 08. Currently I've set
CFLAGS=-02 -mcpu=pentium -pipe


You may look at 
http://gentoo-wiki.com/Safe_Cflags#Pentium-M_.2F_Centrino_.28Intel.29

If you use x86 (not ~x86) then you have a gcc  3.4.3. The page above 
proposes to use: CFLAGS=-O2 -march=pentium3 -pipe. A friend of mine with 
a Pentium M uses CFLAGS=-O2 -march=pentium4 -pipe -fomit-frame-pointer, 
which is dangerous if you believe the wiki-page.


If you plan to use gentoo on many x86 systems with different CPU's and you 
want to share binarys. I recommend to use: CFLAGS=-O2 -march=i686 
-fomit-frame-pointer -pipe (runs on any Intel/AMD/... starting from 
Pentium2-class CPU).


Sascha.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo Splash Image.

2005-10-24 Thread Ryan Viljoen
Is this your own splash image that created or are you using the default one?

http://gentoo-wiki.com/HOWTO_Splash_image_in_GRUBOn 10/24/05, Gentoo Voyager 
[EMAIL PROTECTED] wrote:Daer all,

when i set the path in grub.conf to splashimage, while booting my
screen will blurred, then i can see anything in screen, finaly i
remeved the splashimage line from grub.conf,..

Please help me on this matter..

thanks.-- Try tobe a Buddhist..!! 

-- When you say I
wrote a program that crashed Windows, people just stare at you blankly
and say Hey, I got those with the system, for free. - Linus Torvalds,
1995


[gentoo-user] IPv6, now what?

2005-10-24 Thread Zhang Weiwu
Hello. I recently got an IPv6 address for my small server (or perhaps I
recently got a lot of IPv6 address, I cannot tell) from my ISP.  This is
what I did in attempt to activate this address (all following exactly
what is written on the ISP's manual)

server root # ip addr add 2001:41c8:1:53ae::2/64 dev eth0
server root # ip route add 2000::/3 via 2001:41c8:1:53ae::1
server root # ip -6 addr show eth0
5: eth0: BROADCAST,MULTICAST,ALLMULTI,UP qlen 1000
inet6 2001:41c8:1:53ae::2/64 scope global
inet6 fe80::fcfd:50ff:fe44:5d98/64 scope link
server root # ping6 2001:41c8:1:53ae::2
PING 2001:41c8:1:53ae::2(2001:41c8:1:53ae::2) 56 data bytes
64 bytes from 2001:41c8:1:53ae::2: icmp_seq=1 ttl=64 time=0.077 ms
64 bytes from 2001:41c8:1:53ae::2: icmp_seq=2 ttl=64 time=0.069 ms
server root # ping6 www.ipv6.org
PING www.ipv6.org(igloo.stacken.kth.se) 56 data bytes

--- www.ipv6.org ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4024ms

Now what? Is my ipv6 address working now? I don't see a clue on how to
do testing.

Further more I found the documents closest ('closest' by the means of
google) is surprisingly outdated. I was thinking IPv6 is a hot topic
untill I get these documents, e.g.
http://www.tldp.org/HOWTO/Linux+IPv6-HOWTO mension 2.5 kernel as
something in the future (they say 2.4 kernel do not have full support of
IPv6 and they are looking forward to have a kernel with good IPv6
support). Another document says the latest kernel version is 2.1
(http://www.cs-ipv6.lancs.ac.uk/ipv6/systems/linux/faq/linux-ipv6.faq-4.html#ss4.2).
 
I am still going through the documents to find more knowledge.

One question important to me but I never understood well. If I have a
website only defined on IPv6 address, is this website accessible from
major platforms (e.g. Win2k+/modern Linux, IE 6+/Firefox 1+) without any
special configuration on the client side?
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] USB mobile phone connection..

2005-10-24 Thread Digby Tarvin
Looking for anyone that can offer advice on connecting a Motorola C380
mobile phone to my gentoo Linux system via the USB interface.

When I connect the phone, I see the following in /var/log/messages:
 usb 1-2: new full speed USB device using uhci_hcd and address 2
 usb 1-2: device descriptor read/64, error -71
 usb 1-2: device descriptor read/64, error -71
 usb 1-2: new full speed USB device using uhci_hcd and address 3
 usb 1-2: device descriptor read/64, error -71

A disconnect and reconnect produces:
 usb 1-2: USB disconnect, address 3
 usb 1-2: new full speed USB device using uhci_hcd and address 4
 usb 1-2: device descriptor read/64, error -71
 usb 1-2: device descriptor read/64, error -71
 usb 1-2: new full speed USB device using uhci_hcd and address 5
 usb 1-2: device descriptor read/64, error -71

Any idea what the error messages indicate, and should I be worried about
them? Is it normal that the addresses appear to be monotonically
increasing with each successive connect?

While connected, /proc/bus/usb/devices contains:
 T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  7 Spd=12  MxCh= 0
 D:  Ver= 1.10 Cls=02(comm.) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
 P:  Vendor=22b8 ProdID=4902 Rev= 0.01
 S:  Manufacturer=Motorola Inc.
 S:  Product=Motorola Phone (C380)
 C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr= 20mA
 I:  If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=(none)
 E:  Ad=89(I) Atr=03(Int.) MxPS=  16 Ivl=10ms
 I:  If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
 E:  Ad=01(O) Atr=02(Bulk) MxPS=  32 Ivl=0ms
 E:  Ad=82(I) Atr=02(Bulk) MxPS=  32 Ivl=0ms

I have tried emerge'ing gnoki, but it doesn't seem to succeed in
connecting, but perhaps there is some configuration that I havn't
stumbled across yet.

anyone have any experience or suggestions on what to try with this?

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



Re: [gentoo-user] amanda client

2005-10-24 Thread Jorge Almeida
On Sat, 22 Oct 2005, Mark Shields wrote:

 Since google is your friend, if you had searched for gentoo amanda-client,
 you would've found some more information. amanda-client as your only
 search keyword returns some distros that have seperate server/client
 packages (like Debian, FreeBSD, OpenBSD). But these seem to be, if these
 packages are still active, distro-created seperate packages. If you look at
 the official website (http://amanda.org), you will see that even the
 official releases don't have seperate server/client packages. The
 server/client all come in the same gzipped tar file. Now, if you were to

I know that. There are config options to build only the client side.
Just thought there might exist some hidden USE variable.

I guess I'll try to install it to /usr/local, off portage. Less
error-prone than messing with ebuilds.

 request an ebuild for the client be made (I checked
 bugs.gentoo.orghttp://bugs.gentoo.org,
 nothing there mentioning a client-only version), or possibly a specific use
 flag for the ebuild (say amandaserver), someone might be happy enough to
 make one for you (or you can always nudge the package maintainer).
 
I wouldn't expect anyone to write an ebuild _only_ for me. I suppose few
gentooers need only the client side of amanda.
-- 
Jorge Almeida
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Newcomer: Nvidia from GRP and MX4000

2005-10-24 Thread Ian Porter
Hi
On Sunday 23 October 2005 02:55, Alan E. Davis wrote:
 On AMD64 system with an MX 4000 video card.

 I have made it through an installation, installing everything from the
 Packages (GRP) disk. This has been a no-net install so far.

 Trying to configure Xorg, after installing nvidia-kernel driver and
 nvidia-glx.
 Xorg -configure
 then
 X -config /root/xorg.conf.new

 I also did modprobe nvidia

 I am receiving the message

 (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!

I did not use the Xorg -configure, but these are the first things that I  
check to make sure that there is the following lines within 
your /etc/X11/xorg.conf

For the nvidia drivers
Section Device
Identifier  nvidiaCard
Driver  nvidia
EndSection

And there should be a link within the screen section to your (mine) nvidiaCard
Section Screen
Identifier Screen0
Device nvidiaCard
.

This is my section for the Module, for the nvidia cards you need to unselect 
the dri module and include the glx.

Section Module
Load freetype
Load  extmod
Load  glx
#Load  dri
Load  dbe
Load  record
Load  xtrap
Load  type1
EndSection

If you have these options created then make sure there is the 
/etc/modules.d/nvidia 
file, mine has

# Nvidia drivers support
alias char-major-195 nvidia
alias /dev/nvidiactl char-major-195

within it (if you have to add it do an modules-update)

HTH
Ian

 Then the process aborted.

 I haven't found (yet) any suggestions, except to install a newer version of
 the nvidia-kernel.

 I fear I will have to upgrade the whole system now, once I can get online,
 which may be days away.

 Thanks for any suggestions.

 Alan Davis





 --
 ~/.signature
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Newcomer: Nvidia from GRP and MX4000

2005-10-24 Thread Mark Shields
What does

lsmod | grep nvidia

return?On 10/22/05, Alan E. Davis [EMAIL PROTECTED] wrote:
On AMD64 system with an MX 4000 video card. 

I have made it through an installation, installing everything from the
Packages (GRP) disk. This has been a no-net install so far.

Trying to configure Xorg, after installing nvidia-kernel driver and nvidia-glx. 
 Xorg -configure
then
 X -config /root/xorg.conf.new

I also did modprobe nvidia 

I am receiving the message 

 (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!

Then the process aborted.

I haven't found (yet) any suggestions, except to install a newer version of the nvidia-kernel.

I fear I will have to upgrade the whole system now, once I can get online, which may be days away.

Thanks for any suggestions.

Alan Davis



-- ~/.signature

-- - Mark Shields


[gentoo-user] Odd portage permission problems

2005-10-24 Thread Wes Gray
Started getting this problem when I try to emerge sync:

receiving file list ...
129008 files to consider
metadata/
recv_generator: mkdir /usr/portage/x11-apps/xdriinfo/files failed: Permissio
n denied
stat /usr/portage/x11-apps/xdriinfo/files failed: Permission denied
metadata/timestamp.chk
  32 100%0.00kB/s0:00:00
mkstemp /usr/portage/x11-apps/xdriinfo/.xdriinfo-0.99.1.ebuild.PTUe9h failed
: Input/output error
 431 100%0.00kB/s0:00:00
readlink /usr/portage/x11-apps/xdriinfo/Manifest failed: Permission denied
readlink /usr/portage/x11-apps/xdriinfo/files failed: Permission denied
readlink /usr/portage/x11-apps/xdriinfo/xdriinfo-0.99.0_pre20050908.ebuild f
ailed: Permission denied
readlink /usr/portage/x11-apps/xdriinfo/ChangeLog failed: Permission denied
readlink /usr/portage/x11-apps/xdriinfo/metadata.xml failed: Permission deni
ed
readlink /usr/portage/x11-misc/driconf/files/digest-driconf-0.2.7 failed: Pe
rmission denied
readlink /usr/portage/sys-boot/sgibootcd/files/digest-sgibootcd-0.12 failed:
 Permission denied
readlink /usr/portage/sys-boot/sgibootcd/sgibootcd-0.12.ebuild failed: Permi
ssion denied
recv_generator: mkdir /usr/portage/x11-apps/xdriinfo/files failed: Permissio
n denied
stat /usr/portage/x11-apps/xdriinfo/files failed: Permission denied
...

Emerge sync ends up failing.  It's weird, like my directory permissions are
broken:

# cd /usr/portage/x11-apps/xdriinfo/
# ls
ChangeLog  Manifest  files  metadata.xml  xdriinfo-0.99.0_pre20050908.ebuild
# ls -la
ls: Manifest: Permission denied
ls: files: Permission denied
ls: xdriinfo-0.99.0_pre20050908.ebuild: Permission denied
ls: ChangeLog: Permission denied
ls: metadata.xml: Permission denied
total 2
drwxr-xr-x   3 root root  216 Oct 19 18:36 .
drwxr-xr-x  95 root root 2448 Oct 23 08:06 ..
# ls files
ls: files: Permission denied
# chmod 777 files
chmod: cannot access `files': Permission denied
#

What do you make of this?  Do I need to run fsck?

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



[gentoo-user] Agetty

2005-10-24 Thread Daniel Faulknor
Hi everyone
After my kernel loads i get the message 
INIT: cannot execute /sbin/agetty
INIT: cannot execute /sbin/agetty
INIT: cannot execute /sbin/agetty
INIT: cannot execute /sbin/agetty
INIT: cannot execute /sbin/agetty
INIT: cannot execute /sbin/agetty
INIT: cannot execute /sbin/agetty
INIT: Id c2 respawning too fast: disabled for 5 minutes
INIT: Id c3 respawning too fast: disabled for 5 minutes
INIT: Id c4 respawning too fast: disabled for 5 minutes
INIT: Id c5 respawning too fast: disabled for 5 minutes
INIT: Id c6 respawning too fast: disabled for 5 minutes

INIT: no more processes left in this runlevel

Then the computer just stops - HELP!
Thanks
Daniel Faulknor-- www.nzguydaniel.blogspot.com 


Re: [gentoo-user] Script Run From Cron Sometimes Leaves Defunct sh Process

2005-10-24 Thread Heinz Sporn
Am Sonntag, den 23.10.2005, 07:36 -0700 schrieb Drew Tomlinson:
 I wrote a script to read a smbfs mounted filesystem and make symlinks to 
 the files locally.  The script appears to run fine interactively and 
 fine most of the time when run by cron.  I run the script every half 
 hour.  Over the course of a week or so, 15 - 20 defunct sh processes 
 show up in the ps output.  I've Googled and learned that the child (my 
 script) is exiting but the parent (cron) is still around.  So now my 
 question is why and what's wrong with my script to cause this 
 occasional behavior.  And more importantly, how can I fix it?  :)
 
 Thanks for your help!
 
 Drew
 
 --- BEGIN ---
 #! /bin/sh
 
 # 10/13/05
 # This script creates symlinks to media files on Blacklamb.  Because MythTV
 # needs to write it's own . files and such, mounting a read-only share 
 and
 # then creating symlinks locally keeps the share on Blacklamb clean.
 
 remote_dir=/multimedia/Pictures
 local_dir=/tv/pictures
 find_args=-iname \*.jpg\ -or -iname \*.gif\
 
 # Don't wipe out the entire directory or else MythTV has to recreate all its
 #  local cache files.  Consider using find with above $find_args to remove
 # symlinks and avoid listing each *.xxx explicitly.
 echo -e \nRemoving old symlinks from $local_pictures_dir...
 rm $local_pictures_dir/*.[Jj][Pp][Gg]
 rm $local_pictures_dir/*.[Gg][Ii][Ff]
 
 # Default sh delimiter is a space and is stored in $IFS.
 # This caused $original to be truncated at the first space in the file 
 name.
 # Save $IFS and then set sh delimeter to a newline so 'for' loop works.
 OLDIFS=$IFS
 IFS='
 '
 echo -e \nCreating new symlinks in $local_pictures_dir...
 
 # Search directory contained in $remote_dir using criteria in $find_args
 for original in \
 $( eval /usr/bin/find $remote_dir \( $find_args \) -print )
 do
 
 # Remove $remote_dir from filename and replace remaining / 
 with -
 # and spaces with _.  Save in $newfile
 newfile=`echo $original | cut --delimiter=/ --fields=4- | \
 sed -e s/\//-/g -e s/ /_/g`
 
 # Create symlink from original file to $newfile in $local_dir
 # specified above.
 ln -s $original $local_dir/$newfile

Just a suggestion: insert a minimum of error handling like 

ln -s $original $local_dir/$newfile
if (( $?  0 )) ; then logger -t myscript That didn't work for some
reason ; fi

... or something else at points where the script could fail.


 # Increase count by 1
 count=$(( count + 1 ))
 done
 
 # Reset $IFS to original value
 IFS=$OLDIFS
 
 # Print number of symlinks created.
 echo -e \nCreated $count symlinks.
 
 exit
 --- END ---
-- 
Mit freundlichen Grüßen

Heinz Sporn

SPORN it-freelancing

Mobile:  ++43 (0)699 / 127 827 07
Email:   [EMAIL PROTECTED]
 [EMAIL PROTECTED]
Website: http://www.sporn-it.com
Snail:   Steyrer Str. 20
 A-4540 Bad Hall
 Austria / Europe

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] using g++ instead of gcc to build abiword

2005-10-24 Thread Richard Fish

Robert Persson wrote:


On October 22, 2005 04:38 pm Dave Nebinger was like:
 


I think at this point you'll have to post some of the output generated when
the ebuild fails before we'll be able to help you any further...
   



Well here goes...

...
UnixMain.o ../../../../src/wp/ap/libAp.a ../../../../src/wp/impexp/libImpExp.a 
../../../../src/af/xap/libXap.a ../../../../src/af/util/libUtil.a 
../../../../src/af/gr/libGr.a ../../../../src/af/ev/libEv.a 
../../../../src/other/spell/xp/libSpell.a 
../../../../src/other/ttftool/unix/libTtfTool.a 
../../../../src/pkg/linux/apkg/libApkg.a ../../../../src/text/fmt/xp/libFmt.a 
../../../../src/text/ptbl/xp/libPtbl.a ../../../../src/wp/ap/libAp.a 
../../../../src/wp/impexp/libImpExp.a ../../../../src/af/xap/libXap.a 
../../../../src/af/util/libUtil.a ../../../../src/af/gr/libGr.a 
../../../../src/af/ev/libEv.a ../../../../src/other/spell/xp/libSpell.a 
../../../../src/other/ttftool/unix/libTtfTool.a 
../../../../src/pkg/linux/apkg/libApkg.a ../../../../src/text/fmt/xp/libFmt.a 
../../../../src/text/ptbl/xp/libPtbl.a ../../../../src/wp/ap/libAp.a 
../../../../src/wp/impexp/libImpExp.a ../../../../src/af/xap/libXap.a 
../../../../src/af/util/libUtil.a ../../../../src/af/gr/libGr.a ../../../..!

/!
src/af/ev/libEv.a ../../../../src/other/spell/xp/libSpell.a ../../../../src/other/ttftool/unix/libTtfTool.a ../../../../src/pkg/linux/apkg/libApkg.a ../../../../src/text/fmt/xp/libFmt.a ../../../../src/text/ptbl/xp/libPtbl.a ../../../../src/wp/ap/libAp.a ../../../../src/wp/impexp/libImpExp.a ../../../../src/af/xap/libXap.a ../../../../src/af/util/libUtil.a ../../../../src/af/gr/libGr.a ../../../../src/af/ev/libEv.a ../../../../src/other/spell/xp/libSpell.a ../../../../src/other/ttftool/unix/libTtfTool.a ../../../../src/pkg/linux/apkg/libApkg.a ../../../../src/text/fmt/xp/libFmt.a ../../../../src/text/ptbl/xp/libPtbl.a 
-lglade-2.0 -lgtk-x11-2.0 -lxml2 -lpthread -lz -lgdk-x11-2.0 -latk-1.0 
-lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 
-lgmodule-2.0 -ldl -lglib-2.0 -lSM -lICE -lX11  -Wl,--export-dynamic 
-lgmodule-2.0 -ldl -lglib-2.0-Wl,--export-dynamic -lgnomeprintui-2-2 
-lgnomeprint-2-2 -lgnomecanvas-2 -lxml2 -lpthread -lz -lart_lgpl_2 
-lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm 
-lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl 
-lglib-2.0   -Wl,--export-dynamic -lenchant -lgmodule-2.0 -ldl -lglib-2.0   
-L/usr/lib -lxml2 -lz -lpthread -lm   -lfribidi -lwv -lwmf -lwmflite 
-lfreetype -lSM -lICE -lX11 -lexpat -ljpeg -lxml2 -lpthread -lglib-2.0 -lpng 
-lz -lm   -lglib-2.0-lpng12 -lz -lm   -lz -lpopt -lXft -lX11 -lfreetype 
-lXrender -lfontconfig-pthread -lgthread-2.0 -lglib-2.0
UnixMain.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
../../../../src/wp/ap/libAp.a(ap_UnixApp.o)(.text+0x3ef): In function 
`AP_UnixApp::loadStringsFromDisk(char const*, AP_BuiltinStringSet*)':
 



Could you post the output of gcc -print-search-dirs?

Particularly, I am looking to see something like:

libraries: =/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/...

I think the libstdc++ library in this directory contains the 
gxx_personality_v0 symbol, but the stdc++ in /usr/lib does not.  If gcc 
was somehow linking against /usr/lib first, it would pull in the 
libstdc++ from there, and you would end up with the problem above.  So 
you should also check that /usr/lib/gcc/i686-pc-linux-gnu/3.4.4 contains 
usable libstdc++ files:


carcharias lib # ll /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++*
-rw-r--r--  1 root root 1702000 Sep 10 20:22 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.a
-rwxr-xr-x  1 root root 957 Sep 10 20:22 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.la
lrwxrwxrwx  1 root root  18 Oct  9 00:49 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so - libstdc++.so.6.0.3
lrwxrwxrwx  1 root root  18 Oct  9 00:49 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6 - libstdc++.so.6.0.3
-rwxr-xr-x  1 root root 1077149 Sep 10 20:22 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6.0.3
-rw-r--r--  1 root root 1798478 Sep 10 20:22 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++_pic.a


-Richard



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Firefox search/toolbar washout

2005-10-24 Thread Heinz Sporn
Am Sonntag, den 23.10.2005, 16:34 +0200 schrieb Stuart Howard:
 Hi people
 
 I have been suffering from the bug at the link below for quite some
 time, in fact I have given up on firefox and moved to Opera.
 
 https://bugzilla.mozilla.org/show_bug.cgi?id=274823#add_comment
 
 That said I hate to leave anything undone, so on the off chance that
 anyone on this list has suffered the bug and come across the solution,
 could you let me know.

I'm running Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10)
Gecko/20050902 Firefox/1.0.6. According to the bug report you mentioned
pressing backspace actually clears the content of the search field as
one may expect. After doing that I can't see any painting problems
whatsoever. Seems to me that this problem has been solved.

 I will post any version information as asked, but in brief with regard
 to gtk/X11 and other such fundamental pieces of software they will all
 be portage marked stable items.
 The fault occurs with both src built and bin versions.
 
 stuart
 --
 There are 10 types of people in this world: those who understand
 binary, those who don't
 
 --Unknown
 
-- 
Mit freundlichen Grüßen

Heinz Sporn

SPORN it-freelancing

Mobile:  ++43 (0)699 / 127 827 07
Email:   [EMAIL PROTECTED]
 [EMAIL PROTECTED]
Website: http://www.sporn-it.com
Snail:   Steyrer Str. 20
 A-4540 Bad Hall
 Austria / Europe

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [blocks B ] mail-mta/qmail-1.03-r16 (is blocking net-mail/cmd5checkpw-0.30)

2005-10-24 Thread Stuart Howard
I had same block yesterday, below is what I did
worked a treat for me

-snip-
555  emerge -aDuv world  {block showed up here}
556  emerge -aCv qmail
557  emerge -av qmail
-snip-

stu

On 23/10/05, Mike Williams [EMAIL PROTECTED] wrote:
 On Sunday 23 October 2005 00:18, [EMAIL PROTECTED] wrote:
  Still something to learn I guess. my poppasswd file is still the example
  file that came with whatever it came with. My pop accounts are
  authenticated via the regular linux logins, so for every pop user (3 at
  the moment) I have a user acount in linux.

 Good good.

  What package uses this poppasswd file?

 cmd5checkpw, and anything else which does CRAM MD5 authentication at a guess.
 CRAM is done by sending a hash of the password over the wire, the salt is
 unique for each connection, so you need the plain text password on the server
 to check against, which are kept in poppasswd.
 Secure over the wire, hideously insecure on the server.

  I tried qpkg, but that doesn't seem to exist any more?

 Yeah, it got moved to another package as it's depreciated in favour of equery.

  Does the above mean I can safely enable noauthcram?

 Yes.

 --
 Mike Williams
 --
 gentoo-user@gentoo.org mailing list




--
There are 10 types of people in this world: those who understand
binary, those who don't

--Unknown

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Newcomer: Nvidia from GRP and MX4000

2005-10-24 Thread Alan E. Davis
It was installed at the time I posted this problem; however, I have now
removed nvidia-kernel and nvidia-glx, and generated a new
xorg.conf. The system is working now, using nv as the
driver. Next, I guess I'll install nvidia-kernel, etc., and see
if it works this time? 

Thank you very much for your post.

Alan On 10/24/05, Mark Shields [EMAIL PROTECTED] wrote:
What does

lsmod | grep nvidia

return?On 10/22/05, Alan E. Davis 
[EMAIL PROTECTED] wrote:
On AMD64 system with an MX 4000 video card. 

I have made it through an installation, installing everything from the
Packages (GRP) disk. This has been a no-net install so far.

Trying to configure Xorg, after installing nvidia-kernel driver and nvidia-glx. 
 Xorg -configure
then
 X -config /root/xorg.conf.new

I also did modprobe nvidia 

I am receiving the message 

 (EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!

Then the process aborted.

I haven't found (yet) any suggestions, except to install a newer version of the nvidia-kernel.

I fear I will have to upgrade the whole system now, once I can get online, which may be days away.

Thanks for any suggestions.

Alan Davis



-- ~/.signature

-- - Mark Shields

-- ~/.signature


Re: [gentoo-user] vnc

2005-10-24 Thread Digby Tarvin
For remote access over the public Internet I usually use ssh. With the
'-X' option it gives you secure encrypted port forwarding to your
local X server, which appart from a speed hit is functionally pretty
close to having a directly connected X terminal.

Of course if you are trying to connect from a Windose or other non-X
system, then VNC is probably what you need.

Regards,
DigbyT

On Mon, Oct 24, 2005 at 09:28:15PM +1300, Nick Rout wrote:
 On Sun, 23 Oct 2005 18:10:55 -0500
 Mark [EMAIL PROTECTED] wrote:
 
  I followed the instructions on the Gentoo wiki about configuring VNC server,
  but I am not able to connect either inside the LAN or from the outside,
  despite having port forwarding enabled for it on my firewall. I went through
  the instructions twice, and everything is as listed. Anybody know if there
  are some common mistakes made not mentioned in the article that I might
  check for? Alternatively, is there a better solution for remote access to my
  Gentoo box I should be looking at? Thanks!
  
  --
  Mark
  [unwieldy legal disclaimer would go here - feel free to type your own]
  
 
 
 well what sort error are you getting?
 
 is there anything running on the vnc ports? (5800+, 5900+)
 -- 
 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] CFLAGS setting for Intel(R) Pentium(R) M processor 1.73GHZ stepping 08

2005-10-24 Thread Qian Qiao
On 10/23/05, Bill Roberts [EMAIL PROTECTED] wrote:
 On 01:31 Sun 23 Oct , Richard Watson wrote:
  I've just got a new laptop I'm installing Gentoo on and was wondering if
  anyone could advise on the CFLAG setting I'm using. The CPU is a
  Intel(R) Pentium(R) M processor 1.73GHZ stepping 08. Currently I've set
  CFLAGS=-02 -mcpu=pentium -pipe
  --
  Thanks, Richard
 
  --
  gentoo-user@gentoo.org mailing list
 
 I have:

 CFLAGS=-02 -march=pentium4

 Seems to work nicely on my M processor.


Are you sure -02 works? :P

-- Joe

--
There are 3 kinds of people in the world:
Those who can count, and those who can't.

Money can't buy everything.
Sometimes money can't even buy a gun...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Uploading ebuilds

2005-10-24 Thread Petteri Räty
Rafael Fernández López wrote:
 Hi,
 
 I've created an ebuild for tkgate (http://www.tkgate.org). It is very
 frustrating because I cannot see how to upload it or whatever. I'm not a
 developer user in CVS so I cannot upload. If I fill in a bug for
 uploading ebuilds (is the right way) I've created a patch file, so what
 I've to do !!! THE EBUILD IS DONE !!! WHY CANNOT GENTOO USERS BENEFIT
 FROM IT ??
 

http://www.gentoo.org/doc/en/ebuild-submit.xml

Regards,
Petteri Räty



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Connecting a Motorola C380 mobile via USB

2005-10-24 Thread Digby Tarvin
Hi,

My post from yesterday seems to have disappeared into the ether, so
I'll try again - appologies if this is eventually repeated...

I would like to connect a mobile phone (Motorolo C380) with USB connector
to my gentoo system so as to give me both mobile Internet access and
also the ability to access phonebook, images, audio etc stored on the
phone.

When I connect the phone, the /proc/bus/usb/devices file shows:
 T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  8 Spd=12  MxCh= 0
 D:  Ver= 1.10 Cls=02(comm.) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
 P:  Vendor=22b8 ProdID=4902 Rev= 0.01
 S:  Manufacturer=Motorola Inc.
 S:  Product=Motorola Phone (C380)
 C:* #Ifs= 2 Cfg#= 1 Atr=c0 MxPwr= 20mA
 I:  If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=(none)
 E:  Ad=89(I) Atr=03(Int.) MxPS=  16 Ivl=10ms
 I:  If#= 1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
 E:  Ad=01(O) Atr=02(Bulk) MxPS=  32 Ivl=0ms
 E:  Ad=82(I) Atr=02(Bulk) MxPS=  32 Ivl=0ms

and /var/log/messages shows:
 usb 1-2: new full speed USB device using uhci_hcd and address 8

Although attempring to disconnect and reconnect typically returns
something like
 usb 1-2: USB disconnect, address 3
 usb 1-2: new full speed USB device using uhci_hcd and address 4
 usb 1-2: device descriptor read/64, error -71
 usb 1-2: device descriptor read/64, error -71
 usb 1-2: new full speed USB device using uhci_hcd and address 5
 usb 1-2: device descriptor read/64, error -71

Anyone have any suggestions or experience with this sort of thing?
I have emerged gnokii which so far has not recognised anything as
being connected. Not sure if it is compatability issue or a
configuration issue.

Also have emerged libusb, but I really need to find some more
documentation on USB interfaces to tackle cobbling anything together
with that.

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



Re: [gentoo-user] CFLAGS setting for Intel(R) Pentium(R) M processor 1.73GHZ stepping 08

2005-10-24 Thread 赵光
CFLAGS=-O3 -march=pentium-m -pipe

i prefer this2005/10/23, Willie Wong [EMAIL PROTECTED]:
On Sun, Oct 23, 2005 at 01:31:32AM +1000, Richard Watson wrote: I've just got a new laptop I'm installing Gentoo on and was wondering if anyone could advise on the CFLAG setting I'm using. The CPU is a
 Intel(R) Pentium(R) M processor 1.73GHZ stepping 08. Currently I've set CFLAGS=-02 -mcpu=pentium -pipeFor my laptop with pentium M 1.6g, I setCFLAGS=-O3 -march=pentium-m -pipe
but you might want to keep -O2 I run ~x86 on it as my testing box,so I don't mind a little breakage here and there.W--When I say unbounded, I mean...not bounded.~DeathMech, S. Sondhi. P-town PHY 205
Sortir en Pantoufles: up 19:33--gentoo-user@gentoo.org mailing list


Re: [gentoo-user] bash completion for paths not working

2005-10-24 Thread Holly Bostick
Mark Knecht schreef:
 Hi, On one machine of mine, and only one machine, bash completion is 
 not working for my user account when I try to complete a path. I hit 
 tab and nothing happens. Bash completion is working for files though.
 I can do bash completion in my home directory and get a list of
 files, but if I try to complete /usr/sr  but hitting a tab it just 
 sits and does nothing.
 
 It works fine for root.
 
 What turns this feature on for a user? I copied a good .bashrc file 
 from a working machine over and logged back into the bad machine but 
 that didn't fix it.
 
 man bash makes it look like it should be on by default.
 
 Thanks for the unix lesson.
 
 Cheers, Mark

Yes, I have a similar problem, but bash-completion doesn't work
correctly for anybody (user or su root).

I uncommented the bash completion command in both ~/.bashrcs long ago,
and at first the problem was only for root (which was weird enough); now
(what constitutes 'now' as opposed to 'previously' I don't know) if I
hit tab when filling in a path or a filename, as you said, nothing
happens; if I fill in the rest of the path manually, the file is not
found-- because my use of the TAB key has invisibly taken me up one
directory (where the file does not exist). When I hit enter, I find that
if I had started in /usr/local/src, I am now in /usr/local, for example.

This occurs under various terminals (aterm, gnome-terminal,
multi-gnome-terminal, xterm), although bash-completion fails differently
under each of them (which is also weird). I know something has changed,
but not what.

Although now that I'm looking into this (which I had not really
taken time to do, so I wasn't really 'worrying' about it as I had put
this annoyance on my secondary 'to-do/fix' list, despite the fact that
it's a major annoyance) I notice that I have both bash-completion and
bash-completion-config installed-- and the man
page for bash-completion-config says that the config files are in
/etc/bashcomp-configrc, if it exists, or $HOME/.bashcomp-configrc, if it
exists.

So at least I probably need to check there first to see if
bash-completion has in fact been set, since there is no mention of
~/.bashrc and perhaps those settings are now invalid, or in conflict.

Something for you to check as well, Mark?

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



Re: [gentoo-user] Uploading ebuilds

2005-10-24 Thread Rafael Fernández López
Hi again,

I filled it in, and it is uploaded. I'm gonna work with wxmaxima too, and
create a new ebuild for it (http://wxmaxima.sf.net). I'd like to know if
there is any posibility of becoming a Gentoo Dev, I'm offering as a
developer, and I'd like to know what I've to know or study before it.

I think that when I had some time I'll submit to gentoo-dev mailing list
and ask if anyone can mentor me and help me for becoming a developer.

Thanks for all your replies, Gentoo community is the best,
Rafael Fernández López.


 On Mon, 2005-10-24 at 00:39 +0200, Rafael Fernández López wrote:
 I've created an ebuild for tkgate (http://www.tkgate.org). It is very
 frustrating because I cannot see how to upload it or whatever. I'm not a
 developer user in CVS so I cannot upload. If I fill in a bug for
 uploading ebuilds (is the right way) I've created a patch file, so what
 I've to do !!!

 You file a bug about a missing ebuild for tkgate nad attach you ebuild
 to it. The developers will have a look at it when they have time and
 also users can find it there if they want to test it.

 THE EBUILD IS DONE !!! WHY CANNOT GENTOO USERS BENEFIT
 FROM IT ??

 Well, I guess it's because most people prefer a tested distribution with
 some quality control.

 --
 Janne

 --
 gentoo-user@gentoo.org mailing list



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Odd portage permission problems

2005-10-24 Thread Christoph Gysin

Wes Gray wrote:

What do you make of this?  Do I need to run fsck?


This would be the first thing I would try. Also check dmesg.

Christoph
--
echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo Splash Image.

2005-10-24 Thread Gentoo Voyager
I'm using default splashimage..
On 10/24/05, Ryan Viljoen [EMAIL PROTECTED] wrote:
Is this your own splash image that created or are you using the default one?
http://gentoo-wiki.com/HOWTO_Splash_image_in_GRUB 

On 10/24/05, Gentoo Voyager  [EMAIL PROTECTED]
 wrote: 

Daer all,

when i set the path in grub.conf to splashimage, while booting my screen will blurred, then i can see anything in screen, finaly i remeved the splashimage line from grub.conf,..

Please help me on this matter..

thanks.-- Try tobe a Buddhist..!! -- When you say I wrote a program that crashed Windows, people just stare at you blankly and say Hey, I got those with the system, for free. - Linus Torvalds, 1995 
-- Try tobe a Buddhist..!! 


Re: [gentoo-user] Uploading ebuilds

2005-10-24 Thread Christoph Gysin

Rafael Fernández López wrote:

I filled it in, and it is uploaded. I'm gonna work with wxmaxima too, and
create a new ebuild for it (http://wxmaxima.sf.net). I'd like to know if
there is any posibility of becoming a Gentoo Dev, I'm offering as a
developer, and I'd like to know what I've to know or study before it.


Read: http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=1chap=2

Christoph
--
echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Emerging without Internet connection

2005-10-24 Thread Gentoo Voyager
Dear all,

My home gentoo box dos't have a internet connection, but i need to install Sendmail on my PC( for testing perposer), any one know how to do it without internet cennection..

thanks..

Suranga-- Try tobe a Buddhist..!! 


Re: [gentoo-user] [ot] PDF or PS format for daily use?

2005-10-24 Thread Daniel da Veiga
On 10/23/05, Zhang Weiwu [EMAIL PROTECTED] wrote:
 Hello. I have got a lot (much more) ps files and PDF files since I start to
 use Linux. In the past there were mostly doc files but now I always prefer
 to have a PS or PDF copy to ease the compatibility pain. And looks linux
 people always prefer to send me a PS or PDF document.

 Because I always save two copies of every of my document, one in original
 format (eg. odt) and another in printable format for my colleagues in case
 they don't have the Linux fonts and software. Here comes the question should
 I keep a PS copy or PDF copy.

 I think PDF copy is absolutely the prefered format because:
 * easier to find acrobat reader;
 * can be 'Tagged', especially used with OOo;
 * possibility to 'copy and paste', though format will be lost;
 * not to take other people by surprise with unfamiliar PS extension;
 * different quanlity: I can save PDF in very high quanlity that I was told
 can be taken to press house
 * easy to convert to PS format when needed.

 Here comes the question: if the above all stands true, why do I ever need PS
 format at all? There might be some reasons to keep this format still
 existing. Perhaps in other areas, other then office work.

 So the conclusion: for typical office workers, we can forget PS format.

 Now welcome for suggestions.

 P.S. another quesiton I happen wish to have an answer: in one case, I have
 to keep PS format because, I can print booklet (brochure) in OOO2 right the
 way I expected, but if I carry this brochure to my colleague, and he doesn't
 have openoffice, then I try to export to PDF format, and found there is no
 'brochure' option in exporting, also there is no 'brochure' option in
 Acrobat Reader printing dialogue box, so it's clear if I export to PDF
 format I will never be able to print it in brochure style on a normal PC, so
 I have to print to PS file and carry it. But so far this is the only case I
 think I need PS format. If I only exported PDF format, can I still print a
 brochure? The difficulty in printing brochure is you have to make correct
 page order.

 --
 Zhang Weiwu   CEO Real Softservice
 International business: http://www.realss.com
 International sales:0086 10 84606011
 Inland business:http://www.realss.cn
 Inland sales call:  0086 592 2099987
 --
 gentoo-user@gentoo.org mailing list



http://www.complang.tuwien.ac.at/anton/why-not-pdf.html

Take a look at this... PDF is the proprietary modification of ps,
added some tags and some compression (that can easily be repeated with
lots of advantages in any compressor). And, well, read for yourself.

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] way OT - doze equivalent for dvdrip for a linophobe friend

2005-10-24 Thread Michael Crute
On 10/22/05, Antoine [EMAIL PROTECTED] wrote:
Hi,I am really embarrassed to ask this question but I have spent a coupleof hours searching and couldn't find anything even remotely as good as:
emerge -av dvdripa couple of clicks, legal (in France it is even LEGAL to copy renteddvds!!!) backup of dvd. Why are things so much more difficult with doze?!?
I think the problem you are seeing is precisely the reason people use Linux, windoze just SUCKS. 

To your question, I have previously had good luck with slysoft products.

-Mike-- Michael E. CruteSoftware DeveloperSoftGroup Development CorporationLinux, because reboots are for installing hardware.In a world without walls and fences, who needs windows and gates? 



Re: [gentoo-user] vnc

2005-10-24 Thread John Jolet
first make sure vnc is actually running and listening.  when you start the 
server, it should tell you what address and X display offset it's using.  
Make sure with netstat -a that it really is listening there.  Second, are you 
running iptables on that box?  as a quick test, if you are, shut down 
iptables and see if you can see it.
On Sunday 23 October 2005 18:10, Mark wrote:
 I followed the instructions on the Gentoo wiki about configuring VNC
 server, but I am not able to connect either inside the LAN or from the
 outside, despite having port forwarding enabled for it on my firewall. I
 went through the instructions twice, and everything is as listed. Anybody
 know if there are some common mistakes made not mentioned in the article
 that I might check for? Alternatively, is there a better solution for
 remote access to my Gentoo box I should be looking at? Thanks!

 --
 Mark
 [unwieldy legal disclaimer would go here - feel free to type your own]

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



Re: [gentoo-user] Agetty

2005-10-24 Thread Dirk Heinrichs
Am Montag, 24. Oktober 2005 10:17 schrieb ext Glenn Enright:
 On Mon, 24 Oct 2005 20:27, Daniel Faulknor wrote:
  Hi everyone
  After my kernel loads i get the message
  INIT: cannot execute /sbin/agetty
  INIT: Id c6 respawning too fast: disabled for 5 minutes
   INIT: no more processes left in this runlevel
 
  Then the computer just stops - HELP!
 
  Thanks
  Daniel Faulknor
  --
  www.nzguydaniel.blogspot.com http://www.nzguydaniel.blogspot.com

 you are missing the agetty application that is described in your
 /etc/inittab file. agetty belongs to sys-apps/util-linux, which you could
 reemerge by using your livecd and doing the chroot thing like when you
 installed.

Or ist is installed, but has no execute permission.

 either that or you are playing with a new kernel, and forgot  
 to compile support for the filesystem which /sbin is on.

If this was the case, how could init be executed, or even read inittab?

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstraße 55  | Web:  http://www.capgemini.com
D-40472 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


pgpJqOwHpHFut.pgp
Description: PGP signature


Re: [gentoo-user] Emerging without Internet connection

2005-10-24 Thread Michael Crute
On 10/24/05, Gentoo Voyager [EMAIL PROTECTED] wrote:

Dear all,

My home gentoo box dos't have a internet connection, but i need to install Sendmail on my PC( for testing perposer), any one know how to do it without internet cennection..

You need to find a gentoo box on an internet connection and use emerge to fetch the sources then dump them in your distfiles directory and away you go.

-Mike-- Michael E. CruteSoftware DeveloperSoftGroup Development CorporationLinux, because reboots are for installing hardware.In a world without walls and fences, who needs windows and gates? 



Re: [gentoo-user] [ot] PDF or PS format for daily use?

2005-10-24 Thread John Jolet
On Monday 24 October 2005 08:33, Daniel da Veiga wrote:
Um, ps is itself proprietary.  Technically, adobe still owns the patent, don't 
they?
 Take a look at this... PDF is the proprietary modification of ps,
 added some tags and some compression (that can easily be repeated with
 lots of advantages in any compressor). And, well, read for yourself.

 --
 Daniel da Veiga
 Computer Operator - RS - Brazil
 -BEGIN GEEK CODE BLOCK-
 Version: 3.1
 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
 PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
 --END GEEK CODE BLOCK--

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



Re: [gentoo-user] [ot] PDF or PS format for daily use?

2005-10-24 Thread Daniel da Veiga
On 10/24/05, John Jolet [EMAIL PROTECTED] wrote:
 On Monday 24 October 2005 08:33, Daniel da Veiga wrote:
 Um, ps is itself proprietary.  Technically, adobe still owns the patent, don't
 they?

Yeah, my mistake. Still, postscript was always more portable than pdf (IMO).

  Take a look at this... PDF is the proprietary modification of ps,
  added some tags and some compression (that can easily be repeated with
  lots of advantages in any compressor). And, well, read for yourself.
 
  --
  Daniel da Veiga
  Computer Operator - RS - Brazil
  -BEGIN GEEK CODE BLOCK-
  Version: 3.1
  GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
  PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
  --END GEEK CODE BLOCK--

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




--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [ot] PDF or PS format for daily use?

2005-10-24 Thread Digby Tarvin
In general, I think it is pretty straight forward to go from PDF
to postscript, and PDF seems easier to access for Windows users,
so if you can store a PDF file as your displayable format then
I don't think you need to also store the postscipt.

There are occasions, however, when PDF output isn't an option
and so postcript is necessary. For example, I have yet
to find a way to get TeX ducuments which include TeXdraw diagrams
into PDF without losing all the graphics. 

Does anyone know if gs or something similar is available for
windows? 

Regards,
DigbyT

On Mon, Oct 24, 2005 at 12:22:04PM -0200, Daniel da Veiga wrote:
 On 10/24/05, John Jolet [EMAIL PROTECTED] wrote:
  On Monday 24 October 2005 08:33, Daniel da Veiga wrote:
  Um, ps is itself proprietary.  Technically, adobe still owns the patent, 
  don't
  they?
 
 Yeah, my mistake. Still, postscript was always more portable than pdf (IMO).
 
   Take a look at this... PDF is the proprietary modification of ps,
   added some tags and some compression (that can easily be repeated with
   lots of advantages in any compressor). And, well, read for yourself.
  
-- 
Digby R. S. Tarvin [EMAIL PROTECTED]
http://www.digbyt.com
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] vnc

2005-10-24 Thread Mark Shields
Vnc (I've only dealt with tightvnc, can't speak for others) is pretty
easy to use/start. After you've emerged tightvnc, simply type
xvncserver :1 -geometry 1024x768 -depth 24 from a shell and
it will setup a vnc server. From there you can use a vnc client
to connect to the server, using this format: IP address of
server:1 --- the colon is important as it denoted
screen 1. Once you connect to that it will give you a vnc desktop
running at a 1024x768 resolution with a 24-bit color depth. By
default, tightvnc (Gentoo-specific?) uses twm as the window manager,
but you can easily change this to use gnome, kde, or virtually any
other window manager/desktop environment by editing ~/.vnc/xstartupOn 10/24/05, John Jolet [EMAIL PROTECTED] wrote:
first make sure vnc is actually running and listening.when you start theserver, it should tell you what address and X display offset it's using.
Make sure with netstat -a that it really is listening there.Second, are yourunning iptables on that box?as a quick test, if you are, shut downiptables and see if you can see it.On Sunday 23 October 2005 18:10, Mark wrote:
 I followed the instructions on the Gentoo wiki about configuring VNC server, but I am not able to connect either inside the LAN or from the outside, despite having port forwarding enabled for it on my firewall. I
 went through the instructions twice, and everything is as listed. Anybody know if there are some common mistakes made not mentioned in the article that I might check for? Alternatively, is there a better solution for
 remote access to my Gentoo box I should be looking at? Thanks! -- Mark [unwieldy legal disclaimer would go here - feel free to type your own]--John JoletYour On-Demand IT Department
512-762-0729www.jolet.net[EMAIL PROTECTED]--gentoo-user@gentoo.org mailing list
-- - Mark Shields


Re: [gentoo-user] [ot] PDF or PS format for daily use?

2005-10-24 Thread David Helstroom

Digby Tarvin wrote:


snip
Does anyone know if gs or something similar is available for
windows?
 


You could try googling for gs windows. Check out:
   http://www.google.com/search?q=gs+windows

HTH,


   Dave.


smime.p7s
Description: S/MIME Cryptographic Signature


[gentoo-user] inhouse email

2005-10-24 Thread Mark
Can anyone who has done it comment on the downside (if any) of bringing
email in-house, as opposed to continuing to pay a hosting provider? My
plan is to have a separate server, sitting by itself in the DMZ, so the
internal LAN should remain relatively safe. The DSL provider we use
will host the DNS records (MX). We have a top-notch firewall already in
place, but this is the first step we've taken toward making anything
available inbound, so I'm cautiously optimistic.-- Mark[unwieldy legal disclaimer would go here - feel free to type your own]


Re: [gentoo-user] inhouse email

2005-10-24 Thread John Jolet
Two things, well several things, really.  You need more than one mail server, 
or you need a store-and-forward mx in case your mail server goes down.  
Second, I'd make sure you put antivirus and spam guards on the mail server, 
and that it's beefy enough to handle the traffic.  A good split is to put a 
bastion mail server doing antivirus and spam checks, but no user verification 
outside the firewall (or inside a non-natting firewall), and have him just 
forward everything to a secure mail server inside.  put the secure mail 
server with a non-routable ip, and the bastion mail server with one public 
ip, and one non-routable, to talk to the secure mail server.  Make sure both 
mail servers are up-to-date and kept up to date patchwise.  Run NO other 
services (except maybe ssh) on either server.
On Monday 24 October 2005 10:29, Mark wrote:
 Can anyone who has done it comment on the downside (if any) of bringing
 email in-house, as opposed to continuing to pay a hosting provider? My plan
 is to have a separate server, sitting by itself in the DMZ, so the internal
 LAN should remain relatively safe. The DSL provider we use will host the
 DNS records (MX). We have a top-notch firewall already in place, but this
 is the first step we've taken toward making anything available inbound, so
 I'm cautiously optimistic.

 --
 Mark
 [unwieldy legal disclaimer would go here - feel free to type your own]

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



Re: [gentoo-user] inhouse email

2005-10-24 Thread Michael Sullivan
On Mon, 2005-10-24 at 11:29 -0400, Mark wrote:
 Can anyone who has done it comment on the downside (if any) of
 bringing email in-house, as opposed to continuing to pay a hosting
 provider? My plan is to have a separate server, sitting by itself in
 the DMZ, so the internal LAN should remain relatively safe. The DSL
 provider we use will host the DNS records (MX). We have a top-notch
 firewall already in place, but this is the first step we've taken
 toward making anything available inbound, so I'm cautiously
 optimistic.
 
 -- 
 Mark
 [unwieldy legal disclaimer would go here - feel free to type your own]

I have an in-house mail server.  In my experience, the only problem I
have with it is when our cable Internet goes out.  I pay $99USD a month
for cable Internet with a static IP and the cable usually goes out for a
couple of hours on the weekends (grrr).  Other than that I haven't
really had any problems with it...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] inhouse email

2005-10-24 Thread John Jolet
On Monday 24 October 2005 10:37, Michael Sullivan wrote:
 On Mon, 2005-10-24 at 11:29 -0400, Mark wrote:
  Can anyone who has done it comment on the downside (if any) of
  bringing email in-house, as opposed to continuing to pay a hosting
  provider? My plan is to have a separate server, sitting by itself in
  the DMZ, so the internal LAN should remain relatively safe. The DSL
  provider we use will host the DNS records (MX). We have a top-notch
  firewall already in place, but this is the first step we've taken
  toward making anything available inbound, so I'm cautiously
  optimistic.
 
  --
  Mark
  [unwieldy legal disclaimer would go here - feel free to type your own]

 I have an in-house mail server.  In my experience, the only problem I
 have with it is when our cable Internet goes out.  I pay $99USD a month
 for cable Internet with a static IP and the cable usually goes out for a
 couple of hours on the weekends (grrr).  Other than that I haven't
 really had any problems with it...
this might be a little off-topic, but zoneedit.com will provide a 
store-and-forward backup mx for like $10/year.  That's what I use.
-- 
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
[EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] inhouse email

2005-10-24 Thread Jonathan Wright

Mark wrote:
Can anyone who has done it comment on the downside (if any) of bringing 
email in-house, as opposed to continuing to pay a hosting provider? My 
plan is to have a separate server, sitting by itself in the DMZ, so the 
internal LAN should remain relatively safe. The DSL provider we use will 
host the DNS records (MX). We have a top-notch firewall already in 
place, but this is the first step we've taken toward making anything 
available inbound, so I'm cautiously optimistic.


Generally, most mail will sit in a queue for around 3 days before 
failing to deliver - but that depends on the host/server. So, the odd 
outage shouldn't be a problem - at least it's not with me here :)


Also, it's worth double-checking to see if your ISP will allow port 25 
inwards. Some don't, and you wouldn't want to do all that work only to 
find nothing happening! :/


--
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.13-gentoo-r3-djnauk-b2 AMD Athlon(tm) XP 2100+
 up  4:46,  1 user,  load average: 0.69, 0.55, 0.50
--
 Did you hear about the Scottish drag queen? He wore pants.

~ Lynn Lavner
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] inhouse email

2005-10-24 Thread Thomas T. Veldhouse

Mark wrote:

Can anyone who has done it comment on the downside (if any) of 
bringing email in-house, as opposed to continuing to pay a hosting 
provider? My plan is to have a separate server, sitting by itself in 
the DMZ, so the internal LAN should remain relatively safe. The DSL 
provider we use will host the DNS records (MX). We have a top-notch 
firewall already in place, but this is the first step we've taken 
toward making anything available inbound, so I'm cautiously optimistic.


You might want to find a provider to be your secondary MX so that email 
will get queued and forwarded upon failure of your DSL or your server.


Tom Veldhouse

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] inhouse email

2005-10-24 Thread Digby Tarvin
It is easy enough to set it up and test it in parallel with your
current setup. Nothing important should be directed there till you
advertise it..

I have been running a mail server on my home system ever since I got
my DSL connection at home. It is where I normally direct mailing
list traffic and other correspondence which is non critical,
because I can create dedicated aliases which all point the the
same ultimate mailbox, making it easy to identify where spammers
have been obtaining addresses from, and making it possible to just
invalidate the effected address...

For person mail that I want to be able to access when I am
travelling I use a mail forwarding address which can be
pointed at an ISP hosted POP3 mailbox (which is polled using
fetchmail when I am home) or when needed can be pointed direct
to my home server.

Regards,
DigbyT

On Mon, Oct 24, 2005 at 05:11:02PM +0100, Jonathan Wright wrote:
 Mark wrote:
 Can anyone who has done it comment on the downside (if any) of bringing 
 email in-house, as opposed to continuing to pay a hosting provider? My 
 plan is to have a separate server, sitting by itself in the DMZ, so the 
 internal LAN should remain relatively safe. The DSL provider we use will 
 host the DNS records (MX). We have a top-notch firewall already in 
 place, but this is the first step we've taken toward making anything 
 available inbound, so I'm cautiously optimistic.
 
 Generally, most mail will sit in a queue for around 3 days before 
 failing to deliver - but that depends on the host/server. So, the odd 
 outage shouldn't be a problem - at least it's not with me here :)
 
 Also, it's worth double-checking to see if your ISP will allow port 25 
 inwards. Some don't, and you wouldn't want to do all that work only to 
 find nothing happening! :/
 
 -- 
  Jonathan Wright   ~ mail at djnauk.co.uk
~ www.djnauk.co.uk
 --
  2.6.13-gentoo-r3-djnauk-b2 AMD Athlon(tm) XP 2100+
  up  4:46,  1 user,  load average: 0.69, 0.55, 0.50
 --
  Did you hear about the Scottish drag queen? He wore pants.
 
 ~ Lynn Lavner
 -- 
 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] CFLAGS setting for Intel(R) Pentium(R) M processor 1.73GHZ stepping 08

2005-10-24 Thread Rafael Fernández López
 On 01:31 Sun 23 Oct , Richard Watson wrote:
 I've just got a new laptop I'm installing Gentoo on and was wondering if
 anyone could advise on the CFLAG setting I'm using. The CPU is a
 Intel(R) Pentium(R) M processor 1.73GHZ stepping 08. Currently I've set
 CFLAGS=-02 -mcpu=pentium -pipe
 --
 Thanks, Richard

 --
 gentoo-user@gentoo.org mailing list

 I have:

 CFLAGS=-02 -march=pentium4

 Seems to work nicely on my M processor.

 Bill Roberts


I have CFLAGS=-O3 -mtune=pentium-m

This boosts the computer at the maximum level !!

Bye,
Rafael Fernández López.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Agetty

2005-10-24 Thread Glenn Enright
On Tue, 25 Oct 2005 02:48, Dirk Heinrichs wrote:
  either that or you are playing with a new kernel, and forgot
  to compile support for the filesystem which /sbin is on.

 If this was the case, how could init be executed, or even read inittab?

it is possibly on a separate partition.
-- 

I want to reach your mind -- where is it currently located?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] using g++ instead of gcc to build abiword

2005-10-24 Thread Robert Persson
On October 22, 2005 11:53 pm Richard Fish was like:

 Could you post the output of gcc -print-search-dirs?

 Particularly, I am looking to see something like:

 libraries: =/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/...

 I think the libstdc++ library in this directory contains the
 gxx_personality_v0 symbol, but the stdc++ in /usr/lib does not.  If gcc
 was somehow linking against /usr/lib first, it would pull in the
 libstdc++ from there, and you would end up with the problem above.

zebedee ~ # gcc -print-search-dirs
install: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/
programs: 
=/usr/libexec/gcc/i686-pc-linux-gnu/3.4.4/:/usr/libexec/gcc/i686-pc-linux-gnu/3.4.4/:/usr/libexec/gcc/i686-pc-linux-gnu/:/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/:/usr/lib/gcc/i686-pc-linux-gnu/:/usr/libexec/gcc/i686-pc-linux-gnu/3.4.4/:/usr/libexec/gcc/i686-pc-linux-gnu/:/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/:/usr/lib/gcc/i686-pc-linux-gnu/:/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/i686-pc-linux-gnu/3.4.4/:/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/bin/
libraries: 
=/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/:/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/:/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/lib/i686-pc-linux-gnu/3.4.4/:/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../../i686-pc-linux-gnu/lib/:/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../i686-pc-linux-gnu/3.4.4/:/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../:/lib/i686-pc-linux-gnu/3.4.4/:/lib/:/usr/lib/i686-pc-linux-gnu/3.4.4/:/usr/lib/

There is a lot of convoluted repetition here.  Would that make a difference? 

 So 
 you should also check that /usr/lib/gcc/i686-pc-linux-gnu/3.4.4 contains
 usable libstdc++ files:

 carcharias lib # ll /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++*
 -rw-r--r--  1 root root 1702000 Sep 10 20:22
 /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.a
 -rwxr-xr-x  1 root root 957 Sep 10 20:22
 /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.la
 lrwxrwxrwx  1 root root  18 Oct  9 00:49
 /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so - libstdc++.so.6.0.3
 lrwxrwxrwx  1 root root  18 Oct  9 00:49
 /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6 - libstdc++.so.6.0.3
 -rwxr-xr-x  1 root root 1077149 Sep 10 20:22
 /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6.0.3
 -rw-r--r--  1 root root 1798478 Sep 10 20:22
 /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++_pic.a

All of the above are where they should be on my system.

 -Richard

Thanks
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



Re: [gentoo-user] Script Run From Cron Sometimes Leaves Defunct sh Process

2005-10-24 Thread Drew Tomlinson

On 10/24/2005 1:04 AM Heinz Sporn wrote:


Am Sonntag, den 23.10.2005, 07:36 -0700 schrieb Drew Tomlinson:
 


   # Create symlink from original file to $newfile in $local_dir
   # specified above.
   ln -s $original $local_dir/$newfile
   



Just a suggestion: insert a minimum of error handling like 


ln -s $original $local_dir/$newfile
if (( $?  0 )) ; then logger -t myscript That didn't work for some
reason ; fi

... or something else at points where the script could fail.
 



Good idea!

Thanks,

Drew

--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books,  More!

http://www.alchemistswarehouse.com

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] inhouse email

2005-10-24 Thread Jonathan Wright

Digby Tarvin wrote:

It is easy enough to set it up and test it in parallel with your
current setup. Nothing important should be directed there till you
advertise it..


That's fine for outgoing mail, but unless an MX record exists for the 
internal server on a domain/subdomain, it's difficult to 'direct' 
traffic from the outside in.


The only other way I can think off is to test the server using either a 
telnet port or a script from an off-site computer onto the new server.



I have been running a mail server on my home system ever since I got
my DSL connection at home. It is where I normally direct mailing
list traffic and other correspondence which is non critical,
because I can create dedicated aliases which all point the the
same ultimate mailbox, making it easy to identify where spammers
have been obtaining addresses from, and making it possible to just
invalidate the effected address...

For person mail that I want to be able to access when I am
travelling I use a mail forwarding address which can be
pointed at an ISP hosted POP3 mailbox (which is polled using
fetchmail when I am home) or when needed can be pointed direct
to my home server.


All me e-mail comes in on my home server and has been now for ~3 years, 
along with my families for the last year or so now that multiple domains 
has been setup. I've even used it as an emergency backup for another 
server when that went down.


As for remote access, I use IMAP over SSL. Most new phones and PDA's 
support SSL encryption over IMAP and SMTP, plus I have the advantage of 
all my mail being handled from one location.


--
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.13-gentoo-r3-djnauk-b2 AMD Athlon(tm) XP 2100+
 up  5:41,  2 users,  load average: 1.22, 0.86, 0.83
--
 I can't help looking gay. I put on  a  dress  and  people  say,
 Who's the dyke in the dress?

   ~ Karen Ripley
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] inhouse email

2005-10-24 Thread Marshal Newrock
On Monday 24 October 2005 11:36, John Jolet wrote:
 Two things, well several things, really.  You need more than one mail
 server, or you need a store-and-forward mx in case your mail server goes
 down. Second, I'd make sure you put antivirus and spam guards on the mail
 server, and that it's beefy enough to handle the traffic.  A good split
 is to put a bastion mail server doing antivirus and spam checks, but no
 user verification outside the firewall (or inside a non-natting
 firewall), and have him just forward everything to a secure mail server
 inside.  put the secure mail server with a non-routable ip, and the
 bastion mail server with one public ip, and one non-routable, to talk to
 the secure mail server.  Make sure both mail servers are up-to-date and
 kept up to date patchwise.  Run NO other services (except maybe ssh) on
 either server.

I'd like to disagree with a couple points on here.

First off, a secondary MX is not necessary.  If an email can't get through 
due to a server being down, it will be retried and get through later when 
the server is up.

Second, if you are receiving email from the outside world and are not doing 
any user verification, you are a source of backscatter, and therefore of 
spam.  Do not accept mail for invalid receipients.  Do not have a secondary 
MX if you can not do recipient verification with it.  Accept-and-bounce is 
spam.

Depending on the amount of mail received, it's not necessary to separate 
services to different boxes.  Sending and receiving mail takes very little 
resources.  It's the extra services, such as spam and antivirus, that 
require heavier hardware, again depending on your load.  You do want to 
make sure, though, that no outside connections are possible to any spam or 
virus filtering programs on the mail server.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] inhouse email

2005-10-24 Thread kashani

John Jolet wrote:
Two things, well several things, really.  You need more than one mail server, 
or you need a store-and-forward mx in case your mail server goes down.  
Second, I'd make sure you put antivirus and spam guards on the mail server, 
and that it's beefy enough to handle the traffic.  A good split is to put a 
bastion mail server doing antivirus and spam checks, but no user verification 
outside the firewall (or inside a non-natting firewall), and have him just 
forward everything to a secure mail server inside.  put the secure mail 
server with a non-routable ip, and the bastion mail server with one public 
ip, and one non-routable, to talk to the secure mail server.  Make sure both 
mail servers are up-to-date and kept up to date patchwise.  Run NO other 
services (except maybe ssh) on either server.


	I'd skip the store and forward, it does nothing for you IMHO. The 
default queue time on most mail servers is 5 days. That should be more 
than enough time to get your mail server up and running or move your 
mail to somehwere else. If 5 days isn't enough time to make 
arrangements, then having a backup MX with store and forward would add 
some value. However store and forward servers don't allow you to check 
your mail from them in most cases so we're talking about no one in the 
office getting their mail for 5+ days. I'd definitely make plans for an 
outage, but I don't see store and forward as a necessary part of 
disaster recovery.


	Before splitting your mail up into multiple machines think about the 
number of users you have, the amount of mail you get, and what sort of 
server you have. A decent sized server can easily deal with a 50-100 
person office using webmail, imap, and spam filtering. I'm sure you can 
find someway to shoot yourself in the foot and need more servers, but 
some simple planning should keep that from happening.


1. Block mail up front.
	Use greylisting as it stops spam before it enters the MTA's queue. This 
keeps 90% of my spam from even entering the more resounce intensive 
filtering processes.


2. Don't use blacklists
	30% false positive rate. Comapared to 1-2% for Bayesian or Markovian 
filtering.


3. Do some simple check up front, but don't do too many.
	Require a helo, reject invalid hostnames, reject unknown domains, 
reject non FQDN, and that's pretty much it. Requiring DNS to match and 
other checks is something you can do, but I've found that there are too 
many poorly configured legitimate mail servers for this to be worth the 
hassle.


	Protecting your mail server is good, but you need to make that decision 
based on how you plan to use it. I've seen offices where you had to log 
into the VPN in order to check your mail, much like the system John 
described above. I've seen others where it was out on a public IP with 
no protection. Personally I go for somewhere in the middle.


1. Firewall
	You have one, so no problems here. Do remember that any sort of smtp 
protocol inspection usually breaks smpt-auth so you may need to turn 
that off.


2. Encryption
	You're not going to have all sorts of bearely litterate idiots using 
your mail server so you can configure and force all your users to use 
TLS with smtp, imap-ssl, pop3-ssl, and actually not run the unsecure 
services at all.


3. Webmail and user management
	I needed to support webmail and also wanted to use PostfixAdmin as the 
frontend to mail. PostfixAdmin allows users to change their password and 
set their own vacations which is all stuff I don't have to do anymore. 
PostfixAdmin also allows me to create users, aliaes, add domains, etc 
without having to deal with phpmyadmin or writing the SQL manually in a 
virtual system... you might not need to get that complicated. I'm also 
running Horde and did some changes that allow users to change their 
password through there as well to keep support requests down. Running 
these requires Apache, mod_php, and mod_ssl if you want to force https 
for logins and what not. If you're small enough I'd just force https 
period.
	I suspect that'll you'll need webmail or it'll just be too handy not to 
do. Make sure you look into some of the tuning stuff to keep it fast 
like imap-proxy.


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



Re: [gentoo-user] using g++ instead of gcc to build abiword

2005-10-24 Thread Robert Persson
On October 23, 2005 02:39 am Hans-Werner Hilse was like:

 What you cited then looks like the final linking step. My first guess
 is that the ebuild doesn't list all dependencies of abiword that it
 actually has and in your case you're missing one. Check the -lx
 lines (libraries) if something is obviously not yet installed. I don't
 really know which library is supposed to provide those missing
 functions, and searching for them doesn't make lot of sense - I guess
 new and delete aren't very typical for one certain library...

It sounds, from what Richard Fish has said, as if libstdc++ is the culprit, 
and I do have that installed.  I have also been having the same kind of error 
with some other ebuilds, some of which had also worked fine in the past, 
which is another reason to believe abiword itself isn't the problem.  
Couldn't find anything weird beginning -l in the emerge stdout/stderr.

 Have you got some old .h header files lying around
 in /usr/local/include? This might totally mess up things, as well as
 duplicate libraries (of different versions) in /usr/lib
 and /usr/local/lib.

Nope.  Nothing like that.  Only stuff to do with audio processing and a couple 
of other obscure things.  But both you and Richard agree that multiple 
installed library versions may be the problem.  That certainly sounds 
plausible to me.

Many thanks
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



Re: [gentoo-user] bash completion for paths not working

2005-10-24 Thread Mark Knecht
On 10/24/05, Holly Bostick [EMAIL PROTECTED] wrote:
 Mark Knecht schreef:
  Hi, On one machine of mine, and only one machine, bash completion is
  not working for my user account when I try to complete a path. I hit
  tab and nothing happens. Bash completion is working for files though.
  I can do bash completion in my home directory and get a list of
  files, but if I try to complete /usr/sr  but hitting a tab it just
  sits and does nothing.
 
  It works fine for root.
 
  What turns this feature on for a user? I copied a good .bashrc file
  from a working machine over and logged back into the bad machine but
  that didn't fix it.
 
  man bash makes it look like it should be on by default.
 
  Thanks for the unix lesson.
 
  Cheers, Mark

 Yes, I have a similar problem, but bash-completion doesn't work
 correctly for anybody (user or su root).

 I uncommented the bash completion command in both ~/.bashrcs long ago,
 and at first the problem was only for root (which was weird enough); now
 (what constitutes 'now' as opposed to 'previously' I don't know) if I
 hit tab when filling in a path or a filename, as you said, nothing
 happens; if I fill in the rest of the path manually, the file is not
 found-- because my use of the TAB key has invisibly taken me up one
 directory (where the file does not exist). When I hit enter, I find that
 if I had started in /usr/local/src, I am now in /usr/local, for example.

 This occurs under various terminals (aterm, gnome-terminal,
 multi-gnome-terminal, xterm), although bash-completion fails differently
 under each of them (which is also weird). I know something has changed,
 but not what.

 Although now that I'm looking into this (which I had not really
 taken time to do, so I wasn't really 'worrying' about it as I had put
 this annoyance on my secondary 'to-do/fix' list, despite the fact that
 it's a major annoyance) I notice that I have both bash-completion and
 bash-completion-config installed-- and the man
 page for bash-completion-config says that the config files are in
 /etc/bashcomp-configrc, if it exists, or $HOME/.bashcomp-configrc, if it
 exists.

 So at least I probably need to check there first to see if
 bash-completion has in fact been set, since there is no mention of
 ~/.bashrc and perhaps those settings are now invalid, or in conflict.

 Something for you to check as well, Mark?

 Holly

Holly,
   Interesting, but somewhat different than mine. What I'm finding
this morning is that as a user it will complete some paths. For
instance here is completes for a path in my directory:

[EMAIL PROTECTED] ~ $ pwd
/home/mark
[EMAIL PROTECTED] ~ $ ls CODE/
xfst-0.4  xfst-0.4.tar.gz
[EMAIL PROTECTED] ~ $ cd CODE/xfst-0.4/
Makefile fst.oinstall-sh   vst/ xfst
README   fstconfig.c  jackvst.hvsti.c   xfst.exe.so
audiomaster.cfstinfofile.cjfst.c   vsti.o
audiomaster.ofstinfofile.ojfst.o   vstinfo.c
fst.cgtk.creadme.jack-fst  vstwin.c
fst.hgtk.otags vstwin.o
[EMAIL PROTECTED] ~ $ cd CODE/xfst-0.4/vst
vst/   vsti.c vsti.o vstinfo.c  vstwin.c   vstwin.o
[EMAIL PROTECTED] ~ $ cd CODE/xfst-0.4/vst
[EMAIL PROTECTED] ~/CODE/xfst-0.4/vst $ pwd
/home/mark/CODE/xfst-0.4/vst
[EMAIL PROTECTED] ~/CODE/xfst-0.4/vst $

and for a file:

[EMAIL PROTECTED] ~ $ pwd
/home/mark
[EMAIL PROTECTED] ~ $ ls CODE/xfst-0.4/
Makefile fst.oinstall-sh   vst/ xfst
README   fstconfig.c  jackvst.hvsti.c   xfst.exe.so
audiomaster.cfstinfofile.cjfst.c   vsti.o
audiomaster.ofstinfofile.ojfst.o   vstinfo.c
fst.cgtk.creadme.jack-fst  vstwin.c
fst.hgtk.otags vstwin.o
[EMAIL PROTECTED] ~ $ ls CODE/xfst-0.4/vst
vst/   vsti.c vsti.o vstinfo.c  vstwin.c   vstwin.o
[EMAIL PROTECTED] ~ $ ls CODE/xfst-0.4/vstinfo.c
CODE/xfst-0.4/vstinfo.c
[EMAIL PROTECTED] ~ $

It works for hidden direcotries and files:

[EMAIL PROTECTED] ~ $ cd .wine/
dosdevices/  drive_c/ system.reg   user.reg userdef.reg
[EMAIL PROTECTED] ~ $ cd .wine/drive_c/
My Documents/  Program Files/ windows/
[EMAIL PROTECTED] ~ $ cd .wine/drive_c/windows/
Application Data/ fonts/regedit.exe   system32/   
 winebrowser.exe
Start Menu/   inf/  rundll32.exe  temp/   
 winhelp.exe
_isenv31.ini  notepad.exe   system/   uninstall.exe   
 winhlp32.exe
command/  profiles/ system.iniwin.ini
[EMAIL PROTECTED] ~ $ cd .wine/drive_c/windows/


However it will not complete for /usr, /bin or /var:

[EMAIL PROTECTED] ~ $ ls /us
[EMAIL PROTECTED] ~ $ ls /bi
[EMAIL PROTECTED] ~ $ ls /var

This seems almost like a permissions issue. However I can cd /usr/src,
I just cannot bash complete it:

[EMAIL PROTECTED] ~ $ cd /usr/src
[EMAIL PROTECTED] 

Re: [gentoo-user] bash completion for paths not working

2005-10-24 Thread Billy Holmes

Mark Knecht wrote:

d-wxrt  18 root root  4096 Sep  6 12:46 .
d-wxrt  18 root root  4096 Sep  6 12:46 ..


your root directory should NOT have these perms.

try:

# chmod 0755 /

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] bash completion for paths not working

2005-10-24 Thread Mark Knecht
On 10/24/05, Billy Holmes [EMAIL PROTECTED] wrote:
 Mark Knecht wrote:
  d-wxrt  18 root root  4096 Sep  6 12:46 .
  d-wxrt  18 root root  4096 Sep  6 12:46 ..

 your root directory should NOT have these perms.

 try:

 # chmod 0755 /


Thanks Billy. That appears to have solved my issue.

I wonder how it ever got that way? I don't know what a trailing 't'
even means, much less put it there on purpose!

Anyway, thanks!

- Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] bash completion for paths not working

2005-10-24 Thread Billy Holmes

Mark Knecht wrote:

I wonder how it ever got that way? I don't know what a trailing 't'
even means, much less put it there on purpose!


Well, you have been tinkering with things lately. It's possible you ran 
an funky install script that had a space between a pathname / var/tmp.


To be safe, try installing one of the root kit checkers in portage and 
scan your system.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: [OT] Moving system from single-disk to RAID-1 configuration

2005-10-24 Thread Francesco Talamona
On Sunday 23 October 2005 15:53, Dan Johansson wrote:
 Hi,

 I have a setup Gentoo on a Box with a onboard ATA Raid controller
 (Promise PDC20265 FastTrak100 Lite/Ultra100). At the moment I am only
 using one ATA-Disk on this controller (this is the only disk in the
 system). Now I want to add a second Disk to this system and setup a
 RAID-1 configuration. Can someone point me to a good HOWTO or
 something similar which describes how to setup this
 (grub/lilo/dm/...) on a 2.6 kernel.

 Regards,

Many howtos mix raidtools and mdadm, this one [1] IMO is much clear.

At the moment I'm running a system with a RAID1 for /boot and another 
RAID1 for root, and a LVM2 on top of a RAID5 for everything else. [3]

The most difficult thing was making disc naming sticky, I have a ASUS 
A8V with a Via and a Promise controller, and the disk naming was so 
sloppy that if sda failed all other disks were renamed to accommodate 
in the free namespace, not at all reliable!
See [2]. 

In the end, after udev fine tuning, I managed to build a degraded array 
of 4 disks using 3 discs (the RAID1 for /boot was built with 3 of 3 
from the start) using instruction and suggestion in [1], no need 
for /etc/raidtab!

A livecd that recognizes your hardware and has mdadm, lvm... is an 
invaluable rescue tool, test it before all.

[1]http://www.linuxdevcenter.com/pub/a/linux/2002/12/05/RAID.html
[2]http://forum.hardware.fr/hardwarefr/OSAlternatifs/RAID-Soft-SATA-SCSI-Les-disques-changent-resolu-sujet-51807-1.htm
[3]http://www.gentoo.org/doc/en/lvm2.xml

ciao
Francesco
-- 
Linux Version 2.6.12-gentoo-r9, Compiled #2 Wed Aug 24 18:43:16 CEST 
2005
One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4325.37 Bogomips Total
aemaeth
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] inhouse email

2005-10-24 Thread Digby Tarvin
On Mon, Oct 24, 2005 at 06:08:05PM +0100, Jonathan Wright wrote:
 
 That's fine for outgoing mail, but unless an MX record exists for the 
 internal server on a domain/subdomain, it's difficult to 'direct' 
 traffic from the outside in.
 
 The only other way I can think off is to test the server using either a 
 telnet port or a script from an off-site computer onto the new server.

No, it is very easy. All I had was a static IP from my service provider
and a router with port 25 forwarded to an internal mail server host.

To get the mail working all I had to do was create a domain name
(using the free service at freedns.afraid.org) and point it at
my static IP.

I think it is possible to setup a MX record explicitly, but I have
never bothered because so far everything that has tried to sent
mail to it has worked fine defaulting to using the A record in
the absence of a MX record.

This mailing list is being delivered to my host using the address
gentoo_at_skaro.afraid.org, and dig gives me the following output
for the domain:
penemunde usb # dig skaro.afraid.org

;  DiG 9.2.5  skaro.afraid.org
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 34970
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 7, ADDITIONAL: 7

;; QUESTION SECTION:
;skaro.afraid.org.  IN  A

;; ANSWER SECTION:
skaro.afraid.org.   60  IN  A   195.157.127.247

;; AUTHORITY SECTION:
afraid.org. 86400   IN  NS  ns5.afraid.org.
afraid.org. 86400   IN  NS  ns6.afraid.org.
afraid.org. 86400   IN  NS  ns7.afraid.org.
afraid.org. 86400   IN  NS  ns1.afraid.org.
afraid.org. 86400   IN  NS  ns2.afraid.org.
afraid.org. 86400   IN  NS  ns3.afraid.org.
afraid.org. 86400   IN  NS  ns4.afraid.org.

;; ADDITIONAL SECTION:
ns1.afraid.org. 1800IN  A   70.84.177.198
ns2.afraid.org. 1800IN  A   204.11.167.30
ns3.afraid.org. 1800IN  A   69.28.135.46
ns4.afraid.org. 1800IN  A   70.86.10.35
ns5.afraid.org. 1800IN  A   70.86.10.32
ns6.afraid.org. 1800IN  A   70.86.10.33
ns7.afraid.org. 3600IN  A   70.86.10.34

;; Query time: 157 msec
;; SERVER: 203.27.41.5#53(203.27.41.5)
;; WHEN: Mon Oct 24 20:30:22 2005
;; MSG SIZE  rcvd: 288

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



Re: [gentoo-user] [ot] PDF or PS format for daily use?

2005-10-24 Thread Chris Gottbrath


I am not 100% sure but I seem to recall someone telling me that pdfs 
embed any fonts that are used, whereas ps files expect the fonts in 
question to be on the machine that you look at the ps file with. This 
could be a strong argument in favor of pdf files if you are sending the 
files to others.


Does anyone know if that is correct or if I am remembering wrong?


Here comes the question: if the above all stands true, why do I ever need PS
format at all? There might be some reasons to keep this format still
existing. Perhaps in other areas, other then office work.

So the conclusion: for typical office workers, we can forget PS format.
 



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] IPv6, now what?

2005-10-24 Thread Jonathan A. Kollasch
On Sunday 23 October 2005 09:46 am, Zhang Weiwu wrote:
 Hello. I recently got an IPv6 address for my small server (or perhaps I
 recently got a lot of IPv6 address, I cannot tell) from my ISP.  This is
 what I did in attempt to activate this address (all following exactly
 what is written on the ISP's manual)

 server root # ip addr add 2001:41c8:1:53ae::2/64 dev eth0
 server root # ip route add 2000::/3 via 2001:41c8:1:53ae::1
 server root # ip -6 addr show eth0
 5: eth0: BROADCAST,MULTICAST,ALLMULTI,UP qlen 1000
 inet6 2001:41c8:1:53ae::2/64 scope global
 inet6 fe80::fcfd:50ff:fe44:5d98/64 scope link
 server root # ping6 2001:41c8:1:53ae::2
 PING 2001:41c8:1:53ae::2(2001:41c8:1:53ae::2) 56 data bytes
 64 bytes from 2001:41c8:1:53ae::2: icmp_seq=1 ttl=64 time=0.077 ms
 64 bytes from 2001:41c8:1:53ae::2: icmp_seq=2 ttl=64 time=0.069 ms
 server root # ping6 www.ipv6.org
 PING www.ipv6.org(igloo.stacken.kth.se) 56 data bytes

 --- www.ipv6.org ping statistics ---
 5 packets transmitted, 0 received, 100% packet loss, time 4024ms

 Now what? Is my ipv6 address working now? I don't see a clue on how to
 do testing.

Well it should be, but it's not. I can ping (your|their) router, but not your 
server. You might try a traceroute6 to see where the problem might be. If you 
still need help try #IPv6 on irc.freenode.net. Or if your ISP provides 
support for IPv6 talk to them.

~~~

 One question important to me but I never understood well. If I have a
 website only defined on IPv6 address, is this website accessible from
 major platforms (e.g. Win2k+/modern Linux, IE 6+/Firefox 1+) without any
 special configuration on the client side?

Windows (XP) has IPv6 disabled by default. Users would need to configure it. 
On Linux if an IPv6 router advertises itself configuration is often 
automatic. But once users have an IPv6 connection your site should be 
accessible (assuming you get your connection up).

Jonathan Kollasch
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] curious thing with net.eth0

2005-10-24 Thread Eric S. Johansson
updated a couple of machines to 2005.1+ sometime in the past month. 
Everything went fine or so I thought.  Had to reboot one of the machines 
today.  It wouldn't boot.  Everything started okay or so it seemed 
except eth0 wasn't present.  The module was compiled in the kernel, the 
configuration was the same as it had been for a long time.


The problem was /etc/init.d/net.eth0 and /etc/init.d/net.lo were the 
same.  The net.eth0 code was overwritten with the lo code.


This happened on two machines and I'm wondering how it happened?  Did 
something go wrong in the emerge process?  There's no sign of any attackers.


ideas?

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



Re: [gentoo-user] curious thing with net.eth0

2005-10-24 Thread Renat Golubchyk
On Mon, 24 Oct 2005 15:06:26 -0400 Eric S. Johansson [EMAIL PROTECTED]
wrote:
 The problem was /etc/init.d/net.eth0 and /etc/init.d/net.lo were the 
 same.  The net.eth0 code was overwritten with the lo code.
 
 This happened on two machines and I'm wondering how it happened?  Did 
 something go wrong in the emerge process?  There's no sign of any
 attackers.

They are always the same since net.eth0 (and all other net.interface)
is a symlink to net.lo.

Cheers,
Renat


-- 
Probleme kann man niemals mit derselben Denkweise loesen,
durch die sie entstanden sind.
  (Einstein)


pgpEx5LcJ3pth.pgp
Description: PGP signature


Re: [gentoo-user] inhouse email

2005-10-24 Thread Thomas T. Veldhouse

Marshal Newrock wrote:


I'd like to disagree with a couple points on here.

First off, a secondary MX is not necessary.  If an email can't get through 
due to a server being down, it will be retried and get through later when 
the server is up.
 

That is true, if the down time is short in duration [say under three 
days].  However, not all servers are respectful of this downtime.  The 
Gentoo list servers are an example of those that patronize you for being 
down.


Tom Veldhouse

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] curious thing with net.eth0

2005-10-24 Thread Eric S. Johansson

Renat Golubchyk wrote:

On Mon, 24 Oct 2005 15:06:26 -0400 Eric S. Johansson [EMAIL PROTECTED]
wrote:
The problem was /etc/init.d/net.eth0 and /etc/init.d/net.lo were the 
same.  The net.eth0 code was overwritten with the lo code.


This happened on two machines and I'm wondering how it happened?  Did 
something go wrong in the emerge process?  There's no sign of any

attackers.


They are always the same since net.eth0 (and all other net.interface)
is a symlink to net.lo.


then that's what broke.  net.lo looks like it should and my net.eth0 
looks like:


relay2 ~ # more /etc/init.d/net.eth0
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-src/rc-scripts/init.d/net.lo,v 1.10 
2004/04/21 17:09:18 vapier Exp $


start() {
ebegin Bringing ${IFACE} up
/sbin/ifconfig lo 127.0.0.1 up 2/dev/null
/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 \
gw 127.0.0.1 dev lo 2 /dev/null
eend 0
}

stop() {
ebegin Bringing ${IFACE} down
/sbin/ifconfig ${IFACE} down /dev/null
eend 0
}


I thought they were the same because I was debugging one machine over 
the telephone and looking at a couple of different machines for examples 
and things got a mite confused.  In other words, it's wrong just not the 
wrong way I thought it was.



--- eric

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] inhouse email

2005-10-24 Thread Thomas T. Veldhouse

kashani wrote:


1. Block mail up front.
Use greylisting as it stops spam before it enters the MTA's queue. 
This keeps 90% of my spam from even entering the more resounce 
intensive filtering processes.


This is a very effective filter.  However, it does greatly slow down 
delivery of legitimate email.  I found it a bit of a pain.  Further, 
there are those servers out there that respond to greylisting as a 
bounce, so you need to specifically configure accordingly.



2. Don't use blacklists
30% false positive rate. Comapared to 1-2% for Bayesian or 
Markovian filtering.


I use both.  As far as false positive goes, I have had very few false 
positives ... in fact, i can not think of any.  But, for a corporate 
setting, I would not use it, but instead leave it all to software like 
DSPAM or Spam Assassin.



3. Do some simple check up front, but don't do too many.
Require a helo, reject invalid hostnames, reject unknown domains, 
reject non FQDN, and that's pretty much it. Requiring DNS to match and 
other checks is something you can do, but I've found that there are 
too many poorly configured legitimate mail servers for this to be 
worth the hassle.



All corporate servers should implement this IMHO ...

I am always surprised how many sites out there send mail directly from 
webservers in a DMZ that do not have proper FQDN setup.  I tend to find 
these upon making an order and not getting an email ... log searches 
reveal the problem.  So, if you want maximum ability to receive email, 
don't enforce these rules.


Tom Veldhouse
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: [OT] Moving system from single-disk to RAID-1 configuration

2005-10-24 Thread Mike Williams
On Monday 24 October 2005 19:28, Francesco Talamona wrote:
 The most difficult thing was making disc naming sticky, I have a ASUS
 A8V with a Via and a Promise controller, and the disk naming was so
 sloppy that if sda failed all other disks were renamed to accommodate
 in the free namespace, not at all reliable!

I don't read french, so I don't know what that URL said, but device naming is 
not an issue.
All you need to do is change the partition type to fd Linux raid autodetect, 
then either:
1) Compile all the raid/ide/scsi drivers you need into the kernel, and all 
your arrays will be automagically created on startup.
2) Add an entry like at the bottom of page 1 of the linuxdevcenter article, 
except all you actually need is this:

DEVICE partitions
ARRAY /dev/md0 uuid=8ef83d67:79b230ba:6cc967c3:208b9224

I have a SATA card that doesn't have in kernel drivers, so I have to load a 
module, which naturally means the kernel can't autostart all my arrays, but 
mdadm can without me having to tell it any device nodes.

-- 
Mike Williams
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] unattended installation

2005-10-24 Thread Eric Waguespack
apologies if this isn't the best mailer to send this under, but I was
curious, is there an unattended installation project for Gentoo? It
would help with mass deployments... I was going to try and come up
with a bash script but I figured I would ask before I tried to
reinvent the wheel.




Thanks!

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] module-rebuild script

2005-10-24 Thread John Green

Hi,

The Gentoo newsletter mentioned the new module-rebuild script,
so I emerged it and ran it with the following results.

# module-rebuild list
** Packages which I will emerge are:
=media-libs/svgalib-1..21-r1
=net-wireless/ieee80211-1.0.3-r2
=net-wireless/ipw2100-1.1.2-r3

So I ran

# module-rebuild rebuild

and it seemed to rebuild the three packages in question.

As a check, I then ran module-rebuild list again, and it
listed the same three modules as before.

Am I missing something obvious?  Fortunately, everything is
still working.

John Green
-- 
gentoo-user@gentoo.org mailing list



  1   2   >