Re: [expert] how to set routing at boot?

2003-06-28 Thread Steven Broos
Quick lesson in subnetworking, because I think the problem isn't your
IPtables-settings but your network layout.

192.168.0.x is a class C network address. 192.168.0 is the network
address, and the last number is the host-portion of the address.
If all PCs have an address beginning with 192.168.0 and a netmask of
255.255.255.0 they are on the same subnet, and don't need routing.
If you need to separate your LAN into difefrent subnets, use 192.168.0.x
and 192.168.1.x etc...

Creating a subnet with mask 255.255.255.255 isn't possible, because that
way you don't have any broadcast/network-addresses.

If you think this goes into the right direction, please give more
details about your LAN and ask for more information :-)

regards,
Steven
(CCNA)




On Sat, 2003-06-28 at 20:47, SainTiss wrote:
 Well, what I *need* e.g. on the gateway is something like this:
 
 Kernel IP routing table
 Destination Gateway Genmask Flags Metric RefUse
 Iface
 192.168.0.3 0.0.0.0 255.255.255.255 UH0  00
 eth2
 192.168.0.2 0.0.0.0 255.255.255.255 UH0  00
 eth1
 213.118.248.0   0.0.0.0 255.255.252.0   U 0  00
 eth0
 127.0.0.0   0.0.0.0 255.0.0.0   U 0  00
 lo
 0.0.0.0 213.118.248.1   0.0.0.0 UG0  00
 eth0
 
 However, by default those upper 2 rules aren't there, and instead
 there's a rule like this:
 
 192.168.0.0 0.0.0.0 255.255.255.0 U0  0   
 0 eth2
 
 So in other words, by default ALL LAN traffic is routed through eth2,
 while obviously traffic with 192.168.0.2 should be routed via eth1.
 
 Did that make it any clearer?
 
 Thanks,
 
 Hans
 
 On Sat, 2003-06-28 at 20:18, Bill Mullen wrote:
  On Sat, 28 Jun 2003, SainTiss wrote:
  
   I just changed my network configs here, and it seems the routing table
   got messed up...
   
   I know the solution (ie adding some rules and deleting some), but I was
   wondering if there was some file or something where I could specify the
   right rules, so that the table is setup correctly at boot?
   
   what's the default way to do this? I'm guessing some file which is then
   processed by ifup or something, but I'm not sure...
  
  Depends on what's messed up. :)
  
  Most settings draw on the information in the /etc/sysconfig directory, 
  specifically the network file and the various ifcfg-interface ones 
  in the network-scripts subdirectory. For simpler setups, these are all 
  you'll need to adjust, but we have no idea how complicated your normal 
  routing table actually is ... care to offer a hint? ;)


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] how to set routing at boot?

2003-06-28 Thread Steven Broos
geddemn
forget about my post.  Didn't read your mail with my full attention (as
most of the time) and again made a stupid post :-)
Anyway, you can considder buying a switch or a hub, using one PC as
router/firewall between the switch and your cable connection, and
connect the other PC's with the switch.
I think that would be easier and would increase performance...

Steven


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] irc client

2003-06-19 Thread Steven Broos
If you are familiar with mIRC, then you'll like xchat.

Steven

On Tue, 2003-06-17 at 20:25, David Hlacik wrote:
 Hi, i am looking for some good irc client with dcc support and /ctcp
 support.
 
 David Hlacik
 
 
 __
 
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Apache redirects incorrectly

2003-06-16 Thread Steven Broos
 Under XP:
 http://localhost/ all the links in the page refer to localhost.
 
 Under Linux:
 http://localhost/ then all the links in the page refer to 
 http://www.elacuariodeaguadulce.com wich is the Internet URL. Really i don't know 
 why the Apache server redirects it to the URL instead of the localhost.

Maybe you can put the host www.elacuariodeaguadulce.com in your
/etc/hosts-file ?  Make an entry like:
127.0.0.1   www.elacuariodeaguadulce.com
or use your real IP-address for it.

If that doesn't work and if you're running bind, maybe you can configure
bind that way ?

Just 2 wild guesses.

Steven


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[expert] regular expressions with quotes

2003-06-15 Thread Steven Broos
Hai

I'm trying to do a regular expression, which contains '
As far as I know, I have to backslash the ' but that gives me an error.

expr that returns the part of a string between (' '):
$ expr dag('hello')goodafternoon : '.*(\(.*\)).*'
  'hello'
$ expr dag('hello')goodafternoon : '.*('\(.*\)').*'
  0
