Re: [gentoo-user] Re: OT: iptables mac filtering

2006-08-11 Thread Richard Fish

On 8/10/06, James <[EMAIL PROTECTED]> wrote:

I need a rule on the 3 (nic) interface firewall so that only
ssh from the LAN is allowed to the firewall or sytems (web
server, mail dns) in the DMZ. Only one static ip is routable
to this site. SSH from the outside should be completely blocked.

Any ideas, examples or thoughts?


Just I guess as I haven't tried this:

---
IF_INTERNET=eth0
IF_DMZ=eth1
IF_LAN=eth2

# allow ssh connections from LAN to us
iptables -A INPUT -i $IF_LAN -p tcp --dport 22 -j ACCEPT
# allow routing of ssh connections from LAN to DMZ hosts
iptables -A FORWARD -i $IF_LAN -o $IF_DMZ -p tcp --dport 22 -j ACCEPT
# deny all other ssh connections
iptables -A INPUT -p tcp --dport 22 -j DROP
iptables -A FORWARD -p tcp --dport 22 -j DROP
---

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



Re: [gentoo-user] mencoder did nothing all night at 100% CPU!

2006-08-11 Thread Uwe Thiem
On 10 August 2006 23:06, Iain Buchanan wrote:
> Hi all,
>
> I'm trying out mencoder to try a few different codecs and formats for 1.
> dvd authoring and 2. just compressing to keep on my HD.

For DVDs, try this:

mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd \
-vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 \
-lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:\
vbitrate=5000:keyint=15:acodec=ac3:abitrate=192:aspect=4/3 \
-ofps 25 -o outfile.mpeg infile


Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] burning audiocd with k3b

2006-08-11 Thread Arnau Bria
On Thu, 10 Aug 2006 09:51:45 -0700
Richard Fish wrote:

> On 8/10/06, Arnau Bria <[EMAIL PROTECTED]> wrote:
> > Track 19: audio   36 MB (03:36.56) no preemp swab copy
> > pregapsize:   0 Track 20: audio   44 MB (04:22.04) no preemp swab
> > copy pregapsize:   0 Total size:  786 MB (77:55.25) = 350644
> > sectors Lout start:  786 MB (77:57/19) = 350644 sectors
> 
> Have you tried to blank the cd first?
Yes, 
> -Richard
Thanks

-- 
Arnau Bria
http://blog.emergetux.net
Wiggum: Dispara a las ruedas Lou.
Lou: eee, es un tanque jefe.
Wiggum: Me tienes hartito con todas tus excusas.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] burning audiocd with k3b

2006-08-11 Thread Arnau Bria
On Thu, 10 Aug 2006 22:42:24 +0400
Alexander Kirillov wrote:

> > /usr/bin/cdrecord: A write error occured.
> > /usr/bin/cdrecord: Please properly read the error message above.
> > write track data: error after 3309696 bytes
> 
> Try to disable dma on this drive.
Mmmm... that looked good, as I was able to burn 280 MB, but failed
again:

 System
---
K3b Version: 0.12.14

KDE Version: 3.5.2
QT Version:  3.3.6
Kernel:  2.6.16-gentoo-r9
Devices
---
HL-DT-ST RW/DVD GCC-4481B E106 (/dev/hdc, ) at /mnt/cdrom [CD-R; CD-RW; CD-ROM; 
DVD-ROM] [DVD-ROM; CD-ROM; CD-R; CD-RW] [SAO; TAO; RAW; SAO/R96P; SAO/R96R; 
RAW/R16; RAW/R96P; RAW/R96R]

Used versions
---
cdrecord: 2.1.1a10

cdrecord
---
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
SCSI buffer size: 64512
Cdrecord-ProDVD-Clone 2.01.01a10 (i686-pc-linux-gnu) Copyright (C) 1995-2006 
Jörg Schilling
TOC Type: 0 = CD-DA
Using libscg version 'schily-0.8'.
Driveropts: 'burnfree'
atapi: 1
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   : 
Vendor_info: 'HL-DT-ST'
Identifikation : 'RW/DVD GCC-4481B'
Revision   : 'E106'
Device seems to be: Generic mmc2 DVD-ROM.
Current: CD-RW
Profile: CD-RW (current)
Profile: CD-R 
Profile: CD-ROM 
Profile: DVD-ROM 
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-2 SWABAUDIO BURNFREE 
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1793792 = 1751 KB
FIFO size  : 4194304 = 4096 KB
pregap1: -1
Track 01: audio   37 MB (03:43.17) no preemp swab copy
Track 02: audio   29 MB (02:55.86) no preemp swab copy
Track 03: audio   49 MB (04:52.40) no preemp swab copy
Track 04: audio   34 MB (03:27.10) no preemp swab copy
Track 05: audio   41 MB (04:05.24) no preemp swab copy
Track 06: audio   40 MB (03:58.72) no preemp swab copy
Track 07: audio   33 MB (03:17.80) no preemp swab copy
Track 08: audio   31 MB (03:05.42) no preemp swab copy
Track 09: audio   43 MB (04:15.64) no preemp swab copy
Track 10: audio   45 MB (04:31.54) no preemp swab copy
Track 11: audio   38 MB (03:46.98) no preemp swab copy
Track 12: audio   35 MB (03:33.81) no preemp swab copy
Track 13: audio   28 MB (02:51.92) no preemp swab copy
Track 14: audio   33 MB (03:21.85) no preemp swab copy
Track 15: audio   39 MB (03:57.12) no preemp swab copy
Track 16: audio   50 MB (04:59.89) no preemp swab copy
Track 17: audio   33 MB (03:18.30) no preemp swab copy
Track 18: audio   59 MB (05:53.84) no preemp swab copy
Track 19: audio   36 MB (03:36.56) no preemp swab copy
Track 20: audio   44 MB (04:22.04) no preemp swab copy
Total size:  792 MB (78:33.25) = 353494 sectors
Lout start:  793 MB (78:35/19) = 353494 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 3
  Reference speed: 6
  Is not unrestricted
  Is erasable
  Disk sub type: High speed Rewritable (CAV) media (1)
  ATIP start of lead in:  -11938 (97:22/62)
  ATIP start of lead out: 359849 (79:59/74)
  1T speed low:  4 1T speed high: 10
  2T speed low:  4 2T speed high:  0 (reserved val  6)
  power mult factor: 1 5
  recommended erase/write power: 5
  A1 values: 24 1A D8
  A2 values: 26 B2 4A
Disk type:Phase change
Manuf. index: 43
Manufacturer: Acer Media Technology, Inc.
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 6355
Starting to write CD/DVD at speed 16 in real TAO mode for single session.
Last chance to quit, starting real write in 3 seconds.
   2 seconds.
   1 seconds.
   0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is ON.
Performing OPC...
Starting new track at sector: 0
Track 01:0 of   37 MB written.
Track 01:1 of   37 MB written (fifo  81%) [buf  63%] 152.0x.
[...]
Track 01:   37 of   37 MB written (fifo 100%) [buf 100%]  16.5x.
Track 01: Total bytes read/written: 39367776/39367776 (16738 sectors).
Starting new track at sector: 16890
Track 02:0 of   29 MB written.
Track 02:1 of   29 MB written (fifo  81%) [buf  63%] 150.7x.
[...]
Track 02:   29 of   29 MB written (fifo 100%) [buf 100%]  16.6x.
Track 02: Total bytes read/written: 31022880/31022880 (13190 sectors).
Starting new track at sector: 30232
Track 03:0 of   49 MB written.
Track 03:1 of   49 MB written (fifo  81%) [buf  63%] 151.5x.
[...]
Track 03:   49 of   49 MB written (fifo 100%) [buf 100%]  16.4x.
Track 03: Total bytes read/written: 51579360/51579360 (21930 sectors).
Starting new track at sector: 52314
Track 04:0 of   34 MB written.
Track 04:1 of   34 MB written (fifo  81%) [buf  63%] 151.4x.
[...]
Track 04:   34 of   34 MB written (fifo  98%) [buf 100%]  16.1x.
Track 04: Total bytes read/written: 36533616/36533616 (15533 sectors).
Starting new track at sector: 67999
Track 05:0 of   41 MB

Re: [gentoo-user] burning audiocd with k3b

2006-08-11 Thread Arnau Bria
On Thu, 10 Aug 2006 13:02:42 -0400
PaulNM PaulNM wrote:

> It seems cdrecord comes across a write error after about 3 megs in. 
> Since this is a cd-rw, I'd suggest:
> 
> 1: Try recording a data project on that particular cd just to rule
> out cd problems. (Of course make sure the data files are at least 4
> megs. I'd go with at least 10-20 megs.)

I could do it, and I could burn 280 Mb.
 
> 2: K3B has an option to create the cd image before the actual burn,
> as opposed to on-the-fly.

The image ended fine
 
> 3: Try the simulate option.

It ended with new error. It burned 37 MB.

> 4: I'd also erase the cd through the menu option before actually
> trying any burns instead of letting k3b do it automatically.

Sure, and not just a fast erase
 
> 5: It also wouldn't hurt to re-emerge cdrecord, or even k3b, but I'd
> try the other things first.

I think it's my last option, but I don't belive it's going to help me...
 
> PaulNM

Thanks!
-- 
Arnau Bria
http://blog.emergetux.net
Wiggum: Dispara a las ruedas Lou.
Lou: eee, es un tanque jefe.
Wiggum: Me tienes hartito con todas tus excusas.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Throttling State won't change from command in Gentoo Power Management Guide

2006-08-11 Thread Richard Watson
Hi Tobias

$cpufreq-set -u 80 worked great but I finally settled on $cpufreq-set -g
ondemand.

Good tip, thanks Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: [Very OT] - Kill-A-Watt (240V Version) to measure my Gentoo Server Power Usage

2006-08-11 Thread Hamish Marson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dale wrote:
> Mike Williams wrote:
>> On Thursday 03 August 2006 19:27, James wrote:
>>
>>> The simplist solution is NOBODY puts a 240 VAC power supply
>>> into a computer unless it's going to draw some serious current
>>> (amps) thus by the nature of it being 240 VAC, you already know
>>>  it is a power hog.
>>>
>> Now, I'm not electrical engineer, but I know my way around a fuse
>> board and electricity having fitted out both our new offices for
>> power, network, and some walls.
>>
>> In the UK, and most (if not all) of Europe, Africa, and Asia too,
>> run on about 240 volts, 230 +-10% I think now. Pretty much the
>> whole world, except the Americas.
>>
>>
>
> Well, the USA has the same coming in too.  We have 220v to 240v
> coming in but that is split into different legs for the 110v to
> 120v stuff.
>

Unless those two legs are in phase, you're still only getting
110V-120V AC. IIRC (And it's from 20 years ago I'm working here) it's
not, it's just two legs of the 3 phase generated power. Which means
they're 120 deg out of phase, and so you still only get 110-120V. In
order to get 220-240V, you'd need 3 phase power.

I suspect you get two 110V lines because of current limitations. Not
to provide you with 220V which you'r enot going to get from just
adding two out of phase lines. (Unless of course the US has wired up
two in-phase separate 110V lines. In which case you can get 220V outof
it, but I seem to remember a lecture in Eng Sci saying it was common
to take 2 of 3 phases to a house in the US & alternate which 2 between
successive houses.

> If you are using transformers to reduce it from 220v to 110v, that
> will waste some energy right there.  Transformers are not real
> efficient.  If you touch it and it is warm, that is what you are
> wasting.  That will also make whatever you are cooling with work
> harder too.
>

Plus you need twice the current at 110V vs 220V. (Volts are big 'V'
BTW! Named after Voltaire). This means higher line losses as loss is
proportional to current. Higher line losses mean that cable length
becomes more of a problem. (A 10V drop in 240V is less than 5%. 10V
drop in 120V is almost 10%. Much more significant).

All-in-all I prefer 240V single phase.

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

iD8DBQFE3Ew5/3QXwQQkZYwRAlYaAJsGe3RCLAgWO6knje/rWXwD6S0irQCfcgsO
bkdH6utTMuvNYMUJ+5mEJmc=
=/bVW
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] burning audiocd with k3b

2006-08-11 Thread Arnau Bria
On Fri, 11 Aug 2006 10:00:18 +0200
Arnau Bria wrote:

> On Thu, 10 Aug 2006 22:42:24 +0400
> Alexander Kirillov wrote:
> 
> > > /usr/bin/cdrecord: A write error occured.
> > > /usr/bin/cdrecord: Please properly read the error message above.
> > > write track data: error after 3309696 bytes
> > 
> > Try to disable dma on this drive.
> Mmmm... that looked good, as I was able to burn 280 MB, but failed
> again:

I changed de CD-RW and had same problems.
Now I'm using CD-R and works fine...

Thanks to all for your replies.
-- 
Arnau Bria
http://blog.emergetux.net
Wiggum: Dispara a las ruedas Lou.
Lou: eee, es un tanque jefe.
Wiggum: Me tienes hartito con todas tus excusas.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: [Very OT] - Kill-A-Watt (240V Version) to measure my Gentoo Server Power Usage

2006-08-11 Thread Herman Grootaers
On Friday 11 August 2006 11:22, Hamish Marson wrote:
> Dale wrote:
> > Mike Williams wrote:
> >> On Thursday 03 August 2006 19:27, James wrote:
> >>> The simplist solution is NOBODY puts a 240 VAC power supply
> >>> into a computer unless it's going to draw some serious current
> >>> (amps) thus by the nature of it being 240 VAC, you already know
> >>>  it is a power hog.
> >>
> >> Now, I'm not electrical engineer, but I know my way around a fuse
> >> board and electricity having fitted out both our new offices for
> >> power, network, and some walls.
> >>
> >> In the UK, and most (if not all) of Europe, Africa, and Asia too,
> >> run on about 240 volts, 230 +-10% I think now. Pretty much the
> >> whole world, except the Americas.
> >
> > Well, the USA has the same coming in too.  We have 220v to 240v
> > coming in but that is split into different legs for the 110v to
> > 120v stuff.
>
> Unless those two legs are in phase, you're still only getting
> 110V-120V AC. IIRC (And it's from 20 years ago I'm working here) it's
> not, it's just two legs of the 3 phase generated power. Which means
> they're 120 deg out of phase, and so you still only get 110-120V. In
> order to get 220-240V, you'd need 3 phase power.

Safer to use a transformer 110V-220V which will lessen the danger of 
playing with two or three live wires, a misconnection can cause an 
outage with all sorts of problems generated, died disks and other 
apparatus.

> I suspect you get two 110V lines because of current limitations. Not
> to provide you with 220V which you'r enot going to get from just
> adding two out of phase lines. (Unless of course the US has wired up
> two in-phase separate 110V lines. In which case you can get 220V
> outof it, but I seem to remember a lecture in Eng Sci saying it was
> common to take 2 of 3 phases to a house in the US & alternate which 2
> between successive houses.
>
> > If you are using transformers to reduce it from 220v to 110v, that
> > will waste some energy right there.  Transformers are not real
> > efficient.  If you touch it and it is warm, that is what you are
> > wasting.  That will also make whatever you are cooling with work
> > harder too.
>
> Plus you need twice the current at 110V vs 220V. (Volts are big 'V'
> BTW! Named after Voltaire). 

Sorry, the french writer Voltaire was not dabbling in science. It was 
Alessandro Guiseppe Antonio Volta who detected the reaction of 
different metals on the muscles of a hindlegs of a frog and build the 
first electric battery from that detection.

> This means higher line losses as loss is proportional to current.
> Higher line losses mean that cable length becomes more of a problem.
> (A 10V drop in 240V is less than 5%. 10V drop in 120V is almost 10%.
> Much more significant).   
>
> All-in-all I prefer 240V single phase.
>

So do I, although in itself that voltage is deadly
-- 
Herman Grootaers
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: [Very OT] - Kill-A-Watt (240V Version) to measure my Gentoo Server Power Usage

2006-08-11 Thread Dale
Hamish Marson wrote:
> Dale wrote:
> >> Mike Williams wrote:
> >>> On Thursday 03 August 2006 19:27, James wrote:
> >>>
>  The simplist solution is NOBODY puts a 240 VAC power supply
>  into a computer unless it's going to draw some serious current
>  (amps) thus by the nature of it being 240 VAC, you already know
>   it is a power hog.
> 
> >>> Now, I'm not electrical engineer, but I know my way around a fuse
> >>> board and electricity having fitted out both our new offices for
> >>> power, network, and some walls.
> >>>
> >>> In the UK, and most (if not all) of Europe, Africa, and Asia too,
> >>> run on about 240 volts, 230 +-10% I think now. Pretty much the
> >>> whole world, except the Americas.
> >>>
> >>>
> >> Well, the USA has the same coming in too.  We have 220v to 240v
> >> coming in but that is split into different legs for the 110v to
> >> 120v stuff.
> >>
>
> Unless those two legs are in phase, you're still only getting
> 110V-120V AC. IIRC (And it's from 20 years ago I'm working here) it's
> not, it's just two legs of the 3 phase generated power. Which means
> they're 120 deg out of phase, and so you still only get 110-120V. In
> order to get 220-240V, you'd need 3 phase power.
>
> I suspect you get two 110V lines because of current limitations. Not
> to provide you with 220V which you'r enot going to get from just
> adding two out of phase lines. (Unless of course the US has wired up
> two in-phase separate 110V lines. In which case you can get 220V outof
> it, but I seem to remember a lecture in Eng Sci saying it was common
> to take 2 of 3 phases to a house in the US & alternate which 2 between
> successive houses.

The two lines are out of phase.  Here, big things like air conditioners,
stoves, dryers and central heat run off the 220 or 240v wires.  Small
things like lights, hair dryers, fans and even small window air
conditioners run off the 110 or 120v lines.  In most places here, 3
phase is not available unless you are in a area that has large factories
or are in a city.  Here the black and white wires are 120v, the red and
black wires are 220 or 240v.  Also note, you can tell the power company
which one you want when you get them to put up your pole.  We had 220v
for years.  When the transformer went out I asked for 240V.  With a
light load we actually get about 248v or so.  When something like the
A/C turns on it will drop to about 240v or so.  It stays pretty stable
after that though.  Keep in mind that light bulbs blow faster at the
higher voltage.  At the same time A/C compressors run a lot more efficient.
>
> >> If you are using transformers to reduce it from 220v to 110v, that
> >> will waste some energy right there.  Transformers are not real
> >> efficient.  If you touch it and it is warm, that is what you are
> >> wasting.  That will also make whatever you are cooling with work
> >> harder too.
> >>
>
> Plus you need twice the current at 110V vs 220V. (Volts are big 'V'
> BTW! Named after Voltaire). This means higher line losses as loss is
> proportional to current. Higher line losses mean that cable length
> becomes more of a problem. (A 10V drop in 240V is less than 5%. 10V
> drop in 120V is almost 10%. Much more significant).
>
> All-in-all I prefer 240V single phase.
>
> H

As far as being efficient with power usage, me two.  I have a friend
that uses some heavy equipment and some of them are 480v.  They put out
a lot more horsepower but they run very cool because the current draw is
so small. 

We here would likely be better off if we did use 220v like other
countries but it would take us years to convert things over. 

Dale
:-) 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: [Very OT] - Kill-A-Watt (240V Version) to measure my Gentoo Server Power Usage

2006-08-11 Thread Nagatoro

Herman Grootaers wrote:

On Friday 11 August 2006 11:22, Hamish Marson wrote:

All-in-all I prefer 240V single phase.


So do I, although in itself that voltage is deadly


When combined with a high enough current...

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



[gentoo-user] VMware and KDE with HAL support

2006-08-11 Thread Robert Szentmihalyi
Hi,

I keep getting this very often:
 ~ $ vmware
libhal.c 644 : Error connecting to system bus: No reply within specified time
libhal.c 644 : Error connecting to system bus: No reply within specified time
 ~ $ 

VMware won't start whenever this happens. In fact it  does more often than 
not...
Has anyone experienced this?

TIA,
 Robert
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: [Very OT] - Kill-A-Watt (240V Version) to measure my Gentoo Server Power Usage

2006-08-11 Thread Alan Mckinnon
On Fri, 2006-08-11 at 12:24 +0200, Nagatoro wrote:
> Herman Grootaers wrote:
> > On Friday 11 August 2006 11:22, Hamish Marson wrote:
> >> All-in-all I prefer 240V single phase.
> > 
> > So do I, although in itself that voltage is deadly
> 
> When combined with a high enough current...

The current drawn through a conductor (in this case a live body) is
determined by the voltage, and the resistance of the body itself. Basic,
elementary Ohms law. A live body will draw something in the order of 100
mA from 240V ac (assuming the power source can deliver that current, we
can assume it will as this is mains after all).

The point is that even if the power station can generate 14 brazillion
quadrillion amps and the wires to your house can carry it without
melting, you will still only have 100mA going through your body if you
happen to get shocked.

The power source delivers the volts and th4e sink doesn't get to change
that. The sink draws the current and the source doesn't get to change
that.

alan


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: [Very OT] - Kill-A-Watt (240V Version) to measure my Gentoo Server Power Usage

2006-08-11 Thread Naga
On Friday 11 August 2006 13:26, Alan Mckinnon wrote:
> On Fri, 2006-08-11 at 12:24 +0200, Nagatoro wrote:
> > Herman Grootaers wrote:
> > > On Friday 11 August 2006 11:22, Hamish Marson wrote:
> > >> All-in-all I prefer 240V single phase.
> > >
> > > So do I, although in itself that voltage is deadly
> >
> > When combined with a high enough current...
>
> The current drawn through a conductor (in this case a live body) is
> determined by the voltage, and the resistance of the body itself.

And in this case the surface that the body is in contact with.

I other words don't stand in water when you get the shock (but rubber shoes 
should work) :)

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



