[gentoo-user] xorg-7: no console switching; can't exit gnome sanely.

2006-03-04 Thread Robert Persson
I have just upgraded to xorg-7 and found that I can no longer use ctrl-alt-Fn 
to switch out of the x server. I am using the same version of fglrx that I 
was before I upgraded and this problem started happening. How do I get 
console-switching back?

I have also found, since the upgrade, that I can no longer exit gnome sanely. 
The first time I did it I got a kernel panic; the second time I found myself 
back at a garbled login screen; and the remaining 3 times I have simply found 
myself with a black screen and an unresponsive mouse and keyboard. I can 
however, still exit kde and blackbox without problem.

The garbled login screen was one I have seen before when I tried to start a 
second xsession from within a kde session. It looked a bit like what you get 
when you set a video card to a resolution your monitor can't handle, with a 
mess of broken horizontal lines across the screen at about the height the 
login window ought to be.

I am still using kdm as my session manager, if that makes any difference (it 
didn't in the past).

Any ideas what could be happening with my gnome sessions?

Thanks
Robert
-- 
Robert Persson

Conspiracy Bears:
Once upon a time there were lots of conspiracy bears...

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] qmail troubles

2006-03-04 Thread Steve B
I'm trying to setup a qmail sever via the documention found at gentoo.org. I have used these instructions before and all went ok, however now I'm having problems. Everything is starting fine, but when a user tries to auth I get their clients are telling them the server quit and the following is being logged in /var/log/messages 




Code:

Mar 3 22:24:35 zues pop3d-ssl: LOGIN FAILED, user=[EMAIL PROTECTED], ip=[XXX.XXX.XXX.XXX] Mar 3 22:24:35 zues pop3d-ssl: authentication error: No such file or directory 
for the life of me I can't figure out where the problem is. courier-imap is being built with vchkpw the authdaemonrc config file is setup correctly (at least according to the documentation).. what else could be the problem?



Re: [gentoo-user] Gentoo on Mac Mini Intel

2006-03-04 Thread Christoph Eckert
HI Rick,


 Yes, Gentoo should run on it.
 Use the plain x86 installer.

that's good news :) .

 The only problem might be the new type of bios that is in the intel
 mac series, I'm not sure how well it is supported by linux.

 I haven't seen any positive or negative messages about running linux
 on an intel mac so can't help you there.

I even wonder if all interfaces (USB, firewire, graphics) will work on 
the box.

 And dual booting should be possible, it was always possible with the
 old apples.

I hope Apple didn't do some magic to prevent installation of other OSes 
like Mac OS X.

Anyway, I guess I will give it a try.


Thanks  best regards


ce

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT? - resizing a windows partition to take up more space (and take from gentoo :-()

2006-03-04 Thread Antoine

Hi,
I have the following partition table

/dev/hdb6  9004120   8780172223948  98% /
udev452040   108451932   1% /dev
/dev/hdb8  8803312   8388844414468  96% /usr
/dev/hdb1 12289692  11802356487336  97% /winsux
/dev/hdb2 10080520   7198664   2369788  76% /mnt/ubuntu
/dev/hdb7 39068848  37834076   1234772  97% /mnt/b40
none452040 0452040   0% /dev/shm

Basically, I want to give my ntfs windows winsux partition half the disk 
(.net2 is so enormous I have no space for anything else...). I have an 
250gig external usb hd that I am formatting in ext3 (and it looks like 
it will take several hours!) that can be used for transfer.
I would like to create images of both windows and  gentoo and then 
restore afterwards - basically only / and /usr need to be imaged (I 
guess I could just copy them, and may end up doing that...) but I am 
pretty sure a straight copy of windows won't work.
What I *might* try is to copy linux to the server or external hd and 
then simply resize the ntfs partition with ntfsresize. I have had 
success resizing ntfs with rescuecd so might go that route.

Anyone got any suggestions on the best approach? dd? cp + ntfsresize?
Cheers
Antoine
--
gentoo-user@gentoo.org mailing list



[gentoo-user] qmail troubles

2006-03-04 Thread Steve B
I'm trying to setup a qmail sever via the documention found at
gentoo.org. I have used these instructions before and all went ok,
however now I'm having problems. Everything is starting fine, but when
a user tries to auth I get their clients are telling them the server
quit and the following is being logged in /var/log/messages

Code:

Mar  3 22:24:35 zues pop3d-ssl: LOGIN FAILED, [EMAIL PROTECTED],
ip=[XXX.XXX.XXX.XXX]
Mar  3 22:24:35 zues pop3d-ssl: authentication error: No such file or directory


for the life of me I can't figure out where the problem is.
courier-imap is being built with vchkpw the authdaemonrc config file
is setup correctly (at least according to the documentation).. what
else could be the problem?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo on Mac Mini Intel

2006-03-04 Thread Antoine



And dual booting should be possible, it was always possible with the
old apples.



I hope Apple didn't do some magic to prevent installation of other OSes 
like Mac OS X.


Anyway, I guess I will give it a try.


I believe the idea was that you can do just that - dual boot with 
whatever you want for x86. The inverse - installing intel osx on a 
non-mac machine is not going to be possible (or at least probably not 
legal).

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



Re: [gentoo-user] xorg-7: no console switching; can't exit gnome sanely.

2006-03-04 Thread Willie Wong
On Sat, Mar 04, 2006 at 12:24:07AM -0800, Penguin Lover Robert Persson squawked:
 I have just upgraded to xorg-7 and found that I can no longer use ctrl-alt-Fn 
 to switch out of the x server. I am using the same version of fglrx that I 
 was before I upgraded and this problem started happening. How do I get 
 console-switching back?
 

Option DontVTSwitch Off

in the xorg.conf

W
-- 
I know that there are people in this world
who do not love their fellow man,
and I HATE people like that.   -- Tom Lehrer
Sortir en Pantoufles: up 112 days,  2:57
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo on Mac Mini Intel

2006-03-04 Thread Christoph Eckert
Hi Antoine,


 I believe the idea was that you can do just that - dual boot with
 whatever you want for x86.

I guess it depends on GRUB and if it can install so it is found by the 
Mac Mini BIOS.

 The inverse - installing intel osx on a 
 non-mac machine is not going to be possible (or at least probably not
 legal).

I didn't read the Mac OS X license, but as I'm not interested to install 
it on any other machine, I don't care.

I want to install Linux on the MAC Mini, but if possible I'd like to 
keep OS X as well on it.


Thanks for the thoughts  best regards


ce

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo on Mac Mini Intel

2006-03-04 Thread Eugene Rosenzweig

Christoph Eckert wrote:

Hi all,


I'm interested in buying an Intel Mac Mini.

Qestions:

* Will Gentoo run on it?

  

Sooner or later I am sure it will :)
* If so: Which installer is the right one (sorry I'm not that familiar 
with processor hardware)?


  

there are no ready-made yet I dont think

* Can it dual boot with the installed Mac OS?
  

yes.

Thanks  best regards


ce
  

