Re: tar backup ok but restore errors w/ scsi dat dds2

2005-09-26 Thread Alvin Oga


On Tue, 27 Sep 2005, michael wrote:

  I think this might be a hardware compatibility problem, but you be the
  judge.
 
  Using tar, I can write a tape archive to the scsi dat drive (tar cvf
  /dev/st0 /usr/kbmosas) without any errors but when I try to read the tape
  back (tar tvf /dev/st0  or  tar xvf /dev/st0), I get the following
  messages
  intermingled with the verbose output from tar listing the files in the
  archive;
 
  tar: Skipping to next header

means the tape was jumping around waiting for your system or ..

  tar: Archive contains obsolescent base-64 headers
  tar: Error exit delayed from previous errors

your tape is bad .. and/or clean the head ...

and/or when writing ..
find /home/kbmosas | buffer | tar cvf /dev/st0

c ya
alvin


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



Re: WiFi on Toshiba Sattelite A70 Atheros 5004X

2005-09-25 Thread Alvin Oga


On Sun, 25 Sep 2005, David R. Litwin wrote:

 Which is better: MADWiFi or ndiswrapper; and why?

madwifi is better because... ( in one pc )
- it supports 3 flavors of WEP key sizes
- it supports wpa 
- it can be your AP
- it can be firewalled
- it can be a small i386 machine and nothing fancy
- it can be hardened
- it can be patched and upgraded
- it can be a wifi sniffer
- it can crack wep keys
- on-n-on

if you use ndiswrapper...
- all it is a dumb wifi client with limited
functionality the microsoft provides for you
and at their discretion of what *-you-* need

- not all features that work on a windoze
box will work under emulation mode w/ ndiswrapper

c ya
alvin


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



Re: Odd install from floppy problem

2005-09-25 Thread Alvin Oga


On Sun, 25 Sep 2005, Carlos Correia wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 [EMAIL PROTECTED] wrote:
 | Rewrite the root.img disk and be sure to format the disk properly before
 | writing it.
 |
 
 I've done that several times before I wrote the previous e-mail and
 didn't help...

what exactly did you do ??

did you use fdformat or superformat ??
- if not, that is why your *.img files doesnt work

- if you did.. try a different floppy ... preferrably
a good floppy with zero defects, as dd will require
a zero-defect floppy to write properly since there;s
no fs to skip around an bad blocks

after those low level format, than you can do the 
dd if=root.img of=/dev/fd0 data=sync

c ya
alvin
 


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



Re: ReiseFS vs XFS

2005-09-25 Thread Alvin Oga


On Sun, 25 Sep 2005, Daniel Garcia wrote:

 Hello,
 
 I would like to know wich is the best filesystem to
 use: the ReiseFS or XFS.

what do you need it to do ?? ( it does make some difference )

- given reierfs or xfs ... i'd use the lastest xfs-2.6.36

- always use the lastest fs .. not older ones
( mkfs.foo -V )

reiserfs-3.6.19
xfs-2.6.36
jfs-1.1.8

- for speed ... ext2 will win most all speed tests

- for formatting tests ... ext2 will lose by several orders
  of magnitude ( say 24hrs to format 3TB, while it takes 5min
  for xfs or reiserfs or jfs )

- for number of inodes for it's super blocks, it matters
  when every byte counts, in which case vfat or msdos
  will win ..

take the same 40GB partition and format it and see 
the major differences

- for allowing you to pull the power at anytime, and not lose
  any data ... i'd use msdos .. not vfat

- for compactflash or usb-stick ...
- it's a gamble of how many times you can read/write
it before it decides to go on a permanent vacation

- for loop devices inside of a fs... i'd avoid old jfs ..
  as i have seen it repeatedly corrupt the looopfiles 

- for max file size and max partition sizes ...
that'd be loads of fun to compare

- more xfs vs riserfs vs jfs vs ext3 vs ext2 vs blah
http://www.Linux-Sec.net/FS/

c ya
alvin


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



Re: ReiseFS vs XFS - test

2005-09-25 Thread Alvin Oga

hi ya

  On Sun, 25 Sep 2005, Daniel Garcia wrote:
 
  I would like to know wich is the best filesystem to
  use: the ReiseFS or XFS.

and you will be tested on the differences between each FS

http://en.wikipedia.org/wiki/Comparison_of_file_systems

c ya
alvin
  


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



Re: WiFi on Toshiba Sattelite A70 Atheros 5004X

2005-09-25 Thread Alvin Oga


On Sun, 25 Sep 2005, David Koski wrote:

 On Saturday 24 September 2005 07:52 pm, David R. Litwin wrote:
 
  As a bit of a follow-up, I read the marlow.dk http://marlow.dk site: I do
  need to compile my own kernel with that.

no.. you compile the madwifi drivers for your kernel
or find ones that a precompiled for your kernel: linux-2.6.13-123.4-89.abc

get the latest madwifi drivers from cvs at madwifi.sourceforge.net

 Don't I? Now, I'd be willing to go with the ndiwrapper,

traitor :-0

 but I do not konw where the Windows driver is.

look at the cd that came with the hardware ..

ms forces all the manufacturers to provide a 600MB cd for their hw

  Furthermore, apparently, it doesn't even work.

it works ... ndiswrapper usually works ... i havent seen on that
doesn't work, even if it's dead by default due to mswindows
- you should be able to install the windoze drivers
- you should be able to see the hardware
- you may even be able to config it
- whether you can ping wirelessly is a different ballgame

  So, it seems my options are compile the kernel,

no ... compile madwifi .. NOT the kernel

cd /usr/local/src
download madwifi drivers
cd madwifi
make
make install
ls -la /lib/modules/`uname -r`/net
modprobe madwifi

ifconfig ath0 up
ifconfig -v

- how you configure the params is a different ballgame

  Please, do tell me what I should do.

gp down the local linux/unix/c++ user groups and say you will
buy pizza for whomever gets it working

madwifi howto
http://Madwifi.net

c ya
alvin


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



Re: new hard drive

2005-09-24 Thread Alvin Oga


On Sat, 24 Sep 2005, [ISO-8859-1] Kudret Güler wrote:

 Today this hard drive is hdb with the same structure. On hda there is
 grub installed pointing to debian installation A as well as other
 entries. When I try to load debian installation A, currently I am
 having kernel panic after an error: VFS can't find ext3 filesystem on
 dev hda1
 
 Question: Which files should I edit to let linux know that it is on hdb now?
 I already edited fstab and mtab

you do NOT edit /etc/mtab .. leave it alone

good if you fixed /etc/fstab

---

if you're using lilo, edit /etc/lilo.conf to root=/dev/hdb1 
and remove /boot/map
and rerun lilo  ( which will create a new /boot/map file )

and make 100% sure oyu know how to boot the system from floppy
  or cdrom or usb or ?? in case it complains about lilo

if you're using grub, edit /boot/grub/menu.lst ..
if you have a /etc/grub.conf or /boot/grub/grub.conf,
change it too

remove /boot/grub/device.map  and do grub-install /dev/hda
or leave both of these 2 steps out and see if it still boots
as it should still work since hd0 is still the original /dev/hda

c ya
alvin



Re: RAID failed and machine freeze. Help me please! (Poor story about my RAID)

2005-09-23 Thread Alvin Oga

hi ya andrea

On Fri, 23 Sep 2005, Andrea Ganduglia wrote:

 Sep 21 17:43:55 backup kernel: md: kicking non-fresh sdc1 from array!

bad thing

 and :~# cat /proc/mdstat

yes sir ri bob...
 
 Personalities : [raid0] [raid1] [raid5]
 md1 : active raid5 sda3[0] sdd3[3] sdc3[2] sdb3[1]
   873293184 blocks level 5, 64k chunk, algorithm 2 [4/4] []

good ... raid5 is clean
 
 md0 : active raid1 sda1[0] sdd1[3] sdb1[1]
   1461760 blocks [4/3] [UU_U]

says sdc1 is bad

and you have 4 disks that are identical ...
- so in theory you should not have a problem 
unless the bad disk sdc1 is telling the others to copy 
the bad disk sdc1

 I don't know there is/are disk/s where problem is located

sdc1 ..

see the boot messages again ( as you have already posted it )

 and I don't  know how I can repaire it.

take /dev/sdc1 out of the raid ...
- reboot
- and if it comes back .. good ..

watch /proc/mdstat to make sure it's done resyncing before 
doing anyting to the system other than logging in

when its done ...
- put /dev/sdc1 back in ...  stop and start raid ..
and watch the resync 

- reboot and hope and pray it likes it this time

- if not you may or may not have a bad disk /dev/sdc1
  or the other bad disks have ganged up on the good disk

 I don't know, again, if problem are HD, swap,
 or other hardware parts.

anything could be the problem ... time to experiment

===

time to save your raid5 data elsewhere before you start playing

- save it to someplace else that you have not been using
so that you don't corrupt what was last weeks good data
in the normal backups

c ya
alvin


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



manufacturer Re: recover data from a hd

2005-09-21 Thread Alvin Oga


On Wed, 21 Sep 2005, Borislav Petkov wrote:

my hd died this morning and I know it is too late and I don't have a
backup but is there a way to do a raw read and gather all the
information that can be read? 

that'd depnd on the problem of what *-you-* mean by died vs what's
on the platter

 One thing might be kind of a problem, however, 
since the hd is damaged 

dammagd in what way ??? ( how do you know that )
- did it make funny noises when it starts up that is different
than the normal startup noises

- if the head is bad ( damaged )... you will NOT be able to
read anything with it

- if the platter is intact, you can replace the head
and use a different replacement head assembly and read the disk
as if nothing broke ( but you need a special clean room to do 
replace the head )

 at its very beginning and attempting to mount it gives
I/O error on sector 0 and the consecutive ones.

sounds like a corrupt file system

 So, is there a way to jump 
after those erroneous sectors and read what's left. Any pointers would 
   be 
greatly appreciated, thanks!
  
  dd skipping over the 1st few sectors might help, if your new disk 
  is sufficiently larger than your dead disk.

as others have noted  dd_rescue might help too
 
P.S. I'm off to buy a new hd. Any particular brands I should keep away
from?

buy what's on sale ... $0.50/GB or less 
- maxtor - any newer than 16GB
- seagate - any
- ibm - stay away from those deskstars made in thailand
- western digital with 8MB buffer or more

  Infinite are the arguments of geeks regarding hard drives.
  
  I've had nothing but success with Maxtor.  Others hate them with
  a passion.
 This is ironic. The failed hd is _a_ Maxtor, infact. Hmm.., if that
 ain't a coincidence :)

the reason why tom-dick-n-harry has no problems with maxtor xxGB disk
is because they bought it at big-famous-store

the reason why sally-mary-jane has nohting but problem with the same
identical xxGB disk is because they bought theirs at the local pc-store
or me-too website and had it tossed around like a concrete brick during
shipping, handling, inventory, storage, etc, etc, etc

if you buy at any random place, you will have random disk problems

if you buy from good places, than any and all disks should be
practically identical assuming they all have the same 1yr or 3yr 
or 5yr warranty 


- do NOT compare 1yr warranty disks with a 5yr warranty disk


which is like comparing a house to the mars 
( nothing to do with each other )

- if you do NOT have a properly cooled hard disk ( with a working fan on
  it ), than you're asking for it to eat your data one day as you sleep

- i bought 1000's of drives over the last few years

c ya
alvin


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



Re: [kde/qt] Unicode/special char problem

2005-09-20 Thread Alvin Oga
1;2c

On Tue, 20 Sep 2005, belbo wrote:

 This is probably a unicode-related problem on KDE, but I didn't find any
 solution. I've already googled the problem, with no results...

what is the environment variables defined as:

set | egrep -i LANG|LC_

locale -a  - should list your supported language

and *.utf8 is NOT the same as *.UTF-8

c ya
alvin


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



Re: files not in sync on nfs mounted directories

2005-09-20 Thread Alvin Oga

On Tue, 20 Sep 2005, Karsten Bolding wrote:

 I've a problem with files not being in sync on a nfs exported home. On a
 cluster the nodes mounts /home from the master. Sometimes it happens
 that a file is changed on the master but the changes are NOT visible on
 the nodes - even after quite some time.

how long is quite some time ( seconds, minutes, hours )
1-2 minutes of delay before data new show up on a bz network is
possible

common problem 

what is your nfs options
 
is it hardmounted from /etc/fstab or do you use automounter
- use an automounter ( autofs )

do you run sync to flush the data to the disk

different apps does different things to data it thinks is current
on itself vs what's on the master ( it's trying to be too smart )

c ya
alvin


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



Re: files not in sync on nfs mounted directories

2005-09-20 Thread Alvin Oga

hi ya karsten

On Tue, 20 Sep 2005, Karsten Bolding wrote:

  how long is quite some time ( seconds, minutes, hours )
  1-2 minutes of delay before data new show up on a bz network is
  possible
  
 
 Some minutes is not un-common.

:-)

 If the file is copied the problem seems to be solved - moving it is not
 enough.

there is a biggg difference to the filesystem when you
cp xxx soem-place-else/yy
vs
mv xxx some-place-else/yy  

in either case, if you do use mv, do make sure you run sync on it
mv xxx yyy ; sync ; sync

  what is your nfs options
 
 none except:
 /home   n02(rw) n03(rw) n04(rw)

add sync at a minimum in addition to rw options

to see the other default options

mount   ( no other options to see everything )
 
 hard-mounted 

hard mounted  means in the above case
/home   no2(rw,hard)  no3(rw,hard)

which means if the machine goes down, everybody waits till it comes up

if its soft mounted, you can ^C the hung jobs and recover and restart
all the jobs and use some other duplicate files from other working
machines

things like ls, df and all other commands wont hang and use
up the network and cpu and memory and everything is waaiting
for everybody elses nfs timeouts

- i do NOT use hard mounts ... i dont like to wait ..

but that assumes i have multiple data that if it happens
to get corrupted due to system crashes, i have good data
elsewhere

- I use the automounter for data directories but have
 sometimes experienced time outs on those and didn't want that during a
 simulation that might take several days. 

sounds like you have a bad network ...
- use intel nic cards ...
- use the latest kernels ...
- on and on to tweek the network
 
  do you run sync to flush the data to the disk
  
 no - normally I don't  - actually I never do.

time to start since your data is not showing up on the other end

  different apps does different things to data it thinks is current
  on itself vs what's on the master ( it's trying to be too smart )
 
 the app in this case is just vi (or another editor).

in that case .. simple sync after mv and in the mount table should
clean things up a bit

c ya
alvin


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



Re: [kde/qt] Unicode/special char problem

2005-09-20 Thread Alvin Oga


hi ya andrea

On Tue, 20 Sep 2005, Andrea Ballatore wrote:

  what is the environment variables defined as:
  
  set | egrep -i LANG|LC_
 
 [EMAIL PROTECTED]

you have a broken internalization environment

you should also have LC_ variables defined

  locale -a  - should list your supported language
 
 it_IT
 [EMAIL PROTECTED]
 it_IT.iso88591
 [EMAIL PROTECTED]
 it_IT.utf8
 [EMAIL PROTECTED]

your LANG variable points to a non-existent locale

lots of thing will be broken

  and *.utf8 is NOT the same as *.UTF-8
 
 What's the difference? How can I fix the problem?

google/yahoo for answers
utf8 UTF-8

localedef -f UTF-8 -i en_US en_US.utf8
( use the your locales )

c ya
alvin


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



Re: What can I do with six new publicly available computers?

2005-09-20 Thread Alvin Oga

hi ya mitja

 On Tue, Sep 20, 2005 at 10:40:38AM +0200, Mitja Podreka wrote:

simple solution .. use knoppix cd in each PC and you're done