$ expr dag('hello')goodafternoon : '.*(\'\(.*\)\').*'
  bash: syntax error near unexpected token `)'
$ expr dag('hello')goodafternoon : '.*(''\(.*\)'').*'
  'hello'
$ expr dag('hello')goodafternoon : '.*(.\(.*\).).*'
  hello

Anyone has an idea how to contain a single quote in the expression ?
I managed to work around this using just a point (last command above)
but I really want to check for the quote 

tia
Steven


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] regular expressions with quotes

2003-06-15 Thread Steven Broos
On Sun, 2003-06-15 at 17:24, Adolfo Bello wrote:
 Double quoting the regexp will do it:
 
 expr dag('hello')goodafternoon : .*('\(.*\)').*
 
 Adolfo

works.  Stupid me didn't think of it...

Thanks!
Steven


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[expert] per-directory umask

2003-06-15 Thread Steven Broos
Resend (june 4th)

What I basically need is: 
- a shared directory for users in a group
- Access to own files
- No access to other files
- Access to all files for user apache
I now I can use their homedirs in apache, but I would like to do this in
one directory if possible.

Anyone who can help me please ?

Steven



Original message:

Is it possible to set a umask for a specific directory ?

I want to give some users personal access to the www-directory.  They
should have the right to manage their own files, but not the files of
others.  User apache has to have (full?) access on the files.
I've set the sticky and SGID bits for the www-directory. (which is owned
by apache)  But people still can alter files from other people. 
Only deletion is not permitted, but what about reading and writing
from/to the files ?

This should be done on the local machine, I'm not talking about
FTP-settings.

Only things about filesecurity I knew until now where the basic
settings, so this is all kinda new for me.  If anyone can/want to give
me some explination, advice and/or nice examples, or a very clear
website which covers it all... ?

Greetings
Steven


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] filesystem for Linux and Windows XP

2003-06-13 Thread Steven Broos
I barely use windows any more, but in some cases it's necessary.
I'm thinking about purchasing VMware.  It's no freeware, but I know it's
worth the money *wink*
I can access the files on ext3 through samba file sharing.  It looks
like you're working on 2 different computers (with the same hardware),
with a network in between.

Maybe this is a better solution for you ?  This way you don't need to
reboot for changing OS, and you can run your mandrake all the time :-)

Steven


On Fri, 2003-06-13 at 14:09, Greg Meyer wrote:
 On Friday 13 June 2003 07:58 am, David Hlik wrote:
  Hi to all, i wanna use both mandrake and linux mandrake, but i do not know
  which filesystem is best. Because i am using ntfs, but linux can only read
  ntfs, and fat32 is too old and primitive.
 
 Mandrake can read ntfs, and there are utilies that allow windows to read ext3, 
 so if you only need to be able to see the contents of the other partitions, 
 then ntfs and ext3 should work fine.  If you want to share data, like word 
 docs and mp3's, set up a shared fat32 partition that both os's can read and 
 write from.  The primitive nature of fat32 should not affect the performance 
 of XP sincet eh os and it's programs are still running off an ntfs partition 
 and only shared data resides on fat32.  This is the safest way.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] lilo ?? install 9.1

2003-06-13 Thread Steven Broos
I think the MBR can't be of any trouble, because it is completely
overwritten by the bootloader (as far as I know)
It's only a small space, where a link to the rest of the booting files
resides.
Is it really possible to manipulate the MBR so that it can cause
troubles with other OS' ?  I know some windows-versions rewrote the MBR
on startup, but I never experienced this with win2k.  (I used lilo as
bootloader)

according to my personal experiences, winXP sucks bigtime.  The only
'good' windows versions I know are NT and 2000 (NT, btw, wasn't
developed by MS but bought from some other company, and 2k was NT + some
extra features)

Again, I could be wrong, but that's why I write this and hope for
replies :-)

Steven


On Thu, 2003-06-12 at 22:07, richard bown wrote:
 Hi all
 
 I've had a real bad experience using a hard drive that previously had
 winxp on it.
 I ran very low on HD space so I took the 60GB HD out of the winxp
 machine , installed as hdc and backed up what files I needed off that
 drive.
 next step was to delete the ntfs partitions and repartition with ext3,
 All apparently went well, and I transfered wanted files from hda to hdc.
 
 Checked everything was all right, and all the files moved across were in
 a partiton on hdc. 
 the next step was to reinstall the system on to the 60GB drive(was hdc),
 and to use just 1 HD on this machine.
 So fresh install of 9.1 and this is were things went horribly wrong,
 on boot up no partitions had been written, tried to repair and failed,
 tried using the rescue facility ...that failed.
 
 So again another fresh install and this time made a boot floppy as well.
 again on reboot failure, so used the rescue facility to rerun the boot
 loader, 
 Tried another bootup , same again reran the boot sector loader from
 rescue and this time the next reboot was successful..
 After speaking to a few people I'm not the only person to have had
 problems with drives after winxp was installed on them.
 I suspect this may be a gates measure to deliberately make it awkward 
 to change OS's once winxp has been installed, microsoft have done this
 before.
 
 Maybe ,and this is the point I'm trying to make, the developers need to
 look at the lilo or grub, to assume the MBR to contain hostile material
 and delete it before installing.
 
 If a newbie had decided to kick winxp off their machine and move to
 linux, I feel they would give up trying to install linux and go back to
 winblows.
 
 regards 
 Richard


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Wanted to try wine

2003-06-12 Thread Steven Broos
Wine never worked for me, but crossover (a commercial thing based on
wine) did.  I'm running photoshop, macromedia flash, and several other
windows-applications which I need for work on my linux box.
Yes, I paid for it, but it was (and is) worth every cent.

Since wine is published under GPL, crossover has to free the source
code, so I expect wine to make fast progress in the future.  Maybe you
can check out their website, and follow it up ?

Steven


On Thu, 2003-06-12 at 18:22, Jim C wrote:
 I've never run a windows emulator before and I wanted to see if I could get 
 some Blizzard (StarCraft, WarCraft etc...) games to run under Mandrake 9.1
 
 What I discovered is that 9.1 comes with only 1 emulator (that I've found 
 so far) and it is a freakin Alpha.  We were not amused.
 
 So.  What is the best way to do this?


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Wanted to try wine

2003-06-12 Thread Steven Broos
Those apps run smoother with crossover than they do in windows :-)

For games (forgot to mention that) you're better of using wineX I
suppose, but I'm not familiar with it.  I'm not much of a gamer. 
Crossover Office is developed especially for the use of desktop
applications, and I don't think it supports directX.

Steven


On Thu, 2003-06-12 at 18:52, João Candido Araujo Milasch Filho wrote:
 And how is the performance of those applications runing under crossover?
 almost as windows or too low?
 Do you think directx based games can run great with this program?


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Evolution Editor (was Evolution Browser)

2003-06-10 Thread Steven Broos
On Tue, 2003-06-10 at 13:43, Mark Belanger wrote:
http-show=galeon %s
https-show=galeon %s
ftp-show=galeon %s
   
   On a similar note, do you know of a way to change the Evolution editor
   to something else (preferably vim)?
   
 This doesn't work(at least for me). Setting 
 GnomeControl-Advanced-PreferredApplications
 does not affect evolution.
 
 I didn't see anything obvious in File types and programs

I know Gnome-control doesn't set the browser properties right. That's
why I said you have to edit that file... Did you try that already ?

Steven


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] emergency

2003-06-09 Thread Steven Broos
On Mon, 2003-06-09 at 06:40, Rob Blomquist wrote:
 I say watch out for ext3. It may give headaches to some of us.

ext3 is the same filesystem as ext2, only with a journaling mode.  If
ext3 goes mad on you, mount it as ext2 and it will work just fine.  
There are commands to fix the journaling-files too.

So IMHO ext3 is just preferable above ext2.  If I'm wrong, correct me
please :-)

Steven


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Problems after bios upgrade

2003-06-09 Thread Steven Broos
Maybe:
Your kernel is using modules for the 'old' mobo and cpu.  While booting,
auto-hardware-detect changes the settings for another mobo, but it's not
installed so the modules are not found.

If that's more or less right, you can try to recompile your kernel ?

Steven
(just a wild guess... But I think it makes sense)



On Mon, 2003-06-09 at 16:07, Praedor Tempus wrote:
 I recently picked up an Athlon XP2700+ to replace my
 Duron 1100.  The switch went fine except my [EMAIL PROTECTED] mobo
 apparently doesn't support anything greater than an
 XP1500+.  It is an MSI KT333 ultra and the manual says
 it can do a 200MHz FSB, etc, which would support the
 chip but...in any case, this is true, it seems, only
 with windoze when using a special MSI-supplied
 application for overclocking.  
   I downloaded the latest bios upgrade for this mobo
 thinking/hoping it would add support for XP2000 and
 higher chips but.  After upgrading the bios, Windoze
 ME still fires up just fine but Linux is hosed.  I can
 boot up in failsafe mode and from there start up
 graphics and networking just fine as root.  If I try
 to login from failsafe as a user, if fails to start
 XFree.  This isn't the main problem at this point,
 however.  The primary problem is if I try to startup
 linux via a normal kernel and graphical startup, I get
 a screen full of error messages having to do with
 unable to touch /var/lock/subsys/whatever no such
 file or directory and I also get an error message
 about being unable to mount most of my partitions
 because their /dev/hd* entries do not exist. 
 Ultimately, the bootup fails when the system gets to
 the point of trying to start the system logger, at
 which point it just sits for a long time and then the
 screen goes blank and that's it.
   Why would I be able to start up just fine, graphics
 and all, all my partitions, all my /var/lock/...
 files, etc, from failsafe all the way to graphics (but
 only for root) but not be able to do the same from a
 normal bootup?  How do I go about fixing this?
   Since I can get in as root via failsafe I am not yet
 ready to try reinstalling and feel that the system
 MUST be salvagable, but where to start?  And why would
 a bios upgrade do this in such an odd manner,
 affecting only the graphical bootup but leaving the
 failsafe bootup (to graphics) intact?
 
 praedor
 
 __
 Do you Yahoo!?
 Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
 http://calendar.yahoo.com
 
 
 __
 
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Evolution Browser

2003-06-09 Thread Steven Broos
On Mon, 2003-06-09 at 23:12, Alan Carbutt wrote:
 I was wondering if anyone has been able to change which browser opens up
 on clicking a link in an e-mail.  Currently my evolution opens up
 mozilla.  I was just wondering if it was configurable.
 
 Thanks,

~/.gnome/Gnome

http-show=galeon %s
https-show=galeon %s
ftp-show=galeon %s


Steven


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] drakfloppy error: No space left on device

2003-06-07 Thread Steven Broos
On Sun, 2003-06-08 at 01:01, Francisco Alcaraz wrote:
 cp: escribiendo `/tmp/mkbootdisk/initrd.img': No space left on device
 Error !