These guys have been working on running linux on new Macs:
http://www.mactel-linux.org/wiki/Main_Page
They started off by running gentoo, as this pic shows:
http://www.mactel-linux.org/wiki/Image:Gentoo2.jpg
They got a HOWTO going:
http://www.mactel-linux.org/wiki/HOWTO
They have a livecd but it is a Ubuntu one:
http://sourceforge.net/project/showfiles.php?group_id=160126
So they have kernel patches, they can boot and they got a dual-boot 
guide. Thats enough to install gentoo on your x86 mac I think. With a 
bit of hacking. I am sure sooner or later there will be a ready-made 
installer CD for it too.


Eugene.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] test

2006-03-04 Thread prolibertine
good test
--
/**
* Love in Gentoo-Linux  C and Python
* Look at my website and my blog
* http://www.jnlinux.org
* http://bbs.jnlinux.org
**/

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] splash screen on bootup

2006-03-04 Thread Masood Ahmed
c.s.prakash wrote:
 i had installed gentoo without splash screen on boot up (ie., bootsplash)
 how can i configure now
 
Hi Prakash,
Gentoo developers have discontinued the support fo bootsplash,
i.e., the gentoo kernel sources do not contain bootsplash patches.
You've to use fbsplash (splashutils) instead..

Check out : http://gentoo-wiki.com/HOWTO_fbsplash

Also note that you can emerge boolsplash-themes, they'll get
automatically get converted to splashutils themes..

Bye,
-- 
Linux Kernel  : 2.6.15-gentoo-r7
GCC version   : 4.0.2 (Gentoo 4.0.2-r3, pie-8.7.8)
Processor : AMD Athlon XP 2600+
RAM   : 1 GB DDR 333 SDRAM
CFLAGS USED   : -march=athlon-xp -O3 -m3dnow -msse -mmmx -pipe
-fomit-frame-pointer -momit-leaf-frame-pointer -ftracer
-fno-crossjumping -falign-functions=16 -falign-loops=16
-falign-jumps=16 -fno-align-labels -mfpmath=387,sse
-maccumulate-outgoing-args
CXXFLAGS USED : $(CFLAGS) -fvisibility-inlines-hidden


pgp8nRSY23vIr.pgp
Description: PGP signature


Re: [gentoo-user] splash screen on bootup

2006-03-04 Thread Christoph Eckert

 i had installed gentoo without splash screen on boot up (ie.,
 bootsplash) how can i configure now

search for gensplash.


Best regards


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



Re: [gentoo-user] learn to SNIP (was: glibc does not emerge)

2006-03-04 Thread Benno Schulenberg
Cláudio Henrique wrote:
 thanks for the response. I have taken out -fPIC and now it
 emerges.

 On 3/3/06, Masood Ahmed [EMAIL PROTECTED] wrote:
  On 05:59 Fri 03 Mar, Cl?udio Henrique wrote:
   hi, there,

[snip, snip, snipsnipSNIP]

Please, guys, learn to snip.

And to bottom post.

http://www.netmeister.org/news/learn2quote2.html

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



Re: [gentoo-user] splash screen on bootup

2006-03-04 Thread Uwe Klosa

Have a look at these HOWTOs

http://gentoo-wiki.com/HOWTO_fbsplash

http://gentoo-wiki.com/HOWTO_Splash_image_in_GRUB

Cheers
Uwe

c.s.prakash wrote:

i had installed gentoo without splash screen on boot up (ie., bootsplash)
how can i configure now

--
C.S.Prakash
begin:vcard
fn:Uwe Klosa
n:Klosa;Uwe
org:Uppsala University;Electronic Publishing Centre
adr:;;;Uppsala;;75120;Sweden
email;internet:[EMAIL PROTECTED]
tel;work:+46 (0)18 471 7658
url:http://publications.uu.se/epcentre
version:2.1
end:vcard



Re: [gentoo-user] splash screen on bootup

2006-03-04 Thread Uwe Thiem
On 04 March 2006 15:25, c.s.prakash wrote:
 i had installed gentoo without splash screen on boot up (ie., bootsplash)
 how can i configure now

Don't use bootsplash; that's obsolete. Instead, use just splash.

Emerge splash and whatever theme you want.

Emerge, if you haven't done so, genkernel. Use genkernel to create an initrd 
(actually, initramfs) for you even if you haven't used genernel for compiling 
the kernel:

genkernel --gensplash=your_theme --gensplash-res=1024x768 initrd

Replace your_theme and 1024x768 with your preferred settings. Add 
--menuconfig to the option if you want to look up your kernel configuration 
again, but if you change it you must also compile a new kernel. Inside the 
kernel, you need support for the framebuffer and for splash.

Assuming you are using grub as a boot loader, you need an entry in grub.conf 
like this:

title= NOS - The Namibian Office Solution by SysEx (Pty) Ltd.
root (hd0,1)
kernel /boot/kernel-genkernel-x86-2.6.12-gentoo-r6 root=/dev/ram0 
init=/linuxrc ramdisk=8192 real_root=/dev/hda2 quiet udev CONSOLE=/dev/tty1 
video=vesafb:ywrap,[EMAIL PROTECTED] splash=silent,theme:sysex
initrd /boot/initramfs-genkernel-x86-2.6.12-gentoo-r6

Obviously, you have to adjust devices, kernel version, initrd version, theme 
and resolution to your liking.

Voila!

Uwe

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



[gentoo-user] Nvidia hangs Xorg

2006-03-04 Thread Jonatan Antoni

Hi there,

my problem of the freezing x-screen with the proprietary nvidia-drivers 
and firefox is solved for the moment.
I've just disabled the drivers agp-support by setting the option nvagp 
to zero in xorg.conf.
For me, it made no difference whether to use nvagp or agpgart, both 
leads in a hung-up.


Thanks for your ideas.
Jonatan
--
gentoo-user@gentoo.org mailing list



[gentoo-user] modules built post kernel install (on the fly)

2006-03-04 Thread Harry Putnam
Is this possible:

Compile a module by itself (not during kernel compile) and insert
that module into a running kernel.

I'm pretty sure this is possible but have no idea how to do it.
Pawing thru google. `site:gentoo.org modules on the fly ' and
similar strings  even just `kernel module'

Turns up scads of stuff but none of it is hitting this head on.. or I
didn't paw far enough so asking here for pointers to documentation
that will cover this.


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Nvidia hangs Xorg

2006-03-04 Thread Peter
On Sat, 04 Mar 2006 15:19:57 +0100, Jonatan Antoni wrote:

 Hi there,
 
 my problem of the freezing x-screen with the proprietary nvidia-drivers
 and firefox is solved for the moment. I've just disabled the drivers
 agp-support by setting the option nvagp to zero in xorg.conf.
 For me, it made no difference whether to use nvagp or agpgart, both leads
 in a hung-up.
 
 Thanks for your ideas.
 Jonatan

I had a 5200 card and two monitors and have never had this trouble --
either when using twinview or dual head modes.

Here's an experiment.

unmerge nvidia-glx and nvidia-kernel and try installing the nvidia drivers
directly using their compile settings and installation routines.