- do not put/keep any data on any PC, as users will erase
it or copy it or break in or ??  and you have to figure out
what they did to break it

  1. I was thinking to take one computer, make a file server (maybe also 
  web-server) out of it and replace it with an old one running as thin 
  client.

and what happens when that 1 file server dies ...
- have 2 of um

 Is there some other way of making a users /home/user directory 
  available regardless of which computer he is using?

fileserver# vi /etc/exports
/home   192.168.1.0(rw)

clients# vi /etc/autofs.home
/home   fileserver:/home

add options as needed

anybody can login from anywhere after you set up nis or ldap
( both are bad idea ) 
or rsync /etc/passwd /etc/shadow to each machine ( my preference )

  2. In the centre we do a lot of video editing using Premiere on window$. 
  I know some Linux video editing software but the problem is that just 
  one computer is powerful enough to do the job. If I make cluster out of 
  few computers then the thing would be strong enough.

and are you strong enuff to build such a cluster for all of the users

 The thing I'm not 
  sure is: can I use a normal software or it  should be specially made for 
  clusters?

too many sw for clusters...
- compute clusters ??
- high reliability clusters ?
- disk storage clusters ?
- ..

http://www.ITX-Blades.net/Cluster/

  3. If I make cluster out of all six computers I would get some kind of 
  mini-supercomputer.

more like an old style mainframe

today... everybody has the equivalent of a $20M cray sitting ony our desk
playing with the screen saver or you playing poker on it

 Question: can computers work in a cluster and at the 
  same time one of them is used for surfing the web and another one is 
  used for video editing, thus in need of more resources?

yup.. as long as you have say 128MB of memory in each pc ..

  4. If someone has some other idea on how to use this six computer I 
  would realy like to hear it.

use a non-editable distro ... so you can sleep 16hrs of the day 
instead of fixing what the class did tot he pc that it wont work anymore

 In the centre we are trying to promote 
  Linux and other Open Source software and make resources we have as 
  useful to the people as possible.

good idea

c ya
alvin


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



Re: quickly partition disk, copy an image, install grub

2005-09-20 Thread Alvin Oga


On Tue, 20 Sep 2005, Gregory Seidman wrote:

 } fdisk /dev/hdb, and set up / and swap partitions

faster way to copy partitions from one disk to another is
with sdisk or  cat file | fdisk 

 } mkswap /dev/hdb5# do I need to do this?

no .. swap partition is optional, and if you have enuff
mem for all your thingies your pc will be doing, it won't
randomly crash on you

swapp partitions might be of major issue on usb-sticks and cf
when you need all the bytes to squeeze in the kitchen sink

 } dd if=/path/to/image of=/dev/hdb1  # will this work if the partitions   

the problem with low level copying a disk to another with dd...
a) you're assuming thre is no defects in the master
   and no defects in the clone
- if there is a bad sector in either, you lost 512bytes of data
and you will never know about the loss of data, unless you
did a diff -r /master /clone

b) you'd be copying and reformatting the target to be the same
   as the master ..  ( ie .. if your clone is bigger disks, you're
   wasting space on the clone )

.. more whackyness

 }# are not of exactly equal size?

when using dd, yo do NOT need to format the clone since you're
doing it by copying the old data ( image ) into the new disk

 } dd if=/dev/hda of=/dev/hdb bs=448 count=1  # does this install GRUB?

yoou just wiped up partition 4

you should be using bs=446 instead of 448 .. BIG difference

 } so, my question is:  is this the right way to go about this?  am I
 } missing any steps?  is there a better way to do it?

yes ... it just depends on what you're comfy doing 

i prefer ( tar master ) | ( cd clone ; tar extract )
and use lilo or grub to reinstall the mbr

c ya
alvin


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



Re: Debian Compatable UPS?

2005-09-20 Thread Alvin Oga

hi ya

On Wed, 21 Sep 2005, charlie wrote:

   | Battery boxes should be plastic.
   |
   |I have never seen a metal battery box.

that's why battery holds in a car is metal, so you have
to buy a new car every few years :-)

 WE have four of them for our 700 amp 24 volt solar system. Being very
 handy when transporting and just light/heavy enough to lift for two
 people.

i assume that's 2 batteries in parallel and those 2 pairs in series
- do you use electronics to adjust for 14.0v vs 14.5v

even a 0.1v difference between the batteries at 500A 
will be a big heat generator ( too hot to touch )

- nice big fat 1awg stranded cables ??

---

for mini-itx systems that uses 3A per p4-3G+mb+mem+disk
that'd be enough power for 200+ of them mini-itx boxes
as long as the batteries can be kept charged

and 2A additional (5A total) peak power during the first 
2-3 seconds of power up at 12vdc

c ya
alvin


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



Re: Debian Compatable UPS?

2005-09-19 Thread Alvin Oga


On Mon, 19 Sep 2005, Jared Hall wrote:

 Maybe let me know what you all are using. Please help me navigate the
 sea of UPS.

car battery ( $50 ) plus those $50 12v dc-dc atx adaptors would do nicely

car battery lasts abut 14 hrs with an idle P3-1G .. last time i checked
using standard p3-1g systems .. 



i would never buy an apc if there's another ups on sale
- all the dead ups i seen or replaced for customers are all apc

c ya
alvin


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



Re: Debian Compatable UPS?

2005-09-19 Thread Alvin Oga


On Mon, 19 Sep 2005, Angelo Bertolli wrote:

 Alvin Oga wrote:
 
 car battery ( $50 ) plus those $50 12v dc-dc atx adaptors would do nicely

..

 Sounds good to me.  But I'm kind of new to this.  Could you provide a 
 link or two to the atx adaptors that one might consider?

google: dc-dc atx

and keep your car battery outdoors, not indoors ...
and do not light a cigaratte near the car battery in a closed enviroment

ka-koom

c ya
alvin


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



Re: Suggestions for Debian Harware Vendors

2005-09-19 Thread Alvin Oga


hi ya jason

On Mon, 19 Sep 2005, Jason Martens wrote:

 I'm not talking about official support from Dell,

i'm not either  we provide unofficial support on just
about any hw

 I think this is a valuable resource if one is forced to run Debian on a 
 Dell.  There are very helpful people out there.

we've never found a single answer in those lists

we did get some techie answers from 3rd or 4th level escaltion tech
support with the techie's dell email addresses
 
 Yes, it does seem somewhat backwards, but it is the non-trivial aspect 
 that I am thinking of.  Imagine how easy it would be if Dell provided a 
 repository for their OMSA and raid drivers!

they do ... it's all over the place ... 

some are newer and some are older .. some keep repositories

 Or even a tarball 
 installation instead of an RPM, that could more easily be converted to a 
 .deb. 

conversion of  xxx into yyy packages is trviial to the point
that it either works or does not ... and can always be extracted
in the machines it was packaged for and repackaged to the target

 This is the kind of support that I am looking for from a 
 hardware vendor.

additional support always costs  ...

  Making my life easier.  If there is no vendor out 
 there that does,

i bet lots of vendors in this mailing list is more than capable
to do all of the above you just mentioned

 then I guess I'm stuck with stupid RPM management 
 packages and windows self extracting floppy disk images.

that's your choice to do thigns that way or not ...

 Thanks, this is some of the kind of information I was looking for...  

lots of hardware nuetral support outfits

 I'm not sure how willing my bosses will be to go with a smaller shop, so 

again ... small shops can provide the specialty support needed

big outfits will cater to those millions of people wanting this new
feature and patches for that new hardware 

 I was hoping someone had experience installing Debian on say Sun, HP, 
 IBM or Penguin Linux for example,

amongst gazillon ontehr platforms

 and can say if it was difficult to get 
 everything working, or easy.

some thigs will be trivial ... other stuff is not

  Remote management is also a primary concern.

remote management is a whole new ball game that has noting
to do with support but more a look-n-feel issue vs functionality

 I think you misunderstood what I am asking for, which is probably my 
 fault.  I don't care about official support

we and most other non-dell entities will ever be providing
official debian support on dells

or for that matter official redhat support on dells...

---

support comes in many flavors and
price/perfomance/functionality/response/qa/quality/etc/etc/etc

c ya
alvin


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



Re: Debian Compatable UPS?

2005-09-19 Thread Alvin Oga

On Mon, 19 Sep 2005, John Hasler wrote:

 Alvin Oga writes:
  and keep your car battery outdoors, not indoors ...
 
 Not necessary (though you may want to keep it in a plastic container.)

the other kinds of batteries is the gel-cell ( same type as the 
commerical ups ) but cheaper and more amp-hrs

or sealed motorcycle batteries

  and do not light a cigaratte near the car battery in a closed enviroment
 
 You _might_ get a bang if you stick a spark igniter inside a cell while the
 battery is being heavily overcharged.

:-)
 
 Are you going to keep the battery in a hermetically sealed room?  If not,
 don't worry about explosions.

or long term effects of itty-bitty amts of sulfuric acid on your lungs



10hrs of uptime at $100 car battery + charger  vs
not-really-availble-commercial-ups of the same uptime w/o 110vac is the
considerations 

- you probably cannot take a car battery into a commercial colo
either as its considered toxics, so you're moving your colo'd
machines to your garage eh ??

c ya
alvin


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



Re: backup plan bare metal

2005-09-19 Thread Alvin Oga

hi ya rodney

On Tue, 20 Sep 2005, Rodney Richison wrote:

 Would be interested in seeing what some of you use for a backup plan. 

backup plan ... i always run 3-5 duplicate servers at the same time ..
just change the ip# and the backup machine would be live

 Tar?

find | tar | grep -iv is all what one needs to do 8-day, 32-day, 180-day
incrementals + full weekly backups

 Easy/quick way to restore bare metal?

take a virgin disk .. plug it into any pc and have a go at it

once the initial systemis installed from cdrom or you-favorit-tool
- it can be 1 minute or 1hr or 1 day to get a working box
  back to the same state as your master box

- apply all patches ( my rules, even if it makes it newer than
the original master server )

- restore your /home data onto the newly recreated machine from bare metal

 Rsync?

rsync is extremely bad idea because:
- whatever caused your main server to die will propagate
itself on your backup server when you use rsync

- rsync does NOT save a copy of the file before you overwrite it

 Can it do bare metal?

anything can do bare metal .. once you have a workign system such
that you can run rsync

 what about hard links?

hard links, soft linke and hanging links and anything else is
all part of the choice of different apps you use to create probalems
or avoid problems because  foo-app you used cannot do the trick

 Again, easy/quick way to restoe entire debian server?

- boot a minimal deb install from fopppy or cdrom 
- do net installs and upgrades
- restore your /home data and other directories *-you-* modified

 Unfortunatly, I've found mondo unreliable for bare metal. Though when it 
 works, it's the cat's meow..

80% - 90% of most of the backup programs will all fail one or more fo the
backup and restore tests ... for any number of reasons ..

- you figure out what is important to you

- why did the primary server die
- do you care if the problem propagates to other servers
- do you care that the new replacement hardware is different
- do you want to fiddle with the backups daily, weekly, monthly ??
- do you need a gui to point-n-click around

- do you need to recover the data of the machine till Jul 4, 2005
  before the first sign of the cracker and sleeper that you just
  found a month or 3mon or a year later

- is automated backup that works by itself with 1 line in cron
  or point-n-clicky backups

- how fast does your backup need to go live when the primary goes
down

- is automatic fail over a good or bad idea ??
- the carcker will rm -rf your backup too if you're nto
careful about services and passwd and vulnerabilities

- how much USER data of backup do you need
10MB, 100MB, 1TB, 10TB ...

- how do you protect against dead disks, dead fans, dead
powersupplies, dead ethernet card, ...

- how do you protect against kernel upgrades and other
required system patches and upgrades

- how much is it gonna cost ( in hourly $$$ losses ) if the
  primary server dies

- how much is the backups gonna costs and where is it 

- gazillion metrics

==
== all those answers will dictate which backup and (baremetal) restore you
== should be using
==

c ya
alvin


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



Re: Software RAID 5 SATA array crashed

2005-09-18 Thread Alvin Oga

hi ya

the only major piece of info that is missing:
a) cat /proc/mdstat

b) what exactly was the commands you type vs the english
   explainations

On Sat, 17 Sep 2005, Adar Dembo wrote:

 Sep 11 23:46:57 localhost kernel: md: kicking non-fresh sdc1 from array!
 Sep 11 23:46:57 localhost kernel: md: unbindsdc1

obviously bad

 Note the message about sdc being non-fresh. Also note that the array is 
 both DIRTY and DEGRADED.

degraded means it works as if it was one giant disk, and if any of the
remaining disks dies, you are most likely to lose all data on all disks
unless you happen to know how to recover tdata when 2 of the 5 disks
are considered bad ... ( raid allows for 1 of 5 to go bad in your config )

 I played around with mdadm but I could never get the array to start. All 

the exact commands you used and in what order makes all the difference

the output of /proc/mdstat is what you should be looking at

it'd be 100x simpler to reformat and restore from backups
unless you know why you did which commands in which order

  say based on some software-raid-repair-howto for which each
  failure situation is probably different

c ya
alvin


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



Re: Software RAID 5 SATA array crashed

2005-09-18 Thread Alvin Oga


On Sun, 18 Sep 2005, Adar Dembo wrote:

 [EMAIL PROTECTED]:~$ cat /proc/mdstat
 Personalities : [linear] [raid0] [raid1] [raid5] [multipath] [raid6] 
 [raid10] [faulty]
 md0 : active raid5 sdb[0] sde[4] sdf[3] sdd[2] sdc[1]
   1172229120 blocks level 5, 64k chunk, algorithm 2 [5/5] [U]
 unused devices: none

looks good
 
98  sudo mdadm --assemble /dev/md0

good

but i'd skip all the sudo nonsense ... and su - root

   111  /sbin/fdisk /dev/sdc

bad ide

   137  sudo mdadm --manage /dev/md0 -f /dev/sdc1

you tried to remove it ??
but where did you add it back in


i'd reformat /dev/m0 and restore from backups
if  cat /proc/mdstat still shows U

c ya
alvin


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



Re: mdadm not properly starting RAID 1 device

2005-09-18 Thread Alvin Oga

hi ya matt

On Sun, 18 Sep 2005, Matt Adams wrote:

 I have a RAID 1+LVM configuration on one of my 2.6 desktop machines.

you like to be on the bleeding edge eh :-)
 
 marvin:~# mdadm --detail /dev/md1
   State : clean, degraded

bad
0   820  active sync   /dev/sda2
1   00-  removed

bad

 
 marvin:~# mdadm --examine /dev/sda2
   State : clean

good
1 1   001  faulty removed

bad
 
 marvin:~# cat /proc/mdstat
 Personalities : [raid0] [raid1] [raid5]
 md0 : active raid1 sda1[0] sdb1[1]
   136448 blocks [2/2] [UU]
 
 md1 : active raid1 sda2[0]
   156151680 blocks [2/1] [U_]

bad ..

-

for teeting ...
- i'd remove the LVM and see if ti works,
and if it doesnt, you have a bad scsi disk

make sure he scci devices is terminated properly

termination power on the terminators vs
on the cable vs on the host vs ...

c ya
alvin


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



Re: app to add subtitles videoclips for DVD?

2005-09-17 Thread Alvin Oga

On Sat, 17 Sep 2005, [iso-8859-1] Søren Christensen wrote:

 Iv'e been looking for an application to add subtitles to video-movies,
 that is I have some DVDs in english that I need to add danish subtitles.
 
 What app should I be looknig for?

if you're using mplayer to play the movie, mplayer has subtitle
capability that does NOT modify the mpeg/movie content

c ya
alvin



Re: Suggestions for Debian Harware Vendors