Re: [gentoo-user] Is the best solution still NIS+NFS?

2006-08-11 Thread Leandro Melo de Sales

OK. And about NFS? Is still the best one for file share proposes? What
about CIFS?

[]s
Leandro

2006/8/11, Donnie Berkholz <[EMAIL PROTECTED]>:

Leandro Melo de Sales wrote:
> Hi list,
>
>  few years later I setup a environment which shares the /home using
> NFS for the users and the authentication method was NIS. Is this still
> the best solution?
>  My current environment is based on LDAP where all services use it. I
> configured PAM+NSSwitch, Postfix, and so on. Now, I want linux client
> workstations be authenticated remotely on my LDAP server and mount the
> users home. What do you recommend?

You can use LDAP + pam_ldap for auth, I think there's a guide on gentoo.org.

Thanks,
Donnie
--
gentoo-user@gentoo.org mailing list



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Is the best solution still NIS+NFS?

2006-08-11 Thread Meino Christian Cramer
Hi,

 from time to time when shutdown is nearly complete (right before the
 system's power goes down) udev spits a lot of messages onto the
 console.

 It way to fast to notice anything. I recognized only, that udev is
 the one with the "famous last words".

 I checked the file below /var/log for anything useful, but founnd
 nothing. 

 Does anyone have any idea, what is triggering this "cry of the udev"
 and what is going wrong there ?

 Thank you very much for any help in advance!

 Keep hacking!
 mcc
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] udev hickup

2006-08-11 Thread Meino Christian Cramer
From: Meino Christian Cramer <[EMAIL PROTECTED]>
Subject: Re: [gentoo-user] Is the best solution still NIS+NFS?
Date: Fri, 11 Aug 2006 16:03:58 +0200 (CEST)

(ooops...sorry...wrong subject...)

 Hi,
 
  from time to time when shutdown is nearly complete (right before the
  system's power goes down) udev spits a lot of messages onto the
  console.
 
  It way to fast to notice anything. I recognized only, that udev is
  the one with the "famous last words".
 
  I checked the file below /var/log for anything useful, but founnd
  nothing. 
 
  Does anyone have any idea, what is triggering this "cry of the udev"
  and what is going wrong there ?
 
  Thank you very much for any help in advance!
 
  Keep hacking!
  mcc
 -- 
 gentoo-user@gentoo.org mailing list
 
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Is the best solution still NIS+NFS?

2006-08-11 Thread Sven Köhler
>  few years later I setup a environment which shares the /home using
> NFS for the users and the authentication method was NIS. Is this still
> the best solution?
>  My current environment is based on LDAP where all services use it. I
> configured PAM+NSSwitch, Postfix, and so on. Now, I want linux client
> workstations be authenticated remotely on my LDAP server and mount the
> users home. What do you recommend?

My university uses LDAP + AFS.

AFS seems quite complicated though ...



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Removing unneeded libraries

2006-08-11 Thread JC Denton
Hi!Does "eclean" or "emerge --depclean" remove libs that are orphaned? And if not, how can I find out if a lib could be removed from the system?The problem is, that my /usr/lib/... and /usr/include/ almost 1 GB in size! I think there is a lot of unneccessary stuff Regards, JC! 
		NEU: Fragen stellen - Wissen, Meinungen und Erfahrungen teilen. Jetzt auf Yahoo! Clever.

Re: [gentoo-user] Re: [Very OT] - Kill-A-Watt (240V Version) to measure my Gentoo Server Power Usage

2006-08-11 Thread Alan Mckinnon
On Fri, 2006-08-11 at 13:44 +0200, Naga wrote:
> On Friday 11 August 2006 13:26, Alan Mckinnon wrote:

> > The current drawn through a conductor (in this case a live body) is
> > determined by the voltage, and the resistance of the body itself.
> 
> And in this case the surface that the body is in contact with.
> 
> I other words don't stand in water when you get the shock (but rubber shoes 
> should work) :)