Next, check your xorg.conf file again. Another poster suggested correctly
that you should have Load dbe as well as Load extmod (see the sample
configuration file included with the source.

Next, check how the agpgart module is loaded. Is it built into the kernel?
Is it a module? Is modprobe agpgart being run? It must be a module if you
are going to use the NVAGP option. Without agpgart loaded, nvidia drivers
might bonk.0

More than likely, unless there is a hardware failure, your problem is one
of configuration. Hopefully, this will get you going in the proper
direction.

I have used the nvidia drivers for almost 3 years with both the 5200 and
6200 cards and various different screen configurations, including laptops.
I _DO_ know that configuration is a total bear. Not easy, confusing, and
not intuitive!

A good way to see what a bare nvidia configuration will be like is to run
Xorg -configure. It will create a file in /root called xorg.conf.new which
will show every option the driver (in this case nvidia) reports.

While I currently only have one monitor, FWIW here is xorg.conf.new as
reported by Xorg -configure for my setup.

HTH

xorg.conf.new:

Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
RgbPath  /usr/lib/X11/rgb
ModulePath   /usr/lib/modules
FontPath /usr/share/fonts/misc/
FontPath /usr/share/fonts/TTF/
FontPath /usr/share/fonts/Type1/
FontPath /usr/share/fonts/CID/
FontPath /usr/share/fonts/75dpi/
FontPath /usr/share/fonts/100dpi/
EndSection

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

Section InputDevice
Identifier  Keyboard0
Driver  kbd
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/mouse
EndSection

Section Monitor
Identifier   Monitor0
VendorName   Monitor Vendor
ModelNameMonitor Model
EndSection

Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option DigitalVibrance   # i
#Option NoFlip# [bool]
#Option Dac8Bit   # [bool]
#Option NoLogo# [bool]
#Option UBB   # [bool]
#Option Stereo# i
#Option SWcursor  # [bool]
#Option HWcursor  # [bool]
#Option VideoKey  # i
#Option NvAGP # i
#Option IgnoreEDID# [bool]
#Option NoDDC # [bool]
#Option ConnectedMonitor  # str
#Option ConnectedMonitors # str
#Option TVStandard# str
#Option TVOutFormat   # str
#Option RenderAccel   # [bool]
#Option CursorShadow  # [bool]
#Option CursorShadowAlpha # i
#Option CursorShadowXOffset   # i
#Option CursorShadowYOffset   # i
#Option UseEdidFreqs  # [bool]
#Option FlatPanelProperties   # str
#Option TwinView  # [bool]
#Option TwinViewOrientation   # str
#Option SecondMonitorHorizSync# str
#Option SecondMonitorVertRefresh  # str
#Option MetaModes # str
#Option UseInt10Module# [bool]
#Option NoTwinViewXineramaInfo# [bool]
#Option NoRenderExtension # [bool]
#Option Overlay   # [bool]
#Option CIOverlay # [bool]
#Option ForceEmulatedOverlay  # [bool]
#Option 

Re: [gentoo-user] modules built post kernel install (on the fly)

2006-03-04 Thread Masood Ahmed
Harry Putnam wrote:
 Is this possible:
 
 Compile a module by itself (not during kernel compile) and insert
 that module into a running kernel.

It can be done, the best example of it being done is the NVidia kernel
module. Although it seems, you want to compile a module inside a kernel
tree. I think it'll be lot complex. I dont have any hands on experience
in this, but i suggest take a look at the Makefiles of other kernel
modules available outside the kernel tree. Sorry cant give you specifics
on how to do it. 

PS: Also ALSA-driver package are nothing but kernel modules, you may
want to check thier makefiles as well.

-- 
Linux Kernel  : 2.6.15-gentoo-r7
GCC version   : 4.0.2 (Gentoo 4.0.2-r3, pie-8.7.8)
Processor : AMD Athlon XP 2600+
RAM   : 1 GB DDR 333 SDRAM
CFLAGS USED   : -march=athlon-xp -O3 -m3dnow -msse -mmmx -pipe
-fomit-frame-pointer -momit-leaf-frame-pointer -ftracer
-fno-crossjumping -falign-functions=16 -falign-loops=16
-falign-jumps=16 -fno-align-labels -mfpmath=387,sse
-maccumulate-outgoing-args
CXXFLAGS USED : $(CFLAGS) -fvisibility-inlines-hidden


pgpxTf3P0LePY.pgp
Description: PGP signature


[gentoo-user] Re: modules built post kernel install (on the fly)

2006-03-04 Thread Peter
On Sat, 04 Mar 2006 09:15:04 -0600, Harry Putnam wrote:

 Is this possible:
 
 Compile a module by itself (not during kernel compile) and insert that
 module into a running kernel.
 
 I'm pretty sure this is possible but have no idea how to do it. Pawing
 thru google. `site:gentoo.org modules on the fly ' and similar strings
  even just `kernel module'
 
 Turns up scads of stuff but none of it is hitting this head on.. or I
 didn't paw far enough so asking here for pointers to documentation
 that will cover this.

Yes.

cd /usr/src/linux
make menuconfig or make xconfig
choose the module option you wish to enable
Select whether to build into the kernel or as a module.
exit and save
make
make modules_install

You should not have to copy bzImage unless you built your new modules into
the kernel.

Then edit your /etc/autoload directory to include the module you want to
modprobe into the system.

easy!

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: modules built post kernel install (on the fly)

2006-03-04 Thread Harry Putnam
Peter [EMAIL PROTECTED] writes:

 Yes.

 cd /usr/src/linux
 make menuconfig or make xconfig
 choose the module option you wish to enable
 Select whether to build into the kernel or as a module.
 exit and save
 make
 make modules_install

 You should not have to copy bzImage unless you built your new modules into
 the kernel.

Haa... thanks for the step thru... and I'm guessing if you don't want
to reboot you can insmod this module into running kernel?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: modules built post kernel install (on the fly)

2006-03-04 Thread Masood Ahmed
Peter wrote:
 On Sat, 04 Mar 2006 09:15:04 -0600, Harry Putnam wrote:
 
  Is this possible:
  
  Compile a module by itself (not during kernel compile) and insert that
  module into a running kernel.
  
 
 Yes.
 
 cd /usr/src/linux
 make menuconfig or make xconfig
 choose the module option you wish to enable
 Select whether to build into the kernel or as a module.
 exit and save
 make
 make modules_install
 
 You should not have to copy bzImage unless you built your new modules into
 the kernel.
 
 Then edit your /etc/autoload directory to include the module you want to
 modprobe into the system.
 

This sounds simpler than what i had thought. I suggest giving this a
try. My earlier suggestion to read the Makefiles has been taken back
now.. :)

-- 
Linux Kernel  : 2.6.15-gentoo-r7
GCC version   : 4.0.2 (Gentoo 4.0.2-r3, pie-8.7.8)
Processor : AMD Athlon XP 2600+
RAM   : 1 GB DDR 333 SDRAM
CFLAGS USED   : -march=athlon-xp -O3 -m3dnow -msse -mmmx -pipe
-fomit-frame-pointer -momit-leaf-frame-pointer -ftracer
-fno-crossjumping -falign-functions=16 -falign-loops=16
-falign-jumps=16 -fno-align-labels -mfpmath=387,sse
-maccumulate-outgoing-args
CXXFLAGS USED : $(CFLAGS) -fvisibility-inlines-hidden


pgpKZzB9mlwwK.pgp
Description: PGP signature


[gentoo-user] Re: modules built post kernel install (on the fly)

