Re: [gentoo-user] order of module loading (udev)

2006-03-27 Thread Nick Rout
On Mon, 27 Mar 2006 08:36:57 +0100
Neil Bothwick <[EMAIL PROTECTED]> wrote:

> On Mon, 27 Mar 2006 19:23:11 +1200, Nick Rout wrote:
> 
> > > anyway, whatever you put in /etc/modules.autoload.d/kernel-2.6 will
> > > be loaded before coldplug loads anything.
> 
> > Ahhh excellent, thanks, i didn't know they started before coldplug, but
> > it makes me happy to know that!
> 
> Alternatively, you can use udev rules to specify the names. this has the
> advantage of working when you are unable to alter the module loading
> order, such as when some of them are compiled into the kernel.
> 

I don't want to change the name of the device, i want to stop the
serial module from grabbing the serial port, rendering it unavailable
to lirc_serial.

But thanks!
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] leafnode and xinetd.conf

2006-03-27 Thread Alexander Skwar
THUFIR HAWAT wrote:
> On 3/26/06, Alexander Skwar <[EMAIL PROTECTED]> wrote:
> ..
>> /etc/xinetd.d/leafnode
>>
>> > such that it's appended /etc/xinetd.conf when xinetd runs?
>>
>> Check out your /etc/xinetd.conf.
>>
>> But /etc/xinetd.d/leafnode will be included, yes.

> [EMAIL PROTECTED] ~ $ cat -n /etc/xinetd.d/leafnode-nntp
>  1  # default: off
>  2  # description: Leafnode - accepts connections on port 119 (NNTP)
>  3
>  4  service nntp
>  5  {
>  6  socket_type = stream
>  7  protocol= tcp
>  8  wait= no
>  9  user= news
> 10  server  = /usr/sbin/leafnode
> 11  disable = yes
> 12  }


Sure? Why disable=yes?

> After I have this done, I might be inclined adding to the gentoo wiki on this 
> :)

Well, go ahead - but I don't think that changing "disable = yes"
to "disable = no" is a good enough reason for adding something
to the Wiki. But that's just me.

Alexander Skwar
-- 
People who go to conferences are the ones who shouldn't.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Further probs/phenomena

2006-03-27 Thread Neil Bothwick
On Mon, 27 Mar 2006 06:43:04 +0200 (CEST), Meino Christian Cramer wrote:

>  yes, but dvb (which I need for dvb-t tv watching) is switched off vie
>  USE.
> 
>  I installed it via emerge and 'export USE="dvb"' with the described
>  effect.

Don't export USE, it can cause unpredictable side effects.

USE="dvb" causes Kaffeine to be built with --with-dvb, so whatever issues
you are seeing, they don't appear to be due to the way portage is
handling the package.

PS Please don't cc your reply, I read the list and one copy of the mail
is fine.


-- 
Neil Bothwick

RAM = Rarely Adequate Memory


signature.asc
Description: PGP signature


Re: [gentoo-user] swat

2006-03-27 Thread Nick Rout
On Sat, 25 Mar 2006 23:29:26 -0500
JimD <[EMAIL PROTECTED]> wrote:

> On Sat, 25 Mar 2006 21:30:50 -0600
> Qv6 <[EMAIL PROTECTED]> wrote:
> 
> > Where did you find swat to install? Last time I checked, swat is not 
> > available in portage or even on Freshmeat.
> 
> It is a part of Samba.  Just add it swat as a USE flag and samba will
> be built with swat.
> 
> Now if I can only get it to work ; )

in /etc/xinted.d/swat change

only_from = localhost

to 

only_from = 127.0.0.1
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] telnet localhost

2006-03-27 Thread Alexander Skwar
THUFIR HAWAT wrote:

> Why can I not telnet to my own localhost?

Is leafnode enabled? Or is it still disabled?

Check your xinetd configuration.

Alexander Skwar
-- 
People who go to conferences are the ones who shouldn't.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] order of module loading (udev)

2006-03-27 Thread Neil Bothwick
On Mon, 27 Mar 2006 19:51:25 +1200, Nick Rout wrote:

> > Alternatively, you can use udev rules to specify the names. this has
> > the advantage of working when you are unable to alter the module
> > loading order, such as when some of them are compiled into the kernel.

> I don't want to change the name of the device, i want to stop the
> serial module from grabbing the serial port, rendering it unavailable
> to lirc_serial.

You don't need to change the name of the device, just set up a rule to
change the device named by serial, leaving the one you want available
for lirc_serial. I do something like this to stop eth1 being grabbed by
net1394 if my wireless module doesn't load when it should, such as after
a kernel re-compile (it is an external module).


-- 
Neil Bothwick

Real women don't have hot flashes, they have power surges.


signature.asc
Description: PGP signature


[gentoo-user] portage problem?

2006-03-27 Thread Jean Blignaut
I get this error when I try to sync


receiving file list ...
link_stat "metadata/timestamp.chk" (in gentoo-portage) failed: No such
file or directory
0 files to consider

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] r3.to.rast problem

2006-03-27 Thread Stefán István
hétfő 27 március 2006 09.05 dátummal Stefán István ezt írta:
> Hello List,
>
> I have a little problem with r3.to.rast: when I display the created slices
> I see that they are divided into square spaces. Does somebody know why they
> are divided?
>
Sorry, it was posted to a wrong mailing list!

Istvan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USRobotics internal modem

2006-03-27 Thread contiemilio
Alle 16:24, domenica 26 marzo 2006, JimD ha scritto:
> On Sun, 26 Mar 2006 14:35:42 +
>
> [EMAIL PROTECTED] wrote:
> > Well, using lspci -v
> >
> > 02:07.0 Serial controller: 3Com Corp, Modem Division 56K FaxModem
> > 02:Model 5610
> > (rev 01) (prog-if 02 [16550])
> > Subsystem: 3Com Corp, Modem Division Unknown device 00d7
> > Flags: medium devsel, IRQ 16
> > I/O ports at dc00 [size=8]
> > Capabilities: [dc] Power Management version 2
> >
> > then dmesg | grep tty
> >
> > serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> > serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> > :02:07.0: ttyS1 at I/O 0xdc00 (irq = 16) is a 16550A
> >
> > So I think modem is on /dev/ttyS1.
> >
> > Question: why cannot I set up KPPP?
>
> OK, that helps : )
>
> Now Google should be all you need.  I searched google for
>
> linux 3Com 5610
>
> and found some interesting links.  This one is about the 3Com 5610:
>
> http://baheyeldin.com/linux/how-to-setup-a-modem-with-linux.html
>
> There is always http://www.linmodems.org/.  You should read
> linmodems.org because you can download their scanModem tool and run
> that for help.
>
> Jim

Solved!!

Thank you

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



Re: [gentoo-user] order of module loading (udev)

2006-03-27 Thread Nick Rout
On Mon, 27 Mar 2006 09:29:07 +0100
Neil Bothwick <[EMAIL PROTECTED]> wrote:

> On Mon, 27 Mar 2006 19:51:25 +1200, Nick Rout wrote:
> 
> > > Alternatively, you can use udev rules to specify the names. this has
> > > the advantage of working when you are unable to alter the module
> > > loading order, such as when some of them are compiled into the kernel.
> 
> > I don't want to change the name of the device, i want to stop the
> > serial module from grabbing the serial port, rendering it unavailable
> > to lirc_serial.
> 
> You don't need to change the name of the device, just set up a rule to
> change the device named by serial, leaving the one you want available
> for lirc_serial. I do something like this to stop eth1 being grabbed by
> net1394 if my wireless module doesn't load when it should, such as after
> a kernel re-compile (it is an external module).
> 
> 

ahh I understand what you are driving at now, thanks. udev is indeed
flexible. Theres some clever buggers programming stuff out there...
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] How to tar?

2006-03-27 Thread Michael Kintzios


> -Original Message-
> From: Neil Bothwick [mailto:[EMAIL PROTECTED] 
> Sent: 24 March 2006 09:24
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] How to tar?
[snip...] 
> > Yes, but GNU tar cannot do that, it can only do one command at a 
> > time, either --extract or --delete or ...
> 
> The simplest solution is probably to make several smaller tarballs
> instead on one containing the whole of /usr.

Thanks for all the suggestions.  I ended up breaking up /usr into
smaller directories and I have now migrated the fs onto the laptop.  :-)