Filesize of your kernel doesn't exceed available space on your floppy ?

Steven



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Web site guru needed

2003-06-06 Thread Steven Broos
Is it a java-application from your bank you are using, or is it HTML ?
And the missing value, can you see a textbox or so where the value
should be in, or is it just a blank space, or is some other part of the
webpage in that location ?


Steven


On Thu, 2003-06-05 at 21:06, Anne Wilson wrote:
 Hit and miss hunting is not helping me with my problem, so I need 
 someone who is actively engaged in web site contruction to help me.  
 Not that I am trying to construct one - just to understand what my 
 problem is so that I stand a chance of dealing with it.
 
 I use on-line banking from a browser.  I can use Konqueror without 
 problems, but if I want to access it whilst in Mozilla a problem 
 arises.
 
 For the most part, all is well.  However, one funcion is to be able to 
 set up transfers between accounts.  You can, for instance, set up to 
 transfer cash from your current account to your credit card account 
 on a specific date.  All this works, until you want to check just 
 what transactions are pending.  Then, you can see the account number, 
 and all the relevant details except the amount to be transferred.
 
 I'm guessing that the missing amount is from some secure server, 
 possibly different from that which stores the other details.  I'm 
 also guessing that I have set something that is not allowing it to 
 function properly.  I have no idea what that could be, though.  I 
 thought I had reversed everything I have set in the way of security 
 settings.  Can anyone guess what the problem is likely to be?
 
 Anne
 
 
 __
 
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] chmod question