2006-03-04 Thread Harry Putnam
Masood Ahmed [EMAIL PROTECTED] writes:
[...]
Thanks Masood, for the pointers.. I have a question about your sig.

 --
 Linux Kernel  : 2.6.15-gentoo-r7
 GCC version   : 4.0.2 (Gentoo 4.0.2-r3, pie-8.7.8)
 Processor : AMD Athlon XP 2600+
 RAM   : 1 GB DDR 333 SDRAM
 CFLAGS USED   : -march=athlon-xp -O3 -m3dnow -msse -mmmx -pipe
 -fomit-frame-pointer -momit-leaf-frame-pointer -ftracer
   -fno-crossjumping -falign-functions=16 -falign-loops=16
   -falign-jumps=16 -fno-align-labels -mfpmath=387,sse
   -maccumulate-outgoing-args
 CXXFLAGS USED : $(CFLAGS) -fvisibility-inlines-hidden

Do you get that info from a single command or several?



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] bind zone.file won't load

2006-03-04 Thread Harry Putnam

Running an authoritative name server on a small home lan as training
exercise. And using DNS and Bind 4th ed as a guide.

A quick sketch of this network(There are more hosts on it
but for simplicity):

(All have prefix 192.168 and netmask 255.255.255.0)

 INTERNET
   | (Dynamic IP)
   |
NETGEAR (consumer grade router)
reader  | 0.20  fwobsd
  --
  | 0.4| 0.3  | 0.5| 0.19
  ||  ||  
[ m1 ]   [ m2 ] [ m3 ]   [ m4 ]
  | 1.2| 1.1
  ||
rdmz  fwdmz

So I have two networks here.. 192.168.0/24 and 192.168.1/24
M1 and M4 both have 2 nics and addresses in 192.168.0 and 192.168.1
as shown... (if mail doesn't mangle my asci production too bad.)

My problem is how to integrate 192.168.1/24 into my zone.files

The reverse-pointer zone.file for 192.168.1 is where the rub is.
I'm very inexperienced with routing in general and nameservers in
particular  setting up a home lan nameserver is a training
exercise for me.

Where I get confused is what is the origin `@' for this zone?
Can I use `@' or need to spell out 192.168.1?
What happens to my domain... `local.lan' does it still cover what are
now really two numeric domains 192.168.0 and 192.168.1?

I've tried various combinations in the reverse zone for 192.168.1, but
all I've tried have has one or another problem loading, or being
ignored. 

The reverse file for 192.168.1 is below and at the end .. after names
logs is the db.local.lan zone file.

(naming convention stolen from DNS and Bind (4th ed))

I'll post, at the end the named log output from this zone.file as
an example but as mentioned, I've tried quite a few combinations
unsuccessfully.   I can post them all but hopefully someone will see
the problem I've created.  This one causes the 2 address in 192.168.1
to simply be ignored... other versions have different reasons for not
loading properly.

db.192.168.1
 8 snip =
  $TTL 1D 
  @   IN  SOA  reader.local.lan. reader.reader.local.lan. (
200405190  ; serial
28800  ; refresh (8 hours)
14400  ; retry (4 hours)
2419200; expire (4 weeks)
86400  ; minimum (1 day)
)
  ;
  ; Name servers (The name '@' is implied)
  ;
  IN  NS reader
  ;
  ; Addresses point to canonical names
  ;
  
  192.168.1.2   IN  PTRrdmz.local.lan.
  192.168.1.1   IN  PTRfwdmz.local.lan.

== 8 snip ===

[ -ed leaving `@' as is but spelling out canonical IP for the
two on 192.168.1 cause them to be ignored]

  Mar  4 09:59:39 reader named[8959]: pri/db.192.168.1:18: ignoring
out-of-zone data (192.168.1.2)
  Mar  4 09:59:39 reader named[8959]: pri/db.192.168.1:19: ignoring
out-of-zone data (192.168.1.1)
  Mar  4 09:59:39 reader named[8959]: zone 1.168.192.in-addr.arpa/IN:
loaded serial 200405190

=== [...] ==

db.local.lan (I think this is close to right at least)
   8 snip 
  $TTL 1D
  @   IN SOAreader.local.lan.  hostmaster (
  200405191 ; serial
  8H; refresh
  4H; retry
  4W; expire
  1D )  ; minimum
  ;; Nameserver (The name '@' is implied)
 IN   NS  reader
  ;; smtp hub (The name '@' is implied)
 IN   MX10 reader
  ;; addresses for the canonical names
  localhost  IN   A 127.0.0.1
  ansil  IN   A 192.168.0.21
  bjpIN   A 192.168.0.16
  fw IN   A 192.168.0.20
  fwobsd IN   A 192.168.0.19
 IN   A 192.168.1.1 
  harvey IN   A 192.168.0.22
  mob2   IN   A 192.168.0.3
  reader IN   A 192.168.0.4
 IN   A 192.168.1.2
  wapIN   A 192.168.0.50
  
  ;;   aliases
  smtp   IN   CNAME reader
  wwwIN   CNAME reader
  ticIN   CNAME reader
  
  ;;   interface   specific   addresses
  fwdmz  IN   A  192.168.1.1
  rdmz   IN   A  192.168.1.2
  
   8 snip ==

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: modules built post kernel install (on the fly)

2006-03-04 Thread Masood Ahmed
Harry Putnam wrote:
 Masood Ahmed [EMAIL PROTECTED] writes:
 [...]
 Thanks Masood, for the pointers.. I have a question about your sig.
 
 ()
 
 Do you get that info from a single command or several?
 

The answer is several,
for kernel version i did 'uname -r'
for gcc-version i did 'gcc -v'
for processor i did 'cat /proc/cpuinfo'
for ram 'free -t'
for CFLAGS 'cat /etc/make.conf | grep CFLAGS'
for CXXFLAGS 'cat /etc/make.conf | grep CXXFLAGS'

I think this is not what you expected. I dont have enough sed and grep
knowledge to automate the process, but i'm learning it. I'd like to
write a script that would output only the required contents from the
output of the commands above. 

Got any idea's anyone?

-- 
Linux Kernel  : 2.6.15-gentoo-r7
GCC version   : 4.0.2 (Gentoo 4.0.2-r3, pie-8.7.8)
Processor : AMD Athlon XP 2600+
RAM   : 1 GB DDR 333 SDRAM
CFLAGS USED   : -march=athlon-xp -O3 -m3dnow -msse -mmmx -pipe
-fomit-frame-pointer -momit-leaf-frame-pointer -ftracer
-fno-crossjumping -falign-functions=16 -falign-loops=16
-falign-jumps=16 -fno-align-labels -mfpmath=387,sse
-maccumulate-outgoing-args
CXXFLAGS USED : $(CFLAGS) -fvisibility-inlines-hidden


pgpaSOYhgNMI8.pgp
Description: PGP signature


[gentoo-user] Re: modules built post kernel install (on the fly)

2006-03-04 Thread Peter
On Sat, 04 Mar 2006 09:35:35 -0600, Harry Putnam wrote:

 Peter [EMAIL PROTECTED] writes:
 
 Yes.

 cd /usr/src/linux
 make menuconfig or make xconfig
 choose the module option you wish to enable
 Select whether to build into the kernel or as a module.
 exit and save
 make
 make modules_install

 You should not have to copy bzImage unless you built your new modules into
 the kernel.
 
 Haa... thanks for the step thru... and I'm guessing if you don't want
 to reboot you can insmod this module into running kernel?

