[gentoo-user] the user mode linux can't access network..

2006-08-21 Thread fei huang
I have my user mode kernel running on my gentoo box following the gentoo's guide: http://www.gentoo.org/doc/en/uml.xmlbut can not access the Internet, pinging my host system appears to be no problem though..
my host system has a ADSL connection to the Internet, and eth0 has been assigned with IP 192.168.0.1.here is my command line that brings up the user mode linux:
UML linux ubd0=root_fs ubd1=swap_fs eth0=tuntap,,,192.168.0.1I assigned 192.168.0.2 to my UML, added default route entry; copyed over my 
resolv.conf.but still can't contact with my name servers nor other Internet hosts.did I miss something? or the guide is just incomplete?thanks.daniel



Re: [gentoo-user] Very OT - Need help removing NTLDR

2006-08-21 Thread Alan Mckinnon
On Sun, 2006-08-20 at 17:30 -0500, Michael Sullivan wrote:
 Awhile back my wife asked me to add Windows 98 SE to the operating
 systems on her computer (Gentoo and WinXP) so that she could play old
 games that we couldn't get to work in Linux with wine.  She attempted to
 boot into Windows XP today, but got an error message:
 
 NTLDR is missing
 Press any key to continue
 

'98 believes it's the only OS in the entire world, and sets up the MBR
on the boot disk to suit itself, so you need to put it back.

Boot off the XP install disk, start the recovery option (not sure of the
name right now, but it's obvious what it is from the menu), and run
FIXBOOT from the prompt. That should put XP right.

Then boot normally, and make sure grub.conf/menu.1st have the correct
entries for the MS OSes. Something like:

title WindowsXP
root  (hd0,1)
chainloader +1

Adjust the root entry to suit the partitions used by each Windows OS as
per normal grub rules. Everything should be back to normal. If you are
unlucky enough to have run FIXMBR from XP, then you need to reinstall
grub onto the MBR to get your usual boot loader back. Boot off any old
LiveCD and run grub-install. After booting back into Linux you can then
run the gentoo version of grub-install to restore things exactly as they
were.

alan


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Installation - about creating /etc/fstab

2006-08-21 Thread Alan Mckinnon
On Sun, 2006-08-20 at 22:35 +0800, Stephen Liu wrote:
 Hi folks,
 
 About creating /etc/fstab

[snip]


 Whether following entries are correct ?

[snip]

 /dev/vg/usr  /mnt/gentoo/usr  ext3  noatime  0 1

This one (and the other 4 LVM entries) should follow this format:

/dev/vg/usr   /usr   ext3   noatime  0 2

If you mount them at /mnt/gentoo then they are not in the right place to
do their correct function. Just remove the /mnt/gentoo part from each
(you do mount them there during the install process, but it's not their
final location). 

The two numbers at the end should be '0 1' for the partition mounted
at /, all other disk partitions get '0 2'. Mounts that are not real disk
partitions (/proc, tmpfs, swap, etc) are 0. See 'man 5 fstab' for
deatils. The first digit relates to a very old piece of software
(dump/restore) that is effectively obsolete.

alan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /etc/conf.d/net

2006-08-21 Thread Alan Mckinnon
On Sun, 2006-08-20 at 01:52 -0400, Philip Webb wrote:
 060819 David Corbin wrote:
  I emerged a bunch of stuff this morning, and got this:
  Gentoo is moving toward common config file for all network interfaces.
  I looked at /etc/conf.d/net.example  it's woefully unclear
  how I port my /etc/init.d/net.ppp0 to the new file/format.
 
 Yes, the dox are not as detailed as they sb.
 To repeat my explanation to another troubled user a few weeks ago :

Philip, 

Docs on /etc/conf.d/net are about as clear as mud from where I sit. The
last thing I need to figure out is what exactly is the difference
between config_eth0 and iface_eth0 entries?

config_eth0 simply does not work for me at all - if the net cable is not
plugged in, dhcp takes 60 seconds to time out.
But iface_eth0 realizes in less than a second that there is no network
cable and does the smart thing.

I once found a note in some other obscure doc that iface_eth0 seems to
be the syntax for ifconfig, while config_eth0 seems to be for iproute2.
Can anyone confirm or deny this?

alan


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Fastest raw copy method ? (/dev/sda - /dev/sdb)

2006-08-21 Thread Alan Mckinnon
On Sat, 2006-08-19 at 13:50 +0200, Meino Christian Cramer wrote:
 Hi,
 
  I am interested, whether there more speedier methods of copying
  /dev/sda to /dev/sdb (both are identical hds -- only the serial #
  differs :) as the good old
 
 dd if=/dev/sda of=/dev/sdb bs=cache size of one hd

dd is about as fast as it gets - reads a bunch of raw sectors, write
them somewhere else.

alan


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Newbie ebuild question

2006-08-21 Thread Jules Colding
On Fri, 2006-08-18 at 09:42 -0400, Andrew Frink wrote:
 Jules,
 I think you need to add something like(see below) Read the man page
 for that one, or grep usr/portage/

Thanks a lot. 'nomirror' is not in the ebuild man page but there are
plenty of packages that are using it.

Thanks,
  jules


 Andrew
 
 On 8/18/06, Jules Colding [EMAIL PROTECTED] wrote:
 Hi,
 
 I am trying to create an ebuild file for evolution-brutus. It
 is 
 presently looking like this (with comments removed):
 
 ### e-b ebuild start 
 inherit eutils flag-o-matic
 
 DESCRIPTION=Brutus Exchange connector for Evolution 2.4 and
 2.6
 HOMEPAGE=http://www.omesc.com/;
 
 SRC_URI=http://www.omesc.com/content/downloads/dist/SOURCES/evolution-brutus-1.1.6.tar.gz;
 
 LICENSE=GPL-2
 SLOT=0
 KEYWORDS=~x86 ~amd64
 
 RESTRICT=nomirror
 
 
 IUSE=debug
 
 DEPEND==gnome-base/orbit-2.14.1
 =dev-libs/libIDL-0.8.5
 =dev-util/pkgconfig-0.20
 =dev-util/intltool-0.30
 gnome-base/gnome-common
 =gnome-base/gnome- keyring-0.4.2
 =mail-client/evolution-2.6
 =gnome-extra/evolution-data-server-1.6
 
 DOCS=COPYING README INSTALL docs/building_from_source
 docs/using_evolution-brutus
 
 src_compile() { 
 BRUTUS_ECONF=--enable-brutus-dist=yes \
 --enable-brutus-devel=yes\
 $(use_enable debug brutus-debug yes)
 
 econf ${BRUTUS_ECONF} || die econf failed
 emake || die emake failed
 }
 
 src_install() {
 emake DESTDIR=${D} install || die emake install failed
 }
 ### e-b ebuild end  
 
 I then tried to follow:
 
   http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds
 
 to test if it worked. I tried:
 
 ebuild /usr/local/portage/gnome-extra/evolution-brutus/evolution- 
 brutus-1.1.6.ebuild fetch
 
 to test if ebuild could fetch the source. I naively assumed
 that ebuild
 would look at SRC_URI before trying to download the source.
 Unfortunately it tried to connect to all possible gentoo
 mirrors 
 instead. Can I get ebuild to download from my site without
 modifying
 make.conf?
 
 Thanks,
   jules
 
 ### emerge --info ###
 omc-2 evolution-brutus # emerge --info
 Portage 2.1-r2 (default-linux/amd64/2006.0, gcc-3.4.6,
 glibc-2.3.6-r4, 2.6.17-gentoo-r4 x86_64)
 =
 System uname: 2.6.17-gentoo-r4 x86_64 AMD Opteron(tm)
 Processor 252 
 Gentoo Base System version 1.12.4
 app-admin/eselect-compiler: [Not Present]
 dev-lang/python: 2.3.5-r2, 2.4.3-r1
 dev-python/pycrypto: 2.0.1-r5
 dev-util/ccache: [Not Present]
 dev-util/confcache:  [Not Present] 
 sys-apps/sandbox:1.2.17
 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-r2
 sys-devel/binutils:  2.16.1-r3
 sys-devel/gcc-config: 1.3.13-r3
 sys-devel/libtool:   1.5.22
 virtual/os-headers:  2.6.11-r2
 ACCEPT_KEYWORDS=amd64
 AUTOCLEAN=yes
 CBUILD=x86_64-pc-linux-gnu
 CFLAGS=-march=k8 -O2 -pipe
 CHOST=x86_64-pc-linux-gnu 
 CONFIG_PROTECT=/etc /usr/share/X11/xkb 
 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ 
 /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ 
 /usr/share/texmf/xdvi/
 CONFIG_PROTECT_MASK=/etc/env.d /etc/gconf /etc/revdep-rebuild 
 /etc/terminfo 
 CXXFLAGS=-march=k8 -O2 -pipe
 DISTDIR=/usr/portage/distfiles
 FEATURES=autoconfig distlocks metadata-transfer sandbox
 sfperms strict
 GENTOO_MIRRORS=http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
 http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
 http://pandemonium.tiscali.de/pub/gentoo/ 
 ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/ 
 http://gentoo.prz.rzeszow.pl http://ftp.du.se/pub/os/gentoo 
 ftp://mirror.pudas.net/gentoo;
 MAKEOPTS=-j3
 PKGDIR=/usr/portage/packages 
 PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms
 --times --compress --force --whole-file --delete
 --delete-after --stats --timeout=180 --exclude='/distfiles'
 --exclude='/local' --exclude='/packages' 
 PORTAGE_TMPDIR=/var/tmp
 PORTDIR=/usr/portage
 

Re: [gentoo-user] initng or runit?

2006-08-21 Thread Neil Bothwick
On Sun, 20 Aug 2006 22:01:24 -0400, Jerry McBride wrote:

 Would some kind soul save me a bit of research time? Which of the two 
 alternative init schemes are faster, initng or runit?

There's a third option that doesn't involve switching init systems, set 
RC_PARALLEL_STARTUP=no in /etc/conf.d/rc. I saw a significant speedup
when using this, and it is fully integrated into baselayout.


-- 
Neil Bothwick

If bankers can count, how come they have eight windows and only four
tellers?


signature.asc
Description: PGP signature


Re: [gentoo-user] Newbie ebuild question

2006-08-21 Thread Neil Bothwick
On Mon, 21 Aug 2006 09:58:47 +0200, Jules Colding wrote:

 Thanks a lot. 'nomirror' is not in the ebuild man page but there are
 plenty of packages that are using it.

It's covered in the ebuild HOWTO.

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


-- 
Neil Bothwick

It's ten o'clock; do you know where your processes are?


signature.asc
Description: PGP signature


Re: [gentoo-user] .keep

2006-08-21 Thread Shawn Haggett
Philip Webb wrote:
 060821 Shaochun Wang wrote:
 Does anyone know the function of .keep file in a directory?
 
 It prevents the dir from being deleted by a script,
 eg esp during a package update.
 
I believe it is to do with how tar handles directories. If there are no
files in a dir, tar won't include the dir in the archive. So to ensure
packages create dirs that will be needed by that package (i.e. an empty
data directory, or empty log directory or some such) there is a .keep
file placed in that directory. This will cause tar to create the
directory when the archive is unpacked.

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



[gentoo-user] Re: initng or runit?

2006-08-21 Thread Alexander Skwar
· Neil Bothwick [EMAIL PROTECTED]:

 On Sun, 20 Aug 2006 22:01:24 -0400, Jerry McBride wrote:
 
 Would some kind soul save me a bit of research time? Which of the two 
 alternative init schemes are faster, initng or runit?
 
 There's a third option that doesn't involve switching init systems, set 
 RC_PARALLEL_STARTUP=no in /etc/conf.d/rc. I saw a significant speedup
 when using this, and it is fully integrated into baselayout.

You saw a *speedup* when *disabling* parallel startup by setting 
RC_PARALLEL_STARTUP=no?

I thought boot would be a bit faster, when parallel startup is 
*enabled*.

Alexander Skwar
-- 
Was eine Nation groß macht, sind nicht in erster Linie die großen
Männer. Es ist das Format der Mittelmäßigen.
-- José Ortega y Gasset


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] the user mode linux can't access network..