On a side note, when I was still fixing things for a living I used to
demonstrate to new trainees how current flow actually worked by
deliberately touching the mains live on a running tv set in complete
safety. Very very very few of them figured it out :-) The secret:

- use one finger of one hand
- wooden workbench
- shoes

alan


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Removing unneeded libraries

2006-08-11 Thread Hans-Werner Hilse
Hi,

On Fri, 11 Aug 2006 17:10:47 +0200 (CEST) JC Denton
<[EMAIL PROTECTED]> wrote:

> Does "eclean" or "emerge --depclean" remove libs that are orphaned?
> And if not, how can I find out if a lib could be removed from the
> system?

"emerge --depclean" does. Orphaned meaning "installed as a dependency
of something that is itself already deinstalled" (i.e. not in the
world-file). Be sure to check the list with "-p" before really doing
this!

> The problem is, that my /usr/lib/... and /usr/include/ almost 1 GB in
> size! I think there is a lot of unneccessary stuff 

Hm, I don't think so. Mine is similar: about 950MB. OpenOffice takes
370MB (it's the -bin version, it includes a lot of redundant
libraries). My GCCs take about 200MB (including java support). Then
there's Perl, 2x Python, 2x PHP and Wine's archive of windows DLLs. So
I think about 1G is quite normal for a typical desktop.

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



Re: [gentoo-user] Removing unneeded libraries

2006-08-11 Thread Dale
JC Denton wrote:
> Hi!
>
> Does "eclean" or "emerge --depclean" remove libs that are orphaned?
> And if not, how can I find out if a lib could be removed from the system?
>
> The problem is, that my /usr/lib/... and /usr/include/ almost 1 GB in
> size! I think there is a lot of unneccessary stuff
>
>
> Regards, JC!
>
> 
> NEU: Fragen stellen - Wissen, Meinungen und Erfahrungen teilen. Jetzt
> auf Yahoo! Clever
> .


Mine is 1.1GBs here.  I have a lot of "stuff" installed.  ;-)

Dale
:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Is the best solution still NIS+NFS?

2006-08-11 Thread Donnie Berkholz
Leandro Melo de Sales wrote:
> OK. And about NFS? Is still the best one for file share proposes? What
> about CIFS?

NFSv3 over TCP is pretty solid, but if you're in a mixed Windows-Linux
environment you might want to look into CIFS.

Thanks,
Donnie



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Vitesse VSC8601 Lan support

2006-08-11 Thread Helge Kaltenbach

Hi everyone,


just wanted to check if anyone knows if there is a linux driver out for 
that gigabit lan chip...didnt find a lot with google.

its on my msi k9n neo f mainboard..

so if anyone knows how to get that lan controller running, let me know.
otherwise i'll get a dlink lan card tomorrow

thx in advance

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



[gentoo-user] samba log hell

2006-08-11 Thread reader
I'm having a time getting samba working after having it working for
mnths.  I did do a major update world.  At the end when adjusting
files under /etc/  I rejected the new smb.conf keeping my old config
which is still in place.

It seems something has suddenly chagned whereby I cannot access any
linux shares from windows.

Attempting to get some details of the failure from the logs seem
fruitless since the log output is literally huge and nothing stands
out with big letters `error'.

I'm just not prepared to understand 670 lines of output for one
connection attempt.

And that is with `log level' cranked down to 3.

The following area seems to be important but even this small chunk
defies understanding far as I can see:

The `Sid' lines seem to be telling something but who knows what.  Then
finally it shows a ACCESS_DENIED.

reader and Harry are the only two authorized users
What provoked this piece of log is an attempt from machine `harvey' to
login to samba share on machine `reader'.  The incoming user is also
`reader'.

[...]
[2006/08/11 13:38:11, 3] lib/util_sid.c:string_to_sid(223)
  string_to_sid: Sid reader does not start with 'S-'.
[2006/08/11 13:38:11, 3] lib/util_sid.c:string_to_sid(223)
  string_to_sid: Sid Harry does not start with 'S-'.
[2006/08/11 13:38:11, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2006/08/11 13:38:11, 3] smbd/uid.c:push_conn_ctx(345)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2006/08/11 13:38:11, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/08/11 13:38:11, 3] smbd/sec_ctx.c:pop_sec_ctx(339)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/08/11 13:38:11, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2006/08/11 13:38:11, 3] smbd/uid.c:push_conn_ctx(345)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2006/08/11 13:38:11, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/08/11 13:38:11, 3] smbd/sec_ctx.c:pop_sec_ctx(339)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/08/11 13:38:11, 2] smbd/service.c:make_connection_snum(571)
  user 'reader' (from session setup) not permitted to access this share 
(smReader)
[2006/08/11 13:38:11, 3] smbd/error.c:error_packet(146)
  error packet at smbd/reply.c(676) cmd=117 (SMBtconX) NT_STATUS_ACCESS_DENIED
[2006/08/11 13:38:11, 3] smbd/process.c:process_smb(1110)
  Transaction 4 of length 43
[2006/08/11 13:38:11, 3] smbd/process.c:switch_message(914)
  switch message SMBulogoffX (pid 4834) conn 0x0
[2006/08/11 13:38:11, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/08/11 13:38:11, 3] smbd/reply.c:reply_ulogoffX(1618)
  ulogoffX vuid=101
[2006/08/11 13:38:11, 3] smbd/process.c:timeout_processing(1359)
  timeout_processing: End of file from client (client has disconnected).
[2006/08/11 13:38:11, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/08/11 13:38:11, 3] smbd/connection.c:yield_connection(69)
  Yielding connection to 
[2006/08/11 13:38:11, 3] smbd/server.c:exit_server_common(675)
  Server exit (normal exit)
[2006/08/11 13:38:11, 3] auth/auth.c:check_ntlm_password(221)
  check_ntlm_password:  Checking password for unmapped user [EMAIL PROTECTED] 
with the new password interface

[...]

Then about 60 more lines and I see:

[2006/08/11 14:05:19, 3] auth/auth.c:check_ntlm_password(270)
  check_ntlm_password: sam authentication for user [reader] succeeded

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] What is available besides samba

2006-08-11 Thread reader
For easy fast comunication between winxp and linux machines, is there
anything other than samba the works reliably.

The reason I ask is that I've run into a problem suddenly where none
of my win XP boxes can access shares on a linux box.  Trying to debug
this I see such a confusing mess in the logs as to not even get a clue
where the problem may be, or if it is with some other authentication
such as pam or what.

I've posted elsewhere with some details of the problem I see but
asking in this post and thread if there are other options that may not
be so rife with worthless non-informative log output and therefor be
easier to fix if it breaks.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Is the best solution still NIS+NFS?

2006-08-11 Thread reader
Donnie Berkholz <[EMAIL PROTECTED]> writes:

> Leandro Melo de Sales wrote:
>> OK. And about NFS? Is still the best one for file share proposes? What
>> about CIFS?
>
> NFSv3 over TCP is pretty solid, but if you're in a mixed Windows-Linux
> environment you might want to look into CIFS.

But when the direction is windows => linux.  How does cifs come into play?

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] kpowersave doesnt rec battery

2006-08-11 Thread Michael W. Holdeman
Kpowersave has been working fine, but suddenly doesn't recognize my battery is 
there? Anyone else have this?

/proc/acpi/battery/state shows correct info.

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



Re: [gentoo-user] IP Masquerading hardware, crossover versus hub

2006-08-11 Thread Paulo Roberto Candido dos Santos
This is obligatory,,,I named the servers of my company after Dune's Great Houses ... but I'm geting out of names :(There is harkonnen, corrino, atreides, richese, vernius and even ordos. I'm escaping the pattern using names as "fremen" and "omnius".
On 8/10/06, Jure Varlec <[EMAIL PROTECTED]> wrote:
On Thursday 10 August 2006 05:22, Iain Buchanan wrote:> Go not to gentoo-user for council, for they will say both hub and no> hub.I say switch :P--Jure Varlec



[gentoo-user] Re: chm file on a console?

2006-08-11 Thread Anno v. Heimburg
Boris Sobolev wrote:

> Does anyone know a way or a program to view .chm files on console?
> Searched pretty hard to no avail. Please don't mention xchm.

Well, there's chmlib, which comes with a tool to extract files from the chm,
and archmage, which uses chmlib to make chm readable via apache (which then
could be, presumably, be viewed with a console web browser such as w3m).
Then, there's also something called chmtools.

I didn't test or even try to install any of these programs, it's just the
result of a short search, but it should give you some pointers for
alternatives to xchm.

Anno.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Is the best solution still NIS+NFS?

2006-08-11 Thread Anno v. Heimburg
[EMAIL PROTECTED] wrote:
> But when the direction is windows => linux.  How does cifs come into play?

I don't quite get your question. CIFS/SMB is what Windows uses for its
network shares. Using samba, Linux can both share and mount* CIFS volumes.

Anno

*) For mounting, you have to also compile SMB support into the kernel.