That is correct. Unless you alter bzImage, modprobe newmodule should work
just fine. If your new module is built in, you will need to reload the
kernel (reboot).

Good luck!


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] tcprobe: no support for DVD reading

2006-03-04 Thread Wes Gray
Any idea why my tcprobe isn't supporting dvd reading?  I have libdvdread
installed:

# tcprobe -H 10 -i /dev/dvd
(dvd_reader.c) no support for DVD reading configured - exit.
(iodump.c) unable to open directory /dev/dvd

# emerge -p libdvdread

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

Calculating dependencies ...done!
[ebuild   R   ] media-libs/libdvdread-0.9.4-r1
#

Do I need to do something special to the transcode compile options?
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] lyricue

2006-03-04 Thread Michael W. Holdeman
Anyone using lyricue, or another dual headed presentation system (lcp on 
laptop for editing, while displaying another screen on teh lcd projector)

I am interested in setting this up for the church, we are now just using 
OOo-impress, but simultanous editing and display oif a different screen 
sounds handy...

Mike
-- 
 
Michael W. Holdeman



Powered by Gentoo Linux www.gentoo.org  |
Kernel 2.6.15-ck2   |
VMWare Workstation 5.5.1 vmware.com |
Win4LinPro 6.1.1-03 win4lin.com |
|
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Courier-Imap slowing to a crawl

2006-03-04 Thread James Colannino
Hey everyone.  I've been running a Gentoo mail server here at home for 
almost 3 years and have had great luck with it.  However, since I made a 
large group of updates a few weeks ago, Courier-Imap has been slowing 
down, so much so that my client requests eventually time out.  A reboot 
fixes this, but it's gotten to the point where I'd have to reboot every 
single day in order to keep it running the way it should be, and I know 
there must be some way to fix this.  I've tried just restarting the 
Courier daemons, but this alone is not sufficient.


Courier-Imap was never updated, so that shouldn't be the problem.  
However, the packages that were updated (with new USE flags; using 
--newuse) were Postfix, OpenLDAP (newly merged), Apache (from 1.3 to 
2.0), OpenSSL (I suspected at first that I had to build Courier and 
Courier-authlib again against the new OpenSSL, but this didn't prove to 
help) and a few others (unfortunately, I can't remember what they were, 
but I highly doubt they were related.)


Just to see if this would help, I tried rebuilding Courier-Imap and 
Courier-authlib after having merged the new packages.  Unfortunately, 
this did not help.  Authentication itself goes quick.  However, at the 
point where Thunderbird says, Looking for folders, (sorry I couldn't 
be more descriptive than that) it goes on and on and on and eventually 
times out.  After I've rebooted, it goes quickly like it always did 
before the updates, but then it gradually slows down, and by the next 
day, it's usually really bad again.


I wondered if something was hogging the CPU, or if something was leaking 
memory, but I checked both those things, and so far, I don't think 
either of those are a problem.


The only other change I can think of is that I had been compiling with 
-O3 optimizations ever since the server was built (I always had great 
luck with that and it's been very stable; I actually believe this may 
have been the default setting at the time), but decided to step down to 
-O2 before I built all those other packages since I wanted to make sure 
everything would be stable.  Does the fact that some packages were 
compiled with -O3 optimizations and the fact that more recently some 
were built with -O2 optimizations cause some kind of problem?  Is there 
a way that I can rebuild my entire server on either -O2 or -O3 
optimizations so that I can make everything consistent?  Should I even 
care about that?


I'm just trying to throw out every possibility here as this is one of 
the most bizarre things that's happened to me to date.  If anybody has 
any ideas, or if anybody has had any similar problems, a reply would be 
greatly appreciated! :)  Thanks everyone.


James

--
gentoo-user@gentoo.org mailing list



[gentoo-user] very slow booting

2006-03-04 Thread Pablasso
hi thereim having some slow boots after i upgraded my kernel from 2.6.12, before, all the boot process to the login took about 25-30secs, but i have tried the gentoo sources 2.6.15 and the suspend2 sources 2.6.14 and 
2.6.15 (currently using this one for the hibernate feature) with the same bad results, it tooks like 50-60 secs just to get over the initial boot process, after that it goes smooth loading the modules and services that tooks like 8-10 more seconds, boosting the overall time at 70secs, just too much
i notice that the boot stops some second on things like iptables and ip_contrack, but my question is why that doesnt happen on my old kernel 2.6.12? and what can i do about it?my machine is an inspiron 6000 laptop



[gentoo-user] Re: tcprobe: no support for DVD reading

2006-03-04 Thread Peter
On Sat, 04 Mar 2006 09:34:09 -0800, Wes Gray wrote:

 Any idea why my tcprobe isn't supporting dvd reading?  I have libdvdread
 installed:
 
 # tcprobe -H 10 -i /dev/dvd
 (dvd_reader.c) no support for DVD reading configured - exit.
 (iodump.c) unable to open directory /dev/dvd
 
 # emerge -p libdvdread
 
 These are the packages that I would merge, in order:
 
 Calculating dependencies ...done!
 [ebuild   R   ] media-libs/libdvdread-0.9.4-r1
 #
 
 Do I need to do something special to the transcode compile options?

1) Try as root. Some programs like cdrecord-ProDVD simply won't work on
some devices unless you're root or sudo root.

2) Make sure /dev/dvd actually points to your device.




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: tcprobe: no support for DVD reading

2006-03-04 Thread Wes Gray
On Sat, Mar 04, 2006 at 02:09:51PM -0500, Peter wrote:
 
 1) Try as root. Some programs like cdrecord-ProDVD simply won't work on
 some devices unless you're root or sudo root.
 
 2) Make sure /dev/dvd actually points to your device.

Doing it as root gives me the same error message.  gmplayer /dev/dvd works
fine to play a DVD, so I think it's OK.  Here is where it points:

% ls -la /dev/dvd
lrwxrwxrwx  1 root root 3 Mar  3 14:27 /dev/dvd - hdd
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] tcprobe: no support for DVD reading

2006-03-04 Thread Richard Fish
On 3/4/06, Wes Gray [EMAIL PROTECTED] wrote:
 Do I need to do something special to the transcode compile options?

Do you have USE=dvdread for transcode (emerge -pv transcode)?

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Which chip to use in ATI card?

2006-03-04 Thread Walter Dnes
  My video card apparently has 2 chips, according to lspci -v...

