modifying /etc/motd during boot

2003-01-25 Thread phill

Simple question:  I've got a simple little
script to take the top 3 things from my todo
list and put them into /etc/motd.  Where
should I put this script in the boot process?

Phill


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




mount windoze partition for user automatically

2007-07-30 Thread Phill Atwood

I've got a 40GB drive and the first 20GB contains Windoze XP.  I can
mount this manually fine.  I can mount it automatically too. But if I
try to access it as non-root I get:

$ cd /windoze
bash: cd: /windoze: Permission denied

Permissions on my /windoze directory are:

dr-x--   1 root root  8192 2007-07-29 17:49 windoze

If I umount /windoze and change the permissions they seem to revert back
to the above after I reboot. Accessing it as root works fine, but I
would like to access it as a regular user.  Aside: I read in some tux
documentation that for Windows 2000 and Windows XP you can change the
type to vfat and get read/write access to the partition.  This would be
great but I am sceptical that it is dangerous to mount rw under ntfs
type but okay under vfat.

My fstab file is:

# /etc/fstab: static file system information.
#
#
proc/proc   procdefaults0   0
/dev/sda1   /windozentfsuser,auto,noexec,ro  0   0
/dev/sda2   /   ext3defaults,errors=remount-ro 0
1
/dev/sda8   /home   ext3defaults0   2
/dev/sda7   /tmpext3defaults0   2
/dev/sda5   /usrext3defaults0   2
/dev/sda6   /varext3defaults0   2
/dev/sda3   noneswapsw  0   0
/dev/hda/media/cdrom0   udf,iso9660 user,noauto 0   0

$ fdisk -l

Disk /dev/sda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/sda1   *   1243219535008+   7  HPFS/NTFS
/dev/sda224332493  489982+  83  Linux
/dev/sda346214863 1951897+  82  Linux swap /
Solaris
/dev/sda42494462017085127+   5  Extended
/dev/sda524943101 4883728+  83  Linux
/dev/sda631023466 2931831   83  Linux
/dev/sda734673527  489951   83  Linux
/dev/sda835284620 8779491   83  Linux

Partition table entries are not in disk order

$

Any help is appreciated.

Phill



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



ntfs mount errors

2007-07-31 Thread Phill Atwood

Further to my problem of not being able to automatically mount my
windows xp partition and cd to it as a regular user.

from dmesg:

NTFS driver 2.1.27 [Flags: R/W MODULE].
NTFS volume version 3.1.
NTFS-fs warning (device sda1): load_system_files(): Unsupported volume
flags 0x4000 encountered.
NTFS-fs warning (device sda1): load_system_files(): Volume has
unsupported flags set.  Will not be able to remount read-write.  Run
chkdsk and mount in Windows.

I'm not clear on what I need to do.  I don't seem to have chkdsk.  I
tried apt-get install chkdsk but that failed because it could not find
the package.  "mount in Windows" I don't understand.  When I boot into
Windows the partition is there, obviously.  Forgive me if I'm a bit of a
daft newbie.

Phill



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



Re: ntfs mount errors

2007-07-31 Thread Phill Atwood
> > > 
> > > Further to my problem of not being able to automatically mount my
> > > windows xp partition and cd to it as a regular user.
> > > 
> > > >from dmesg:
> > > 
> > > NTFS driver 2.1.27 [Flags: R/W MODULE].
> > > NTFS volume version 3.1.
> > > NTFS-fs warning (device sda1): load_system_files(): Unsupported volume
> > > flags 0x4000 encountered.
> > > NTFS-fs warning (device sda1): load_system_files(): Volume has
> > > unsupported flags set.  Will not be able to remount read-write.  Run
> > > chkdsk and mount in Windows.
> > 
> > 
> > 
> > Hi there,
> > 
> > I have no information about what was discussed before, but to me this looks 
> > like: Boot into windoze. Click on Start->Execute (don't know how this is 
> > exactly called on English windoze) or open a command window (cmd.exe). 
> > There, type: chkdsk /f . Tell windoze you want it to check the disk at 
> > reboot. Reboot into windoze, and let chkdsk repair the disk. Then reboot 
> > into linux and see what happens.
> > 
> > Cheers,
> > 
> > Stephan

You were right.  I did this.  I ended up having to use fsutil to force
the partition to be dirty to get windoze to check it.  It did.  There
were no errors.  However, when I rebooted to Linux I still have the same
problem.  I can mount the partition, but I can only cd to it as root.