2003-06-06 Thread Steven Broos
On Sat, 2003-06-07 at 02:10, Greg Meyer wrote:
YCITMIGA...
 
 WTF is YCITMIGA?
Yah, what does it mean ?

 I'm kind of between a newbie and an expert, so I answer posts on the newbie 
 list and ask my questions on the expert list.  
Me too.  Good idea, I'll try to help a little on the 'beginners'-list!

 I guess we need a tweener 
 list.
I think it would make things more complicated.  Can't we considder the
newbie-list for known issues where the 'experts' give advice, and the
expert list to discuss weird things ?  OTOH ( ;-) ), the definition of a
weird issue is kinda weird itself, isn't it ?

 
  Come on this list is for people to learn and ask questions.
Indeed!  So please tolerate me :-)

 Thanks for stickin' up for me Mike.  Remind me when we meet so I can buy you a 
 beer.
Do I get a beer too now ?


Steven


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Upgrading 9.0 to 9.1 with urpmi

2003-06-05 Thread Steven Broos
MDK9.1 indeed uses Apache2, in /etc/http/2.0 

I needed apache_1.3.22, so I installed it to /opt/apache and disabled
the auto-startup for Apache2

Maybe you can copy your apache to a safer location, and change the
ServerRoot ?

As far as I've noticed, apache2 worked very well, but I didn't test it
that much.

Steven



On Thu, 2003-06-05 at 11:57, Teemu Torma wrote:
 On Thursday 05 June 2003 02:01, Greg Meyer wrote:
  I am concerned because I think 9.1 uses apache2 by default, and I am
  not that well versed in it and don't want to break anything.  Has
  anybody tried it? This is what I was thinking of doing: upgrade to
  the 9.1 kernel, then upgrade urpmi to the version in 9.1, then do
  urpmi --auto-select.
 
 I don't know about apache, but this kind of upgrade generally works, I 
 have done it to few machines, some of them remotely.  Typically I do 
 first urpmi glibc and urpmi itself with their dependencies first, and 
 after that auto-select.  Kernel can be done either before or after. 
 
 Teemu
 
 
 
 __
 
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] Certainly too late to report...

2003-06-05 Thread Steven Broos
I always use fdisk CLI to create the partitions needed, and mount them
in the GUI-app from the installation-process.  I never experienced any
problems with this.
In expert-mode there should be an option to use fdisk, isn't it ?


Steven

 Sorry that I can't be more specific, but I always use partition magic to make 
 any partition. 


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


[expert] per-directory umask

2003-06-05 Thread Steven Broos
Is it possible to set a umask for a specific directory ?

I want to give some users personal access to the www-directory.  They
should have the right to manage their own files, but not the files of
others.  Apache has to have (full?) access on the files.
I've set the sticky and SGID bits for the www-directory. (which is owned
by apache)  But people still can alter files from other people, right ? 
Only deletion is not permitted, but what about redaing and writing
from/to the files ?

This should be done on the local machine, I'm not talking about
FTP-settings.

Only things about filesecurity I knew until now where the basic
settings, so this is all kinda new for me.  If anyone can/want to give
me some explination, advice and/or nice examples, or a very clear
website which covers it all... ?

Greetings
Steven


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] hd device file doesn't get created

2003-06-03 Thread Steven Broos




Are the jumper settings of your HD  remaining CDdrive correct ?
I suppose they are, if your Bios detects the HD...

Steven



On Mon, 2003-06-02 at 19:31, elPunishar wrote:

the question was whether i was root when running lilo after making the 
changes.
i said yes i was root

On Monday 02 Jun 2003 16:08, Bill Mullen wrote:
 On Mon, 2 Jun 2003, 5tucatz elPunishar wrote:
  yes, i was root.

 Right, but that wasn't the question ... the question was, did you run
 /sbin/lilo after making the changes to /etc/lilo.conf?

 You need to do that, and then to reboot afterward, for the changes made in
 the conf file to take. Otherwise, the changes have no effect.






Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com





[expert] NTFS - ext2/3 ?

