Re: gtk package

2004-09-08 Thread Mark C
Paul Akkermans wrote:
configure: error: Library requirements (gtk+-2.0 = 2.0.0) not met; 
consider adjusting the PKG_CONFIG_PATH environment variable if your 
libraries are in a nonstandard prefix so pkg-config can find them.
I do not know how to do this. What does Perhaps you should add the 
directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment 
variable mean? And how do I do this?
It's basically looking for the development packages, the *.pc files are 
usually packaged with them, so just install libgtk 2.0 dev.

apt-get install libgtk2.0-dev
Hope that helps
Mark
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Proposed release date of sarge?

2004-08-08 Thread Mark C
Seen the debian installer is now rc1 (having just tried it again, it a 
100% improvement of the woody installer), and having read a few posts 
from Steve Langasek, with regards to the installer hopefully going 
officially live around September, can we expect that sarge goes from 
testing to stable?

I'm asking this, as I have to build a new mail and web server on some 
pretty new hardware, we are currently running unstable on the desktops 
and this has proved very stable
I watch  the cert announcements and only upgrade packages that have a 
security vulnerabilities).

We are currently running several heavily patched and backported version 
of woody, but would like to run the new 2.6 kernel and some newer 
packages (again if running sarge, the same procedure will be applied as 
we do on unstable to security problems), would I be correct in thinking 
that sarge will theoretically frozen now until the main release? that is 
if I have read things correctly?

So when it does get released, a simple dist-upgrade, should suffice?
along with some major testing on a development box.
Cheers
Mark
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sarge

2004-08-08 Thread Mark C
Greg Folkert wrote:
On Sun, 2004-08-08 at 12:43, Carl Fink wrote:
On Sun, Aug 08, 2004 at 12:22:57PM -0400, Greg Folkert wrote:

This seems good, I have tested it. Now, the mid-September release
time-frame seems realistic, for Sarge.
Surely you mean a mid-September freeze, not release?

If this in the case, then this should coincide when a similar question I 
posted earlier, were looking at buying some more servers and woody will 
not support them at all, but sarge will.
Considering you comment,
I would say it that providing it's not 100% mission critical, then you 
would proabaly be ok installing sarge and monitoring the cert 
announcements for a security releases, as sarge will be in a freeze, 
they will not be adding and removing packages, just fixing bugs, so once 
the official version is released a simple dist-upgrade should hopefully 
work ?

Mark
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Getting sound-juicer to rip Mp3?

2004-07-13 Thread Mark C
[EMAIL PROTECTED] wrote:
Even better, I made a better .deb based on the alienated package. Ignore 
the above, and fetch gstreamer0.8-lame_0.8.2-2_i386.deb at 
http://henrik.synth.no/deb/
Just got it, it works perfectly...
Thanks
Mark
(now, just wish they would add quality support for sound juicer)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Disabling autoloading of oss sound modules using kernel-2.6.6 and discover2

2004-07-01 Thread Mark C
Hi,
I've just upgraded my kernel in unstable to 2.6.6, and it's working 
great, apart from it loads both the oss kernel drivers and the alsa 
drivers, using discover for hardware detection.

I've done some googling, and can seem to disable a whole bus, but I 
cannot get discover to stop autoprobing of the soundcard, I've converted 
my old discover.conf from 1.4 to 2 (which adding disable sound, stopped 
the auto probing and alowed me to manually select alsa), but short of 
rebuilding the kernel and not building the oss modules, I'm stuck.

Has anyone manged to get this working yet?
Cheers
Mark
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Getting sound-juicer to rip Mp3?

2004-05-07 Thread Mark C
I've just installed sound-juicer, and discovered that it cannot rip
Mp3's, after some googling, it would seem I need some form of gstreamer
plugin, I have all the available ones from unstable and still there is
no Mp3 support, I've even rebuild sound-juicer from the debian source,
but still no support.

Can or does anyone know of a way to get this to work under debian?

I've used grip for the past few years, but really like the simple design
of sound juicer.

Cheers in advance

Mark



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: increasing screen resolution

2004-03-24 Thread Mark C
On Wed, 2004-03-24 at 22:20, Brad Camroux wrote:
 Hello,
 
 I wonder how to increase the screen resolution in X.  I'm currently at 
 1024x768, but would like to go to 1280x1024.  I love having the 
 larger desktop space so I can get everything I need on one screen if 

Just edit your /etc/X11/XF86Config or XF86Config-4, and near the bottom
of that file, you can add the resolutions, separated by , at the bottom
of the ' Section Screen', so whatever your  DefaultDepth is set at,
thats the one to alter.

i.e
Below, this allows X to run at the following resolutions (providing the
monitor/video card can support it):

1280x1024 1280x960 1152x864 1024x768 800x600 640x480

Then just restart X, by CTRL + ALT and Backspace.

Mark



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Checking Exim4 for being open relay server?

2004-03-11 Thread Mark C
Hi,

I'm just migrating from a redhat 7.2 sendmail server to a debian woody
Exim 4 server, at the moment the server is on a restricted internal ip
range, so it's not open to the wild yet, 
Can anyone tell me of the best way to check to make sure 100% that it is
not an open relay, reading the official exim4 book and the man pages, it
would seem that it is setup ok (but I cannot be 100% sure). 

I could use orbs, but that would mean it would have to go into the wild,
and if it is, they would put it in their db as an open relay.

Are there any debian packages in the pool, that I can apt-get, to use?

Thanks

Mark
-- 
Microsoft's version of 'integration' is: 
When IE crashes, it takes Windows with it... 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Checking Exim4 for being open relay server?

2004-03-11 Thread Mark C
On Thu, 2004-03-11 at 19:08, Alan Chandler wrote:

 I am not sure if this will help you, but do a man exim and check out the -bh 
 option
 

damn, I even read the man pages, oh well must get some glasses :)
Cheers to both of you, will give it a go.

Mark
 
-- 
Microsoft's version of 'integration' is: 
When IE crashes, it takes Windows with it... 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ut2004demo

2004-03-09 Thread Mark C
On Tue, 2004-03-09 at 20:51, Thomas G wrote:
 Well I was trying to get ut2004demo and I seemed to have a common error 
 message others were missing. So i read some of the archives of this list 
 and found that removing /usr/lib/tls might fix my problems... well it 
 did not.
 
 How can I get this back and how can i get ut2004 to work?
 

As far as UT goes, install the binary NVIDIA drivers, and then in the
ut2004demo/System folder, create a symlink to the Nvidia drivers:


cd /usr/local/games/ut2004demo/System
ln -s /usr/lib/libGL.so.1
ln -s /usr/lib/libGLcore.so.1

then run it like so:

LD_PRELOAD=/usr/lib/tls/libGL.so.1
ut2004demo

I get the same on the ballistics demo as well, reinstalling the Nvidia
drivers, should sort out the missing tls files as well.

Hope that helps

Mark
This is a glibc error in the debian build:

http://lists.debian.org/debian-glibc/2003/debian-glibc-200311/msg00401.html
and
http://lists.debian.org/debian-user/2003/debian-user-200311/msg01124.html

-- 
Microsoft's version of 'integration' is: 
When IE crashes, it takes Windows with it... 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



nslookup bind problem on internal network

2004-02-18 Thread Mark C
Hi, 

I've just set up bind for my internal network, and running:

'nslookup funkypenguin.net' returns:

Note:  nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead.  Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
Server: 192.168.3.2
Address:192.168.3.2#53
 
*** Can't find funkypenguin.net: No answer

running the same on debian.org, gives me back the correct replies
though, this would lead me to assume an incorrect zone configuration.

Yet 'dig  funkypenguin.net returns all the correct replies and results,
running nslookup on a host at my domain works fine and so does the same
using ip addresses.