2005-09-16 Thread Alvin Oga

hi ya jason

On Fri, 16 Sep 2005, Jason Martens wrote:

 Hey all,
We are currently a Dell shop

my condolences :-)

 but are getting frustrated with the 
 lack of debian support available for our Dell servers.

and where is the debian support supposed to come from ??

if it's dell hardware, than dell's policy is they will provide the
support their vendors and your customers will ever need

if we ( anybody ) changes the installed OS, dell's warranty and support
is thrown out the window with the bath water, leaving the customers
stuck until the orig dell installed os is back in their hw 

  Specifically, 
 see these [1] [2] threads on the linux-poweredge list if you are interested.
 
 1. http://lists.us.dell.com/pipermail/linux-poweredge/2005-March/019671.html
 2. http://lists.us.dell.com/pipermail/linux-poweredge/2004-May/014689.html

i've long since given up on dell's mailing list

 While much of the time, Dell hardware can be made to work on Debian,

that's backward ..

OS's can be made to run on any hardware ... or not depending on the 
(human) installer abilities to make it work on that hardware
- dell uses custom hardware and custom firmware which
makes it non-trivial in some cases ( ie. not for beginners )

 I 
 don't enjoy being a second class citizen to the RedHat, SuSE and Windows 
 users.

i'll refrain from any more bad jokes that i like to always point out :-)

  My question to the debian-user list is this:  Is there another 
 vendor out there that supports their servers with debian as a tier-one 
 platform?

lots of vendors provide debian support on their own hardware they ship
and/or support of other people's broken hardware

eg.. we make tons of revenue fixing broken dell boxes
after the customers have given up on dell support

list of debian vendors 
http://www.us.debian.org/distrib/pre-installed

- note that some are hardware nuetral while others 
support only their hardware

- note that some are debian-ites and others are not

the problem with dell support is that they send out generic gorilla
to come and look at the customer system, even if they cannot fix it,
but can claim dell was out there in 4hr or 24hr per their contract
- these generic gorilla sometimes have the expertise needed
and sometimes clueless other than a body to sign in that 
they showed up ( and they don't even work at dell but is
outsourced )

fixing it is a separate issue, and i think everybody understands that

  I am looking for anything that can shed light on the 
 situation like mailing lists for other companies similar to the 
 linux-poweredge list, personal experience, comparisons involving debian, 
 etc. 

there's too too much light and solutions and options ...
for a vendor or for the customers

 I have some freedom to choose here, and I want to reward the vendor that 
 is the most open and supportive of debian.  Finding that vendor is the 
 problem right now.

that should be trivial to find ...

the problem most support providers have is that they expect to be
paid for their expertise .. not $5/hr ... that other support outfits
require to hire their gorillas vs having folks that do this for a living
24x7 to fix other peoples hardware and software and installations

- most customers initiall will not pay for additional professional
support and thus they have to decide which is worst:

live with the broken (dell) systems or pay the folks that 
can fix it once and for all

without knowing the kinds of specific problems you need solved, there is
no general solution, other than get 2 or 3 support proposals to 
address that particular problem

having a specific problem ... there's a dozen possible real solutions
and some are free, some are typical $$$ and some are expensive due 
to the installation at the customer site


- we have made our living providing linux support on dells :-0
- that is good and bad ..

and dell doesn't know anything about us and/or we won't
even register as a ambient noise in their vast list of
their official support list

- we're NOT affiliated with dell and never will be
since we ship our own hardware too

- note that other large linux vendor also provided official
support on dell, but they have given up on dell
( too much beauracracy and paperwork is my guess for $0.01 )

c ya
alvin


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



Re: deleting selected/filtered mails in sendmail queue

2005-09-15 Thread Alvin Oga


On Thu, 15 Sep 2005, [iso-8859-1] Erik Dörnbach wrote:

 Is there anything available either in sendmail itself 
 (something like sendmail [EMAIL PROTECTED], just for deleting and not
 queuerun) which I haven't found yet or some additional tools/scripts
 whatever.

i clean out the sendmail queue with

http://www.linux-sec.net/Mail/etc.mail/mqueue.clean.pl
- it shows who  sent it and where it's going

- modify it to your specs/requirements

- the assumption is that old pending mail is undeliverable and will
  just sit there indefinitely, as opposed to you deleting the mail at the
  same exact instant that sendmail is sending the outgoing mail that
  would be corrupted due to the deletion

- always restart sendmail after cleaning its queue

c ya
alvin



RE: deleting selected/filtered mails in sendmail queue

2005-09-15 Thread Alvin Oga


On Thu, 15 Sep 2005, [iso-8859-1] Erik Dörnbach wrote:

  From: Alvin Oga [mailto:[EMAIL PROTECTED]
  Sent: Thursday, September 15, 2005 2:25 PM
  
  i clean out the sendmail queue with
  
  http://www.linux-sec.net/Mail/etc.mail/mqueue.clean.pl
  - it shows who  sent it and where it's going
  
  - modify it to your specs/requirements
 
 I'm not sure I understand correctly, what this script is supposed to do

it does what you wanted .. to clean the queue, but if you don;t speak
perl, it wont help you
- it's a minute or two to test that it works before setting
it to delete undeliverable mail .. leaving others alone

c ya
alvin



Re: absurdly simple LAN problem

2005-09-15 Thread Alvin Oga


On Thu, 15 Sep 2005, Anthony Campbell wrote:

 On 15 Sep 2005, Thomas Adam wrote:
  
  --- Anthony Campbell [EMAIL PROTECTED] wrote:
  
   I've struggled with this one for months! Much perusing of HOWTOs and
   googling hasn't helped.

tooo much effort :-) ...  but good .. thanx for trying so hard

   I have two computers, desktop and laptop, and a wireless router and
   ADSL
   modem. Both machines reach the internet without problems, one via a
   cable link to the modem, the other via  a wireless link to the
   router.

did you configure the router ??  

   to the other though I can ping localhost on each. Turning off the
   firewall (shorewall) does not help.

ping localhost is 100% guaranteed to work ... as long as 127.0.0.1 is in
/etc/hosts and you do use /etc/hosts in your /etc/resolv.conf

- ping of it's own ip# will always work evenwith the ethernet
cable disconnected

what is your contents of /etc/hosts and /etc/resolv.conf

 
 ac:~:$ route -n
 Kernel IP routing table
 Destination Gateway Genmask Flags Metric RefUse Iface
 192.168.0.0 0.0.0.0 255.255.255.0   U 0  00 eth0
 0.0.0.0 192.168.0.1 0.0.0.0 UG0  00 eth0

192.168.0.1  is presumably your router thru which you expect to get out
 
 ifconfig -a:
 
 eth0  Link encap:Ethernet  HWaddr 00:0B:2B:02:32:FB  
   inet addr:192.168.0.20  Bcast:192.168.0.255  Mask:255.255.255.0

good ... your ip# is *.20

 For laptop:
 
 Destination Gateway Genmask Flags Metric RefUse Iface
 192.168.0.0 0.0.0.0 255.255.255.0   U 0  00 eth1
 0.0.0.0 192.168.0.1 0.0.0.0 UG0  00 eth1

good ... your gateway is the same *.1
 
 ac:/usr/share/doc/shorewall:$ ifconfig -a
 eth0  Link encap:Ethernet  HWaddr 00:06:1B:DE:4B:CF

bad .. this does NOT have an ip# assigned to it ...
===

 eth1  Link encap:Ethernet  HWaddr 00:40:96:44:B5:A6
  inet addr:192.168.0.22  Bcast:192.168.0.255  Mask:255.255.255.0

good ... this is *.22

 wifi0 Link encap:UNSPEC  HWaddr 
 00-40-96-44-B5-A6-00-00-00-00-00-00-00-00-00-00
  BROADCAST MULTICAST  MTU:2312  Metric:1

bad ... this does NOT have an ip# assigned to it
/


c ya
alvin


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



Re: absurdly simple LAN problem

2005-09-15 Thread Alvin Oga

hi ya anthony

On Thu, 15 Sep 2005, Anthony Campbell wrote:

 desktop:
 
 /etc/hosts:
 
 127.0.0.1 localhost loopback 
 192.168.0.20arcadia.acampbell.org.uk arcadia 
 arcadia.acupuncturecourse.org.uk accampbell.uklinux.net
 192.168.0.22 thinkpad ibm

for testing, change all that .. delete the garbage what was deleted in
this email example

  127.0.0.1 localhost.localdomain localhost
  192.168.0.20arcadia.acampbell.org.uk arcadia 
  192.168.0.22 thinkpad.acampbell.org.uk ibmthinkpad

 /etc/resolv.conf
 
 search
  search  acampbell.org.uk

 nameserver 80.84.64.20
 nameserver 80.84.72.20

 
 laptop:
 
 /etc/resolv.conf
 
 search acampbell.org.uk
 nameserver 80.84.64.20
 nameserver 80.84.72.20

good on the laptop you did have the correct search but your desktop did
not 

 /etc/hosts
 
 127.0.0.1   localhost.localdomain   localhost
 192.168.0.22ibm.acampbell.org.ukibm thinkpad
 192.168.0.20   arcadia

  192.168.0.20   arcadia.acampbell.org.uk arcadia

   ac:/usr/share/doc/shorewall:$ ifconfig -a
   eth0  Link encap:Ethernet  HWaddr 00:06:1B:DE:4B:CF
  
  bad .. this does NOT have an ip# assigned to it ...
  ===

ifconfig  eth0  192.168.0.20
 
   wifi0 Link encap:UNSPEC  HWaddr 
   00-40-96-44-B5-A6-00-00-00-00-00-00-00-00-00-00
BROADCAST MULTICAST  MTU:2312  Metric:1
  
  bad ... this does NOT have an ip# assigned to it
  /

iwconfig  wifi0 192.168.0.22
  
 How can I correct these?

see above

- if it works when yu manually set it.. you can either do
  those commands in your own script or find the misconfigured files
  and fix it

c ya
alvin


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



Re: Custom Kernel Won't Boot

2005-09-14 Thread Alvin Oga

On Wed, 14 Sep 2005, [ISO-8859-1] Aurélien Campéas wrote:

  VFS: Cannot open root device 301 or unknown block (3,1)
  Please append a correct root=  boot option
  kernel panic: not syncing : VFS cannot open root device
  
  i am wondering what to add as a boot option (i am running LILO) i tried 

nothing you can do at lilo/grub/...
 
 make sure you have compiled your disk controller and filesystem drivers 
 in-kernel (not as modules)

if you do make(use) ide and fs modules ( for whatever odd reason )
- you need to make a custom initrd.gz file
- you'd need to edit /linuxrc inside that initrd.gz file to
load those ide and fs drivers

more booting fun
Linux-Boot.net/Loaders

c ya
alvin



Re: Custom Kernel Won't Boot

2005-09-14 Thread Alvin Oga

On Wed, 14 Sep 2005, [ISO-8859-1] Aurélien Campéas wrote:

 a mkinitrd for the dummies, riddled with examples, would be neat
 
 but for a costom kernel without initrd, also don't forget to disable 
 initrd support (in the kernel) (it sits near the RAM fs section)

do you man disable or enable  initrd support??
- at least its black-n-white, in that we supposedly
know what to do with that option

but what about other options like, ramdisk support too which is
NOT the same as initrd support

or do you only want to use loop devices ?? and why use loop devices, etc
..

gazillion examples ...

- in each distro .. there typically is an initrd.gz or similarly
named files somewhere on their boot media

http://Linux-Boot.net/InitRD/Viewing/

to break those initrd.gz so you can peek isnide would depend on how 
they built it ... and sometimes its compressed and sometimes not
even if its named to imply one way or the other
( *.img vs *.gz vs *.foo )

- some use minix + cramfs ... which your system would need
to support for you to peek in


for making your own ... 

look at the contents of other distro's initrd, since we all
know the distro's CAN install into most any hardware

after reading/studyng their stuff, you can make your own with:
http://Linux-Boot.net/InitRD
- ramdisk
- loop devices

ramdisk is limited in size by the kernel option at kernel compile
time ...

dd if=/dev/zero of=/dev/ram0  bs=anything count=big 
will NOT work

loopdevices can be any size

c ya
alvin



Re: Custom Kernel Won't Boot

2005-09-14 Thread Alvin Oga

hi ya

On Wed, 14 Sep 2005, Jon Roed wrote:

 I can't  find a driver for my chipset in the kernel options. 

the chipset you care about is the output of lspci

- you'd want to make sure you can find all the drivers 
for each of the hardware controllers listed in the output of
lspci

- if the kernel does not have a driver for ChipMaker-1234 v5
than you should use 2.4.31 and/or 2.6.12.x instead
and if not, pick the one that closer to it or a generic driver
that is supposed to be vendor nuetral

burn the marketing info that came with the motherboard as its basically
useless  ( not detailed enough or accurate )

c ya
alvin

 I have an AMD 
 Athlon 64 2800+.  The chipset according to the manual that came with the 
 motherboard is a SiS746 Northbridge and SiS963 Southbridge.  I can't find an 
 option for either of those.  Also, which IDE drivers should i make sure are 
 installed ?
 


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



Re: Making a live cd (initrd / kernel panic)

2005-09-14 Thread Alvin Oga


On Wed, 14 Sep 2005, Patterson, Richard A wrote:

 On our target system, I boot to the cd, grub loads, and the kernel
 appears to load, but then panics...  Cannot mount root fs on
 unknown-block(3,1)

(3,1) is /dev/hda1
- you need to install the /boot/grub/dxxx_stage_1.5 for that
partition

 I'm not sure, but I'm afraid that (3,1) coorisponds to the boot
 partition of the first machine (where the initrd was created)...

if you moved grub from xxx system to a differently configured system,
than you have to change /boot/grub/devices.map for the new system

- you can test it by manually editing the grub lines
just before it starts to boot at the grub boot menu

c ya
alvin


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



Re: usb-thumb memorex? ???

2005-09-14 Thread Alvin Oga


On Wed, 14 Sep 2005, Chris Parker wrote:

 is the memorex usb thumbdrive workable, able to mount?

yes .. most any usb will work under *nix

you just need to have the usb drivers for the usb controller
on your mb
lspci | grep usb

- check the kernel options against the lspci output

but your kernel supports the usb controller
 
 Buffer I/O error on device sdb1, logical block 508378384
 Buffer I/O error on device sdb1, logical block 508378384
 FAT: invalid media value (0xb9)
 VFS: Can't find a valid FAT filesystem on dev sdb1.

says your kernel does not support FAT16

 fdisk -l /dev/sdb

since it finds the fat16 partition you do NOT have a usb problem

 Disk /dev/sdb: 499 MB, 499122176 bytes
 32 heads, 16 sectors/track, 1904 cylinders
 Units = cylinders of 512 * 512 = 262144 bytes
 
Device Boot  Start End  Blocks   Id  System
 /dev/sdb1   *   11904  487416e  W95 FAT16 (LBA)

c ya
alvin 


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



Re: usb-thumb memorex? ???

2005-09-14 Thread Alvin Oga


On Wed, 14 Sep 2005, Chris Parker wrote:

  media value (0xb9) VFS: Can't find a valid FAT filesystem on dev
  sdb1.
 

 vfat   13920  0

that's fat32

 fat53756  1 vfat

that's fat16

 msdos  10400  0

that's definitely fat16 but ...

 vfat   13920  0
 fat53756  2 msdos,vfat

good

 fat16 wouldnt fall under vfat or msdos. dang

fat16 is a whacky name for msdos

 is there a debian kernel w/fat16 support or would it be better to just
 reformat in a vfat partition?  possible?

looks to me that your kernel supports fat16/msdos