2006-08-21 Thread fei huang
On 8/21/06, Etaoin Shrdlu [EMAIL PROTECTED] wrote:
On Monday 21 August 2006 08:38, fei huang wrote: did I miss something? or the guide is just incomplete?I see you are directly connecting the real host to the virtual host usingtuntap (eg, you don't use uml_switch).
I would like the most direct and easy way to access the network, seems the uml_switch needs just a lot more steps to set up the network... not sure though.
You probably need to enable forwarding (and possibly masquerading) on thereal box:iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADEecho 1  /proc/sys/net/ipv4/ip_forwardThe guide DOES mention this, in the section using an existing network.
yep, that's why I get so frustrated, I did exactly the same as what the guide instructs..any other posibilities that may cause the problem? 
HTH--gentoo-user@gentoo.org mailing listthank you so much..daniel


Re: [gentoo-user] Re: initng or runit?

2006-08-21 Thread Neil Bothwick
On Mon, 21 Aug 2006 10:51:27 +0200, Alexander Skwar wrote:

  There's a third option that doesn't involve switching init systems,
  set RC_PARALLEL_STARTUP=no in /etc/conf.d/rc. I saw a significant
  speedup when using this, and it is fully integrated into baselayout.  
 
 You saw a *speedup* when *disabling* parallel startup by setting 
 RC_PARALLEL_STARTUP=no?
 
 I thought boot would be a bit faster, when parallel startup is 
 *enabled*.

Doh! I pasted from this box, on which I haven't enabled parallel startup
(yet), but I'm using it on my other one, which is faster with it set to
yes. I meant to change it but it's still too early in the week for me
to function properly :(


-- 
Neil Bothwick

Welcome to the world of Windows 95. Stay a while -- stay foooreveeer.


signature.asc
Description: PGP signature


[gentoo-user] Wireless WPA and ipw2200 problems

2006-08-21 Thread Alan E. Davis

I'll throw two chickens in one pot.

I have recently installed ubuntu on another partition in the mainly
gentoo gateway laptop I've been running for over a year with great
success.  I have never had any wireless problems, using the ipw2200
centrino.  I've not changed kernels for a long while, still running
2.5.15 something.  Never a hiccough.

Then, after installing ubuntu, accessing a few access points, suddenly
the module for ipw2200 won't install consistently, and I get an error,
the most recent error was -1 but there was another number earlier.

Well, at school today, confounding all this, the wireless access
points have now been set up with WPA keys.  Trying WEP keys with
Ubuntu was unsuccessful, after failling w/ gentoo altogether.  Then
when trying to run /etc/init.d/net.eth0 start again, as I've been
doing, there is no happiness, and I tracked down this failure to load
the module.  After a couple of tried, the module did, I think load,
but because of the WPA setup, I cannot figure out how to access the
net.  Back to ubuntu, back to gentoo---again module problems.  These
are firmware problems, failture to load firmware, not the ipw2200
module, sorry.

Ubuntu too, I cannot figure out how to use the WPA key.

Now I'm at a wifi access point cafe, and cannot get gentoo to work at
all, even with this unsecured site.  Ubuntu does work.

So my questions are how to get WPA to work, with both, and what the
heck is going on with the firmware?

I suspect that ubuntu loads firmware that is incompatible with gentoo.

Thanks for any help with any of the above.

Alan Davis

--
Alan Davis, Kagman High School, Saipan  [EMAIL PROTECTED] 1-670-256-2043

I consider that the golden rule requires that if I like a program I
must share it with other people who like it.
 Richard Stallman
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Wireless WPA and ipw2200 problems

2006-08-21 Thread Richard Fish

On 8/21/06, Alan E. Davis [EMAIL PROTECTED] wrote:

I suspect that ubuntu loads firmware that is incompatible with gentoo.


More likely you just don't have the right firmware installed under
gentoo.  Check the dmesg output after attempting to load the module,
and look for something about missing firmware.  It would also help us
to know if you are using the in-kernel drivers, or the external
net-wireless/ipw2200 package.

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



Re: [gentoo-user] Unable to start /usr/bin/nifd: No such file or directory

2006-08-21 Thread Richard Fish

On 8/20/06, Goran Dubajic [EMAIL PROTECTED] wrote:

/sbin/start-stop-daemon: Unable to start /usr/bin/nifd: No such file
or directory (No such file or directory)


Does /usr/bin/nifd actually exist?  What does ldd /usr/bin/nifd
report?  How about equery check net-misc/howl?

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



Re: [gentoo-user] the user mode linux can't access network..

2006-08-21 Thread fei huang
On 8/21/06, Etaoin Shrdlu [EMAIL PROTECTED] wrote:
On Monday 21 August 2006 11:24, fei huang wrote: yep, that's why I get so frustrated, I did exactly the same as what the guide instructs.. any other posibilities that may cause the problem?
Ok, let's see: you say that your eth0 (which I guess is the interfaceconnected to the ADSL and thus to the Internet) has ip address192.168.0.1. Then, you use this command to start uml:
UML linux ubd0=root_fs ubd1=swap_fs eth0=tuntap,,,192.168.0.1this means that the *host's* tun/tap interface gets ip address192.168.0.1
 as well. So, the host ends up with its two interfaces havingthe same ip address (do ip addr or ifconfig when uml is running toconfirm this) .yep, I did notice this problem, and tried to change the tun/tap interface to 
192.168.0.3,I guess this must be the same network with eth0 of my host system,, but no luck...
If the above is true, try using different addresses for the tun/tap-umlnetwork, for example from the 10.0.0.0 pool.--I'll try it out... hope this works. thanks. 
gentoo-user@gentoo.org
 mailing listregards. daniel.


[gentoo-user] Nucleus CMS

2006-08-21 Thread Dave Oxley
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I want to install a blog on my web server and was going to install
Nucleus CMS (http://nucleuscms.org/) as I've used it in the past but I
can't find an ebuild. Is there an ebuild or is there a better package
for blogging?

Cheers,
Dave.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE6ZUjx43ifHzpDVURAt5SAJ47+Z9Cf4UwTy+PuZ+5kmVmlcp8CQCdEx9Z
/FeKPIAp25AJieihpwo/FN4=
=Fn1+
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: .keep

2006-08-21 Thread Alexander Skwar
· Shawn Haggett [EMAIL PROTECTED]:

 Philip Webb wrote:
 060821 Shaochun Wang wrote:
 Does anyone know the function of .keep file in a directory?
 
 It prevents the dir from being deleted by a script,
 eg esp during a package update.
 
 I believe it is to do with how tar handles directories. If there are no
 files in a dir, tar won't include the dir in the archive.

Nope, tar doesn't have anything to do with this.

[EMAIL PROTECTED]:~/tmp/tartest$ mkdir emptydir
[EMAIL PROTECTED]:~/tmp/tartest$ tar cfv test.tar emptydir
emptydir/
[EMAIL PROTECTED]:~/tmp/tartest$ ls -la emptydir/
insgesamt 0
drwxr-xr-x 2 alexander alexander  1 2006-08-21 13:24 .
drwxr-xr-x 3 alexander alexander 16 2006-08-21 13:24 ..
[EMAIL PROTECTED]:~/tmp/tartest$ rm -r emptydir
[EMAIL PROTECTED]:~/tmp/tartest$ ls -la emptydir
ls: emptydir: No such file or directory
[EMAIL PROTECTED]:~/tmp/tartest$ tar xvf test.tar
emptydir/
[EMAIL PROTECTED]:~/tmp/tartest$ ls -la emptydir
insgesamt 0
drwxr-xr-x 2 alexander alexander  1 2006-08-21 13:24 .
drwxr-xr-x 3 alexander alexander 24 2006-08-21 13:25 ..


Alexander Skwar
-- 
Das Problem ist der Parser.  Der ist nicht fuzzy genug.
-- Klaus Knopper


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Wireless WPA and ipw2200 problems

2006-08-21 Thread Alan E. Davis

I am pretty sure I have the latest firmware installed---several
versions are installed.  I'll check whether I am using the package or
the kernel-based firmware.  I may upgrade the kernel, also.  This will
take a day or so.  Thanks (again),

Alan Davis

On 8/21/06, Richard Fish [EMAIL PROTECTED] wrote:

On 8/21/06, Alan E. Davis [EMAIL PROTECTED] wrote:
 I suspect that ubuntu loads firmware that is incompatible with gentoo.

More likely you just don't have the right firmware installed under
gentoo.  Check the dmesg output after attempting to load the module,
and look for something about missing firmware.  It would also help us
to know if you are using the in-kernel drivers, or the external
net-wireless/ipw2200 package.

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





--
Alan Davis, Kagman High School, Saipan  [EMAIL PROTECTED] 1-670-256-2043

I consider that the golden rule requires that if I like a program I
must share it with other people who like it.
 Richard Stallman
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Packages being Re-emerged after portage update

2006-08-21 Thread Graham Murray
Following a portage update/sync and running 'emerge -auDvN world',
packages sometimes show with 'R' but without any yellow or % USE flags
shown. I assume that this is because a USE flag has been removed from
either the ebuild or an eclass used by the ebuild. If this is correct,
it would be nice if it was to show which USE flag(s) are no longer
used. 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Wireless WPA and ipw2200 problems

2006-08-21 Thread W.Kenworthy
I use the sourceforge ipw2200 stuff -  never could get the kernel stuff
to work, even on simple networks.

bunyip ~ # esearch ipw2200
[ Results for search key : ipw2200 ]
[ Applications found : 2 ]

*  net-wireless/ipw2200
  Latest version available: 1.1.3
  Latest version installed: 1.1.3
  Size of downloaded files: 399 kB
  Homepage:http://ipw2200.sourceforge.net/
  Description: Driver for the Intel PRO/Wireless 2200BG/2915ABG
miniPCI and 2225BG PCI adapters
  License: GPL-2

*  net-wireless/ipw2200-firmware
  Latest version available: 3.0
  Latest version installed: 3.0
  Size of downloaded files: 791 kB
  Homepage:http://ipw2200.sourceforge.net/
  Description: Firmware for the Intel PRO/Wireless 2200BG/2915ABG
miniPCI and 2225BG PCI adapters
  License: ipw2200-fw

The above works!  It might also be a good idea to bypass as much as
possible of gentoos networking scripts (from experience,
esp /etc/conf.d/net), at least until you get a working setup, then you
can roll the changes back in and test as you go. 

They just do not work well when you have a dozen or more networks using
vpn's, wireless. wired, wep, plain and wpa - mainly I think because of
the way its documented means that while they tell you how to do many
things, they dont tell you how or why, so its too easy to shoot oneself
in the foot.  I suspect they are trying to be all things to every
possible combination, and fail dismally with wireless and laptops!  And
until I found a udev workaround, multiple network cards in a server :(

BillK

On Mon, 2006-08-21 at 19:53 +1000, Alan E. Davis wrote:
 I'll throw two chickens in one pot.
 
 I have recently installed ubuntu on another partition in the mainly
 gentoo gateway laptop I've been running for over a year with great

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: /etc/conf.d/net

2006-08-21 Thread Alan Mckinnon
On Mon, 2006-08-21 at 10:05 +0200, Alexander Skwar wrote:
 · Alan Mckinnon [EMAIL PROTECTED]:

  Docs on /etc/conf.d/net are about as clear as mud from where I sit. The
  last thing I need to figure out is what exactly is the difference
  between config_eth0 and iface_eth0 entries?
 
 Oh, that's simple! config_eth0 exists and iface_* doesn't. Quite
 clear, as far as I'm concerned.

Hmmm, it's now as clear as mud smeared all over a 100 foot black
obsidian monolith. If iface_* doesn't exist, then why does it work on my
machine? It not only works, but it works stably and well whereas
config_* is unstable, eg if it can't find a dhcp server it tends to hang
and wait forever. My /etc/init.d/net looks like:

iface_eth0=192.168.0.3 broadcast 192.168.0.255 netmask 255.255.255.0
iface_eth1=dhcp
modules=( wpa_supplicant )
wpa_supplicant_eth0=-Dipw2200

eth0 is a wired on-board nic, eth1 is an ipw2200

  I once found a note in some other obscure doc that iface_eth0 seems to
  be the syntax for ifconfig, while config_eth0 seems to be for iproute2.
  Can anyone confirm or deny this?

 Check out the documentation in /etc/conf.d/net.example. It'll deny
 that iface_* is for one tool and config_* for the other tool.

I read it, but it doesn't deny anything - it simply doesn't mention
iface_* at all. Maybe iface_* is deprecated, but I've used it since
2005.0 and that's what the docs said then. I haven't seen any updates
about it either. The baselayout ebuild has several checks at the end for
old deprecated files and veriables, but iface_* isn't one of them.

I'm using baselayout-1.12.4-r6

alan


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Packages being Re-emerged after portage update

2006-08-21 Thread Alan Mckinnon
On Mon, 2006-08-21 at 13:21 +0100, Graham Murray wrote:
 Following a portage update/sync and running 'emerge -auDvN world',
 packages sometimes show with 'R' but without any yellow or % USE flags
 shown. I assume that this is because a USE flag has been removed from
 either the ebuild or an eclass used by the ebuild. If this is correct,
 it would be nice if it was to show which USE flag(s) are no longer
 used. 

Now there's an idea, why didn't I think of that? Submit it as a feature
request, I'll give you a me too! vote

alan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] terminal access through web-browser...

2006-08-21 Thread Etaoin Shrdlu
On Monday 21 August 2006 10:10, [EMAIL PROTECTED] wrote:

 AFAIK, webmin has such a feature, but it seems to me rather
 heavy, I would prefer light-weight solution. Any ideas?

I think you have to use a java applet, see for example mindterm [1] or 
JTA [2].

[1] http://www.appgate.com/products/80_MindTerm/50_Running_MindTerm/
[2] http://javassh.org/space/start
-- 
gentoo-user@gentoo.org mailing list



Re: Re: [gentoo-user] Re: /etc/conf.d/net

2006-08-21 Thread brettholcomb
Don't feel bad Alan - for me, also this is very unclear.  I upgraded baselayout 
then got the message my conf.d/net was using deprecated syntax so I went to 
net.example, copied it to net which is symlinked to net.eth0 (after backing 
upG).  I then went through the file and found that it appears iproute2 is now 
preferred although there are no man pages or docs and it got installed on my 
system.  I use static so I updated the address with the new function per the 
in-file instructions and set the route.  I restarted net.eth0 and immediately 
lost internet access - I had pop and https but no news or regular http or sync! 
 After much hassle all I did was comment out some nameservers in 
/etc/resolv.conf and left a couple more and it worked again.  To be honest I 
can't say the upgrade was to blame - I'm checking into the nameservers having 
issues. 

However, the differences between the old and new or what the new is supposed to 
do better is very unclear.


 
 From: Alan Mckinnon [EMAIL PROTECTED]
 Date: 2006/08/21 Mon AM 09:43:17 EDT
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user]  Re: /etc/conf.d/net
 
 On Mon, 2006-08-21 at 10:05 +0200, Alexander Skwar wrote:
  · Alan Mckinnon [EMAIL PROTECTED]:
 
 I read it, but it doesn't deny anything - it simply doesn't mention
 iface_* at all. Maybe iface_* is deprecated, but I've used it since
 2005.0 and that's what the docs said then. I haven't seen any updates
 about it either. The baselayout ebuild has several checks at the end for
 old deprecated files and veriables, but iface_* isn't one of them.
 
 I'm using baselayout-1.12.4-r6
 
 alan
 
 
 -- 
 gentoo-user@gentoo.org mailing list
 
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] the user mode linux can't access network..

2006-08-21 Thread fei huang
still no luck... I tried to build everything in kernel, and later build additional iptable_filter as module, add iptable to my default run level,, neither of them works.. I found there is a warning message after emerge iptables says: ip forwarding is not included in iptables any more. what does it mean? is that related with the issue?
any hints ?... thanksdaniel


Re: [gentoo-user] the user mode linux can't access network..

2006-08-21 Thread Etaoin Shrdlu
On Monday 21 August 2006 16:22, fei huang wrote:

 still no luck... I tried to build everything in kernel, and later
 build additional iptable_filter as module, add iptable to my default
 run level,, neither of them works..

I'd try first with iptables filters *disabled*, to make sure it's not a 
firewall issue. Once it works, enable packet filtering (if you need it). 
But until you are sure it works, make sure nothing prevents traffic 
flow, so disable iptables filters.

 I found there is a warning message after emerge iptables says: ip
 forwarding is not included in iptables any more. what does it mean? is
 that related with the issue?

It means that, if you want ip forwarding, you have to enable it manually 
using the command

echo 1  /proc/sys/net/ipv4/ip_forward

To verify that forwarding is working, simply do

cat /proc/sys/net/ipv4/ip_forward

and it should print 1.
Keep in mind that if you reboot, you have to re-enable forwarding if you 
want it again.

Finally, run a network analyzer like wireshark and see for yourself 
what's happening. I'd look at ARP packets first: make sure ARP is 
working correctly.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Wireless WPA and ipw2200 problems

2006-08-21 Thread Willie Wong
On Mon, Aug 21, 2006 at 07:53:52PM +1000, Penguin Lover Alan E. Davis squawked:
 I have recently installed ubuntu on another partition in the mainly
 gentoo gateway laptop I've been running for over a year with great
 success.  I have never had any wireless problems, using the ipw2200
 centrino.  I've not changed kernels for a long while, still running
 2.5.15 something.  Never a hiccough.

Upgrading your kernel might be a good idea. 

 Then, after installing ubuntu, accessing a few access points, suddenly
 the module for ipw2200 won't install consistently, and I get an error,
 the most recent error was -1 but there was another number earlier.

I take it that you are trying to install the net-wireless/ipw2200
package? (since it does not come built into the kernel until somewhere
around 2.6.8)

 Well, at school today, confounding all this, the wireless access
 points have now been set up with WPA keys.  Trying WEP keys with
 Ubuntu was unsuccessful, after failling w/ gentoo altogether.  Then
 when trying to run /etc/init.d/net.eth0 start again, as I've been
 doing, there is no happiness, and I tracked down this failure to load
 the module.  After a couple of tried, the module did, I think load,
 but because of the WPA setup, I cannot figure out how to access the
 net.  Back to ubuntu, back to gentoo---again module problems.  These
 are firmware problems, failture to load firmware, not the ipw2200
 module, sorry.

Which versions of firmware/ipw2200/kernel are you running here
exactly? 

 Ubuntu too, I cannot figure out how to use the WPA key.

We should tackle one thing at a time. But have you looked at 
http://gentoo-wiki.com/HOWTO_Wireless_Configuration_and_Startup

W
-- 
BOOK...Man had always assumed that he was more 
intelligent than
dolphins because he had achieved so much... the 
wheel, New York,
wars, and so on, whilst all the dolphins had ever 
done was muck
about in the water having a good time. But 
conversely the
dolphins believed themselves to be more intelligent 
than man for
precisely the same reasons.
Sortir en Pantoufles: up 1 day, 19:57
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Packages being Re-emerged after portage update

2006-08-21 Thread Willie Wong
On Mon, Aug 21, 2006 at 03:51:47PM +0200, Penguin Lover Alan Mckinnon squawked:
 On Mon, 2006-08-21 at 13:21 +0100, Graham Murray wrote:
  Following a portage update/sync and running 'emerge -auDvN world',
  packages sometimes show with 'R' but without any yellow or % USE flags
  shown. I assume that this is because a USE flag has been removed from
  either the ebuild or an eclass used by the ebuild. If this is correct,
  it would be nice if it was to show which USE flag(s) are no longer
  used. 
 
 Now there's an idea, why didn't I think of that? Submit it as a feature
 request, I'll give you a me too! vote

That would be a neat idea. But I don't think that's what the OP
described. Packages shown with R implies it is being re-compiled.
yellow or % USE flags are new ones. If you have already installed the
package once, the USE flags cannot be new ;)