-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Is the best solution still NIS+NFS?

2006-08-11 Thread reader
"Anno v. Heimburg" <[EMAIL PROTECTED]> writes:

> [EMAIL PROTECTED] wrote:
>> But when the direction is windows => linux.  How does cifs come into play?
>
> I don't quite get your question. CIFS/SMB is what Windows uses for its
> network shares. Using samba, Linux can both share and mount* CIFS volumes.

Oh sorry I was laboring under the notion smb disn not include cifs.
My mistake.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] udev hickup

2006-08-11 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Meino Christian Cramer wrote:
> From: Meino Christian Cramer <[EMAIL PROTECTED]>
> Subject: Re: [gentoo-user] Is the best solution still NIS+NFS?
> Date: Fri, 11 Aug 2006 16:03:58 +0200 (CEST)
>
> (ooops...sorry...wrong subject...)
And wrong thread.

- --
gentux
echo "hfouvyyAhnbjm/dpn" | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint ==> 5495 0388 67FF 0B89 1239  D840 4CF0 39E2
18D3 4A9E
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFE3Pc7TPA54hjTSp4RAuaMAKDat4XENCPgxrcIaLi9wXzwzvgImwCg4yvO
4Tp31/Ormk9sIjzQ/IwnvkA=
=cGNX
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: OT: iptables mac filtering

2006-08-11 Thread James
Richard Fish  asmallpond.org> writes:

> > I need a rule on the 3 (nic) interface firewall so that only
> > ssh from the LAN is allowed to the firewall or sytems (web
> > server, mail dns) in the DMZ. Only one static ip is routable
> > to this site. SSH from the outside should be completely blocked.

> # allow ssh connections from LAN to us
> iptables -A INPUT -i $IF_LAN -p tcp --dport 22 -j ACCEPT
> # allow routing of ssh connections from LAN to DMZ hosts
> iptables -A FORWARD -i $IF_LAN -o $IF_DMZ -p tcp --dport 22 -j ACCEPT
> # deny all other ssh connections
> iptables -A INPUT -p tcp --dport 22 -j DROP
> iptables -A FORWARD -p tcp --dport 22 -j DROP


Richard,

These rules worked like a charm. I had something similar, but had
the syntax messed up.
thx.

Now I have ONE big problem.
Spammers. (I think).

Running a sniffer between my firewall and the cable box's
ethernet (single static IP),
I see:

hackIP   myIP  TCP   smtp > 55634 (RST,ACK) Seq=0 ACK=1 WIN=0 LEN=0 MSS=1460
myIP hackIPTCP   55634 > smtp  (SYN) Seq=0 ACK=1 WIN=0 LEN=0
hackIP   myIP  TCP   smtp > 55634 (RST,ACK) Seq=0 ACK=1 WIN=0 LEN=0 MSS=1460
myIP hackIPTCP   55634 > smtp  (SYN) Seq=0 ACK=1 WIN=0 LEN=0
hackIP   myIP  TCP   smtp > 55634 (RST,ACK) Seq=0 ACK=1 WIN=0 LEN=0 MSS=1460
myIP hackIPTCP   55634 > smtp  (SYN) Seq=0 ACK=1 WIN=0 LEN=0

Last night I saw this for a while and then a storm of smtp traffic.
This site does not even run a mail server and all systems where 
shutdown except for the firewall and the sniffer.

This explains why this site is listed as a spammer site...
Somebody has been reflecting email off of this site for some time,
I suspect.

Got any idea for a (iptables) syntax to stop this?   Do I need to
reinstall the sysetm (gentoo-hardened firewall)???

thoughts and ideas are welcome.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: [Very OT] - Kill-A-Watt (240V Version) to measure my Gentoo Server Power Usage

2006-08-11 Thread Richard Fish

On 8/11/06, Dale <[EMAIL PROTECTED]> wrote:

We here would likely be better off if we did use 220v like other
countries but it would take us years to convert things over.


Yep, and we would have to start by converting to plugs that didn't
encourage us to electrocute ourselves every time we plug in our
laptops!

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



Re: [gentoo-user] Re: OT: iptables mac filtering

2006-08-11 Thread Richard Fish

On 8/11/06, James <[EMAIL PROTECTED]> wrote:

myIP hackIPTCP   55634 > smtp  (SYN) Seq=0 ACK=1 WIN=0 LEN=0
hackIP   myIP  TCP   smtp > 55634 (RST,ACK) Seq=0 ACK=1 WIN=0 LEN=0 MSS=1460


Assuming you haven't mixed up the myIP and hackIP parts, this means
something on *your* system/network is trying to contact an smtp server
on what you are calling hackIP.  TCP/IP connections are initiated with
a SYN packet.  If they are accepted, you get a SYN,ACK packet back.
If they are rejected, you get a RST,ACK back.

Running 'host ' might prove enlightening.

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



Re: [gentoo-user] Re: [Very OT] - Kill-A-Watt (240V Version) to measure my Gentoo Server Power Usage

2006-08-11 Thread Ow Mun Heng
On Fri, 2006-08-11 at 15:07 -0700, Richard Fish wrote:
> On 8/11/06, Dale <[EMAIL PROTECTED]> wrote:
> > We here would likely be better off if we did use 220v like other
> > countries but it would take us years to convert things over.
> 
> Yep, and we would have to start by converting to plugs that didn't
> encourage us to electrocute ourselves every time we plug in our
> laptops!

coming from a country where you have to explicitly switch on the plugs
just so that 
electricity _will_ flow, seeing the US styled plugs really frigthens me.

I wonder how this passed through OHSA inspections.
-- 
Ow Mun Heng <[EMAIL PROTECTED]>

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Removing unneeded libraries

2006-08-11 Thread Richard Fish

On 8/11/06, JC Denton <[EMAIL PROTECTED]> wrote:

Does "eclean" or "emerge --depclean" remove libs that are orphaned?


Yes, provided you have not modified the files yourself.


The problem is, that my /usr/lib/... and /usr/include/ almost 1 GB in size!


Sounds about right, but this command will generate a list of all
library files that portage things should be installed:

find /var/db/pkg/ -name CONTENTS | xargs grep /usr/lib/lib | awk '{
print $2 }' | sort

You can diff that with the output of "ls /usr/lib/lib*" to see what
may be there that portage doesn't know about.

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



Re: [gentoo-user] What is available besides samba

2006-08-11 Thread Michael Crute

On 8/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

For easy fast comunication between winxp and linux machines, is there
anything other than samba the works reliably.


HTTP
FTP
DAV
Samba
SSH/SCP
(probably others too)

Take your pick. Though as far as I know the only one Windows can
actually mount (as a drive) is Samba.

-Mike


--

Michael E. Crute
http://mike.crute.org

I may not have gone where I intended to go, but I think I have ended
up where I intended to be. --Douglas Adams
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: What is available besides samba

2006-08-11 Thread reader
"Michael Crute" <[EMAIL PROTECTED]> writes:

> On 8/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> For easy fast comunication between winxp and linux machines, is there
>> anything other than samba the works reliably.
>
> HTTP
> FTP
> DAV
> Samba
> SSH/SCP
> (probably others too)
>
> Take your pick. Though as far as I know the only one Windows can
> actually mount (as a drive) is Samba.

Thanks, yes, of course their are those.  I should have defined what I
meant a bit better.
Is there a tool out there that allows a windows user to access linux
directories with an explorer like interface, or in some fairly
seemless way so that linux machines show up in `network places' or
something similar.

Something like an nfs for windows I guess.  I've seen that very thing
but it was an ancient non-developed app.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: What is available besides samba

2006-08-11 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
> "Michael Crute" <[EMAIL PROTECTED]> writes:
>
>> On 8/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>> For easy fast comunication between winxp and linux machines, is there
>>> anything other than samba the works reliably.
>> HTTP
>> FTP
>> DAV
>> Samba
>> SSH/SCP
>> (probably others too)
>>
>> Take your pick. Though as far as I know the only one Windows can
>> actually mount (as a drive) is Samba.
>
> Thanks, yes, of course their are those.  I should have defined what I
> meant a bit better.
> Is there a tool out there that allows a windows user to access linux
> directories with an explorer like interface, or in some fairly
> seemless way so that linux machines show up in `network places' or
> something similar.
>
> Something like an nfs for windows I guess.  I've seen that very thing
> but it was an ancient non-developed app.
>
I haven't messed with it at all, but supposedly the Microsoft Services
for UNIX (SFU) is supposed to have NFS capabilities.