However, I tried the --exclude FILE option and could not get it to work.
In particular, I had a go with these:
===
 --exclude /mnt/hda5/portage/*
 --exclude /mnt/hda5/portage
 --exclude portage
 --exclude=/mnt/hda5/portage/*
 . . . etc.
===
I even used ' ' to enclose the path/pattern but I just couldn't get it
to work.  :-(

What did I do wrong?
-- 
Regards,
Mick


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] telnet localhost

2006-03-27 Thread Matt Richards
> THUFIR HAWAT wrote:
>
>> Why can I not telnet to my own localhost?
>
> Is leafnode enabled? Or is it still disabled?
>
> Check your xinetd configuration.
>
> Alexander Skwar
> --
> People who go to conferences are the ones who shouldn't.
> --
> gentoo-user@gentoo.org mailing list
>
>
you might want to also try a
netstat -an
and see if your computer is listerning on the nntp port
and if it is what interface(s) is it listerning on ?

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] OT - Linewrap in vim

2006-03-27 Thread Michael Kintzios


> -Original Message-
> From: Björn Gustafsson [mailto:[EMAIL PROTECTED] 
> Sent: 24 March 2006 14:35
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] OT - Linewrap in vim
> 
> :set noai
> 
> and :set ai for when you want it back on :)

I checked my vim config file and I had :set noautoindent or something
like that there - but I guess a newer vim version probably changed the
syntax at some point?

Meanwhile, Google is telling me that auto-indentation is off by default.
What gives?

If like me someone else is struggling to remember all of Vim's commands
I have found this useful page:
http://atlas.scs.carleton.ca/~youngsoo/misc/vi.html
-- 
Regards,
Mick



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] New nvidia driver causing Xorg crashes?

2006-03-27 Thread Jules Colding
Hi,

I have configured gdm to start two X sessions. I choose between these
sessions with CTRL-ALT-f7 and CTRL-ALT-f8. I am simultaneously logged in
as two different users in these X session.

I have previously experienced no problems whatsoever going from one X
session to another but that has changed since todays update of
nvidia-kernel and nvidia-glx.

The usage scenario for all crashes so far has been this:

0) Boot my box.

1) Log in as "evo" on the f8 session.

2) Log in as "colding" on the f7 session.

3) Start gnome-terminal on the f8 session.

4) Use CTRL-ALT-f7 to change to the f7 session.

5) Start a lot of applications in f7 (Evolution, gnome-terminal,
VMware-workstation, firefox and mplayer). VMware has two virtual boxes
(one NT4 server and one W2K with Visual Studio). Both virtual machines
are started and Visual Studio is launched.

6) Use the CTRL-ALT-f8 keyboard shortcut to change back to the f8
session while in the W2K vitual machine on the f7 session.

Observations: The above use scenario has trice resulted in the f7 X
session crashing with a signal 11. That has never happened with the old
nvidia drivers.

Old drivers:
   nvidia-kernel-1.0.6629-r5
   nvidia-glx-1.0.6629-r6

New drivers:
   nvidia-kernel-1.0.8178-r3
   nvidia-glx-1.0.8178-r1

There is no usable information regarding the crashes in any log.
Suggestions as to how I can get better crash information would be
helpful. The data in this mail is hardly enough for a bugzilla entry but
it does register rather high on my annoyance-meter... 


Thanks,
  jules


# gdm log #

X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.13-gentoo-r3 x86_64 [ELF] 
Current Operating System: Linux omc-2 2.6.15-gentoo-r7 #1 SMP Thu Mar 16 
11:01:51 CET 2006 x86_64
Build Date: 24 November 2005
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar 27 12:07:49 2006
(==) Using config file: "/etc/X11/xorg.conf"
Could not init font path element /usr/share/fonts/local/, removing from list!

   *** If unresolved symbols were reported above, they might not
   *** be the reason for the server aborting.

Fatal server error:
Caught signal 11.  Server aborting


Please consult the The X.Org Foundation support 
 at http://wiki.X.Org
 for help. 
Please also check the log file at "/var/log/Xorg.0.log" for additional 
information.

 Xorg.0.log 


X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.13-gentoo-r3 x86_64 [ELF] 
Current Operating System: Linux omc-2 2.6.15-gentoo-r7 #1 SMP Thu Mar 16 
11:01:51 CET 2006 x86_64
Build Date: 24 November 2005
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Mon Mar 27 12:07:56 2006
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Simple Layout"
(**) |-->Screen "Screen 1" (0)
(**) |   |-->Monitor "Lacie electron22blueIV"
(**) |   |-->Device "PNY Quadro FX 4000 256MB"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(**) FontPath set to 
"/usr/share/fonts/misc/,/usr/share/fonts/TTF/,/usr/share/fonts/Type1/,/usr/share/fonts/75dpi/,/usr/share/fonts/100dpi/,/usr/share/fonts/local/"
(**) RgbPath set to "/usr/lib/X11/rgb"
(==) ModulePath set to "/usr/lib64/modules"
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.2
X.Org Video Driver: 0.7
X.Org XInput driver : 0.4
X.Org Server Extension : 0.2
X.Org Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/lib64/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/lib64/modules/libpcidata.a
(II) Module pcidata: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Video Driver, version 0.7
(++) using VT number 8

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:06:0: chip 1022,7460 card , rev 07 clas

[gentoo-user] IBM ntb i1200

2006-03-27 Thread pat
Hi all,

is there someone who has experience with *subj* ??? One of my friends
has this ntb and is not able to install linux on it (this is problem
with irgpoll, but setting this param to kernel doewn't work).

Thanks to all

Pat

P.S. IBM, P3/750MHz, 20GB hdd ... .
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Sharing linux's internet connection with an iMac?

2006-03-27 Thread Hans-Werner Hilse
Hi,

On Mon, 27 Mar 2006 01:29:54 -0600 "Boyd Stephen Smith Jr."
<[EMAIL PROTECTED]> wrote:

> Yes.  Set up a bridge device on the laptop between the wifi interface
> and the iMac interface; assuming your setup is as simple as I think,
> that should be all you need to do.

Most likely it wouldn't work because of the wlan link layer. Most WiFi
cards don't go well with bridging... So routing is the option which is
left.

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



Re: [gentoo-user] skype experiences: good/bad/etc

2006-03-27 Thread Matthias Bethke
Hi Pongracz,
on Wednesday, 2006-03-22 at 20:29:36, you wrote:
> Question is, why other guys do not start a real open source project to
> make a phone application?

Another one that has been in portage for a few weeks: net-im/wengophone
My experience is that the sound quality isn't quite as good as Skype's
and it can't do conferences (yet?) but OTOH it kinda supports webcams
which Skype's Linux version doesn't. "Kinda" because it's not quite
stable yet, once in a while it locks up or fails to display the other
sides's image, and it uses an awful lot of CPU, but at least it's there.

cheers!
Matthias

-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpVykgz4wzK5.pgp
Description: PGP signature


Re: [gentoo-user] New nvidia driver causing Xorg crashes?

2006-03-27 Thread Jules Colding
On Mon, 2006-03-27 at 13:08 +0200, Jules Colding wrote:
> Hi,
> 
> I have configured gdm to start two X sessions. I choose between these
> sessions with CTRL-ALT-f7 and CTRL-ALT-f8. I am simultaneously logged in
> as two different users in these X session.
> 
> I have previously experienced no problems whatsoever going from one X
> session to another but that has changed since todays update of
> nvidia-kernel and nvidia-glx.
> 
> The usage scenario for all crashes so far has been this:

Forget this. It happened 5 minutes ago totally spontaneously. X log
below.

I think downgrading nvidia-[glx,kernel] is the "right" answer for now...

-- 
  jules


# Xorg.0.log ###

X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.13-gentoo-r3 x86_64 [ELF] 
Current Operating System: Linux omc-2 2.6.15-gentoo-r7 #1 SMP Thu Mar 16 
11:01:51 CET 2006 x86_64
Build Date: 24 November 2005
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar 27 12:39:13 2006
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Simple Layout"
(**) |-->Screen "Screen 1" (0)
(**) |   |-->Monitor "Lacie electron22blueIV"
(**) |   |-->Device "PNY Quadro FX 4000 256MB"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(**) FontPath set to 
"/usr/share/fonts/misc/,/usr/share/fonts/TTF/,/usr/share/fonts/Type1/,/usr/share/fonts/75dpi/,/usr/share/fonts/100dpi/,/usr/share/fonts/local/"
(**) RgbPath set to "/usr/lib/X11/rgb"
(==) ModulePath set to "/usr/lib64/modules"
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.2
X.Org Video Driver: 0.7
X.Org XInput driver : 0.4
X.Org Server Extension : 0.2
X.Org Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/lib64/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org Font Renderer
ABI class: X.Org Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/lib64/modules/libpcidata.a
(II) Module pcidata: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Video Driver, version 0.7
(++) using VT number 7

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:06:0: chip 1022,7460 card , rev 07 class 06,04,00 hdr 01
(II) PCI: 00:07:0: chip 1022,7468 card 1022,7468 rev 05 class 06,01,00 hdr 80
(II) PCI: 00:07:1: chip 1022,7469 card 1022,7469 rev 03 class 01,01,8a hdr 00
(II) PCI: 00:07:2: chip 1022,746a card 1022,746a rev 02 class 0c,05,00 hdr 00
(II) PCI: 00:07:3: chip 1022,746b card 1022,746b rev 05 class 06,80,00 hdr 00
(II) PCI: 00:0a:0: chip 1022,7450 card , rev 12 class 06,04,00 hdr 81
(II) PCI: 00:0a:1: chip 1022,7451 card 1022,36c0 rev 01 class 08,00,10 hdr 00
(II) PCI: 00:0b:0: chip 1022,7450 card , rev 12 class 06,04,00 hdr 81
(II) PCI: 00:0b:1: chip 1022,7451 card 1022,36c0 rev 01 class 08,00,10 hdr 00
(II) PCI: 00:18:0: chip 1022,1100 card , rev 00 class 06,00,00 hdr 80
(II) PCI: 00:18:1: chip 1022,1101 card , rev 00 class 06,00,00 hdr 80
(II) PCI: 00:18:2: chip 1022,1102 card , rev 00 class 06,00,00 hdr 80
(II) PCI: 00:18:3: chip 1022,1103 card , rev 00 class 06,00,00 hdr 80
(II) PCI: 00:19:0: chip 1022,1100 card , rev 00 class 06,00,00 hdr 80
(II) PCI: 00:19:1: chip 1022,1101 card , rev 00 class 06,00,00 hdr 80
(II) PCI: 00:19:2: chip 1022,1102 card , rev 00 class 06,00,00 hdr 80
(II) PCI: 00:19:3: chip 1022,1103 card , rev 00 class 06,00,00 hdr 80
(II) PCI: 01:06:0: chip 1014,01a7 card , rev 02 class 06,04,00 hdr 01
(II) PCI: 02:00:0: chip 1000,0407 card 1000,0531 rev 02 class 01,04,00 hdr 00
(II) PCI: 03:09:0: chip 14e4,16a7 card 10f1,2885 rev 02 class 02,00,00 hdr 00
(II) PCI: 04:00:0: chip 1022,7464 card 1022,7464 rev 0b class 0c,03,10 hdr 80
(II) PCI: 04:00:1: chip 1022,7464 card 1022,7464 rev 0b class 0c,03,10 hdr 00
(II) PCI: 04:0a:0: chip 1102,0004 card 1102,2002 rev 04 class 04,01,00 hdr 80
(II) PCI: 04:0a:1: chip 1102,7003 card 1102,0040 rev 04 class 09,80,00 hdr 80
(II) PCI: 04:0a:2: chip 1102,4001 card 1102,0010 rev 04 class 0c,00,10 hdr 80
(II) PCI: 06:00:0: chip 10de,004e card 10de,01fa rev a1 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) PCI-to-PCI bridge:
(II) Bus 4: bridge is at (0:6:0), (0,4,4), BCTRL: 0x0006 (VGA_EN is cleared)
(II) Bus 4 I/O range:
[0] -1  0

Re: [gentoo-user] Is there a DEP (Data Execution Protection) option for Gentoo?

2006-03-27 Thread Hemmann, Volker Armin
On Monday 27 March 2006 07:57, Richard Fish wrote:
> On 3/26/06, Walter Dnes <[EMAIL PROTECTED]> wrote:
> >   The subject says it all.  I've done some spelunking through
> > /usr/src/linux/.config, and I don't see anything relavant.
>
> It's enabled by default.  If you don't want it, you need to boot with
> the "noexec=off" kernel option.
>

on AMD64, but x86 doesn't have the NX bit, so  a hardened kernel might be the 
best solution.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Arts

2006-03-27 Thread b.n.

[EMAIL PROTECTED] wrote:

Hi all only to-day I found out that KDE has been installed without arts.
So I installed it. But the sound system does not work!
Shoul I reinstall (recompile) every KDE package?


It is probable that arts wasn't included in your USE flags. If it's the 
case, ehm, yes, I fear you have to recompile...


m.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ieee1394 card - ports order

2006-03-27 Thread Matthias Bethke
Hi Joseph,
on Friday, 2006-03-24 at 18:51:17, you wrote:
> I was under impression that ieee1394 cards would work the same as
> USB-ports; regardless which port I plug my device into it will just
> work, not so with ieee1394 cards.

I'm not an expert on ieee1394 but from what I've seen they actually do
work the same in this respect, I've only tries SBP2 mass storage stuff
though, no cameras. Have a look at dmesg output; usually the kernel will
print some info there when you plug in a 1394 device. If it shows
nothing at all you most likely don't have all the modules loaded,
otherwise it should at least be an error message. 
I heard the ports on some external HD cases were actually different in
that they accepted a host only on one but not the other, and there seem
to be some general problems in the kernel with daisy-chaining devices.
As you don't seem to have any oth these problems, no, I'm quite sure
order doesn't matter.

> In "kino" under settings there is IEEE1394 "tab" and has an option
> "raw1394 interface" option that is set to "0" I've tried setting it to
> "1" but it didn't work.

You do have the kernel support for that, don't you?
CONFIG_IEEE1394_VIDEO1394 and CONFIG_IEEE1394_RAWIO in .config?

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgp62bDuqOHwX.pgp
Description: PGP signature


Re: [gentoo-user] portage problem?

2006-03-27 Thread Jeremy Olexa

Jean Blignaut wrote:

I get this error when I try to sync


receiving file list ...
link_stat "metadata/timestamp.chk" (in gentoo-portage) failed: No such
file or directory
0 files to consider



I would wait it out...it looks like a server problem and it should be 
cleared up soon. Check this forum post for more info: 
http://forums.gentoo.org/viewtopic.php?t=123909


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



Re: [gentoo-user] telnet localhost

2006-03-27 Thread THUFIR HAWAT
On 3/27/06, Matt Richards <[EMAIL PROTECTED]> wrote:
> > THUFIR HAWAT wrote:
> >
> >> Why can I not telnet to my own localhost?
> >
> > Is leafnode enabled? Or is it still disabled?
> >
> > Check your xinetd configuration.

I think it's enabled, see below.

> > Alexander Skwar
> > --
> > People who go to conferences are the ones who shouldn't.
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
> you might want to also try a
> netstat -an
> and see if your computer is listerning on the nntp port
> and if it is what interface(s) is it listerning on ?

None, apparently--see below.

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

[EMAIL PROTECTED] ~ $
[EMAIL PROTECTED] ~ $
[EMAIL PROTECTED] ~ $ cat -n /etc/hosts
 1  # /etc/hosts:  This file describes a number of hostname-to-address
 2  #  mappings for the TCP/IP subsystem.  It is mostly
 3  #  used at boot time, when no name servers are running.
 4  #  On small systems, this file can be used instead of a
 5  #  "named" name server.  Just add the names, addresses
 6  #  and any aliases to this file...
 7  # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/hosts,v 1.8
2003/08/04 20:12:25 azarah Exp $
 8  #
 9
10  #127.0.0.1  localhost
11  127.0.0.1   hawat.thufir.invalid arrakis localhost
12  192.168.0.2 gravity.twi-31o2.org gravity
[EMAIL PROTECTED] ~ $ cat -n /etc/leafnode/config
 1  ## Unread articles will be deleted after this many days if
 2  ## you don't define special expire times. Mandatory.
 3  expire = 20
 4
 5  ## This is the NNTP server leafnode fetches its news from.
 6  ## You need read and post access to it. Mandatory.
 7  server = shawnews.vc.shawcable.net
 8
 9
10  hostname = hawat.thufir.invalid
11
12  initialfetch = 5
[EMAIL PROTECTED] ~ $ cat -n /etc/xinetd.conf
 1  # /etc/xinetd.conf: sample configuration file for xinetd
 2
 3  defaults
 4  {
 5  only_from  = localhost
 6  instances  = 60
 7  log_type   = SYSLOG authpriv info
 8  log_on_success = HOST PID
 9  log_on_failure = HOST
10  cps= 25 30
11  }
12
13  includedir /etc/xinetd.d
[EMAIL PROTECTED] ~ $ cat -n /etc/xinetd.d/leafnode-nntp
 1  # default: off
 2  # description: Leafnode - accepts connections on port 119 (NNTP)
 3
 4  service nntp
 5  {
 6  socket_type = stream
 7  protocol= tcp
 8  wait= no
 9  user= news
10  server  = /usr/sbin/leafnode
11  disable = no
12  }
[EMAIL PROTECTED] ~ $ netstat -an | grep nntp
[EMAIL PROTECTED] ~ $ date
Mon Mar 27 14:59:55 IST 2006
[EMAIL PROTECTED] ~ $

Is it a problem with the FQDN?  On re-reading the FAQ, I changed the
hostname as I don't own gmail.com, but I *do* have an account with
gmail, so...

I also have a thread on news.softwear.readers, pardon for the
multiposting.  I was just trying to address the telnet issue here. 
Most of what's been written in reply goes over my head.


-Thufir

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] telnet localhost

2006-03-27 Thread THUFIR HAWAT
On 3/27/06, Jerry McBride <[EMAIL PROTECTED]> wrote:
..
> The localhost is not a service it's an ip.
>
> Jerry
..

Jerry, I'm not understanding the signicance of that.  Ping is
resolving localhost to the ip, yes?


[EMAIL PROTECTED] ~ $
[EMAIL PROTECTED] ~ $
[EMAIL PROTECTED] ~ $ ping localhost
PING hawat.thufir.invalid (127.0.0.1) 56(84) bytes of data.
64 bytes from hawat.thufir.invalid (127.0.0.1): icmp_seq=1 ttl=64 time=0.084 ms
64 bytes from hawat.thufir.invalid (127.0.0.1): icmp_seq=2 ttl=64 time=0.072 ms
64 bytes from hawat.thufir.invalid (127.0.0.1): icmp_seq=3 ttl=64 time=0.077 ms

--- hawat.thufir.invalid ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.072/0.077/0.084/0.011 ms
[EMAIL PROTECTED] ~ $ telnet localhost
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
[EMAIL PROTECTED] ~ $ telnet 127.0.0.1
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
[EMAIL PROTECTED] ~ $ date



thanks,

Thufir

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] telnet localhost

2006-03-27 Thread THUFIR HAWAT
On 3/27/06, Dirk Heinrichs <[EMAIL PROTECTED]> wrote:
...
> Well, it seems leafnote is either _not_ up and running or not
> listening for
> connections on network interface lo.

Pardon, I'm not understanding what you mean by network interface.

> > [EMAIL PROTECTED] ~ $ telnet localhost
> > Trying 127.0.0.1...
> > telnet: Unable to connect to remote host: Connection refused
>
> dito for telnetd.
>
> > [EMAIL PROTECTED] ~ $ telnet vcn.bc.ca
> > Trying 207.102.64.2...
> > Connected to vcn.bc.ca.
>
> vcn.bc.ca == localhost??

Ah, I should've explained.  vcn.bc.ca =/= locahost, that's just a
random place to which it's possible to telnet.  I was just
demonstrating that the telnet client was working properly, that's all
:)

> > Why can I not telnet to my own localhost?
>
> Because the services you want to connect to are not available.
>
> HTH...
...

Yes, it does, thank you.  How do I find out why they're not available, though?


-Thufir

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] telnet localhost

2006-03-27 Thread THUFIR HAWAT
On 3/27/06, Iain Buchanan <[EMAIL PROTECTED]> wrote:
> On Mon, 2006-03-27 at 05:58 +0100, THUFIR HAWAT wrote:
> > I want to test that leafnode is up and running, so am using telnet:
> [snip]
> > Why can I not telnet to my own localhost?
>
> maybe your services are not listening on lo, and only on eth0?
> --
> Iain Buchanan 
>
> Arrakis teaches the attitude of the knife - chopping off what's
> incomplete and saying: "Now it's complete because it's ended here."
> -- Muad'dib, "Dune"


Nice quote :)

Interesting, lo versus eth0.  I don't understand the question, as I
don't know what lo means, but that might be it :)

"lo" refers to an interface?


thanks,

Thufir

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Is there a DEP (Data Execution Protection) option for Gentoo?

2006-03-27 Thread Richard Fish
On 3/27/06, Hemmann, Volker Armin <[EMAIL PROTECTED]> wrote:
> On Monday 27 March 2006 07:57, Richard Fish wrote:
> > On 3/26/06, Walter Dnes <[EMAIL PROTECTED]> wrote:
> > >   The subject says it all.  I've done some spelunking through
> > > /usr/src/linux/.config, and I don't see anything relavant.
> >
> > It's enabled by default.  If you don't want it, you need to boot with
> > the "noexec=off" kernel option.
> >
>
> on AMD64, but x86 doesn't have the NX bit, so  a hardened kernel might be the
> best solution.

No, current intel processors support the NX bit also:

flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx pni
monitor vmx est tm2 xtpr

And if you look at the noexec_setup function in arch/i386/mm/init.c,
you will see that it does not require AMD64.

But I agree that PAE is the necessary option if your processor is too
old and does not support the NX bit.  Sorry I did not mention that.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Arts

2006-03-27 Thread contiemilio
Alle 15:05, lunedì 27 marzo 2006, b.n. ha scritto:
> [EMAIL PROTECTED] wrote:
> > Hi all only to-day I found out that KDE has been installed without arts.
> > So I installed it. But the sound system does not work!
> > Shoul I reinstall (recompile) every KDE package?
>
> It is probable that arts wasn't included in your USE flags. If it's the
> case, ehm, yes, I fear you have to recompile...
>
> m.

Thank you. ;-(((

emilio

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] telnet localhost

2006-03-27 Thread Arnau Bria Ramírez
El Mon, 27 Mar 2006 15:28:20 +0100
THUFIR HAWAT dijo:

> Nice quote :)
> 
> Interesting, lo versus eth0.  I don't understand the question, as I
> don't know what lo means, but that might be it :)
> 
> "lo" refers to an interface?

# ifconfig -a
eth0  Link encap:Ethernet  HWaddr 00:01:02:15:CA:1F  
  inet addr:192.168.0.222  Bcast:192.168.0.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:39243262 errors:0 dropped:0 overruns:1 frame:0
  TX packets:35306050 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000 
  RX bytes:51734647 (49.3 Mb)  TX bytes:665079335 (634.2 Mb)
  Interrupt:10 Base address:0xdc00 

loLink encap:Local Loopback  
  inet addr:127.0.0.1  Mask:255.0.0.0
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:6930273 errors:0 dropped:0 overruns:0 frame:0
  TX packets:6930273 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0 
  RX bytes:750362542 (715.6 Mb)  TX bytes:750362542 (715.6 Mb)

Very useful for internal communication.

Cheers!
-- 
Arnau Bria
http://blog.emergetux.net

Por regla general, las chicas malas suelen ser las que están más buenas.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: problems emerge'ing amavis-new

2006-03-27 Thread Nick Smith
its been a couple weeks since i posted this, figured i would wait and
see if this fixed itself and it hasnt, has any one got any ideas as to
why im getting this error or where to start to fix it?

thanks

nick

On 3/10/06, Nick Smith <[EMAIL PROTECTED]> wrote:
> i get this when i try to emerge amavis-new:
>
> >>> Unpacking amavisd-new-2.3.3.tar.gz to
> /var/tmp/portage/amavisd-new-2.3.3-r2/work
>  * Patching with qmail qmqp support.
>  * Applying amavisd-new-qmqpqq.patch ...
>
>  [ ok ]
>  * Patching with qmail lf bug workaround.
>  * Applying amavisd-new-2.2.1-qmail-lf-workaround.patch ...
>
>  * Failed Patch: amavisd-new-2.2.1-qmail-lf-workaround.patch !
>  *  ( 
> /usr/portage/mail-filter/amavisd-new/files/amavisd-new-2.2.1-qmail-lf-workaround.patch
> )
>  *
>  * Include in your bugreport the contents of:
>  *
>  *   
> /var/tmp/portage/amavisd-new-2.3.3-r2/temp/amavisd-new-2.2.1-qmail-lf-workaround.patch-28558.out
>
>
> !!! ERROR: mail-filter/amavisd-new-2.3.3-r2 failed.
> !!! Function epatch, Line 350, Exitcode 0
> !!! Failed Patch: amavisd-new-2.2.1-qmail-lf-workaround.patch!
> !!! If you need support, post the topmost build error, NOT this status 
> message.
>
> here is the contents of the .out file:
>
>
> [14:[EMAIL PROTECTED]:[/home/nick]# cat
> /var/tmp/portage/amavisd-new-2.3.3-r2/temp/amavisd-new-2.2.1-qmail-lf-workaround.patch-29392.out
> * amavisd-new-2.2.1-qmail-lf-workaround.patch *
>
> ===
>
> PATCH COMMAND:  patch -p0 -g0 --no-backup-if-mismatch <
> /usr/portage/mail-filter/amavisd-new/files/amavisd-new-2.2.1-qmail-lf-workaround.patch
>
> ===
> can't find file to patch at input line 3
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --
> |--- amavisd-new-2.2.1/amavisd.chris2005-01-09 18:05:09.0 +0100
> |+++ amavisd-new-2.2.1/amavisd  2005-01-09 18:05:47.360864816 +0100
> --
> No file to patch.  Skipping patch.
> 1 out of 1 hunk ignored
>
> ===
>
> PATCH COMMAND:  patch -p1 -g0 --no-backup-if-mismatch <
> /usr/portage/mail-filter/amavisd-new/files/amavisd-new-2.2.1-qmail-lf-workaround.patch
>
> ===
> patching file amavisd
> Hunk #1 FAILED at 3948.
> 1 out of 1 hunk FAILED -- saving rejects to file amavisd.rej
> ===
>
> PATCH COMMAND:  patch -p2 -g0 --no-backup-if-mismatch <
> /usr/portage/mail-filter/amavisd-new/files/amavisd-new-2.2.1-qmail-lf-workaround.patch
>
> ===
> missing header for unified diff at line 3 of patch
> can't find file to patch at input line 3
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --
> |--- amavisd-new-2.2.1/amavisd.chris2005-01-09 18:05:09.0 +0100
> |+++ amavisd-new-2.2.1/amavisd  2005-01-09 18:05:47.360864816 +0100
> --
> No file to patch.  Skipping patch.
> 1 out of 1 hunk ignored
> ===
>
> PATCH COMMAND:  patch -p3 -g0 --no-backup-if-mismatch <
> /usr/portage/mail-filter/amavisd-new/files/amavisd-new-2.2.1-qmail-lf-workaround.patch
>
> ===
> missing header for unified diff at line 3 of patch
> can't find file to patch at input line 3
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --
> |--- amavisd-new-2.2.1/amavisd.chris2005-01-09 18:05:09.0 +0100
> |+++ amavisd-new-2.2.1/amavisd  2005-01-09 18:05:47.360864816 +0100
> --
> No file to patch.  Skipping patch.
> 1 out of 1 hunk ignored
> ===
>
> PATCH COMMAND:  patch -p4 -g0 --no-backup-if-mismatch <
> /usr/portage/mail-filter/amavisd-new/files/amavisd-new-2.2.1-qmail-lf-workaround.patch
>
> ===
> missing header for unified diff at line 3 of patch
> can't find file to patch at input line 3
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --
> |--- amavisd-new-2.2.1/amavisd.chris2005-01-09 18:05:09.0 +0100
> |+++ amavisd-new-2.2.1/amavisd  2005-01-09 18:05:47.360864816 +0100
> --
> No file to patch.  Skipping patch.
> 1 out of 1 hunk ignored
>
>
> what do i need to do to correct this?
>
> TIA
>
> Nick
>


--
Linux, because I'd rather own a free OS than steal one that's not
worth paying for.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Further probs/phenomena

2006-03-27 Thread james
Uwe Thiem  iway.na> writes:


> >  another thing I am currently not able to understand:
> >  In search of a dvb-t tv watching applikation I found kaffeine (as far
> >  as I know not supoorted by Gentoo).

> Pardon?


> Calculating dependencies... done!
> [ebuild   R   ] media-video/kaffeine-0.7.1-r1  USE="arts gstreamer -debug 
> -dvb 
> -xinerama" 0 kB

I put this entry in my /etc/portage/package.keywords:

media-video/kaffeine~x86

and got this version of kaffeine working:
 media-video/kaffeine-0.8-r1  +arts -debug -dvb +encode +gstreamer +vorbis 
-xinerama

If you use dvb, make sure you enable it in the kernel

hth,

James



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Sharing linux's internet connection with an iMac?

2006-03-27 Thread Matthias Bethke
Hi Hans-Werner,
on Monday, 2006-03-27 at 13:36:38, you wrote:
> Most likely it wouldn't work because of the wlan link layer. Most WiFi
> cards don't go well with bridging... So routing is the option which is
> left.

The 802.11 link layer is almost exactly the same as in Ethernet so that
should be a driver issue. Particularly the LLC part is completely
compatible...I never actually tried the bridging though.

cheers!
Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665


pgpgjlXiUP8De.pgp
Description: PGP signature


Re: [gentoo-user] USB sync/async mount

2006-03-27 Thread hawat . thufir



On Tue, 27 Sep 2005, Tamas Sarga wrote:


From: Tamas Sarga <[EMAIL PROTECTED]>
Subject: [gentoo-user] USB sync/async mount
Newsgroups: linux.gentoo.user

Hi,

I've read some docs about mount of USB keys, but I can not figure out
that if I have
/dev/sda1   /mnt/usbautonoauto,user 0 0
in my /etc/fstab, then my key would be mounted sync, or async mode?

TIA.
Cheers,
Tamas Sarga SĂĄrga TamĂĄs
--
Make the world confused!Zavard Ăśssze a vilĂĄgot!
Smile on monday morning!Mosolyogj hĂŠtfĂľ reggel!

--
gentoo-user@gentoo.org mailing list






thanks!  :)

Now I can mount my mp3 player (gotta get an ogg player).


My fstab, if anyone's wondering:

/dev/hda2/boot   ext2defaults1 2
/dev/hda3noneswapsw  0 0
/dev/hda4/   ext3defaults0 1
none/proc procdefaults  0 0
none/dev/shm  tmpfs   defaults  0 0
/dev/hda1   /mnt/windowsvfat
users,owner,ro,umask=000 0 0
/dev/cdrom  /mnt/cdrom  iso9660 noauto,ro,user 0 0
 /dev/sda1   /mnt/usbautonoauto,user 0 0






-Thufir

RE: [gentoo-user] USB sync/async mount

2006-03-27 Thread Michael Kintzios


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: 27 March 2006 17:29
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] USB sync/async mount
> 
> My fstab, if anyone's wondering:
>
>   /dev/sda1   /mnt/usbautonoauto,user 0 0
 
Shouldn't   "/dev/sda1   /mnt/usbautonoauto,user 0
0" also contain async to avoid burning it out?
-- 
Regards,
Mick


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB sync/async mount

2006-03-27 Thread Neil Bothwick
On Mon, 27 Mar 2006 17:45:33 +0100, Michael Kintzios wrote:

> > My fstab, if anyone's wondering:
> >
> >   /dev/sda1   /mnt/usbautonoauto,user 0 0
>  
> Shouldn't   "/dev/sda1   /mnt/usbautonoauto,user 0
> 0" also contain async to avoid burning it out?

async is default when mounting via fstab, you can check it with "mount"
after mounting the device. automounters tend to mount sync, to avoid
filesystem damage when unplugging without unmounting. I have the
following in /etc/hal/fdi/policy/storage-policy.fdi to have them
automounted async.




false
true


false
true




-- 
Neil Bothwick

"The perceived world; 1) mine, 2) yours."


signature.asc
Description: PGP signature


Re: [gentoo-user] Is there a DEP (Data Execution Protection) option for Gentoo?

2006-03-27 Thread Graham Murray
"Richard Fish" <[EMAIL PROTECTED]> writes:

> But I agree that PAE is the necessary option if your processor is too
> old and does not support the NX bit.  Sorry I did not mention that.

Even if the processor supports the NX bit, in arch/i386/mm/init.c it
looks as though NX is only enabled if PAE is configured (which
requires setting 64G highmem)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Further probs/phenomena

2006-03-27 Thread Meino Christian Cramer
From: james <[EMAIL PROTECTED]>
Subject: [gentoo-user] Re: Further probs/phenomena
Date: Mon, 27 Mar 2006 16:10:01 + (UTC)

Hi,

 thank you for your help.

 My previous system was an LFS one, from which I took the complete
 configuration of the linux kernel. That's why I took a vanilla kernel
 for gentoo (by the way: Why is it named "vanilla" for such kind of
 things an not -- say -- straciatella, schoco, walnut or even tutti
 frutti :O)

 As I am right at the beginning with my understanding and knowledge
 about the gentoo system, I would like to know, what this "~86" in
 /etc/portage/package.keywords does.

 Is it advebtureous to do so, or is it just a good working tuning
 thing for x86 systems ?

 Anbother question: Is there a documentation of the _installed_ gentoo
 system -- not the installing process as such?

 Have a nice week!

 Keep hacking!
 mcc 



> Uwe Thiem  iway.na> writes:
> 
> 
> > >  another thing I am currently not able to understand:
> > >  In search of a dvb-t tv watching applikation I found kaffeine (as far
> > >  as I know not supoorted by Gentoo).
> 
> > Pardon?
> 
> 
> > Calculating dependencies... done!
> > [ebuild   R   ] media-video/kaffeine-0.7.1-r1  USE="arts gstreamer -debug 
> > -dvb 
> > -xinerama" 0 kB
> 
> I put this entry in my /etc/portage/package.keywords:
> 
> media-video/kaffeine~x86
> 
> and got this version of kaffeine working:
>  media-video/kaffeine-0.8-r1  +arts -debug -dvb +encode +gstreamer +vorbis 
> -xinerama
> 
> If you use dvb, make sure you enable it in the kernel
> 
> hth,
> 
> James
> 
> 
> 
> -- 
> gentoo-user@gentoo.org mailing list
> 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USRobotics internal modem

2006-03-27 Thread JimD
On Mon, 27 Mar 2006 11:16:11 +
[EMAIL PROTECTED] wrote:

> Solved!!
> 
> Thank you
> 
> emilio

You should post how you solved the problem in case someone else runs
into the same issue.  This way they can search Gentoo/Google and will
find the solution.

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



Re: [gentoo-user] swat

2006-03-27 Thread JimD
On Mon, 27 Mar 2006 20:00:59 +1200
Nick Rout <[EMAIL PROTECTED]> wrote:

> in /etc/xinted.d/swat change
> 
> only_from = localhost
> 
> to 
> 
> only_from = 127.0.0.1

That got it wokring.  Now I just need to figure out how to add a user
to swat since it didn't like root.

Thanks,

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



[gentoo-user] Gentoo and OpenLDAP

2006-03-27 Thread Leandro Melo de Sales
Hi all,

 I'd like to know a good document that shows a good/secure way to
configure OpenLDAP. Addionally documentation about integrade Samba
with OpenLDAP as well as PAM with OpenLDAP.

Thank you,

Leandro.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Sharing linux's internet connection with an iMac?

2006-03-27 Thread Hans-Werner Hilse
Hi,

On Mon, 27 Mar 2006 18:23:24 +0200 Matthias Bethke
<[EMAIL PROTECTED]> wrote:

> on Monday, 2006-03-27 at 13:36:38, you wrote:
> > Most likely it wouldn't work because of the wlan link layer. Most
> > WiFi cards don't go well with bridging... So routing is the option
> > which is left.
> 
> The 802.11 link layer is almost exactly the same as in Ethernet so
> that should be a driver issue. Particularly the LLC part is completely
> compatible...I never actually tried the bridging though.

I should have been more verbose. 802.11 may be almost the same
regarding the logical link layer, but not the Media Access Control
layer. In fact, 802.11 has the DS bits in its headers and potentially
up to four relevant addresses for routing the packet (Receiver,
Transmitter, Source, Destination for our scenario). Bridging can in
fact work if the WiFi node in question can make use of these features.
However, most STA's cannot due to restrictions in their firmware. IIRC,
that's basically the difference between STA/AP firmware versions. By
definition, this is an AP function (see 802.11 standard, 1999, pg.
37ff.), WDS (Wireless Distribution Service). As it isn't relevant for
hardware design, I tend to agree that it is a "driver problem",
although not quite like usual "driver problems"...

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



Re: [gentoo-user] Gentoo and OpenLDAP

2006-03-27 Thread Heinz Sporn
Am Montag, den 27.03.2006, 14:47 -0300 schrieb Leandro Melo de Sales:
> Hi all,
> 
>  I'd like to know a good document that shows a good/secure way to
> configure OpenLDAP. Addionally documentation about integrade Samba
> with OpenLDAP as well as PAM with OpenLDAP.

I found this one rather usefull:
http://samba.idealx.org/smbldap-tools.fr.html 
The website itself is a french one but the smbldap-tools / SMABA / LDAP
part is in English.

> 
> Thank you,
> 
> Leandro.
> 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] {OT} mythtv opinions

2006-03-27 Thread Grant
> > I'm thinking of setting up one of my new-to-me P3-500 desktops as a
> > mythtv system.  Has anyone tried it?  Any drawbacks?  Are there
> > superior alternatives?
> >
>
>
> Hi Grant,
>
> I run it here as the media server for the family.
>
> It compiled easily, setup was a bit cumbersome with mysql however. Once ypou
> get myth and mysql talking together, it's quite reliable. Early on, in the
> begining, the mythbackend startup script proved to NOT function at all.
> Someone one on the mythtv mailing list gave me a script to try and it
> worked only to become useless after a few version bumps of mythtv. I gave
> up on the startup script and just start mythbackend
> in /etc/conf.d/local.start. It works/runs on each boot or restart now.
>
> I don't have a media streamer as each of my family watch what they want from
> their desktops/laptops. I'll get around to having a streamer for the main 57"
> projection tv some day, but it's not a priority just yet.
>
> Do youself a favor... if you're going to have more than one user, plan ahead
> on buying more than  one capture card... I have two pvr-150's and am planning
> on buying a third one soon... :')
>
>
> Cheers, Jerry.

Hi Jerry,

Did you try running it without the mysql USE flag?  Do you have a
remote control working?  Is that pvr-150 a hardware decoder/encoder? 
I need to find a cheap one of those for my P3-550.

- Grant

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel

2006-03-27 Thread Teresa and Dale
Lord Sauron wrote:

>On 3/26/06, Teresa and Dale <[EMAIL PROTECTED]> wrote:
>  
>
>
>
>I had this set to be compiled into the kernel.  Should that present
>any problems?
>  
>

Most things do not matter.  You can do either way.  There are some
things that I have seen that must be modules and some things, like file
systems, that must be compiled in.  Example on the last one, I use
reiserfs for my files system including root.  If I have reiserfs as a
module, the kernel will not be able to read my root partition to boot
up.  For that reason, I have to compile it in so it can read the root
partition.  IF I had say a data partition that used XFS, I could make
that a module if I wanted to.  The system will boot up and then load all
the modules so it can read the other file systems.

One reason some use modules is that you can update them or do bug fixes
without rebooting.  You just unload the module, update it, then reload
it again.  This is usually something that folks like me and you do not
have to worry about though.

>  
>
>>>│ │<*> Button │ │
>>>│ │< > Video │ │
>>>│ │< > Generic Hotkey (EXPERIMENTAL) │ │
>>>│ │< > Fan │ │
>>>│ │< > Processor │ │
>>>│ │< > ASUS/Medion Laptop Extras │ │
>>>│ │< > IBM ThinkPad Laptop Extras │ │
>>>  
>>>
>
>I had this enabled (compiled into kernel) since I do own a IBM X40.
>
>  
>
>>>│ │< > Toshiba Laptop Extras │ │
>>>│ │(0) Disable ACPI for systems before Jan 1st this year (NEW) │ │
>>>  
>>>
>
>What on earth is this?  I read the descriptor, but it didn't help me much...
>  
>

>From what I have read, some systems do not support ACPI at all.  They
will not work, or maybe they blow up or something.  I assume that there
is some way for it to know when it was made and it will disable it if it
is before that date.  I'm not really sure either.

>>As it says up at the top, you can press "y" to compile it in, press "m"
>>to have it as a module or press "n" to leave it out. You can also swith
>>through them with the space bar. There are a lot of gurus here that may
>>disagree with this, but I have no modules for my kernel unless I have to
>>have it for some reason. I did have modules for my temp sensors but that
>>was so I could reset it without rebooting. I'm sure someone will come in
>>with 100 reasons to have modules and some others will have reasons not
>>too. I say do it like you need to and whatever makes you and the system
>>happy.
>>
>>
>
>I'm just going to try compiling stuff into the kernel first, before I
>try and tinker.
>  
>

Save that info, you may need it.  The first kernel I made would boot up
but some things, USB and a couple other things didn't work, so I made a
new one.  The new one wouldn't work at all.  Something I changed didn't
work right at all.  Since I saved the old one, I just rebooted and used
it.  Otherwise, I would have had to boot the CD and chrooted in to fix
it.  That's a good tip to keep in mind.

>  
>
>>When you make a new kernel, don't remove the old one. Since it does boot
>>up, you can use it to fall back on in case your new one fails for some
>>reason. Just give it a different name from the old one when you copy it
>>over. I do mine names like this:
>>
>>
>
>So, I should rename one of my kernels and try and see which one is
>which?  Or am I still off the mark?  It didn't look like it compiled
>the kernel...  I think it should have taken longer, but it didn't.  I
>may be missing a step.  : /
>  
>

Most likely the first one is named bzImage and that is fine.  Just name
you new one something different.  You can name it bzImage-1 if you
want.  I put the kernel version on the end so I know what version it is.

>  
>
>>>[EMAIL PROTECTED] / # ls -al /boot/bzI*
>>>-rw-r--r-- 1 root root 2196613 Sep 18 2005 /boot/bzImage-gen-2.6.12-1
>>>-rw-r--r-- 1 root root 2224482 Dec 20 20:31 /boot/bzImage-gen-2.6.14-4
>>>-rw-r--r-- 1 root root 2225130 Dec 27 04:50 /boot/bzImage-gen-2.6.14-5
>>>[EMAIL PROTECTED] / #
>>>  
>>>
>>I currently have three kernels that I can boot if one of them gets
>>corrupted or something. The last digit is like a version number for me.
>>If you can't boot the old one, you can hit "e" twice when grub comes up
>>and then use the arrow keys to edit which kernel you want to boot. It
>>can save you a lot of headaches too. After you edit that, you just hit
>>return and then hit the "b" key to boot it up. If it gives you a grub
>>error, just hit the escape (Esc) key to go back and try again.
>>
>>
>
>Just a question: if the support is made to be as a module (M, instead
>of *) does that mean that you have to add something like "doacpi" to
>the boot parameters?
>  
>

That means you have to add it to the /etc/modules.autoload.d/kernel-2.6
file for it to load the module when it boots.  This is what my file
looks like:

> nvidia
> hwmon_vid
> i2c_isa
> w83627hf


I guess I do still have my sensors as modules.  Anyway, nvidia has to be
a module.  You will see them when they load up.

>
>>
>>Hope this helps. I'm about t

Re: [gentoo-user] Hosted server as distcc machine

2006-03-27 Thread Grant
> > > > > It's probably better to use distcc over ssh, using an ssh-agent
> > > > > and PKI authentication.
> > > > How would ssh and PKI be set up in
> > > > the workflow?  It isn't mentioned here:
> > > > http://www.gentoo.org/doc/en/distcc.xml
> > >
> > > 1) On the server, set up the shell account that will use distcc via
> > > ssh.
> > > 2) On the client, generate the private key for that account and
> > > use ssh-copy-id to give the server the public key.
> > > 3) On the server, if possible, disable password logins to force the
> > > use of the private key for that user.
> > > 4) On the client, add a line like [EMAIL PROTECTED] to your
> > > distcc_hosts.
> > > 5) Prior to invoking distcc on the client, start
> > > an ssh-agent (I prefer the keychain "meta-"agent.) and optionally add
> > > your private key to the agent. (If you don't start an agent, each
> > > compile that goes to an ssh host will ask for a password -- very
> > > troublesome with parallel make; If you don't add your private key to
> > > the agent, you'll get prompted for the passphrase the first time you
> > > need a key -- still moderately troublesome.)
> > >
> > > There is no need to run distccd on the server at all.  You /will/ need
> > > sshd.
> >
> > It sounds like this would make the remote
> > distcc idea as secure as ssh and I won't have to worry about the fact
> > that distcc wasn't built with security in mind.  Is that right?
>
> Yes.  Since you aren't running the distccd server it's lack of security is
> not concern for you.  You'll be depending on the security of ssh.  While
> not completely spotless (e.g. the zlib vulnerability bit openssh) it was,
> at least, designed with security in mind.

Nice.

> > Also,
> > I'm the only user on all of my systems so it would be OK to use plain
> > ssh without PKI right?
>
> Unfortunately, no.  Not because it's less secure (though, it might be
> depending on the strength of your passwords vs passphrases), but because
> there's no such thing (AFAIK) as an ssh-password-agent.  This means that
> each compile job has to ask you for the password -- that's not gonna be
> real useful, most likely.  See the parenthetical notes at the end of step
> 5.

So you're saying if I don't use PKI, the remote system is going to
prompt me for a password after I'm already logged in?  You say "each
compile that goes to an ssh host will ask for a password".  At what
point in the emerge process does this happen?

- Grant

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Is there a DEP (Data Execution Protection) option for Gentoo?

2006-03-27 Thread Richard Fish
On 3/27/06, Graham Murray <[EMAIL PROTECTED]> wrote:
> "Richard Fish" <[EMAIL PROTECTED]> writes:
>
> > But I agree that PAE is the necessary option if your processor is too
> > old and does not support the NX bit.  Sorry I did not mention that.
>
> Even if the processor supports the NX bit, in arch/i386/mm/init.c it
> looks as though NX is only enabled if PAE is configured (which
> requires setting 64G highmem)

Hmm, yep, I didn't read enough source.  Actually the best indicator
that CONFIG_X86_PAE is necessary is from include/asm-i386/pgtable.h,
which defines _PAGE_NX as:

#ifdef CONFIG_X86_PAE
#define _PAGE_NX(1ULL<<_PAGE_BIT_NX)
#else
#define _PAGE_NX0
#endif

Crow eaten with apologies to all.

-Richard




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

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] telnet localhost

2006-03-27 Thread kashani

THUFIR HAWAT wrote:

I want to test that leafnode is up and running, so am using telnet:


Wow, you got some wacky ass answers on this.

First off telneting to the port should work as long as you're on the 
same box since it's supposed to be running on 127.0.0.1 otherwise known 
as lo or the loopback address which should clear up that.


Then I'd look at logs. xinetd can be finicky about starting services if 
they aren't configured right. I'd restart xinetd and see what it drops 
in /var/log/messages about which services it's activating. It's usually 
pretty good about telling you if it's accepting a service though it may 
not tell you why it decided a service wasn't up to snuff.


As root a netstat -ptln might tell you if xinetd is holding the port, 
but since xinetd is a superdaemon of sorts it might not show it on the 
port unless there is a working connection... I'm not sure and have no 
desire to install xinetd to find out. :)


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



Re: [gentoo-user] telnet localhost

2006-03-27 Thread John Jolet


On Mar 27, 2006, at 12:51 PM, kashani wrote:


THUFIR HAWAT wrote:

I want to test that leafnode is up and running, so am using telnet:


Wow, you got some wacky ass answers on this.

First off telneting to the port should work as long as you're on  
the same box since it's supposed to be running on 127.0.0.1  
otherwise known as lo or the loopback address which should clear up  
that.


Then I'd look at logs. xinetd can be finicky about starting  
services if they aren't configured right. I'd restart xinetd and  
see what it drops in /var/log/messages about which services it's  
activating. It's usually pretty good about telling you if it's  
accepting a service though it may not tell you why it decided a  
service wasn't up to snuff.


As root a netstat -ptln might tell you if xinetd is holding the  
port, but since xinetd is a superdaemon of sorts it might not show  
it on the port unless there is a working connection... I'm not sure  
and have no desire to install xinetd to find out. :)


as long as it's configured to not be turned off, xinetd will hold the  
port open.  I use netstat -a|grep LISTEN and it should show up


--
gentoo-user@gentoo.org mailing list



[gentoo-user] KDE desktop icons

2006-03-27 Thread contiemilio
I am using KDE 3.4.3 Gentoo amd64. 
Almost every time I login the icons of the desktop moved and mixed.
I tried checking every possible options (KDE Comtrol Center), with no results.
Any hints.
Is it a bug?

Bye
emilio

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ffmpeg emerging

2006-03-27 Thread kashani

Luigi Pinna wrote:
media-video/ffmpeg-0.4.9_p20051216  +a52 +aac 
(-altivec) -debug -doc -dts +encode +ieee1394 +imlib (-mmx) -network 
+ogg -oss +sdl +test +theora +threads +truetype +v4l +vorbis +xvid 
+zlib
All the dependencies are installed (if I use emerge -D ffmpeg is the 
once package)


I ask your help because that package is a critish package for me: (kino 
and xine cannot work for me...)

What did I forget? Or is it a bug?


You might try dropping ieee1394 if you don't explicitly need it. However 
I'd had a number of weird issues with 2006.0 that eventually resolved 
themselves with an emerge -e world though I'd only do that as a last 
resort since it'll take forever.


I still haven't decided if it's something I'm doing or left over bits 
from the gcc 3.3 to 3.4 upgrade.


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



Re: [gentoo-user] KDE desktop icons

2006-03-27 Thread Sergio Polini
[EMAIL PROTECTED]:
> I am using KDE 3.4.3 Gentoo amd64.
> Almost every time I login the icons of the desktop moved and mixed.
> I tried checking every possible options (KDE Comtrol Center), with
> no results. Any hints.

Try checking right-button-mouse-click / Icons / Align to grid.

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



Re: [gentoo-user] USRobotics internal modem

2006-03-27 Thread contiemilio
Alle 19:29, lunedì 27 marzo 2006, JimD ha scritto:
> On Mon, 27 Mar 2006 11:16:11 +
>
> [EMAIL PROTECTED] wrote:
> > Solved!!
> >
> > Thank you
> >
> > emilio
>
> You should post how you solved the problem in case someone else runs
> into the same issue.  This way they can search Gentoo/Google and will
> find the solution.

It has been a mere chance. 
During the configuration o KPPP I queried the modem, but the answer always was 
"modem busy".
After many attempts,casually, I started a connection and  . . . it worked!!
Do not ask me why, I could not answer you.

> Jim

emilio

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE desktop icons

2006-03-27 Thread contiemilio
Alle 23:04, lunedì 27 marzo 2006, Sergio Polini ha scritto:
> [EMAIL PROTECTED]:
> > I am using KDE 3.4.3 Gentoo amd64.
> > Almost every time I login the icons of the desktop moved and mixed.
> > I tried checking every possible options (KDE Comtrol Center), with
> > no results. Any hints.
>
> Try checking right-button-mouse-click / Icons / Align to grid.

Already tried!!
No result.

>
> Sergio

emilio

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo and OpenLDAP

2006-03-27 Thread Raphael Melo de Oliveira Bastos Sales
A little bit OT, a very noobish of me. I'm having trouble with LDAP
filters. I'm still trying to get the hang of it.

I'd like filter to use on the Apache mod_auth_ldap that returns all
the uids inside a given group. Anyone knows how to do that?

Regards,

Raphael

2006/3/27, Heinz Sporn <[EMAIL PROTECTED]>:
> Am Montag, den 27.03.2006, 14:47 -0300 schrieb Leandro Melo de Sales:
> > Hi all,
> >
> >  I'd like to know a good document that shows a good/secure way to
> > configure OpenLDAP. Addionally documentation about integrade Samba
> > with OpenLDAP as well as PAM with OpenLDAP.
>
> I found this one rather usefull:
> http://samba.idealx.org/smbldap-tools.fr.html
> The website itself is a french one but the smbldap-tools / SMABA / LDAP
> part is in English.
>
> >
> > Thank you,
> >
> > Leandro.
> >
>
> --
> gentoo-user@gentoo.org mailing list
>
>

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel

2006-03-27 Thread Lord Sauron
On 3/27/06, Teresa and Dale <[EMAIL PROTECTED]> wrote:
> Lord Sauron wrote:
>
> >On 3/26/06, Teresa and Dale <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >I had this set to be compiled into the kernel.  Should that present
> >any problems?
> >
> >
>
> Most things do not matter.  You can do either way.  There are some
> things that I have seen that must be modules and some things, like file
> systems, that must be compiled in.  Example on the last one, I use
> reiserfs for my files system including root.  If I have reiserfs as a
> module, the kernel will not be able to read my root partition to boot
> up.  For that reason, I have to compile it in so it can read the root
> partition.  IF I had say a data partition that used XFS, I could make
> that a module if I wanted to.  The system will boot up and then load all
> the modules so it can read the other file systems.

Clever.

> One reason some use modules is that you can update them or do bug fixes
> without rebooting.  You just unload the module, update it, then reload
> it again.  This is usually something that folks like me and you do not
> have to worry about though.

Extremely clever.  I'll have to remeber cool tricks like that when I'm
working with my own server...

> >>>│ │<*> Button │ │
> >>>│ │< > Video │ │
> >>>│ │< > Generic Hotkey (EXPERIMENTAL) │ │
> >>>│ │< > Fan │ │
> >>>│ │< > Processor │ │
> >>>│ │< > ASUS/Medion Laptop Extras │ │
> >>>│ │< > IBM ThinkPad Laptop Extras │ │
> >>>
> >>>
> >
> >I had this enabled (compiled into kernel) since I do own a IBM X40.
> >
> >
> >
> >>>│ │< > Toshiba Laptop Extras │ │
> >>>│ │(0) Disable ACPI for systems before Jan 1st this year (NEW) │ │
> >>>
> >>>
> >
> >What on earth is this?  I read the descriptor, but it didn't help me much...
> >
> >
>
> From what I have read, some systems do not support ACPI at all.  They
> will not work, or maybe they blow up or something.  I assume that there
> is some way for it to know when it was made and it will disable it if it
> is before that date.  I'm not really sure either.

Oh... that makes sense.

> >>As it says up at the top, you can press "y" to compile it in, press "m"
> >>to have it as a module or press "n" to leave it out. You can also swith
> >>through them with the space bar. There are a lot of gurus here that may
> >>disagree with this, but I have no modules for my kernel unless I have to
> >>have it for some reason. I did have modules for my temp sensors but that
> >>was so I could reset it without rebooting. I'm sure someone will come in
> >>with 100 reasons to have modules and some others will have reasons not
> >>too. I say do it like you need to and whatever makes you and the system
> >>happy.
> >>
> >>
> >
> >I'm just going to try compiling stuff into the kernel first, before I
> >try and tinker.
> >
> >
>
> Save that info, you may need it.  The first kernel I made would boot up
> but some things, USB and a couple other things didn't work, so I made a
> new one.  The new one wouldn't work at all.  Something I changed didn't
> work right at all.  Since I saved the old one, I just rebooted and used
> it.  Otherwise, I would have had to boot the CD and chrooted in to fix
> it.  That's a good tip to keep in mind.

I'm actually not certain that I have the kernel built and installed. 
I tried the make install command, but I'm still not certain that I've
done this all correctly.  At this rate, I may try and re-install KDE
and stuff to see if it's no longer a problem with the kernel.  Is
there a way to see what's currently compiled in or modules
enabled/loaded in the kernel that currently running?  If there is,
then I could very quickly diagnose where the disconnect is.

> >>When you make a new kernel, don't remove the old one. Since it does boot
> >>up, you can use it to fall back on in case your new one fails for some
> >>reason. Just give it a different name from the old one when you copy it
> >>over. I do mine names like this:
> >>
> >>
> >
> >So, I should rename one of my kernels and try and see which one is
> >which?  Or am I still off the mark?  It didn't look like it compiled
> >the kernel...  I think it should have taken longer, but it didn't.  I
> >may be missing a step.  : /
> >
> >
>
> Most likely the first one is named bzImage and that is fine.  Just name
> you new one something different.  You can name it bzImage-1 if you
> want.  I put the kernel version on the end so I know what version it is.

Yeah, but I've been using the "make install" command, so I'm not
totally sure if what I'm doing is even effective.

> >>>[EMAIL PROTECTED] / # ls -al /boot/bzI*
> >>>-rw-r--r-- 1 root root 2196613 Sep 18 2005 /boot/bzImage-gen-2.6.12-1
> >>>-rw-r--r-- 1 root root 2224482 Dec 20 20:31 /boot/bzImage-gen-2.6.14-4
> >>>-rw-r--r-- 1 root root 2225130 Dec 27 04:50 /boot/bzImage-gen-2.6.14-5
> >>>[EMAIL PROTECTED] / #
> >>>
> >>>
> >>I currently have three kernels that I can boot if one of them gets
> >>corrupted or something. The last digit is like a versio

Re: [gentoo-user] skype experiences: good/bad/etc

2006-03-27 Thread Istvan Pongracz
Hi Matthias,

Thank you for your tipp, I'll check it.
I also checked ekiga, which is like gnomemeeting, but different ebuild,
downloadable from the site.

I tried this: esearch phone
there are several packages, really nice :)

cheers,
István


Matthias Bethke wrote:
> Hi Pongracz,
> on Wednesday, 2006-03-22 at 20:29:36, you wrote:
>> Question is, why other guys do not start a real open source project to
>> make a phone application?
> 
> Another one that has been in portage for a few weeks: net-im/wengophone
> My experience is that the sound quality isn't quite as good as Skype's
> and it can't do conferences (yet?) but OTOH it kinda supports webcams
> which Skype's Linux version doesn't. "Kinda" because it's not quite
> stable yet, once in a while it locks up or fails to display the other
> sides's image, and it uses an awful lot of CPU, but at least it's there.
> 
> cheers!
>   Matthias
> 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel

2006-03-27 Thread Lord Sauron
Hey, I found something interesting...

/boot/config

> #
> # Automatically generated make config: don't edit
> # Linux kernel version: 2.6.15-gentoo-r1
> # Sun Mar 26 17:30:03 2006
> #

large snip of non-ACPI stuff, mainly architecture flags.

> #
> # ACPI (Advanced Configuration and Power Interface) Support
> #
> CONFIG_ACPI=y
> CONFIG_ACPI_AC=y
> CONFIG_ACPI_BATTERY=y
> CONFIG_ACPI_BUTTON=y
> CONFIG_ACPI_VIDEO=y
> # CONFIG_ACPI_HOTKEY is not set
> CONFIG_ACPI_FAN=y
> CONFIG_ACPI_PROCESSOR=y
> CONFIG_ACPI_THERMAL=y
> # CONFIG_ACPI_ASUS is not set
> CONFIG_ACPI_IBM=y
> # CONFIG_ACPI_TOSHIBA is not set
> CONFIG_ACPI_BLACKLIST_YEAR=0
> # CONFIG_ACPI_DEBUG is not set
> CONFIG_ACPI_EC=y
> CONFIG_ACPI_POWER=y
> CONFIG_ACPI_SYSTEM=y
> # CONFIG_X86_PM_TIMER is not set
> # CONFIG_ACPI_CONTAINER is not set

/boot/config-2.6.15-gentoo-r1

> #
> # Automatically generated make config: don't edit
> # Linux kernel version: 2.6.15-gentoo-r1
> # Sun Mar 26 17:30:03 2006
> #

another snip of mainly the same content

> #
> # Power management options (ACPI, APM)
> #
> CONFIG_PM=y
> CONFIG_PM_LEGACY=y
> # CONFIG_PM_DEBUG is not set
>
> #
> # ACPI (Advanced Configuration and Power Interface) Support
> #
> CONFIG_ACPI=y
> CONFIG_ACPI_AC=y
> CONFIG_ACPI_BATTERY=y
> CONFIG_ACPI_BUTTON=y
> CONFIG_ACPI_VIDEO=y
> # CONFIG_ACPI_HOTKEY is not set
> CONFIG_ACPI_FAN=y
> CONFIG_ACPI_PROCESSOR=y
> CONFIG_ACPI_THERMAL=y
> # CONFIG_ACPI_ASUS is not set
> CONFIG_ACPI_IBM=y
> # CONFIG_ACPI_TOSHIBA is not set
> CONFIG_ACPI_BLACKLIST_YEAR=0
> # CONFIG_ACPI_DEBUG is not set
> CONFIG_ACPI_EC=y
> CONFIG_ACPI_POWER=y
> CONFIG_ACPI_SYSTEM=y
> # CONFIG_X86_PM_TIMER is not set
> # CONFIG_ACPI_CONTAINER is not set

My best guess now is that the line # CONFIG_ACIP_HOTKEY is not set is
causing my problems.  What do you think?  I also think that this more
or less confirms that the kernel is getting compiled, and it is
working...  but now it's a problem with KDE.  I'll try opening Gnome
in a xnest window and seeing if my battery monitor works then.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel

2006-03-27 Thread Devon Miller
Just to throw my 2 cents in...I always setCONFIG_IKCONFIG=yCONFIG_IKCONFIG_PROC=yunless I'm building for a memory constrained system. This stores the config file in the kernel image and makes it available as /proc/config.gz. That way, when I get it working, I know what I did.
I'm currently running 2.6.15-r8 of suspend2_sources, so if you're using a different kernel YMMV.Also, you can tell when the running kernel was built looking in /proc/version for the date stamp.dcm


[gentoo-user] Re: wget -c strange behaviour

2006-03-27 Thread Simon Kellett
Iain Buchanan <[EMAIL PROTECTED]> writes:

> So the question is: why does wget try to download it from the
> beginning?  wget shouldn't do this even if the server can't resume,
> wget should just die.

man wget :-)

"Note that -c only works with FTP servers and with HTTP servers that
support the "Range" header."

I am guessing his does not !

-- 
Simon Kellett,|   Gentoo Linux, Fvwm, Firefox 
Darmstadt, Germany|  Xemacs, Vm, Gnus

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] telnet localhost

2006-03-27 Thread THUFIR HAWAT
On 3/27/06, kashani <[EMAIL PROTECTED]> wrote:
> THUFIR HAWAT wrote:
> > I want to test that leafnode is up and running, so am using telnet:
>
> Wow, you got some wacky ass answers on this.
>
> First off telneting to the port should work as long as you're on the
> same box since it's supposed to be running on 127.0.0.1 otherwise known
> as lo or the loopback address which should clear up that.

Ok :)

> Then I'd look at logs. xinetd can be finicky about starting services if
> they aren't configured right. I'd restart xinetd

I've been rebooting :(
Is there a better way?

> and see what it drops
> in /var/log/messages about which services it's activating. It's usually
> pretty good about telling you if it's accepting a service though it may
> not tell you why it decided a service wasn't up to snuff.
>
> As root a netstat -ptln might tell you if xinetd is holding the port,
> but since xinetd is a superdaemon of sorts it might not show it on the
> port unless there is a working connection... I'm not sure and have no
> desire to install xinetd to find out. :)
>
> kashani
> --
> gentoo-user@gentoo.org mailing list
>
>

[EMAIL PROTECTED] ~ $
[EMAIL PROTECTED] ~ $ su -
Password:
localhost ~ # whoami
root
localhost ~ # cat -n /var/log/messages | grep nntp
  2764  Mar 26 12:59:32 localhost xinetd[485]: Reading included
configuration file: /etc/xinetd.d/leafnode-nntp
[file=/etc/xinetd.d/leafnode-nntp] [line=10]
  2776  Mar 26 12:59:32 localhost xinetd[485]: removing nntp
localhost ~ # cat -n /var/log/messages | grep leaf
  1054  Mar 22 13:40:13 localhost leafnode[19860]: cannot open
/etc/leafnode/config
  1055  Mar 22 13:40:13 localhost leafnode[19860]: 503 Unable to read
configuration file, exiting; the server's syslog should have more
information.
  1070  Mar 22 14:52:05 localhost leafnode[2613]: cannot open
/etc/leafnode/config
  1071  Mar 22 14:52:05 localhost leafnode[2613]: 503 Unable to read
configuration file, exiting; the server's syslog should have more
information.
  1074  Mar 22 15:01:38 localhost leafnode[21414]:  Leafnode must have
a fully-qualified and globally unique domain name, not just
"localhost.localdomain". Edit your /etc/hosts file to add a unique,
fully qualified domain name. "localhost.localdomain" or thereabouts
will not work; it's qualified, but not unique. Please see the
README-FQDN file for details.
  1075  Mar 22 15:03:29 localhost leafnode[29433]:  Leafnode must have
a fully-qualified and globally unique domain name, not just
"localhost.localdomain". Edit your /etc/hosts file to add a unique,
fully qualified domain name. "localhost.localdomain" or thereabouts
will not work; it's qualified, but not unique. Please see the
README-FQDN file for details.
  1076  Mar 22 15:04:40 localhost leafnode[2373]:  Leafnode must have
a fully-qualified and globally unique domain name, not just
"localhost.localdomain". Edit your /etc/hosts file to add a unique,
fully qualified domain name. "localhost.localdomain" or thereabouts
will not work; it's qualified, but not unique. Please see the
README-FQDN file for details.
  1154  Mar 22 19:40:11 localhost leafnode[21275]:  Leafnode must have
a fully-qualified and globally unique domain name, not just
"localhost.localdomain". Edit your /etc/hosts file to add a unique,
fully qualified domain name. "localhost.localdomain" or thereabouts
will not work; it's qualified, but not unique. Please see the
README-FQDN file for details.
  1907  Mar 25 00:53:59 localhost leafnode[14349]:  Leafnode must have
a fully-qualified and globally unique domain name, not just
"localhost". Edit your /etc/hosts file to add a unique, fully
qualified domain name. "localhost.localdomain" or thereabouts will not
work; it's qualified, but not unique. Please see the README-FQDN file
for details.
  2129  Mar 25 00:55:49 localhost leafnode[9744]:  Leafnode must have
a fully-qualified and globally unique domain name, not just
"localhost". Edit your /etc/hosts file to add a unique, fully
qualified domain name. "localhost.localdomain" or thereabouts will not
work; it's qualified, but not unique. Please see the README-FQDN file
for details.
  2137  Mar 25 00:58:00 localhost leafnode[10022]:  Leafnode must have
a fully-qualified and globally unique domain name, not just
"localhost". Edit your /etc/hosts file to add a unique, fully
qualified domain name. "localhost.localdomain" or thereabouts will not
work; it's qualified, but not unique. Please see the README-FQDN file
for details.
  2180  Mar 25 06:18:03 localhost leafnode[10838]: config: unknown
line 9: "host = hawat.thufir.gmail.com"
  2181  Mar 25 06:18:03 localhost leafnode[10838]:  Leafnode must have
a fully-qualified and globally unique domain name, not just
"localhost". Edit your /etc/hosts file to add a unique, fully
qualified domain name. "localhost.localdomain" or thereabouts will not
work; it's qualified, but not unique. Please see the README-FQDN file
for details.
  2197  Mar 25 06:18:39 localhost leafnode[11036]: config: unknown
li

Re: [gentoo-user] telnet localhost

2006-03-27 Thread THUFIR HAWAT
On 3/27/06, John Jolet <[EMAIL PROTECTED]> wrote:
..
> > As root a netstat -ptln might tell you if xinetd is holding the
> > port, but since xinetd is a superdaemon of sorts it might not
> > show
> > it on the port unless there is a working connection... I'm not
> > sure
> > and have no desire to install xinetd to find out. :)
>
> as long as it's configured to not be turned off, xinetd will hold
> the
> port open.  I use netstat -a|grep LISTEN and it should show
> up


Based on the /var/log/messages I don't think I have the FQDN correctly set.



localhost ~ #
localhost ~ # netstat -ptln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address   Foreign Address
State   PID/Program name
localhost ~ # netstat -a|grep LISTEN
unix  2  [ ACC ] STREAM LISTENING 12805  /dev/log
unix  2  [ ACC ] STREAM LISTENING 13510  @/tmp/dbus-MfRsQwACax
unix  2  [ ACC ] STREAM LISTENING 13937  /tmp/mapping-thufir
unix  2  [ ACC ] STREAM LISTENING 13745  @/tmp/fam-thufir-
unix  2  [ ACC ] STREAM LISTENING 13478  /tmp/.X11-unix/X0
unix  2  [ ACC ] STREAM LISTENING 13516 
/tmp/ssh-Nyrxjn9813/agent.9813
unix  2  [ ACC ] STREAM LISTENING 13541 
/tmp/orbit-thufir/linc-2672-0-12dd6d02390d6
unix  2  [ ACC ] STREAM LISTENING 13547 
/tmp/orbit-thufir/linc-2655-0-79381fe856347
unix  2  [ ACC ] STREAM LISTENING 13693  /tmp/.ICE-unix/9813
unix  2  [ ACC ] STREAM LISTENING 13702 
/tmp/keyring-xfFTos/socket
unix  2  [ ACC ] STREAM LISTENING 13714 
/tmp/orbit-thufir/linc-267a-0-2cecba2f71d48
unix  2  [ ACC ] STREAM LISTENING 13736 
/tmp/orbit-thufir/linc-267c-0-223b7714985c4
unix  2  [ ACC ] STREAM LISTENING 13781 
/tmp/orbit-thufir/linc-2697-0-3e87c9607e27b
unix  2  [ ACC ] STREAM LISTENING 13806 
/tmp/orbit-thufir/linc-269a-0-4fbf78acead8f
unix  2  [ ACC ] STREAM LISTENING 13832 
/tmp/orbit-thufir/linc-269c-0-631b6b07a050a
unix  2  [ ACC ] STREAM LISTENING 13860 
/tmp/orbit-thufir/linc-269e-0-461554275a402
unix  2  [ ACC ] STREAM LISTENING 13889 
/tmp/orbit-thufir/linc-26a2-0-3d68ff798e2f0
unix  2  [ ACC ] STREAM LISTENING 13925 
/tmp/orbit-thufir/linc-26a8-0-74ff7027c3be2
unix  2  [ ACC ] STREAM LISTENING 13969 
/tmp/orbit-thufir/linc-26bf-0-48e175a7e63a
unix  2  [ ACC ] STREAM LISTENING 14103 
/tmp/orbit-thufir/linc-26ca-0-493a1c81bc014
unix  2  [ ACC ] STREAM LISTENING 14120 
/tmp/orbit-thufir/linc-26d1-0-415c7c152252c
localhost ~ # cat -n /etc/xinetd.conf
 1  # /etc/xinetd.conf: sample configuration file for xinetd
 2
 3  defaults
 4  {
 5  only_from  = localhost
 6  instances  = 60
 7  log_type   = SYSLOG authpriv info
 8  log_on_success = HOST PID
 9  log_on_failure = HOST
10  cps= 25 30
11  }
12
13  includedir /etc/xinetd.d
localhost ~ # cat -n /etc/xinetd.d/leafnode-nntp
 1  # default: off
 2  # description: Leafnode - accepts connections on port 119 (NNTP)
 3
 4  service nntp
 5  {
 6  socket_type = stream
 7  protocol= tcp
 8  wait= no
 9  user= news
10  server  = /usr/sbin/leafnode
11  disable = no
12  }
localhost ~ # cat -n /etc/leafnode/config
 1  ## Unread articles will be deleted after this many days if
 2  ## you don't define special expire times. Mandatory.
 3  expire = 20
 4
 5  ## This is the NNTP server leafnode fetches its news from.
 6  ## You need read and post access to it. Mandatory.
 7  server = shawnews.vc.shawcable.net
 8
 9
10  hostname = hawat.thufir.invalid
11
12  initialfetch = 5
localhost ~ # date
Mon Mar 27 21:35:53 IST 2006
localhost ~ # cat -n /etc/hosts
 1  # /etc/hosts:  This file describes a number of hostname-to-address
 2  #  mappings for the TCP/IP subsystem.  It is mostly
 3  #  used at boot time, when no name servers are running.
 4  #  On small systems, this file can be used instead of a
 5  #  "named" name server.  Just add the names, addresses
 6  #  and any aliases to this file...
 7  # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/hosts,v 1.8
2003/08/04 20:12:25 azarah Exp $
 8  #
 9
10
11  127.0.0.1  localhost
12  127.0.0.1  hawat.thufir.invalid hawat arrakis
localhost ~ # date
Mon Mar 27 21:38:41 IST 2006
localhost ~ #




thanks,

Thufir

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE desktop icons

2006-03-27 Thread Uwe Thiem
On 27 March 2006 23:03, [EMAIL PROTECTED] wrote:
> I am using KDE 3.4.3 Gentoo amd64.
> Almost every time I login the icons of the desktop moved and mixed.
> I tried checking every possible options (KDE Comtrol Center), with no
> results. Any hints.
> Is it a bug?

Yes.

Uwe

-- 
Why do consumers keep buying products they will live to curse?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] telnet localhost

2006-03-27 Thread kashani

THUFIR HAWAT wrote:

I've been rebooting :(
Is there a better way?


/etc/init.d/xinetd stop
/etc/init.d/xinetd start

or

/etc/init.d/xinetd restart



localhost ~ # date
Mon Mar 27 21:30:44 IST 2006
localhost ~ #


I and many others aren't inclined to go searching through a page and 
half of logs ranging over two days especially when it appears that the 
problem has changed or been fixed.


So is it working now? It appears to be doing something.

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



Re: [gentoo-user] USB sync/async mount

2006-03-27 Thread b.n.

thanks!  :)

Now I can mount my mp3 player (gotta get an ogg player).


Do portable, cheap USB-stick ogg players exist?

m.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Further probs/phenomena

2006-03-27 Thread Boyd Stephen Smith Jr.
On Monday 27 March 2006 11:18, Meino Christian Cramer <[EMAIL PROTECTED]> 
wrote about 'Re: [gentoo-user] Re: Further probs/phenomena':
>  My previous system was an LFS one, from which I took the complete
>  configuration of the linux kernel. That's why I took a vanilla kernel
>  for gentoo (by the way: Why is it named "vanilla" for such kind of
>  things an not -- say -- straciatella, schoco, walnut or even tutti
>  frutti :O)

In U.S. English, "vanilla" has connotation of plain, despite being just as 
much of an added flavor as strawberry or chocolate.  

I'm not sure exactly where that connotation came from, but when Americans 
talk about different "flavors" of an item (anything from software to cars 
to ice cream) the one with the fewest features/modifications -- the 
least "flavorful" -- is referred to as vanilla.

I'm not sure if this connotation extends beyond the U.S. border.  Heck I 
don't even know if it's universal across the U.S., but everyone 
understands it where I live.

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh


pgpRDIojfQV1p.pgp
Description: PGP signature


[gentoo-user] insert barcode into image

2006-03-27 Thread Joseph
Does anybody has any experience with inserting a barcodes into images or
combining it.  

In this particular application, I would like to take a live image (from
application such a kino etc), add barcode to it and save it to database
(most likely mysql).
saving image to mysql database should be easy, the tricky parts would be
to add barcode to image. 
There is a nice application in portage: barcode but it only prints to
"ps" file.

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



Re: [gentoo-user] KDE desktop icons

2006-03-27 Thread David Helstroom

Uwe Thiem wrote:


On 27 March 2006 23:03, [EMAIL PROTECTED] wrote:
 


I am using KDE 3.4.3 Gentoo amd64.
Almost every time I login the icons of the desktop moved and mixed.
I tried checking every possible options (KDE Comtrol Center), with no
results. Any hints.
Is it a bug?
   



Yes.


Hi Emilio,

I find the only workaround to be to manually kill and then restart 
kdesktop when I login. Either start a konsole or xterm while in KDE and 
do it from there, or press ALT-F2 for the "Run" dialogue and then type 
"killall kdesktop && sleep 2 && kdesktop".


Hope that helps,


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



Re: [gentoo-user] USB sync/async mount

2006-03-27 Thread Boyd Stephen Smith Jr.
On Monday 27 March 2006 17:08, "b.n." <[EMAIL PROTECTED]> wrote 
about 'Re: [gentoo-user] USB sync/async mount':
> > Now I can mount my mp3 player (gotta get an ogg player).
>
> Do portable, cheap USB-stick ogg players exist?

Check out the flash players from iRiver.  They play ogg, mp3, and wav, and 
with the proper firmware are accessible as a USB device.  The headphones 
that come with them are a little bit uncomfortable, but good enough 
quality that I could tell the difference between ~140k ogg and ~90k ogg. 
(I always use VBR, so those are average rates.)

They seem to have discontinued ogg support on their HD based players, so be 
careful that the flash player you purchase does support ogg.

Also, files can be deleted and loaded from linux even with the stock 
firmware.

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh


pgp4p1nFsXRkk.pgp
Description: PGP signature


Re: [gentoo-user] insert barcode into image

2006-03-27 Thread b.n.

Joseph wrote:

Does anybody has any experience with inserting a barcodes into images or
combining it.  


In this particular application, I would like to take a live image (from
application such a kino etc), add barcode to it and save it to database
(most likely mysql).
saving image to mysql database should be easy, the tricky parts would be
to add barcode to image. 
There is a nice application in portage: barcode but it only prints to

"ps" file.


Have you looked in the ImageMagick toolkit?
It should have command-line utilities able to superimpose/stitch 
together images: you could export the barcode with "barcode" to a 
temporary ps file and then superimpose it or what with imagemagick.


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



Re: [gentoo-user] KDE desktop icons

2006-03-27 Thread Philip Webb
060327 [EMAIL PROTECTED] wrote:
> Alle 23:04, lunedì 27 marzo 2006, Sergio Polini ha scritto:
>>> I am using KDE 3.4.3 Gentoo amd64.
>>> Almost every time I login the icons of the desktop moved and mixed.
>>> I tried checking every possible options (KDE Comtrol Center), with
>>> no results. Any hints.
>> Try checking right-button-mouse-click / Icons / Align to grid.
> Already tried!!  No result.

You might be interested in trying  x11-misc/apwal  as an alternative.

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban & Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to install iplimit?

2006-03-27 Thread Mariusz Zalewski
>>> I would like to use iplimit in my firewall.
> 
>> I'm still using 2.6.11-r9, but, it appears to be in yours too.  From
>> "make menuconfig" under the 2.6.11-r9 it is here:
> [...]
>> limit match support
> 
> It is not this module. "limit" module can limit number of packets in
> specified amount of time. But I want to limit number of parallel
> connections from  define IP.

Ups... I've had the old news about iplimit. There is a feature, which I
would like to use in ipt_limit module, as Chad Feller wrote. The module
to enable in iptables (-m) is called connlimit, not iplimit.

But I have now another problem. When I want to use connlimit module, I
always get iptables error: "iptables: No chain/target/match by that name"

For example:

# lsmod | grep limit
ipt_limit   2240  2

iptables -A FORWARD -o eth2 -s 192.168.0.12 \
-m connlimit --connlimit-above 60 -j REJECT
iptables: No chain/target/match by that name

Any other rules (not -m connlimit) added to FORWARD chain are working well.


I've tried to compile ipt_limit in kernel (not as module), but the error
 appears also.

-- 
MZ

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] insert barcode into image

2006-03-27 Thread Joseph
On Mon, 2006-03-27 at 23:27 +, b.n. wrote:
> Joseph wrote:
> > Does anybody has any experience with inserting a barcodes into images or
> > combining it.  
> > 
> > In this particular application, I would like to take a live image (from
> > application such a kino etc), add barcode to it and save it to database
> > (most likely mysql).
> > saving image to mysql database should be easy, the tricky parts would be
> > to add barcode to image. 
> > There is a nice application in portage: barcode but it only prints to
> > "ps" file.
> 
> Have you looked in the ImageMagick toolkit?
> It should have command-line utilities able to superimpose/stitch 
> together images: you could export the barcode with "barcode" to a 
> temporary ps file and then superimpose it or what with imagemagick.
> 
> m.

Yes, it looks like a good start.  It can even superimpose "ps" and "jpg"
files together; I just need to learn how to make a nice interface so it
can be done with one or two click of a mouse. 

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



Re: [gentoo-user] USB sync/async mount

2006-03-27 Thread b.n.

Boyd Stephen Smith Jr. wrote:

Check out the flash players from iRiver.  They play ogg, mp3, and wav, and 
with the proper firmware are accessible as a USB device.  The headphones 
that come with them are a little bit uncomfortable, but good enough 
quality that I could tell the difference between ~140k ogg and ~90k ogg. 
(I always use VBR, so those are average rates.)


They seem to have discontinued ogg support on their HD based players, so be 
careful that the flash player you purchase does support ogg.


Thanks! I have a mp3/wmv only flash player I received as a gift but I'd 
like to upgrade it with a 1-gb thing ogg-capable, if possible.

I'll look at iRiver.

Also, files can be deleted and loaded from linux even with the stock 
firmware.


I'm a bit confused.
Is the flash player recognized as a simple usb flash drive or what?

m.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB sync/async mount

2006-03-27 Thread Boyd Stephen Smith Jr.
On Monday 27 March 2006 18:11, "b.n." <[EMAIL PROTECTED]> wrote 
about 'Re: [gentoo-user] USB sync/async mount':
> Boyd Stephen Smith Jr. wrote:
> > Check out the flash players from iRiver.  They play ogg, mp3, and wav,
> > and with the proper firmware are accessible as a USB device.
>
> Thanks! I have a mp3/wmv only flash player I received as a gift but I'd
> like to upgrade it with a 1-gb thing ogg-capable, if possible.
> I'll look at iRiver.

I'm very happy with my iRiver 799-FP (1G).

> > Also, files can be deleted and loaded from linux even with the stock
> > firmware.
>
> I'm a bit confused.
> Is the flash player recognized as a simple usb flash drive or what?

The stock firmware does not show up as a USB block device under either 
Windows or Linux.  There is an official USB firmware that you can download 
and install that makes it act like a standard USB block device under both 
operating systems.  This has the side effect of rendering the 
(Windows-only) software they provide for managing the device unusable, but 
you don't really need it anymore since it's just DnD to load and unload 
the thing.

They don't really publicize the USB firmware; in fact, I had to download it 
from a non-US site.  I think it might has something to do with the 
draconian US copyright laws or pressure from the RIAA, but I don't really 
know.

Personally, I ended up installing a modified firmware that extends the 
range of OGG playback and voice recording bitrates.  It's a modified 
version of the USB firmware, so I got access to the device as a USB block 
device for free.

Going back to the stock firmware -- there's a linux utility that provides 
command-line features roughly equivalent to the (Windows-only) software 
they provide to manipulate the device.  So, you'll be able to load/delete 
files from Linux and Windows no matter what firmware you are using.

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh


pgpotemLZlFZV.pgp
Description: PGP signature


Re: [gentoo-user] telnet localhost

2006-03-27 Thread THUFIR HAWAT
On 3/27/06, kashani <[EMAIL PROTECTED]> wrote:
> THUFIR HAWAT wrote:
> > I've been rebooting :(
> > Is there a better way?
>
> /etc/init.d/xinetd stop
> /etc/init.d/xinetd start
>
> or
>
> /etc/init.d/xinetd restart
>

Ah, thank you :)

> > localhost ~ # date
> > Mon Mar 27 21:30:44 IST 2006
> > localhost ~ #
>
> I and many others aren't inclined to go searching through a page and
> half of logs ranging over two days especially when it appears that the
> problem has changed or been fixed.
>
> So is it working now? It appears to be doing something.
>
> kashani

Thanks all, yes, the telnet is working :)

Just a few minutes ago it wasn't, but I played around with the hosts
file.  I don't understand why it's working now and not before because
I'm still using a FQDN which I was using from the beginning.  However,
I changed the arrangement of a few things:

localhost ~ #
localhost ~ # telnet localhost 119
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 Leafnode NNTP Daemon, version 1.11.3.rel running at localhost (my
fqdn: hawat.thufir.gmail.com)
^]

telnet> quit
Connection closed.
localhost ~ # cat -n /etc/hosts
 1  # /etc/hosts:  This file describes a number of hostname-to-address
 2  #  mappings for the TCP/IP subsystem.  It is mostly
 3  #  used at boot time, when no name servers are running.
 4  #  On small systems, this file can be used instead of a
 5  #  "named" name server.  Just add the names, addresses
 6  #  and any aliases to this file...
 7  # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/hosts,v 1.8
2003/08/04 20:12:25 azarah Exp $
 8  #
 9
10
11  127.0.0.1  localhost
12  127.0.0.1  hawat.thufir.gmail.com arrakis
localhost ~ # cat -n /etc/leafnode/config
 1  ## Unread articles will be deleted after this many days if
 2  ## you don't define special expire times. Mandatory.
 3  expire = 20
 4
 5  ## This is the NNTP server leafnode fetches its news from.
 6  ## You need read and post access to it. Mandatory.
 7  server = shawnews.vc.shawcable.net
 8
 9
10  hostname = hawat.thufir.gmail.com
11
12  initialfetch = 5
localhost ~ # cat -n /etc/xinetd.conf
 1  # /etc/xinetd.conf: sample configuration file for xinetd
 2
 3  defaults
 4  {
 5  only_from  = localhost
 6  instances  = 60
 7  log_type   = SYSLOG authpriv info
 8  log_on_success = HOST PID
 9  log_on_failure = HOST
10  cps= 25 30
11  }
12
13  includedir /etc/xinetd.d
localhost ~ # cat -n /etc/xinetd.d/leafnode-nntp
 1  # default: off
 2  # description: Leafnode - accepts connections on port 119 (NNTP)
 3
 4  service nntp
 5  {
 6  socket_type = stream
 7  protocol= tcp
 8  wait= no
 9  user= news
10  server  = /usr/sbin/leafnode
11  disable = no
12  }
localhost ~ # date
Mon Mar 27 23:58:26 IST 2006
localhost ~ #



Thanks so much all.  Pardon if I'm a bit dense with this stuff, I do
my best to read the manual.


-Thufir

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] chroot

2006-03-27 Thread JimD
Is is safe to continue to build in a chroot?  The handbook say to boot
into my new gentoo system.  However, I would like to continue to build
in the chroot (from another Gentoo 2006.0) until I have X, Fluxbox,
Firefox, Postfix, Apache, Mysql and Courier built.  This way I will
have the minimal I need in a system and can take my time to build Gnome
and everyhing else.

Thanks,

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



Re: [gentoo-user] ffmpeg emerging

2006-03-27 Thread Luigi Pinna
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alle 21:00, lunedì 27 marzo 2006, kashani ha scritto:
> Luigi Pinna wrote:
> > media-video/ffmpeg-0.4.9_p20051216  +a52 +aac
> > (-altivec) -debug -doc -dts +encode +ieee1394 +imlib (-mmx)
> > -network +ogg -oss +sdl +test +theora +threads +truetype +v4l
> > +vorbis +xvid +zlib
> > All the dependencies are installed (if I use emerge -D ffmpeg is
> > the once package)
> >
> > I ask your help because that package is a critish package for me:
> > (kino and xine cannot work for me...)
> > What did I forget? Or is it a bug?
>
> You might try dropping ieee1394 if you don't explicitly need it.
> However I'd had a number of weird issues with 2006.0 that eventually
> resolved themselves with an emerge -e world though I'd only do that
> as a last resort since it'll take forever.

I need it because I must do dvdauthoring... I solve it dropping the 
ieee1394 flag, but I can't understand how I can use it...
Thanks for your helps,
Luigi

- -- 
Public key GPG(0x633F86B7) on http://keyserver.linux.it/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEKHPkHmkkjmM/hrcRAkveAJ42aG4WhGPXdmdrM5rnxlMddyXzxgCeNDIu
QahHwdBQp/QHzH2v38fdg9g=
=FQlU
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT: Monitor resolutions

2006-03-27 Thread JimD
Does anyone know whey monitor resolutions go:

1024x768, 1152x864, 1280x1024

Shouldn't that last number be: 1280x960?  I have a 17" and a 19" LCD and
I have been wondering why both do 1280x1024 by default.

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



Re: [gentoo-user] telnet localhost

2006-03-27 Thread Iain Buchanan
On Tue, 2006-03-28 at 00:02 +0100, THUFIR HAWAT wrote:
> Thanks all, yes, the telnet is working :)
> 
> Just a few minutes ago it wasn't, but I played around with the hosts
> file.  I don't understand why it's working now and not before because
> I'm still using a FQDN which I was using from the beginning.  However,
> I changed the arrangement of a few things:

[snip]

> localhost ~ # cat -n /etc/hosts

[snip]

> 11  127.0.0.1  localhost
> 12  127.0.0.1  hawat.thufir.gmail.com arrakis

typically, in your /etc/hosts file (as far as I have learnt it anyway)
you would leave the 127.0.0.1 line just with localhost.

Then put your FQDN, as well as your Shortened-domain-name on your "real
ip address" line:

$ cat /etc/hosts
127.0.0.1   localhost
172.16.0.52 orpheus orpheus.pcorp.com.au

So, looking at one of your previous posts:

10  #127.0.0.1  localhost
11  127.0.0.1   hawat.thufir.invalid arrakis localhost

(line 10 being ignored because it's commented) when you say "look for
localhost", what is localhost? it's not even in the hosts file, so
nobody knows how to get there!

I think this is what's happening anyway.

At least you have it working.  I am curious though, are
"hawat.thufir.gmail.com" and "arrakis" both names for your machine?

cya,
-- 
Iain Buchanan 

The major sin is the sin of being born.
-- Samuel Beckett

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] modular Xorg made it to ~x86

2006-03-27 Thread Iain Buchanan
I noticed after a sync a few nights ago, that modular xorg is in ~x86.
I also noticed a few people here have installed a while ago already.

so, can I just go ahead with it?  I need a functional X on this box, but
I'm happy to put up with a few quirks.  What are the gotcha's?

thanks,
-- 
Iain Buchanan 

If you sell diamonds, you cannot expect to have many customers.
But a diamond is a diamond even if there are no customers.
-- Swami Prabhupada

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: Monitor resolutions

2006-03-27 Thread Hemmann, Volker Armin
On Tuesday 28 March 2006 01:38, JimD wrote:
> Does anyone know whey monitor resolutions go:
>
> 1024x768, 1152x864, 1280x1024
>
> Shouldn't that last number be: 1280x960?  I have a 17" and a 19" LCD and
> I have been wondering why both do 1280x1024 by default.
>

stupidity? Some very dumb group of persons must be responsible for 
1280x1024

I am using 1280x960 with my 17" crt and used it with my (now dead after a 
lng life) 20" crt. 1280x960 is even a valid vesa mode. So use it, if you 
want. At least with 1280x960 the aspect ratio is correct, circles are circles 
and fonts are much less ugly than with 1280x1024.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: Monitor resolutions

2006-03-27 Thread Manuel McLure

JimD wrote:

Does anyone know whey monitor resolutions go:

1024x768, 1152x864, 1280x1024

Shouldn't that last number be: 1280x960?  I have a 17" and a 19" LCD and
I have been wondering why both do 1280x1024 by default.


Mostly history, I think. However, most monitors and video cards will do 
1280x960 just fine so you can have your high resolution and square 
pixels too :) I use that resolution regularly for gaming (if 1600x1200 
taxes my video card too much.)



--
Manuel A. McLure KE6TAW <[EMAIL PROTECTED]> 
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo and OpenLDAP

2006-03-27 Thread JimD
On Mon, 27 Mar 2006 16:19:55 -0300
"Raphael Melo de Oliveira Bastos Sales" <[EMAIL PROTECTED]>
wrote:

> A little bit OT, a very noobish of me. I'm having trouble with LDAP
> filters. I'm still trying to get the hang of it.
> 
> I'd like filter to use on the Apache mod_auth_ldap that returns all
> the uids inside a given group. Anyone knows how to do that?
> 
> Regards,
> 
> Raphael

Start a new thread with a topic like "OT: LDAP Filters" and I can try
to give you some direction.

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



[gentoo-user] Arrrgggh!! rm -Rf /proc

2006-03-27 Thread JimD

Will rm -Rf /proc hose a system?  I didn't run rm -Rf /proc directly,
but I did do it indirectly.  I had mount --bind /proc /mnt/gentoo/proc
and then forgot about it.  I then ran rm -Rf /mnt/gentoo to start a
stage 3 again forgetting that /boot and /proc were both mount
--bind[ed] to /mnt/gentoo.

Could this hose my system?  I don't want to reboot yet if it could.  I
want to fix what ever I can.

Grrr, I just looked and /boot/ is wiped clean!  I guess I can redo grub
and I still have my kernel under /usr/src.  What about /proc?  Would
running rm -Rf /proc kill anything?


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



Re: [gentoo-user] OT: Monitor resolutions

2006-03-27 Thread JimD
On Mon, 27 Mar 2006 15:52:41 -0800
Manuel McLure <[EMAIL PROTECTED]> wrote:

> Mostly history, I think. However, most monitors and video cards will
> do 1280x960 just fine so you can have your high resolution and square 
> pixels too :) I use that resolution regularly for gaming (if
> 1600x1200 taxes my video card too much.)

That would be a plus!  Though both of my monitors have a "native"
resolution of [EMAIL PROTECTED]  I guess changing to [EMAIL PROTECTED]
wouldn't cause any issues?

I have always used CRTs up till now.  I actually would like to trade
my monitor in for a good old 19" short-neck CRT.  I think graphics were
always more crisp on CRTs.

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



Re: [gentoo-user] chroot

2006-03-27 Thread Boyd Stephen Smith Jr.
On Monday 27 March 2006 17:14, JimD <[EMAIL PROTECTED]> wrote 
about '[gentoo-user] chroot':
> Is is safe to continue to build in a chroot?  The handbook say to boot
> into my new gentoo system.  However, I would like to continue to build
> in the chroot (from another Gentoo 2006.0) until I have X, Fluxbox,
> Firefox, Postfix, Apache, Mysql and Courier built.  This way I will
> have the minimal I need in a system and can take my time to build Gnome
> and everyhing else.

The only risk I can think of is trying to load kernel modules built against 
the kernel source in the chroot into the kernel that was loaded off of the 
livecd.  That's not really a risk anyway; it should just fail cleanly.

No well-behaving program should try and escape your chroot, so I'm gonna 
say it's generally safe.

There /could/ be issues if you booted from a livecd that has a different 
CHOST than you are building the system for, but if you are doing something 
that crazy, I'd hope you'd tell us in your initial email.

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh


pgptO2hd7PGP9.pgp
Description: PGP signature


Re: [gentoo-user] modular Xorg made it to ~x86

2006-03-27 Thread Boyd Stephen Smith Jr.
On Monday 27 March 2006 17:48, Iain Buchanan <[EMAIL PROTECTED]> wrote 
about '[gentoo-user] modular Xorg made it to ~x86':
> I noticed after a sync a few nights ago, that modular xorg is in ~x86.
> I also noticed a few people here have installed a while ago already.
>
> so, can I just go ahead with it?  I need a functional X on this box, but
> I'm happy to put up with a few quirks.  What are the gotcha's?

For me there were a crapload of packages to unmask, I'm betting that won't 
be an issue for you. :)

Unless they've changed something you do have to unmerge 6.8 before starting 
to merge 7, so for a bit you might have issues starting new x11 programs, 
but I was able to do the entire changeover from within X, with kaffeine, 
kmail and a dozen other X applications running.  I simply restarted X 
after I was done.

Just make sure you read the official migration guide and the one on the 
wiki before you start and have them available while you are doing the 
upgrade.

*goes to remove xorg 7 from his package.unmask*

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh


pgplfO4QCkJYn.pgp
Description: PGP signature


Re: [gentoo-user] OT: Monitor resolutions

2006-03-27 Thread JimD
On Mon, 27 Mar 2006 18:38:05 -0500
JimD <[EMAIL PROTECTED]> wrote:

> Does anyone know whey monitor resolutions go:
> 
> 1024x768, 1152x864, 1280x1024
> 
> Shouldn't that last number be: 1280x960?  I have a 17" and a 19" LCD
> and I have been wondering why both do 1280x1024 by default.
> 
> Jim

OK, I switched to 1280x960 and noticed something weird.  Here is the
xdpyinfo for both resolutions.

1280x1024:
screen #0:
  print screen:no
  dimensions:1280x1024 pixels (339x271 millimeters)
  resolution:96x96 dots per inch
  depths (7):24, 1, 4, 8, 15, 16, 32

1280x960:
screen #0:
  print screen:no
  dimensions:1280x960 pixels (339x271 millimeters)
  resolution:96x90 dots per inch
  depths (7):24, 1, 4, 8, 15, 16, 32

Why is the dpi hosed when it is at 1280x960?

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



Re: [gentoo-user] Arrrgggh!! rm -Rf /proc

2006-03-27 Thread Boyd Stephen Smith Jr.
On Monday 27 March 2006 17:58, JimD <[EMAIL PROTECTED]> wrote 
about '[gentoo-user] Arrrgggh!! rm -Rf /proc':
> Will rm -Rf /proc hose a system?

Probably, at least until you reboot, since /proc is generated dynamically 
by the kernel.  I've never attempted it. ;)

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh


pgpfeOSlJZXWS.pgp
Description: PGP signature


Re: [gentoo-user] Re: wget -c strange behaviour

2006-03-27 Thread Iain Buchanan
On Mon, 2006-03-27 at 22:33 +0200, Simon Kellett wrote:
> Iain Buchanan <[EMAIL PROTECTED]> writes:
> 
> > So the question is: why does wget try to download it from the
> > beginning?  wget shouldn't do this even if the server can't resume,
> > wget should just die.
> 
> man wget :-)

ok:

  Beginning with Wget 1.7, if you use -c on a non-empty file, and it
  turns out that the server does not support continued downloading,
  Wget will refuse to start the download from scratch, which would
  effectively ruin existing contents.  If you really want the down-
  load to start from scratch, remove the file

and yet the file did start from scratch...

> "Note that -c only works with FTP servers and with HTTP servers that
> support the "Range" header."
> 
> I am guessing his does not !

actually, it does, as on another file:

$ wget -c
"http://68.106.74.139/mp3/Mike_Baas/4/mp3/Mike_Baas_-_4_-_03_-_Wave.mp3";
--09:56:35--
http://68.106.74.139/mp3/Mike_Baas/4/mp3/Mike_Baas_-_4_-_03_-_Wave.mp3
   => `Mike_Baas_-_4_-_03_-_Wave.mp3'
Connecting to 68.106.74.139:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 13,985,672 (13M), 234,426 (229K) remaining [audio/mpeg]

100%[>] 13,985,672 8.97K/s
ETA 00:00

09:56:57 (11.18 KB/s) - `Mike_Baas_-_4_-_03_-_Wave.mp3' saved
[13985672/13985672]


But even if it didn't this still wouldn't explain why the download is
deleted, and then downloaded again.  -c shouldn't do that.

thanks,
-- 
Iain Buchanan 

If you want to know what god thinks of money, just look at the people he gave
it to.
-- Dorthy Parker

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] chroot

2006-03-27 Thread JimD
On Mon, 27 Mar 2006 18:16:31 -0600
"Boyd Stephen Smith Jr." <[EMAIL PROTECTED]> wrote:

> There /could/ be issues if you booted from a livecd that has a
> different CHOST than you are building the system for, but if you are
> doing something that crazy, I'd hope you'd tell us in your initial
> email.   ^

Errr... I actually was going to build an x86 version under my amd64
Gentoo.  I was planing on having them on different partitions for
testing.

Right now I am running Gentoo amd64 though I see some issues with not
being able to run some crap proprietary software that is binary only and
needs to load binary only 32-bit modules into the kernel.  So I was
going to have two Gentoo's installed to boot into.  One 64-bit and one
32-bit.  If I found 32-bit to be just as nice as 64-bit, I was planning
on just switching to that.

I extracted an i686 stage3 tarball into /mnt/gentoo and I was going to
build from there in chroot.  Once the initial build is done I was going
to stay in chroot and build X, fluxbox and a few other apps I need to
be running.

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



Re: [gentoo-user] Arrrgggh!! rm -Rf /proc

2006-03-27 Thread JimD
On Mon, 27 Mar 2006 18:24:49 -0600
"Boyd Stephen Smith Jr." <[EMAIL PROTECTED]> wrote:

> I've never attempted it. ;)

Could you please try for me know and let me know what happens? : )

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



Re: [gentoo-user] Arrrgggh!! rm -Rf /proc

2006-03-27 Thread Matt Richards
>
> Will rm -Rf /proc hose a system?  I didn't run rm -Rf /proc directly,
> but I did do it indirectly.  I had mount --bind /proc /mnt/gentoo/proc
> and then forgot about it.  I then ran rm -Rf /mnt/gentoo to start a
> stage 3 again forgetting that /boot and /proc were both mount
> --bind[ed] to /mnt/gentoo.
>
> Could this hose my system?  I don't want to reboot yet if it could.  I
> want to fix what ever I can.
>
> Grrr, I just looked and /boot/ is wiped clean!  I guess I can redo grub
> and I still have my kernel under /usr/src.  What about /proc?  Would
> running rm -Rf /proc kill anything?
>
mlaptop proc # rm -rfv /proc/config.gz
rm: cannot remove `/proc/config.gz': Operation not permitted

are you sure ? proc is like a dynamic filesystem they aren't really files
just virtual files that the kernel are displaying ... if you some how have
whiped proc you can probuly just ...

mount -o remount /proc

n it will be fine...

give ...
mkdir /mnt/proc
mount -t proc proc /mnt/proc
a little seein' too ;)

but no you should be fine ..

as for /boot .. you silly billy :) hehe!
and just be thankful you didn't get the wrong terminal and remove your
current filesystem, lol

Matt.
>
> Jim
> --
> gentoo-user@gentoo.org mailing list
>
>


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: Monitor resolutions

2006-03-27 Thread Manuel McLure

JimD wrote:

OK, I switched to 1280x960 and noticed something weird.  Here is the
xdpyinfo for both resolutions.

1280x1024:
screen #0:
  print screen:no
  dimensions:1280x1024 pixels (339x271 millimeters)
  resolution:96x96 dots per inch
  depths (7):24, 1, 4, 8, 15, 16, 32

1280x960:
screen #0:
  print screen:no
  dimensions:1280x960 pixels (339x271 millimeters)
  resolution:96x90 dots per inch
  depths (7):24, 1, 4, 8, 15, 16, 32

Why is the dpi hosed when it is at 1280x960?


The dpi is calculated from the size that the monitor reports 
(339mmx271mm) and the number of dots across and down. It appears that at 
1280x1024 the monitor is reporting square pixels, and at 1280x960 it 
reports "tall" pixels.


If the "339x271 millimeters" is correct, that means that the display is 
a little taller than the standard 4:3 ratio (which would give 339x254) - 
perhaps 1280x1024 *is* the correct resolution for this monitor. I'd 
measure the physical dimensions of the monitor and if the ratio is 5:4 
instead of 4:3, use the 1280x1024 resolution. I did some research and it 
appears that this is the case for at least some LCD 1280x1024 monitors 
(for example the ViewSonic 17" has a viewable area of 13.3" (horizontal) 
X 10.6" (vertical); 17.0" diagonal which works out to 4:5 - the 
ViewSonic 19" monitors also have a 5:4 ratio.)


So it's probably best to run at the native resolution.

--
Manuel A. McLure KE6TAW <[EMAIL PROTECTED]> 
...for in Ulthar, according to an ancient and significant law,
no man may kill a cat.   -- H.P. Lovecraft
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] chroot

2006-03-27 Thread Boyd Stephen Smith Jr.
On Monday 27 March 2006 18:30, JimD <[EMAIL PROTECTED]> wrote 
about 'Re: [gentoo-user] chroot':
> On Mon, 27 Mar 2006 18:16:31 -0600
>
> "Boyd Stephen Smith Jr." <[EMAIL PROTECTED]> wrote:
> > There /could/ be issues if you booted from a livecd that has a
> > different CHOST than you are building the system for, but if you are
> > doing something that crazy, I'd hope you'd tell us in your initial
> > email.   ^
>
> Errr... I actually was going to build an x86 version under my amd64
> Gentoo.  I was planing on having them on different partitions for
> testing.

That's fine, but make sure you use "linux32 
chroot /path/to/chroot /chroot/shell" -- that'll fix up your CHOST.

How much RAM do you have?  <4G, you might just go with a full 32-bit 
userland and only a 64-bit kernel.

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh


pgpM2I3tSinGf.pgp
Description: PGP signature


Re: [gentoo-user] Arrrgggh!! rm -Rf /proc

2006-03-27 Thread JimD
On Tue, 28 Mar 2006 00:38:40 - (UTC)
"Matt Richards" <[EMAIL PROTECTED]> wrote:

> mlaptop proc # rm -rfv /proc/config.gz
> rm: cannot remove `/proc/config.gz': Operation not permitted
> 
> are you sure ? proc is like a dynamic filesystem they aren't really
> files just virtual files that the kernel are displaying ... if you
> some how have whiped proc you can probuly just ...
> 
> mount -o remount /proc
> 
> n it will be fine...
> 
> give ...
> mkdir /mnt/proc
> mount -t proc proc /mnt/proc
> a little seein' too ;)

Yup, /proc seems to be all dandy now.
 
> but no you should be fine ..
> 
> as for /boot .. you silly billy :) hehe!
> and just be thankful you didn't get the wrong terminal and remove your
> current filesystem, lol

I would have kicked myself hard!  I just got everything built and
configured and have no backup yet : )

Jim 
> Matt.
> >
> > Jim
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
> 
> 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] chroot

2006-03-27 Thread JimD
On Mon, 27 Mar 2006 18:55:46 -0600
"Boyd Stephen Smith Jr." <[EMAIL PROTECTED]> wrote:

> How much RAM do you have?  <4G, you might just go with a full 32-bit 
> userland and only a 64-bit kernel.

I have 2G.  Couldn't I do 32-bit userland and 32-bit kernel?  The
reason for a 32-bit kernel is because I need to compile the Nortel VPN
client and it is binary only crap and has 32-bit only binary modules.
Well, the code actually uses a module wrapper which I can compile
64-bit but then it barfs trying to link with the 32-bit only modules
provided.

I have not found any other way to connect to my works VPN than with the
Nortel VPN client and even that is tough to get to work.

Out of curiosity, how would I do a 32-bit userland with 64-bit kernel?
Would I just change CHOST to x86_64 when I compile the kernel?


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



Re: [gentoo-user] modular Xorg made it to ~x86

2006-03-27 Thread Chad Feller
run revdep-rebuild (from gentoolkit) after you do the upgrade, there 
were several packages, that had to rebuild against the new Xorg.


Iain Buchanan wrote:

I noticed after a sync a few nights ago, that modular xorg is in ~x86.
I also noticed a few people here have installed a while ago already.

so, can I just go ahead with it?  I need a functional X on this box, but
I'm happy to put up with a few quirks.  What are the gotcha's?

thanks,
  



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] modular Xorg made it to ~x86

2006-03-27 Thread Jerry McBride
On Monday 27 March 2006 18:48, Iain Buchanan wrote:
> I noticed after a sync a few nights ago, that modular xorg is in ~x86.
> I also noticed a few people here have installed a while ago already.
>
> so, can I just go ahead with it?  I need a functional X on this box, but
> I'm happy to put up with a few quirks.  What are the gotcha's?
>


For me, over a small mix of hardware I had to manually emerge twm, setx, some 
odd fonts to get equal service from 7.0 as I had in previous 6.x.x X. Also... 
one small plus... on my personal HP laptop sporting at 9100igt video chips... 
dri is already present in 7.0. Before I had to install it via 
dri.sourceforge.net.


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



Re: [gentoo-user] chroot

2006-03-27 Thread Boyd Stephen Smith Jr.
On Monday 27 March 2006 19:20, JimD <[EMAIL PROTECTED]> wrote 
about 'Re: [gentoo-user] chroot':
> On Mon, 27 Mar 2006 18:55:46 -0600
>
> "Boyd Stephen Smith Jr." <[EMAIL PROTECTED]> wrote:
> > How much RAM do you have?  <4G, you might just go with a full 32-bit
> > userland and only a 64-bit kernel.
>
> I have 2G.  Couldn't I do 32-bit userland and 32-bit kernel?

Yes, that's an option to, although with more than ~768K of ram it's not 
ideal.

> The 
> reason for a 32-bit kernel is because I need to compile the Nortel VPN
> client and it is binary only crap and has 32-bit only binary modules.

Well, that'll force a 32-bit kernel; do none of the open-source solutions 
for VPN-ing work?  Have you tried them?  I was able to get VPN-ing to a 
Cisco router working even when I was told it just wouldn't work.

> Out of curiosity, how would I do a 32-bit userland with 64-bit kernel?
> Would I just change CHOST to x86_64 when I compile the kernel?

emerge crossdev
crossdev -s2 -t x86_64
make ARCH=x86_64 CROSS_COMPILE=x86_64-pc-linux-gnu-

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh


pgpA8DOcNVatc.pgp
Description: PGP signature


  1   2   >