I would think that if IUSE changed in an ebuild, that would warrant a
version bump, but I don't know the dev's policy on that. 

Most likely those packages are being re-merged because of a changed
USE flag on your configuration: does it have something green or
followed by *? That means a USE flag that changed since the last
install.

HTH,

W
-- 
Fortunately, this is where we stop, for the equations of motion are 2nd order. 
If it were 5th order you'd all probably switch to biology.
~DeathMech, S. Sondhi. P-town PHY 205
Sortir en Pantoufles: up 1 day, 20:03
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] the user mode linux can't access network..

2006-08-21 Thread fei huang
On 8/21/06, Etaoin Shrdlu [EMAIL PROTECTED] wrote:
On Monday 21 August 2006 16:22, fei huang wrote: still no luck... I tried to build everything in kernel, and later build additional iptable_filter as module, add iptable to my default run level,, neither of them works..
I'd try first with iptables filters *disabled*, to make sure it's not afirewall issue. Once it works, enable packet filtering (if you need it).But until you are sure it works, make sure nothing prevents traffic
flow, so disable iptables filters.mm, I disabled it from auto loading. 
 I found there is a warning message after emerge iptables says: ip forwarding is not included in iptables any more. what does it mean? is that related with the issue?It means that, if you want ip forwarding, you have to enable it manually
