Re: [gentoo-user] Asus Eee Gentoo install - no CD drive

2008-10-06 Thread Michal 'vorner' Vaner
Hello

On Mon, Oct 06, 2008 at 08:01:51AM -0700, Grant wrote:
 I'm very familiar with installing Gentoo via LiveCD, but I'm not sure
 how to go about it without a CD drive.  I'm sure there are many exotic
 options to choose from, but I'd rather not have to learn too much new
 stuff to get this done.  Can anyone recommend a simple method?  I have
 a wired/wireless LAN/internet connection and 3 systems on the LAN
 running Gentoo.  No USB drive though.

Do you have an USB flashdisk? You could get some kind of DSL or so and
install from it (you do not need gentoo LiveCD, any reasonable running
linux is OK).

-- 
Anything is possible, unless it's not.

Michal 'vorner' Vaner


pgpxXtzmcyjT5.pgp
Description: PGP signature


Re: [gentoo-user] Problem building statically linked e2fsprogs

2008-09-30 Thread Michal 'vorner' Vaner
Hello

(Original post too long to quote)

How about building it dynamically and taking all the needed libraries as
well? I had similar problem (I needed fsck.ext3 in my init ramdisk) and
I just used ldd to find out what does it need.

You can test if it has enough by copying the thinks indo a directory,
chrooting there and trying out if it runs.

I hope it helps

-- 
When all else fails, EAT!!!

Michal 'vorner' Vaner


pgpiVJj0anDDP.pgp
Description: PGP signature


Re: [gentoo-user] xorg-server-1.5 and xf86-video-i810 [SOLVED]

2008-09-14 Thread Michal 'vorner' Vaner
Hello

On Sun, Sep 14, 2008 at 12:03:34PM +0200, Liviu Andronic wrote:
 Short version:
 If you upgrade to xorg-x11-7.4, xorg-server-1.5 and
 xf86-video-i810-2.4.2-r1, and X does not start, change Section
 Device Driver i810 to intel in your xorg.conf. Would have been
 nice if Portage had informed us of this.

I went trough this too (I had to run X -configure to see it changed the
driver). However, the intel driver does not seem to work that well,
glxgears won't start for me any longer (Error: couldn't get an RGB,
Double-buffered visual). Not that I would really need that one, nor any
other GL application, it just bothers me to have something not working
;-).

Have you seen this error too?

Thank you

-- 
I have a theory that it's impossible to prove anything, but I can't prove it.

Michal 'vorner' Vaner


pgpETp7EsarWL.pgp
Description: PGP signature


Re: [gentoo-user] Trying to block third party ip address with iptables...

2008-09-13 Thread Michal 'vorner' Vaner
Hello

On Sat, Sep 13, 2008 at 11:36:13PM +0200, pk wrote:
 I am using shorewall on my local computer (the same I'm surfing the web 
 with). My skills with iptables are not really good and my understanding of 
 networking also has some holes in it... However, I'm trying to prevent 
 firefox from accessing a third party site; I'm logging onto a site with 
 firefox. With netstat I can see that besides the usual ip address belonging 
 to the site another ip-address (not belonging to the original site) shows 
 up. While trying to block the additional ip address with both iptables -A 
 INPUT -s  -j DROP and iptables -A OUTPUT -d  -j DROP it still 
 sends a SYN request to this site. This makes firefox just sit there waiting 
 for a time-out. How can I prevent firefox from accessing the other site, 
 while still accessing the original one?

If I let aside it is quite odd it would have accessed two sites at once
(either a virus/cracked computer or one is just closed, or maybe just an
external image), using DROP is plain wrong. You should REJECT (or it is
reject, I'm not sure about the case) the packets (at output in this
case).

DROP causes the packet to get blackholed without a trace. It sometimes
happens to packets on internet so it is usual to try again and again
until it succeeds or timeout (usually in tens of seconds) is reached.

If you reject it (either with port or destination unreachable or even
with administratively filtered), the other side knows it has no reason
to try again and reports failure right away and saves the traffic and
resources by not trying.

Some people say drop does not show you exist but reject does. That is
wrong too, destination unreachable means There is no such machine with
this IP, so it should hide the whole machine better than drop (if I
send packets and no errors nor responses come, I suspect a firewall as
well as malfunction).

Does this help?

Have a nice help

-- 
BOFH Excuse #452:
Somebody ran the operating system through a spelling checker.

Michal 'vorner' Vaner


pgpdBMlpOEeal.pgp
Description: PGP signature


Re: [gentoo-user] Ati or Nvida

2008-06-17 Thread Michal 'vorner' Vaner
Hello

On Tue, Jun 17, 2008 at 12:42:22PM +0430, Platoali wrote:
 And I want to know which one is better supported in Linux kernel
 regardless of how much open/free  the drivers is. I'm currently
 thinking between Nvidia Quadro fx 1700 and Ati firegl 5600. Does
 anyone have any comment about them?

I had an nvidia some time ago (2 years). I had to give up 3D, since the
proprietary drivers gave me hell. Only about every third version worked
(only with every second kernel version). Even when it worked, it
sometimes crashed the whole kernel or didn't render fonts.

Now I have intel i915 and I'm happy. It is not a strong card, but it
supports 3D, I'm able to even play games on it, it allows plugging in
monitors at runtime (with X capable of resizing the screen  pretending
it is xinerama).

I have no experience with ati.

-- 
Anyone who goes to a psychiatrist ought to have his head examined.
-- Samuel Goldwyn

Michal 'vorner' Vaner


pgpXmvmeFTSn0.pgp
Description: PGP signature


Re: [gentoo-user] Harddisk priority

2008-06-08 Thread Michal 'vorner' Vaner
Hello

On Sun, Jun 08, 2008 at 10:53:12AM +0200, Thomas Pedersen wrote:
 I'm running a few processes in a cron-job, which makes the harddisk quiet 
 busy, like the emerge --sync command.
 I know it's possible to nice them to use less CPU power, but is there a 
 similar approach for reading/writing to the disk?

I heard of tool called ionice, which does exactly this. AFAIK it needs a
kernel patch.

-- 
BOFH Excuse #430:

Mouse has out-of-cheese-error

Michal 'vorner' Vaner


pgpncUiwWKd7k.pgp
Description: PGP signature


Re: [gentoo-user] wpa_supplicant confusion

2008-06-06 Thread Michal 'vorner' Vaner
Hello

On Fri, Jun 06, 2008 at 06:15:11PM +0100, Mick wrote:
 wlan0 IEEE 802.11g  ESSID:daddy  
   Mode:Managed  Frequency:2.442 GHz  Access Point: 00:18:4D:AE:55:2C  
  
   Bit Rate=12 Mb/s   Tx-Power=27 dBm   
   Retry min limit:7   RTS thr:off   Fragment thr=2346 B   
   Encryption key:8B7B-9671-89
   Link Quality=31/100  Signal level=-56 dBm  

I do not know your card, but mine works with link quality above 60/100,
below that doesn't do much. The ping times are because there are
link-level retransmits, so it tries many times and it sometimes
succeeds.

If you get closer to the AP, is it still a problem?

-- 
All flame and insults will go to /dev/null (if they fit)

Michal 'vorner' Vaner


pgp5u8KSLjqAc.pgp
Description: PGP signature


Re: [gentoo-user] /boot keeps mounting itself

2008-06-02 Thread Michal 'vorner' Vaner
Hello

On Mon, Jun 02, 2008 at 01:39:17PM -0700, Grant wrote:
 I've been noticing this for awhile and it's time I ask you guys about it:
 
 # mount /boot
 # umount /boot
 # mount /boot
 mount: /dev/hda1 already mounted or /boot busy
 mount: according to mtab, /dev/hda1 is already mounted on /boot
 
 A few hours elapsed after the second command was issued, but these
 commands were issued sequentially.  I guess something in the system is
 mounting /boot?

If you run mount without parameters, it tells you list of mounted
filesystem. So you can have a look, if it is really mounted.

-- 
There is one difference between linux and windows.
With windows, you pay for the software, but you get all the T-shirts for free.
With linux, you get all the software for free, but you buy the T-shirts.

Michal 'vorner' Vaner


pgpuzYTtNu0Ne.pgp
Description: PGP signature


Re: [gentoo-user] Mailing list and PGP/MIME

2008-05-29 Thread Michal 'vorner' Vaner
Hello

On Wed, May 28, 2008 at 04:08:02AM +0300, Daniel Iliev wrote:
  Disagree, because of the possibility that without signatures it's
  relatively easy to bring a subscriber into discredit.
 
 Relatively easy? Well, hereby I give you my blessing and dare you to
 send a proof of concept message to this list imposing as me.
 Additional condition: you must have no other access to Gmail than what
 is granted to everyone outside the company. If you succeed I promise to
 sign every single email I send from that point on. :)

You can set your own From:, Reply-To: and other headers. You do not
change the Received: path, but this is enough for many people. Shall I
show it?

-- 
This email was generated by a biological random generator.
If you want more random text, just respond to this email.

Michal 'vorner' Vaner


pgploXtcLm7pN.pgp
Description: PGP signature


Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Michal 'vorner' Vaner
Hello

On Wed, Apr 23, 2008 at 06:05:06AM +0100, Matt Harrison wrote:
 Now after a reboot I can't mount my LVM partitions, my raid is working 
 fine, but nothing I can do will discover my lvm partitions or volumes. If i 
 try to manually start the lvm service, I get the message about it being 
 written for baselayout-2 and not being suitable for baselayout-1.

Do I read correctly you have new version of LVM that needs baselayout 2,
but you have only baselayout 1?

(If so, then probably much of the parallel thread is solving completely
different problem)

-- 
Anything is possible, unless it's not.

Michal 'vorner' Vaner


pgp2vXJfWuDul.pgp
Description: PGP signature


Re: [gentoo-user] OpenRC broke my LVM?

2008-04-23 Thread Michal 'vorner' Vaner
Hello

On Wed, Apr 23, 2008 at 12:14:02PM +0100, Matt Harrison wrote:
 Michal 'vorner' Vaner wrote:
 Do I read correctly you have new version of LVM that needs baselayout 2,
 but you have only baselayout 1?
 (If so, then probably much of the parallel thread is solving completely
 different problem)

 Problem is, I wasn't watching the emerge, so I'm not sure what did happen. 
 It would appear that some package, probably LVM, has gotten out of sync 
 with another critical package.

 I'm just not sure how to get things back in sync again

You could try booting the life CD, mount anything like it should and
chroot to the installation. Then you can check out versions of
baselayout and the LVM packages and the too now one downgrade (or
upgrade the too old one, but it probably means getting into
baselayout-2, if you want it).

I hope it helps.

-- 
Fragile. Do not turn umop ap1sdn!

Michal 'vorner' Vaner


pgpVLhPC8IF6x.pgp
Description: PGP signature


Re: [gentoo-user] What overwrites resolv.conf

2008-04-23 Thread Michal 'vorner' Vaner
Hello

On Wed, Apr 23, 2008 at 09:07:29AM -0700, Michael Higgins wrote:
 So, what overwrites it, when, how, and how to stop it? Is there a
 definitive guide to the syntax of the various config files? Or, BETTER
 YET, is there anyone who has a smoothly-functioning configuration to
 switch between wireless DHCP and connected hard-wired net setups and
 would like to share?

I didn't like the way Gentoo handled network (wifi OK, but ethernet with
different locations was a pain somehow), so I wrote a little perl thing
I use as a network manager.

However, I think noone who did not read and understand its code is able
to use it to anything, since it has no documentation and completely
non-intuitive control.

You can find it here http://vorner.pretel.cz/en/netprofile.html, if you
feel brave enough. If anyone is interested, I can answer questions about
it off-list (not to scare others).

-- 
I left the ssh key under the doormat

Michal 'vorner' Vaner


pgpd102xAQmUD.pgp
Description: PGP signature


Re: [gentoo-user] Best practices - flexible XServer

2008-04-20 Thread Michal 'vorner' Vaner
Hello