All name resolutions works fine, and I can send ans receive email on all
hosts on this domain.

If this a nslookup error or a configuration in my zones?

This is driving me nuts, as the zone files all seem ok.

oh, if anyone happens to try this from their machine, it will work as
I'm using dyndns for external name resolution to this domain.

Mark

-- 
Microsoft's version of 'integration' is: 
When IE crashes, it takes Windows with it... 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: nslookup bind problem on internal network

2004-02-18 Thread Mark C
On Thu, 2004-02-19 at 00:11, CW Harris wrote:

 As a guess-- did you define your internal network to be funkypenguin.net
 and authoritative for the domain?  Thus there is no DNS path out of your
 LAN to the real authority for funkypenguin.net?
 
 Give us more info on how you have your domain setup.

Yes, I have set up the internal  name server to be authoritative for the
funkypenguin.net domain, I'm forward requests that I'm not authoritative
for out to my ISP's nameservers and the name server is only serving the
internal systems.

what further info do you require?

Mark
-- 
Microsoft's version of 'integration' is: 
When IE crashes, it takes Windows with it... 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Could not load OpenGL library

2004-01-08 Thread Mark C
On Wed, 2004-01-07 at 23:09, Colin Watson wrote:

  I found a solution to this on the linux games tome page, where someone
  said you need to remove /usr/lib/tls (or move it out of the way).
  
  Worked liked a charm for me.

When a game tries to load libGL.so, libGLcore also needs to be loaded,
but this step is done automatically by the glibc dynamic linker.  Even
when /usr/lib/libGL.so.1 is being loaded, the glibc dynamic linker tries
to load /usr/lib/tls/libGL.so.1 first.

That is probably why it works when you rename or delete the tls
directory.

This issue was reported
to the Debian bug system on November 10th and so far the maintainer has
not made any response at all, see:

http://lists.debian.org/debian-glibc/2003/debian-glibc-200311/msg00401.html
and
http://lists.debian.org/debian-user/2003/debian-user-200311/msg01124.html

Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



adding an attatchment using the mail command?

2004-01-07 Thread Mark C
Hi,

I run a nightly cronjob to back up certain system files, for the life of
me I cannot add them as an attatchment, when I mail to files to myself,
they always got put into the message body.  Reading the man pages gives
no indication of how to do this, and I'm not sure if you can with the
'mail' command (I suppose sendmail would be the other alternative).

and googling fails to come up with the correct results (probally my
search string).

Any advise would be appreciated

Regards

Mark




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: adding an attatchment using the mail command?

2004-01-07 Thread Mark C
On Wed, 2004-01-07 at 17:13, Morten Bo Johansen wrote:

 You can't do it with 'mail'. You can use 'nail' instead which does
 attachments. If you already have mutt installed you can use that as
 well to send mail with attachments in batch mode.

Cheers, I do have mutt installed, which is what I generally use when
working remotely, will give nail a bash..

Cheers

Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: No need for 2.4.23 (re compromise)

2003-12-05 Thread Mark C
On Fri, 2003-12-05 at 15:47, Bill Moseley wrote:

 I'm using that last one, 2.4.20.

same here from the debian sources, but with a few added patches, 
there is no need to download a new kernel, just get the source you have
for the currently running kernel, apply this patch:

-- cut -
--- 1.31/mm/mmap.c  Fri Sep 12 06:44:06 2003
+++ 1.32/mm/mmap.c  Thu Oct  2 01:18:19 2003
@@ -1041,6 +1041,9 @@
if (!len)
return addr;
  
+   if ((addr + len)  TASK_SIZE || (addr + len)  addr)
+   return -EINVAL;
+
/*
 * mlock MCL_FUTURE?
 */
-- cut -

and recompile, this was taken originally from, Debian Planet.

Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Quick question regarding permissions and tar

2003-08-20 Thread Mark C
Hi,

I've created a snapshot of a secure locked down server running woody that
was stetup on a secure non net connnected pc, I've got it setup to run
discover and a few other apps on boot to automatically detect hardware and
so forth, so I can then extract this to any new server and setup a few
basic things like fstab,lilo,partitioning and updates etc..

I've installed the harddrive to another pc that again is not net
connected, but running woody with Gnome, I've mounted the hardrive and
created a compressed image of the new system:

tar cvfPpj /home/mark/secure-server-woody.tar.bz2 /home/image/secure-server

Basically this will compress using bz2 compression, do not strip slashes
and keep the permissions of the files.

This is fine, I have a live cd (opps, running gentoo basic, as its only
66mb), which I have copied the image to and use to extract to a new pc.

The problem I'm getting is that its not keeping the correct permissions,
it looks like its taking the permissions from the host livecd.
This I can understand, but when I chroot into the new environment, all the
permissions are messed up, where as in /dev/ where is should say i.e.
cdrom it only says 18 for the group (yes cdrom is listed in /etc/groups).

I can cure this by copying the same version of group from the newly
extracted system into the live cd after boot up and then wipe the
extracted image and re extract the new image again.

Basically is there any way around this problem? apart from creating my own
livecd using debian as a base
(I know I could try knoppix, but I really want a small base live cd,so
there is space for the new image)

Thanks

Mark
-- 
To steal ideas from one person is plagiarism,
to steal ideas from many is research.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: DENY KAZAA , IMESH, CHAT PROGRAMS

2003-08-14 Thread Mark C
Once upon a time Mehmet AK was quoted as saying:

 i want to deny kazaa , imesh etc. and chat programs our local network .
 can u help me

If you stop shouting!, youre lucky to even get this rely, is there some
stange setting in Outlook Express 6.00.2800.1158 that converts text the
capitals?

This is not really a Debian specific question is it?

Uninstall them from each workstation and access a stricter security
policy, also alter you're fireweall rules to deny these programs in/out of
the network.

If you are not sure what pc they are on, try nmap to do a port scan of the
boxs.

MC
-- 
To steal ideas from one person is plagiarism,
to steal ideas from many is research.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Adding a default outgoing sig to exim4

2003-08-07 Thread Mark C
On Wed, 2003-08-06 at 16:51, Derrick 'dman' Hudson wrote:

 No.  Read this to get an understanding of the technical and
 non-technical issues of such an attempt :
 http://www.goldmark.org/jeff/stupid-disclaimers/

See below, I did mention sig and not disclaimer :)
but thanks for the link, it proved a few laughs.

 If you want to append a signature, configure your mail client to do
 so.  In mutt this is done with a line like set
 signature=~/.signature.  I don't know what squirrelmail requires for
 that.

I 'm asking this question, as I will be setting up a local small
companies mailserver using exim4 and they wish to append an automatic
signature, and not a disclaimer, i.e their company name, main contact
and website.

I asked the original question regarding my mailserver, as that (like the
company) is running sendmail, so using mine as a test bed for testing
the signature addition, I can iron small things like this out on my
network, also having a sig/disclaimer set by the mailserver, takes some
of the hassle for users to add it to each of their mail clients and
keeps the client happy, but they can add their own as well personal 
name and stuff if they really want to make the sig a 4 page essay

Mark



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Adding a default outgoing sig to exim4

2003-08-06 Thread Mark C
Hi,

I'm currently in the middle of replacing my mailserver (running sendmail
still) with exim4, and I would like to append a default signature to all
outgoing mail (preferable not to internal mail, but this I can live with)

after some digging, I came across mailscanner, with if available in the
debian archive, although this is primarily a virus scanner, would it be
possible to change this so it just appends a signature to the outgoing
mails, rather than running a virus scan on them (so the outgoing sig would
just replace the obligatory virus scan clean message)