but your kernel is not able ot use the modules
to talk tothe usb stick

manually do:
modprobe msdos
modprobe fat
modprobe vfat

and see what it spits out at you

than spit back and do:
mount /dev/sda1 /mnt/usb-stick

and see what it barfs at you 

if it still doesnt work ..

- change to 2.4.31 or 2.6.13 directly from kernel.org
and skip all the broken modified kernels

- the above kernel and usbstick should be working on your system

c ya
alvin


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



boot - RE: sarge: the worst distro?

2005-09-13 Thread Alvin Oga


On Tue, 13 Sep 2005, Ken Walker wrote:

 I really missed the security of a boot floppy though :o(

dd if=/boot/vmlinuz of=/dev/fd0

and if its bigger than a floppy, i'm not sure, but
it should work: 
dd if=/boot/vmlinuz of=/dev/usb-stick

and them 120MB zip thingies will work too

- hundred ways to make a boot floppy or boot into your system

c ya
alvin


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



Re: How to lock user in his home

2005-09-13 Thread Alvin Oga

 On Tue, 13 Sep 2005, Leonardo Marques wrote:

 ??

  i want the user can do everything they can do by default minus browse
  accross the file system.

when the kiddies login, instead of using /bin/bash,  you can:

- use a modified shell ( simplest solution )

- you can use chroot him into jail ( next simpler solution )

- you can chmod 111 /bin /sbin /everything else
- test things and fix what broke

- dozens of other things ... each half broken and works only
  for some things and fails for other important/non-important 
  stuff

- after you attempt to put your users into jail, see how long
  it takes before the boss or the kids comes back at the wrong times
  and says
  daddy it's broken come fix it now ... whaaahhh ... whh .. :-)

c ya
alvin


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



Re: Custom Kernel Won't Boot

2005-09-13 Thread Alvin Oga

On Tue, 13 Sep 2005, Jon Roed wrote:

  Did you compile your kernel using make-kpkg?  Using --initrd or
  without?  Does the /etc/lilo.conf file match your initrd?  That is,
  if you build an initrd did you specify it in yoiur /etc/lilo.conf
  file?  I am guessing not as that would match the symptoms so far.
 
  Bob
 
 I compiled my kernel using make-kpkg but i didn't use the --initrd option.  
 Should i have ?  

no .. not really ..

- when you build a kernel:

- why ??

- where did you get the kernel source code from

- where did you get the *.h ( headers ) for your current
  kernel you are using in order to build the new kernel

- do you know the chipset used in your hardware ?

- the 4 important questions:

which svga chipset
which nic chipset
which sound chipset
which dma chipset

( see the output of lspci .

- i assume you know exactly what cpu you have
and all the cpu flags it uses

- make xconfig and start clicking away ..

- if you donno what that option is for .. turn it off
- most of the defaults in the kernel source
from kernel.org is wrong ( left on for the wrong reasons )
- tons of kitchen sink stuff you dont need 
in your otutdoor tent  ( your own hw )

- you're allotted 10 minutes to click things on and off to
  define your kernel ... and you're done after that making
  your custom kernel, install /vmlinuz and running lilo is 30 seconds

- if you build all the chipset drivers into the kernel:
- you do NOT need an initrd
- you have built your own kernel if it boots and works

- see the kernel-howto for all the itty bitty details

- and if you wanna start to play ..
- harden your kernel with the gazillion kernel security patches

c ya
alvin


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



Re: fhs: where to mount other PCs ?

2005-09-12 Thread Alvin Oga


On Mon, 12 Sep 2005 [EMAIL PROTECTED] wrote:

 Hello,
 
  acctually you can mount them anywhere you want. i bet /mnt or /home .
  just dont mount them to /etc or /sbin or something, that would be 
  too  weird...

the right place to mount media and other PCs over nfs is a pissing contest
- root should NOT be mounting anything temporarily 

- automounters has its own mountpoints

- users should be mounting things consistently, so that
tom/dick and harry cn find where you mounted stuff

/usr/local
/var/spool/mail
/var/www
/home

all can be mounted in its expected location
or mounted anywhere else ( /mnt/local, /mnt/home, .. )

- add the additional mounting fun for
mounting *.i386 binaries ( generic )
mounting *.i686 binaries ( p4 )
mounting *.amd binaries
mounting *.emt-64 binaries
mounting *.sun3
mounting *.sun4
...


ie use /usr/local.`uname -m`

i mount everything under /mnt because ALL pcs is the same ...
and anythign is considered local to the disk/PC itself and NOT
mounted from anywhere else
/mnt/floppy
/mnt/dvd
/mnt/cdrom
/mnt/Win98
/mnt/Win2K
...

and anything that is automounted is mounted under it's own /.autofs
with symlinks to provide:
/n/Win98
/n/Win2K
/n/Mail
/n/Web
/n/home
...

c ya
alvin


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



Re: reinstall lilo after windows

2005-09-12 Thread Alvin Oga


On Mon, 12 Sep 2005, Hendrik Boom wrote:

   I know it will fire my bootloader (lilo on the MBR)

to wipe out the mbr 
dd if=/dev/zero of=/dev/hda bs=448 count=1

aka:  fdisk /mbr
aka:  reformat/reinstalling :-)

to install the mbr
dd if=working-mbr  of=/dev/hda bs=448 count=1
 
  If you have a floppy drive, one of these should work:
  
  use 'mkboot' to make a boot floppy (easiest)

to make a boot floppy

dd if=/vmlinuz of=/dev/fd0 ; sync 
wait for the fd idiot light to go off :-)

to make a lilo boot floppy with regular lilo options
vi /etc/lilo.conf
boot=/dev/fd0

lilo# create the MBR on the floppy instead

to make a grub boot floppy...
- save this task for last .. if you wanna have fun

 mkboot only works if you have lilo installed.

those commands and gazillion other equivalent/similarly
named commands all have assumptions in order to work
 
  or, get tomsrtbt to rerun lilo. 
  
  http://www.toms.net/rb/

requires that you have a working lua script language tool
to create the new standalone boot floppy

---

boot any standalone boot floppy or cd or cf or usb-stick

mount /dev/your-disk  /mnt/dead-boot-disk
chroot /mnt/dead-boot-disk
lilo  or  grub-install /dev/your-disk
exit
reboot

--

more gazillion ways to make a device bootable

 So much study I found it easier to install and configure lilo even though
 my system already booted with grub.  My son is suspicious of grub.  Last
 year when he installed Debian using grub as bootloader, it hosed but
 WinXP installation.

whatever bootloader you use will ALWAYS wipe out the previously installed
MBR if you write to the same location ... ( /dev/hda  vs /dev/hda1 vs
/dev/hda2, ... )

if you want dual boot ...
- you have to explicitly create the dual-boot config files
( lilo.conf or ( grub.conf aka menu.lst ) )

  He now uses lilo and boots Linux *only* from a floppy.

sometimes paranoia is a good thing ... until one understands
what the silly apps do when you tell it go ahead and wipe out my disk

 By the way, does anyone know how to tell lilo that although the boot
 and root partitions are all on /dev/hda, it should make a boot floppy
 that boots from /dev/hdc instead,

vi lilo.conf
boot = /dev/fd0

root = /dev/hda1

lilo



more booting fun

http://Linux-Boot.net

c ya
alvin


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



Re: reinstall lilo after windows

2005-09-12 Thread Alvin Oga

On Mon, 12 Sep 2005, Hendrik Boom wrote:

  vi lilo.conf
  boot = /dev/fd0
  
  root = /dev/hda1
 
 Won't that make it boot from /dev/hda1?

no... it boots from floppy ( the MBR )

it's told that /, /dev, /etc, /bin etc ( rootfs ) is on /dev/hda1

  How will it know to look on  /dev/hdc1 

you tell it ...
a) change lilo.conf  and rerun lilo
or 
b) at lilo prompt:  root=/dev/hdc1
or
gazillion other ways

(where it will be after the hardware change?)

wherever you want it to be including never never land

if you want it to be a known state, you must know
the state too  every file, every option, every character
in the file and the characters of the system that makes it boot
into your known/expected state
- if you dont know, .. it will do EXACTLY what
you told it to do  or the system defaults per
the gpl developers

c ya
alvin


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



Re: reinstall lilo after windows

2005-09-12 Thread Alvin Oga

hi ya hendrik

On Mon, 12 Sep 2005, Hendrik Boom wrote:

   boot = /dev/fd0 
   root = /dev/hda1 
 
 Poor choice of language.  Yes.  It boots the MBR on the floppy,
 then tries to read the kernel, the initrd, and such from /dev/hda1.

yup.. 

 But if the drive has been physically moved to /dev/hdc1, 
 this won't do much good.

that's why you can give and/or change any boot options to the bootloader 
 
  b) at lilo prompt:  root=/dev/hdc1
 
 Can it actually do *anything* with /dev/hdc1 before it's
 read the kernel form the appointed place

it is 1000x faster to try it ... than to type these email questions 

c ya
alvin


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



Re: bonding failure in Debian 3.1 Kernel 2.6.8-2-smp

2005-09-11 Thread Alvin Oga


On Sun, 11 Sep 2005, Holger Harling wrote:

 The Bond0 startparameters are in the networking script under case $1 in .. 
 behind ifup -a
 modprobe bonding mode=1 miimon=100
 ifup bond0
 ifenslave bond0 eth0 eth1 

what is the contents of your bonding files

manually..

   modprobe bonding
   ifconfig bond0 1.2.3.4 netmask 255.255.255.0 broadcast 1.2.3.255 up
   ifenslave bond0 eth0
   ifenslave bond0 eth1

ifconfig -v
- should list bond0, eth0, eth1 all responding to 1.2.3.4
and if you unplug eth0 or eth1, it will still work

- if it's working right .. you whoudl be able to run 2x faster
with   scp -p /somedir/100MB.db   y:/someplaceelse 

c ya
alvin


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



Re: hostap and intersil prism

2005-09-11 Thread Alvin Oga


On Sun, 11 Sep 2005, Hans du Plooy wrote:

 Hi guys,
 
 I am trying to set up an Intersil Prism PCI card as a wireless 
 accesspoint with the hostap driver.  I have found several HOWTOs on the 
 net, and they all follow about the same procedure (most of them Red Hat 
 based though).

than, i'd say you didn't look hard enough or long enough, as there's
tons on non-rh specific hostap howto's

the rest of the driver collection
http://www.Linux-Wireless.org/Wireless/Drivers/
 
 wlan0 No such device

it means the driver you used didn't find any hardware
 
 lspci -v
 :00:07.0 Network controller: Intersil Corporation Intersil ISL3890 
 [Prism GT/Prism Duette] (rev 01)

if this part# ISL3890 is NOT listed in the hostap hw list,
your hw is NOT supported

http://prism54.org/supported_cards.php

since it is listed, get the latest version from
http://prism54.org/download/



consider all wifi packets sniffed and cracked even with wep and some wpa

use ssh and some vpn if you're paranoid

c ya
alvin


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



docs + exp Re: Help!

2005-09-10 Thread Alvin Oga

hi ya

On Fri, 9 Sep 2005, Steve Lamb wrote:

 Carl Fink wrote:
  Any information needed to make a choice should be PART OF THE PROGRAM (minus
  very rare cases).  Why make the new user go searching?

most folks, form whom you buy a pc will take care of the headache for
you, just like when you buy a dell/hp/ibm ..
- you get what they give you ( good or bad )
and probably not much wiggle room to bitch and moan that
they didn't install it ccrrectly

debian/linux gives tooo too much lattitude to fix things the right way

- to fix any install from a cd PROPERLY can take 15min or
3-5 days to properly install and harden the server if you do not
have a reference to start from and have to harden or fix it
file-by-file

- i can easily spend 3 days to fix all the known problems with
just about any any and all distro

- you either have to have the prior install anything into any other
  kitchen sink or be willing to learn new tricks  or read more docs

 Because, and read this slowly, ask mommy for help with the big words...

sometimes grandpa is more willing and supportive too since they don't
have other things to do 

 INSTALLING AN OS ISN'T FOR NEW USERS!

not if they expect it to work right the first time with minimal
thinking and reading ..

 Not even Microsoft has figured it out yet.  Their install is abysmal to
 use even for advanced users.  That is why... again, mommy might need to help
 here

they have the approach right ..
- you get what they give you .. no choice .. no options ..

 MOST OPERATING SYSTEMS ARE PRELOADED AND THE AVERAGE USER NEVER HAS TO GO
 THROUGH AN INSTALL!

or the upgrade or debugg unless oyuhappen to be foolish to pay dell for
their warranty and support that they do not provide other than asking you
100 pages of did oyu do this.. did you do that BEFORE you get their
outsourced hired gun to show up for 5min to fix the problem in 5min that
you spent 5days on the phone with dell support and if you cahnged
anything, there is no warranty



with debian/linux ... you can pick and choose anything you want, but it
assume you kknow why you picked tom-dick-n-harry hardware over
mary-sall-janes better hardware combo package 

if you bought something that is not supported ... oh well ... 
- a common problem of wanting the fanciest
newest/greatest/cheapest stuff that may or may not work


 I repeat, if you think that installing an OS is an operation that is
 possible without sullying your prestine brain with naughty documentation
 you...are...wrong.

or if yu can find the install solution that owrks for all cases, you
can have more $$$ tha uncle bill ( ms ), whom would also gladly want you
to use their mostly inferior gadgets ( hw + sw ) instead of linux

c ya
alvin


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



Re: Software RAID problem - disks names change in case one fails

2005-09-09 Thread Alvin Oga


On Fri, 9 Sep 2005 [EMAIL PROTECTED] wrote:

 I'm testing a server before I put it in production, and I've got a problem 
 with
 mdraid.
 
 The config:
 - Dell PowerEdge 800
 - 4 x 250 Go SATA attached to the mobo
 - /boot 4 x 1 GB (1 GB available)in RAID1, 3 active + 1 spare
 - / 4 x 250 GB (500 GB available) in RAID5, 3 active + 1 spare
 No problems at install, and the server runs OK.
 
 
 Then I stop the server and remove /dev/sdb to simulate a hard disk failure 
 that
 has caused a crash and a reboot.

purrfect test  and do the same for each disk 

it is pointless to have 1 spare disk in the raid array

- have you evern wondered about other folks that try to build a sata-based
  raid subsystem ??
- how did their sata pass the failed disk test if it 
reassigns its drive numbers upon reboot

 With the second disk removed the disks names are changed,

exactly that is the problem with scsi
- pull the power cord from it to simulate the disk failure
or pull the sata cable ...

- in either case, if the disk drives rename itself, based on
who's alive, raid won't work to boot after the failed disk
( but it will stay running until its booted )

 the 3rd disk /dev/sdc
 becomes /dev/sdb and the 4th disk (that was the spare disk) /dev/sdd becomes
 /dev/sdc.

thta's always been true of scsi

 During the boot process md detects that there is a problem, but then complains
 it can't find the /dev/sdd spare disk and the boot process stops with a kernel
 panic error.

exactly

c ya
alvin


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



Re: Multihead

2005-09-09 Thread Alvin Oga

On 9 Sep 2005, Jeffrey Alsip wrote:

 I have succeeded in getting my Colorgraphic four-port video card (S3
 Savage4 chipset) to function under Debian! All four monitors now show a
 clear crisp display.
 
 However, my efforts have failed to get me mouse and keyboard access to
 the three displays beside the primary one. The HOWTO's that I have
 referenced were very helpful in getting the cards and monitors properly
 configured...but sy almost nothing about the mouse and keyboard.

which howtos, what options did it say to use

 Does anybody have a suggestion as to what I might be doing wrong?

the kb follows the mouse .. which ever xterm is active, is the one
assigned to the kb