I tried googling the error msg above but not much. Maybe I need to
contact the developers who have written this ntfs support for linux.
How would I go about finding them?

Phill



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



Re: ntfs mount errors

2007-07-31 Thread Phill Atwood
On Tue, 2007-31-07 at 21:14 +0200, Stephan Hachinger wrote:
> On Tue, 31 Jul 2007 14:26:41 -0400
> Phill Atwood <[EMAIL PROTECTED]> wrote:
> 
> > 
> > Further to my problem of not being able to automatically mount my
> > windows xp partition and cd to it as a regular user.
> > 
> > >from dmesg:
> > 
> > NTFS driver 2.1.27 [Flags: R/W MODULE].
> > NTFS volume version 3.1.
> > NTFS-fs warning (device sda1): load_system_files(): Unsupported volume
> > flags 0x4000 encountered.
> > NTFS-fs warning (device sda1): load_system_files(): Volume has
> > unsupported flags set.  Will not be able to remount read-write.  Run
> > chkdsk and mount in Windows.
> 
> 
> 
> Hi there,
> 
> I have no information about what was discussed before, but to me this looks 
> like: Boot into windoze. Click on Start->Execute (don't know how this is 
> exactly called on English windoze) or open a command window (cmd.exe). There, 
> type: chkdsk /f . Tell windoze you want it to check the disk at reboot. 
> Reboot into windoze, and let chkdsk repair the disk. Then reboot into linux 
> and see what happens.
> 
> Cheers,
> 
> Stephan

Thanks for helping me see what I needed to do.  However, it did not
work.  I had to use fsutil to force c: drive to be "dirty" so windoze
would check it.  Finally it did and there were no errors.  Rebooting
into linux and I still have the problem.  ie.  The windoze partition is
mounted automatically fine, but I can only cd to it if I am root.

Again, my /etc/fstab is:

# /etc/fstab: static file system information.
#
#
proc/proc   procdefaults0   0
/dev/sda1   /windozentfsuser,auto,ro0   0
/dev/sda2   /   ext3defaults,errors=remount-ro 0
1
/dev/sda8   /home   ext3defaults0   2
/dev/sda7   /tmpext3defaults0   2
/dev/sda5   /usrext3defaults0   2
/dev/sda6   /varext3defaults0   2
/dev/sda3   noneswapsw  0   0
/dev/hda/media/cdrom0   udf,iso9660 user,noauto 0   0

I tried googling the ntfs error msg above but there isn't much.
Perhaps, I should try to contact the developers of this ntfs support for
linux.  How would I go about that?  Or are there other ideas?  I
appreciate the help.

Thanks,
Phill



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



Re: ntfs mount errors

2007-08-03 Thread Phill Atwood




On Sat, 2007-04-08 at 01:24 +0200, Stephan Hachinger wrote:
> Hi Phil,
> 
> err ... well, which suggestion? Anyway, I found the following:
> 

Maybe it was Doug who made the suggestion.

> * Are you using "alternative data streams" [sorry, that's an direct German to 
> English translation ... don't know how this is called on English windoze], 
> compressed or encrypted files? If so, this could cause problems.
> 
> * Are you using a "dynamical volume" [direct translation again, seems to be 
> some kind of extendible partitions - I've never used that windoze feature]?
> 
> * If all the things above do not apply, try marking the fs as dirty, 
> rebooting (chkdsk checks), then rebooting a second time into windoze, then 
> rebooting into linux (see 
> http://lists.debian.org/debian-user/2006/03/msg03215.html)
> 
> As for the umask, I don't know exactly what you've done, but the following 
> posting might be interesting: 
> http://osdir.com/ml/linux.file-systems.ntfs.user/2006-05/msg4.html . 
> "umask=0222" seems to be a quick and dirty way to make it accessible to any 
> user. For the long term however, maybe you can try to figure out a good and 
> clean way to do it, with these groups etc.
> 

Success.  Although I can't say that I really understand. Setting
umask=0222 in the /etc/fstab file did the trick.  I don't understand why
mounting a ro partition to a directory with just write permissions would
work. 0544 or 0555 seemed the more logical thing to try...

As a relative newby here are some things I noted that I don't get. 

a) Previously, I made a group and added my users to it, editted fstab to
allow gid for that group, chmoded the directory to 0544 and set the
umask in fstab to be 0544 too.  This almost worked.  I was able to cd to
my windoze directory, but I couldn ls -l it!  

b) When I created my new group bar and added my user foo to it with
"adduser foo bar" it worked.  When I issued the "groups" command it did
not show bar as being one of the groups that foo belonged to.  I
rebooted, issued "groups" again and now foo is in bar.  Seems to me it
should know this right away without a reboot...  (I'm showing my Windoze
ancestry by rebooting all the time!)

c) Even after this success, dmesg shows:

NTFS volume version 3.1.
NTFS-fs warning (device sda1): load_system_files(): Unsupported volume
flags 0x4000 encountered.
NTFS-fs error (device sda1): load_system_files(): Volume has unsupported
flags set.  Mounting read-only.  Run chkdsk and mount in Windows.

I did go into windoze and run chkdsk after forcing the dirty bit.  It
found no errors.  But I still get the msg on the linux side.

I've probably got my head in the clouds, but is any of this a bug in
Debian.  Especially a) and b).  I'll have to figure out the BTS system
to find out...

> Another thing: If you also need write access onto ntfs, and want read access 
> onto compressed files, then the ntfs-3g driver might be interesting for you. 
> For newbies however, it might not be that easy to install... you need to make 
> a package for stable yourself. On the other hand, if you'd need it, I can 
> just do an update/recompile here on my system and send the resulting package 
> to you via email.
> 
> Cheers,
> 
> Stephan
> 

I had run into ntfs-3g while googling earlier.  It does intrigue me.
Making my own package to install it is probably way over my head.
Although, I would like to get into package maintenance.  If this is not
too big a piece to chew on I would be willing to take whatever time to
try.  I am sceptical that previous versions of Debian don't trust ntfs
to write but these ntfs-3g guys do.  I also read that if you mount
windows xp as vfat you can write to it.  Even more sceptical.

If you are willing to recompile it for me I'd try it.  I can't afford to
loose that data, so I would back it up first.

Thanks for your help Stephan.  Doug and others too.  This beats windoze
help/obfuscation hands down!

Phill



> 
> On Fri, 03 Aug 2007 12:30:50 -0400
> Phill Atwood <[EMAIL PROTECTED]> wrote:
> 
> > 
> > Stephan,
> > 
> > Thanks for your suggestion.  It was a good one that I had overlooked
> > despite having read the mount man page.  However, I tried it and it
> > didn't work.  At least I tried using a umask.  I still should try
> > setting up a group and setting the gid.
> > 
> > I still get the error messages in dmesg, as follows:
> > 
> > NTFS driver 2.1.27 [Flags: R/W MODULE].
> > NTFS volume version 3.1.
> > NTFS-fs warning (device sda1): load_system_files(): Unsupported volume
> > flags 0x4000 encountered.
> > NTFS-fs error (device sda1): load_system_files(): Volume has unsupported
&g

french accents

2007-08-18 Thread Phill Atwood

This isn't debian specific, but I'm wondering if someone could point me
to a good resource for understanding how-to enter french accents into,
for example, emails.  I know that it is probably got something to do
with locales and character sets, but I'm at a bit of a loss as to where
to start.  My locale is english-canada I believe.  Any help is
appreciated. 

Thanks,
Phill



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



php includes lost with samba

2007-08-20 Thread Phill Atwood

My debian laptop (etch) connects to a windoze network.  On the network
server we have PHP and MySQL installed.  If I use one of the other
windoze machines I can access my HTML/PHP/MySQL application without
problem.  However, if I connect to it (using samba) from my debian
laptop it all works except that the php includes are not honoured
properly. It must have something to do with samba having not getting the
same base path somehow.  Any suggestions...

Phill


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



unable to install Dell Photo Printer 720

2007-09-05 Thread Phill Atwood

This what I did:

- downloaded the driver.  The Dell 720 is a rebranding of Lexmark and
RedHat has a package for the driver.
- I untarred the tarball
- used alien to create .deb files
- used dpkg -i to install the .deb files
- used "Add a Printer"
- it detected my printer USB port but could not offer me the z600*
driver

I'm using etch and gnome.  Anybody have success installing this printer?

Phill



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



Re: enquiry for security cameras

2006-01-25 Thread Phill Schultz



It Will depend on 
the the number of Cams you are wanting There are systems out there 

that will enable you 
to install up to 16 cams and be able to login in remotely from the web 
browser
But you must have 
internet access from and are you wanting to be able to record via DVR or 

Tape the Average 
system for 16 cams that installs into a CPU type system will run from 

3000.00 to 5000.00 
US Dollars Use the Google search and put in Security Cameras
 
 
 
Phill 
Schultz
Systems 
Administrator