2003-06-03 Thread Steven Broos




I still have a 40gig HD formatted with NTFS (mounted ro)
Is there any way to convert it (safely!!) to ext2/ext3 without temporary moving the data ?

I'm aware of the existence of partition magic, but I don't have it. And frankly, I'm not going to pay for an apllication I will use once... (no, the demo version isn't functional)

thx,
Steven




Re: [expert] NTFS - ext2/3 ?

2003-06-03 Thread Steven Broos




I was looking for a way to convert the data. I don't have enough disk-space to resizecopy.
I thought it was possible, but I can't find anything useful on the web. 

40gig is too much to copy on CD, so I'll have to buy me a new harddrive. Or are there other alternatives ? I have 2HDs and 2CDs, so no IDE-slots left, and I don't want to have the same problems as elPunishar :-)

Any ideas are welcome !

Steven


On Mon, 2003-06-02 at 15:34, Dave Sherman wrote:

Steven Broos wrote:
 I still have a 40gig HD formatted with NTFS (mounted ro)
 Is there any way to convert it (safely!!) to ext2/ext3 without temporary 
 moving the data ?
 
 I'm aware of the existence of partition magic, but I don't have it.  And 
 frankly, I'm not going to pay for an apllication I will use once... (no, 
 the demo version isn't functional)

Are you saying you want to *convert* the filesystem from ntfs to ext2 
without damaging the data, or do you want to *resize* the partition 
(non-destructively) in order to make room for an additional ext2 partition?

If the former, I don't think that is possible - to change a filesystem 
generally requires formatting the partition to the new FS.

If the latter (which makes more sense, in light of your comment about 
Partition Magic), then google for it. I managed to find a demo version 
of software that ran from a DOS boot diskette, to resize the NTFS-5 
(WinXP) partition on my laptop. This was less than 6 months ago, so it 
should still be available.





Re: [expert] mod_perl scripts.

2003-06-03 Thread Steven Broos
You have to enable perl in the Apache config file I suppose
(/etc/httpd/conf/httpd.conf or something similar)

If you search the config-file for 'perl', you should find some more
information and example-config that is commented.

Steven


On Mon, 2003-06-02 at 22:31, Frankie wrote:
 Hi guys
 
 I have been trying to get mod_perl working on a default 9.0 box..
 
 with the standard config.. this doesn't work:
 
 http://localhost/perl/mod_perl-testscript.pl
 
 
 but this does:
 
 http://localhost:8200/perl/mod_perl-testscript.pl
 
 
 From what I can gather, normal apache is supposed to detect that its
 supposed to redirect
 to 8200 for scripts in /cgi-perl or /perl directories..
 
 
 but it isn't working.. am I supposed to set that up?
 
 
 regards
 
 
 Franki
 
 
 
 __
 
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] NTFS - ext2/3 ?

2003-06-03 Thread Steven Broos
Yes it can, but burning 40gig on CDs will be a very time-consuming thing
to do.  I think I go for the external USB-harddisk.
(A friend of mine had a lot of negative experience with
filesystem-editing-tools)

Steven

On Mon, 2003-06-02 at 23:36, Anne Wilson wrote:

 Could the data be split into cd-size chunks?
 
 Anne


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


RE: [expert] mod_perl scripts.

2003-06-03 Thread Steven Broos

A quick look into my system:
/etc/httpd/conf/httpd2.conf
/etc/httpd/conf/httpd2-perl.conf
And a lot of occurences of 'perl' in /etc/init.d/httpd

Are the paths and prefixes in the config-files correct ?
Do you get any error-messages in /var/log/httpd (or /etc/httpd/logs)
when you restart apache ?


Steven



On Mon, 2003-06-02 at 23:03, Frankie wrote:
 You have to enable perl in the Apache config file I suppose
 (/etc/httpd/conf/httpd.conf or something similar)
 
 If you search the config-file for 'perl', you should find some more
 information and example-config that is commented.
 
 Steven
 
 
 
 
 
 yeah, I know...
 
 a long search revealed that PERLPROXIED most be enabled in the init script
 
 So i took a look and found this (in /etc/rc.d/init.d/httpd):
 
 #If both servers are installed, perl runs as a proxy
 #and has no extra modules
 if [ -x /usr/sbin/httpd -a -x /usr/sbin/httpd-perl ]; then
 DEFINE=-DPERLPROXIED
 PERLXMODS=
 fi
 PERLFILE=-f /etc/httpd/conf/httpd-perl.conf
 ###
 
 
 
 which seems to be testing to make sure http-perl and http are there.. they
 both are...
 and if they are, to define PERLPROXIED
 So that appears to be correct.
 
 Then in httpd.conf I see this:
 
 IfDefine PERLPROXIED
 RewriteEngine on
 RewriteRule ^proxy:.*  -  [F]
 RewriteRule ^(.*\/perl\/.*)$  http://%{HTTP_HOST}:8200$1 [P]
 RewriteRule ^(.*\/cgi-perl\/.*)$  http://%{HTTP_HOST}:8200$1 [P]
 /IfDefine
 
 Which appears to do the rewritting to port 8200 that calls to /perl or
 /cgi-perl are
 supposed to do.
 
 Since I know that mod perl is working fine when I specify port 8200
 manually.. the problem would have to be the rewritting..
 
 but it all seems right.. so I am at something of a loss here..
 
 hense my question here..
 
 
 regards
 
 Franki
 
 
 
 
 
 
 
 
 __
 
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] pam problem