If anyone has done this successfully? or know of a dedicated program than
can do this using exim4 or even any steps or website that offer
information on this, then I would be eternally happy

Thanks in advance

Mark

-- 
To steal ideas from one person is plagiarism,
to steal ideas from many is research.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sony Digital Camcorder connected via USB possible?

2003-08-04 Thread Mark C

Once upon a time Jamin W. Collins was quoted as saying:

 In general, yes.  With that particular model, no.  All I needed to do
 was treat the camera like any other USB storage device, and make sure it
 was on.

Whilst in general that is true, I had a problem a while back tring to get
my digital camera (epsilon) connected to my box, it uses usb for the
connection, it plugs in fine and I get console msgs regarding a scsi
driver has been loaded,
but I'm unable to access it at all under /dev/sda1.

After several emails to one of the usb maintainers and also on kernel.org,
it seems that whilst the device is saying that it is reported as a mass
staorage device, its actually emulating it (by using windows drivers),
hence unable to connect to any partition at all on the device.

This apparently is the case for a lot of cheapish usb devices, In the end
I bought a Zion smart card reader and used that, plug in and mount as
vfat:

mount -t vfat /dev/sda1 /usb-media

So be prepared for that scenario, whilst it may display as a mass staorage
device, you may not be able to connect to it.


But there are always workarounds, as in my case the Zion Smart card reader
(£15).

Mark

-- 
To steal ideas from one person is plagiarism,
to steal ideas from many is research.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Setting Gnome preferences system wide

2003-08-04 Thread Mark C
Hi,

Sorry if this has already been asked before, but after some net
searching, I'm still slightly stuck on the answer.

I'm build a Debian Gnome desktop for a small local company, and wish to
set a few things up as default in Gnome-2.2.2 for every user, this way I
can deploy the same image on every pc (as they are all the same,
hardware wise), basically set a user default customised theme, edit a
few gconf settings, like mailto to open in evolution etc..

This I can do no problem on a per user basis, but I would like to
somehow set it system wide, so everytime I create a new user, they get
all the defaults that I have set when they log into gnome.

Cheers

Mark




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Moving /home to its own partition.

2003-08-03 Thread Mark C
On Sun, 2003-08-03 at 22:31, alex wrote:

 How would you create new swap and /home  partitions om hdb so Debian 
 would use these instead of the original /home and swap?

First create the new partitions using cfdisk or fdisk (cfdisk is easier
to use) and then remove the old swop partition, edit /etc/fstab and
reinitialise the new swop partition.

I.E

cfdisk /dev/hdb
Add Partitions, but on the swop partition, choose the label option and
user the ID number 82 (swop)

/sbin/swapoff -a
/sbin/mkswap /dev/hdb?
/sbin/swapon /dev/hdb?

Depending upon what file system you would like to use (I use ext3), so 

/sbin/mkfs.ext3 /dev/hdb? (This is the new home partition)
mv /home /home.orig
Edit /etc/fstab and edit the swop partition to the new device, and also
add the new home mount point:

/dev/hdb?   /homeext3defaults 0   0 

mount -a