using the commandecho 1  /proc/sys/net/ipv4/ip_forwardTo verify that forwarding is working, simply docat /proc/sys/net/ipv4/ip_forwardand it should print 1.Keep in mind that if you reboot, you have to re-enable forwarding if you
want it again.gentoo might do that trick for me, everytime I check that value, it shows 1. 
Finally, run a network analyzer like wireshark and see for yourselfwhat's happening. I'd look at ARP packets first: make sure ARP isworking correctly.--gentoo-user@gentoo.org
 mailing listuh, that's a good idea, I'll emege wireshark and see what's happening, the most annoying thing is that there's no log for troubleshooting, I wonder why iptable never write anything to syslog? that's wierd.
regardsdaniel


Re: [gentoo-user] the user mode linux can't access network..

2006-08-21 Thread Etaoin Shrdlu
On Monday 21 August 2006 17:11, fei huang wrote:

 uh, that's a good idea, I'll emege wireshark and see what's happening,
 the most annoying thing is that there's no log for troubleshooting, I
 wonder why iptable never write anything to syslog?  that's wierd.

It will, if you tell it. Look at the LOG/ULOG targets.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Packages being Re-emerged after portage update

2006-08-21 Thread Neil Bothwick
On Mon, 21 Aug 2006 11:11:57 -0400, Willie Wong wrote:

 That would be a neat idea. But I don't think that's what the OP
 described. Packages shown with R implies it is being re-compiled.
 yellow or % USE flags are new ones. If you have already installed the
 package once, the USE flags cannot be new ;)

