@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2



Comments:

<0> can anybody reason about whether the following two concepts are equal (or not) in security terms?
<0> lets say a p***word for a certain operation on a file is 10 letters long
<0> 1. use a p***word with the full 10 letters for the file
<0> 2. use the 4 first letters to denote the filename and the remainder as the p***word
<0> nb: the filename cannot be seen by bruteforcers, but must be "static" in the first case
<1> anyone running PostgreSQL + Apache Chroot'd + PHP5 + Drupal and accessing postgres via a unix domain socket that would care to share the syntax of their db_url$ = line from their settings.php in drupal ?
<2> webalizer is generally decent
<3> anyone around? I'm having some troubles compressing with tar
<4> what's the issue? without the -z flag, there is no compression, fyi
<3> I can't seem to find a flag to compress a directory and all the files in it
<3> got the -z flag
<4> ok, and?
<5> it does bzip as well
<4> cece - not openbsd native tar
<3> I want it to compress a directory holding files instead of just the files
<5> jb : ah, didn't notice that.



<6> tar cvf archivefile.tar file1 file2 subdir1 subdir2
<5> tar czvf foo.tar directory
<4> forgot the "z" in there, Madden
<3> no, not file1 file 2, I want dir1 where dir1 contains the files
<6> bah he knew what z does
<3> .
<3> ./dir instead of /dir/*.*
<4> n0cturn: tar is recursive. the compression is applies after the file is bundled
<3> jb, thats not what I'm asking, but I do understand
<3> I had that explained to me in #help
<4> you can do "tar cf foo.tar dir1"
<3> oh@! I see the problem! I didn't have an extension on the output file which has the same name as the dir
<3> thanks jb =)
<4> sure
<3> and also failed to notice it said write instead of read
<5> another victory for irc
<3> you put the extension in your example
<6> .tar?
<3> I didn't realize I forgot it
<5> i the bzip extension is nonstandard. i never noticed that
<5> 1 out of every 50 tarballs i dl are bzipped
<3> with -z do I put .tar.gz or just .tar?
<4> n0cturn: you could call it ".exe" and it'd still be a tarball
<4> the extention is just for convienence
<3> the output name (without ext) is the same as the input dir
<3> so it kept erroring
<4> i usually tar the stuff up, then apply compression via gzip or bzip
<3> heh, is bzip easy to compress with? I'm pretty tired and man pages don't seem to be tired friendly tonight
<5> is there a flag that I can p*** to scp to have it timeout if no connection is established after, say, 15 seconds?
<4> cece - look at the "-o" flag for ssh/scp/etc
<4> and read the man page for "ssh_config"
<4> n0cturn: similar command syntax to gzip
<5> ah, din't catch the reference to the ssh_config manpage.
<4> although, being gnu, it has 'long form'
<3> too late, I'm not up for more thinking like man pages require
<3> I just used -z
<4> man pages are the best thing about openbsd. it's not thought at all
<3> it is for me
<3> thanks for all the input guys =)
<7> hey, is there a way to find out the amount of traffic a nic card has transferred ?
<3> how do I check my drive for erros like scandisk does?
<3> crap, brb
<3> or not... anyways how?
<8> fsck.
<3> gonna give me a hint on how to use it or make me man?
<3> =)
<8> Don't run it on anything that is mounted, going to single user mode is the right thing to do.
<3> oh, and thanks too
<3> how do go to single user mode?
<8> Read the man pages for fsck and init ;-)
<3> too tired for that
<3> =\
<8> Basically, the best way to do it would be to reboot, type boot -s at the OpenBSD bootloader prompt and then do an fsck /dev/<devicename> for the devices you want to check.
<3> can I use man from single user mode?
<3> thank you VERY much for not making me read man right now
<3> I really appreceate that
<8> man pages will not work in single user mode.
<3> k
<8> Not all of them, at least.
<8> Anyways, a reboot will usually trigger an fsck automagically if there's anything wrong.



<3> much longer and I'll be out of your guys hair
<3> kubuntu installer got 8 hd errors
<3> than promptly halted
<3> will fsck repair by default?
<8> If that's the case...
<3> repair or mark
<8> You may want to run something which scans at a lower level.
<8> Your friendly harddisk manufacturer will have a tool for that someh
<8> ...
<8> somewhere on their support site.
<3> how do I find the brand?
<3> suppose I hafta pull it out
<8> Either that, or do a dmesg and drop the output on pastebin or something like that.
<3> wait the device name is wd0a would that make is a western digital?
<8> Nope, wd0a just means it's ATA rather than SCSI.
<3> crap
<8> If you can dump dmesg output to some sort of website, I'll tell you what you've got.
<3> yer gonna hate me, I'm totally noob when it comes to stuff like this
<8> You could also do a "dmesg | grep wd0" and paste the result here.
<3> how do I dump to a file so I can copy/paste?
<3> ok that'll work
<8> Just the line that looks like "wd0 at pciide0 channel 0 drive 0: <ST340016A>"
<3> it's a fujitsu
<8> Great, problem solved.
<3> yup yup
<8> http://www.fujitsu.com/us/services/computing/storage/hdd/support/utilities.html
<3> omw... slowly but surely
<8> Get the diagnostic tool, make the bootdisk and then run the comprehensive test.
<8> If that works out, the drive is physically sound.
<3> it had two dma timeouts... those are the only two errors I remember
<8> And then it's a matter of partitions and file systems.
<3> which tool?
<3> the diagnostic is dos only
<3> wonder if I could make a dos cd... I'm out of floppies
<8> It's a DOS bootdisk image, iirc.
<8> http://www.ultimatebootcd.com/
<3> maybe I have a floppy
<3> let me try the floppy first
<3> bbiaf
<7> hey, is there a way to find out the amount of traffic a nic has transferred ? i dont see it on ifconfig
<9> netstat -nib
<8> I'm off to see if I can finder a proper donut without getting on a plane headed for London.
<7> thanks Kralian
<10> a, we hit a snag... the scanner won't fit on the boot disk... oh, suppose I could delete some stuff
<10> I'm not a dos noob, I imagine I can pick the right things to delete
<10> all set
<3> bbiab
<10> I wanted to be in bed by now =\
<10> tuba?
<10> how do I force a check with fsck?
<11> man fsck
<10> from single user mode?
<11> man boot
<11> the man pages are online ;-)
<10> will boot tell me how to force a scan?
<10> ah
<11> no, it will tell you how to get into single-user mode
<10> I'm in single user mode
<11> then just run "fsck"
<10> the fs is clean, but I got errors when trying to install kybuntu so I wanna force a check
<11> man fsck
<10> would the drive being old cause a dma timeout error?
<10> do you know?
<9> dma timeout is some kind of hardware/software issue
<11> broken drive, bad cable
<9> not a fs problem
<11> not plugged in properly
<10> yeah, like a old 6gig drive?
<11> OS bug, but that is less likely
<11> do you get the errors constantly or does openbsd downgrade the DMA level and they stop>
<11> could also be broken/poorly supported IDE controller
<10> only while kubuntu was trying to install
<10> and only 2


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #openbsd
or
Go to some related logs:

#sendmail
khaosifix
www.prizrenichat.com
#mirc
#cph
gentoo xorg fints
#politics
#politics
jasymca math
leafs shots devils 2001 game 7



Home  |  disclaimer  |  contact  |  submit quotes