05:00.0 VGA compatible controller: ATI Technologies Inc RV370 5B60 [Radeon X300
(PCIE)] (prog-if 00 [VGA])
Subsystem: ATI Technologies Inc Unknown device 1b60
Flags: bus master, fast devsel, latency 0, IRQ 5
Memory at e000 (32-bit, prefetchable) [size=128M]
I/O ports at 9000 [size=256]
Memory at e900 (32-bit, non-prefetchable) [size=64K]
[virtual] Expansion ROM at e800 [disabled] [size=128K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Express Endpoint IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit+ Queue=0/0 
Enable-
Capabilities: [100] Advanced Error Reporting

05:00.1 Display controller: ATI Technologies Inc RV370 [Radeon X300SE]
Subsystem: ATI Technologies Inc Unknown device 1b61
Flags: bus master, fast devsel, latency 0
Memory at e901 (32-bit, non-prefetchable) [size=64K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Express Endpoint IRQ 0

  And here's what the Xorg log has to say...

(II) Primary Device is: PCI 05:00:0
(--) Assigning device section with no busID to primary device
(WW) RADEON: No matching Device section for instance (BusID PCI:5:0:1) found
(--) Chipset ATI Radeon X300 (RV370) 5B60 (PCIE) found

  Which chip on teh card should it be using, and what are the best
modules I can load?

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



[gentoo-user] Re: Re: tcprobe: no support for DVD reading

2006-03-04 Thread Peter
On Sat, 04 Mar 2006 11:32:42 -0800, Wes Gray wrote:

 On Sat, Mar 04, 2006 at 02:09:51PM -0500, Peter wrote:
 
 1) Try as root. Some programs like cdrecord-ProDVD simply won't work on
 some devices unless you're root or sudo root.
 
 2) Make sure /dev/dvd actually points to your device.
 
 Doing it as root gives me the same error message.  gmplayer /dev/dvd works
 fine to play a DVD, so I think it's OK.  Here is where it points:
 
 % ls -la /dev/dvd
 lrwxrwxrwx  1 root root 3 Mar  3 14:27 /dev/dvd - hdd

Well, if Richard's suggestion about USE=dvd-read does not work, make sure
the device is NOT mounted. Some dvd writers access hardware directly and
therefore mounts will mess with that. Otherwise, check the program's
usenet groups and bug reports.

Unfortunately, it's been my experience that for DVD authoring and anything
more than plain copying or burning files (i.e. most things beyond
mkisofs), linux is a lot of work. Best to have a M$ partition and use
whatever software you need for a particular task.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg-7: no console switching; can't exit gnome sanely.

2006-03-04 Thread Robert Persson
On Saturday 04 March 2006 02:33 Willie Wong was like:
 On Sat, Mar 04, 2006 at 12:24:07AM -0800, Penguin Lover Robert Persson 
squawked:
  I have just upgraded to xorg-7 and found that I can no longer use
  ctrl-alt-Fn to switch out of the x server. I am using the same version of
  fglrx that I was before I upgraded and this problem started happening.
  How do I get console-switching back?

 Option DontVTSwitch Off

 in the xorg.conf

This doesn't appear to work. Although I don't understand why I should need to 
specify a value for DontVTSwitch anyway. Is Off no longer the default?

Thanks
Robert
-- 
Robert Persson

Conspiracy Bears:
Once upon a time there were lots of conspiracy bears...

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] env-update problem

2006-03-04 Thread Franta
Hi,

I'm trying to install ORACLE on my box following the HOWTO on
gentoo-wiki.

After creating this /etc/env.d/99oracle:

ORACLE_BASE=/opt/oracle
ORACLE_HOME=$ORACLE_BASE/product/10.1.0.3
ORACLE_SID=''MyDB''
ORACLE_TERM=xterm
ORACLE_OWNER=oracle
TNS_ADMIN=$ORACLE_HOME/network/admin
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
ORA_NLS10=$ORACLE_HOME/nls/data
CLASSPATH=$ORACLE_HOME/jdbc/lib/classes12.zip
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32
DISABLE_HUGETLBFS=1
PATH=$ORACLE_HOME/bin
ROOTPATH=$ORACLE_HOME/bin
LDPATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32

... I get this from env-update:

frankies env.d # env-update
!!! Invalid token (not =) ORACLE_TERM
Traceback (most recent call last):
  File /usr/sbin/env-update, line 29, in ?
portage.env_update(makelinks)
  File /usr/lib/portage/pym/portage.py, line 561, in env_update
myconfig=getconfig(root+etc/env.d/+x)
  File /usr/lib/portage/pym/portage_util.py, line 257, in getconfig
raise e.__class__, str(e)+ in +mycfg
Exception: ParseError: Invalid token (not '='): /etc/env.d/99oracle:
line 4 in /etc/env.d/99oracle
frankies env.d # 

Can someone explain how to fix this?

Thanks in advance
Frank


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] bind zone.file won't load

2006-03-04 Thread Alexander Kirillov

Running an authoritative name server on a small home lan as training
exercise. And using DNS and Bind 4th ed as a guide.

A quick sketch of this network(There are more hosts on it
but for simplicity):

(All have prefix 192.168 and netmask 255.255.255.0)

 INTERNET
   | (Dynamic IP)
   |
NETGEAR (consumer grade router)
reader  | 0.20  fwobsd
  --
  | 0.4| 0.3  | 0.5| 0.19
  ||  ||  
[ m1 ]   [ m2 ] [ m3 ]   [ m4 ]

  | 1.2| 1.1
  ||
rdmz  fwdmz