They can if the ebuild has changed, but new flags would be highlighted.
What is happening here is that flags have been removed, and portage
currently does not highlight those. I think the feature request is a god
idea. Post the bug number and I'll add my vote.

 I would think that if IUSE changed in an ebuild, that would warrant a
 version bump, but I don't know the dev's policy on that. 

Ebuild fixes and other general tidying up that do not alter the installed
code do not get a revision bump.


-- 
Neil Bothwick

Help put the fun back in dysfunctional !


signature.asc
Description: PGP signature


Re: [gentoo-user] Wireless WPA and ipw2200 problems

2006-08-21 Thread Canek Peláez

I'm using the latest kernel, with the ipw2200 driver it provides (not
the one in portage). Evrything works great in WPA, but I don't use the
-Dipw option of wpa_supplicant; I use -Dwext: the tip is in

 http://gentoo-wiki.com/HARDWARE_ipw2200

I'm using the suspend2 sources, so I don't have 2.6.17 yet.

Canek

On 8/21/06, Willie Wong [EMAIL PROTECTED] wrote:

On Mon, Aug 21, 2006 at 07:53:52PM +1000, Penguin Lover Alan E. Davis squawked:
 I have recently installed ubuntu on another partition in the mainly
 gentoo gateway laptop I've been running for over a year with great
 success.  I have never had any wireless problems, using the ipw2200
 centrino.  I've not changed kernels for a long while, still running
 2.5.15 something.  Never a hiccough.

Upgrading your kernel might be a good idea.

 Then, after installing ubuntu, accessing a few access points, suddenly
 the module for ipw2200 won't install consistently, and I get an error,
 the most recent error was -1 but there was another number earlier.

I take it that you are trying to install the net-wireless/ipw2200
package? (since it does not come built into the kernel until somewhere
around 2.6.8)

 Well, at school today, confounding all this, the wireless access
 points have now been set up with WPA keys.  Trying WEP keys with
 Ubuntu was unsuccessful, after failling w/ gentoo altogether.  Then
 when trying to run /etc/init.d/net.eth0 start again, as I've been
 doing, there is no happiness, and I tracked down this failure to load
 the module.  After a couple of tried, the module did, I think load,
 but because of the WPA setup, I cannot figure out how to access the
 net.  Back to ubuntu, back to gentoo---again module problems.  These
 are firmware problems, failture to load firmware, not the ipw2200
 module, sorry.

Which versions of firmware/ipw2200/kernel are you running here
exactly?

 Ubuntu too, I cannot figure out how to use the WPA key.

We should tackle one thing at a time. But have you looked at
http://gentoo-wiki.com/HOWTO_Wireless_Configuration_and_Startup

W
--
BOOK...Man had always assumed that he was more
intelligent than
dolphins because he had achieved so much... the
wheel, New York,
wars, and so on, whilst all the dolphins had ever
done was muck
about in the water having a good time. But
conversely the
dolphins believed themselves to be more intelligent
than man for
precisely the same reasons.
Sortir en Pantoufles: up 1 day, 19:57
--
gentoo-user@gentoo.org mailing list





--
Canek Peláez Valdés
Facultad de Ciencias, UNAM

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: 2006.0 install

2006-08-21 Thread James
Martin S shieldfire at gmail.com writes:


 I am having problems installing Gentoo 2006.0. The computer has partitions and
data I want to save.
 Whenever I try to install (using the LiveCD) I get as far as entering
 the root password but when the actual installation is about to start
 the installation dies. Using the cli it simply quits, using the
 graphical thing I get failed to set root password.
 Any suggestions (other than use the minimal CD)?Regards,Martin S

An early paragraph in this newsletters talks about liveCD 2006.1

http://www.gentoo.org/news/en/gwn/20060814-newsletter.xml



From a previous post:

Subject: Re: Incompatibility of gentoo 2006
Newsgroups: gmane.linux.gentoo.user
Date: 2006-08-15 15:15:09 GMT (6 days and 16 minutes ago)
Daniel da Veiga danieldaveiga at gmail.com writes:
 The GUI (as for Gentoo Installer) is not perfect (yet).

Boy, that's showing some restraint..

Of my (3) installs using LiveCD 2006.0, all three had to be
completed manually, Lots of wasted time using LiveCD 2006.0.
This was a result of scant-to-nil documentation explaining
what path (i.e. sequence of choices) to follow. So you just
have to float around the various 'sequences of choices'. Once
I got a bootable kernel out of the liveCD 2006.0, I learned
to finish the installation manually. (ugly, real ugly)...
On a positive note, the liveCD 2006 does do a pretty good job
of hardware discover, selection and driver loading.

Currently, *in my opinion*, the manual installation process
is the only one to use.  I have some additional systems to
to install, but, I'm waiting for 2006.1, which should be
released any day now. [1] will let you track the progress
of 2006.1 liveCD release schedule..

I'd be willing to beta test it, if it were released...
( I'd even promise not to bitch or ask any questions to anyone,
if a BETA of livedCD 2006.1) were available, for us commoners.

[1] http://www.gentoo.org/proj/en/releng/release/2006.1/2006.1.xml

ymmv,

James



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Gentoo on a PDA (mda III or xda III)

2006-08-21 Thread James
JC Denton jcdentonmail at yahoo.de writes:


 Hi Group!I was looking for a project that installs Gentoo on a PDA (MDA III or
XDA III) but did not find something useful. Is there such a project? I found the
familiar and xandux project so far but I would like to try Gentoo. Regards



If you do not find anything, depending on the processor, you might find more
'spartan' gentoo installation info from the gentoo-embedded group.

Google for 'gentoo-embedded' and the model of the PDA or the processor
it uses and see what you find.


hth,

James



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] How to properly change CFLAGS ?

2006-08-21 Thread Stefan G. Weichinger

I *don't* want to start some flamewar her, I am a newbie in this group,
and I just would like some info on how to do it right, as my extensive
rtfm'ing/googling/etc. has still not given me a satisfying answer.

I started my Gentoo-installation with CFLAGS containing -O3, believing
to do it right ...

Now I read about the fact that -O3 results in bigger binaries and isn't
at all guaranteed to give me a faster system. The bigger files result in
more load on IO, so this tells me that it puts the load on the
(relatively slow) 5400 rpm HDD I have in my laptop. OTOH I have only
512 MB RAM in there so it seems interesting to me to go the -O2 way of
doing Gentoo ...

Now the question:

Do I have to do emerge -e --newuse world on my system or what else
would be needed?

Is it worth the effort or should I prefer to spend the cpu-cycles on
re-emerging only the core-apps of my system? Or forget about it all and
enjoy my nice and shiny system as it is, simply editing make.conf to use
-O2 for any new emerges coming?

I am not asking this to get the best result in terms of speed or
performance, but to make sure that I don't break my system (which has
been backed up, sure, thanks ...).

Greets and thanks, Stefan.



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to properly change CFLAGS ?

2006-08-21 Thread Neil Bothwick
On Mon, 21 Aug 2006 22:51:43 +0200, Stefan G. Weichinger wrote:

 Now I read about the fact that -O3 results in bigger binaries and isn't
 at all guaranteed to give me a faster system. The bigger files result in
 more load on IO, so this tells me that it puts the load on the
 (relatively slow) 5400 rpm HDD I have in my laptop. OTOH I have only
 512 MB RAM in there so it seems interesting to me to go the -O2 way of
 doing Gentoo ...

I agree with Richard's response to the other other parts of your mail, but
I'd also add that -O2 may not be the best setting for your system. -Os
applies some of the optimisations of -O3 but also optimises for size. It
is often the best setting for systems with slow memory and disk I/O, i.e.
laptops.


-- 
Neil Bothwick

A bug in the hand is better than one as yet undetected.


signature.asc
Description: PGP signature


Re: [gentoo-user] terminal access through web-browser...

2006-08-21 Thread Stuart Howard