2003-06-03 Thread Steven Broos
Found the solution, yeeha :-)

I found entries to pam in ~/.gnome2/session
I edited the file, but the entries came back immediately
so i opened a tty, and did
  init 3
  vi ~/.gnome2/session
  Deleted all entries refering to pam completely (indicated by the
numbers at the beginning of the line)
  Changed the value num_clients (one more than highest client-number in
file, because it starts from 0)
  init 5

And now it seems to be OK...

I'm sure I didn't had to give such an explination at the [experts]-list,
but maybe some less-experienced user like myself tries a search on this
subject :-)

Steven


On Mon, 2003-06-02 at 01:36, Steven Broos wrote:
 Since I've tried to run harddrake, I have something strange with PAM.
 In my notification panel is now a blank space (size of an icon) and my
 process-list looks a little overcrowded by pam.
 I can kill them, but it comes back every time.  If I do killall
 pam-panel-icon pam_timestamp_c 10 or 20 times very fast after each
 other, it doesn't come back.  but if I log out, and log back in, all
 those instances of pam are back.
 
 I tried to rename the /etc/pam.d directory (stupid me) for preventing
 it to load.  result: I had to use a rescue disk to change it back,
 because I couldn't even log in on a tty anymore...
 
 I've been looking for pam-files in my homedir, to delete possible
 entries, but couldn't find anything.
 
 Can anyone help me with this please ?  It's wasting 11 times 3.5 MBs
 of my memory.
 
 Thank you in advance !
 Steven
 
 
 
 ]$ ps -AH |grep pam
 2178 ?00:00:00   pam-panel-icon
 2199 ?00:00:00 pam_timestamp_c
 2180 ?00:00:00   pam-panel-icon
 2200 ?00:00:00 pam_timestamp_c
 2182 ?00:00:00   pam-panel-icon
 2201 ?00:00:00 pam_timestamp_c
 2184 ?00:00:00   pam-panel-icon
 2202 ?00:00:00 pam_timestamp_c
 2186 ?00:00:00   pam-panel-icon
 2205 ?00:00:00 pam_timestamp_c
 2188 ?00:00:00   pam-panel-icon
 2204 ?00:00:00 pam_timestamp_c
 2190 ?00:00:00   pam-panel-icon
 2203 ?00:00:00 pam_timestamp_c
 2192 ?00:00:00   pam-panel-icon
 2207 ?00:00:00 pam_timestamp_c
 2194 ?00:00:00   pam-panel-icon
 2206 ?00:00:00 pam_timestamp_c
 2196 ?00:00:00   pam-panel-icon
 2208 ?00:00:00 pam_timestamp_c
 2198 ?00:00:00   pam-panel-icon
 2209 ?00:00:00 pam_timestamp_c
 


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] NTFS - ext2/3 ?

2003-06-03 Thread Steven Broos
Most of the data is my music-collection, that's what makes it that
big...  But I've found an USB harddrive I can use, so I'll do it that
way.

Steven


On Tue, 2003-06-03 at 12:53, Anne Wilson wrote:
 Do you really have 40GB of data?  There's little point in burning the 
 system files and program files.  You couldn't restore your system 
 that way, so how much is actual data?  That might be a more 
 manageable amount.
 
 Anne
 
 On Tuesday 03 Jun 2003 4:39 am, Steven Broos wrote:
  Yes it can, but burning 40gig on CDs will be a very time-consuming
  thing to do.  I think I go for the external USB-harddisk.
  (A friend of mine had a lot of negative experience with
  filesystem-editing-tools)
 
  Steven
 
  On Mon, 2003-06-02 at 23:36, Anne Wilson wrote:
   Could the data be split into cd-size chunks?
  
   Anne
 
 
 
 __
 
 Want to buy your Pack or Services from MandrakeSoft? 
 Go to http://www.mandrakestore.com


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] dependency problem...

2003-06-02 Thread Steven Broos




I had glib and all the other needed packages installed, but not the (dev) libraries.I installed the libs this morning, and everything works perfect right now.
Well, learning linux is trial and error, not ? :-) I'm familiar with it since a long time, but never used it intensively until now, so I still have a lot to learn.

Anyway, thx for your help!
Steven


On Sun, 2003-06-01 at 18:01, Todd Lyons wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Steven Broos wanted us to know:

   When  I  try  to  install gaim (or some other programs) I get an error
   that my glib-version has to be =1.3.

The issue is not that 2.x is being detected incorrectly.  The error
message should be a little more clear.  It's saying I know you have 2.x
installed, but I need a 1.x for gaim to work properly.  Go install the
older version (it's on the CD's).

[EMAIL PROTECTED] ~]$ rpm -qa | grep glib | grep -v glibc
libglib1.2-1.2.10-6mdk
libglib1.2-devel-1.2.10-6mdk
libglib2.0_0-devel-2.2.1-1mdk
libglib2.0_0-2.2.1-1mdk