mv /home.orig/* /home

 Additionally, how could you best utilize the space gained by 
 transferring data from the original /home to the new /home partition?

This will depend upon what u want, you could resize the root partition?
or even the /usr partition, using parted (apt-get install parted)

Hope that helps

Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Future Debian default MTA?

2003-07-31 Thread Mark C
Hi,

I'm in the middle of planning a rebuild of a new mailserver, currently I'm
running sendmail, purly because its setup and works, yet I'm becomming
increasingly more fedup with exploits in sendmail and I'm looking at
replacing it with eith exim or postfix.

I have read the pros and cons of both and assesed the different security
alerts in both, as I would like to install either one, that will be
compatable in future debian versions,

Will or would either of these be removed or replaced in the forseable
future of debian versions?

Thanks

Mark



-- 
To steal ideas from one person is plagiarism,
to steal ideas from many is research.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Future Debian default MTA?

2003-07-31 Thread Mark C
On Thu, 2003-07-31 at 19:20, Noah L. Meyerhans wrote:

 They'll all still
 be available and well integrated with the rest of the OS.

Thanks, for the advice, I'll give postfix a try, as it seems fairly easy
to setup /me lazy

Mark 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: DVD audio extraction

2003-07-30 Thread Mark C
On Wed, 2003-07-30 at 07:52, Bill Moseley wrote:
 I can get audio extracted from vob files with mplayer, but I was
 wondering if there were any tools to make it a bit easier.

Give transcode a go, being lazy I use k3b or acidrip  for all my cd
burning and dvd ripping (uses transcode on the backend) , as both myself
and my wife spends more time on our computers than we do watching tv, I
tend too rip my dvd's to a shared hdd and we can both watch whatever
movies we want using Xine.

Personally I do not care if this upsets the movie bods, I legally paid
for all my dvd's, so I'm watching them anyway I can...

Add this to you're sources.list, then apt-get install transcode

# http://marillat.free.fr
deb http://marillat.free.fr/ unstable main

Mac




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: nfs problem

2003-07-30 Thread Mark C
On Wed, 2003-07-30 at 05:31, gerard wrote:
 Everything was working fine with my nfs, rebooted, and now when I try to
 mount an nfs drive this is the error I get mount: RPC: Unable to
 receive; errno = Connection refused. Any ideas? I havent changed
 anything either, thats why I find it strange.

try running:
 
/sbin/portmap (needed)
/sbin/rpc.statd 
/sbin/rpc.lockd

If you are going to run nfs, then you will need these running, also make
sure that /etc/init.d/nfs-common is running on startup.

Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



combining multiple ip's into one variable on iptables script?

2003-07-30 Thread Mark C
Hi,

I'm running a firewall using iptables on each server, these are just
standalone firewalls they then have to go through my main firewall after
woulds to go to their final destinations (just do not ask why ;)).

As each pc will have to use apt-get get get new packages and security
updates, if there a way I can stipulate multiple ip's to one variable?

i.e I use ftp.www.mirror.ac.uk

running nslookup on this gives me multiple ip addresses, I could create
a variable for each IP, i.e 

APT_MIRROR_AC_UK_1=194.83.57.3
APT_MIRROR_AC_UK_2=194.83.57.7 

and so forth, then create rules that allow outbound connections to each
of theses sites, is it possible to combine them all into one variable,
like

APT_MIRROR_AC_UK=194.83.57.3, 194.83.57.7

Thanks

Mark




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: new-bie problem

2003-07-29 Thread Mark C
On Tue, 2003-07-29 at 14:13, Joydeep Bakshi wrote:
 Hi all,
 I can enter into the interactive mode of Redhat by pressing * key i * at the 
 time of booting. but this technique doesn't work in Debian . how to get the 
 same thing in Debian ?

I know what you mean, as I do not run redhat anymore on any of my boxes,
I cannot supply the required files, but If you can get you're hands on a
redhat box, the two files that you are interested in are:

/etc/init.d/functions
/etc/init.d/rc.sysinit

You can see what they do and maybe convert them to work with debian, as
they are only bash scripts.

From what I can remember it calls a function called PROMPT (from
/etc/init.d/functions) , which allows you to say yes or no to start each
service up

Hope That helps

Mark



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



gnome-cups-manager from unstable is showing no drivers

2003-07-25 Thread Mark C
Hi,

Yes, I know its from unstable :)

I have just installed gnome-cups-manager from unstable and its perfect
for what I want (My parents currently running redhat ximian gnome XD2)
which has some nice easy to use GUI tools for setting up printing and so
forth, but I want to get them running Debian, as its easier to maintain
for them (and me) , so I was pleased when gnome-cups-manager appeared in
unstable, as its the one thing that they really need.

Being eager I downloaded it and tried it on my home machine, it detects
my printer through cups great, yet when I go to the drivers list, the
drop down box where it should list the drivers is greyed out, the
Manufactures list is showing up fine.

Have I missed any libraries or are there some more packages that are
needed that maybe haven't been uploaded to unstable yet?

I can setup my printer through the cups admin menu (and its works fine),
but I wanted to see if I can get this working without doing that.

Cheers

Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



make-kpkg fails on changelog with wrong name after patch

2003-07-24 Thread Mark C
Hi,

I have just downloaded and installed on woody the following:

kernel-source-2.4.18
kernel-patch-grsecurity-2-4

I untared the source, and then cd'ed into the top level directory, used a
default config (make menuconfig and Save), just applied the grsecurity
option (wanted to make sure it compiles ok, before I start customising the
config file)

then ran:

make-kpkg --added-patches=grsecurity_2_4 --append-to-version=-grsec-1.9.4
--initrd kernel-image

It builds ok, up until the very end, it keeps failing with:

/usr/bin/make -f /usr/share/kernel-package/rules real_stamp_image
make[1]: Entering directory `/usr/src/kernel-source-2.4.18'

The changelog says we are creating 2.4.18-grsec-1.9.4, but I thought the
version is 2.4.18-grsec-1.9.4-grsec-1.9.4

make[1]: *** [real_stamp_image] Error 1
make[1]: Leaving directory `/usr/src/kernel-source-2.4.18'
make: *** [kernel-image-deb] Error 2

No matter what I enter on the '--append-to-version' lor if I leave it out,
it keeps stopping at this level and complaining about the changelog
version.

I'm pretty sure something has been missed out somewhere.

Any help would be appresiated.

Yes everttime I retry it, I completely remove the kernel-source-2.4.18
directory.
Cheers

Mark

-- 
To steal ideas from one person is plagiarism,
to steal ideas from many is research.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: make-kpkg fails on changelog with wrong name after patch - SOLVED

2003-07-24 Thread Mark C
I have now managed to solve it, it seems a bit weird way, but it works,
and I've tried it around 6 times now
(after each time rm -rf kernel-source-2.4.18).

1. extract kernel-source
2. copy over .config to kernel-source top level directory
3. make-kpkg --added-patches=grsecurity_2_4
4. hit CTRL-C after the patch has been applied to stop it.
5. make-kpkg clean
6. make-kpkg --append-to-version=-686-grsec-1.9.4 --initrd kernel-image

I have read the man pages from top  bottom and this seems the only other
way to get it to work.

Mark

-- 
To steal ideas from one person is plagiarism,
to steal ideas from many is research.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: make-kpkg fails on changelog with wrong name after patch -SOLVED

2003-07-24 Thread Mark C
On Thu, 2003-07-24 at 16:50, Benedict Verheyen wrote:

 You can also use patch -p1 path_to_path in the /usr/src/linux directory
 to apply the patch and then use steps 5  6.
 That's what i did to apply the debian-logo patch. It also didn't work
 when using the --added-patches switch so i had to apply the patch
 manually via the patch command. That worked like a charm.

Thats what I also tried, as well :)

I did try the debian boot logo, but initrd bombed when it tried to load,
but that probably something else (now if only I could get the bootsplash
working correctly).

BTW is it possible to download a pure kernel source and use make-kpkg to
build a .deb ?

I did try this on 2.4.21, but it kept failing on undefined symbols
errors on the modules, right at the end.


Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: iptables woes on woody, not accepting inbound connections

2003-07-23 Thread Mark C

Once upon a time Shaul Karl was quoted as saying:

 would have add LOG rules in order to try and found out what happens
 to those inbound packets.

Sorry I missed that off the post, logging does actually drop inbound
packets on eth0 to ssh or apache, it would seem after banging my head on a
wall, that using statefull inspection is not working or I missunderstood
something,
In hte past I have always used static rules, as these are very similar to
the old ipchans way, using static tunles work fine, the connections are
received etc, but with statefull they are dropped...

 else, like tcpwrappers?

Nope my system works fine with my hosts.allow/hosts.deny setup,
adding a firewalll to this equation would not effect this issue at all.


-- 
To steal ideas from one person is plagiarism,
to steal ideas from many is research.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: iptables woes on woody, not accepting inbound connections

2003-07-23 Thread Mark C

Once upon a time John Hedge was quoted as saying:
 Have a look at Shorewall (http://www.shorewall.net).

I really want to only use standard debian packages, apart from using LIDS
on a 2.4.21 kernel latter on, I have my main standalone firewall (Cisco
Pix 515e), and I really want to setup a basic firewall on each server
(both on hte DMX and SIN), to make sure that only those connections that I
want specific to each server can get in and out of the servers.


 It's a lot easier than struggling directly with iptables and Tom Eastep
 is a great manager of his list at [EMAIL PROTECTED]

I'm not struggling with iptables, I have always been able to set it up
perfectly ok, understand the way it works without having to rack my
brains,
the only thing I cannot get working is using the -m state --state ? way of
working, working with the old way (i.e ipchans way of doing stiff, static
rules) I have no problem with


Mark

-- 
To steal ideas from one person is plagiarism,
to steal ideas from many is research.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Advise on avoiding spammers

2003-07-23 Thread Mark C
Hi,

I run my own small email server for my home network using sendmail
(fully patched), I have set it up to deny relaying for another domain
apart from my own, just lately I've been getting a lot of spam from
China and Taiwan, most are forging the from address (naturally), below
are some examples:

The weird one just arrived yesterday, they sent it to a non valid
account, in my virtusertable, I have specified anything else that
doesn't match the listed names, send back an error msg, yet these one
got through.

[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

There are around a another 50 bogus accounts supplied in the To field,
all to [EMAIL PROTECTED], this has been automated by some
script.

What I'm having problems working out is how can they manage to get
through, when not a single email address is valid, testing one of these
addresses from either home or work, all report back an error to me and
the mail isn't sent.

I know I can put a few rules on the firewall to stop the IP or domain,
but does anyone know of a way in sendmail that I could stop this
happening without resorting to using say procmail

Cheers

Mark








-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: paper size

2003-07-23 Thread Mark C

Once upon a time nori heikkinen was quoted as saying:
 trying to print things via enscript and mpage.  they're both
 defaulting to a4 paper, and i can't figure out how to specify letter
 paper.

If I'm correct the file you need is /etc/papersize

try installing the package libpaper1

Hope that helps

Mark

-- 
To steal ideas from one person is plagiarism,
to steal ideas from many is research.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: paper size

2003-07-23 Thread Mark C
On Wed, 2003-07-23 at 19:00, nori heikkinen wrote:

 checked all of them, and they're all set to letter ... just exported
 the PAPERSIZE env variable to letter, and still no dice.
 
 am i missing something?

letter ;)

Seriously, I had a very similar problem, I had set everything up to use
A4 (UK), and then setup cups, in every gnome print option, the A4 option
vanished and left me with letter.
In the end I tracked it down to the drivers I was using with cups (gimp
print), I used the New Cups HP drivers and A4 magically popped backup.

I know its not the same, but It may be worth checking the drivers the
printer is using 
(but at the same time I may be wrong, as printing is one of my very,very
weak points).

Mark



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



iptables woes on woody, not accepting inbound connections

2003-07-22 Thread Mark C
Hi,

I'm in the middle of trying to build a secure webserver, using stock
woody (2.4.18-bf2.4), 
the box is completely updates from last night. I install just the base
(never used deselect or taskselect) during the install, 
Once it was installed, I have installed:

apache
php4
ssh
dnsutils
lynx
iptables (choose not to run the init.d script)

The machine can surf the web no problem and accept inbound port 80 and
22 connections from other boxes on the same subnet.
(the box is at present not locked down, as I'm making sure certain
configurations work, then I will reinstall off the network and build it
up that way.)

I decided to test iptables, using a very,very basic script below:

#/bin/bash

/sbin/modprobe iptables
/sbin/modprobe ipt_state
/sbin/modprobe ip_conntrack

/sbin/iptables -F
/sbin/iptables -X

/sbin/iptables -P INPUT DROP
/sbin/iptables -P OUTPUT DROP
/sbin/iptables -P FORWARD DROP

/sbin/iptables -A INPUT  -i lo -j ACCEPT
/sbin/iptables -A OUTPUT -o lo -j ACCEPT

/sbin/iptables -A OUTPUT -p udp -o eth0 --dport 53 --sport 1024:65535 -j
ACCEPT
/sbin/iptables -A INPUT -p udp -i eth0 --sport 53 --dport 1024:65535 -j
ACCEPT

/sbin/iptables -A OUTPUT -o eth0 -m state --state ESTABLISHED,RELATED -j
ACCEPT

/sbin/iptables -A INPUT -p tcp -i eth0 --dport 22 --sport 1024:65535 -m
state --state NEW -j ACCEPT
/sbin/iptables -A INPUT -p tcp -i eth0 --dport 80 --sport 1024:65535 -m
state --state NEW -j ACCEPT

I can do outbound nslookup requests no problem, but it now fails to
allow inbound connections at all, to either port 80 or port 22.

I have another box (this one is running redhat 8), which I'm replacing
with debian woody, so I killed that and loaded on a bloat riddled basic
rh install, ran the same script and that works as expected, allowing
inbound connections, all the same modules are loaded.

Just for the record, I'm running a woody/sarge/sid mix on my laptop and
that does the same as my test woody box, it just refused to accept
inbound connections

This is driving my mad, can anyone possibly point me in the right
direction, as it seems there may be something debian specific that I'm
missing.

cheers in advance

Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: iptables woes on woody, not accepting inbound connections

2003-07-22 Thread Mark C
Just to confirm, if I do not use state connections, and use static
instead i.e:

/sbin/iptables -A INPUT -p tcp -i eth0 --dport 22 \
--sport 1024:65535  -j ACCEPT

/sbin/iptables -A OUTPUT -p tcp -o eth0 --sport 22 \
--dport 1024:65535 -j ACCEPT

It works perfectly.

Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



passwd + libcrack problem

2003-07-21 Thread Mark C
Hi,
I just building a new server from woody (all components are only from
woody), I installed libpam-cracklib on my system. when i now edit
/etc/pam.d/passwd and /etc/pam.d/passwd as instructed therein:

  comment out this line:
password   required   pam_unix.so nullok obscure min=4 max=8 md5

  uncomment these two:
password required   pam_cracklib.so retry=3 minlen=6 difok=3
password required   pam_unix.so use_authtok nullok md5

and then attempt to run passwd, i get a fatal error:

cloud:/etc/pam.d# passwd mark
passwd: Critical error - immediate abort

I've ran strace on passwd and it reports some missing files,
but on my desktop running a mixture of woody base, with testing/unstable XFree86 and 
Gnome-2.2.2
and libpam-cracklib and pam from unstable, doing the same works great,
yet both generally report the same missing files whilst running strace..

The only difference is on my woody server it tries to find: 

stat64(/var/cache/cracklib/cracklib_dict.pwd, 0xbfff96dc) = -1 ENOENT (No such file 
or directory)
write(2, passwd: Critical error - immedia..., 41) = 41

Can any one help me on this one, as its now driving me mad.


P.S I have ample hdd space, and /etc/passed and /etc/shadow are both -rw-r--r--
and running: 

lsattr /etc/passwd
-- /etc/passwd

reports fine.
I can post my strace output if required.

Thanks

Mark






-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: sed tutorial

2003-07-21 Thread Mark C
On Tue, 2003-07-22 at 00:39, Robin Gerard wrote:
 hello,
 why google gives a lot of unreachable sed tutorials ? (error 404 ...)
 Where can I get them if they exist ?

Dunno, sorry cannot help on that one as its not really a debian specific
problem ;)

But I've found some tutorials for you, not sure how advanced you need
them, but give them a shot anyway.

http://www.pegasus.rutgers.edu/~elflord/unix/sed.html

http://www.ceri.memphis.edu/computer/docs/unix/sed.htm

http://www.softpanorama.org/Tools/sed.shtml


Happy seding

Mark



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Xfree86 4.3 confusion

2003-07-20 Thread Mark C
On Sun, 2003-07-20 at 19:11, Johannes Graumann wrote:

 Did 4.3 get recently pulled from the distribution? Why? Where can I get the packages?

AFAIK 4.3.0 has never made it into unstable as of yet, I have been using
the one from here: 

deb http://people.debian.org/~mmagallo/packages/xfree86/i386/ ./

Mark

P.S could you please lower or turn on you're word wrap to around 70, 
cheers.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Portable MP3/Ogg player supported by Debian?

2003-07-19 Thread Mark C
On Sat, 2003-07-19 at 05:20, Carl Fink wrote:

 I'm thinking about getting a portable MP3 player so I can listen to
 recorded/downloaded content in my car.  

I've just got a portable MP3 player for my wife, is a Diva MP3 Player
from from http://mydivaplayer.com/html/diva.html
They range from 32mb -256mb and can also use flash cards, which actually
combine with the internal memory (unlike some of them who take over, i.e
if you had a 256mb version and bought another 256mb flash card, you
would get 500mb, where as some will only use 256 MB)

Its recognised by any distro running at least a 2.4.x kernel with usb
mass storage support, so just add usb-storage to /etc/modules and plug
it in, you then access it as:

/dev/sda1 /usb-media vfat rw,noauto,user 0 0

Reading and writing works great and you can get an in car kit from (over
here is the uk Argo for around £10) that plugs into the output of the
player and the cassette recorder in the car.

Hope that helps

Mark



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Mozilla Very Very slow in rendering

2003-07-13 Thread Mark C
On Sat, 2003-07-12 at 00:48, Nathan Poznick wrote:

 Is the redhat mozilla using XFT?  I'd guess offhand no...

I'm pretty sure it it, as its anti aliased

 Out of curiosity, are you running an NVidia card?  If so, you can use:
 
Option  RenderAccel on

Yes I am, I'll give that a go, hopefully It will improve all my xft
configured apps :)

Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Free Original copy of Never Winter Nights for Linux going! (and its original)

2003-07-09 Thread Mark C

Once upon a time Mark C was quoted as saying:
 Hi,
 Yes you read the title correctly, being a complete idiot I ordered 2
 copies of nwn from tuxgames, I could of sent it back, but I went on
 holiday after receiving it and missed sending it back.

I have now given the game away, sorry to the other people that sent me an
email, I just done it on first come first serve,

Yes I do feel dreadfull for the people that asked, If I ordered any more I
would of sent a copy to everybody that replied, but I cannot see my wife
taking too kindly to my buying several copies..


Mark

-- 
To steal ideas from one person is plagiarism,
to steal ideas from many is research.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: is a backport of Xfree86 4.2 or 4.3 for woody available?

2003-07-08 Thread Mark C
On Tue, 2003-07-08 at 19:42, Pigeon wrote:
 On Mon, Jul 07, 2003 at 02:53:54PM -0400, Walter Tautz wrote:
  just wondering. a google search revealed a deadlink
 
   http://people.debian.org/~mmagallo/packages/xfree86/

I would personally recommend the above link, as well, also put testing
in youre apt sources, as it needs a few packages from there to install,
but I've been running this for around 4 weeks and it rocks (once I
managed to get the fonts sorted out).

Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: XServer installation

2003-07-08 Thread Mark C
On Wed, 2003-07-09 at 00:57, Peter Francis wrote:
 Hello:
  
 I am trying to install XServer. When issue the command 
 apt-get install xserver-xfree86 I get the error xserver-xfree86
 depents: zlib1g .. but it is not installable
 E: Sorry, broken packages

Have you by any chance got multiple repositories listed, i.e stable,
testing and unstable?

If so try having only one and then running apt-get update and try again
(alternating them, to see if it fixs it), I may be wrong, but I've had
this mixing woody/sarge and sid, but I'm generally running sarge/sid and
so far so good!

Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: From mp3 to CD

2003-07-07 Thread Mark C

Once upon a time Vittorio was quoted as saying:
 I'm using xcdroast under debian testing to roast my CDs from wav files.

 OR

 Any other program (instead of xcdroast, I mean)?

Yeah I tried k3b (being a gnome freak, I was hesitant to try a kde app,
but..) and its been brilliant,
just drag my oggs/mp3 to the windows and press burn, fully converted to
play on my stereo.
Itys now available in unstable, just a work of waring, delete the pre
populated group and use cdrom instead (you'll see what I mean, as
otherwise it can lock the whole pc, if you use a non exsistant group)

Mark

-- 
To steal ideas from one person is plagiarism,
to steal ideas from many is research.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: XMMS unable to play streaming audio (pls)

2003-07-07 Thread Mark C

Once upon a time Bijan Soleymani was quoted as saying:

 What happens if you open xmms, press Control-L to open a location and
 then paste in the URL.

If I save the pls file from mozilla, then open it with xmms it works, but
I want to be able to do this via mozilla, and this seems impossable, as
mozilla tried to open the playlist in a new tab,

I have tried editing the helper applications, but even with mozplugger
installed that is completley blank, and also reading on the net I have
tried to manually add  a few different mime types, and they still fail to
open, I'm using mozilla-1.3.1.xfs from sid.

Mark


-- 
To steal ideas from one person is plagiarism,
to steal ideas from many is research.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



XMMS unable to play streaming audio (pls)

2003-07-06 Thread Mark C
Hi,

In my quest to try to get streaming audio playing from shoutcast and
mozilla, I have been unable to get xmms to play any *.pls files or any
URL's, When I click on the url tab and enter a url, it doesn't even
attempt to try to play them, I've tried xmms from woody, testing and now
unstable and still the same.

I've also installed every single xmms plugin available from the main
official debian repositories, from what I can see there isn't a
dedicated plugin available to do this (I may be wrong).

I've tried googling, but not much joy, and xmms documentation leaves a
lot to be desired.

Thanks In Advance

Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: XMMS unable to play streaming audio (pls)

2003-07-06 Thread Mark C
On Mon, 2003-07-07 at 01:02, Bijan Soleymani wrote:

 What happens if you open xmms, press Control-L to open a location and
 then paste in the URL.

nothing, it doesn't even show up after I press ok,
I have been going into the playlist window and then pressing the URL
button and doing it that way, which I presume is the same as you
mentioned?

It plays mp3 and everything else fine, just not streaming

Mark




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Cups changing paper settings, now unable to get A4

2003-07-01 Thread Mark C
Hi,

I have cups on woody/sarge installed an working, except that when I
actually add a printer, there is no a4 options for the paper in the cups
menu or any of my gnome apps, 

but if I remove or do not configure a printer, the A4 option is there
for my gnome apps (under the print option), as I do not use KDE I cannot
really be sure its its just gnome.

I've done some digging on google, but nothing really comes up that fits
my criteria, linuxprinting.org doesn't come up with much either.

Any help would be appresiated.

Thanks

Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Install xfree and gnome

2003-07-01 Thread Mark C
On Mon, 2003-06-30 at 06:08, Voicu Liviu wrote:
 Hi debians :-)
 I'm pretty new on debian so please understand me :-)
 
 I have installed the base system of STABLE ver 3.
 
 I also made the /etc/apt/sources.list file with my local mirrors.
 Now I try to run:
 #apt-get install xfree
 and I get not found, also the same message for gnome.

I had the same with gnome on woody ( I wlways figured 'gnome' was a
metapackage, but it seems not on woody), I wanted Gnome from unstable
anyway and done an apt-get install gnome from unstable and it worked
fine, been running gnome for around 3 weeks and so far only a few small
niggling errors, but its pretty stable.

AFAIK 'apt-get install x-window-system'  still works

Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: release source code

2003-06-30 Thread Mark C
On Fri, 2003-06-27 at 16:35, Fabio Miranda Hamburger wrote:
 Hi, I would like to know Where Can I get the linux debian source code? All
 I can see are binaries. I need the full directory in a ftp serfver (ej:
 ftp.debian.org)

Off the top of my head I'm not sure, but you could add the src line to
youre apt.sources list and  get the files that way or and this is a
novel idea, buy the cd's and get all the sources in there, only around
£30, you could try:

http://www.debian.org/CD/vendors/

ftp://gd.tuwien.ac.at/opsys/linux/debian-cd/images/3.0_r1/i386

And download the iso's, I'm pretty sure images 4,5,6,7 are all source
iso's

 
 By the way, I have found Linux instalation annoy, so much warning and
 explication of what is going on, a lot of questions, that should be
 optional, I dont know how frequent linux users deal with that. freebsd
 style is so polite, brief, direct, coherent.

so either way you would complain ;)

you could install say Lindow's or Xandros and watch it wipe youre hdd..

Not enough warning or help or too much, at times you cannot win




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: How to resize Pictures

2003-06-30 Thread Mark C
On Fri, 2003-06-27 at 15:18, Jake Johnson wrote:
 Hello,
 I need to know a fast way to convert 1600x1200 to 800x600 pictures from
 the command line.  Any ideas on how to do this?

By the time you got a reply from this list, you could of used gimp ;)

I may not be sure, but try the 'convert' command, it's from the
'imagemagick' binary

Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: PDF viewers capable of high zoom factors

2003-06-30 Thread Mark C
On Mon, 2003-06-30 at 14:23, Pigeon wrote:
I have a map of the British mainland as a .pdf file. In order to see
 useful local details on it, I want to be able to zoom in by about 50x.
 I have tried xpdf, gv, ghostview and kghostview, but nothing appears
 to be able to zoom in more than 10x.

Have you tried gpdf?

I'm not sure if it would zoom in enough, but I just tried it and zoom ed
in till I only and 3 words fill up the entire view

You cannot loose much (not sure if its available in testing yet though)

or maybe acroread?

try:

deb http://marillat.free.fr/ unstable main

 Any suggestions?

See above :)

Hope that helps

Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



A4 paper size not available for printer

2003-06-27 Thread Mark C
Hi,

I done a upgrade to sarge, and so far its been great, I have now just
come to setup my printer and discovered that there is no 'A4' size
listed to use.

During the install I can remember something regarding the printer paper
size, which I set to A4, but this must of got messed up during the
upgrade.

I'm currently printing use the 'letter' size, but this cuts alot of text
out and messes the page up.

Can anyone advise me how I would get this option back, or be able to add
it.

Cheers

Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: mozilla 1.3.1 java plugin

2003-06-26 Thread Mark C

Once upon a time Tom Allison was quoted as saying:
 OK, I'm confused.

that what I'm told all the time ;)

 I have a javaplugin_oji.so in whatever directory I'm supposed to have it
 in  according to the mozilla dev website.

I presume its /usr/lib/mozilla/plugins ?

 This was an upgrade to an existing mozilla installation that had a
 working  java plug-in.

It may of acudently removed the plugin ?
Does it show in Help | About | Plugins

If you still get the error, try the gcc-3.3.x compiled version from
Blakedown Java, also what version of Mozilla are you running?

I have had sucess running suns own java using version 1.4.1 (I think)

Mark

-- 
To steal ideas from one person is plagiarism,
to steal ideas from many is research.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Adding more files to a iso image?

2003-06-24 Thread Mark C
Hi,

I've finally managed to get my debian system (Woody/Sarge/Sid) configured
and working perfectly with not a single problem.

Anyway, I have created a image of /dev/hda1 using partimage and currently
storing this on a nfs partition.

I'm using a live cd that consists on partimage, so I can boot up and mount
the nfs directory with the partimge file in and restore the complete image
(just incase I completely manage to mangle my system or I need to install
the image on another computer).

Basically the image is small enougth to fix on the extra space on the live
cd,
how would I go about add this image to the cd?

I would use dd to image to cdrom to my harddrive, then would I use to
loopback interface to mount the iso image as rw, copy the partimage file
to the mounted  iso and then umount the iso and reburn using cdrecord.

i.e:

dd if=/dev/cdrom of=/tmp/livecd-image.iso

mount -t iso9660 -o loop,rw /tmp/livecd-image.iso /cdrom

mkdir /cdrom/image

cp debian-partimage.img /cdrom/image

umount /cdrom

cdrecord -v --eject dev=0,2,0 speed=8 -data /tmp/livecd-image.iso

Would this copy the image to the mounted iso image or would I loose it
after I unmounted it?

Thanks

Mark



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Compiling 2.4.20

2003-06-24 Thread Mark C
 I've configured my kernel to my hardware but during compilation the
 following  error pos up:

snip
rs in.)
 super.c:945: error: parse error before n
 super.c:945:12: missing terminating  character
 make[4]: *** [super.o] Error 1
 make[4]: Leaving directory `/usr/src/kernel-source-2.4.20/fs/reiserfs'
 make[3]: *** [first_rule] Error 2
 make[3]: Leaving directory `/usr/src/kernel-source-2.4.20/fs/reiserfs'
 make[2]: *** [_subdir_reiserfs] Error 2
 make[2]: Leaving directory `/usr/src/kernel-source-2.4.20/fs'
 make[1]: *** [_dir_fs] Error 2
 make[1]: Leaving directory `/usr/src/kernel-source-2.4.20'
 make: *** [stamp-build] Error 2

What compiler version are you using?

gcc --version

I had problems trying to compile the debian kernel-source-2.4.20 using
gcc-3.3 (aparently gcc-3.2 works though) on woody/sarge mix

In the end I installed gcc-2.95 and then created a symlink from
/usr/bin/gcc - /usr/bin/gcc-2.95

It built and install perfectly, I'm not sure if I enabled reiserfs, but I
just adapted an old config of mine for debian.

Mark




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Extremely annoying ext3

2003-06-23 Thread Mark C

 It sure sounds like you don't have DMA enabled on your drive. Debian
 (bless its little heart) will not do this for you automatically, which
 is not what people from Red Hat expect.

This is wrong, being an ex redhat user (well to long) before I slipped
into the Debian camp, redhat do NOT use dma on either hard drive or cdrom,
this has to be turned on manually as well (Just on redhat very slightly
easier than debian):

Redhat:
/etc/sysconfig/harddisks [ Uncomment dma=1 ]

Debian:
apt-get install hwtools hdrparm
/etc/init.d/hwtools [ Add options after hdparm -q  ]

Mark




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 'DriveReady SeekComplete' errors with new hard drive

2003-06-23 Thread Mark C
 I just recently added a new hard drive to my firewall machine and I'm
 seeing the following errors:

   hda: set_multmode: status=0x51 { DriveReady SeekComplete Error } hda:
 set_multmode: error=0x04 { DriveStatusError }

I doubt this will help, but I'll put my say in anyway :)

I get the same on one of my workstations running a via chipset on a new
hdd, I have tried 5 different hdd's on the same chipset/board and all give
the same errors, I've tried different ide cables, bios updates, kernel
updates, hdparm settings so in the end I ended up replacing only the
motherboard for a sis chipset and perfect no errors.

The hdd has been running for around a year, with not a single problem, no
loss of data, no errors, so I decided to put it on the old mobo, wham!
same errors.

So it could be youre chipset for some reason??

just another view

Mark



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Netscape 7 or 7.01 or 7.02 in a debian package? error sharedlibraries: libstdc++-libc6.1-1.so.2

2003-06-12 Thread Mark C
On Thu, 2003-06-12 at 20:38, [EMAIL PROTECTED] wrote:

 [EMAIL PROTECTED]:/usr/local/bin/netscape-installer# ./netscape-installer
 ./netscape-installer-bin: error while loading shared libraries: 
 libstdc++-libc6.1-1.so.2: cannot 
 open shared object file: No such file or directory

Install (from woody):

libstdc++2.9-glibc2.1 2.91.66-4

Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Lightweight Word Processor

2003-06-10 Thread Mark C
On Tue, 2003-06-10 at 17:34, Nick Wilson wrote:
 Hi everyone, 
 
 I'm looking for a lightweight but full featured word processor for a
 very low spec machine.

Give Abiword a go (apt-get install abiword), but do not use the version
from sid.

Mark

-- 
To steal ideas from one person is plagiarism, 
to steal ideas from many is research.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: IMAP is too secure...

2003-06-10 Thread Mark C
On Tue, 2003-06-10 at 14:01, Phillip Hofmeister wrote:

  I cannot log into my IMAP server any more... It keeps saying Invalid
  password. I can only assume it's using password encryption, but I don't
  know how to turn it off.

Has it added any new options to the config file?
I have this problem on my email servers, they run redhat (no comment
either ;)) and as uuw-imapd by defaulot chucks the mails in the users
home directory, I hd to add a pacth to make them by default go innto:

$HOME/IMap

If I upgrade, wusing their up[2date service it completely kills my
options, so maybe there is something similar to this with you??

  It was never turned on before, but since the upgrade I've een unable to
  retrieve my mail through IMAP. It usually asks in the config whether I
  want clear-text passwords enabled or not, but it wasn't an option this
  time.

Try adding the option?

Mark

-- 
To steal ideas from one person is plagiarism, 
to steal ideas from many is research.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Debian x Redhat

2003-06-05 Thread Mark C
 On Wed, 2003-06-04 at 14:20, Bruno Diniz de Paula wrote:

  and it was completely useless. Because the
 repositories are so small (again, because the original company does not
 support it), that it is useless. Only a hanfull of applications, can
 work with apt-rpm.

It really depends, I used to be a Pure Redhat user (from 5.1 - 9), but as
already mentioned, got sick of their product life cycle, they generally
only care about their enterprise customers, there are major, major
problems with rpm from versions = 8.0, rpm locks and can do many damaging
things.

My last straw can on a production server, running up2date -u (their
official updater), it upgraded glibc, then locked the database and
crashed, this left me with parts of the old glibc-common and parts of the
new glibc, it then proceded to restart ssh, thus locking me out, forcing
me to login again, same happended, now I was faced with a 200 mile journey
to actually go the the machine (ssh only allow so many users to connect,
security).

I had to then try and recover the remains of the glibc stuff, not pretty.

I have enter several bug reports, starting from 8.0, still not fixed (but
hey there is a workaround!..).

Redhat does have more polised GUI based configuration tools, but if u are
running servers then u do not need X anyway, and tends to be more cutting
edge, but there are things like, they do not ship/support Apache 1.3.x
anymore from = 8.0, only Apache2 (debian has both), their kernels are
patched to hell, and *ARE* slow, standard its fairly secure, only
generally listening on loopback interfaces for services

I used to use apt locally for all our servers, using one to rsync the
updates everyday, then apt-get the required updates from our local
repository (saving on bandwith), so for this its great,

There are a few repositories out there:

* http://apt.freshrpms.net/
* http://apt.au.freshrpms.net/
* http://www.linux.cz/apt-rpm/
* http://ftp-stud.fht-esslingen.de/apt/
* http://ftp.uninett.no/pub/linux/apt/
* http://apt-rpm.tuxfamily.org/
* http://redhat.usu.edu/
* ftp://mirror.pa.msu.edu/apt/
* http://apt.42h.de/
* http://apt-rpm.codefactory.se/
* http://apt-rpm.xinus.net/
* http://people.ecsc.co.uk/~matt/repository.html
* http://utelsystems.dyndns.org/

But Debian has loads more, 3rd party and standard, they tend to keep track
and still maintain older versions of software, they *ASK* when preforming
post installation scripts (glibc update anyone!).

The Standard, i.e Stable version is just that *STABLE*, I've switched
around 4 weeks ago, and apart from a few quirks, I'm loving it.

Faster, Easier to maintaine, and very, very small base install
(RedHat 425MB min, Debian Woody: 125 - 150MB)

The one advantage that Redhat does have, is commercial support, large
companies like this, so that is why companies like Redhat, SuSE, tend to
go towards the corporate users or migrating companies, as they like the
comfort blanket of available support for the suits
(the techies still use the mailing lists)

(but I dare say there is commercial Debian support as well).

Anyway Thats my unbiased opinion (hopefully)

Mark




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Cd burner

2003-06-05 Thread Mark C
 Hi,
 I have replace my old cd-reader with a new cd-read/write and now I can't
  mount for media cdrom. I think that is a /dev/  problem which I don't
 how to  fix it. My Debian is SID(super-interface-daimler) and the new
 Cd-RW is  Aopen(52x24x52).

As long as the device is on hte same IDE change, and the same jumper
settings as the old driver, then it should still work

 Another problem: In xcdroast the burning for audio,data and iso is work,
 not  in K3b only for audio. The message is ...not driver for cdrdao..
 thank for any help !

Either re run the k3bsetup program or edit the configuration section for
k3b and try changing the cdrdao driver to: generic-mmc (AFAIK)


Mark



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Very slow nfs client (woody) server (woody)

2003-06-04 Thread Mark C
Hi,

I'm posting this as a last resort, as I'm now at my wits end, after
several hrs googling and reading the man pages, I'm still no closer to
solving this mystery.

My NFS server is running stock woody (with all updates) and exporting
several shares, a few for public access and one for the /home directory
,which clients mount (ok, only me and my wife), I have decided to change
my workstation to woody (was running redhat, due to it having more
cutting edge stuff, but lets not go there), 

I have woody running perfectly, yet it takes an age to read/write any
files from my nfs server, where as redhat is (for nfs clients anyway)
blistering fast, I have tried several wsize and rsize options, but its
still very slow, I'm currently running 2.4.20 kernel 
(hoping this would help, but nope)

Heres my current mount arguments in /etc/fstab:

loki:/nfs-exports/tmp /pub/tmp nfs  
nfsvers=2,rsize=4096,wsize=4096,hard,bg  0 0

And I am running lockd and rpc.statd on the client as well

I decided to dual boot with redhat and woody, and do some comparisons, 
Copying 1.2GB of data (a single tarball) from client to server

Redhat: 15 mins
Woody: 55 mins

As I mount my home directory, its causing all programs to slow down to a
crawl, whilst they are reading or writing to the directory.

Please do not take this as a threat (and its not meant by this at all), 
I'm seriously looking at switching back to redhat, not that I want to
but from what I have read I have tried most things, as its now got to
the point of being unbearable ad causing my to do little or no work.






-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Dlink DFE 690 TXD vs. Netgear FA511

2003-06-04 Thread Mark C
On Tue, 2003-06-03 at 22:28, Jonathan Schmitt wrote:
 Hallo,
 I'm currently thinking about a replacement for my defective 3com Officeconnect 
 PCMCIA Network Adapter.
 I've found two cards available at local stores not using a media converter, 
 the netgear FA511 and the dlink dfe 690 txd. 

I'm currently using the FA511 on my old, but semi trusty Compaq Presario
laptop, and this pcmcia card has given me no problems at all, and pretty
evenly priced as well, it works out of the box, (they do ship Linux
drivers AFAIK), but I have a nasty habit of putting the cd's that come
with hardware in the bin :(

yenta_socket is the name of the kernel-level PCMCIA driver it uses.

Hope this helps

Mark






-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Very slow nfs client (woody) server (woody)

2003-06-04 Thread Mark C
Bob Proulx wrote:

 What does your /etc/exports on your server say?  Does it say 'sync' or
 'async' for export options?

At the top of my head I cannor remeber, will check it out, but personally,
It feels like a client issue, as RedHat on the client works great.

 Just as an aside you might check out bonnie/bonnie++.  A filesystem
 benchmark performance test.  Does a reasonable job of benchmarking
 perfmance.

   apt-cache show bonnie++

will check it out

 Redhat: 15 mins
 Woody: 55 mins

 Gag.  I always hate trying to debug those types of things.  It
 furnishes so much ammo for stone throwers all around.  But in the end it
 is all still the same free software base and once figured out both are
 usually the same.  But no fun at all when you are in the thick of it.

True, thats what getting me :(

 Guessing you have sync on when in woody and async on when in redhat.

 Also, check your DMA status.  Only applies if you are using IDE
 drives.  SCSI is always DMA.

I always run with DMA on both hdd and cdroms, yet the funny thing is the
redhat box, has them enabled, it makes no differance on my woody box, as
its still slow writing to the share, but reading is great.

Maybe its worth subscribing to the kernel mailing list?

Mark




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Gnome2.2 Window Manager

2003-06-04 Thread Mark C
 Hi
 I am using ICE Windoe Manager and I am not very happy with it.
 What is the default window manager for Gnome2.2 ?


KDE ;)

Seriously, it depends, AFAIK know on debian its sawfish, but you can
change this to metacity (as this is AFAIK the gnome specified default).

metacity seems faster, but less options, if you wish to use metacity, then:

apt-get install metacity metacity-setup

Once logged in to gnome, if you wish to use metacity, open gnome
terminal/xterm or whatever and run:

Find the Process ID of sawfish (ps -ax | grep sawfish)
kill -9 (pidof sawfish)  metacity

If you try to kill sawfish and not run metacity straight after, I have had
problems, with gnome not knowing how to place the windows, thus unable to
start metacity (without a struggle)

Once started, close terminal, this will restart metacity, and then logout
and save session, thus the next time it will default to metacity.

Hope that helps

Mark




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: About to format the hard drive for the 3rd Debian installation-helpppp

2003-06-04 Thread Mark C

Next time, if you wish to use beta software or mess around, create a
directory called say /opt/kde3 and /opt/kde3/qt3 or even $HOME/kde3 or
$HOME/qt3 or whatever..

Give only youre user (i.e not root) complete access, and then install into
there, i.e:

# ./configure --prefix=/opt/kde3 blah!..blah! (for kde)

 or

# ./configure --prefix=/opt/kde3/qt3 blah!..blah! (for qt3)

Add /opt/kde3/lib and /opt/kde3/qt3/lib to /etc/ld.so.conf and
also add the paths to youre default path, preferable before the default ones,
that way it will (should) look into the /opt directories first, then if
all goes wrong, just do:

# rm -rf /opt/kde3

This will keep youre system nice and clean, as as you are doing this as a
mere mortal, rather than root, you will not have write permissions to the
main directory structure, thus the normal sytem is nice and safe

Hope that helps

Mark





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]