- --
gentux
echo "hfouvyyAhnbjm/dpn" | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint ==> 5495 0388 67FF 0B89 1239  D840 4CF0 39E2
18D3 4A9E
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFE3Rv5TPA54hjTSp4RAruuAJ91atD5d6+kIH+flbgqQ+3Gk0ZMygCg3tIC
F1Gz8+uYx1YKteY3F7tTLWM=
=X0b7
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: What is available besides samba

2006-08-11 Thread Quag7
On Fri, 2006-08-11 at 18:29 -0500, [EMAIL PROTECTED] wrote:
> "Michael Crute" <[EMAIL PROTECTED]> writes:
> 
> > On 8/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >> For easy fast comunication between winxp and linux machines, is there
> >> anything other than samba the works reliably.
> >
> > HTTP
> > FTP
> > DAV
> > Samba
> > SSH/SCP
> > (probably others too)
> >
> > Take your pick. Though as far as I know the only one Windows can
> > actually mount (as a drive) is Samba.
> 
> Thanks, yes, of course their are those.  I should have defined what I
> meant a bit better.
> Is there a tool out there that allows a windows user to access linux
> directories with an explorer like interface, or in some fairly
> seemless way so that linux machines show up in `network places' or
> something similar.
> 
> Something like an nfs for windows I guess.  I've seen that very thing
> but it was an ancient non-developed app.


There's something called CIFS in the kernel, but I haven't used it yet.
It is apparently based on SMB and extends it.

It may be worth a try.

Has anyone else used this?

 -C

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: What is available besides samba

2006-08-11 Thread reader
gentuxx <[EMAIL PROTECTED]> writes:

>> Something like an nfs for windows I guess.  I've seen that very thing
>> but it was an ancient non-developed app.
>>
> I haven't messed with it at all, but supposedly the Microsoft Services
> for UNIX (SFU) is supposed to have NFS capabilities.

I installed that once mnths, maybe years ago but all I remember is
that is was an enormous pita to do anything with.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: What is available besides samba

2006-08-11 Thread Paulo Roberto Candido dos Santos
As far as I know, Windows XP and newer versions of Windows prefer CIFS over SMB. You can't even access a Win2k3 share with samba without CIFS or disabling a server signing in the Win2k3 server.
On 8/11/06, Quag7 <[EMAIL PROTECTED]> wrote:
On Fri, 2006-08-11 at 18:29 -0500, [EMAIL PROTECTED] wrote:> "Michael Crute" <[EMAIL PROTECTED]> writes:>> > On 8/11/06, 
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:> >> For easy fast comunication between winxp and linux machines, is there
> >> anything other than samba the works reliably.> >> > HTTP> > FTP> > DAV> > Samba> > SSH/SCP> > (probably others too)> >> > Take your pick. Though as far as I know the only one Windows can
> > actually mount (as a drive) is Samba.>> Thanks, yes, of course their are those.  I should have defined what I> meant a bit better.> Is there a tool out there that allows a windows user to access linux
> directories with an explorer like interface, or in some fairly> seemless way so that linux machines show up in `network places' or> something similar.>> Something like an nfs for windows I guess.  I've seen that very thing
> but it was an ancient non-developed app.There's something called CIFS in the kernel, but I haven't used it yet.It is apparently based on SMB and extends it.It may be worth a try.Has anyone else used this?
 -C--gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Re: What is available besides samba

2006-08-11 Thread Greg Bengeult




Quag7 wrote:

  On Fri, 2006-08-11 at 18:29 -0500, [EMAIL PROTECTED] wrote:
  
  
"Michael Crute" <[EMAIL PROTECTED]> writes:



  On 8/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
  
  
For easy fast comunication between winxp and linux machines, is there
anything other than samba the works reliably.

  
  HTTP
FTP
DAV
Samba
SSH/SCP
(probably others too)

Take your pick. Though as far as I know the only one Windows can
actually mount (as a drive) is Samba.
  