The clients above are java based clients and as such I dont believe
will solve your issue.
Is it that you dont want to open 22 on your server or is it that
work or whereever is locking you out?
if its home then many people leave 22 open quite safely and you can
even move the port to something non standard to avoid the script
kiddies.
If its work then you are limited, I am only aware of webmin but though
it can be big at least it is a well known supported app so will
[should] keep ahead of the dark people out there whereas a less
supported apache plugin may not.

stu
   my 0.02$



On 21/08/06, Etaoin Shrdlu [EMAIL PROTECTED] wrote:

On Monday 21 August 2006 10:10, [EMAIL PROTECTED] wrote:

 AFAIK, webmin has such a feature, but it seems to me rather
 heavy, I would prefer light-weight solution. Any ideas?

I think you have to use a java applet, see for example mindterm [1] or
JTA [2].

[1] http://www.appgate.com/products/80_MindTerm/50_Running_MindTerm/
[2] http://javassh.org/space/start
--
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



[gentoo-user] Re: Very OT - Need help removing NTLDR [SOLVED]

2006-08-21 Thread hawat . thufir

On Sun, 20 Aug 2006, Michael Sullivan wrote:
[...]

I found this site:

http://gentoo-wiki.com/HOWTO_Dual_Boot_from_Windows_Bootloader_(NTLDR)_and_why#Single_disk_installation

It's got my wife's computer doing what she wanted it to now, for the
most part.  I should have thought to look at the Gentoo wiki before I
sent off my original mail.  We're still having a problem with ALSA in
Linux, but I want to work on that a bit more on my own before I go
asking for help.



On the one hand, yeh, RTFM.  On the other, I, at least, was intrigued by 
your post, having come across the same issue.  You've at least spread 
knowledge :)



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



Re: [gentoo-user] Re: launch a program at boot

2006-08-21 Thread gentoo
On Monday 21 August 2006 17:38, Alexander Skwar wrote:
 · [EMAIL PROTECTED] [EMAIL PROTECTED]:
  How do I launch a java script at boot time???

 By starting it at boot time ;) That's done with an init script, normally.
 Other options include to add it to inittab or to /etc/conf.d/local.start.

 But are there JS interpreters for the command line?

 Alexander Skwar

I think so I am not shure the program was installtd to launch through xdm as a 
server for the graphical interface. I cal login and launch the script but ti 
wont auto launch. 

rob

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problem booting after reinstall

2006-08-21 Thread Nick Rout

On Sun, 20 Aug 2006 12:16:01 -0700
Richard Fish wrote:

 On 8/20/06, frank [EMAIL PROTECTED] wrote:
  Has anyone an Idea? I don't have further :(
 
 Since the kernel is being found it is not a grub setup problem.
 
 Either:
 
 a. The filesystem drivers are not compiled into your kernel.  You said
 you configured them...are they built in (=y) or as modules (=m)?
 
 b. You did not configure the drivers for your IDE chipset or IDE hard
 drive into the kernel.  Here again, they should be =y in the .config
 file.
 
 The outputs of lspci and grep '=[ym]' /usr/src/linux/.config may be
 helpful for us to look at if you can't find the answer.

Or he used genkernel but has not given grub the appropriate options for
initrd and ramfs.

here is a sample from the install manual:

title=Gentoo Linux 2.6.12-r10

root (hd0,0)

kernel /boot/kernel-genkernel-x86-2.6.12-gentoo-r10 root=/dev/ram0 
init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev

initrd /boot/initramfs-genkernel-x86-2.6.12-gentoo-r10

(because of email wrapping I have put a space between separate lines,
the section starting kernel and ending udev is all one line.)

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Gentoo on a PDA (mda III or xda III)

2006-08-21 Thread hawat . thufir

On Mon, 21 Aug 2006, JC Denton wrote:


From: JC Denton [EMAIL PROTECTED]
Subject: Gentoo on  a PDA (mda III or xda III)
Newsgroups: gmane.linux.gentoo.user

Hi Group!

I was looking for a project that installs Gentoo on a PDA (MDA III or XDA III) 
but did not find something useful. Is there such a project? I found the 
familiar and xandux project so far but I would like to try Gentoo.

Regards


Out of curiosity, what's your PDA?  An MDA III?


-Thufir

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: launch a program at boot

2006-08-21 Thread Norberto Bensa
[EMAIL PROTECTED] wrote:
 I think so I am not shure the program was installtd to launch through xdm
 as a server for the graphical interface. 

It is a Java application then...


 I cal login and launch the script  
 but ti wont auto launch.


Check script permisions and add it to local.start:

  chmod +x /path/to/script
  echo /path/to/script params  /etc/conf.d/local.start

Does it work now? 


Does it call the Java interpreter (i.e. #!/usb/bin/java)? 
How do you call/run the script once you login?

Regards,
Norberto


pgpDP9emyfbks.pgp
Description: PGP signature


Re: [gentoo-user] Problems emerging wesnoth - SDL-Mixer ogg support

2006-08-21 Thread Jesús Guerrero
El Martes, 22 de Agosto de 2006 00:37, Fede escribió:
 Hello i have problems emerging wesnoth.


 Error:

 configure: error: *** SDL_mixer has no OGG support! You need SDL_mixer
 with OGG support


 I try to recompile SDL-Mixer with ogg support, USE=ogg emerge
 sdl-mixer, but i have the same error.

 Sorry for my english.

 Thanks

[code]
# emerge -pv media-libs/sdl-mixer

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

Calculating dependencies... done!
[ebuild   R   ] media-libs/sdl-mixer-1.2.7  USE=mikmod mp3 vorbis -timidity 
0 kB 
[/code]

Try USE=vorbis

Jesús.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: launch a program at boot

2006-08-21 Thread Neil Bothwick
On Mon, 21 Aug 2006 20:09:09 -0300, Norberto Bensa wrote:

 Check script permisions and add it to local.start:
 
   chmod +x /path/to/script
   echo /path/to/script params  /etc/conf.d/local.start

echo /path/to/script params   /etc/conf.d/local.start

Otherwise it will block anything set to run after it.


-- 
Neil Bothwick

Q: Why do PCs - even modern ones - have reset buttons on the front?
A: Because they come with Microsoft operating systems.


signature.asc
Description: PGP signature


[gentoo-user] Greylisting vs. reject_rbl_client

2006-08-21 Thread Grant

I've followed the steps outlined here to eliminate spam up to the
section on SPF and greylisting on the second page:

http://www.freesoftwaremagazine.com/articles/focus_spam_postfix/

The author is really into greylisting:

If you take nothing else from this article, let it be that
greylisting is a Good Thing and your customers will love you for using
it

but the feedback I got on it from this list was not as positive.  Of
the stuff I've implemented, these lines seem to have been the most
effective:

reject_rbl_client relays.ordb.org,
reject_rbl_client list.dsbl.org,
reject_rbl_client sbl-xbl.spamhaus.org,

with the spamhaus.org line doing most of the work according to the logs.

Do you think the reject_rbl_client stuff is safer than greylisting?

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



Re: [gentoo-user] Problems emerging wesnoth - SDL-Mixer ogg support

2006-08-21 Thread Willie Wong
On Mon, Aug 21, 2006 at 07:37:32PM -0300, Penguin Lover Fede squawked:
 Error:
 
 configure: error: *** SDL_mixer has no OGG support! You need SDL_mixer
 with OGG support
 
 
 I try to recompile SDL-Mixer with ogg support, USE=ogg emerge
 sdl-mixer, but i have the same error.
 

USE=vorbis

W
-- 
Does it worry you that you don't talk any kind of sense? 
Sortir en Pantoufles: up 2 days,  4:52
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Greylisting vs. reject_rbl_client

2006-08-21 Thread kashani

Grant wrote:

Do you think the reject_rbl_client stuff is safer than greylisting?

- Grant


1. Blacklists have the HIGHEST false positive rate of any anti-spam 
technique other than sending all mail to /dev/null. 34%

http://www.paulgraham.com/falsepositives.html

2. Blacklists block the least amount of spam. 24%
So it's wrong more often than right.

3. All Blacklists are run by jackasses. Yes, even the ones you like.
http://www.internetnews.com/xSP/article.php/8_1143551
http://www.peacefire.org/anti-spam/group-statement.5-17-2001.html
http://www.networkworld.com/research/2001/0910feat.html

and far too much personal experience*

	In my experience over the past two to three years greylisting and 
simple header checks have blocked 99% of spam before it gets to the 
queue and generated less admin overhead with false positives and other 
nonsense. I'd call its accuracy a solid 99.9% since I've only had to 
whitelist three sets of servers over the years, YMMV. It might not be 
99.9 for everyone, but it will be far better than blacklisting. There 
are some quirks with greylisting, but overall it's been very effective 
without much downside.


I can't say enough bad things about blacklisting.

kashani

* The first ISP I worked for actually hosted public.com which has 
probably been the most hijacked domain ever. It's a fun Monday morning 
when some moron decided to block your entire ISP without actually 
looking at the headers. It gets slightly less fun the fifth and sixth 
time it happens. Homicide is considered when they assume they are 
automatically right, are as rude as possible to you, and then stall for 
a day before they grudgingly remove you.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] odd emerge problem