Notice how both version 1.2 and 2.0 libraries are installed.  That's
what you're missing.  Use urpmi instead of rpm to install it and it will
pull in the versions that you need.  If you're compiling it from source,
you need to understand the dependencies that urpmi takes care of for you
(by the developers).
- -- 
Blue skies...		Todd
| Get a bigger hammer!   |  I vowed revenge on the soul   |
| http://www.mrball.net  |  of Bingbong.  |
| http://faq.mrball.net  |Doug Glanville on espn.go.com   |
Linux kernel 2.4.19-24mdk   4 users,  load average: 0.08, 0.12, 0.20
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: http://www.mrball.net/todd.asc

iD8DBQE+2iNRIBT1264ScBURApMsAKCDh6eoU0pWZ//eYCWXH14iNj35qgCg36OO
GtfHoeBS+6ifbCaW+dOczNo=
=RbwG
-END PGP SIGNATURE-





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com





Re: [expert] Script help needed

2003-06-02 Thread Steven Broos




So if I completely understand it, there is no .bak file in the beginning ?
mv and cp don't see this file, so they assume the sourcefile is newer than the not-existing destination file.

Steven


On Sun, 2003-06-01 at 21:56, Anne Wilson wrote:

On Sunday 01 Jun 2003 8:44 pm, you wrote:
 (I'm mailing directly to you because I'm afraid I'm asking a stupid
 question now :-) )

 how do you know it's copied or moved if they are both identical ?

I made one copy of each file to the backup file.  After I had run the 
script I had a *.bak file for each and a corrrectly named one.  There 
is, of course, no way I can prove that the correctly named one is 
new.

Anne







[expert] Evolution - Default browser

2003-06-02 Thread Steven Broos




I made Gnome use galeon as standard browser, but Evolution still opens Mozilla...
Does anyone knows how I can Evolution make using Galeon too ? I tried different ways I found in google, but it still doesn't work.

Steven





Re: [expert] Evolution - Default browser

2003-06-02 Thread Steven Broos




That did the trick
The http- entries weren't present, but I put them in the file and now it works.


Thx !
Steven

On Sun, 2003-06-01 at 22:48, Michael Noble wrote:

I solved my problem, it turns out that if you edit the file 
~/.gnome/Gnome you can change the default bouser there.

Here is what mine looks like:
before:
[URL Handlers]
default-show=gnome-moz-remote --newwin %s
info-show=nautilus --no-desktop %s
man-show=nautilus --no-desktop %s
ghelp-show=galeon %s
http-show=galeon %s
https-show=galeon %s
ftp-show=galeon %s

After:
[URL Handlers]
default-show=gnome-moz-remote --newwin %s
info-show=nautilus --no-desktop %s
man-show=nautilus --no-desktop %s
ghelp-show=mozilla %s
http-show=mozilla %s
https-show=mozilla %s
ftp-show=mozilla %s

This file is used whether using Gnome or KDE.

Mike

On Sun, 2003-06-01 at 13:09, Steven Broos wrote:
 I made Gnome use galeon as standard browser, but Evolution still opens
 Mozilla...
 Does anyone knows how I can Evolution make using Galeon too ?  I tried
 different ways I found in google, but it still doesn't work.
 
 Steven
 





Re: [expert] hd device file doesn't get created

2003-06-02 Thread Steven Broos




I'm not familiar with USB-harddisks, but I just managed to connect my digital camera as a USB-storage device.
I think they are considdered SCSI-devices, so try to mount /dev/sda1 (or something similar)

Steven



On Mon, 2003-06-02 at 00:36, elPunishar wrote:

RESEND: somebody please help, i cant be the only one who wants to add an 
additional harddisk..

-

hello again :)

a) its connected to a motherboard connector
b) not a problem, harddisk is detected by cmos
c) settings are correct (been messing with computers all my life ;)

the entry in lilo.conf was like this:
append=devfs=mount hdc=ide-scsi hdd=ide-scsi acpi=off quiet

i removed this hdc=ide-scsi.
this had one effect, that during boot-up a message appears, telling me that 
hdc was added. so far so good.
this dows not happen with lilo.conf in its original state.
the diealog asks me whether i wnat to run the config tool, okay.
then i have a listing of the partitions on hda, the partitions on hdb, but no 
trace of hdc (even though it just announced to me that it had discovered the 
same)
unfortunately it doesn't change anything on the situation afterwards.

in can see hdc in the detected hardware listing of mandrake control center 
(even with hdc=ide-scsi in lilo.conf), but thats about it. 
can't see it in diskdrake, can't open it with fdisk...

/dev/hdc simply doesn't exist.

thanks for your help!
greetings,
le stu