Thanks, yes, of course their are those.  I should have defined what I
meant a bit better.
Is there a tool out there that allows a windows user to access linux
directories with an explorer like interface, or in some fairly
seemless way so that linux machines show up in `network places' or
something similar.

Something like an nfs for windows I guess.  I've seen that very thing
but it was an ancient non-developed app.

  
  

There's something called CIFS in the kernel, but I haven't used it yet.
It is apparently based on SMB and extends it.

It may be worth a try.

Has anyone else used this?

 -C

  

Samba is CIFS is Samba.  CIFS has been around in various forms since
the early 90's.  The Samba team based much of their work on the
different CIFS implementations put out by Microsoft over the years.

GB



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] samba log hell

2006-08-11 Thread Richard Fish

On 8/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

I'm having a time getting samba working after having it working for
mnths.  I did do a major update world.  At the end when adjusting
files under /etc/  I rejected the new smb.conf keeping my old config
which is still in place.


That was probably a mistake...my experience with the samba ebuild is
that it doesn't want to install it's own private copy of the
configuration, but a modified version of the existing config.  So it
is usually an indicator that something important has changed in the
configuration.


[2006/08/11 13:38:11, 2] smbd/service.c:make_connection_snum(571)
  user 'reader' (from session setup) not permitted to access this share 
(smReader)
[2006/08/11 13:38:11, 3] smbd/error.c:error_packet(146)
  error packet at smbd/reply.c(676) cmd=117 (SMBtconX) NT_STATUS_ACCESS_DENIED


My interpretation of this is that the authentication part went fine,
but this user is not allowed to access the share.  I think we'll need
to see your smb.conf file to make sense of this.  It would also help
to know what version of samba you are running, and what use flags you
merged it with.

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



Re: [gentoo-user] IBM Workpad Z50, which gentoo list should I write to?

2006-08-11 Thread nick thompson

Michael Crute wrote:

On 8/7/06, nick thompson <[EMAIL PROTECTED]> wrote:

Hi. I have an IBM workpad z50, and I am curious if there is a gentoo
port that could possibly run on it. If not, what can I do to get one
started? Also, if there is a better list to ask on, please let me know.


You may want to ask the question on gentoo-laptop too, but this
question is OK here too. I would suggest you take a look at the Gentoo
MIPS page [1] though I would imagine that its going to be hard to find
anything that is going to fit well onto a 16MB ram disk that was
designed to be a thin client. Even so... a google for linux 16mb ram
turns up some interesting and promising results [2][3]

[1] http://www.gentoo.org/proj/en/base/mips/index.xml
[2] http://www.linuxlinks.com/Distributions/Mini_Distributions/
[3] http://jailbait.sourceforge.net/

-Mike

I actually have 48 mb of ram in the z50, and it runs netbsd just fine, I 
was just wondering if there had ever been any progress past the linux-vr 
stuff that ran on it but didn't support more than 16 ram, I think this 
was stuff happening around 2000... anyway, just hoping someone might 
have an idea.


Mike, thanks for the links..

Nick

"All unix, all the time."

http://npt.ath.cx
--
gentoo-user@gentoo.org mailing list



[gentoo-user] php compilation problem

2006-08-11 Thread Vesselin Mladenov

Hi,

I am tyring to compile dev-lang/php-4.4.2-r6 but unfortunatelly I
bumped into a weird problem.
I followe the php upgrade instructions form gentoo site. Everything
compiles, but Sablotron library is not detected properly from the php
configure script during emerge:

checking whether to enable xslt support... yes, shared
checking for XSLT Sablotron backend... shared
checking for libexpat dir for Sablotron XSL support... no
checking for iconv dir for Sablotron XSL support... no
checking for JavaScript for Sablotron XSL support... no
checking for Sablotron libraries in the default path... found in /usr
checking for sablot-config... found
checking for Sablotron version... >= 0.96
checking for iconv... (cached) yes
checking for SablotSetEncoding in -lsablot... no
checking for SablotGetOptions in -lsablot... no
---
This way I get "Fatal error: Call to undefined function:
xslt_set_encoding()" as xslt_set_encoding() is wrapper arround
SablotSetEncoding.

I checked my previousely installed(emerged) /usr/lib/libsablot.so.0.100.1:
---
objdump -t /usr/lib/libsablot.so.0.100.1 | grep SablotSetEncoding
0006e020 g F .text  006e  SablotSetEncoding

objdump -t /usr/lib/libsablot.so.0.100.1 | grep SablotGetOptions
0006ce40 g F .text  0021  SablotGetOptions
---

Can someone advise me what to do?
Thank you in advance.
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: OT: iptables mac filtering

2006-08-11 Thread James
Richard Fish  asmallpond.org> writes:


> On 8/11/06, James  tampabay.rr.com> wrote:
> > myIP hackIPTCP   55634 > smtp  (SYN) Seq=0 ACK=1 WIN=0 LEN=0
> > hackIP   myIP  TCP   smtp > 55634 (RST,ACK) Seq=0 ACK=1 WIN=0 LEN=0 MSS=1460

> Assuming you haven't mixed up the myIP and hackIP parts, this means
> something on *your* system/network is trying to contact an smtp server
> on what you are calling hackIP.  TCP/IP connections are initiated with
> a SYN packet.  If they are accepted, you get a SYN,ACK packet back.
> If they are rejected, you get a RST,ACK back.

Sorry, I transposed the entries. From Wireshark I took my time to copy 
more accurately
:
Source   dest.proto  info
24.199.244.157   myIP  TCP   55634 > smtp  (SYN) Seq=0 Len=0 MSS=1460
myIP   24.199.244.157  TCP   smtp > 55634  (RST,ACK) Seq=0 Ack=1 Win=0 Len=0

> Running 'host ' might prove enlightening.

# host 24.199.244.157
157.244.199.24.in-addr.arpa domain name pointer
rrcs-24-199-244-157.midsouth.biz.rr.com.


Remember, the entire network, except the firewall was physically
disconnected.  I did not save the Wireshark session at that time,

The lines above seen today, look very similar to the 
packet storm the session last night.

However, I'll try to save it, the next time it explodes. The 
lines above are merely suspicious to me.
It does look like part of RoadRunner, but last night the 
spam was in high gear, until I shut down the link

thoughts?


James



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Problems emerging PHP

2006-08-11 Thread Statux
I've been getting the following for a long time with PHP. Subsequent
syncs haven't fixed this. I've even manually deleted dev-lang/php from
the local portage tree and resync'd everything and I get the same
problem over and over.

statux ~ # emerge php
Calculating dependencies... done!
>>> Emerging (1 of 1) dev-lang/php-5.1.4-r4 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking php-5.1.4.tar.bz2
!!! Digest verification failed:
!!! /usr/portage/distfiles/php-5.1.4.tar.bz2
!!! Reason: Failed on MD5 verification
!!! Got: f6ced7009b1e04e618e9f4b2950697c0
!!! Expected: 66a806161d4a2d3b5153ebe4cd0f2e1c

Ideas? :)

-Statux



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


Re: [gentoo-user] Problems emerging PHP [SOLVED]

2006-08-11 Thread Statux
Of course, I wasn't going to fix this on my own until I sent a message
to the list about it. I hadn't thought about removing the actual package
before for some reason. It's all good now.

On Fri, 2006-08-11 at 22:48 -0400, Statux wrote:
> I've been getting the following for a long time with PHP. Subsequent
> syncs haven't fixed this. I've even manually deleted dev-lang/php from
> the local portage tree and resync'd everything and I get the same
> problem over and over.
> 
> statux ~ # emerge php
> Calculating dependencies... done!
> >>> Emerging (1 of 1) dev-lang/php-5.1.4-r4 to /
> >>> checking ebuild checksums ;-)
> >>> checking auxfile checksums ;-)
> >>> checking miscfile checksums ;-)
> >>> checking php-5.1.4.tar.bz2
> !!! Digest verification failed:
> !!! /usr/portage/distfiles/php-5.1.4.tar.bz2
> !!! Reason: Failed on MD5 verification
> !!! Got: f6ced7009b1e04e618e9f4b2950697c0
> !!! Expected: 66a806161d4a2d3b5153ebe4cd0f2e1c
> 
> Ideas? :)
> 
> -Statux



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


Re: [gentoo-user] Re: What is available besides samba

2006-08-11 Thread John J. Foster
Please turn off your html.

Thanks,
festus
-- 
In all the millions of years dinosaurs roamed this planet, did any of
them feel the need to invent, say, nuclear weapons?   Mickeyz


pgp3M1b95hde0.pgp
Description: PGP signature


Re: [gentoo-user] pam-login and shadow-4.0.15-r2

2006-08-11 Thread Stroller


On 9 Aug 2006, at 21:22, Benno Schulenberg wrote:


Stroller wrote:

However my question is this: don't I need pam-login anymore?


No, its function is part of shadow again.


On this particular system /etc/pam.d/imap calls pam_winbind.so to
authenticate off a Windows domain. Will this still work?


Yes, as long as pam itself is still installed.


Thank you very much.

Stroller.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] GCC-4.1.1 ate depscan.sh

2006-08-11 Thread Richard Broersma Jr
Hello All,

I recently took to plung in to moving my server to testing version of gcc 
4.1.1.  Well things
didn't turn-out to well.  During the emerge -e system, some package would not 
build completly.  So
instead of spending more time to discover the causes from my problem, I decided 
to call it a
night.  The next day, I restarted my server, but most of the start-up services 
failed to launch
i.e. (sshd/postfix/et.al...) .

The error message displayed was "/sbin/depscan.sh missing".  It seems that 
without it I am unable
to start any of my services without it.  Is there any packages that I need to 
emerge to restore
this script?  If not what is the recommend method of restoring it?

Once I can get this working, I will proceed on with testing of GCC 4.1.1. :-)

Thanks for all of the help.

Regards,

Richard Broersma Jr.


P.S.  Does anyone know of any supplementary upgrade links in addition to the 
one to this one:
http://www.gentoo.org/doc/en/gcc-upgrading.xml
I tried to undo all of my c
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] GCC-4.1.1 ate depscan.sh

2006-08-11 Thread Richard Fish

On 8/11/06, Richard Broersma Jr <[EMAIL PROTECTED]> wrote:

The error message displayed was "/sbin/depscan.sh missing".  It seems that 
without it I am unable


It is part of sys-apps/baselayout:

tacklebox / # equery belongs /sbin/depscan.sh
[ Searching for file(s) /sbin/depscan.sh in *... ]
sys-apps/baselayout-1.12.4-r2 (/sbin/depscan.sh)

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



Re: [gentoo-user] GCC-4.1.1 ate depscan.sh

2006-08-11 Thread Richard Broersma Jr


--- Richard Fish <[EMAIL PROTECTED]> wrote:

> On 8/11/06, Richard Broersma Jr <[EMAIL PROTECTED]> wrote:
> > The error message displayed was "/sbin/depscan.sh missing".  It seems that 
> > without it I am
> unable
> 
> It is part of sys-apps/baselayout:
> 
> tacklebox / # equery belongs /sbin/depscan.sh
> [ Searching for file(s) /sbin/depscan.sh in *... ]
> sys-apps/baselayout-1.12.4-r2 (/sbin/depscan.sh)

Thanks Richard,

It seems I should spend some time reading the equery man page work I wait for 
my system to
rebuild.

Regards,

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



Re: [gentoo-user] Problems emerging PHP

2006-08-11 Thread Csányi András

2006/8/12, Statux <[EMAIL PROTECTED]>:

I've been getting the following for a long time with PHP. Subsequent
syncs haven't fixed this. I've even manually deleted dev-lang/php from
the local portage tree and resync'd everything and I get the same
problem over and over.

statux ~ # emerge php
Calculating dependencies... done!
>>> Emerging (1 of 1) dev-lang/php-5.1.4-r4 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking php-5.1.4.tar.bz2
!!! Digest verification failed:
!!! /usr/portage/distfiles/php-5.1.4.tar.bz2
!!! Reason: Failed on MD5 verification
!!! Got: f6ced7009b1e04e618e9f4b2950697c0
!!! Expected: 66a806161d4a2d3b5153ebe4cd0f2e1c

Ideas? :)


emerge --sync once again? or another mirror.


--
- -
--  Csanyi Andras  --
--  "Bízzál Istenben és tartsd szárazon a puskaport!".-- Cromwell

--
gentoo-user@gentoo.org mailing list



[gentoo-user] grub & Compaq cpqarray RAID array. devfs / udev problem?

2006-08-11 Thread Stroller

Hi there,

I'm feeling a bit stuffed with a machine upon which I recently ran  
`emerge -e world`. I'm surprised to think this is the cause, however  
the next time I booted grub failed to load, and I did not even get  
the usual menu asking me which kernel I want to load - all I get is  
"GRUB" in white letters at the very top left of a black screen.


Ok, I thought, this should be as easy as booting from the LiveCD,  
chrooting into the system and then running grub from in there. How  
naive could I be?


   livecd ~ # uname -a
   Linux livecd 2.6.15-gentoo-r5 #1 SMP Thu Feb 16 15:28:08 UTC 2006  
i686 Pentium II (Deschutes) GenuineIntel GNU/Linux

   livecd ~ # parted /dev/ida/disc0/disc p
   Disk geometry for /dev/ida/disc0/disc: 0kB - 18GB
   Disk label type: msdos
   Number  Start   End SizeType  File system  Flags
   3   16kB38MB38MBprimary   fat16
   1   38MB100MB   63MBprimary   ext3 boot
   2   100MB   1174MB  1074MB  primary   linux-swap
   4   1174MB  18GB17GBprimary   reiserfs
   Information: Don't forget to update /etc/fstab, if necessary.

   livecd ~ # mount -v /dev/ida/disc0/part4  /mnt/gentoo/
   mount: you didn't specify a filesystem type for /dev/ida/disc0/part4
  I will try type reiserfs
   /dev/ida/disc0/part4 on /mnt/gentoo type reiserfs (rw)
   livecd ~ # mount -v /dev/ida/disc0/part1  /mnt/gentoo/boot/
   mount: you didn't specify a filesystem type for /dev/ida/disc0/part1
  I will try type ext3
   /dev/ida/disc0/part1 on /mnt/gentoo/boot type ext3 (rw)
   livecd ~ # mount -t proc proc /mnt/gentoo/proc
   livecd ~ # cp -L /etc/resolv.conf /mnt/gentoo/etc/
   livecd ~ # chroot /mnt/gentoo /bin/bash
   livecd / # env-update && source /etc/profile
   >>> Regenerating /etc/ld.so.cache...
   livecd / #

So mounting the RAID array from the LiveCD is the easy part. After  
this, nothing goes as planned:


   livecd / #  grub
   GNU GRUB  version 0.96  (640K lower / 3072K upper memory)

   grub> find /boot/grub/stage1

   Error 15: File not found

   grub> root (hd0,0)
   Filesystem type is xfs, partition type 0x83

   grub> quit

Y'see, XFS isn't the filesystem of any of the partitions on the  
array, but that of the filesystem on the separate EIDE drive. And  
it's no good installing GRUB on this, I've tried before. :(


   livecd / # grep ida /etc/fstab
   /dev/ida/c0d0p1 /boot   ext2 
noauto,noatime  1 2
   /dev/ida/c0d0p2 noneswap 
sw  0 0
   /dev/ida/c0d0p4 /   reiserfs 
noatime 0 1


This is how the partitions are described in /etc/fstab, but...

   livecd / # grub-install /dev/ida/c0d0
   expr: non-numeric argument
   Could not find device for /boot: Not found or not a block device.
   livecd / #

From the LiveCD (see first code sample) I was able to address the  
drive as /dev/ida/disc0/disc, but not from inside the system - this  
doesn't seem to be described in /dev:


   livecd / # grub-install /dev/ida/c0d0/disk
   /dev/ida/c0d0/disk: Not found or not a block device.
   livecd / # grub-install /dev/ida/disc0/disc
   /dev/ida/disc0/disc: Not found or not a block device.
   livecd / # ls /dev/ida/disc0/disc
   ls: /dev/ida/disc0/disc: No such file or directory
   livecd / # ls /dev/ida/disc0/
   ls: /dev/ida/disc0/: No such file or directory
   livecd / # ls /dev/ida/
   c0d0  c0d14p9   c0d6  c1d10p9   c1d2 c1d8   
c2d12p9   c2d4
   c0d0p1c0d15 c0d6p1c1d11 c1d2p1   c1d8p1 
c2d13 c2d4p1
   c0d0p10   c0d15p1   c0d6p10   c1d11p1   c1d2p10  c1d8p10
c2d13p1   c2d4p10
   c0d0p11   c0d15p10  c0d6p11   c1d11p10  c1d2p11  c1d8p11
c2d13p10  c2d4p11
   c0d0p12   c0d15p11  c0d6p12   c1d11p11  c1d2p12  c1d8p12
c2d13p11  c2d4p12
   c0d0p13   c0d15p12  c0d6p13   c1d11p12  c1d2p13  c1d8p13
c2d13p12  c2d4p13
   c0d0p14   c0d15p13  c0d6p14   c1d11p13  c1d2p14  c1d8p14
c2d13p13  c2d4p14
   c0d0p15   c0d15p14  c0d6p15   c1d11p14  c1d2p15  c1d8p15
c2d13p14  c2d4p15
   c0d0p2c0d15p15  c0d6p2c1d11p15  c1d2p2   c1d8p2 
c2d13p15  c2d4p2
   c0d0p3c0d15p2   c0d6p3c1d11p2   c1d2p3   c1d8p3 
c2d13p2   c2d4p3

   ...
   ...
   c0d14p7   c0d5p8c1d10p7   c1d1p8c1d7p8   c2d12p7
c2d3p8c2d9p8
   c0d14p8   c0d5p9c1d10p8   c1d1p9c1d7p9   c2d12p8
c2d3p9c2d9p9

   livecd / #

Since I don't have 14 disks on my system these entries are obviously  
bogus.


So any suggestions where to go from here, please?

Installing GRUB *used* to work on this system, because I described it  
in great detail when I wrote . The only think I can think is that  
this system was originally installed 18 months or 2 years ago, and  
that since then the devfs / udev transmogrification has taken place.  
I seem to recall following instructions at the time (when my new  
kernel req

[gentoo-user] GCC 4.1.1 missing g++/c++

2006-08-11 Thread Richard Broersma Jr
Certain packages are failing to build because they make use of a C++ compiler.  
Is there a way to
ensure that this and other compilers of enterest are included with GCC?

The affect packages are:

ncurces, groff, sys-libs/db, python

All fail with the same error

Once again thanks for all of the help.

Regards,

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



Re: [gentoo-user] What is available besides samba

2006-08-11 Thread Anthony E. Caudel
[EMAIL PROTECTED] wrote:
> For easy fast comunication between winxp and linux machines, is there
> anything other than samba the works reliably.
> 
> The reason I ask is that I've run into a problem suddenly where none
> of my win XP boxes can access shares on a linux box.  Trying to debug
> this I see such a confusing mess in the logs as to not even get a clue
> where the problem may be, or if it is with some other authentication
> such as pam or what.
> 
> I've posted elsewhere with some details of the problem I see but
> asking in this post and thread if there are other options that may not
> be so rife with worthless non-informative log output and therefor be
> easier to fix if it breaks.
> 
I use winscp.

Tony

-- 
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
   -- Benjamin Franklin
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] GCC 4.1.1 missing g++/c++

2006-08-11 Thread Richard Fish

On 8/11/06, Richard Broersma Jr <[EMAIL PROTECTED]> wrote:

Certain packages are failing to build because they make use of a C++ compiler.  
Is there a way to
ensure that this and other compilers of enterest are included with GCC?


Unless you are crazy enough to have USE=nocxx, you get a c++ compiler
with gcc.  Others are controlled by USE flags.

gcj - java compiler
fortran - fortran compiler
...and so on.


ncurces, groff, sys-libs/db, python

All fail with the same error


What error?

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



Re: [gentoo-user] grub & Compaq cpqarray RAID array. devfs / udev problem?

2006-08-11 Thread Richard Fish

On 8/11/06, Stroller <[EMAIL PROTECTED]> wrote:

livecd / #  grub
GNU GRUB  version 0.96  (640K lower / 3072K upper memory)

grub> find /boot/grub/stage1

Error 15: File not found

grub> root (hd0,0)
Filesystem type is xfs, partition type 0x83

grub> quit

Y'see, XFS isn't the filesystem of any of the partitions on the
array, but that of the filesystem on the separate EIDE drive. And
it's no good installing GRUB on this, I've tried before. :(


You can try:

echo "(hd0) /dev/ida/disc0/disc" >> device.map
grub --device-map=device.map << EOF
root (hd0,0)
setup (hd0)
quit
EOF

However, the above will only work *if* the RAID array is the first
bootable drive in the BIOS configuration.  If the BIOS insists that
the IDE drive is the first bootable hard drive, and the raid array is
second, then you will need:

echo "(hd1) /dev/ida/disc0/disc" >> device.map
grub --device-map=device.map << EOF
root (hd1,0)
setup (hd0)
quit
EOF

This should install grub to the MBR of the IDE drive, but load the
stage2 and menu.lst from /boot on the raid array.


 From the LiveCD (see first code sample) I was able to address the
drive as /dev/ida/disc0/disc, but not from inside the system - this
doesn't seem to be described in /dev:

livecd / # ls /dev/ida/
c0d0  c0d14p9   c0d6  c1d10p9   c1d2 c1d8


Look at  the major and minor numbers of /dev/ida/disc0/disc from your
system with ls -l.  My guess is they will be the same as the
/dev/ida/c0d0 device (c0d0 being short for controller 0, disc 0).

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