- how did you get to the other screens ??

changing DISPLAY ..
export DISPLAY=:0.1  
export DISPLAY=:0.2  
export DISPLAY=:0.3
export DISPLAY=:0.4

or with xinerama ??

- do you want all 4 screens to be the same or different data on each

- http://Linux-1U.net/X11/Dual

c ya
alvin


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



Re: offline ?? Re: sendmail trouble

2005-09-08 Thread Alvin Oga

hi ya james


On Wed, 7 Sep 2005, James Vahn wrote:

  i don't know if this was meant to be offline ..
 
 Whoops.

:-) too late now .. but you can repost back to the list ..
  
  FEATURE(`access_db')dnl
  FEATURE(`blacklist_recipients')dnl
  FEATURE(`greet_pause', `1')dnl

..
 
 It will also cause local and LAN traffic to pause, so read the section on
 how to set GreetPause: localhost 0 in access.db

yeah.. and any other gotcha's along the way .. 
- i tend not to read docs ... but do read um before i give up
or post questions ... 

- if it doesnt work out of the box, having to read things to 
get it working is a bad thing in my book

- and i go bonkers on incomplete howto and wiki .. :-0
  
  snipplets drove me nuts when i didn't know what else to do with it, 
  so i have some samples in its entirety
  
 http://www.Linux-Sec.net/Mail/Sendmail/
 http://www.Linux-Sec.net/Mail/etc.mail/
 
 I'll have to go look. Here's another one to cause them grief:
 
 define(`confBAD_RCPT_THROTTLE', `2' )dnl

i haven't seen/used that one at all ... more stuff to do ( later ) :-)

and worst still ... there'll be lot more reading when sendmail-x comes out
and i skipped figuring out all the milter stuff too

thanx
alvin 


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



Re: my first raid disaster on reboot :o( update

2005-09-08 Thread Alvin Oga

hi ya ken

On Thu, 8 Sep 2005, Ken Walker wrote:

== which is it ..
- raid1 or raid0 .. big difference betweenthe two


 /dev/md7 using /dev/hda,/dev/hdc
 /dev/md8 using /dev/hab,/dev/hdd

the whole disk or /dev/hda1  and /dev/hdc1 ??
- its a good choice for /dev/hdcxx and /dev/hdcxx
but it'd be better for hda+hdd and hdb+hdc
  
 mdadm -C /dev/md7 -l1 -n2 /dev/hda /dev/hdc

why ??

 I checked with Fdisk that they were all set as FD.

good
 
 And on reboot only md0 would mount.

and what is /dev/md0 ??? 
- its not defined above
 
 So i copied the original mdadm.conf back and rebooted, and all the raids
 apart from md7 and md8 started.

presumably you have /dev/md0, /dev/md1, .. etc.. etc

copying mdadm.conf files is not a good idea unless
its all configured the same way ... 
 
 The system booted up properly this time but again without md7 or md8, it did
 its corrupt superblock or ext2 file system complaints.

:-)
 
moving files around and/o incorrect mdadm commands

 DEVICE/dev/sdb1 /dev/sdc1
 ARRAY /dev/md0 level=raid0 num-devices=2


raid0 means 2-small-disk is combined to look like 1 big-disk

- ie, there is no redundancy

 ARRAY /dev/md0 level=raid0 num-devices=2
 UUID=410a299e:4cdd535e:169d3df4:48b7144a
 DEVICE/dev/sdb1 /dev/sdc1
 
 Which way round should it be?

if you're referring to the order of array, uuid and device, it shouldn't
matter unless things changed that it is order sensitive
 
 I have also read that a mdadm.conf file isn't really needed, but can be
 helpful, if i hide me mdadm.conf file will the system boot with md7 and md8.

i'd say you have some undefined ( unknown ) /dev/md devices
 
 I do have those two raids in my fstab file at the end as
 
 /dev/md7  /Cad100 ext3defaults  0 2
 /dev/md8  /Cad200 ext3defaults  0 2

and where is  /  /tmp and /var  etc defined

the system should boot with /dev/md7 and /dev/md8 commented out,
otherwise you ahve system problems ... in additiona to corrupted raid
devices

 
 The SCSI is split up into /  /usr  /var  /swap  /tmp  and /home, each set as
 a raid1.

goood

but here you said raid1 ... the previous config files you showed referred
to raid0
 
 The IDE's are set up as raid1 on the ide channels, such that hda is mirrored
 with hdc and hdb is mirrored with hdd.

its a good start .. but it will nto guarantee that you cn boot,
because you do NOT have a master disk on the 2nd raid pair
( some bios' is picky )

 I had to move the system today so powered down with shutdown -h now.

good
 
 On reboot i just get / mounted ( i think ) and everything else says mdx
 corrupt superblock or such and not a valid ext2 fs.

corrupt superblock means your eitehr your fs is corrupt or your raid
is broken ( not really working raid )
 
 all the mirrors were set us as ext3 and when it was up and running
 /proc/mdstat said all was well.

what is its output ??
 
c ya
alvin


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



offline ?? Re: sendmail trouble

2005-09-07 Thread Alvin Oga

hi ya james

i don't know if this was meant to be offline ..

On Wed, 7 Sep 2005, James Vahn wrote:

  yup.. but in 1 minutes.. you're completely done w/ antispam
 
 I've found that these help a lot too. If the headers don't pass the
 tests, the data never comes across the wire. They are described in
 cf.README and really silence most of the noise.
 
 FEATURE(`access_db')dnl
 FEATURE(`blacklist_recipients')dnl
 FEATURE(`greet_pause', `1')dnl

i don't use greet_pause .. i have no time to sit and test it out .. :-)

snipplets drove me nuts when i didn't know what else to do with it, 
so i have some samples in its entirety

http://www.Linux-Sec.net/Mail/Sendmail/
http://www.Linux-Sec.net/Mail/etc.mail/

c ya
alvin


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



Re: sendmail trouble

2005-09-06 Thread Alvin Oga

On Tue, 6 Sep 2005, James Vahn wrote:

 Sendmail/Exim/Postfix/Smail have all had security vulnerabilities
 reported as recent as this year.

yup ... xxx is not usually better than yyy for certain metrics ..
- being better at one thing doesn't mean its better in general

- a working system is my metric for what works and how long it takes
  to get there, and how many vulnerabilities was in fact exploited
  successfully in the same time period ( last 3 mon, last year )
- people should hopefully learn from grandpa sendmail mistakes

 The examples I can think of are very few. Using m4 macro's is not
 complicated.. Exim is complicated.

m4 is trivially simple, once you figure out what to put where
at least in terms of sendmail macros

editing sendmail.cf directly implies either you're an expert or the 
town [EMAIL PROTECTED] :-)  -- and should NOT be the reason why xxx mta is 
better

- i played with postfix/exim/qmail/smail ...
and they all have config problems ... most do not work
out of the box by simply installing it but its getting there

- than add messy things like which antispam and antivirus
and you got more config headaches

 Well, I'm not exactly convinced that anyone should be saying anything
 like dump sendmail, run postfix or exim (a poor quote, sorry). Do they

yup... unless it addresses a particular problem/feature that the other
mta does nto support

 have nice config/setup programs? 

huh ?? what's that ... :-)

though if one takes a step back.. it should be trivial to make an mta-gui
- you need to know the domain name
- you need to know what the outside world see as your outgoing
  email server ( mail.xxx.com )
- you need to know what other domains this mta supports
- you need to know which rbl you want to use if any
- you need to know which antivirus app you want to use if any
click ok to run ...

 I don't like sendmail's very much, it
 requires manually editing sendmail.conf. Not a particularly difficult
 task, but still.. :(

yup.. but in 1 minutes.. you're completely done w/ antispam

c ya
alvin


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



Re: using the 'find' program

2005-09-05 Thread Alvin Oga

hi ya

On Mon, 5 Sep 2005, Stephen R Laniel wrote:

 On Mon, Sep 05, 2005 at 09:12:41AM -0400, Kevin Coyner wrote:
  cd /tmp
  touch testfile
  find . -iname testfile -print
  
  and I get nothing.

find --version
GNU find version 4.2.24

ls -la  /tmp/ls.txt

find /tmp -name ls.txt -print
find /tmp -name ls.txt -ls
find /tmp -name ls.txt
returns stuff ..

- each of these has many other equivalent solutions 


to find changes in the last 7 days

find /etc -mtime -7 -ls

to find changes ONLY on Sep 1 ( 4 days ago )

find /etc -mtime 4 -ls

to find anything that has foo in the name

find /etc -name \*foo\* -sl

to find only symlinks

find /etc -type l -ls

to find only directories

find /etc -type d

to find only files and symlinks

find /etc \( -type f -o -type l \) -ls

to remove core files .. but its dangerous, so check it first

find /etc /root /usr -name /core$ -ls

find /etc /root /usr -name /core$ -exec rm -f {} \;

find /etc /root /usr -name /core$ -print | xargs rm -i

.. endless list of stuff ..

 On my end that works perfectly. You do, indeed, have the
 syntax right. Here's what I get:
 
 (09:16) [EMAIL PROTECTED]:~$ cd /tmp
 (09:16) [EMAIL PROTECTED]:/tmp$ touch testfile
 (09:16) [EMAIL PROTECTED]:/tmp$ find . -iname testfile
 ./testfile

c ya
alvin


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




Re: Compiling Kernel for Bootsplash: The Whole Seven Metres.

2005-09-05 Thread Alvin Oga

 On Mon, 5 Sep 2005, David R. Litwin wrote:

 My appologies: I really, really want Bootsplash. 

than you be able to make it work yourself, as it is tons of work

 As I wrote (and so alluded to), my computer IS re-booted quite a bit. 

bad boy ...

i asume you do know, that your system is statisticly more likely
to die exponentionally each time you reboot your PC.. the more
you reboot it, the lifespan of your machine just wend down significantly

- i bet you do not have working PCs that are 10 years old
and still doing its mail/web magic 

 Besides, it's æsthetically pleasing (to me) 

than when bootsplash is working, you'd be a happy genious

 Any way, have you any advice to get me closer to me goal of 
 Bootsplashedness?

http://linux-boot.net/Splash/

and doing x11 stuff in framebuffer is equally fun and a good
techi-ness status

c ya
alvin



Re: automate printing of html-formatted pages?

2005-09-03 Thread Alvin Oga


On Sat, 3 Sep 2005, Matt Price wrote:

  images makes simple cat $html not work either, otherwise,
  cat $html | lpr -Ppostscriptprinter -
  
 wouldn't this just print the text that is contained in an html file (as 
 opposed to a rendered/formatted html page?

good point, probably ...
 
  how about:
  
  while ( have-html-pages ) {
konqueror option-to-display-to-stdout http://any-web-page  \
  | lpr -Ppostscript -
  }
  
  ie .. let mozilla/konqueror/galeon do your rendering locally
 but to dump to STDOUT instead
 
 I like the idea of having a real browser do the hard work of managing 
 the display -- but I'm not really quite sure how an 
 option-to-display-to-stdout would work.  I don't see any such option 
 in the man pages for konqueror or firefox,

the option to be found is the trick  and/or modify the source
to display to stdout instead of $DISPLAY:$xterm  ( whatever its called )

 and in any case I'm not 
 confident that this would result in a postscript file suitable for 
 piping to the printer...  Am I missing the boat here?

we're just trying to have the script hit the print button automatically
for you/us

-- tk/tcl and/or expect will do the trick ( interactive scripts )
   if the option-to-display-to-stdout doesn't exist for the browser

c ya
alvin


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



Re: IDE mondorestore DVD to Perc4 Raid machine

2005-09-02 Thread Alvin Oga


On Fri, 2 Sep 2005, John Fleming wrote:

 Now I want to use the 600SC's mondo backup DVD to restore (clone to) a Dell 
 PowerEdge 1850 with a perc 4eid raid 1 controller.  Note that I can install 
 Sarge from scratch (not the mondo backup) on the 1850 with a 2.4 kernel just 
 fine.  However, the 2.6 kernel installer doesn't recognize the SCSI drive 
 array.

isn't it fun ?? .. job security ..

- you're running into ordering problems ..
- which modules are run against the hardware  in which order

- prev sda is now sda in the new kernel if at all etc,
 
- insmod the modules for the missing scsi and ide controllers
- if the modules doesnt exist or doesnt load, you have no
choice but to use a newer kernel

- all these probelms diappears when you build your own kernel
  and you may or may not have to remapp  sda to sdb and vice versa

 Similarly, when I try the monorestore, it doesn't recognize the HDD.  I've 
 tried using DVDs made with mondo running with a 2.4 kernel as well as a 2.6 
 kernel - neither recognizes the HDD.

missing ide or scsi modules
 
 Anyone done this and know how to get mondo to recognize the perc 4eid raid 
 controller as a logical HDD?

perc4 is a supported (linux) driver in newer kernels

c ya
alvin


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



Re: automate printing of html-formatted pages?

2005-09-02 Thread Alvin Oga


On Fri, 2 Sep 2005, Matt Price wrote:

...

 wget -m -k http://some.website.com/
 
 and then:
 
 #! /bin/bash
 find /path/to/top/level -type f -iname *.html | while read file; do
 html2ps -gn $file  $file.ps ;
 done
 find /path/to/top/level -type f -iname *.html | while read psfile; do
 lpr $psfile
 done
 
 unfortunately, this doesn't work very well -- among other things, 

images makes simple cat $html not work either, otherwise,
cat $html | lpr -Ppostscriptprinter -

how about:

while ( have-html-pages ) {
  konqueror option-to-display-to-stdout http://any-web-page  \
| lpr -Ppostscript -
}

ie .. let mozilla/konqueror/galeon do your rendering locally
   but to dump to STDOUT instead

c ya
alvin


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



Re: Multiple monitors?

2005-09-01 Thread Alvin Oga

On Sun, 28 Aug 2005, Hugo Vanwoerkom wrote:

 Jeffrey Alsip wrote:
  Is it possible to run multiple monitors under Debian? If so, what steps
  are necessary?

http://www.Linux-1U.net/X11/Dual/

look for the MultiUser section

c ya
alvin
 
 Better yet: get 3 more keyboards, 3 more mice and you can accomodate 4 
 users on your box:
 
 http://www.ltn.lv/~aivils/
 


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



Re: subscribe - unsubscribe

2005-08-31 Thread Alvin Oga

hi ya david

On Wed, 31 Aug 2005, David Jardine wrote:

 On Tue, Aug 30, 2005 at 08:52:07PM -0700, Alvin Oga wrote:
  
  - oddd ... somebody needs to feed the leprichons(sp?)
 
 Leprechauns, I think, but gremlins, gnomes, elves... are easier 
 to spell :)

ah .. you saw the post ... i got my own post within a second
or two .. and a few other deb-user stuff along the way

let's see how long it goes before they need feeding again

c ya
alvin


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



subscribe - unsubscribe

2005-08-30 Thread Alvin Oga

hi ya debianites

- is it just me or did the same happen to some of you too??

- i had to resubscribe to get some debian-user emails

- bunch of debian-user up until about Aug 27 22:56:58
  and last one and only one at Aug 28 05:21:40
  and cold-turkey till now for deb-user
  and no error messages in the logs here of any incoming attempts

- in the meantime, i kept getting debian-security posts and others

- i was thinking, debian-user went down but i saw the
  archives had some traffic, so maybe it was a new spam filter ??

- i thought i'd try to check the subscribe :

- if i'm in there, i'd be getting a i'm already subscribed
reply but it  didn't flag an error

- if i was in there, i'd get 2 deb-user posts when
it starts up again ... so far only 1 of each

- oddd ... somebody needs to feed the leprichons(sp?)

and nope, i didnt unsubscribe

c ya
alvin




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



Re: Sendmail woes

2005-08-25 Thread Alvin Oga


On Thu, 25 Aug 2005, Derek The Monkey Wueppelmann wrote:

 It used to be that when I went into the /etc/mail directory and made
 changes to the access file then typed make, the access.db file would be
 updated and I could then reload sendmail. It seems now with Sarge that
 it does not do this update, if I do a make access.db, the access.db file
 is updated correctly, but I have to be explicit about it. Am I missing
 something?

use sendmail from sendmail.org ... and it'd work fine

you will also need to have the proper support files in addition
to access

http://www.Linux-Sec.net/Mail/etc.mail/

c ya
alvin


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



Re: Debian Wiki Down: Permanantly?

2005-08-25 Thread Alvin Oga

On Thu, 25 Aug 2005, C Shore wrote:

 I've confirmed that that debian wiki is down for others as well as
 myself, so I am wondering if anyone knows whether it has disappeared
 permanently or if it will be back soon.
 
 (http://wiki.debian.net)

how was it verified ??

the site comes up for me ...  ( am in sili-con-valley )
but than again, i dont know what all its conteents was before 
compared to what i see now ... lots of wiki links and stuff

c ya
alvin


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



Re: Debian Wiki Down: Permanantly?

2005-08-25 Thread Alvin Oga


On Thu, 25 Aug 2005, kamaraju kusumanchi wrote:

 C Shore wrote:
 
 (http://wiki.debian.net)
 
 
 Does not work for me and has been like that for the past 2 days. Nothing 
 loads and the request just times out. I currently live in Ithaca, NY, USA.

and what does traceroute show ?? as where the problem might be

traceroute security.debian.org 
- lots of alternet
- lots of savis.net ( they're confused )
- finally in *.nl with xs4all.net
- klecker.debian.org (194.109.137.218)

traceroute wiki.debian.net
- lots of alternet
- lots of sprintlink.net ( they're confused too )
- capitalinternet.com ( whacky uplink for wiki )
- d3dw.gweezlebur.com (208.4.52.75)

don't forget that it the isp upstream decide to change their
routers and other infastructure, you're stuck until all the 
old dns records are automatically updated/refreshed ... some updates
in a few hours, or a day or weeks, depending on the dns admin's whim
and complicate it with caching by others 

c ya
alvin
 


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



Re: hacked: can't delete files

2005-08-23 Thread Alvin Oga


On Tue, 23 Aug 2005, Arne [utf-8] Götje ([utf-8] 高盛華) wrote:

 On Tuesday 23 August 2005 12:57, Alvin Oga wrote:
  personally... i think any hacked machine should be looked over
  carefully to be able to answer the following:
  - who broke in
  - how did they get in
  - why did they break in ( sometimes there's no answer )
  - where they came from
  - how many times did they come in
  - how many prev attempts did they try
  - how long before you noticed them
  - what other machines did they break into
( esp for those of you that like passwordless logins )
  - what text files were read or edited
  - which binaries and libraries did they modify
  - what extra directories and files exists
  - what did they sniff and for how long ( passwds )
  - .. endless list ..
 
 Nice... can you also provide some info on how to find answers to these 
 questions? This would be very useful... just in case. :)

it's not one place or a document ..
 
its a lot of work to find those answers

stuff in no particular order .. but more for your thought process
to attempt to answer the above questions ...

first step ...
- backup everything BEFORE you are hacked
and do not overwrite last week or last months backup

- change all your loginID and passwds

- disallow everything insecure... which could be a weeks worth of 
changes to any system from a basic cdrom install
( no pop3, no telnet, no ftp, no dhcp, no wireless, no vpn, etc )

2nd step ...
- decide if you are gonna prosecute any successful breakins
and how you are gonna do that and why and follow police
process and proceedure ( get them involved asap )

3rd step ...
- to do forensics, how much time does it take ??
maybe a few hours, maybe a few weeks ... is it worth
the time ??

- first check all your binaries are intact against
your backups and other duplicate systems 
( or use knoppix or equivalent to check your hacked disk )

- take that hacked disk offline or not and you'd of course
have a different backup system running all your services
except for the vulnerability that was exploited

- personally, i prefer to leave the hacked disks unaltered to
see and watch them live and hopefully everybody
( law enforcement ) is also watching the 2nd time around
that we can pinpoint where the cracker is

4th step ...
- look over all your files... one by one to see
what they changed or edited or removed ...

- anything left over is what they left for you to
use to track them down ..

- obvious thing is to look at log files, but smart crackers
  will wipe out or clean the /var/log before they leave  

- no magic about how to find all those answers ... just lots
  of time and preparedness

fun stuff ...

c ya
alvin




Re: portmap and rpc.statd

2005-08-22 Thread Alvin Oga


On Mon, 22 Aug 2005, Matthew Lenz wrote:

 Are these services needed if I don't intend to use NFS on any of my 
 machines?  Also, I do have a couple servers that need portmap (i guess some 
 licensing service needs it for one software package we run) but does that 
 also mean that I need statd? .. just trying to minimize the running services 
 on these boxes.

nope .. none of um is needed

and while you're at it:
- put ALL:ALL in /etc/hosts.deny
- turn on what you want in /etc/hosts.allow

and if you want, there's about a weeks worth of patches/hardening 
too

c ya
alvin


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



Re: Boot Instal thru Loadlin and initrd image

2005-08-22 Thread Alvin Oga


On Tue, 23 Aug 2005, Frans Pop wrote:

 On Wednesday 17 August 2005 06:12, Avid LinuxHacker wrote:
  A reply to my installation question in the users forum has raised a
  concern that I am hoping someone here can resolve quickly.  The
  respondant to the loadlin  initrd boot/install question stated that it
  is no longer possible to do an installation by booting thru an initrd
  image. Is this true?  Here is the thread in question.

booting with initrd will always work, as long as the kernel has initrd 
support in the kernel otherwise, you're blowing into the hurricane

c ya
alvin


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



Re: hacked: can't delete files

2005-08-22 Thread Alvin Oga


On Tue, 23 Aug 2005, Dalibor Straka wrote:

... 
  ns:/usr/lib/libsh# rm -rf *
  rm: cannot unlink `hide': Permission denied
  rm: cannot remove directory `utilz': Permission denied

fun stuff ...
 
 This could be caused by modified rm or some kernel module.
 The easiest way is to boot to knoppix and remove this. Then
 delete the whole system and install new ;-)

if you're gonna re-install ...
- just wipe the disk and install, why bother with knoppix ??



personally... i think any hacked machine should be looked over
carefully to be able to answer the following:
- who broke in
- how did they get in
- why did they break in ( sometimes there's no answer )
- where they came from
- how many times did they come in
- how many prev attempts did they try
- how long before you noticed them
- what other machines did they break into
  ( esp for those of you that like passwordless logins )
- what text files were read or edited
- which binaries and libraries did they modify
- what extra directories and files exists
- what did they sniff and for how long ( passwds )
- .. endless list ..

- reinstalling a hacked box is the worst thing to do in my book
  but by the same token is the best if you don't want to answer
  the above questions, esp how did they break in

- since they sniffed ytour wire,  what's yur new passwd
or are you gonna use the same loginID and passwords ??

( why bother reisntalling if you don't at least change these )

- remove their trojans, apply your patches and see if they 
  can break in again ... they willl probably be back to knock
  on your door again, but more quietly the 2nd time

- change your passwd only on the local console,
and NEVER change passwd remotely

- gazillion things to do after a breakin ...
- it's 1000x cheaper to prevent the initial breakin ..

c ya
alvin



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



Re: Securing NFS

2005-08-19 Thread Alvin Oga

On Fri, 19 Aug 2005, Laurent wrote:

 Exporting the whole /home directory would put data security at risk 
 since creating an account with the 'right' uid on a workstation would 
 grant access to user files.

i assume you're looking for:
- only users can see the files they own/create, and
cannot see others files ...

- if more than one person has group permissions,
there is no way to prevent them from looking at each
others data if its on the same server

- never export /home if you're worried ...
and export /home/user1 only to user1  and /home/usr2 to user2

 My question is: How to allow any user to use any workstation 
 (Authentication through LDAP) without putting data security at risk,

that implies you have a good security policy that the managers of
the ocmpany also believe security is important and will enforce the
rules including termination or severe punishment or removal of
priviledges for violations

good policy:
- document anything and everything that affects security
and data and access to it
- apply and test all upgrades before deployment
( proper testing distinguishes the me too from the pros )
- backup everything and encrypted someplace else
- assume they are peeking at the sensitive data 
and see if you can find who, what, when, where, how

- harden NFS ...  disallow root logins, allow only certain
ip# to nfs mount directory specific resources ( /home/user )
- run secure NFS daemons, including kerberos if needed

- endless list of hundreds ( :-) ) of things to do ..
- disallow dhcp, disallow wifi, disallow vpn, ...
- disallow yahoo, aol, hotmail, gmail, icq, aim, etc ...

c ya
alvin


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



Re: replacing failing system disk

2005-08-19 Thread Alvin Oga

On Sat, 20 Aug 2005, Shea Martin wrote:

 My hda is going south. I have a good (crosses fingers) disk as /dev/hdb
 right now.  My plan for migration is this:
 
 1. fdisk /dev/hdb, and create similar partion scheme on hdb.
 2. newfs all new partititions, mkswap on swap partition.
 2. from knoppix, cp -a the contents of /dev/hda to /dev/hdb.

copying the contents off fo failing disk will only aggravate it
even more and there's no guarantee your data you copied off is
not corrupted

you should restore data from known good backups PRIOR to you
noticing the flacky disk

---

disks goes flacky because:
- bad cables or bad cable twists and turns
- disk running too hot, but you should alwways have a
dedicated fan per 7200rpm disk
- endless list of stuff to check

 3. chroot to the / of hdb, and run grub.

that will break ...

you need to change menu.lst and grub.conf to be able to install
the new mbr into hdb
- the device map and orders and syntax will be different
with hda vs hdb vs both present etc..etc..

or as you say ( to do stuff and pray ):
dd if=/dev/hda of=/dev/hdb count=1 bs=448 

power off ..

than move hdb to where hda used to be and it should
work as a replacement for hda

 4. poweroff, pull hda, make hdb the new primary-master (aka hda).
 5. boot and pray.

don't forget to donate 10% of your income to the gods ;-)

c ya
alvin


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



Re: replacing failing system disk

2005-08-19 Thread Alvin Oga


On Fri, 19 Aug 2005, Bryan Donlan wrote:

 On 8/19/05, Alvin Oga [EMAIL PROTECTED] wrote:
 
  or as you say ( to do stuff and pray ):
  dd if=/dev/hda of=/dev/hdb count=1 bs=448
  
  power off ..
  
  than move hdb to where hda used to be and it should
  work as a replacement for hda
 
 Note that this will break if the new hdd is smaller than the old, and
 might break if it is a different size or has a different geometry.

note ... it only copies the mbr .. NOT the whole disk ..

nothing will break ... try it

c ya
alvin 


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



cheap -- Re: weird characters

2005-08-18 Thread Alvin Oga


On Thu, 18 Aug 2005, Vikki Roemer wrote:

 Heh, yeah, *should*.  But it's a cheap, sorry MB with a cheap, sorry bios,
 so it doesn't. 

you can also do what the bios should have been doing by using
lmsensors and check the cpu temp and dead fans with lmsensors

you can check the disk temp with hdtemp

and when those sensors say you got problems... you(aka cron) run 
shutdown now

 For the record: never buy cheap hardware, especially Elite
 Group motherboards.

every manufacturer makes [EMAIL PROTECTED] every once in a while, and some
vendors are worst than others ... and EGS is one of them to avoid
in general as are 10 other manufacturers ...

- i typically buy intel, tyan nowdays
and 2nd choice is via for mini-itx,
which means there's not much choice either, so the customer
picks their favorite vendor and they get to run up their 
time to debug bills as they watch why its a bad choice for 
their favorite tom-dick-n-harry distro

- i just spent 4hrs debugging a bad mb ( brand new )
and wound up tossing 3 of um ... and another no-name-brand
mb worked fine the first time with the same cpu/mem/disk

- dell is good [EMAIL PROTECTED] .. tons of $$$ to make on that junk
which is probably the worst of the bunch due to their
customized this [EMAIL PROTECTED]@ and dellized  that [EMAIL PROTECTED]
- you can't give me dell pc to use, but i'll take 
all your customers that has dell and compaqs

- cheap is okay .. as long as you know why you got it and
  if you used it before from that particular store
- i buy shit from 1 primary vendor ( distributor which
requires a reseller permit, and the rest of misc junk from 
local stores and worst case, buy non-critical parts at fries

- fries has too many gorrilla tossing boxes/cases of disk
drives onto the shelf or pallet ... you ahve about 25% failure
rate within the year and about 75% chance the rebate check
never shows up ( a scam worst than the nigerian spam scam )

c ya
alvin


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



Re: weird characters

2005-08-17 Thread Alvin Oga


On Wed, 17 Aug 2005, Vikki Roemer wrote:

 Hi,
 My problem is, after I had to reboot (computer overheated again),

what overheated ??

the power supply ??
- your fans should be working on the ps
- if its blowing too much hot air... throw your ps away

the cpu ??? over heated and shut itself down by itself ??
- a fried cpu will work only intermittently

the disk got too hot ??
- a fried disk will work for some things but not 
other parts of the disk

the memory stick got too hot ??
- throw it out

 Anyway, my question is, how do I set i back to the ascii (i forget the
 number) charset?  I forgot what command I used to change it in the first
 place. :(

without seeing what you mean by overheated again

i think you're something-or-other is fried beyond repair ... 

- start moving pieces around onto anohter working
system and see if the suspect fried part works on the
other system

- do NOT use a suspect bad PS on a good system as you'd
create a 2nd bad system

( there's no need to test for a bad ps... throw it out
  and get a new one for $20, unless you like to play with 
  blue smoke :-)

c ya
alvin


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



Re: weird characters

2005-08-17 Thread Alvin Oga

On Thu, 18 Aug 2005, Vikki Roemer wrote:

 Ok, the problem is, I have a processor that runs hot, and I have as many
 fans as possible in the system (including putting an 80mm case fan on the
 CPU with an adapter), and it still tends to overheat.  It will not shut

form the rest of the stuff below ... your disk system is corrupted 

- if your system boots properly .. and x11 looks oky fro a while ...
  i'd bet the cpu is still okay...

- if you, or anybody, has to hit the reset or power switch at least once,
  i say the machine is misconfigured ... or something is seriously wrong
  with the existing hardware  ( i'm finicky about things working right
  esp if means losing data if something is known to be wrong/flaky )
- reset and power switch should be hands off

- if you have a heat problem
- take the covers off
- put a standard $20 household fan on it and blow the [EMAIL PROTECTED] 
out of
it ... skip all those mickey mouse 40mm/80mm/120mm fans

- the bios should should down the cpu in its health monitor section
  if it has the capability .. otherwise, put an egg on it and have
  breakfast sometimes ..

c ya
alvin


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



Re: System backup/snapshot

2005-08-16 Thread Alvin Oga


On 16 Aug 2005, [EMAIL PROTECTED] wrote:

 I want for example perform some updates on the system that may be
 upgrading/changing of debian packages, some files or firebird database.
 If one of the update tasks failed i want be able to restore complete
 previous system before all updates occurs.
 
 Is there are general solutions for this?

daily:
   tar zcvf /opt/BACKUP.date.tgz `find /etc /home $TYPE -mtime -90 -print`

once a month, or however often you're paranoia tells you to do full
backups
   tar zcvf /opt/BACKUP.date.FULL.tgz `find /etc /home $TYPE  -print `


- where TYPE == ( -type f -o -type l )

- mount, sync, unmount before and after the find | tar 
- grep out anything yoou do not want backed up, add anything else you want

c ya
alvin


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



Re: Briefly Making a Botable Floppy with GRUB

2005-08-16 Thread Alvin Oga

On Tue, 16 Aug 2005, Jon Dowland wrote:

 On Tue, Aug 16, 2005 at 12:11:42AM -0400, David R. Litwin wrote:
  I found this from the Archives:
  ...
  but I do not know what the cp  stages one and two means, and the
  text in parenthesis.
 
 Those instructions seem to omit putting the stage1 portion of grub into
 the boot sector. I could be wrong, but I don't think the resulting
 floppy will boot into grub properly.

you will also need the filesystem type ( e2fs_stage1_5 or xfs or reiserfs,
etc )

you will also need to know how to create grub.conf and menu.lst and
devices.map  ( a correct one, that you know what to change to make it
work on your system --  depending on where you built vmlinuz and
what disk/partition you are trying to boot on the target system )

making a (properly working) grub boot floppy is very tricky biz..

you should know how to make:
- a standard boot floppy:  dd if=kernel of=/dev/fd0 ..
- lilo boot floppy:  lilo -C /etc/lilo.fd.conf where boot=/dev/fd0
- syslinux boot floppy
- than try a grub boot floppy

 I did have a good write-up somewhere which explained it (I think it was
 just dd'd onto the front of the floppy device) but I can't find it now.
 I expect I just googled for 'grub boot floppy howto'.

dd if=/dev/working-grub-device  of=/dev/fd0 bs=446 count=1

where working-grub-device is for example: /dev/hda

c ya
alvin


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



Re: Reading an autocad dwg file

2005-08-16 Thread Alvin Oga


On Tue, 16 Aug 2005, Marco Scholten wrote:

  What tool could I use to read a dwg autocad file?
 
 You could try LX-viewer (http://lx-viewer.sourceforge.net/).
 There is also BricsCad, a propietary autocad clone wich runs under linux.

( semi complete list of ) autocad readers and editors 

http://linux-cae.net/CAD/   

c ya
alvin


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



Re: Backup/Restore debian package

2005-08-16 Thread Alvin Oga


On 16 Aug 2005, [EMAIL PROTECTED] wrote:

 Is there is a way to save/backup debian installed package ?

if you do your own stuff... you should create your own *.deb pkg

if you create pkg.lst BEFORE you apply apt-get update/apt-get upgrade,
than you will always have the state before any pkg that crashed
your system

- to backup your existing deb box
dpkg --get-selections *  /mnt/floppy/pkg.lst 

save your config files separately ( /etc, /usr/local/etc )
and any place else you modified config files

- to restore your system to a previous state
install a minimal system 
dpkg --set-selections  /mnt/floppy/pkg.lst 

restore your config files

\\\ all that is 1 or 2 command lines

== opinion
== if you have to restore your system, you're doing something wrong
==
== ie, do NOT test on critical systems that you need to recover when
== it breaks, esp if you cannot recover to any random day at any
== time to simulate that your backup/restore is working right
==
== /opinion

c ya
alvin


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



Re: System backup/snapshot

2005-08-16 Thread Alvin Oga


On 16 Aug 2005, [EMAIL PROTECTED] wrote:

 I need to save several versions of the backup on the local disk and be
 able to restore it when system is running.

it is practically impossible to (randomly) restore a running system
and if you can do that, you'd be a multi-billionaire

it will restore files that is not being used at the time or previous
commands and system status

c ya
alvin


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



Re: Network card recommendation - testing

2005-08-15 Thread Alvin Oga


On Tue, 16 Aug 2005, Anders Breindahl wrote:

 Please educate me: What exactly determines a NIC's reliability? What defines 
 its effectiveness?

use 2 machines for all tests, but use the same nic card in both machines

scp  machine1:/opt/test/10MB.tgz  machine2:/opt/junk



try the same test with another pair of nic cards



during the tests... if you see stalled as an error message/warning 
for scp:
- throw that nic card away ..
- or throw away the switch/hub  (don't use one if you want to
  eliminate the hubs/switches and use a cross over cable instead)
- or throw away your ethernet cables
- you cable should be xx' long and no more than
2(?) switch/routers between 2 machines ..
- or throw away the kernel and drivers
- or change your tcp/ip variable options
- or ???

- you should be able to run at 50% - 75% or faster of sustained bandwidth
  between any 2 machines  

- 100Mbps -- you should see  8MByte or 10MByte per sec transfers
( 1 second to transfer a 8MB file )

- given a choice ..
- i'd use intel chipsets ( on the motherboard ) or pci cards

- i'd avoid broadcom chipsets unless you know how to tweek the
  kernel drivers

c ya
alvin


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



Re: sendmail

2005-08-10 Thread Alvin Oga

On Thu, 11 Aug 2005, Steven Jones wrote:

 Anybody got some recommendation on tuning sendmail to reject spam?
 Things like mis-behaving remote smtp server or servers not in dns ie
 domain does not existlow cpu overhead stuff

in your sendmail.mc, just add a couple of lines and re-generate
sendmail.cf  ( zero cpu load stuff )

.. list of your fav rbls ... 3-5 of um ..

FEATURE(`enhdnsbl', `bl.spamcop.net', `Spammer ${client_addr} $f
rejected by RBL: http://bl.spamcop.net')
FEATURE(`enhdnsbl', `dnsbl.njabl.org', `Spammer ${client_addr} $f
rejected by RBL: http://dnsbl.njabl.org')

=

examples sendmail.mc files w/ RBLs checking
http://www.Linux-Sec.net/Mail/etc.mail/sendmail-8.13.3/
http://www.Linux-Sec.net/Mail/etc.mail

c ya
alvin


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



RE: sendmail

2005-08-10 Thread Alvin Oga


On Thu, 11 Aug 2005, Steven Jones wrote:

 But Im not allowed to reject based on rbl's, we tried that and in NZ
 lots of companies use adsl and cable modems so we had huge issues and
 political flak. Such business broadband is being heavily sold by our
 major telco as a solution and trying to tell people who don't understand
 how to manage the box on the end of their connection is hard work. Those
 same people also have huge political clout as I have found out to my
 cost...

if you can't use existing rbls ..
- you can create your own local rbl of spam you did receive
instead of assuming that those that are in the various rbls 
are in fact accurate which is not always the case

- other option for sendmail is to use:
- bayessian filter
- milter

- both of which is more than a minute of work like the rbl entries
for sendmail.mc 

 Stuff like not in dns and non-rfc compliance I can get away with though

yup.. but even those can be tricky ...
MX records are not required to send/receive emails
sending hosts does NOT need to have reverse DNS to work

work means that the non-techie sitting in front of windoze-XP
and can send/recevie emails and giga-byte-attachments w/o any
problems

work correctly for techies can be flame bait ..
and as with all flame bait, is usually not worth the time on
either party other than a good blood pressure and patience test

 as I can justify it by telling the remote admins to go configure their
 server properly (though even that is hard work as those same admins
 complain to my higher ups about us being anal) spammers obviously wont
 ask..

not all users have the ability to properly configure tehir sending mail
servers or that the admin knows what to change or where .. or how ..

spammers are not dumb ... they know exactly what to do to get around
any/all spam filters... they're always 1-step ahead of us .. 
- worst case are soem of the hotels, that send mail out
as localhost to get around the CEOs (in)ability to send
outgoing mail on their laptop thru their corp servers
in which, the corp email servers, should reject hotel guests
from relaying emails from hotels thru the corp mail server

vpn would be better, but than, if the ceo can vpn from
the hotel room, so can the spammer ..

endless problems.. good for job security ..

c ya
alvin


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



Re: OT: Wireless questions

2005-08-07 Thread Alvin Oga


On Sat, 6 Aug 2005, David Purton wrote:

 I know, way OT, but I thought I'd pick people's brains on here anyway.
 
 I'm thinking about adding wireless connectivity to my home LAN.
 
 At present it looks like this:
 
   ++
   | switch |-- wired private network
   ++
|
  eth0
|
   +-+
   | debian linux|  ++
   | server/firewall |-- eth1 --| adsl modem |-- internet
   | gateway/router  |  ++
   +-+
 
 
 What is my best option?
 
 I was thinking of just putting another ethernet card in my server and
 getting a wireless access point to attach to it.

by server, i assume you mean your debian box

it'd be better to add a hub/switch between the dsl router and
your debian box and plug your wifi card into a 2nd 386-based PC
or buy a linksys wt54g with a modified firmware

 Then I could only allow
 traffic through to/from the wired network through a VPN (probably using
 openVPN, since I have used this before and it's easy enough to
 configure).

wireless traffic over vpn is good and bad

good.. that they cannot see its content in clear text, but 
since its vpn, they have access anyway unless you close off the 
vpn to allow just one mac address
- good, always run wifi devices over ssh or vpn .. BUT ..

anything you can do .. they can do tooo ..  even more so if you don't
use any passwd or pass phrase, so it'd be pointless
- passwdless login is a free use-any-time key to the cracker


they are the van outside the house or around the corner or behind the
house or at starbucks or the high powered wifi antenna on the mountain top

 What are the disadvantages of doing it this way?

what is important to you would decide which is better ...
- time
- ease to setup
- data security
- getting fired from the company because a cracker got
into the corp lan from your wifi home network

endless tons of disadvantages no matter which way you do it

i opt for data and login security first ... time and costs is secondary
or non-issue ... data cannot be replaced/bought unless your backup
scheme is self checking and self correcting and secure

 And what hardware would you recommend to get this setup to play nicely
 with linux?

see above

any pci card will work

-- if you want your own AP .. you will have to pick a pci card that
   is supported by a wifi driver

linux-wireless.org/Drivers

-- if you want your own AP with WPA... you will have to pick
   a pci card that is supported by hostap or madwifi

-- if you buy off-the-shelf...
- some netgear switches will not talk to linksys clients
and vice versa ( s/netgear/any-commercial-product/g )

 I guess the other option is getting a wireless router which I could
 attach to my switch.
 
always put insecure wifi OUTSIDE the firewall

bad idea to put wifi inside ( your switch )

 How does this compare to using just an access point? Is it better?

linux based AP is better ...

- you can control what it does
- there is no default passwds that you didnt change
- you can use wpa, wep is broken and worthless for preventing prying eyes

c ya
alvin


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



Re: OT: Wireless questions

2005-08-07 Thread Alvin Oga


On Mon, 8 Aug 2005, David Purton wrote:

 ++
 | switch |-- wired private network
 ++
  |
eth0
  |
 +-+
 | debian linux|  ++
 | server/firewall |-- eth1 --| adsl modem |-- internet
 | gateway/router  |  ++
 +-+
 
...
 
  any pci card will work


 
  -- if you want your own AP .. you will have to pick a pci card that
 is supported by a wifi driver
  
  linux-wireless.org/Drivers
  
  -- if you want your own AP with WPA... you will have to pick
 a pci card that is supported by hostap or madwifi
  
  -- if you buy off-the-shelf...
  - some netgear switches will not talk to linksys clients
  and vice versa ( s/netgear/any-commercial-product/g )
 
 mmm ok, So I don't need a hardware AP connected to an ethernet Card?

nope...

your debian box is doing all the routing so if you have a $20 wifi pci
card, you'd route wlan0 or ath0 as your new eth3 in your debian box

 Just so long as the PCI card is supported bu the linux wireless drivers?

yup.. check the list of drivers ... to see if you find your favorite 
card is easier to do than to take any random card and finding its drivers
 
  linux based AP is better ...
  
  - you can control what it does
  - there is no default passwds that you didnt change
  - you can use wpa, wep is broken and worthless for preventing prying eyes
 
 This was my initial thought.

Linux-Wireless.org/AP
- few debian based wap's too

c ya 
alvin


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



Re: grub and swapping out drive

2005-08-02 Thread Alvin Oga


On Tue, 2 Aug 2005, R Ransbottom wrote:

 I want to install grub to (hd1) so that it is ready to be used as (hd0).
 
 I have Debian 3.1r0a up.  On /dev/hda2 (hd0,1) is my root.  On /dev/sda2
 (hd1,1) is a cloned root.  I want to remove the IDE disk at /dev/hda and
 boot from /dev/sda2 which will then be (hd0,1).  I have no floppy drive.
  
 By cloned I mean (modulo typos):  
   fdisk /dev/sda;  
   mke2fs -j /dev/sda2; 
   mount /dev/sda2 /mnt;  
   cd /; 
   cp -ax . /mnt;  

cp -dpar . /mnt ( but i keep wondering how cp knows not to copy
/mnt onto /mnt/mnt )
- watch out for permissions, dates, links, etc

   grub-install \(hd1\);

too early for that, use:

you will need to fix /dev/hda  to say /dev/sda instead in all
grub/lilo files and /etc/fstab and possible other places

chroot /mnt grub-install /dev/sda

or

dd if=/dev/hda of=/dev/sda bs=446 count=1

or 

easiest and higher probability of it working to make a clone bootable
is to make hda dual boot and boot into the clone and run grub-install
while running off /dev/sda

c ya
alvin


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



Re: DriveReady SeekComplete Error

2005-07-31 Thread Alvin Oga


On Sun, 31 Jul 2005, persall wrote:

 DriveReady SeekComplete Error

that is usually:
a) mixture of ide devices on the same ide cable
- keep cdrom and dvd on its own cable
- keep ata133 devices on a different cable than ata100 drives
- bad ide driver ( aka motherboard )
- ...

b) it can be cheap cables vs good ide ata-100 cables that is
   NOT stripped into itty bitty strands nor longer than 18
- throw those round ide cables away

c) your disk could be running hotter than it should be

d) somebody in the food chain dropped it ( aka toss the box
   around ) before you bought it but sold it to you anyway ...

e) if it's the 16GB - 40GB ibm deskstar drives made in thailand, than 
   throw those drives away ...

f) if you're having disk drive propblems... backing it up now,
   will only aggrevate the situation and/or you should be worried
   that the backup you just did is correct vs corrupted 
- old backup data should never be overwritten with new backups
until you know that the new backup is correct

endless worries

c ya
alvin


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



Re: rbldnsd setup

2005-07-28 Thread Alvin Oga


On Wed, 27 Jul 2005, Richard Cunningham wrote:

 Okay, I did the apt-get install rbldnsd. The documentation on setting it 
 up is sparse.
 
 I want to run it stand-alone, without a dns server. Is there a 
 step-by-step tutorial on how to do this?

you do NOT need to worry about dns to run rbldns

there's not many step by step stuff out there

some other docs on rbldns
# middle of the page
http://www.UCEAS.net/RBL.Server/

c ya
alvin


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



Re: rbldnsd setup

2005-07-28 Thread Alvin Oga

On Thu, 28 Jul 2005, Richard Cunningham wrote:

 Alvin Oga wrote:
 
 some other docs on rbldns
  # middle of the page
  http://www.UCEAS.net/RBL.Server/

...

 Thanks, but that refers to rbldns which is not the same as rbldnsd.

you didn't seem to read the docs referenced ..
whcih does include answers you're probably looking for ( how to setup blah
blah and twiddle dee to get it working )

c ya
alvin 


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



Re: 2 monitors on Nvidia GeForce 5700LE using x.org

2005-07-22 Thread Alvin Oga


On Fri, 22 Jul 2005, [KS] wrote:

 Hello,
 
 I was trying out x.org to use 2 monitors with my Nvidia GeForce 5700LE.
 After tinkering with the xorg.conf, I finally got the two monitors
 running using the AGP and the DVI ports(with DVI-AGP converter).

and does it work right ??? - am guessing not


 Section Monitor
   Identifier  Sony CPD E200

you need 2 of these Monitor definitions, unless both monitors is
identical manufacturer and models

   Modeline[EMAIL PROTECTED] 83.91 1280 1312 1624 1656 800 816 
 824 841

throw this(any) Modeline away unless you can say why it is 1312  vs 1323
or any other random numbers

 Section Screen
   Identifier  Default Screen

you need 2 of thse Screen definitions

   Device  NVIDIA Corporation NV36 [GeForce FX 5700LE]
   Monitor Sony CPD E200

you need to have a way to distinguish monitor1  from monitor2

   Option  TwinView true

twinview is a different x11 driver than nvidia chipset you're using

   Option  Xinerama on

you can turn is on or off to see what it does to the stuff
you see on both screens
 
   Modes   1600x1200 1440x900 1400x1050 1280x1024 
 1280x960
 1280x854 1280x800 1280x768 1200x800 1152x864 1152x768
 1024x768 800x600 640x480

messy ...


 Section ServerLayout
   Identifier  Default Layout
   Screen  Default Screen
   InputDevice Generic Keyboard
   InputDevice Configured Mouse
 EndSection

the above should reflect left monitor and right monitor

dual screen examples
http://Linux-1U.net/X11

c ya
alvin


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



Re: Debian and wireless network cards

2005-07-21 Thread Alvin Oga


On Thu, 21 Jul 2005, Leonid Grinberg wrote:

 Hello,
 
 I was asked by a friend to install Debian on his system. He asked me
 about which wireless network cards Debian supports. Can anybody tell
 me which ones (I personally don't use a wireless network so I wouldn't
 know).

all wireless cards will work  if you're willing to sacrifice features
- linux can use the ndiswrapper and use the windoze driver
from the cdrom that came with the nic



if you want to build a wireless AP or wpa ..

- you will need either the hostap driver or madwifi driver
and see which cards it supports

- be careful of old models and new models with the same part
number but differs in which wifi chip is used on the pci/pcmcia 
cards

---

if you want wep, you can use most any other linux supported wifi cards

- if you're using wep as your security mechanism, 
than consider your machine pre-hacked and keep all your
bank info elsewhere


- run everything with ssh/ssl if you're paranoid 
ssh, pop3s, imaps, https, ..

---

easier way:
a. see what is on sale and search for the linux drivers
b. see what your buddy is using and use that wifi card


more wifi fun
Linux-Wireless.org

c ya
alvin

-- for those that are looking to do a mediaum range 5-10 miles wifi,
   i've got two 24db wifi antenna that we'll be testing


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



Re: ModeLine - again - smoke test

2005-07-19 Thread Alvin Oga

On Tue, 19 Jul 2005, [iso-8859-1] Cláudio E. Elicker wrote:

 On Tuesday 19 July 2005 18:46, Paolo Pantaleo wrote:
  [I hope it is not too off topic]
  I found a nice HOWTO here
  http://en.tldp.org/HOWTO/XFree86-Video-Timings-HOWTO/index.html

and i wonder how many people smoke'd their crt ... i have 2 of um :-)
ie.. know what the modeline numbers mean when you change it
or even if you do know what it means, are you willing to risk 
letting the blue smoke come out and the silly thing goes to
la-la land and doesnt come back ( work again )

normally, with today's X11 server

X -configurewill generate what you need

X is usually a symlink to XFree86 or Xorg or ??

if you like 1024x768 or 1280x1024, you might need to 
add that to the:

Section Screen
  Subsection Display
Depth 16
Modes 1280x1024 1024x768 
  EndSubsection
EndSection

-- the Modes line is usually missing in the stanza and not the
   nitty-gritty gory numbers to define the timing defintions
   of the 1280x1024
the nitty gritty numbers are predefined in XFree86 or Xorg
or whatever X11 driver you're using

-- if you can see flicker on your screen, try turning off the
   florescent light, just to test that the screen doesnt flicker
   without florescent lights

- if you can still see flicker, you will need to know
all the gory details of the ModeLine definitions for
your svga chipset and monitor manufacturer and model#

c ya
alvin

  that explains in deep how to set ModeLine entries for XF86Config. It
  talks about two automatic ModeLine generation tools:
 
  KVideoGen - http://paranoia.rulez.org/videogen/
  [a CGI script] - http://zaph.com/Modeline
 
  None of these links seems to work, could it be for copyright problems?
 
  Thnx PAolo
 
 Videogen is in Sarge: http://packages.debian.org/stable/x11/videogen
 Just do a simple
   aptitude install videogen
 



Re: Replace /lib and /usr/lib on a server

2005-07-15 Thread Alvin Oga


On 15 Jul 2005, Felix Natter wrote:

 it is my task to create a complete backup+restore method of our woody-based
 web- and mailserver. The problem is: how can I restore /lib and
 /usr/lib/*.so* in a running system? Whenever I tried it (tar --overwrite)
 the system halted (IIRC a statically compiled tar didn't help).

you can NEVER overwrite a file in a running system, unless it is an
identical file
- you can replace a running system's kernel but that too
is tricky and fun biz

the problem also apllies to all binaries in /bin /sbin /usr/sbin /usr/bin 
and eanything else in the sytem

if you want to restore into a running system ... and you can do it
properly, you'd be an instant millionaire ??



best way to do a complete backup and restore
- rsync the master system into the slave box except for ip# and
hostname ( the salve system is alway ready to take over since
the last backup )
- backup too often and the original problem that
cause the master to die will propagate and kill
the slave too ( ie.. you'd need to know why your master
died in the first palce )

- rsync is dumb ... it will propagate failures

- do overlapping full and overlapping incremental backups
just in case yesterdays full backup failed and you dont notice
it till 2 weeks or months later when the system dies

- gazillion do it this way or that way suggestions
depending on who you ask


- big questions ...
- how time is lost if the backup and/or restore didnt work
- backups should be 100% automated and self correcting
and self checking  ( no time to run .. just a few hours
to setup properly )

- soemthing else is seriously wrong if you have to
restore

- how much $$$ is lost
$$$ lost due to crashes should be more than say 3x-5x 
of the costs of all the preventative backup and restore
methodology

- how long to get back to normal operations
( should be under 5 min )

c ya
alvin


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



Re: Wireless PCI Cards - Which Work?

2005-07-15 Thread Alvin Oga

hi ya thomas

On Fri, 15 Jul 2005, Thomas H. George wrote:

 Actually I know my Netgear MA311 works but we just moved to a new house 
 and the little antenna for the card was lost.  I purchased a Netgear 
 WG31l ($50) and Sarge with a 2.6.11 kernel didn't recognize it.  The 

wg311 works great... if its v1 which uses the atheros chipset vs the
common(newer) v2 which uses a different chipset

madwifi driver

and works with WPA client mode and as WEP ap mode

http://Madwifi.net
 
 I did a Google search and found forlorn messages from someone trying to 
 get a Linksys PCI card to work.  I have one of those too and wasted over 

linksys tends to be broadcom chipset

and will work as a wireless client with the ndiswrapper driver

http://ndiswrapper.sourceforge.net/
http://www.Linux-Wireless.org/Wireless/Drivers/

 Is there somewhere a clear summary of what works and how?

no ...

best up-2-date summary...
- check the device drivers and the supported cards/chipsets

http://www.Linux-Wireless.org/Wireless/Drivers/

c ya
alvin


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



Re: how do I get fullscreen mplayer - fun

2005-07-15 Thread Alvin Oga

hi ya vegard

On Fri, 15 Jul 2005, Vegard|drageV wrote:

  Commonly this problem is if you haven't glx enabled with direct
  rendering enabled:
 direct rendering is enabled, wonder why it won't work automaticly?

mybox# glxinfo |grep direct rendering
xx direct rendering: No

doesnt seem to be required to get full screen

  You should also investigate the -zoom option.
 I will try that, but not now since the next hint worked

mybox# mplayer -v
xx MPlayer 1.0pre7-3.3.4

mybox# mplayer  -zoom -fs baby.mpg
xx full screen with -zoom -fs worked for me
 
  You simply need to use xv as the video output.  Launch mplayer with
  -vo xv, or set it to xv in the preferences if you use the GUI.
 This helped.

mybox# mplayer  -vo xv -fs baby.mpg

xx It seems there is no Xvideo support for your video card available.
xx Run 'xvinfo' to verify its Xv support and read
xx DOCS/HTML/en/video.html#xv!

for completeness

mybox# mplayer -xo sdl -fs baby.mpg 
did whacky things to the movie.. oh well

 Thanks to all of you, you just saved a movienight!!! You are the best!!!

ditto



for those that is poking around for dynamically adding subtitles without
modifying the original *.mpg files

mybox# mplayer  -zoom -fs -sub baby.SubTitle.txt baby.mpg

http://linux-video.net/Samples/Mpeg1/
along with other sample mpeg movie trailers

for more fun ..
i will be playing with memencode ( someday soon, before end of
july-2005 ) to encode some movie trailors off of the dvd i bought

c ya
alvin
 


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



Re: epson R300 w/ cups - gimp-print

2005-07-13 Thread Alvin Oga


On Tue, 12 Jul 2005, Greg Madden wrote:

 On Monday 11 July 2005 12:19 am, Alvin Oga wrote:

  - next step .. to print fancy graphics directly onto the CDs
  ( guess what kind of CDs and it aint cd's w/ pics )
..
 I bought an Epson 300 some months ago to print labels on Debian 
 cd/dvd's. I had no problem using it with gimp-print/cups and printing 
 documents, using Debian testing versions. I was waiting for Sarge to 
 get released before figuring out how to do the label part. 

gimp-print is out for debian .. various sites carries various versions of
gimp-print and gutenprint in *.deb files


gimp-print-5.0.0-beta2 is out 
guntenprint-5.0.0-beta4 is out

what is the difference between gimp-print and gutenprint ??

i'm thinking i don't need gimp-print-xxx since i can print onto paper

--

i can already print to the epson r300 with lpr or gimp-2.2.3
or cups-1.1.23 ( port 631 ) or blah-blah-print-command

lpr -PEsonR300 /path/tiger.ps
( comes out very nice )

it'd probably look better if i used photo quality paper


there don't seem to be any option to tell the app to print
onto the CDROM tray instead of 8.5x11 paper, though it has all kinds
of other paper sizes .. if there was and it works, it'd be too simple

==
== what's the trick to getting cups/gimp to print onto the cdrom
==

c ya
alvin


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



Re: Grub problem

2005-07-12 Thread Alvin Oga

On Tue, 12 Jul 2005, Eugen Wintersberger wrote:

 (I'm not sure if this was the exact error message). If I do the 
 same installation procedure but install LILO the machine reboots as
 expected (means that the  bootloader works).

if lilo works ( boots properly ), than there is nothing wrong with
the hardware
- i assume you have a boot floppy or boot-cd in case
grub wipes out the working lilo MBR 

what is your /etc/grub.conf  and /boot/grub/menu.lst and
/boot/grub/devices.map

root#  grub-install /dev/hdaor whatever is your disk


- if grub doesn't work, download the latest CVS version for gnu.org

c ya
alvin


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



Re: RealPlayer 10 for Debian?

2005-07-12 Thread Alvin Oga


On Tue, 12 Jul 2005, Roberto C. Sanchez wrote:

 Personally, I prefer to install .deb packages.  However, there is no
 telling what sorts of post-install configuration RealPlayer needs.  That
 may or may not translate well into a .deb package.

their *.bin worked fine for me ... ( even on slack-10.1) but it doesnt
understand their standard welcome.ra files  :-)

you always lose data or files when xx is translated into yy format,
but that also depends on the hacker that made the translator

c ya
alvin


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



epson R300 w/ cups

2005-07-11 Thread Alvin Oga

hi ya

fyi... contrary to some (cups) howto's 

epson stylus photo R300 w/ cups-1.1.23 seems to work fine :-)

- it'd be my first printer to ever work w/ cups
after fiddling with its config files for 8hrs or so

- next step .. to print fancy graphics directly onto the CDs
( guess what kind of CDs and it aint cd's w/ pics )

c ya
alvin


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



Re: Browsers get stuck on some websites. - kill it

2005-07-11 Thread Alvin Oga


On Mon, 11 Jul 2005, [KS] wrote:

 I have been noticing some problems with web browsers last night. On a
 few websites the browser hangs while loading the page. Most of the time
 when Mozilla hangs, it shows in the status bar that it is waiting for
 some advertisement website. Konqureror tells that it is loading the last
 image of the page and hangs. Firefox shows similar behaviour. Example:
 http://www.theweathernetwork.com

konqueror (randomly) hangs all the time on some sites ... just kill it

==
== yeah.. them silly ads sucks... along with js and java from them
== advertisers
==

KONQ=konqueror|kghostview|kio_http|nspluginviewer|kcookiejar|konsole

for pid in ` ps axuw | egrep $KONQ | awk '{ print $2 }' `
do
  #
  echo kill -HUP $pid..
  kill -HUP $pid
  #
done


c ya
alvin


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



Re: grub splash image

2005-07-08 Thread Alvin Oga

hi ya [EMAIL PROTECTED]  ( sorry couldnt resist )

On Fri, 8 Jul 2005, [UTF-8] Ð∂äđ vÎяũŞ wrote:

 hello, i have a small problem, i am trying to add a splash image to my
 bootup, grub and the initial loading before xserver starts, everything
 i have read that refers to this sort of thing mentions a file called
 grub.conf but it appears that file is not on my system, the closest
 thing i can find that might be it would be menu.lst and i have tried
 adding in the line splashimage=(hd0,0)/boot/grub/myfile.xpm.gz but
 that seemed to have no effect whats so ever, is there something i am
 doing wrong? i have grub installed on the mbr, please help with this
 problem of mine.

to do splash screeen upon bootup, you will need:
- a kernel that supports splash screen ( like the debian/suse
  kernels or make your own w/ the kernel options turned on )
- the bitmap files for the splash screen

- make sure splash is enabled in its initrc scripts
( at least in some distro's )

- modify lilo.conf
bitmap = /boot/sarge.bmp
  bmp-table=...
  bmp-colors=...
  bmp-timer=...

- or modify /boot/grub/menu.lst

title Both-This-Kernel
   kernel (hd...) ... vmlinuz-2.6.x.y-with-spash

splash=silent will turn off splash

- do NOT get menu.lst confused with /etc/grub.conf 

- some distro's like to mix and match all the options
into one file ( a bad idea )

c ya
alvin



Re: Call for Mentor

2005-07-05 Thread Alvin Oga


On Tue, 5 Jul 2005, Jules Dubois wrote:
...

  But I think I need
  a mentor to introduce me to how things work and what my first reading
  list or RTFM should be.

good that you're willing to RTFM...
- for specific issues, i bet yahoo/google will have some pointers
and howto 

for reading .. i'd read HOWTOs before i read tooo much of the gory details
that might past too high over my itty bitty head

i'm more of a show me ... here's $100 bucks for an hour of your time for
when i want to dig into the haystack and dont wannah putz around in it ..

- there's probably local geeks in the city/town your in that
has debian or *nix meetings  and/or installfests

- learning new things is always fun .. but .. its a time tradeoff too
- eg. 5-minute problem should not turn into a 5-day reading list

- if you're local in silly-con-valley, there's a new group starting up
  for doing code hacking and probably will do packaging issues too
- part of svlug.org

- one thing on my long todo list in between lots of higher priority stuff:
- create my-custom-kernel.deb package  but unfortunately 
for me, i'm avoiding the RTFM and will one day look for 
google: how to create *.deb howto :-)

c ya
alvin


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



<    1   2   3   4   5   6   7   8   9   10   >