On Sun, Apr 20, 2008 at 11:48:31AM +0200, Florian Philipp wrote:
 1. usage of my own Logitech mouse as well as typical USB-mice and my
 touchpad.

You probably can define separate device section for:
• touchpad
• your logitech mouse
• any other mouse

and in the server layout have touchpad as core device (CorePointer) and
the other ones have as SendCoreEvents ‒ which marks it as slave device
when present and does not need it to be there to start.

 2. USB-keyboards as well as the build-in, all with custom multimedia and
 Fn-keys.

This works for me with only one keyboard section and, I just had to make
the keybindings and some assignments in .Xmodmap.

 3. external displays (VGA, DVI, LCD and TV-Out, one at a time would be
 enough) with different aspects and resolutions with 3D-acceleration on
 my Intel i945.

You can use xrandr and it's ability to add/remove screens while running.

Do you want to see the config and/or some scripts I use to manage it?

-- 
You can't have everything... where would you put it?
-- Steven Wright

Michal 'vorner' Vaner


pgp0VQpJwf4Od.pgp
Description: PGP signature


Re: [gentoo-user] init 1, root device is busy :(

2008-04-19 Thread Michal 'vorner' Vaner
Hello

On Sat, Apr 19, 2008 at 09:18:04PM +0200, Gyuszk wrote:
 3.) Other solution?

man shutdown:

-F Force fsck on reboot.

(I know, this one is not really intuitive)

-- 
Work with computer has 2 phases. First, computer waits for the user to tell it 
what 
to do, then the user waits for the computer to do it. Therefore, computer work 
consists mostly of waiting.

Michal 'vorner' Vaner


pgp3rfgp9Z9ty.pgp
Description: PGP signature


Re: [gentoo-user] OT Best font selection?

2008-04-18 Thread Michal 'vorner' Vaner
Hello

On Thu, Apr 17, 2008 at 07:36:40PM +0200, Liviu Andronic wrote:
 Although perfectly aware that this is a much subjective business, I am
 looking for best fonts, and would much appreciate your sharing of
 personal choices. This Wiki article [1] has some insight, but not
 sufficient to satisfy my quest.

I use Deja-vu fonts, mostly because it is whole pack (all kinds looking
similar) and have Czech diacritics.

-- 
Wait few minutes before opening this email. The temperature difference 
could lead to vapour condensation.

Michal 'vorner' Vaner


pgpDOeoIKKCDz.pgp
Description: PGP signature


Re: [gentoo-user] scp escape characters

2008-04-16 Thread Michal 'vorner' Vaner
Hello

On Wed, Apr 16, 2008 at 03:06:05PM +0100, Mick wrote:
 Hi All,
 
 I was trying to scp a file which had spaces in its name; e.g.
 
 This\ is\ the\ name\ of\ it.txt

There is a problem ‒ it unescapes at both ends, so you need to
double-escape it, like

'Filename\ with\ spaces'

or

Filename\\\ with\\\ spaces.

Or, something like that (if I see it right).

-- 
Support your right to arm bears!!

Michal 'vorner' Vaner


pgpl24Zn0rhPD.pgp
Description: PGP signature


Re: [gentoo-user] local caching DNS?

2008-04-09 Thread Michal 'vorner' Vaner
Hello