2006-08-21 Thread Adrian

Greetings all;

Emerge is doing some odd things.  Most of the time it works, but when I
try to run 

emerge -pv world 

I get:
-
Mon Aug 21 19:47:13
/usr/portage/distfiles/portage-snapshots
 root $  emerge -pv world

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

Calculating world dependencies
Traceback (most recent call last):
  File /usr/bin/emerge, line 3440, in ?
if not mydepgraph.xcreate(myaction):
  File /usr/bin/emerge, line 1416, in xcreate
elif not portage.db[/][vartree].dbapi.match(x):
  File /usr/lib/portage/pym/portage.py, line 4665, in match
mydep=dep_expand(origdep,mydb=self,use_cache=use_cache)
  File /usr/lib/portage/pym/portage.py, line 3531, in dep_expand
return
prefix+cpv_expand(mydep,mydb=mydb,use_cache=use_cache)+postfix File
/usr/lib/portage/pym/portage.py, line 3694, in cpv_expand if (not
mydb.cp_list(mykey,use_cache=use_cache)) and virts and
virts.has_key(mykey): File /usr/lib/portage/pym/portage.py, line
4606, in cp_list
mystat=os.stat(self.root+VDB_PATH+/+mysplit[0])[stat.ST_MTIME]
TypeError: stat() argument 1 must be (encoded string without NULL
bytes), not str



emerge -pv system

works just fine.  I have been  currently am installing other things.
I've gotten the same (or a very similar) message when trying to install
or fetch some packages, but I can consistently reproduce this when I
try to do the emerge -pv world.  Or anything else with the 'world'.

Mon Aug 21 19:47:38
/usr/portage/distfiles/portage-snapshots
 root $  emerge --ask -v world
These are the packages that would be merged, in order:
Calculating world dependencies
Traceback (most recent call last):
  File /usr/bin/emerge, line 3440, in ?
if not mydepgraph.xcreate(myaction):
  File /usr/bin/emerge, line 1416, in xcreate
elif not portage.db[/][vartree].dbapi.match(x):
  File /usr/lib/portage/pym/portage.py, line 4665, in match
mydep=dep_expand(origdep,mydb=self,use_cache=use_cache)
  File /usr/lib/portage/pym/portage.py, line 3531, in dep_expand
return
prefix+cpv_expand(mydep,mydb=mydb,use_cache=use_cache)+postfix File
/usr/lib/portage/pym/portage.py, line 3694, in cpv_expand if (not
mydb.cp_list(mykey,use_cache=use_cache)) and virts and
virts.has_key(mykey): File /usr/lib/portage/pym/portage.py, line
4606, in cp_list
mystat=os.stat(self.root+VDB_PATH+/+mysplit[0])[stat.ST_MTIME]
TypeError: stat() argument 1 must be (encoded string without NULL
bytes), not str

-
and


Mon Aug 21 19:51:51
/usr/portage/distfiles/portage-snapshots
 root $  emerge -f world

Calculating world dependencies

Traceback (most recent call last):
  File /usr/bin/emerge, line 3440, in ?
if not mydepgraph.xcreate(myaction):
  File /usr/bin/emerge, line 1416, in xcreate
elif not portage.db[/][vartree].dbapi.match(x):
  File /usr/lib/portage/pym/portage.py, line 4665, in match
mydep=dep_expand(origdep,mydb=self,use_cache=use_cache)
  File /usr/lib/portage/pym/portage.py, line 3531, in dep_expand
return
prefix+cpv_expand(mydep,mydb=mydb,use_cache=use_cache)+postfix File
/usr/lib/portage/pym/portage.py, line 3694, in cpv_expand if (not
mydb.cp_list(mykey,use_cache=use_cache)) and virts and
virts.has_key(mykey): File /usr/lib/portage/pym/portage.py, line
4606, in cp_list
mystat=os.stat(self.root+VDB_PATH+/+mysplit[0])[stat.ST_MTIME]
TypeError: stat() argument 1 must be (encoded string without NULL
bytes), not str

---

As always, I am very thankful for any assistance or leads.

Adrian




-- 
On The Fly Photography -:- Creation From Chaos

On The Fly Photography:  http://204EastSouth.com
Purchase from On The Fly:  http://204EastSouth.com/OTFStore.htm
The Cynical Libertarian Society:  http://www.204EastSouth.com/cls

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problems emerging wesnoth - SDL-Mixer ogg support

2006-08-21 Thread Fede
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Willie Wong wrote:
 On Mon, Aug 21, 2006 at 07:37:32PM -0300, Penguin Lover Fede squawked:
 Error:

 configure: error: *** SDL_mixer has no OGG support! You need SDL_mixer
 with OGG support


 I try to recompile SDL-Mixer with ogg support, USE=ogg emerge
 sdl-mixer, but i have the same error.

 
 USE=vorbis
 
 W