So I have two networks here.. 192.168.0/24 and 192.168.1/24
M1 and M4 both have 2 nics and addresses in 192.168.0 and 192.168.1
as shown... (if mail doesn't mangle my asci production too bad.)

My problem is how to integrate 192.168.1/24 into my zone.files

The reverse-pointer zone.file for 192.168.1 is where the rub is.
I'm very inexperienced with routing in general and nameservers in
particular  setting up a home lan nameserver is a training
exercise for me.

Where I get confused is what is the origin `@' for this zone?
Can I use `@' or need to spell out 192.168.1?
What happens to my domain... `local.lan' does it still cover what are
now really two numeric domains 192.168.0 and 192.168.1?


Here's a reverse zone file for my home network. It's 10.10.0/24
but you'll figure out how to tailor this to your needs.

# cat pri/0.10.10.zone

;BIND DUMP V8
$ORIGIN 10.10.IN-ADDR.ARPA.
0   3600IN  SOA baikal.iproducts.test. 
root.baikal.iproducts.test. (
20050421 3600 900 360 3600 );Cl=5
3600IN  NS  baikal.iproducts.test.  ;Cl=5
$ORIGIN 0.10.10.IN-ADDR.ARPA.
2   3600IN  PTR volga.iproducts.test.   ;Cl=5
1   3600IN  PTR baikal.iproducts.test.  ;Cl=5
3   3600IN  PTR g40.iproducts.test. ;Cl=5
;10 3600IN  PTR wisla.iproducts.test.   ;Cl=5


#cat named.conf

...
zone 0.10.10.in-addr.arpa IN {
type master;
file pri/0.10.10.zone;
allow-update{
10.10.0.1;
};
};
...

HTH,
Sasha

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Changing role of router

2006-03-04 Thread Trey Sizemore
My current home network consists of several PC connected to a Netgear
wireless router (using its default factory IP of 192.168.0.1).  It also
serves DHCP address to machines that need it.  It, in turn, is
connected to my DSL modem.

I will be adding a firewall to the mix and plan to use the Netgear
wireless router solely as a hub and WAP.  I will disable it's DHCP
serving functionality.

My questions are:

a) Given it's new role, will it still require an IP address?  If so, it
will be on my internal network (vs. DMZ with servers) and have an
address of 192.168.1.1 for example.  Should this be changed now before
I rearrange the configuration?  I assume it needs an IP as I will need
to access the web-based admin interface to turn wireless on and off,
etc.

b)  I would assume the WAN port would not be used and all machines
using the hub would just plug into one of the four LAN ports.

c)  I have a true hub that will be used in the DMZ consisting of
machines with addresses like 192.168.0.x.  Here I assume the hub would
*not* have an IP assigned to it.

Just to be clear, the firewall box has 3 NICs.  One will have an IP
(dynamic) assigned by my ISP.  The second will serve the DMZ and have
an IP of 192.168.0.1 and the third will serve the internal network and
have an address of 192.168.1.1.

Just trying to clear some conceptual errors I seem to be having.
Thanks for any input, clarifications, and/or corrections.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Changing role of router

2006-03-04 Thread Mike Williams
On Sunday 05 March 2006 01:44, Trey Sizemore wrote:
 a) Given it's new role, will it still require an IP address?  If so, it
 will be on my internal network (vs. DMZ with servers) and have an
 address of 192.168.1.1 for example.  Should this be changed now before
 I rearrange the configuration?  I assume it needs an IP as I will need
 to access the web-based admin interface to turn wireless on and off,
 etc.

If you want to access it it will need an IP, but it doesn't matter when you 
change it, so long as it doesn't conflict with anything else.

 b)  I would assume the WAN port would not be used and all machines
 using the hub would just plug into one of the four LAN ports.

Yes.

 c)  I have a true hub that will be used in the DMZ consisting of
 machines with addresses like 192.168.0.x.  Here I assume the hub would
 *not* have an IP assigned to it.

Depends if it has an admin interface. A dumb hub/switch won't have an IP.

BTW, a hub is a hub, a switch is a switch. They are different things.

-- 
Mike Williams

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: modules built post kernel install (on the fly)

2006-03-04 Thread Harry Putnam
Peter [EMAIL PROTECTED] writes:

 That is correct. Unless you alter bzImage, modprobe newmodule should work
 just fine. If your new module is built in, you will need to reload the
 kernel (reboot).

Ok, this is confusing to me... What do you mean by `built in'.  I'm
thinking the very nature of a module is that it isn't built in.

Or do you just mean I'd chose `*' instead of `m' and move bzImage into
place in /boot?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: modules built post kernel install (on the fly)

2006-03-04 Thread Brett I. Holcomb
Builtin means it's built into the kernel - the * indicates that.

On Saturday March 4 2006 23:03, Harry Putnam wrote:
 Peter [EMAIL PROTECTED] writes:
  That is correct. Unless you alter bzImage, modprobe newmodule should work
  just fine. If your new module is built in, you will need to reload the
  kernel (reboot).

 Ok, this is confusing to me... What do you mean by `built in'.  I'm
 thinking the very nature of a module is that it isn't built in.

 Or do you just mean I'd chose `*' instead of `m' and move bzImage into
 place in /boot?

-- 

Brett I. Holcomb
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: bind zone.file won't load

2006-03-04 Thread Harry Putnam
Alexander Kirillov [EMAIL PROTECTED] writes:

 Here's a reverse zone file for my home network. It's 10.10.0/24
 but you'll figure out how to tailor this to your needs.

I think this is not where I'm having the trouble.  Just one network
for home lan I'm ok with.

 # cat pri/0.10.10.zone

 ;BIND DUMP V8
 $ORIGIN 10.10.IN-ADDR.ARPA.
 0 3600IN  SOA baikal.iproducts.test. 
 root.baikal.iproducts.test. (
   20050421 3600 900 360 3600 );Cl=5
   3600IN  NS  baikal.iproducts.test.  ;Cl=5
 $ORIGIN 0.10.10.IN-ADDR.ARPA.
 2 3600IN  PTR volga.iproducts.test.   ;Cl=5
 1 3600IN  PTR baikal.iproducts.test.  ;Cl=5
 3 3600IN  PTR g40.iproducts.test. ;Cl=5
 ;10   3600IN  PTR wisla.iproducts.test.   ;Cl=5


 #cat named.conf

 ...
 zone 0.10.10.in-addr.arpa IN {
   type master;
   file pri/0.10.10.zone;
   allow-update{
   10.10.0.1;
   };
 };

Thanks... That apears to be about what I've got for 192.168.0/24



Can you show how a zone file for adding 3 new addresses to your scheme
One new machine new.iproducts.test whos sole job is to be passed copies
of all connection attempts at the firewall to internet interface.

This is an imaginary exercise and is not suggesting that you would
want to do something like it.  However it is what I'm trying to do and
is the source of my bind problem.

`new' has two nics the one facing the firewall/router to internet is
only allowed to talk to that router on that nic (by pf blocking) at
10.10.0.5.  

The second nic is `newdmz' at 10.10.1.1 and it is hardwired to a
simple hub and from there to a second nic on g40.iproducts.test.
Which is `g40dmz' at 10.10.1.2

The second nic is so 1 other lan machine can ssh to newdmz for what
ever reason.
So we've added:
 new.iproducts.test.   at 10.10.0.5
call them:   newdmz.iproducts.test. at 10.10.1.1 
 g40dmz.iproducts.test. at 10.10.1.2

The two nics are hard wired thru a hub to each other but not to
anything else.  Neither machine with 2 nics is setup as a router.
That is, forwarding internally is not enabled.

Now integrating those two on 10.10.1/24 in zone file:
db.iproducts.test is pretty straight forward 

But the reverse zone file
db.10.10.1   is where my meager skills end. 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: modules built post kernel install (on the fly)

2006-03-04 Thread Holly Bostick
Harry Putnam schreef:
 Peter [EMAIL PROTECTED] writes:
 
 That is correct. Unless you alter bzImage, modprobe newmodule 
 should work just fine. If your new module is built in, you will 
 need to reload the kernel (reboot).
 
 Ok, this is confusing to me... What do you mean by `built in'.  I'm 
 thinking the very nature of a module is that it isn't built in.
 
 Or do you just mean I'd chose `*' instead of `m' and move bzImage 
 into place in /boot?
 
(Most) kernel modules can be either built into the kernel, or separately
from the kernel. Only a very few can only be builtin or only loadable. But
whichever they are, they're really all modules-- the kernel is a modular
framework, after all, which is why you have to configure it-- to say
which kernel modules you want to build, and how you want them built (as
builtin to the kernel, or as separate loadable modules).

If they're built into the kernel body (*), they're called
built-in, in which case they are an integral part of the bzImage, and
increase the size of the kernel. Builtins will also always be loaded by
the kernel just because they're part of the kernel; this is why you must
build certain modules (like for filesystems) as builtins and not as
modules, so the kernel has them loaded before it needs them to read the
relevant filesystem.

If the modules built as dynamically loadable modules (M. which
produces little chunks of code-- *.ko files, I think-- in
/usr/lib/modules/kernel_version when you run make modules_install),
they are called modules (or loadable modules, or dynamic modules). In
this case, they 1) do not increase the size of the kernel (because
they're not in the bzImage that is the kernel), 2) they are dynamically
loadable (modprobe) and removeable (modprobe -r), and may or may not
exist at all (because you have the ability to pick and choose which
loadable modules you actually want to build in your kernel config).

So what Peter meant was that if you add the modules as loadable modules
(by choosing M), you wouldn't have to do anything other than make and
make modules_install to install the new module (you need to do a make so
that the kernel config knows that there's a new module *to* make), but
because the body of the kernel has not actually changed (since loadable
modules are not compiled into the bzImage like the builtin * modules
are), you don't actually have to install the new bzImage, because it's
exactly the same as the one you had previously installed. You should be
able to modprobe the new module and go right on without rebooting.

However, if you compiled the new modules directly into the kernel (by
choosing *, or compiling a module that has a sub-function that
requires a *), then you would have to install the new bzImage and
reboot, because the bzImage (the kernel) has actually changed.

Hope this helps explain things,
Holly
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: bind zone.file won't load

2006-03-04 Thread Harry Putnam
Alexander Kirillov [EMAIL PROTECTED] writes:


[...]

 ;BIND DUMP V8
 $ORIGIN 10.10.IN-ADDR.ARPA.
 0 3600IN  SOA baikal.iproducts.test. 
 root.baikal.iproducts.test. (

Alexander, I meant to ask in my reply what the 3600 is all about?  My
study of DNS and Bind hasn't discussed that field yet.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: bind zone.file won't load

2006-03-04 Thread Harry Putnam
Alexander Kirillov [EMAIL PROTECTED] writes:

 Here's a reverse zone file for my home network. It's 10.10.0/24
 but you'll figure out how to tailor this to your needs.

Taking your example I come up with the zone file posted at the end.
It loads with no comment from named.  But I still see the same
problem.

nslookup knows all the alphabetical host names and all there IP
numbers except the two on 192.168.1/24

Using nslookup to test first one of the machines with two nics
testing the nic in 192.168.0/24

  nslookup reader
===
  Server: 127.0.0.1
  Address:127.0.0.1#53

  Name:   reader.local.lan
  Address: 192.168.1.2
  Name:   reader.local.lan
  Address: 192.168.0.4

It knows reader has two nics and where they are network wise.

Now testing the numeric IP
  nslookup  192.168.0.4
===
   Server: 127.0.0.1
   Address:127.0.0.1#53

   4.0.168.192.in-addr.arpaname = reader.local.lan.

As expected it works

Now try it on 192.168.1/24 ... the 2nd nic on reader.

 nslookup  rdmz  
===
  Server: 127.0.0.1
  Address:127.0.0.1#53

  Name:   rdmz.local.lan
  Address: 192.168.1.2

Good, just what we expected, but now try the numeric IP.

  nslookup  192.168.1.2
=
   Server: 127.0.0.1
   Address:127.0.0.1#53

   ** server can't find 2.1.168.192.in-addr.arpa: NXDOMAIN

Gack... what happened?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] vmware and all java applications not running

2006-03-04 Thread Ghaith Hachem
none of these seemed to work.. i guess i'll try an emerge -e system or
reinstall i want to try the new installer anyway

On 3/1/06, Richard Fish [EMAIL PROTECTED] wrote:
 On 3/1/06, Ghaith Hachem [EMAIL PROTECTED] wrote:
  hello,
  i have recently noticed that many java application are not running
  anymore like Mercury
 
  $ /fdrive/external/home/angel/1709_Linux_NoVM.bin
  Preparing to install...
  Extracting the installation resources from the installer archive...
  Configuring the installer for this system's environment...
  awk: error while loading shared libraries: libdl.so.2: cannot open
  shared object file: No such file or directory
  dirname: error while loading shared libraries: libc.so.6: cannot open
  shared object file: No such file or directory

 Strange...are you by chance using pre-linking, and forget to run a
 prelink -aq?

 Or maybe you just need to run ldconfig to update the library cache.

 -Richard

 --
 gentoo-user@gentoo.org mailing list




--
Cheers,
Ghaith

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: bind zone.file won't load

2006-03-04 Thread Harry Putnam
Alexander Kirillov [EMAIL PROTECTED] writes:

 Here's a reverse zone file for my home network. It's 10.10.0/24
 but you'll figure out how to tailor this to your needs.

Yikes I promised to post my reverse file based on your example and
then mailed my response without including it.  You saw the failure:

 nslookup  192.168.1.2
  Server: 127.0.0.1
  Address:127.0.0.1#53

  ** server can't find 2.1.168.192.in-addr.arpa: NXDOMAIN

Here is the zone file:

db.192.168.1
$TTL 1D
$ORIGIN 0.168.192.IN-ADDR.ARPA.
4   IN SOA  reader.local.lan. reader.reader.local.lan. (

  200405190  ; serial
  28800  ; refresh (8 hours)
  14400  ; retry (4 hours)
  2419200; expire (4 weeks)
  86400  ; minimum (1 day)
  )
;
; Name servers (The name '@' is implied)
;
IN  NS  reader
$ORIGIN 1.168.192.IN-ADDR.ARPA.
;
; Addresses point to canonical names
;

2   IN  PTR rdmz.local.lan.
1   INPTR   fwdmz.local.lan.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: modules built post kernel install (on the fly)

2006-03-04 Thread Harry Putnam
Holly Bostick [EMAIL PROTECTED] writes:

 So what Peter meant was ]

[...]


Yeah thats what I suggested it meant.  I added some unnecessary
confusion by saying `the very nature of module is that it is not built
in'...  sorry.  Just sloppy thinking here thanks for clearing that up
very well.

But since my original question was:

  [How to -ed HP] Compile a module by itself (not during kernel
  compile) and insert that module into a running kernel.

That would rule out `*' so that's why it confused me.

 However, if you compiled the new modules directly into the kernel (by
 choosing *, or compiling a module that has a sub-function that
 requires a *), then you would have to install the new bzImage and
 reboot, because the bzImage (the kernel) has actually changed.

Nothing different really than just compiling a kernel

In fact it sounds like the whole process is required for adding
a new `loadable' module too, just leaving out the moving of bzImage. 
And no reboot required.

I guess I sort of thought there was some trick way to just compile a
module and not do all the linking and grinding of `make' against the
whole tree.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: modules built post kernel install (on the fly)

2006-03-04 Thread Ryan Tandy

Harry Putnam wrote:

I guess I sort of thought there was some trick way to just compile a
module and not do all the linking and grinding of `make' against the
whole tree.
  
Unless you've done 'make clean' previously, 'make' will only compile 
required files based on changes you've made to your config.  My laptop 
runs a monolithic kernel with very few modules (PCMCIA and USB 
hotplugged stuff), but as long as I'm not changing versions, adding or 
removing features usually only involves compiling a few source files and 
linking the bzImage.


If you just want to build new modules and haven't made any changes to 
the actual kernel, 'make' can be left out since the bzImage doesn't need 
rebuilding - 'make modules modules_install' will be sufficient to build 
and install your newly selected modules.


If you've run 'make clean', which removes all previously compiled 
objects, a monolithic kernel will have to be rebuilt from scratch - but 
once again, running only 'make modules modules_install' will rebuild all 
your modules but leave the kernel itself alone.


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



[gentoo-user] sound recording software in gentoo

2006-03-04 Thread Denis
I wanted to see if there's a way to set up a home recording
mini-studio using Linux.  In Windoze, there's things like Cubase,
Ableton, Reason, Wavelab, etc...  What's available in Linux for that
purpose (recording, sequencing, mixing, sound effects), and which of
those does Gentoo have in the Portage tree?

-- 
gentoo-user@gentoo.org mailing list