On Wednesday 28 May 2003 01:16, bascule wrote:
 the fellow below being me:) hi!
 adding ide hard disks should be straightforward assuming that
 a) it's not connected to a seperate io card but to a motherboard connector
 b) your cmos settings are ok - note, i've known some os's detect drives
 that are not shown in cmos, winxp for one and i think maybe linux too,
 c) you have your slave/master settings correct for your new drive, for a
 disk plus cdrom on the same channel i suggest making the disk master and
 the cdrom slave (which you seem to have if the cdrom is /dev/hdd), - note,
 some hard disks have different settings for master-alone and
 master-with-slave,

 i'm surprised that harddrake didn't detect the new disk and offer to run
 the config tool, have you tried running it within mandrake?
 run mandrake control centre and go to hardwarehardware list, is your new
 disk listed there? if so run the config tool which will be diskdrake, this
 will write your /etc/fstab (without which the new drive won't be mounted at
 start up and won't show up in file managers) and, i would have thought, set
 lilo.conf to rights too, though i can't be sure 'bout that

 come back if this doesn't help

 bascule

 On Wednesday 28 May 2003 1:53 am, elPunishar wrote:
  hi all,
 
  i wrote to this mailing list some time ago. i had this problem that i
  could not add a new harddisk to my system.
  the answer of the fellow below had me confident that my problem was
  solved.. temporarily i just replaced an existing harddisk with the new
  one. that worked okay.
  but now i want to replace one of my cd-roms with the new harddisk (as i
  tried in the beginning, when my problems started)
 
  it seems, removing hdc=ide-scsi from lilo.conf doesn't quite do the
  trick. (i rerun lilo and rebooted of course)
 
  is there anything else that i have to switch for a harddisk to be
  accepted on a former scsi emulated cd-rom slot ? (ide bus)
 
  tnx  greetings,
  le stu





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com





[expert] pam problem

2003-06-02 Thread Steven Broos




Since I've tried to run harddrake, I have something strange with PAM.
In my notification panel is now a blank space (size of an icon) and my process-list looks a little overcrowded by pam.
I can kill them, but it comes back every time. If I do killall pam-panel-icon pam_timestamp_c 10 or 20 times very fast after each other, it doesn't come back. but if I log out, and log back in, all those instances of pam are back.

I tried to rename the /etc/pam.d directory (stupid me) for preventing it to load. result: I had to use a rescue disk to change it back, because I couldn't even log in on a tty anymore...

I've been looking for pam-files in my homedir, to delete possible entries, but couldn't find anything.

Can anyone help me with this please ? It's wasting 11 times 3.5 MBs of my memory.

Thank you in advance !
Steven



]$ ps -AH |grep pam
 2178 ? 00:00:00 pam-panel-icon
 2199 ? 00:00:00 pam_timestamp_c
 2180 ? 00:00:00 pam-panel-icon
 2200 ? 00:00:00 pam_timestamp_c
 2182 ? 00:00:00 pam-panel-icon
 2201 ? 00:00:00 pam_timestamp_c
 2184 ? 00:00:00 pam-panel-icon
 2202 ? 00:00:00 pam_timestamp_c
 2186 ? 00:00:00 pam-panel-icon
 2205 ? 00:00:00 pam_timestamp_c
 2188 ? 00:00:00 pam-panel-icon
 2204 ? 00:00:00 pam_timestamp_c
 2190 ? 00:00:00 pam-panel-icon
 2203 ? 00:00:00 pam_timestamp_c
 2192 ? 00:00:00 pam-panel-icon
 2207 ? 00:00:00 pam_timestamp_c
 2194 ? 00:00:00 pam-panel-icon
 2206 ? 00:00:00 pam_timestamp_c
 2196 ? 00:00:00 pam-panel-icon
 2208 ? 00:00:00 pam_timestamp_c
 2198 ? 00:00:00 pam-panel-icon
 2209 ? 00:00:00 pam_timestamp_c





Re: [expert] Drakconnect, weird behavior

2003-06-02 Thread Steven Broos




Try to clean the files in /etc/sysconfig/network-scripts, /etc/sysconfig/networking and the subdirectories ?

Steven


On Mon, 2003-06-02 at 13:20, Guy Van Sanden wrote:

I tried to configure mynetwork settings on a portable with Manrake 9.1.
First off, everything went fine, my Xircom PCMCIA card was auto-detected
and I configured it to do DHCP.

So far so good.

When I attached the port-replicator, it's 3com card was also detected,
but when I tried to configure it with a fixed IP, everything got messed
up.

I removed the port-replicator and its settings, but somehow drakconnects
keeps popping them back up (it is not connected).
As a result, the Xircom card comes up, but doesn't do DHCP.  It works
when I log in as root and start the dhcp client manually.
Drakconnect also keeps insisting on the gateway address set by the fixed
card, and I can't remove it.

Is there any way to clear my settings and start fresh again?

My portable is a Dell Lattitude CPi A, the port replicator contains a
3com boomerang card (10/100 Mbit). 

Thanks

Guy






Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com





[expert] dependency problem...

2003-05-31 Thread Steven Broos




Hi there,

I'm running Mandrake 9.1, with (I think) Gnome-2.2
As far as I know, Gnome-2.2 needs glib-2.2, or at least a very new version. So I suppose a fairly recent version of glib is installed on my computer.
When I try to install gaim (or some other programs) I get an error that my glib-version has to be =1.3.
I tried to install glib-2.2.0 myself, but it doesn't help. I tried to install other apps, but most of them don't want to configure because they can't find the right dependencies, which, by the way, has to be there!

I tried putting the paths /usr/lib and /usr/local/lib  in /etc/ld.so.conf, I tried to update some env.-variables (GTK...) but nothing works.

I tried configuring programs with --nodeps, and yes, it compiles. But I can't run it...

Does anyone has an idea how I can fix thix, so that every new installation can find the right dependencies in the future ?
I use Linux since several years, but started using it as desktop system right now, so consider me a newbie :-)

Thx in advance
Steven