Thanks Jesus and Willie it`s working!

Bye
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE6mjzRvHJx4aAyVIRAqk1AJ0QF91/uQJ4WjN+bu+IrxMQWEry5gCgngq6
jbN6BonZb5VszcVxGLyL7Os=
=e11d
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to properly change CFLAGS ?

2006-08-21 Thread Collins Richey

On 8/21/06, Neil Bothwick [EMAIL PROTECTED] wrote:

On Mon, 21 Aug 2006 23:27:14 +0200, Stefan G. Weichinger wrote:

 So it is not *that* constrained in terms of RAM and disk, I assume.

 But I am also ready to go the -Os-way if you recommend/suggest it for my
 system.

Many laptops have relatively poor memory and HD speed, irrespective of
their capacity. -Os helps with slow IO.



I'm just curious. The last time I participated in a -O2 vs. -Os
discussion was 1 -1/2 to 2 years ago. There were certain software
components (don't remember which) where -Os was contraindicated -
warnings against compiling them with -Os. Have things progressed to
the point  where -Os can be generally recommended?


--
Collins Richey
If you fill your heart with regrets of yesterday and the worries
of tomorrow, you have no today to be thankful for.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Too many X modules pulled in

2006-08-21 Thread Fredrik Tolf
On Mon, 2006-08-21 at 21:18 +0200, Fredrik Tolf wrote:
 On Sun, 2006-08-20 at 11:56 -0700, Donnie Berkholz wrote:
  Fredrik Tolf wrote:
   I'm not an expert with portage, but the fact that xorg-server is
   indented one space from gtk+ means that gtk+ depends on it directly,
   doesn't it? If so, whence does that dependency come from (it's obviously
   not on the DEPEND or RDEPEND variables)?
 
  It's because it inherits the virtualx.eclass -- gtk+ requires an X
  server (Xvfb) to build. What you can do is set USE=minimal -dmx -xorg
  -xprint in your package.use for xorg-server to minimize this. Also try
  VIDEO_CARDS= and INPUT_DEVICES= in make.conf.
  
  However, this only works well on xorg-server-1.1, so you will also need
  to add it to package.keywords.
 
 I see... how troublesome. Well, I guess there's no choice, but would
 anyone happen to know the reason why gtk+ requires Xvfb?

Actually, it seems that it doesn't require Xvfb, or any other X server,
after all. I just tried emerge gtk+ with USE=-X, and it works perfectly.
It didn't emerge any X server, and it works just fine with all the
programs I've tried so far.

Does that mean that the virtualx eclass is unnecessary, and that I
should file a bug report to have it removed?

Fredrik Tolf


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] odd emerge problem

2006-08-21 Thread Zac Medico
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Adrian wrote:
  root $  emerge --ask -v world
 These are the packages that would be merged, in order:
 Calculating world dependencies
 Traceback (most recent call last):
   File /usr/bin/emerge, line 3440, in ?
 if not mydepgraph.xcreate(myaction):
   File /usr/bin/emerge, line 1416, in xcreate
 elif not portage.db[/][vartree].dbapi.match(x):
   File /usr/lib/portage/pym/portage.py, line 4665, in match
 mydep=dep_expand(origdep,mydb=self,use_cache=use_cache)
   File /usr/lib/portage/pym/portage.py, line 3531, in dep_expand
 return
 prefix+cpv_expand(mydep,mydb=mydb,use_cache=use_cache)+postfix File
 /usr/lib/portage/pym/portage.py, line 3694, in cpv_expand if (not
 mydb.cp_list(mykey,use_cache=use_cache)) and virts and
 virts.has_key(mykey): File /usr/lib/portage/pym/portage.py, line
 4606, in cp_list
 mystat=os.stat(self.root+VDB_PATH+/+mysplit[0])[stat.ST_MTIME]
 TypeError: stat() argument 1 must be (encoded string without NULL
 bytes), not str

It seems that /var/lib/portage/world is corrupt and contains NULL bytes.  You 
should probably check your filesystem for additional corruption.

Zac
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFE6m/A/ejvha5XGaMRAv4VAKDGVR6akfOrLz8ywPL0c+A4yObW0gCg5BOh
ooFTc2ndsl2KU5jWuuprNBY=
=DRd6
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: launch a program at boot

2006-08-21 Thread Norberto Bensa
Neil Bothwick wrote:
 On Mon, 21 Aug 2006 20:09:09 -0300, Norberto Bensa wrote:
chmod +x /path/to/script
echo /path/to/script params  /etc/conf.d/local.start

 echo /path/to/script params   /etc/conf.d/local.start

 Otherwise it will block anything set to run after it.

Thanks Neil :)




pgpzmdJscJ6zS.pgp
Description: PGP signature


Re: [gentoo-user] How to properly change CFLAGS ?

2006-08-21 Thread Richard Fish

On 8/21/06, Stefan G. Weichinger [EMAIL PROTECTED] wrote:

Acer TM 634
P4-M 1.8GHz (cpu family : 15, model : 2)
512 MB RAM
30 GB 5200 rpm HDD


It's all relative.  I have a 2.1Ghz Core Duo with 2G of RAM and a
160Gb HD, so *I* would consider your laptop, um, underpowered.  :-)

But I also run with -Os.  The fact is that some things will run
slightly faster at -Os than -O2, and some things will be slightly
slower.  The same applies comparing -O3 to -O2, or -O3 to -Os; it all
depends on what you are doing at the moment.

So you should not assume that -O3 is faster for some random task just
because it is more optimized.  It simply makes different trade-offs
than -O2 or -Os, and because of the way CPUs and caches work these
days, those trade-offs may help or hurt a particular segment of code.

FYI, in all of the tests I did, the performance was within 10% of the
median. The real deciding factor for me now is that -Os seems to take
much less time and memory to compile than -O2 or -O3.  And being a
~arch user, time-to-compile is a nice thing to reduce.

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



Re: [gentoo-user] Greylisting vs. reject_rbl_client

2006-08-21 Thread Grant

 Do you think the reject_rbl_client stuff is safer than greylisting?

 - Grant

1. Blacklists have the HIGHEST false positive rate of any anti-spam
technique other than sending all mail to /dev/null. 34%
http://www.paulgraham.com/falsepositives.html

2. Blacklists block the least amount of spam. 24%
So it's wrong more often than right.

3. All Blacklists are run by jackasses. Yes, even the ones you like.
http://www.internetnews.com/xSP/article.php/8_1143551
http://www.peacefire.org/anti-spam/group-statement.5-17-2001.html
http://www.networkworld.com/research/2001/0910feat.html

and far too much personal experience*

In my experience over the past two to three years greylisting and
simple header checks have blocked 99% of spam before it gets to the
queue and generated less admin overhead with false positives and other
nonsense. I'd call its accuracy a solid 99.9% since I've only had to
whitelist three sets of servers over the years, YMMV. It might not be
99.9 for everyone, but it will be far better than blacklisting. There
are some quirks with greylisting, but overall it's been very effective
without much downside.

I can't say enough bad things about blacklisting.

kashani

* The first ISP I worked for actually hosted public.com which has
probably been the most hijacked domain ever. It's a fun Monday morning
when some moron decided to block your entire ISP without actually
looking at the headers. It gets slightly less fun the fifth and sixth
time it happens. Homicide is considered when they assume they are
automatically right, are as rude as possible to you, and then stall for
a day before they grudgingly remove you.


I've removed the blacklisting and thank you very much for your
response.  I guess I'm back to greylisting and/or content filtering.

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



[gentoo-user] Practical log reviewing

2006-08-21 Thread Grant

Does anyone know of a practical way to review all the various logs on
the system each day?  Does it just come down to a brisk scroll through
the previous day's rotated logs?

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



Re: [gentoo-user] How to properly change CFLAGS ?

2006-08-21 Thread Richard Fish

On 8/21/06, Stefan G. Weichinger [EMAIL PROTECTED] wrote:

Richard Fish schrieb:
 or emerge -e world to complete.  I would be tempted to just change
 the flags and hold off on recompiling everything until the next
 version of gcc comes out.

( ... next version in terms of minor- or major-version?)


Gcc version numbers are in the form of X.Y.Z, so at a change in X or
Y.  The .Z changes should be just bug-fixes.  The sad thing is that,
due to changes in the C++ library, it is commonly to recompile all C++
applications when a new version of gcc comes out.  And even if it
isn't strictly /necessary/, an emerge -e world is considered the safe
way to handle a gcc upgrade.


I see the point in this. (AFAIK there is no way to break up emerge -e
xy into smaller pieces, something to do in several separated steps.


Actually there is.  You can find all packages not compiled with -Os
and rebuild them with something like:

cd /var/db/pkg
for pkg in */* ; do
   grep -v -- -Os $pkg/CFLAGS /dev/null
   test $? -eq 0  emerge --oneshot =$pkg
done


From your posting I conclude that it also won't do any harm to re-emerge
selected parts with new CFLAGS?)


Correct.


Apart from this I have enough computer-related experience to know that I
simply should be happy with the
luks-encrypted/cpufreq'ed/hibernating/etc. gentoo-system I now have at
hand, instead of spending numerous hours to gain minimal speedups.


Hrm, I also have the experience, but apparently not the good sense :-P

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



Re: [gentoo-user] Greylisting vs. reject_rbl_client

2006-08-21 Thread Grant

 Do you think the reject_rbl_client stuff is safer than greylisting?

 - Grant

1. Blacklists have the HIGHEST false positive rate of any anti-spam
technique other than sending all mail to /dev/null. 34%
http://www.paulgraham.com/falsepositives.html

2. Blacklists block the least amount of spam. 24%
So it's wrong more often than right.

3. All Blacklists are run by jackasses. Yes, even the ones you like.
http://www.internetnews.com/xSP/article.php/8_1143551
http://www.peacefire.org/anti-spam/group-statement.5-17-2001.html
http://www.networkworld.com/research/2001/0910feat.html

and far too much personal experience*

In my experience over the past two to three years greylisting and
simple header checks have blocked 99% of spam before it gets to the
queue and generated less admin overhead with false positives and other
nonsense. I'd call its accuracy a solid 99.9% since I've only had to
whitelist three sets of servers over the years, YMMV. It might not be
99.9 for everyone, but it will be far better than blacklisting. There
are some quirks with greylisting, but overall it's been very effective
without much downside.

I can't say enough bad things about blacklisting.

kashani

* The first ISP I worked for actually hosted public.com which has
probably been the most hijacked domain ever. It's a fun Monday morning
when some moron decided to block your entire ISP without actually
looking at the headers. It gets slightly less fun the fifth and sixth
time it happens. Homicide is considered when they assume they are
automatically right, are as rude as possible to you, and then stall for
a day before they grudgingly remove you.


Do you think this postfix anti-spam configuration is OK:

smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions =
   permit_mynetworks,
   reject_non_fqdn_hostname,
   reject_invalid_hostname,
   permit
smtpd_sender_restrictions =
   permit_mynetworks,
   reject_non_fqdn_sender,
   reject_unknown_sender_domain,
   permit
smtpd_recipient_restrictions =
   permit_mynetworks,
   reject_non_fqdn_recipient,
   reject_unknown_recipient_domain,
   reject_unauth_destination,
   permit

Would it be OK to remove the following aliases since I never use them:

# Well-known aliases -- these should be filled in!
root:   grant
operator:   grant

# Standard RFC2142 aliases
abuse:  grant
ftp:grant
hostmaster: grant
news:   grant
noc:grant
security:   grant
usenet: grant
uucp:   grant
webmaster:  grant
www:grant
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Practical log reviewing

2006-08-21 Thread Collins Richey

On 8/21/06, Grant [EMAIL PROTECTED] wrote:

Does anyone know of a practical way to review all the various logs on
the system each day?  Does it just come down to a brisk scroll through
the previous day's rotated logs?



Isn't that why logwatch was created?


--
Collins Richey
If you fill your heart with regrets of yesterday and the worries
of tomorrow, you have no today to be thankful for.
--
gentoo-user@gentoo.org mailing list