On Wed, Apr 09, 2008 at 12:13:40PM +0200, Ralf Stephan wrote:
 I'm fed up with waiting for ever the same name requests from my
 browser (and open servers don't cut it either): which DNS cache
 or caching DNS for simple local installation would you recommend?

I use dnsmasq, can be used as a LAN cache too (by simply allowing
requests from a given interface). Took me about 30 minutes to configure.
I asked dhcp to save to resolv.conf.2 and made resolv.conf to request
from localhost.

-- 
~, sweet ~

Michal 'vorner' Vaner


pgp8l1ioXzK9Y.pgp
Description: PGP signature


Re: [gentoo-user] local caching DNS?

2008-04-09 Thread Michal 'vorner' Vaner
Hello

On Wed, Apr 09, 2008 at 02:45:18PM +0400, Andrew Gaydenko wrote:
  On Wed, Apr 09, 2008 at 12:13:40PM +0200, Ralf Stephan wrote:
   I'm fed up with waiting for ever the same name requests from my
   browser (and open servers don't cut it either): which DNS cache
   or caching DNS for simple local installation would you recommend?
 
  I use dnsmasq, can be used as a LAN cache too (by simply allowing
  requests from a given interface). Took me about 30 minutes to
  configure. I asked dhcp to save to resolv.conf.2 and made resolv.conf
  to request from localhost.
 
 What about permanent (with saving to hdd) caching? It seems like pdnsd 
 do this thing only...

Does not seem to matter here much, since I suspend, not turn off. But
anyway, most DNS names should be cached only few hours, half a day or so
(well, there are some that have week long timeouts, but not many).

-- 
chown -R us $BASE

Michal 'vorner' Vaner


pgpb1MefE5rBg.pgp
Description: PGP signature


Re: [gentoo-user] Clone a running gentoo machine onto another machine

2008-03-30 Thread Michal 'vorner' Vaner
Hello

On Sun, Mar 30, 2008 at 10:29:39PM +0300, Benyamin Dvoskin wrote:
 I've been wondering how one can clone an entire gentoo system and copy it to
 another physical machine , while the original system is still running (
 means , ghost , acronis and other tools that force me to shutdown the system
 are not acceptable )
 
 So , someone told me to try just tar the whole system to the other machine
 and untar it there.

rsync is usually faster, as it reads the first one and writes to the
second one at the same time. You should read its' man page, there are
nice things like '-x' flag (so it copies only one filesystem and does
not enter sub-filesystems, like dev and)

As it uses ssh by default, you need only sshd on the remote server and
you can tweak thinks like compression while transferring.

-- 
All flame and insults will go to /dev/null (if they fit)

Michal 'vorner' Vaner


pgpJAfTajkT6S.pgp
Description: PGP signature


Re: [gentoo-user] Unplugging USB wireless adapter

2008-03-28 Thread Michal 'vorner' Vaner
Hello

On Thu, Mar 27, 2008 at 10:43:58PM -0500, Dale wrote:
 I haven't kept up with this but isn't there a hotplug/coldplug monitor that 
 detects things like this?  I'm thinking hotplug is the correct one since 
 the machine is powered up.

I think it is no longer needed and udev should take care of all this. At
last, I do not have hotplug nor coldplug and inserting/removing all usb
devices, laptop modules, PCMCIAs works on runtime.

-- 
Support your right to arm bears!!

Michal 'vorner' Vaner


pgpWHbsjcLaHP.pgp
Description: PGP signature


Re: [gentoo-user] Emergency shutdown, how to?

2008-03-28 Thread Michal 'vorner' Vaner
Hello

On Fri, Mar 28, 2008 at 09:11:53AM +0100, Dirk Heinrichs wrote:
  Anybody ever do it and can tell me how long 
  a shutdown takes?
 
 As long as you need to strike the keys.

Not really true. I have set my dirty cache timeout to 10 minutes, so it
can hold some few hundred megabytes of unsynced data (happens rarely),
so it can take like 10 seconds to dump them to disk.

But with clean cache, it is as fast as hitting a hard switch.

-- 
Hallowed be the zeroes and ones

Michal 'vorner' Vaner


pgpfCKbpetqm3.pgp
Description: PGP signature


Re: [gentoo-user] Unplugging USB wireless adapter

2008-03-28 Thread Michal 'vorner' Vaner
Hello

On Fri, Mar 28, 2008 at 11:42:18AM +, Neil Bothwick wrote:
 On Fri, 28 Mar 2008 11:09:08 +0100, Michal 'vorner' Vaner wrote:
 
  I think it is no longer needed and udev should take care of all this. At
  last, I do not have hotplug nor coldplug and inserting/removing all usb
  devices, laptop modules, PCMCIAs works on runtime.
 
 That's fine with most devices, but causes a problem with network
 adaptors. No hotplug system can anticipate your removing the device and
 unmount NFS shares before you do it, so the only safe way to remove a USB
 NIC is to bring down the interface first.

Yes, sure. It can't unmount it and terminate the connections. However,
there is no reason why the device shouldn't be detected again. And, if
hotplug can do it, why couldn't udev?

I was just saying hotplug is outdated and replaced by udev.

-- 
This email was generated by a biological random generator.
If you want more random text, just respond to this email.

Michal 'vorner' Vaner


pgp5TXAVJkffm.pgp
Description: PGP signature


Re: [gentoo-user] 1/2 OT: What Linux could learn from mainframes ?

2008-03-25 Thread Michal 'vorner' Vaner
Hello

On Tue, Mar 25, 2008 at 03:12:13AM +0100, Enrico Weigelt wrote:
 * defect management directly on block basis (w/o additional 
   stacking layers). 

IMO dividing things into layers/parts is good. It allows for replacing
one layer, or not using some of them if they are not needed.

 * distributed storages (not just disks, but several hosts)

That sounds interesting.

 * volumes attributes which let the volume manager decide how/where
   to actually store blocks, eg.:

Is there a real need for this? (Just wondering)

-- 
Wait few minutes before opening this email. The temperature difference 
could lead to vapour condensation.

Michal 'vorner' Vaner


pgpBQEUlYqGXQ.pgp
Description: PGP signature


Re: [gentoo-user] Gentoo router: Conntrack table full

2008-03-23 Thread Michal 'vorner' Vaner
Hello

On Sat, Mar 22, 2008 at 11:26:16PM -0400, Dan Cowsill wrote:
 On Sat, Mar 22, 2008 at 11:22 PM, Andrey Falko [EMAIL PROTECTED] wrote:
 I have SSH to a server, two open ports for bit torrent connections and
 a few ranges for DCC transfers from irc.

Torrents can sometimes open thousands of connections (yes, it is very
aggressive way of transferring data). And if you have something like
Skype, they a full table is not something unusual.

So IMO it could be DoS, but it can be some application that doesn't know
what is polite behaviour.

-- 
This is a terroristic email. It will explode in 10 minutes, 
if you do not close it in the meantime.

Michal 'vorner' Vaner


pgpzzJptJ3u9m.pgp
Description: PGP signature


Re: [gentoo-user] HELP! partition table is corrupted

2008-03-23 Thread Michal 'vorner' Vaner
Hello

On Sun, Mar 23, 2008 at 12:01:08PM +0100, pat wrote:
 My brother has a second disk where was two partitions formated as NTFS (the
 big one) and FAT32 (small one), but something brakes the partition table and
 now there are two linux partition tables +/- the size of the previous logical
 drives.
 
 Which SW should I use to recover the original partition table? I think about
 gpart, but does it has a GUI? I'm not guru at this :-\

Recovering will be really hard think, if you do not know the exact
numbers there, it is probably impossible.

But you may be lucky and nothing wrote to the data part. In that case,
it should be relatively easy to save the first partition of the two.
Grab fdisk (the unix one is probably better, it does exactly what you
tell it to do and has better help) and create a single partition over
the whole disk, then mount it read-only (so nothing can get corrupted,
if you do something wrong). You should be able to get the data from
there.

I wish you luck

-- 
When eating an elephant take one bite at a time.
-- Gen. C. Abrams

Michal 'vorner' Vaner


pgpltrfDLJ9Ab.pgp
Description: PGP signature


Re: [gentoo-user] KDE 4.0.2 and composite

2008-03-11 Thread Michal 'vorner' Vaner
Hello

On Tue, Mar 11, 2008 at 09:47:51PM +0200, Uwe Thiem wrote:
 On Tuesday 11 March 2008, Alan McKinnon wrote:
  On Tuesday 11 March 2008, Uwe Thiem wrote:
  set xcomposite in USE. It'll rebuild a couple of things:
 
 Hm ... It will only re-emerge kdebase-3.5.9-r1 here. That doesn't seem 
 right.

KDE is can be emerged in two ways ‒ monolitic (big packages) and split
(many small ones). This seems you have the monolitic one, so it will
reemerge only one big instead of few small ones.

-- 
Please stay calm. There is no use both of us being hysterical.

Michal 'vorner' Vaner


pgpoMGqKnrlMt.pgp
Description: PGP signature


Re: [gentoo-user] CFLAGS changes

2008-02-21 Thread Michal 'vorner' Vaner
Hello

On Thu, Feb 21, 2008 at 01:53:56PM +, James wrote:
 Current  CFLAGS=-O2 -march=i686 -pipe
 
 
 I want to add -fomit-frame-pointer to my
 CFLAGS on an existing system that has been running
 for months.

Vim syntax highlighting does not show it in red, so I guess it means it
is considered generally safe.

I seldom recompile the whole system (actually, I did it once only, for
split-debug  install-sources make effect) and never get much problems.
Usually revdep-rebuild solves them all.

However, the new flag will be used only in newly compiled packages, so
you might have a reason for the rebuild.

At the last note, I noticed a use flag for glibc about omit frame
pointer, so you might want to turn that on.

-- 
This email has been checked by an automatic damage possibility check system.
It can contain harmful instructions if read backwards.
Internal checker ID: lacol.cr/cte/  tlah ohce

Michal 'vorner' Vaner
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] emerge can not work !

2008-02-20 Thread Michal 'vorner' Vaner
Hello

On Wed, Feb 20, 2008 at 09:35:54AM +0100, Stéphane ANCELOT wrote:
 I made a silly mistake :
 emerge --unmerge python*
 
 now emerge does not work anymore since it needs python !!!
 
 Any idea ?

If you install python manually, emerge should start working. Then you
can emerge it and get back to normal.

-- 
This message has optimized support for formating.
Please choose green font and black background so it looks like it should.

Michal 'vorner' Vaner
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Linux, reiserfs and file fragmentation

2008-02-14 Thread Michal 'vorner' Vaner
Hello

On Thu, Feb 14, 2008 at 05:06:43AM -0600, Dale wrote:
 My questions; is this badly fragmented?  How can I unfragment all the 
 files and not bork something up badly? 
 My opinion on this tho, considering this install is about 4 years old, not 
 to bad.  I've seen worse on a windoze rig shortly after a install.  ;-)

I would guess the fragmented files are the big ones. And, with average
of 2 fragments per file, it is not too much. If you have a movie with
30MB fragments, then it is no problem.

Unless you hear lot of rattling noise from the HDD, you could leave it
as is.

And the surest way to defragment a filesystem is take everything out and
put it back again. It will write the files one after another and will
have no reason to split them.

-- 
XML is like violence. If it doesn't solve your problem, use more.

Michal 'vorner' Vaner
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Sending IMs from a script

2008-01-16 Thread Michal 'vorner' Vaner
Hello

On Wed, Jan 16, 2008 at 10:04:31AM +, Neil Bothwick wrote:
 I would have thought this was easy, but I've looked around and can't find
 a program that will send IMs from a script. I need to be able to send
 alerts to people from a monitoring program.

I have a solution for you (thought I do not know how this is related to
gentoo). Look at http://vorner.pretel.cz/en/projects.html#jelnet -- it's
a jabber telnet, you can let it connect to server and pipe some raw
protocol into it.

So you need something like:

jeltet [EMAIL PROTECTED] --password=password END
message to='[EMAIL PROTECTED]' type='headline'
subjectNotification/subject
bodyThis is your notification/body
/message
END

It has a disadvantage -- it logs in, sends a message and logs out every
time you send a notification. If you want to send from time to time, it
is no problem, but with a notification every minute or so, it can be an
issue. (Then you might need some fifo, cat,  and tricks like that)

I hope this helps.

-- 
I left the ssh key under the doormat

Michal 'vorner' Vaner


pgp1YoUuzuxyj.pgp
Description: PGP signature


Re: [gentoo-user] CFLAGS

2008-01-16 Thread Michal 'vorner' Vaner
Hello

On Wed, Jan 16, 2008 at 02:54:42PM -0500, Kenneth Prugh wrote:
 CFLAGS=-O2 -march=native -mtune=native -pipe

Could this happen a default in clean installation/manual sometime? Most
people could leave this lake it is and never think about what flags to
use.

-- 
Please stay calm. There is no use both of us being hysterical.

Michal 'vorner' Vaner


pgp47jAQRVpxo.pgp
Description: PGP signature


Re: [gentoo-user] TTF Fonts

2008-01-13 Thread Michal 'vorner' Vaner
Hello

On Sat, Jan 12, 2008 at 01:46:20PM -0400, Naiani Rosa de Barros wrote:
 Hi everyone.
 I'd like to know if these instructions here
 http://www.madeinclay.net/?p=8 are still valid for adding ttf fonts to
 Gentoo. I don't remember what I did last time (more than 1 yr ago),
 but I don't think it was the same procedure. The article on
 Gentoo-Wiki seems outdated to me, so I'd appreciate if anyone could
 tell me if this is the right way.

You can install many fonts by just emerging them.

-- 
Fragile. Do not turn umop ap1sdn!

Michal 'vorner' Vaner


pgp5OAXzgJhkQ.pgp
Description: PGP signature


Re: [gentoo-user] xdm login problems after recent emerge

2008-01-01 Thread Michal 'vorner' Vaner
Hello

On Tue, Jan 01, 2008 at 10:48:52AM +, Mick wrote:
 Happy New Year to all!
 
 I find my self in a bit of a pickle after a recent emerge.  When I
 enter my username+passwd at the xdm login screen it sort of tries to
 load up fluxbox, but within a second or so it returns to the login
 screen. I can't see anything worth mentioning in the logs. I have
 downgraded baselayout, sysvinit and freetype but the problem remains.
 Any ideas? These are the packages emerged recently:

This sounds to me like the fluxbox starter (I'm not sure if fluxbox by
itself or some script that starts it with one or two other programs)
crashes. Did you try running revdep-rebuild?

And, if you want to experiment, you can start X from vt, lets say:

X :1.0 (on :0.0, it is already running with xdm)

then switch back to vt (probably different one) and start an xterm

DISPLAY=:1.0 xterm

then switch back to your new X (ctrl+f8 -- f7 is the xdm one) and try
starting fluxbox from the xterm to see what happens.

Did it help?

-- 
No, you will not fix me
Computer

Michal 'vorner' Vaner


pgpndmnVXPEm0.pgp
Description: PGP signature


Re: [gentoo-user] xdm login problems after recent emerge

2008-01-01 Thread Michal 'vorner' Vaner
Hello

On Tue, Jan 01, 2008 at 03:29:25PM +, Mick wrote:
 I stopped/zapped xdm, ran startx and from an xterm I was able to run fluxbox 
 which started OK.  So, I am not sure if you are right that the start up 
 script crashes (I wonder, shouldn't I see something in the logs about it?)  
 If it crashed wouldn't it also crash when called from within an xterm?  When 
 I ran etc-update I had to update a number of scripts (some of them were 
 trivial - automerged) and some of them were related to halt.sh, and so on, 
 but I cannot recall any xdm related scripts.  Is there an etc-update history 
 somewhere on my machine?

I didn't mean the xdm script (which, obviously, works fine), but the
script started when you log in. The one in sessions is probably the one.

Actually, how it works: xdm starts X and shows the login screen. When
you log in, it starts something on the X server. When the something
stops (for any reason), xdm restarts X and shows the login screen again.

So I think the thing started by xdm terminates too early for some
reason, crash was the first idea I got. All this is just a guess, how it
looks to me, I do not say it is the only possible cause (crashing X
could be the cause too, and xdm would just restart it).

-- 
Support your right to arm bears!!

Michal 'vorner' Vaner


pgpjQoUeWlAXM.pgp
Description: PGP signature


Re: [gentoo-user] rejecting I/O to dead device

2007-12-31 Thread Michal 'vorner' Vaner
Hello

On Sun, Dec 30, 2007 at 10:47:42PM +0100, Fred Kastl wrote:
 i get this message 2 -3 times within a second. This floods my logfile.

 Dec 30 16:54:46 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:47 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:47 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:48 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:48 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:49 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:49 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:50 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:50 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:51 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:51 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:52 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:52 server kernel: scsi 2:0:0:0: rejecting I/O to dead device


 but there is no scsi device 2.

I get these if I unplug an USB disk while still mounted. Could that be
your case? (Until it is unmounted, programs can try to access it and
then the driver will just reject the read/write there)

 ## cat /proc/scsi/scsi

It lists only the ones alive, not dead.

-- 
_(){ __;};_

Michal 'vorner' Vaner


pgp6HkOBJp5kj.pgp
Description: PGP signature


Re: [gentoo-user] Does this qualify as some bug ?

2007-12-28 Thread Michal 'vorner' Vaner
Hello

On Thu, Dec 27, 2007 at 08:20:37PM +0100, Ralf Stephan wrote:
  While trying to prevent 'net-dns/pdnsd' to listen on TCP and on to
  avoid TCP queries, I changed 'tcp_server' parameter to 'off' and
  'query_method' parameter to 'udp_only' in /etc/pdnsd/pdnsd.conf . But
  when I restarted pdnsd I found it is still listening on TCP. I checked
  /etc/conf.d/pdnsd and found no option related to listening to 'TCP'
  set. So, then I checked /etc/init.d/pdnsd and I found that 'pdnsd' has
  been launched with '-t' command line argument (enables the TCP server
  thread. pdnsd will then serve TCP and UDP queries.) . So to disable, I
  need to append '--notcp' to PDNSDCONFIG in /etc/conf.d/pdnsd. So I
  think, listening shouldn't be made by default, even if it is, then it
  should be in configuration file, not in init.d script .
 
 Since noone answered, I'll try. I'm not into the details of your
 problem but I have the impression your suggestion should be stated
 to the pdnsd developing community, not on gentoo. I'd qualify it as
 bug, but YMMV, and again, I don't know much about it.

If it is a problem of init script, then it is problem in gentoo. Init
scripts are distribution specific (at last, gentoo has different ones
that other distros AFAIK).

So, if you think it is a bug, put it into bugzilla. In the best case,
someone will do something about it. In the worst case, the bug will be
marked as invalid, wontfix, or something like that. Just don't get
annoyed if someone simply tells it is nonsense, the people going trough
bugs have too many of them and they are not always completely nice.

-- 
BOFH Excuse #430:

Mouse has out-of-cheese-error

Michal 'vorner' Vaner


pgpMLXdP9W7oG.pgp
Description: PGP signature


Re: [gentoo-user] rc-update can't fix broken runlevel config

2007-12-24 Thread Michal 'vorner' Vaner
Hello

On Mon, Dec 24, 2007 at 11:15:59AM -0600, [EMAIL PROTECTED] wrote:
 So I guess I need to hand edit whatever source file or files rc-update
 uses. Where are they?

In /etc/runlevels, there is a directory for each runlevel. That
directory contains symlinks to the scripts in /etc/init.d. Just delete
the ones that point to non-existing files (they are usually red in bash,
if you have colors).

I hope this helps.

-- 
Hello, I'm an extension to the infamous signature virus, called spymail.
Could you please copy me into your signature and send back what you were
doing last night between 10pm and 3am?

Michal 'vorner' Vaner


pgp1GuiSBXKSr.pgp
Description: PGP signature


Re: [gentoo-user] removing X

2007-12-24 Thread Michal 'vorner' Vaner
Hello

On Mon, Dec 24, 2007 at 11:31:16AM -0600, [EMAIL PROTECTED] wrote:
 I'm attempting to remove X from a former desktop machine now going to
 see action as a semi-DMZ.
 
 What is the best way to go about removing X and all its files.
 
 Removing the basic x11-base/xorg-x11 is easy enough but there appears
 to be dozens of other X related pkgs installed.
   x11-proto/* has apparently dozens of relatives installed.
 
 emerge does not appear to accept globbing or maybe I'm just doing it
 wrong.
 
 
 Would just passing dozens of command line arguments to emerge be a
 suitable way to get rid of all the clutter?

You could remove the meta-package (the one that has size 0 and depends
on everything, I guess it's xorg-x11) and then emerge --depclean. You
probably should check, what everything that might want to remove, as it
might get the things a bit wrong, sometimes.

-- 
When eating an elephant take one bite at a time.
-- Gen. C. Abrams

Michal 'vorner' Vaner


pgpTBIgkd0FIE.pgp
Description: PGP signature


Re: [gentoo-user] x looses ctrl, alt and shift keys

2007-12-19 Thread Michal 'vorner' Vaner
Hello

On Wed, Dec 19, 2007 at 02:56:12PM +0930, Iain Buchanan wrote:
 apologies for the all-lowercase and other features of this email - but
 therein lies my problem -exclamation mark-
 
 from time to time x will just pretend that the caps lock, shift, and alt
 keys have dropped off the face of the earth... this means i can't copy n
 paste, i can't type email address, i can't switch consoles, i can't use
 any keyboard shortcuts rendering most programs useless... as has
 happened now, as you can tell by the lack of uppercase, smileys, etc in
 this email...

Well, I had this problem (and still, in some less drastic way, have). It
ignored all modificators from time to time (depends if the X started OK
or it had a bad mood).

It started with 1.4 xorg and it seems to be a little better now (shift
works every time now for me).

Something similar is in the bugzilla both at gentoo and in the upstream.

If it is possible for you, you might try downgrading to 1.3, but they
say they fixed it upstream, so it might come soon to gentoo as well.

-- 
The difficult we do today; the impossible takes a little longer.

Michal 'vorner' Vaner


pgphRUh2nGsSS.pgp
Description: PGP signature


Re: [gentoo-user] Hardened skype gcc-4*

2007-12-06 Thread Michal 'vorner' Vaner
Hello
,
On Tue, Dec 04, 2007 at 02:58:04PM -0800, Grant wrote:
 I can't believe it but I get the same error with wengo:
 
 $ wengophone
 /opt/bin/wengophone: line 10: /opt/wengophone/qtwengophone: No such
 file or directory
 /opt/bin/wengophone: line 10: /opt/wengophone/qtwengophone: Success
 
 Maybe a hardened profile on a laptop is more trouble than it's worth.
 skype, wengo, firefox-bin all won't work with this same type of error.
  vmware won't work either and I bet it's the same problem.

Just a wild guess -- you do not have /opt on other partition with noexec
flag?

BTW, I thought wengo was OSS and you could compile it, so it should rest
somewhere else (firefox can be compiled for sure, so if you just take
the time to do it, it could run).

-- 
This side up =

Michal 'vorner' Vaner


pgpcolgY7MJCA.pgp
Description: PGP signature


Re: [gentoo-user] How to reset Kwallet master passwd

2007-12-04 Thread Michal 'vorner' Vaner
Hello

On Tue, Dec 04, 2007 at 12:53:59PM +, Mick wrote:
 A user has entered the wrong master passwd when he first used Kwallet.  Now 
 he 
 cannot use it anymore.  What's the recommended way of resetting the master 
 passwd for Kwallet.  Losing all stored passwds in Kwallet is not an issue.

You could open kwalletmanager and delete the wallet there.

Or you can delete .kde/share/apps/kwallet (I hope it is there).

-- 
A nuclear war can ruin your whole day.

Michal 'vorner' Vaner


pgppBojh3DDcr.pgp
Description: PGP signature


Re: [gentoo-user] Hardened skype gcc-4*

2007-12-04 Thread Michal 'vorner' Vaner
Hello

On Tue, Dec 04, 2007 at 01:01:07PM -0800, Grant wrote:
 According to this:
 
 http://bugs.gentoo.org/show_bug.cgi?id=182554
 
 skype is p.masked on hardened profiles waiting for gcc-4*.  I really
 need skype working and I wonder if I should unmask gcc-4*, emerge it,
 and try to emerge skype.  Would I need to follow the Gentoo GCC
 Upgrade guide to do this if I only want skype compiled with gcc-4*?
 Would I just be creating a mess doing this?

I guess it makes no sense for skype to need the GCC, since you do not
(can not) compile skype, it is close-sourced. You could download skype
from the pages and just unpack it and hope it will work.

BTW: IMO skype should not be allowed near a computer that needs to be
hardened -- personally, I do not trust it a bit (and I know a little
about the quality how it is written, and it talks by network).

-- 
I left the ssh key under the doormat

Michal 'vorner' Vaner


pgp54lE7RpNPF.pgp
Description: PGP signature


Re: [gentoo-user] Hardened skype gcc-4*

2007-12-04 Thread Michal 'vorner' Vaner
Hello

On Tue, Dec 04, 2007 at 01:19:29PM -0800, Grant wrote:
  I guess it makes no sense for skype to need the GCC, since you do not
  (can not) compile skype, it is close-sourced. You could download skype
  from the pages and just unpack it and hope it will work.
 
 I'm actually able to emerge it, but it won't start with:
 
 $ skype
 /usr/bin/skype: line 10: /opt/skype/skype: No such file or directory
 /usr/bin/skype: line 10: /opt/skype/skype: Success
 
 even though /usr/bin/skype and /opt/skype/skype clearly exist.  What
 you're saying makes sense about gcc-4* not being necessary, but then
 why the above-referenced bug?

Take the statically linked version? And, no, I do not know about that
bug, I'm lucky enough not to have Skype installed any more.

  BTW: IMO skype should not be allowed near a computer that needs to be
  hardened -- personally, I do not trust it a bit (and I know a little
  about the quality how it is written, and it talks by network).
 
 What would you recommend as an alternative?  From what I understand, I
 could sign up with a voip service and install a client.  Would you
 recommend any in particular, both service and client?

If you need it user-friendly, then maybe wengo, or ekiga. AFAIK both
work over the SIP protocol, so you can replace the client with whatever
else comes to your path and speaks it.

And you may set up your own server too, if it comes to it. (Sorry, I
have not much experience with it, I just had something to do with skype
and was able to crash every version in multiple different ways, so I
just do not recommend it at all).

-- 
All flame and insults will go to /dev/null (if they fit)

Michal 'vorner' Vaner


pgpi6fuJkjHGD.pgp
Description: PGP signature


Re: [gentoo-user] {OT} wput with weird characters

2007-09-01 Thread Michal 'vorner' Vaner
Hello

On Sat, Sep 01, 2007 at 03:45:54AM +0200, Alex Schuster wrote:
 Grant writes:
 
wput -A file.txt ftp://username:abc\!123\@ftp.example.com/file.txt
  
   Did you try using ' around the whole argument? Like
  
   wput -A ... 'ftp://txt'?
 
  That did it.  Thanks everyone!
 
 Hmm... there really should be no difference whether you put the whole string 
 between single quotes or just escape the ! and . For the application you 
 start it is not even possible to see which notation you used.

Sure, but I never know which char I need to escape and which I don't.
This way I do not care - less space to escape it in bad way.

-- 
You can't have everything... where would you put it?
-- Steven Wright

Michal 'vorner' Vaner


pgpU3LC6H29eF.pgp
Description: PGP signature


Re: [gentoo-user] {OT} wput with weird characters

2007-08-31 Thread Michal 'vorner' Vaner
Hello

On Fri, Aug 31, 2007 at 11:50:43AM -0700, Grant wrote:
 I need to periodically upload a file to an ftp server, but the
 password they've issued me has a '!' and a '' character in it.  I
 tried escaping those characters like this:
 
 wput -A file.txt ftp://username:abc\!123\@ftp.example.com/file.txt

Did you try using ' around the whole argument? Like

wput -A ... 'ftp://txt'?

-- 
This message has optimized support for formating.
Please choose green font and black background so it looks like it should.

Michal 'vorner' Vaner


pgpUc2aJLxAUd.pgp
Description: PGP signature


Re: [gentoo-user] Which -march and flags for Intel Dual Core (*NOT* Core Duo)?

2007-08-30 Thread Michal 'vorner' Vaner
Hello

On Wed, Aug 29, 2007 at 09:14:06PM -0400, Walter Dnes wrote:
   Two identical cores show up in /proc/cpuinfo.  To save space on the
 list, I'm only listing the 2nd one.  I'm about to do an install.  Any
 ideas for USE and other settings also welcome.

gcc 4.something (I hope it is already on the live CDs) have a cute
feature. --march=native, and it will look at the CPU and decide itself
what best it can do about it.

-- 
~, sweet ~

Michal 'vorner' Vaner


pgp9i2BETu8uS.pgp
Description: PGP signature


Re: [gentoo-user] trying to make an ebuild

2007-08-29 Thread Michal 'vorner' Vaner
Hello

On Wed, Aug 29, 2007 at 07:11:14PM +, Noud Aldenhoven wrote:
 Could someone tell my how I can give my ebuild the rights to access
 /usr/bin? The script looks like this one:

The direct solution would be RESTRICT=sandbox (or somehow like this,
not sure if it is the exact wording). It should disable sandbox, so it
will install directly. However, you lose the protection of sandbox,
which is pity - it might be better to fix the package.

-- 
This side up =

Michal 'vorner' Vaner


pgpVy08Dfg4uA.pgp
Description: PGP signature


Re: [gentoo-user] Suspend or sleep *ON A DESKTOP PC*?

2007-08-19 Thread Michal 'vorner' Vaner
Hello

On Sat, Aug 18, 2007 at 02:01:15PM -0400, Walter Dnes wrote:
   This is getting frustrating.  All my searching turns up stuff that
 involves responding to some event that is triggered by closing the lid
 on a laptop.  That is obviously not going to happen on a desktop PC.

Why not type 'hibernate' as a root instead of hooking it to closing lid?

   Normal rebooting is a pain, because I usually run with 3 or 4 text
 consoles logged in for different functions, as well as an X session.  So
 what do I have to do to get a *DESKTOP* PC to suspend to disk (preferred)
 or to ram (second choice)?

I use hibernate-scripts configured to use the old hibernate 1
(partially because it is OK with vanilla kernel, partially because the
hibernate 2 looks a little bloated to me, partially because I know
author of hibernate 1). It works without any problem, I just start the
system next time and it loads in its original state.

Just give it a try.

-- 
All flame and insults will go to /dev/null (if they fit)

Michal 'vorner' Vaner


pgp2Cdjf397EA.pgp
Description: PGP signature


Re: [gentoo-user] vim encoding

2007-08-14 Thread Michal 'vorner' Vaner
Hello

On Mon, Aug 13, 2007 at 10:42:17PM +0100, Mick wrote:
 Hmm, I just checked a utf-8 file after I edited it and it says:
 
 :set encoding
  encoding=latin1

I would guess your UTF-8 file has no accents, or other characters. In
other words, it can be considered pure ASCII, which means Vim can safely
assume it is latin1 encoded text - there is no difference no matter
which reasonable encoding it chooses. (The encoding is not saved in the
file, it is guessed from what is saved there)

-- 
do { goto Water; } while( !tryBreakOffTheEar() );

Michal 'vorner' Vaner


pgp5cJ0nrWDsC.pgp
Description: PGP signature


Re: [gentoo-user] Rendering problems when updating xorg-server

2007-07-29 Thread Michal 'vorner' Vaner
Hello

On Sun, Jul 29, 2007 at 01:55:27AM +0200, Pavel Sanda wrote:
 i'm trying to update from xorg-server 1.1.1-r5 to 1.2.0-r3, but
 i run into strange rendering issues in my terminals (both eterm,xterm).
 
 [ ... ]

Which graphics card/driver are you using? I had similar problems with
nvidia drivers some time ago (it was different update, thought). Only
using the nv driver helped out (with loss of 3D, sadly).

Is it your case?

-- 
Support your right to arm bears!!

Michal 'vorner' Vaner


pgpBAuOCizcQ8.pgp
Description: PGP signature


Re: [gentoo-user] Gentoo update

2007-06-03 Thread Michal 'vorner' Vaner
Hello

On Sun, Jun 03, 2007 at 08:59:53PM +0200, Benjamin Graf wrote:
  I would like to know if there is a danger if I use a program during
  its updating (when I run emerge -uD world for example).

Theoretically, there could be (depends on the software) - some of its
files could disappear, but the worst thing I can imagine is a crash of
the program.

Anyway, I did not notice any such problem and I do update while the
computer is in use. It may be caused by the fact that the program is
replaced quite fast - the only dangerous time could be when the new one
is copied from sandbox to the real system.

As for it - I would not dare it on a mission critical server, but
anywhere else yes.

-- 
This message has optimized support for formating.
Please choose green font and black background so it looks like it should.

Michal 'vorner' Vaner


pgpU7zIuB4Ky5.pgp
Description: PGP signature


Re: [gentoo-user] Suspend to swap on a diskless host

2007-05-31 Thread Michal 'vorner' Vaner
Hello

On Thu, May 31, 2007 at 01:28:20PM +0200, Hans-Werner Hilse wrote:
 On Sun, 27 May 2007 16:21:03 +0200 Michal 'vorner' Vaner
 [EMAIL PROTECTED] wrote:
 
  First: You need to load the kernel from the swap, in the time it
  loads, you have no running kernel (well, there is a little part, but
  that one has no clue about network).
 
 No, that's not entirely true. Userspace suspend and resume is in the
 kernel since 2.6.17. See my other post in this thread for a pointer (I
 think it was http://suspend.sf.net/). So for this way it really happens
 all in userspace, with a fully working kernel available. When the image
 is loaded into RAM, the resume utility makes a syscall to have the
 kernel automatically copy  switch over.
 
 See /usr/src/linux/Documentation/power/*suspend* for all the details.

OK, I use suspend 1, which seems the least buggy to me, I did not know
some of the suspends were in userspace. If so, then yes, it can work.

  Second: You do not want swap on nfs, since it is terribly slow, buggy,
  nfs can allocate memory to transfer data and you get a circular
  problem
  - to get a memory, you need to get a memory. And, what if your cat
  steps on the ethernet cable?
 
 Resume aborts, checksum error. But that's it. But true, I wouldn't
 trust NFS too much, either. But then, there are nbd's (network block
 devices) which would probably work a treat. But userspace resume from a
 file on NFS should work reliably, too.

No, that was not for resume, but for use of swap on NFS. You need fast
response from swap and reliability.

  You might try suspend to ram, thought. It should work on diskless
  machine as well as on any other.
 
 ...cough, cough... yeah, /as/ well as on any other. So this probably
 means: It won't work until you switch off ACPI and resort to APM... But
 of course, that will depend.

Why? It works fine for me. It just suspends and goes on the other day on
my laptop, all working by ACPI - with kernel suspend 1.

-- 
This message has optimized support for formating.
Please choose green font and black background so it looks like it should.

Michal 'vorner' Vaner


pgpsVFHEphh7N.pgp
Description: PGP signature


Re: [gentoo-user] Suspend to swap on a diskless host

2007-05-27 Thread Michal 'vorner' Vaner
Hello

AFAIK, I think you do not want to do that.

First: You need to load the kernel from the swap, in the time it loads,
you have no running kernel (well, there is a little part, but that one
has no clue about network).

Second: You do not want swap on nfs, since it is terribly slow, buggy,
nfs can allocate memory to transfer data and you get a circular problem
- to get a memory, you need to get a memory. And, what if your cat steps
on the ethernet cable?

Third: the suspend does not use swap as a swap, but as a part of a disc.

You might try suspend to ram, thought. It should work on diskless
machine as well as on any other.

-- 
When all else fails, EAT!!!

Michal 'vorner' Vaner


pgpReAHrDjOnz.pgp
Description: PGP signature


Re: [gentoo-user] Re: lots of broken/missing dependencies when starting w/ stage1

2007-05-15 Thread Michal 'vorner' Vaner
On Mon, May 14, 2007 at 01:44:49PM +0100, Mick wrote:
 On Monday 14 May 2007 13:27, Enrico Weigelt wrote:
  * Enrico Weigelt [EMAIL PROTECTED] wrote:
   Yet another error:
  
   While building coreutils, it fails when making tests/sort:
  
   Can't locate auto/POSIX/assert.al
  
   There's no assert.al nor an assert.pl file on my disk.
 
  Obviously the tests fail. Is there any way to skip them
  (without touching the ebuild file) ?

emerge --skipfirst

 I have not seen a --no-test flag in emerge, but don't know if there is an 
 undocumented option for this, or if it can be set as an ENV variable. There 
 should be no harm in trying, but first someone more knowledgeable in the 
 workings of gentoo better advise.

man make.conf, section FEATURES

-- 
Don't worry about people stealing your ideas.   If your ideas are any good, 
you'll have to ram them down people's throats.
-- Howard Aiken

Michal 'vorner' Vaner


pgpIybteJLVsU.pgp
Description: PGP signature


Re: [gentoo-user] lots of broken/missing dependencies when starting w/ stage1

2007-05-14 Thread Michal 'vorner' Vaner
Hello

On Mon, May 14, 2007 at 02:05:39PM +0200, Enrico Weigelt wrote:
 after my notebook disk died, I started completely afresh with 
 the newest stage1 (running within some bit aged knoppix). 

What I remember is that stage1 is no longer supported and is for
developers only. Theoretically, you can take i386, set your host to i686
and rebuild all, and you will get the same result.

-- 
There is one difference between linux and windows.
With windows, you pay for the software, but you get all the T-shirts for free.
With linux, you get all the software for free, but you buy the T-shirts.

Michal vorner Vaner



pgpNu2IeId8aD.pgp
Description: PGP signature


Re: [gentoo-user] font problem after xorg-server upgrade

2007-04-26 Thread Michal 'vorner' Vaner
Hello

On Wed, Apr 25, 2007 at 07:07:48PM +0200, Pongracz Istvan wrote:
 My personal opinion is that is not a solution if I had to tweak all the
 system to get it working.

I did not mean tweaking when I said I have no time to experiment. I want
to locate the problem as closely as possible to provide valid bugreport
so developers can fix it in the next release.

-- 
Security warning: Do not expose this email to direct sunlight.
It may lead to undefined behaviour, including possible data or life loses.

Michal vorner Vaner


pgpkTQItJACHA.pgp
Description: PGP signature


Re: [gentoo-user] font problem after xorg-server upgrade

2007-04-25 Thread Michal 'vorner' Vaner
Hello

On Wed, Apr 25, 2007 at 09:15:55AM -0400, Matthew R. Lee wrote:
 Yesterday after a normal emerge -uND world and reboot the fonts in X went 
 haywire.  They all jumped in size to, I'm guessing, 100pt or more making KDE 
 completely unusable.  After rebooting into the console and some investigation 
 I discovered that if I downgraded to xorg-server 1.2.0-r3 (from 1.3.0.0) and 
 xf86-video-i810 1.7.4 (from 2.0.0) the problem went away.  No config was 
 changed during the emerge (except hdparm).
 Has anyone else had this problem?  Do I need to file a bug?  I'm snowed under 
 with work this week so I don't have time to experiment.

No, I had even worse one - I have 2-headed intel card (internal laptop
LCD + external one) and use them as separate screens (:1.0 and :1.1).
After the upgrade, it seqfaults, I want to post a bug against it as soon
as I have a bit of time. Now I'm back at the old one and have no time to
spare too, so this one waits.

However, for what I heard of this version, it is somewhat more buggy
than I like.

I would suggest you to post a bug as soon as you can.

Have a nice day

-- 
Hallowed be the zeroes and ones

Michal vorner Vaner


pgpJOzewQUs0u.pgp
Description: PGP signature


Re: [gentoo-user] create an installable custom distro with gentoo?

2007-04-20 Thread Michal 'vorner' Vaner
Hello

On Mon, Apr 16, 2007 at 11:35:25PM +0100, Neil Bothwick wrote:
 On Tue, 17 Apr 2007 00:01:24 +0200, Michal 'vorner' Vaner wrote:
   portage can use any directory you like for its workspace, you don't
   have to remote mount /var to achieve this. You could mount /var/tmp
   over NFS, but setting PORTAGE_TMPDIR is less kludgy.   
  
  Well, seems on the same level for me, but that is only personal
  preference.
 
 It's not the same at all. you are advocating mounting the whole of /var
 on a networked filesystem, which could affect the performance of the
 system as a whole.

Yes, which I was glad - the NFS filesystem was faster than local disk :D

But that is not the point, as nothing run at the time (the machine had
enough anyway).

Have a nice day

-- 
Wait few minutes before opening this email. The temperature difference 
could lead to vapour condensation.

Michal vorner Vaner


pgpqCDZci6OcY.pgp
Description: PGP signature


Re: [gentoo-user] create an installable custom distro with gentoo?

2007-04-20 Thread Michal 'vorner' Vaner
Hello

On Tue, Apr 17, 2007 at 11:00:51AM +0200, Alan McKinnon wrote:
 On Tuesday 17 April 2007, Neil Bothwick wrote:
  The last time I looked, portage compiles were Gentoo-specific too. If
  you want to change where portage uses for its workspace, it is much
  safer to use the provided configuration settings than move the whole
  of a system-critical directory to an unreliable medium.
 
 Going slightly OT here, but does anyone know which ebuilds are the big 
 ones using lots of space in /var/tmp when compiling? Apart from OOo 
 that is :-)

Depends what is big for your machine. gcc was huge for that machine,
xorg too, mutt was only big…

Have a nice day

-- 
_(){ __;};_

Michal 'vorner' Vaner


pgp2Z9PpMW7bG.pgp
Description: PGP signature


Re: [gentoo-user] create an installable custom distro with gentoo?

2007-04-16 Thread Michal 'vorner' Vaner
Hello,

On Sat, Apr 14, 2007 at 09:53:54PM +0100, Neil Bothwick wrote:
 Hello Michal 'vorner' Vaner,
 
  Now you can mount /var remotely (portage compiles there and needs lots
  of space) - this way you need only the space for installed programs, not
  compiling and compile on other machine using distcc.
 
 portage can use any directory you like for its workspace, you don't have
 to remote mount /var to achieve this. You could mount /var/tmp over NFS,
 but setting PORTAGE_TMPDIR is less kludgy. 

Well, seems on the same level for me, but that is only personal
preference. But the point with this one is - PORTAGE_TMPDIR (besides,
isn't it PORTAGE_WORKDIR?) is gentoo specific, but you can do the
mounting just anywhere.

Anyway, the point is probably clear…

With regards

-- 
Anyone who goes to a psychiatrist ought to have his head examined.
-- Samuel Goldwyn

Michal 'vorner' Vaner


pgpoXkeZBR1ry.pgp
Description: PGP signature


Re: [gentoo-user] create an installable custom distro with gentoo?

2007-04-14 Thread Michal 'vorner' Vaner
Hello

On Fri, Apr 13, 2007 at 11:16:58PM +, b.n. wrote:
  Hi,
 
  I have looked a bit for this but I've found nothing.
  I'd like to create an installable disk ready-to-install on another old, low 
  specs machine that cannot bear a Gentoo install by itself.
 
  The logic would be:
  - create a chroot environment
  - install a subgentoo in it
  - emerge the needed sw in the subgentoo, tweak etc.
  - create an installable medium --???
  - install on the old box
 
  The installable needs not to be complete... I can install Grub by myself 
  on the box, for example, and just copy the files of the subgentoo on the 
  partitions.
 
  However I'd like to see some tutorial/advice/whatever about it.

This is not exactly what you have asked for, but I did install this way
on an old machine (1.5GB disc, 48MB ram) and it worked. You need to:

• Get some space for swap and create partitions
• Unpack the stage tarball (preferably stage3)
• Install nfs
(that time, I had to compile kernel for it, but I hope the today
livecd has one nfs-capable).
• Install distcc

Now you can mount /var remotely (portage compiles there and needs lots
of space) - this way you need only the space for installed programs, not
compiling and compile on other machine using distcc. It is more or less
install the usual way, but with a great help of other computer by
network. The advantage is, you can keep updating the system the same
way.

Have a nice day

-- 
This is a terroristic email. It will explode in 10 minutes, 
if you do not close it in the meantime.

Michal vorner Vaner


pgpsxjXgWJYAI.pgp
Description: PGP signature


Re: [gentoo-user] Beryl: white square

2007-04-10 Thread Michal 'vorner' Vaner
Hello

On Tue, Apr 10, 2007 at 11:48:13AM +0200, Sylvain Chouleur wrote:
 Hi,
 
 I tried to install beryl on my unstable gentoo (so I've the version 0.2.1) 
 but when I launch it, I've got the famous white square. I've tried a lot of 
 things which I've read from forums but with no results.
 
 I've a ATI Radeon Mobility U1 (Radeon IGP 320 M) and I'm using the free 
 driver: radeon (from the package xf86-video-ati) because fglrx doesn't 
 works with my card.

I have Intel card, but I had this problem too. I do not know if it is
the same or not, try running dmesg, it complained about old drm module.
Newest kernel helped, but I'm not sure if it will for you...

Have a nice day

-- 
Anyone seen smoking will be considered on fire and will be put out immediately.

Michal 'vorner' Vaner


pgpFrrNPiKIxZ.pgp
Description: PGP signature


Re: [gentoo-user] emerge human readable format.

2007-04-03 Thread Michal 'vorner' Vaner
On Tue, Apr 03, 2007 at 12:40:49PM +0200, [EMAIL PROTECTED] wrote:
 Is there a way to have human readable format with emerge ?
 
 It could be much more convenient to have this kind of information more
 readable :
 
 Number of files: 122567
 Number of files transferred: 675
 Total file size: 159275947 bytes
 Total transferred file size: 3030220 bytes
 Literal data: 3030220 bytes
 Matched data: 0 bytes
 File list size: 2969859
 File list generation time: 2.042 seconds
 File list transfer time: 0.000 seconds
 Total bytes sent: 18837
 Total bytes received: 4035665
 
 sent 18837 bytes  received 4035665 bytes  901000.44 bytes/sec
 total size is 159275947  speedup is 39.28
 
 but I see no human readable formatting option. Any trick ?

This is from rsync, so look there. You can (I hope) change the command
to sync portage, so you can add some flags.

However, what is unreadable about that?

-- 
This email was generated by a biological random generator.
If you want more random text, just respond to this email.

Michal vorner Vaner


pgpiBNWPbHztT.pgp
Description: PGP signature


Re: [gentoo-user] Mutt and CC%CC$CC6 characters

2007-04-02 Thread Michal 'vorner' Vaner
On Mon, Apr 02, 2007 at 09:10:58PM +0300, Juho Rosqvist wrote:
 On Mon, Apr 02, 2007 at 13:49:46 +0200, Michal 'vorner' Vaner wrote:
  Hello
  
  On Sat, Mar 31, 2007 at 06:31:34AM +0100, Graham Murray wrote:
   Juho Rosqvist [EMAIL PROTECTED] writes:
   
Now, the subject _should_ read:
Mutt and ÅåÄäÖö characters
   [snip]
I'm really at a loss as to what causes this problem, or how to fix it.
Help would be appreciated.
   
   The problem is that if mail headers (especially to, from and subject)
   contain non US-Ascii characters (as your email does), then the mail
   program is supposed to use the mechanism described in RFC2047. Your
   emailer is not doing this, but is sending the 'raw' Scandinavian
   characters. As to how to fix it, I am sorry but I cannot be of any
   help.  
  
  I do not think this would be the problem, since MUTT does encode them
  (at last my mutt with Czech characters and utf-8 charset). I would try
  some other TUI application like mc or links. Vim handles the input
  directly AFAIK, but these use readline library for it.
 
 I agree that my problem is probably input related. By your reply I
 presume that mutt uses readline for input; is this correct?

I'm not sure, it is just a guess. It is only the direction I would try
first if I had this problem, nothing definite...

-- 
Wait few minutes before opening this email. The temperature difference 
could lead to vapour condensation.

Michal vorner Vaner


pgpQjdkfooWaE.pgp
Description: PGP signature


Re: [gentoo-user] Kmail Crypto error

2007-03-10 Thread Michal 'vorner' Vaner
Hello,

On Sat, Mar 10, 2007 at 12:38:08PM +, Mick wrote:
 I have ticked encrypt to self, so I was expecting that the senders
 passphrase would be asked and the message would become readable in the
 Sent Folder.

KMail is no longer (it is some time already) able to ask for the
passphrase itself, you need gpg-agent properly configured and running.
Other applications using pgp are moving in this direction too (there are
some safety issues with every application asking for the passphrase by
itself).

You probably can find more here
http://www.gentoo.org/doc/en/gnupg-user.xml.

Have a nice day

-- 
You can fool some of the people all of the time,
and all of the people some of the time,
but you can make a fool of yourself anytime.

Michal vorner Vaner


pgpWXUnBCq7yS.pgp
Description: PGP signature


Re: [gentoo-user] quick kmail question

2007-03-06 Thread Michal 'vorner' Vaner
Hello,

On Tue, Mar 06, 2007 at 07:47:40AM +0100, Bo Ørsted Andresen wrote:
 On Monday 05 March 2007 21:43:03 Matthew R. Lee wrote:
  When I click on a URL in an email it opens a new Konqueror window.  However
  I have it set in my Konqueror configuration to Open as tab in existing
  Konqueror when URL is called externally  I've looked through the KMail
  configuration settings but I can't find anywhere to change this.  Is there
  a way?
 
 This has been annoying me too. I'm quite interested if anybody knows a better 
 way to fix it but I've worked around it by setting /usr/local/bin/konqueror 
 as my Web Browser in kcontrol - KDE Components - Component Chooser. If you 
 do the same do remember to make /usr/local/bin/konqueror executable.
 
 $ cat /usr/local/bin/konqueror
 #!/bin/bash
 
 SESS=$(/usr/kde/3.5/bin/dcop | sed '/^konqueror/q;d')
 
 if [[ -z ${SESS} ]]; then
 /usr/kde/3.5/bin/konqueror $*
 else
 /usr/kde/3.5/bin/dcop ${SESS} konqueror-mainwindow\#1 newTab $*
 fi

I do not use KMail, but you probably could replace this script with
kfmclient. I use that one from many applications (usually non-KDE ones).

With regards

-- 
Hallowed be the zeroes and ones

Michal vorner Vaner


pgpyjBxMO4hNw.pgp
Description: PGP signature


Re: [gentoo-user] A DNS question.

2007-03-04 Thread Michal 'vorner' Vaner
Hello,
On Sat, Mar 03, 2007 at 04:49:48PM -0800, Bob Young wrote:
 Now with regards to eth1, it is my intent to configure eth1 as with the
 machines only public IP address (69.12.134.79), and configure BIND to listen
 on eth1 as a secondary domain name server, the primary domain name server
 would have an A Record for 69.12.134.79 and it would be named
 ns.somedomainname.com. IOW it would have a different base name (ns) than
 eth0 (gentoo). My question is whether or not this is valid/legal/okay,
 i.e. is it likely to cause any problems?

I do not see why this would be forbidden, however I think it would be a
good idea to let gentoo.somedomainname.com resolv to the same IP as
ns.somedomainname.com. Or better, ns be a pointer to gentoo (if that is
possible, I'm not sure here). It is for clarity and - well, this one is
crazy, but it IMO adds to the computer's personality and the computer
deserves a proper name.

With regards.

-- 
Hallowed be the zeroes and ones

Michal vorner Vaner


pgp17T5LMitJF.pgp
Description: PGP signature


Re: [gentoo-user] A DNS question.

2007-03-04 Thread Michal 'vorner' Vaner
On Sun, Mar 04, 2007 at 11:52:55AM -0600, Dan Farrell wrote:
 On Sat, 3 Mar 2007 23:16:47 +0100
 Michal 'vorner' Vaner [EMAIL PROTECTED] wrote:
 
  The [ X ] is a machine,  is a network and those C? are names of
  the machine on the net. Now, ping C1 on the middle machine. Should it
  ping itself on the right interface or look for the left computer? You
  should at last have something like:
  
  [ Name1 ] C1  C2 [ Name2 ] C1  C2 [ Name3 ]
 
 /etc/resolv.conf has a search line in which you can set up domains to
 automatically append to hostnames that aren't fully qualified.  If the
 subnets had different subdomain names, the order/presence/absence in
 resolv.conf would determin which C? was reached from Name2

Sure you can do all this - but I still think you just do better if you
name the computer in some reasonable way - give it its own name that is
the same everywhere (even if it has different domains behind it) and add
nicknames for services. After all, it IS the same computer.

If you do not give the computer a more global name, you need to ask
yourself from which network you access it and decide. I did not say you
can not do it other way, just that it probably is a good idea to act in
a way most people take as sane.

With regards

-- 
No, you will not fix me
Computer

Michal 'vorner' Vaner


pgpfIqNUtpfKV.pgp
Description: PGP signature


[gentoo-user] package.features

2007-03-03 Thread Michal 'vorner' Vaner
Hello,
I feel a need to override the default FEATURES configuration for one
package (some kernel modules do not build with userpriv). However, I can
not find anything like that in any gentoo manual. It would probably be
something like package.features file, but that one does not work (quite
expectable).

Do I miss something, or I could as well start hacking portage?

Thank you

-- 
This email has not been checked by an antivirus system.
No virus found.

Michal vorner Vaner


pgp0ETHjy3iGD.pgp
Description: PGP signature


Re: [gentoo-user] package.features

2007-03-03 Thread Michal 'vorner' Vaner
Hello,

On Sat, Mar 03, 2007 at 08:13:42PM +0100, Bo Ørsted Andresen wrote:
 On Saturday 03 March 2007 17:46:30 Michal 'vorner' Vaner wrote:
  I feel a need to override the default FEATURES configuration for one
  package (some kernel modules do not build with userpriv). However, I can
  not find anything like that in any gentoo manual. It would probably be
  something like package.features file, but that one does not work (quite
  expectable).
 
  Do I miss something, or I could as well start hacking portage?
 
 The only way to disable userpriv on a per package basis is by adding 
 RESTRICT=userpriv to the ebuild. If a package cannot work with userpriv that 
 should be done by it's maintainer. So if needed file a bug against the 
 packages in question... Any patch to change this will probably be rejected.

OK, in this case maybe (the problematic was - sometimes - kqemu, and I
could not find out when it compiled and when not).

But there may be situations where this possibility could be used in some
other ways. You may want nostrip for few packages only (need of debug
symbols, and you do not want to have them for the whole system), or the
make check fails for one package you critically need just now and have
no other choice than to use it anyway.

In my opinion, it should be possible to configure all the variables
according to the package name.

But in other words, if I want such functionality, I have to hack it in
somehow. Or I will have a look at paladius, or how is that thing called
(will test it in virtual machine first…)

With regards

-- 
Hello, this is an extension to the famous signature virus, called spymail.
Could you please copy me into your signature and send back what you were 
doing last night between 10pm and 3am?

Michal vorner Vaner


pgpXlDElfPxHh.pgp
Description: PGP signature


Re: [gentoo-user] package.features

2007-03-03 Thread Michal 'vorner' Vaner
Hello,

On Sat, Mar 03, 2007 at 09:07:23PM +0100, Bo Ørsted Andresen wrote:
 On Saturday 03 March 2007 20:39:01 Michal 'vorner' Vaner wrote:
  But there may be situations where this possibility could be used in some
  other ways. You may want nostrip for few packages only (need of debug
  symbols, and you do not want to have them for the whole system), or the
  make check fails for one package you critically need just now and have
  no other choice than to use it anyway.
 
  In my opinion, it should be possible to configure all the variables
  according to the package name.
 
 The cases you've mentioned here (nostrip, splitdebug, test) are handled on 
 the 
 bash side of portage which means disabling them in /etc/portage/bashrc on a 
 per package basis (or in /etc/portage/env/*) is possible.

Ups, seems like I overlooked this nice file at all. It seems to be a
really powerful tool :-). Sorry for not reading properly enough.

 FEATURES=userpriv, however, is handled on the python side and hence that 
 won't 
 work. In order to persuade someone to change this you'll probably need a 
 better use case than -userpriv which ultimately should be either fixed or 
 restricted in the ebuild.

You are probably right. And no one will want to add some odd file that
could configure any arbitrary variable according to a package just
because it would look cool and would be consistent :D. (Or maybe it can
be partly created by the bashrc thingie)

Anyway, thank you very much. At last, I know a bit more now, and won't
waste my time hacking something portage probably already has.

-- 
Work with computer has 2 phases. First, computer waits for the user to tell it 
what 
to do, then the user waits for the computer to do it. Therefore, computer work 
consists mostly of waiting.

Michal vorner Vaner


pgpt4CBxqspkS.pgp
Description: PGP signature


Re: [gentoo-user] A DNS question.

2007-03-03 Thread Michal 'vorner' Vaner
Hello,

On Sat, Mar 03, 2007 at 11:17:52AM -0800, Bob Young wrote:
 Obviously on a given system each NIC is usually connected to a different
 domain, my question is, whether or not it is /legal/possible/okay to use
 different *hostnames* on different NICs? 

AFAIK, you can have multiple names for one IP and multiple IPs for one
name (there are more ways to do that). So, I see no reason why anyone
would ever forgive you to have different name for each of IP addresses
your computer has. The other question is if you really want to do that,
because there might be applications not expecting your computer is
schizophrenic in such way and go nutty.

With regards

-- 
When eating an elephant take one bite at a time.
-- Gen. C. Abrams

Michal 'vorner' Vaner


pgpy27DlVLRZa.pgp
Description: PGP signature


Re: [gentoo-user] A DNS question.

2007-03-03 Thread Michal 'vorner' Vaner
On Sat, Mar 03, 2007 at 03:21:52PM -0600, Dan Farrell wrote:
 On Sat, 3 Mar 2007 22:04:59 +0100
 Michal 'vorner' Vaner [EMAIL PROTECTED] wrote:
 
  Hello,
  
  On Sat, Mar 03, 2007 at 11:17:52AM -0800, Bob Young wrote:
   Obviously on a given system each NIC is usually connected to a
   different domain, my question is, whether or not it
   is /legal/possible/okay to use different *hostnames* on different
   NICs? 
  
  AFAIK, you can have multiple names for one IP and multiple IPs for one
  name (there are more ways to do that). So, I see no reason why anyone
  would ever forgive you to have different name for each of IP addresses
  your computer has. The other question is if you really want to do
  that, because there might be applications not expecting your computer
  is schizophrenic in such way and go nutty.
  
  With regards
  
 on the contrary, there are good reasons to have more than one name for
 a single computer.  For example, say I have a server 'zeus.mydomain'
 that also does mail.  If I name the mailserver 'mail.mydomain' then I
 can CNAME that to zeus.mydomain via DNS, or I can just set
 mail.mydomain to the ip address of the second interface.  Result - I
 can redirect my mail to mail.mydomain and it can go to whatever
 computer I desire, whether or not it has different names.  'zeus' is
 still listening under that name for other requests.  If i use 'zeus'
 for heavy filesharing, I can still get good access over a non-saturated
 ethernet device on 'mail'.  

Well, this is something else - the computer knows itself as zeus and has
nicknames. However, if I got what the question was about - to be name1
for one card and name2 for the second - and do not appear as name2 on
the first at all.

IMO machine should have the same base name to any domain it shows in -
the one that it shows in bash command prompt. Then you can have
additional names for the services and they can differ.

But the name showed on the bash should probable be reachable (if
possible) from any network it appears on. The situation shown here is
probably odd (the names here are the only ones there, no additional ones
or base ones).

[ X ] C1  C2 [ X ] C1  C2 [ X ].

The [ X ] is a machine,  is a network and those C? are names of the
machine on the net. Now, ping C1 on the middle machine. Should it ping
itself on the right interface or look for the left computer? You should
at last have something like:

[ Name1 ] C1  C2 [ Name2 ] C1  C2 [ Name3 ]

(even if Name2 could not be resolved by the DNS on the right network for
example).

And you can nickname Name2 as mail or ntp if it suits you.

I hope I made myself clear and I apologize for the previous
misunderstanding.

Have a nice day

-- 
Anyone who goes to a psychiatrist ought to have his head examined.
-- Samuel Goldwyn

Michal 'vorner' Vaner


pgp4iMiFJo3It.pgp
Description: PGP signature


Re: [gentoo-user] Looking for advice on shared file system.

2007-02-26 Thread Michal 'vorner' Vaner
Hello,

On Mon, Feb 26, 2007 at 04:54:31PM +, Peter Lewis wrote:
 I've been looking around for a while now for some sort of shared file 
 system 
 which might meet my needs a little better than that which I am currently 
 using.

Maybe coda? Thought I only heard of it, not used.

Have a nice day

-- 
Work with computer has 2 phases. First, computer waits for the user to tell it 
what 
to do, then the user waits for the computer to do it. Therefore, computer work 
consists mostly of waiting.

Michal vorner Vaner


pgp930lbPrcMq.pgp
Description: PGP signature


Re: [gentoo-user] Install Advice

2007-02-20 Thread Michal 'vorner' Vaner
Hello,

On Tue, Feb 20, 2007 at 02:05:26AM -0600, Dale wrote:
 I have to disagree with this.  I used to use Mandrake and Gentoo is a
 *LOT* faster than Mandrake.  I turned off a lot of unused services and
 Mandrake was still pretty slow.  This is especially true if you
 customize all the flags you can.  I suspect he will see a speed
 difference.  Plus he will know what is being installed and why.   Gentoo
 IMHO beats Mandrake and others by a long shot. 

Well, yes, it may be faster a bit, like 1%, maybe 10%… But if one distro
would be unbearable slow, gentoo would be too. It won't just be faster
10 times, and yes, that 10% are nice, but not usually worth switching
your distro.

Have a nice day

-- 
Q:  Why was Stonehenge abandoned?
A:  It wasn't IBM compatible.

Michal 'vorner' Vaner


pgpfTUS3SiU7U.pgp
Description: PGP signature


Re: [gentoo-user] No more ASCII progress bar for Suspend2 hibernate

2007-02-20 Thread Michal 'vorner' Vaner
Hello,

On Tue, Feb 20, 2007 at 02:44:21PM -0500, Henk Boom wrote:
 Hi, I have just done an emerge -uDNav world, and when I hibernate
 (suspend2) with the 'hibernate' script, it no longer displays the
 progress bar showing how long it will take to finish. I am using
 suspend2-sources-2.6.17-r6, and I have not re-compiled my kernel since
 the emerge. Its sources are still in /usr/src/.
 
 What handles drawing the progress bar, and what can I do to get it to
 work again? Please tell me if I need to post additional information.

The thing is suspend2-userui. However, I personally recommend using
suspend version 1. It does not have all the drawings of progress and
contains less features, but less bugs as well (with the 2. version, I
had the feeling my computer is hunted). Besides, the second version is
huge in the amount of code in kernel.

And I do not know, what stopped working. Did you do any updates to your
hibernate script configs?

Have a nice day

-- 
_(){ __;};_

Michal 'vorner' Vaner


pgpLri7tuNVHz.pgp
Description: PGP signature


Re: [gentoo-user] Routing: how to enable..

2007-02-17 Thread Michal 'vorner' Vaner
Hello,

On Sat, Feb 17, 2007 at 11:07:34PM +0100, Roman Naumann wrote:
 Here the whole configuration: (imagine it as a complicated line of different 
 connections through the entire house...)
 [SNIP]

Hm, I think in theory you should have the PC in the middle with 2 IP
addresses, on each interface different. On each segment (each side of
the middle one) should be IPs from different range and there should be
allowed routing (that I do not know how). It would look like this:

--( PC1 IP-A/Range1 ) -- ( IP-B/Range1 PC2 IP-C/Range2 ) -- ( 
IP-D/Range2 PC3 )

PC2 can comm with all (since it is on both nets). PC3 shloud use IP-C as
its gateway, which will allow it to access PC1. PC1 should have static
route for whole Range2 to IP-B, so it can send to PC3. Now, how is that
set in Windows, who knows..

After this all is set, PC1 and PC3 should be able to talk to each other.
However, you will not see the pings unless both directions work.

So, you need to:
• PC3: /etc/conf.d/net:routes_eth0 = { default via IP-C }
• PC2: enable routing (I guess /etc/conf.d/net too)
• PC1: add a static route Range2 - IP-B.

I just hope I did not mess that up.

Or you can set up a bridge on PC2 to make both segments one net only:
http://gentoo-wiki.com/HOWTO_setup_a_gentoo_bridge

Have a nice day

-- 
BOFH Excuse #452:

Somebody ran the operating system through a spelling checker.

Michal 'vorner' Vaner


pgpsG8TMWnIAY.pgp
Description: PGP signature


Re: [gentoo-user] OpenOffice-2: Permission problem with file dialog

2007-02-10 Thread Michal 'vorner' Vaner
Hello,

On Sat, Feb 10, 2007 at 01:19:04PM +0100, Arend von der Lieth wrote:
 The peculiar thing is that everything works fine when I am running the
 program as root (which of course is not what I would like to do).
 My system is mainly from the stable branch, but the described behaviour is
 the same no matter if I use Ooo-2.0.4 or OOo-2.1 (I just tested if that
 would solve the problem).

This is just a shot, but it helped me few problems. Could you try
setting up a new user account and try it there? If it works there, it is
because of some problem with your personal settings (not that it would
excuse it to behave this way, but may help find some way out of the
problem before it's fixed)

With regards

-- 
Hello, this is an extension to the famous signature virus, called spymail.
Could you please copy me into your signature and send back what you were 
doing last night between 10pm and 3am?

Michal vorner Vaner


pgpyACtfdhnsN.pgp
Description: PGP signature


Re: [gentoo-user] Mails getting lost?

2007-02-06 Thread Michal 'vorner' Vaner
On Tue, Feb 06, 2007 at 12:39:56PM -0600, Michael Sullivan wrote:
 On Tue, 2007-02-06 at 12:26 -0600, Boyd Stephen Smith Jr. wrote:
  Are my mails to the list getting to anyone else?  I'm not seeing them 
  myself, and I wanted to make sure they weren't disappearing into the 
  ether.  I checked that I could email myself directly, so I don't think 
  it's a problem on this side, but I sent a helpful reply about kde-meta and 
  kate earlier today and I still haven't seen it yet.  Same with a comment I 
  sent to gentoo-desktop around the same time.
  
  Before anyone asks, no, I am not using gmail.
  
 
 I sent in a post yesterday afternoon.  My mail logs say it was sent, but
 I haven't seen it.  I'm not using gmail either.

I guess this list just does not send the message to its originator, I do
not see mine either.

-- 
When eating an elephant take one bite at a time.
-- Gen. C. Abrams

Michal 'vorner' Vaner


pgpwO9nYlHS4b.pgp
Description: PGP signature


Re: [gentoo-user] linux symlink?

2007-02-04 Thread Michal 'vorner' Vaner
On Sun, Feb 04, 2007 at 02:51:44PM +0100, Etaoin Shrdlu wrote:
 On Sunday 4 February 2007 13:45, Jorge Almeida wrote:
 
  I was under the impression that it is necessary to install Nvidia
  drivers. Is this correct? 
 
 If the link is not in place, nvidia-drivers will not build.

Quite any ebuild that installs modules needs the symlink, as far as I
know.

-- 

This message has optimized support for formating.
Please choose green font and black background so it looks like it should.

Michal vorner Vaner


pgpdw1d2MSUE3.pgp
Description: PGP signature


Re: [gentoo-user] linux symlink?

2007-02-04 Thread Michal 'vorner' Vaner
On Sun, Feb 04, 2007 at 01:43:22PM -0600, Dan Farrell wrote:
 On Sun, 4 Feb 2007 12:39:07 -0500
 Jerry McBride [EMAIL PROTECTED] wrote:
 
  On Sunday 04 February 2007 08:51:44 am Etaoin Shrdlu wrote:
   On Sunday 4 February 2007 13:45, Jorge Almeida wrote:
I was under the impression that it is necessary to install Nvidia
drivers. Is this correct?
  
   If the link is not in place, nvidia-drivers will not build.
  
And what should be done with the System.map file? Copy it to /boot
under which name? (I mean, when booting with a particular kernel,
how does the kernel know the path to the correct System.map?)
  
   There used to be a good system.map explanation here:
  
   http://dirac.org/linux/system.map/
  
   however, it seems to have some problem at the moment. The google
   cached copy works (just do a search for linux system.map, it's the
   first hit).
  
   Sorry, cannot comment on whether the symlink should or should not be
   created, and it's been a lot since I built my last LFS. I have
   almost always used it, and never had any problem. IIRC the
   handbook's advice is to create the link. But, as always, YMMV.
  
  The server ar dirac.org need a kick, I emailed the admin there. As
  for the symlink with LFS... LFS is a totally different animal than
  most distributions. For us, the link is required in order to emerge
  anything that touches the kernel sources.
  
 I stopped copying System.map very often and it doesn't seem very
 useful.. I  think copying it to /boot is mostly for recovery purposes,
 like .config being copied into /boot.  that way you can rebuild the
 kernel if you need to.  

AFAIK about System.map is it is not for recovery, but for
debugging. If kernel crashes, it tries get one to tell where it crashed,
give you backtrace and like that. It's easier to find the bug with it,
so unless you do not have a kernel that will ever crash, or you do not
want to send bug reports, you do not need one.

-- 
BOFH Excuse #452:

Somebody ran the operating system through a spelling checker.

Michal 'vorner' Vaner


pgplezMpkE8t5.pgp
Description: PGP signature


Re: [gentoo-user] Migrating gentoo to a new machine

2007-02-03 Thread Michal 'vorner' Vaner
Hello,

On Sat, Feb 03, 2007 at 04:08:41PM +0800, Seo Boon, NG wrote:
 Throught the years I've build-up a good collection of gentoo packages that I'm
 currently running on my notebook. Now that I need to move to a new notebook, I
 build another gentoo system where everything were smooth and I did a emerge
 world/systems to get everything update. Now the question is - how do get 
 gentoo
 to emerge the exact same number of package like my old notebook? I've 
 attempted
 to move /var/lib/portage/world(which contain all the packages that I need) to
 the new notebook and start a emerge world. I got an error and ask me to 
 emaint
 -c that I follow diligently which didn't quite help. I follow up with a 
 emaint
 -f and somehow it just get rid of all the packages that I need :( 

I would try (since the file looks quite friendly) emerge -va `cat
/var/lib/portage/world`

-- 
chown -R us $BASE

Michal 'vorner' Vaner


pgp9YEsmXT8GQ.pgp
Description: PGP signature


Re: [gentoo-user] Network works OK internally but can't access Internet - very frustrated

2007-02-03 Thread Michal 'vorner' Vaner
On Sat, Feb 03, 2007 at 11:40:20PM +1000, Richard Watson wrote:
 Do you have your dns configuration correct?
 please check you /etc/resolv.conf file. Does your DHCP server send
 nameserver to the client?
 
 Thanks for your reply. When the interface is up /etc/resolv.conf has a name 
 change to /etc/resolve.conf-eth2.sv and contains the following:

It is of no use under other name. You need it to be exactly
/etc/resolv.conf.

-- 
The cost of living is going up, and the chance of living is going down.

Michal 'vorner' Vaner


pgpO8qUrdCdzO.pgp
Description: PGP signature


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

2007-02-02 Thread Michal 'vorner' Vaner
Hello,

On Fri, Feb 02, 2007 at 12:07:59PM -0500, Shawn Singh wrote:
 I've got my /etc/conf.d/net setup as follows:
 
 # eth1 (LAN) config
 config_eth1=( 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255 )
 routes_eth1=( 192.168.1.0 via 192.168.1.1 ) # the idea here is that I wish

Er, shouldn't this work by default? It is the netmask thing, right?

Because what I think you are trying to do is:
Whatever goes to 192.168.1.*, send it to the machine at 192.168.1.1, it
will know. But the problem IMO is, this machine is local, so it again
runs the packet trough the table and sends it to itself…

Did you try removing the routing rule? I guess it should work by itself
and you needed it only if there was a machine somewhere, like 10.0.0.1
that would be reachable trough 192.168.1.15…

But I'm not sure, I hope I do not talk complete jebrish.

-- 
The cost of living is going up, and the chance of living is going down.

Michal 'vorner' Vaner


pgpEdPkpKdp0n.pgp
Description: PGP signature


Re: [gentoo-user] why forbids making hard link for directory?

2007-01-30 Thread Michal 'vorner' Vaner
On Tue, Jan 30, 2007 at 02:18:26PM +0800, Shaochun Wang wrote:
 
 I know it forbids making hardlink for directory in current filesystem,
 but i don't know why? Can you tell me why?

You could make a cycle (like directory placed inside itself) that would
be undetectable and all the nice utils like find, grep -r, cp and so
would work forever traversing them.

-- 
There's the light at the end of the the Windows.

   -- Havlik Denis

Michal 'vorner' Vaner


pgpKfVouOn7v7.pgp
Description: PGP signature


Re: [gentoo-user] Gnome, KDE applications and diacritical characters

2007-01-28 Thread Michal 'vorner' Vaner
Hello,

On Sun, Jan 28, 2007 at 05:07:26PM +0100, Jan Stępień wrote:
 I entered Amarok's setting window and in the Appearance tab I found an
 option allowing me to change the default font. Moreover the font chooser
 dialog allows me to check whether the font contains diacritical
 characters. I've chosen a suitable font, which displayed all those chars
 correctly and clicked Apply. Most surprisingly, part of the fonts have
 changed and begun to display everything correctly (e.g. the context
 window and the playlist), but the main menu on the top still consists of
 those rectangles and I am not able to change its font. Well, I have to
 admit that I'm a little bit dizzy.

Did you try choosing the same font in kcontrol?

-- 

This message has optimized support for formating.
Please choose green font and black background so it looks like it should.

Michal vorner Vaner


pgpuPBBgWFZ7G.pgp
Description: PGP signature


Re: [gentoo-user] Gnome, KDE applications and diacritical characters

2007-01-28 Thread Michal 'vorner' Vaner
On Sun, Jan 28, 2007 at 08:27:02PM +0200, Uwe Thiem wrote:
  Did you try choosing the same font in kcontrol?
 
 He is using GNOME!

Ups, sorry. Near hit. Then gnome-control-center? (mistaken by amarok,
which is KDE)

-- 
Security warning: Do not expose this email to direct sunlight.
It may lead to undefined behaviour, including possible data or life loses.

Michal vorner Vaner


pgpXzhVHVtOii.pgp
Description: PGP signature


Re: [gentoo-user] Hard Drive Crash - Please Help

2007-01-27 Thread Michal 'vorner' Vaner
Hello,
On Sat, Jan 27, 2007 at 10:51:48AM -0800, Grant wrote:
 and the vi command always seg faults.  Does that mean the /dev/hda3
 image is done-for and I should just start the laptop over from scratch
 and import my /etc/ and /home/ directories when it's re-installed?

I would try putting it all back and re-emerge everything (emerge -vaD
--emptytree world). It would fix if anything bad happened to the compiled
things and you could start using the things which survived sooner.

Hope it works well for you

-- 
Anyone seen smoking will be considered on fire and will be put out immediately.

Michal 'vorner' Vaner


pgpKQ6oWmT4fO.pgp
Description: PGP signature


Re: [gentoo-user] How can I emerge a program with debugging options?

2007-01-15 Thread Michal 'vorner' Vaner
Hello

On Mon, Jan 15, 2007 at 10:13:46AM +0100, qfpvajdy wrote:
 Does somebody knows how I could do this by an easy way?
 I had already the idea to rename the program /usr/bin/strip in 
 /usr/bin/strip.old, but this is a little ugly! :-)

Have a look at man make.conf, there are many nice options, one of them,
if I remember correctly, was nostrip.

-- 
This email was generated by a biological random generator.
If you want more random text, just respond to this email.

Michal vorner Vaner


pgpyWfxmj0jQn.pgp
Description: PGP signature


Re: [gentoo-user] Which Laptop is recommended for Gentoo GNU/Linux?

2007-01-05 Thread Michal 'vorner' Vaner
Hello,

On Fri, Jan 05, 2007 at 01:46:32PM +0100, qfpvajdy wrote:
 Hello,
 
 first thanks all for your great support on Gentoo Linux.
 I'm interessted to buy a laptop on which I would like to install Gentoo 
 GNU/Linux by using 100% all hardware functions of the laptop for which I have 
 bought.

I have Dell Latitude D510, and I made work anything I had opportunity to
test. I did not test infrared and docking. I have the version with intel
WiFi card.

AFAIK this exact model is not sold any more, but something similar enough
should be.

-- 
Michal vorner Vaner
==
This email has been checked by an automatic damage possibility check system.
It can contain harmful instructions if read backwards.
Internal checker ID: lacol.cr/cte/  tlah ohce


pgpMDEN9bS4EP.pgp
Description: PGP signature


Re: [gentoo-user] install CD of Hewlett-Packard server

2007-01-03 Thread Michal 'vorner' Vaner
On Wed, Jan 03, 2007 at 03:55:50PM +0800, Chuanwen Wu wrote:
 Oh,God!
 I can't start my machine with the livecd anymore even I have burned
 another livecd with livecd-i686-installer-2006.1.iso.
 The error is still all the same:coldpluging pci devices,which
 appears at 68%'s progress.

Try disabling autodetection (one of parameters, see help before it
boots).

 Now my machine has a Windows2003,so is there any way that I can
 install gentoo in Windows?

Yes, you can get an amulator and run virtual machine, even under
Windows. However, I guess you do not really want to compile it all in
emulated machine…

-- 
Michal vorner Vaner
==
This email has been checked by an automatic damage possibility check system.
It can contain harmful instructions if read backwards.
Internal checker ID: lacol.cr/cte/  tlah ohce


pgpHeSvIBvhef.pgp
Description: PGP signature


Re: [gentoo-user] USB freezes the machine...

2007-01-01 Thread Michal 'vorner' Vaner
On Mon, Jan 01, 2007 at 09:01:22AM -0700, Richard Fish wrote:
 On 1/1/07, Marco Calviani [EMAIL PROTECTED] wrote:
 If it useful, this is my lsmod:
 ohci_hcd   21636  0
 uhci_hcd   24648  0
 ehci_hcd   33160  0
 
 I seem to recall that loading multiple USB controller drivers can
 cause problems on some systems.  You might try unloading all of these
 with rmmod, then loading just one, and see if your drive will work.  I
 believe for most systems the ehci_hcd driver would be the preferred
 one.
 
AFAIK ohci is for USB 1.1, uhci for 2.0 and ehci is firewire, I have
them loaded all too. But I may be wrong

-- 
There's the light at the end of the the Windows.

   -- Havlik Denis

Michal 'vorner' Vaner


pgpUkdOrKg8hV.pgp
Description: PGP signature


Re: [gentoo-user] Re: anti-portage wreckage?

2006-12-31 Thread Michal 'vorner' Vaner
On Sun, Dec 31, 2006 at 06:20:23PM +, Mick wrote:
  The second is nearly photo-realistic games. 
 
 Of course.  That is I think one area where a thin client will not be able to 
 compete with a modern desktop PC.  I don't play games and haven't seen what 
 sort of latency a game played through FreeNX can achieve.  On the other hand 
 future gaming may be left to games consoles?
 
Then I hope it will be possible to have my _private_ correspondence on
a game console. I dread the times when I will have my pgp key stored
somewhere on the internet.

Another aspect is, I want to be the administrator of my computer -
because I have the power to do whatever I like ;-)

-- 

This message has optimized support for formating.
Please choose green font and black background so it looks like it should.

Michal vorner Vaner


pgp06p2OClIH2.pgp
Description: PGP signature