Re: A Vi (Vim) question

2005-05-09 Thread Deboo ^
On 5/9/05, Ritesh Raj Sarraf <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Deboo Geek wrote:
> 
> > On 5/8/05, Ritesh Raj Sarraf <[EMAIL PROTECTED]> wrote:
> >> -BEGIN PGP SIGNED MESSAGE-
> >> Hash: SHA1
> >>
> >> Deboo Geek wrote:
> >>
> >> > A small Vi question: How to move ahead/forward a line when in insert
> >> > mode. I always have to use the arrow keys to move forward, when in
> >> > insert mode. Is there any way to move ahead without shifting my right
> >> > hand from the alphabets to the arrow keys?
> >> >
> >> >
> >> > Deboo
> >>
> >> You can't do that in insert mode.
> >> Hit Escape, return to Normal mode and then use your H,J,K,L keys to move.
> >
> > I wish there was a way or some shortcut instead of extending the left
> > hand and hitting Escape. Thanks anyway.
> >
> > Deboo
> >
> 
> Then I'd suggest you not to use vi.
> The power of vi lies in "modes" which you aren't trying to explore or
> haven't yet explored.
> 
> Try it! Once you understand it you'll get addicted :-)
> 
> 
> rrs

It's not that I don't like modes, I needed a better way. I sure liked
using the Ctrl - [ key as a shortcut to Escape.  I like the Ctrl-O
better now and have become used to it when in insert mode. (by the
way, I just pressed Ctrl - [ in this email too, accidentally.

Regards,
Deboo

-- 
Please don't Cc: me, I'm subscribed to the list.



Re: Dydns service

2005-05-09 Thread Deboo ^
On 5/8/05, Pollywog <[EMAIL PROTECTED]> wrote:
> On Sunday 08 May 2005 11:45 am, Deboo Geek wrote:
> > Anyone knowing of a dydns.org kind of cheap service? I would like to
> > use my own domain yet a cheaper service, because I would need it only
> > for a few minutes everyday and not after that.
> 
> I use EasyDNS and I think $20 or so is cheap and I use my own domain.
> That does not include the domain registration, which you do not have to have
> with EasyDNS to use their dynamic DNS service.   You can do your updates with
> ddclient and also with some others.  My router does not support EasyDNS but
> ddclient can work with my router (a Linksys broadband router).
> 
> 8)


I have configured ddclient to update dyndns and when I type ddclient
-ip my.ip.add.ress, the address gets updated at dyndns in mintes but I
want to make ddclient do this automatically. I tried a number of
options but ddclient fails to get my (ppp0) ip. What option do I need
to make ddclient find my ip correctly and update dyndns? I can't find
my ip in syslog.

Regards,
Deboo

-- 
Please don't Cc: me, I'm subscribed to the list.



Re: About boot scripts and pppoe [was Dydns service]

2005-05-10 Thread Deboo ^
On 5/10/05, Almut Behrens <[EMAIL PROTECTED]> wrote:
> On Mon, May 09, 2005 at 11:53:57PM +0530, Deboo ^ wrote:
> >
> > I have configured ddclient to update dyndns and when I type ddclient
> > -ip my.ip.add.ress, the address gets updated at dyndns in mintes but I
> > want to make ddclient do this automatically. I tried a number of
> > options but ddclient fails to get my (ppp0) ip. What option do I need
> > to make ddclient find my ip correctly and update dyndns? I can't find
> > my ip in syslog.
> 
> We recently had a thread here on this (May 5th).  Look for
> "how to determine WAN IP address from behind a NAT router?"
> in the archives -- there were several suggestions...
> 
> ddclient itself offers a way to query your router's web status page
> and extract your current external IP from it.
> For example, I have this in my config (/etc/ddclient.conf):
> 
> fw-login=admin # router login
> fw-password=my-router-passw# and password
> use=fw # get IP from firewall (router)
> fw=192.168.1.1/doc/digisdn.sht
> fw-skip='WAN IP Address'
> 
> "192.168.1.1/doc/digisdn.sht" is the HTTP URL to the router's status
> page, and 'WAN IP Address' is the keyword after which the IP address is
> found in the HTML returned by the router.
> Of course, you'd have to figure out what those are in your case...
> 
> Almut

I figured this out (or RTFMed). It was simple: ddclient -use=if ppp0 .
That's all that was needed and I put this in a script that scarts ppp
at bootup (a script under /etc/rc.boot) The only thing now is that
most of the times, pppd hasn't yet got an IP from the router and
ddclient starts up. I have given a sleep time for ddclient as 3 mintes
but even this much is less and it fails when the ppp0 IP takes more
time.

Same thing happens with ipmasq which also is started along with
ddclient. Then lots of ipmasq junk comes on the screen and it's hard
to type a command or even login ( i need to keep pressing Ctrl - L).
Is there a solution to this? Previously it never used to take long to
get  the IP address. Is there a way I can make this proicess faster? I
use pppoe.

And is there  way I can execute the scripts that I have under
/etc/rc.boot? Like the scripts under /etc/rcx.d hev a number
associated with them and when they get executed?

Regards,
Deboo


-- 
Please don't Cc: me, I'm subscribed to the list.



Re: About boot scripts and pppoe [was Dydns service]

2005-05-10 Thread Deboo ^
On 5/10/05, H. S. <[EMAIL PROTECTED]> wrote:
> Apparently, _Deboo ^_, on 05/10/2005 01:06 PM,typed:
> 
> >
> > I figured this out (or RTFMed). It was simple: ddclient -use=if ppp0 .
> > That's all that was needed and I put this in a script that scarts ppp
> > at bootup (a script under /etc/rc.boot) The only thing now is that
> > most of the times, pppd hasn't yet got an IP from the router and
> > ddclient starts up. I have given a sleep time for ddclient as 3 mintes
> > but even this much is less and it fails when the ppp0 IP takes more
> > time.
> >
> > Same thing happens with ipmasq which also is started along with
> > ddclient. Then lots of ipmasq junk comes on the screen and it's hard
> > to type a command or even login ( i need to keep pressing Ctrl - L).
> > Is there a solution to this? Previously it never used to take long to
> > get  the IP address. Is there a way I can make this proicess faster? I
> > use pppoe.
> >
> > And is there  way I can execute the scripts that I have under
> > /etc/rc.boot? Like the scripts under /etc/rcx.d hev a number
> > associated with them and when they get executed?
> >
> > Regards,
> > Deboo
> >
> >
> 
> Shot in the dark:
> I haven't really looked at this, but isn't there a method of listing
> ppp0 in /etc/network/interfaces? I keep getting this message at bootup
> that this is the newer method but I could be completely wrong. Now, if
> that is possible, you could just put
> "up ddclient " or whatever the command you want to give
> so that it is executed after ppp0 comes up (I assume ppp0 has an IP by
> the time is comes up else it doesn't come up at all).


No, ppp0 comes up even without an IP and later gets an IP.


Deboo
-- 
Please don't Cc: me, I'm subscribed to the list.



Re: Firefox: Selected profile is already in use

2005-05-10 Thread Deboo ^
On 5/11/05, Lee Braiden <[EMAIL PROTECTED]> wrote:
> On Tuesday 10 May 2005 01:51, Bill Marcum wrote:
> > You might also try "killall firefox-bin".  I sometimes wonder, does
> > anybody really use profiles in Firefox?
> 
> Personally, I think profiles have no place in a webbrowser that runs within a
> user's own unix account.  But who am I to argue? ;)
> 
> --
> Lee.
> 
> Please send replies to the list, not to my email address.


I guess that since Bill thought "personally", he also sent the email
personally. ;-)
I do agree with him though.

Deboo
-- 
Please don't Cc: me, I'm subscribed to the list.



Please help: Accidentally wiped off the whole hard disk!!!

2005-05-13 Thread Deboo ^
I accideantally fdisked my linux hard disk  and deleted all
partitions, created one single solaris partition. I wanted to do this
on my second hard disk and thought I had connected the second one and
disconnected the first, but hadn't disconnected the first one really.

Now I am unable to boot. Booting from a knpix CD, when I check what
partition is on that hard disk, I see only one partition, a bf type
partition (which means solaris) but is unformatted. Here's the output:

[EMAIL PROTECTED] fdisk -l /dev/hda

Disk /dev/hda: 40.0 GB, 40060403712 bytes
16 heads, 63 sectors/track, 77622 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot  Start End  Blocks   Id  System
/dev/hda1   16253 3151480+  bf  Unknown


Since it's not yet formatted, I would think there must be a way to
recover all the data still. I could install this knoppix on the small
3 GB hdd and connecting the big hdd, try to recover. Is there a
program I can use to recover the data? Is it possible without using a
second 40 GB hard disk or it is not?

I have lots of data on it,  useful data and lots of linux things I
wouldn't like to lose. Can someone help?

Thnks and Regards,
Deboo



-- 
Please don't Cc: me, I'm subscribed to the list.



Re: Please help: Accidentally wiped off the whole hard disk!!!

2005-05-13 Thread Deboo ^
On 5/13/05, Glenn English <[EMAIL PROTECTED]> wrote:
> On Fri, 2005-05-13 at 13:32 -0400, Deboo ^ wrote:
> 
> > Since it's not yet formatted, I would think there must be a way to
> > recover all the data still.
> 
> I think that's right. If you know *exactly* the way the disk was
> partitioned before (and nothing has been written to it), you should be
> able to run fdisk and put the old partition back.

I think most probably I have the fdisk information written in to a
text file kept in my email server's storage space, but what do you
mean by "theoretically"?

 
> If something's been written, it (probably) scribbled over something. But
> the rest of the disk should be OK.

Well, what would have been written on to the disk other than the new
partition information and that is in the MBR. No formatting wsaa done.

> > Is there a
> > program I can use to recover the data? Is it possible without using a
> > second 40 GB hard disk or it is not?

I got small dos-based data recovery program from a friend but haven't
ever used it. It needs to be put it on to a floppy and boot the
system, then put a new hard disk and it recovers on to that disk.

> The only thing I know of is to simply put the partition table back the
> way it was. It's theoretically possible to dd the entire disk and get it
> back, but you'd need that data rly badly to even think about that.
> 
> Like I said, though, "The only thing I know of."
> 
> --
> Glenn English
> [EMAIL PROTECTED]
> GPG ID: D0D7FF20
> 
> 
> BodyID:12580499.2.n.logpart (stored separately)
> 
> 


Regards
-- 
Please don't Cc: me, I'm subscribed to the list.



Re: Please help: Accidentally wiped off the whole hard disk!!!

2005-05-14 Thread Deboo ^
On 5/13/05, Tony Godshall <[EMAIL PROTECTED]> wrote:
> According to Lee Braiden,
> > On Friday 13 May 2005 18:32, Deboo ^ wrote:
> > > Since it's not yet formatted, I would think there must be a way to
> > > recover all the data still. I could install this knoppix on the small
> > > 3 GB hdd and connecting the big hdd, try to recover. Is there a
> > > program I can use to recover the data?
> >
> > Yes, there is a program around for recovering partition tables.  I just 
> > don't
> > recall the name.  But wait for someone to point you to it.  In other words,
> > don't get impatient and break stuff before you get a good answer ;)
> 
> I used gpart once.
> 
> Your milage may vary.
> 
> Suggest you dd the whole drive to a backup file before you
> try anything.


Right now I do not have a backup drive to store so much but I do have
another smaller driver (the one on which I installed Solaris). I could
do a trial of whatever I wish to do on the drive in question, and then
do the real thing after this trial succeeds.

Btw, I got the file that has the partition information and it has the
exaxt figures from fdisk -l. I think I'm half-saved now. But I'll do a
trial of this on the smaller hdd anyway. If this fails, I won't go
ahead with fdisk on the drive in question.

One thing though. I had simply done a fdisk -l  >> partitions.txt and
that is the file I am going to use to reconstruct the partitions.
Would these be the exact figures? I haven't partitioned the drive
since the first time and I use grub so no lilo's backup.

I have heard bad reports from a friend about gpart, so don't know if I
should use it or not.


Thanks and Regards,
Deboo
-- 
Please don't Cc: me, I'm subscribed to the list.



Re: Please help: Accidentally wiped off the whole hard disk!!!

2005-05-14 Thread Deboo ^
On 5/13/05, Jeremy T. Bouse <[EMAIL PROTECTED]> wrote:
> Quite a pickle you've found yourself in, this is a good example
> for why not using root much is good. If at this time all you've done is
> repartition and save the partition table then the data *should* still be
> in tact on the drive. Experience with data forensics has taught me this.

Yes, but even if I had done a sudo, still I might have done the same
thing. My fault was that I became careless in using the write command
in fdisk. I shoould have double-checked.
 
> As someone else mentioned if you have the *exact* partition
> table configuration prior to this re-partitioning nitemare then you
> should be able to simply re-parition and set it back up. In order to do
> this you need to have the exact "Start" and "End" values for each
> partition. If these are off you could risk losing the data in the
> partition or that it may just not be available.
> 
> Let me put the disclaimer out there that partitioning is a
> destructive process by it's very nature. Just re-partitioning it as you
> already have done *may* lose data (again it may not), and attempting to
> correct it *may* lose data (again it may not). Just saying there is no
> guarantee in anything dealing with re-partitioning.

Someone mentioned that it's theoretically possible to reconstruct and
get all data back. How much is it practically possible and what are
the reasons for failure, provided I do it very methodically and have
the exact partition info? When does this "may lose data" come in to
picture? Please explain.
 
> Provided the Knoppix LiveCD has fdisk available, and provided
> you have the exact partition table information from before the failure
> you should be able to boot off the CD and correct the partition table.
> Again while running under the LiveCD you should be able to attempt
> mounting the partitions *ONE-BY-ONE* in *READ-ONLY* mode without running
> fsck to see if the data is still there. The read-only mode and not
> running fsck is to make sure that nothing is attempted to be written to
> the drive. If this all succeeds then reboot again under the LiveCD and
> test the partition data again to make sure it passes a "reboot test" and
> is still available before attempting to boot it up under it's own power.
> You may need to have a LILO or GRUB boot-floppy available if the MBR was
> modified so as to make it non-bootable.

Well, I have the exact partition info at hand (Now I have written it
down in my diary too so later it's handy just in case.) Okay I will
mount the partitions RO and one by one. Could you please clarify what
do you mean by a "reboot test". Just checking on the data is okay? Do
I still need to have a grub floppy even tho I never repartitioned this
after the first time?

  
> There is a risk of data loss, which comes with dealing with
> re-partitioning but if you have accurate records of the prior partition
> table and proceeed methodically and logically you can limit those risks.
> I do not advice doing anything mentioned if you do not feel confident in
> any of the steps necessary or the information you have on the partition
> table. If you have an extra machine you could test with that you aren't
> worried with the data, you could attempt it on there before trying it on
> the machine in question. I would try it myself here if I had such a
> machine, but unfortunately the only way I could do so would be through
> VMware which might not be entirely accurate.

Thanks Jeremy. I will attempt this first on a spare hard disk as
mentioned earlier. I'm installing this Knoppix on to it (save the
fdisk info) and then will fdisk it and make one solaris partition as I
did on the drive in question, and then try the recovery. Do I need to
have another machine for this?
 

Regards,
Deboo

-- 
Please don't Cc: me, I'm subscribed to the list.



Re: Please help: Accidentally wiped off the whole hard disk!!!

2005-05-14 Thread Deboo ^
On 5/13/05, Marty <[EMAIL PROTECTED]> wrote:
> Deboo ^ wrote:
> > I accideantally fdisked my linux hard disk  and deleted all
> > partitions, created one single solaris partition.
> 
> If you ever ran lilo on a root partition of the disk, then it probably saved
> a copy of the mbr in the /boot directory which can be manually restored with
> a disk editor (for example), although I'm not sure about the multiple disk
> scenario you describe, or about grub.

Does this mean that lilo is better than grub due to this feature? Is
there such an option configurable in grub?
 
> If all else fails, there are a number of ways to deduce and restore the 
> correct
> partition table entries, either manually via inspection of the disk contents,
> or using various automatic recovery tools, or even by trial and error.

I'll be interested to know these number of ways, if you could put
these in short, later.

Regards,
Deboo
-- 
Please don't Cc: me, I'm subscribed to the list.



Re: Please help: Accidentally wiped off the whole hard disk!!!

2005-05-14 Thread Deboo ^
On 5/13/05, Angelina Carlton <[EMAIL PROTECTED]> wrote:
> On Fri, May 13, 2005 at 02:32:16PM -0400, Marty wrote:
> > Deboo ^ wrote:
> > >I accideantally fdisked my linux hard disk  and deleted all
> > >partitions, created one single solaris partition.
> >
> > If you ever ran lilo on a root partition of the disk, then it probably saved
> > a copy of the mbr in the /boot directory which can be manually restored with
> > a disk editor (for example), although I'm not sure about the multiple disk
> > scenario you describe, or about grub.
> >
> > Furthermore this will only work if you did not repartition the drive after
> > running lilo, but even if you did, at least the root partition at that
> > time should still be recoverable assuming you didn't do anything fancy in
> > the meantime, like resize the root partition with parted.
> >
> > If all else fails, there are a number of ways to deduce and restore the
> > correct
> > partition table entries, either manually via inspection of the disk
> > contents,
> > or using various automatic recovery tools, or even by trial and error.
> >
> >
> 
> Just for those of us just following along, can I use fdisk to record
> the EXACT information on my currently working systems to a file, and
> be sure that file contained enough information to rebuild the
> partition table if ever needed? Is there a tool/command to do this?
> fdisk has quite a few options so I was courious about some
> preventative measures.
> 
> Deboo I REALLY hope you get this fixed btw.
> 
> --
> Angelina Carlton

Thanks Angelina and everyone else, for these good wishes. I hope to
get this recovered today. I postponed it to do it today, Sunday.
Anyway, as I mentioned earlier, I would say that it's better to jot
down the partition info in to your diary rather than just save on
disk. I was lucky to have saved this info before.

Regards,
Deboo
-- 
Please don't Cc: me, I'm subscribed to the list.



Strange: Linux boots off a deleted partition [Was Re: Please help: Accidentally wiped off the whole hard disk!!!]

2005-05-15 Thread Deboo ^
I did a trial on a smaller hard disk. Installed knoppix on it,
rebooted from the hdd to test it. Rebooted again from the Live CD and
(after taking down the Linux partition info) deleted the partitions
and created just one partition, and changed the type to bf (Solaris) 
-- the same thing which happened with the other hard disk.

Now I tried booting off the hard disk just to check and it booted
without problems. Strange because when I check with fdisk, this is
what I see:

[EMAIL PROTECTED]:~$ sudo fdisk -l /dev/hdc

Disk /dev/hdc: 3227 MB, 3227148288 bytes
255 heads, 63 sectors/track, 392 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot  Start End  Blocks   Id  System
   /dev/hdc1   1 392 3148708+  bf  Unknown


There was one Linx partition and a Swap partition which I deleted. 

Can someone explain this behavior? If this hard disk boots alright
then why doesn't the other hard drive boot when the same thing
(accidentally) happened to it?

Regards,
Deboo
-- 
Please don't Cc: me, I'm subscribed to the list.



Re: Strange: Linux boots off a deleted partition [Was Re: Please help: Accidentally wiped off the whole hard disk!!!]

2005-05-15 Thread Deboo ^
On 5/15/05, Marty <[EMAIL PROTECTED]> wrote:
> Deboo ^ wrote:
> > I did a trial on a smaller hard disk. Installed knoppix on it,
> > rebooted from the hdd to test it. Rebooted again from the Live CD and
> > (after taking down the Linux partition info) deleted the partitions
> > and created just one partition, and changed the type to bf (Solaris)
> > -- the same thing which happened with the other hard disk.
> >
> > Now I tried booting off the hard disk just to check and it booted
> > without problems. Strange because when I check with fdisk, this is
> > what I see:
> >
> > [EMAIL PROTECTED]:~$ sudo fdisk -l /dev/hdc
> >
> > Disk /dev/hdc: 3227 MB, 3227148288 bytes
> > 255 heads, 63 sectors/track, 392 cylinders
> > Units = cylinders of 16065 * 512 = 8225280 bytes
> >
> >Device Boot  Start End  Blocks   Id  System
> >/dev/hdc1   1 392 3148708+  bf  Unknown
> >
> >
> > There was one Linx partition and a Swap partition which I deleted.
> >
> > Can someone explain this behavior? If this hard disk boots alright
> > then why doesn't the other hard drive boot when the same thing
> > (accidentally) happened to it?
> >
> > Regards,
> > Deboo
> 
> The most obvious explanation is that the swap partition on your other
> drive started at the first cylinder, but life is usually not that simple.
> 
> Beyond that is guesswork, but in your first post you mentioned something
> about having two drives when you thought only one was installed.  You may
> still not understand some problem in your original coinfiguration, making
> adequate duplication of the original problem difficult at best.
> 
> It's not clear what you are trying to accomplish.  In another post you
> claim to have the necessary partition table parameters to fix your
> problem.
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Well, I just wanted to do a trial run of what I was to do on the drive
in question so I installed knoppix on this smaller drive, booted it to
test it is working, then booting off the knoppix CD again, I deleted
the partitions (the same thing that accidentally happened on the drive
in question). I created a single solaris partition and rebooted to
test the smaller hdd. But even after doing this twice, it still boots
without any problem and right now I'm accessng the list thru the hdd
knoppx install which should not work (theoretically).

There's no data to be worried about on this smaller drve but since on
this drive, even after repartitioning twice, it's booting without a
bit of any errors, I am not confident to proceed with setting the
original partitions on the drive in question (even when I have the
exact partition info). If I had a spare drive of a similar size or
more (40 GB), I would have backed it up with dd but since I do not
have, I tried this method and would have gone ahead with the 40GB
drive if this smaller drive hadn't created problems. It's "not
deleting" the partition is a worry ... an unpredictable thing which
doesn't assure me that I would get back my partions on the 40GB drive
if even if I put in the exact info.

I was already wared about such a thing and that's why I did this small
trial. But now I am stuck what to do to get the data back ... other
than by getting a newer hard drive ...which would be hard on the
pocket for me.

Regards,
Deboo

P.S.:  If you read the last few posts by me in that other post, you'll
know why I did this. Sorry if I have confused anyone.

-- 
Please don't Cc: me, I'm subscribed to the list.



Recommended Debian book?

2005-05-16 Thread Deboo ^
What is a good book on debian for and intermediate users?

Deboo
-- 
Please don't Cc: me, I'm subscribed to the list.



Re: Recommended Debian book?

2005-05-16 Thread Deboo ^
On 5/16/05, Roberto C. Sanchez <[EMAIL PROTECTED]> wrote:
> Deboo ^ wrote:
> > What is a good book on debian for and intermediate users?
> >
> > Deboo
> 
> Intermediate in what sense?  Intermediate software developer?
> Intermediate kernel hacker?  Intermediate DB guru?
> 
> -Roberto


Both, an intermediate linux user as well as for server administration

Deboo
-- 
Please don't Cc: me, I'm subscribed to the list.



Re: Recommended Debian book?

2005-05-16 Thread Deboo ^
On 5/16/05, s. keeling <[EMAIL PROTECTED]> wrote:
> Incoming from Deboo ^:
> > On 5/16/05, Roberto C. Sanchez <[EMAIL PROTECTED]> wrote:
> > > Deboo ^ wrote:
> > > > What is a good book on debian for and intermediate users?
> > >
> > > Intermediate in what sense?  Intermediate software developer?
> > > Intermediate kernel hacker?  Intermediate DB guru?
> >
> > Both, an intermediate linux user as well as for server administration
> 
> http://www.debian.org/doc/manuals/reference/reference.en.html

Wow! A very nice reference guide, is it not available as a single
file, Can it be printed?

Deboo

-- 
Please don't Cc: me, I'm subscribed to the list.



Re: Recommended Debian book?

2005-05-18 Thread Deboo ^
On 5/17/05, Kevin Mark <[EMAIL PROTECTED]> wrote:
> On Mon, May 16, 2005 at 11:29:32PM -0400, Roberto C. Sanchez wrote:
> > Deboo ^ wrote:
> > > On 5/16/05, s. keeling <[EMAIL PROTECTED]> wrote:
> > >
> > >>Incoming from Deboo ^:
> > >>
> > >>>On 5/16/05, Roberto C. Sanchez <[EMAIL PROTECTED]> wrote:
> > >>>
> > >>>>Deboo ^ wrote:
> > >>>>
> > >>>>>What is a good book on debian for and intermediate users?
> > >>>>
> > >>>>Intermediate in what sense?  Intermediate software developer?
> > >>>>Intermediate kernel hacker?  Intermediate DB guru?
> > >>>
> > >>>Both, an intermediate linux user as well as for server administration
> > >>
> > >>http://www.debian.org/doc/manuals/reference/reference.en.html
> > >
> > >
> > > Wow! A very nice reference guide, is it not available as a single
> > > file, Can it be printed?
> > >
> > > Deboo
> > >
> >
> > Do an 'aptitude install debian-reference' and then you can print
> > /usr/share/doc/Debian/reference/reference.en.pdf.gz
> Hi,
> when I first started getting into Debian, I got this printed and
> spiral-bound at my local Kinko's (us copy shop) as they can print
> pdf files for about 15 USD, YMMV. It was worth it to have a printed
> reference whenever I needed it.
> Cheers,
> Kev

Thanks everyone. I now have a very nice collection of debian books and
documents and have printed out some. I'll wait for the next edition of
debian linux bible.

A friend told me to chekout aboutdebian.com in the books section and
there are some good references there I saw. Debian linux bible is
mentioned there too.

Regards,
Deboo
-- 
Please don't Cc: me, I'm subscribed to the list.



Virii on linux

2005-05-18 Thread Deboo ^
I've heard people say that virii  have come in to linux too, nowadays.
What kind of virii are these and where can I get info about how to
secure system against them? Are these the windows virii that just
enter the gateways or specially written linux virii have come out? How
much harm can they do?

Regards,
Deboo

-- 
Please don't Cc: me, I'm subscribed to the list.



Re: Recommended Debian book?

2005-05-19 Thread Deboo ^
On 16 May 2005 23:45:04 -0400, Al Dykes <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>,
> Deboo ^  <[EMAIL PROTECTED]> wrote:
> >What is a good book on debian for and intermediate users?
> >
> >Deboo
> 

> I'm new to Debian and find _Linux Cookbook_ by Schroder (O'Rielly) very
> Deb-friendly, and very good in general.

I got this one and it really like it a lot. Though few topics are
which I already know but there are some very useful tips. I love a
linux book that is console-friendly. My next book would be Unix power
tools which I have ignored since long, thinking it's only for
Solaris/FreeBSD freaks.

Btw, is it alright for us to register on oreilly? Does anyone get
spammed after giving out their address at oreilly?

 
> ORA has another Linux Admin book that's copyright 2005 that I'm going
> to look at when I get a chance.

Are you speaking about the debian bible soon to be realeased or is
this something else?

Regards,
Deboo
-- 
Please don't Cc: me, I'm subscribed to the list.



html to pdf conversion

2005-05-23 Thread Deboo ^
Is there a html to pdf converter utility/script or any such thing
available for debian? I could not find using apt search.

Regards,
Deboo

-- 
Please don't Cc: me, I'm subscribed to the list.



Re: html to pdf conversion

2005-05-23 Thread Deboo ^
On 5/23/05, Glenn English <[EMAIL PROTECTED]> wrote:
> On Mon, 2005-05-23 at 14:59 -0400, Deboo ^ wrote:
> > Is there a html to pdf converter utility/script or any such thing
> > available for debian? I could not find using apt search.
> 
> Have you considered bringing up the file in a browser and "printing" it
> to a pdf file?


It's a many paged html file, aa tree like file actually, so it would
be hard to print it in pdf that way.

-- 
Please don't Cc: me, I'm subscribed to the list.



OT: Lost partitions on sata disks

2005-05-24 Thread Deboo ^
We have an Intel server board with 2 SATA hdds. Tho it had the other
OS, but suddenly both the hard disks won't boot (They were in SATA
Raid). After putting the Raid driver again, now the drives show up
with unallocated space. The partition info is gone. A few days ago,
booting using a debian CD, we were able to see the partitions as well
as mount them, but now they are gone.

We installed debian on a spare hard disk and also have a similar sized
SATA hard disk to backup anything. I tried some windoze tools fo rdata
recovery but they fail to recognize the partitions. Linux' testdisk is
able to show the ntfs partitions.

I am dumping one of the hdd partition on to the spare sata drive. But
after this, is it possible to recover them using testdisk or any other
such utility?

Regards,
Deboo

-- 
Please don't Cc: me, I'm subscribed to the list.



Unable to apt-get install gnome on Debian Woody

2004-01-01 Thread deboo
I get a lot of dependency problems reported by apt-get when I try to
install gnome-core or gnome-session. Can someone tell me what do I need to
do to make apt install gnome?


I'm attaching the apt-get install log file alongwith.

Regards,
DebooReading Package Lists...
Building Dependency Tree...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

Sorry, but the following packages have unmet dependencies:
  gnome-core: Depends: acme (>= 2.0) but it is not going to be installed
  Depends: gnome-control-center (>= 1:2.0.3) but it is not going to be 
installed
  Depends: eog (>= 1.1.0) but it is not going to be installed
  Depends: gnome-applets (>= 2.1.3-1) but it is not going to be installed
  Depends: gnome-panel (>= 2.1.90.1-1) but it is not going to be installed
  Depends: gnome-session (>= 2.1.90-1) but it is not going to be installed
  Depends: gnome-system-monitor but it is not going to be installed
  Depends: gnome-terminal (>= 2.1.0) but it is not going to be installed
  Depends: gnome-utils (>= 2.0.5) but it is not going to be installed
  Depends: nautilus (>= 2.1.91) but it is not going to be installed
  Depends: metacity but it is not going to be installed
  Depends: yelp but it is not going to be installed
  Depends: gnome-media (>= 2.1.0) but it is not going to be installed
  Depends: gedit (>= 2.0.5) but it is not going to be installed
  Depends: file-roller (>= 2.0.4) but it is not going to be installed
  Depends: gnome-themes (>= 2.2) but it is not going to be installed
  Depends: gnome-vfs-extras2 (>= 0.99.8) but it is not going to be 
installed
  Depends: gksu (>= 0.9.1) but it is not going to be installed.

E: Sorry, broken packages.


Kernel 2.6 and module-init-tools

2004-01-01 Thread Deboo
Debian Woody system, compiling 2.6 time and again keeps giving a "VFS:
Kernel Panic: Unable to mount root fs" error, however many times I
recompile. I do not have module init tools installed. Installing
module-init-tools says that it  conflicts with modutils ... the doc for
2.6 says that they can co-exist. Now what's happenning here? How do I
compile and install kernel 2.6? Is there any good resources/articles about
2.6 ? Has anyone been able to install it on woody?

Thanks,
Deboo


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



apt-get update error

2004-02-19 Thread Deboo
I'm using debian woody. After reading an article in LG on apt (Issue 86 -
Debian APT, part2), I wanted to try using some package from testing and I
did as per the artile, putting 2 new lines for testing and unstable in
sources.list. But after I apt-get update, at the end, I get this output:

Reading Package Lists... Error!
E: Dynamic MMap ran out of room
E: Dynamic MMap ran out of room
E: Error occured while processing magnus (NewVersion1)
E: Problem with MergeList
/var/lib/apt/lists/ftp.iitm.ac.in_debian_dists_stable_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.

I tried deleting this file and re-running apt-get update but still the
same. What am I doing wrong? The file seems to be fine if I open it with a
E: Error occured while processing magnus (NewVersion1)
E: Problem with MergeList
/var/lib/apt/lists/ftp.iitm.ac.in_debian_dists_stable_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.

I tried deleting this file and re-running apt-get update but still the
same. What am I doing wrong? The file seems to be fine if I open it with a
pager/editor.

Regards,
Deboo


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



Re: apt-get update error

2004-02-19 Thread Deboo




Wes Reneau wrote:
I've done this and mine worked, as I had the same problem once.

also you might just edit the lines in sources.list from stable to 
testing or unstable and comment out the security line with a # mark.

One thing to keep in mind youre gonna be mixing up your version with 
stable, testing and unstable and there is a reason they are seperated :-)

HTH


Ack! I did mess up already! Something went wrong and the testing version
of libncurses5 failed to install leaving the woody version removed. Now I
am not even able to login, I get some error like:
-bash: /lib/libc.so.6: version `GLIBC_2.3' not found (required by
/lib/libncurses.so.5)
when I login. Nor are most of the commands able to execute.

Thank God, I'm logged on with root as well as a user on 4 different
terminals including and one running my MUA! I had to use links browser to
open these mails for some reason still and none of the text browsers
would run, thank God again that I somewhere had compiled links static!
That's how I'm writing now

Well, what am I to do now? apt-get is also giving some errors about not
able to run /usr/bin/apt-listchanges ... failure running that script.

glibc is already installed I can see.

I better wouldn't have done this mess if I would have used somebackport
version of what I needed :/

Please help!

Regards,
Deboo
--
---
He does not suffer sorrow in sorrow,
who does not look for pleasure in pleasure.
---


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



Help! unable to login!

2004-02-19 Thread Deboo




Wes Reneau wrote:
I've done this and mine worked, as I had the same problem once.

also you might just edit the lines in sources.list from stable to 
testing or unstable and comment out the security line with a # mark.

One thing to keep in mind youre gonna be mixing up your version with 
stable, testing and unstable and there is a reason they are seperated :-)

HTH


Ack! I did mess up already! Something went wrong and the testing version
of libncurses5 failed to install leaving the woody version removed. Now I
am not even able to login, I get some error like:
-bash: /lib/libc.so.6: version `GLIBC_2.3' not found (required by
/lib/libncurses.so.5)
when I login. Nor are most of the commands able to execute.

Thank God, I'm logged on with root as well as a user on 4 different
terminals including and one running my MUA! I had to use links browser to
open these mails for some reason still and none of the text browsers
would run, thank God again that I somewhere had compiled links static!
That's how I'm writing now

Well, what am I to do now? apt-get is also giving some errors about not
able to run /usr/bin/apt-listchanges ... failure running that script.

glibc is already installed I can see.

I better wouldn't have done this mess if I would have used somebackport
version of what I needed :/

Please help!

Regards,
Deboo
--
---
He does not suffer sorrow in sorrow,
who does not look for pleasure in pleasure.
---


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



Help urgently needed before there's a blackout!

2004-02-19 Thread Deboo
I installed a package and along with it, libncurses5 of testing, which dd
not get installed but removed my woody libncurses5 and probably glibc too.
Now I am not able to run most commands nor able to even login. Would
someone be kind enough to tell me what can I do in this situation? Once I
logoff or reboot, I will be doomed ... and I have had a warning this could
happen automatic, since the lights here are fluctuation, meaning there
could be a blackout. So can someone please help?

I do not know what exact version of glibc is needed, I mean what package,
or I could fetch from packages.debian.org


This is what I get when I try to login:

-bash: /lib/libc.so.6: version `GLIBC_2.3' not found (required by
/lib/libncurses.so.5)


Please help!
Thanks a lot
Regards,
Deboo


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



Re: Re: Help urgently needed before there's a blackout!

2004-02-19 Thread Deboo


On Fri, 20 Feb 2004, Roberto Sanchez wrote:

 - Original message -
 From: "Roberto Sanchez" <[EMAIL PROTECTED]>
 To: [EMAIL PROTECTED]
 Date: Thu, 19 Feb 2004 15:40:46 -0500
 Subject: Re: Help urgently needed before there's a blackout!


 > I do not know what exact version of glibc is needed, I mean what package,
 > or I could fetch from packages.debian.org
 >
 >
 > This is what I get when I try to login:
 >
 > -bash: /lib/libc.so.6: version `GLIBC_2.3' not found (required by
 > /lib/libncurses.so.5)


> It should go something like this.
>
> 1. Boot KNOPPIX
> 2. Download the necessary .deb files from your favorite mirror
> 3. Open a shell
> 4. Execute these commands (assuming you replace libc and ncurses):
>
> $ su -
> # mount /mnt/hda1
> # dpkg -X *.deb /mnt/hda1
> # chroot /mnt/hda1/ /bin/bash
> # apt-get install --reinstall libc6/stable libncurses5/stable
>
> Please note that it is possible to this from your currently booted
> system, but it is even more dangerous that way.
>
> Consider it a hard lesson learned.


Thanks for the detailed advice! But I have more problems, using this
advice. I do have one knoppix lite and one mini knoppix's iso on tbhbis
hard disk *but* I can't burn them anyway on to a CD. I have a CD Drive
which ha gone bad and was to take it to a repair shop this weekend, so
booting thru knoppix wouldn't be an option for me I guess.

Other option I have is - I have another hard disk which I'm not currently
using which has Mandrake 8.2 on it.  Can I use it to boot, then chroot in
to this debian root and then ... well, I guess I can't use apt-get then,
isn't it?

It's got a working vmware on it tho, if I could use that for booting the
knoppix iso on this hard disk, then chrooting thru that knoppix in to this
debian root and doing things as you said above? Seems complex but I guess
I could give it a try? I'm not ready to reinstall.

Thanks for the help ... I survived a quick brownout a few minutes ago.
Regards,
Deboo


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



Kernel compile blues

2004-02-21 Thread Deboo
I'm using debian woody. Been compiling kernels since quite many years on
Slack, RH and Mandrake. It's very few times I have completely been
successful booting with the compiled kernel in debian (Have used sarge
too).

Past few days I have been sitting just compiling and re-compiling various
kernels, all except 2.4.18 have failed to boot. Some don't compile and
give errors, others mostly have a problem with initrd image anf get stuck
saying
VFS: Cannot open root device "" or 03:06
Kernel panic: VFS: Unable to mount root fs on 03:06


I've compiled morre than four 2.4.x kernels, one 2.6.0 and three 2.2.x
kernels, some with and without patches too, these last few days I've been
compiling. I'm not concluding anything but really wondering how people
really compile.

I do not know C or C++. I'm no programmer. Most of the time compiling
fails due to some error in some .c file which I cannot know how to do. At
other times, it's something else like modules. Yes, I've been able to do
monolithic kernels and able to boot without problems with them I would
say. But the modular ones, hardly 2 - 3 times.


I'll list the steps I use for compiling (what am I missing?)

1. Download kernel source from kernel.org or it's mirrors or apt-get it
from debian mirrors if apt-cache search shows the one I need.

2. Go to /usr/src/kernel-version after untaring the source.

3. If downloaded any patches, copy them in to this dir.

4. make menuconfig (If this is a re-compile of the same kernel I'm
currently using, then copy the it's .config to this dir)

5. make dep clean bzImage modules 2>&1 | tee make.log

6. Check make.log for errors.

7. If all ok, run make modules_install (Sometimes all is ok till step 6
but this one fails)

8.  If all ok, copy arch/i386/boot/bzImage to /boot/vmlinuz-2.x.x

9. Copy System.map to /boot/System.map-2.x.x

11. Make an initrd image: mkinitrd -r /dev/hdax -o initrd-2.x.x.img
/lib/modules/2.x.x

12. Copy this initrd image to /boot

13. Make changes to lilo and run /sbin/lilo or as in my case, make changes
to /boot/boot/grub/menu.lst

14. Reboot in to this new kernel

15. If able to boot in this kernel ok, then apply the patches and again
re-compile.


There's only one time I was successful in making initrd work in 2.4.18, in
others I just could not. What am I doing wrong? I'm nearly tired of
compiling but I can't do without linux and I have read the howtos and
other docs many times. Wierd for me.



--

Can someone, who causes pain to others,
experience real joy?



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



Problem with apt-get and gpm

2004-02-21 Thread Deboo
I was using screen, and in one of the session, apt-get installed rspfd
daemon. apt-get hun while trying to start this daemon. I couldn't do
anything except killing apt-get and screen. But after that I'm not able to
run apt-get anymore, I get this error:

E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily
unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is
another process using it?

What do I need to do to ake apt-get work again? apt-get -f install gives
the same message



Another problem is with gpm. It's a generic serial mouse. Works well under
X. On the console too it appears to be okay since I can mov eit around but
when copying and pasting, theres a problem. when I copy text, it is able
to paste it once. If the text goes over one line and if I drag the mouse
faster and say 2 - 3 lines get marked and copied, in this case it doesn't
paste anything. Now whatever I copy ... even if a single word, it doesn't
paste anything. Only after I restart gpm, does it paste. It paste the same
text which I copied but only after restarting gpm. And that too only once,
the next copying would again paste after a restart of gpm. What's thi
strange problem?



--
---
Can someone, who causes pain to others,
experience real joy?
---


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



Re: Kernel compile blues

2004-02-21 Thread Deboo
On Sat, 21 Feb 2004, Roberto Sanchez wrote:

> Kai Schindelka wrote:
> > Have a look at the packages build-essential and kernel-package.
> > The following works for me on a Debian stable:
> >
> > cd /usr/src/linux/
> > make menuconfig
> > make-kpkg clean
> > make-kpkg --revision  --append_to_version - \
> > kernel-image
> > cd ..
> >
> > After that, the image is installed with "dpkg -i ".
> >
>
> Also have a look at this excellent step-by-step HOWTO:
>
> http://newbiedoc.sourceforge.net/system/kernel-pkg.html


Thanks for this link and the info. Well, I had thought to use kpkg but I
should first be able to install and boot using the kernel compiled in the
generic way, isn't it? That's what has been happening. I'll do a
monolithic kernel now I guess. But I _need_ modular kernel for some things
I have, like cmpci sound card+modem driver and more. A patched one on
that.


--
---
Can someone, who causes pain to others,
experience real joy?
---


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



Re: Kernel compile blues

2004-02-21 Thread Deboo
On Sun, 22 Feb 2004, Kai Schindelka wrote:

> > VFS: Cannot open root device "" or 03:06
> > Kernel panic: VFS: Unable to mount root fs on 03:06
>
> Looks like the HA driver module the boot drive is attached to is missing
> in initrd. A misconfigured LILO may also be the cause.

HA driver module? What's that? mkinitrd doesn't give any error
while making initrd. And I use grub, not lilo. This is what I need
more info on - initrd. Anyway, is it good to compile 2.6 kernels
monolithic?


> I would recommend trying a pristine 2.4.25 Kernel from kernel.org first.
> Patches can always be applied later. Then rebuild. Center on booting an
> unmodified Kernel, then reconfigure, then patch. Better to start with
> the least complex option, I guess. Always keep working Kernel packages
> as a backup.

By unmodified, do you mean no changes to .config, and compiling
with the default options?


> For the same reason I'd start with a static Kernel. Apart from being
> more secure, it is easier to build. And disable everything you don't
> absolutely need to get the machine up and running. Bells and whistles
> can always be added later. Switch to modules when the static Kernel
> runs stable.

I do disable everything I don't need. But, I need to
compile win4lin support as well as cmpci sound+modem driver and in
it's readme, they clearly say to compile it as a module. Not
possible in a monolithic kernel. Or it could be plex86 if that
works. I've been able to compile the plex86 but didn't do anything
after that.


> > I do not know C or C++. I'm no programmer.
>
> You don't need to have to. Compiling a Kernel requires no programming
> skills. Albeit they may be helpful, though.

Problems arise when I get errors, and the errors are due to some
file syntax problem by the programmer or such. And if I don't have
net access, I get really stuck.

> Have a look at the packages build-essential and kernel-package.
> The following works for me on a Debian stable:
>
> After that, the image is installed with "dpkg -i ".

This is the "debian way" of installing kernels isn't it? I'd still
like to stick compiling kernels the generic way, except for
keeping my custom compiled kernels as debs for later.



--
---
Can someone, who causes pain to others,
experience real joy?
---


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



Re: Kernel compile blues

2004-02-21 Thread Deboo
On Sun, 22 Feb 2004, Jérémie Knuesel wrote:

> Try using kernel-package: I've compiled a lot of kernels without problem
> with it, just following the instructions on this page:
>
> http://newbiedoc.sourceforge.net/system/kernel-pkg.html
>
> Also, if you want to install a 2.6 kernel, make sure you have installed
> the module-init-tools package.
>
> Another site you may find helpful (never used but it seems comprehensive):
>
> http://www.osnews.com/story.php?news_id=2949


First of all I'm right now stuck with apt-get not ready to install
anything as per another post from me.

This is what I get:

E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily
unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is
another process using it?

Mind helping with this too? :)

Thanks a lot for the links above. Don't we need to compile a
kernel in the generic way before using kpkg?

Regards,
Deboo

--
---
Can someone, who causes pain to others,
experience real joy?
---


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



Postfix needs an FQDN?

2004-02-22 Thread Deboo
I have configured postfix with smarthost. When I send an email, it goes to
nowhere. Using the mail command I checked that postfix gives a warning
that the domain name is not set. If I set it, I get the following warning:

postdrop: warning: unable to look up public/pickup: No such file or
directory

What do I need to do for this?

Regards,
Deboo


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



Postfix again

2004-02-22 Thread Deboo
I was getting an error about having no FQDN set up so I setup a fake
domain which doesn't exist. Now I get another error when trying to send
mail to anothe user on this local computer, or even to some email address
on the net:

postdrop: warning: unable to look up public/pickup: No such file or
directory

I've configured postfix to relay mail to another smarthost. Do I really
need to have a dns server for postfix to work? Because a fake domain
lookup will always fail and postfix would never seem to work it seems,
like this.

How do I make postfix work now?

Regards,
Deboo


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



Shutdown and reboot doesn't unmount partitions

2004-02-22 Thread Deboo
At times while shutting down the system, I have seen that init doesn't
start the kill processes and the machine just reboots or turns off
suddenly, without unmounting the partitions which causes lots of troubles
the next time the machine boos. Just yesterday, this happened again and at
the next boot, fsck ran and most of the time after running fsck, I am
brought to a single user prompt and get some inconsistency error and it
says that I should manually run fsck. Now if there were such errors, then
why does it waste time running fsck automatically and wasting my time? Why
does this happen is beyond my reach. Can someone explain what to do?


My root partition is 10 GB. I used to make it small, a separate /var, /usr
and a big home partition. But quite sometime ago, many people on this list
suggested me to make just one big partition if I were to remain on the
safe side but now by experience, I guess it's better to have many small
partitions than one big root partition. Atleast it saves the time when
fscking.

Regards,
Deboo


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



Unidentified subject!

2004-02-22 Thread Deboo
I installed some ham radio programs and accidentally also installed the
rspf daemon. Now the next time I booted my machine, it would get
stuck/hung starting rspfd and whatever I do, I couldn't get to the login
prompt.

Pressing Ctrl-C when init started didn't help. So, I booted with an old
2.2 kernel I had on my grub menu list. It didn't have proc support and
failed to load lots of modules including this rspfd and I got a single
user root prompt, mounted the root partion readonly. I remounted it rw and
ran update-rc.d to remove rspfd but at next reboot it's again there and
hung the machine.

Running apt-get remogve --purge or dpkg -r didn't help either. They both
gave errors and said they can't remove rspfd. So, I listed the files rspfd
had installed with dpkg -L and remove each of them manually. There was
nothing else I could have done I think.

But now while running apt-get or dpkg, I always get the error about not
able to configure rspfd. It's irritating, tho doesn't cause any problems.
How do I get rid of this message eveytime I install anything?


Secondly, where would I get to read about the init process in debian? I
mean like the update-rc.d thing. Which is the file that debian uses to
start things at startup other than /etc/rc.boot? Like the rc.local file in
RH/Mandrake?

Regards,
Deboo


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



Mac address changing utility?

2004-02-22 Thread Deboo
Like the mac address of an ethernet card can be changed with ifconfig hw
ether xx:xx:xx:xx:xx:xx, is there some utility in windoze to do this? I'm
asking this here because if asked at a windoze ng, they might not even
know what I'm speaking of. I have to sometime use windows on my laptop and
need to access the net using the ip address of the desktop machine. If
someone knows of any such utility, I'd be grateful if he/she replies to
this message.

Regards,
Deboo


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



bdflush can't work with ext3

2004-02-22 Thread Deboo
I have converted my partitions to ext3 but I learnt the other day while
trying to use bdflush to make the hdd spin down, that it won't work with
ext3 partitions ecause ext3 partitions wrrite to disk every 5 seconds, the
journal get written I mean. Is there no way to make the hdd spin down with
ext3? If no, then is reiser or any other kind of journalled FS work with
bdflush? Or is there any other bdflush type utility to do this?

Regards,
Deboo


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



Need a shell or perl script

2004-02-22 Thread Deboo
Over the years, I have been using many email clients from windows to linux
and have been saving lots of old personal emails. I have many them in many
different formats as per the MUA. They are a lot.

Now, I could search for one or two email addresses whenever I need to,
having kept all these different mailboxes in one directory. Never having
made an addressbook, is what caused this problem. I would like to sort,
search and make a list of the email addresses. I know qute many of these
addresses have become invalid over the years and some friends' addresses
are more than one or two, but still a list would be nice. I know it can be
done with shell scripting and better with perl but I know neither. Not
that I do not want to learn, but I need help to get this list. Can anyone
help me out by giving the commands needed to do this? If they think this I
am asking for mass e-mail, then I could make a dir listing of the
mailboxes and send you the list so you know these are my friends and not
some spam thing I am asking.

Thanks and Regards,
Deboo


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



Cron problem?

2004-02-22 Thread Deboo
I use a small wav file which sounds like an old wallclock dong for
sounding the number of hours, using cron. When played manually, it
plays fine (I use the "play" utility toplay it from cron), but from cron,
the sound output is very distorted. Even if nothing else is running on the
system, it's distorted. It wasn't distorted when I had put it in cron.
After a few days this has happened but I can't figure out what makes the
sound distorted. Playing the same file manually doesn't make the sound
distorted. I have plenty of memory and running top I can see nothing much
is taking any cpu time. Wierd. What could it be?

Regards,
Deboo


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



Old hdd and cdrom errors at bootup

2004-02-22 Thread Deboo
I had 2 hard disks and one cd drive of which I remove one hard disk and
the cd drive (they were not there when I installed debian too, had
added them later). But now when booting, I get timeouts for them:

hda: SAMSUNG SV0401H, ATA DISK drive
hdc: IRQ probe failed (0xfff8)
hdc: IRQ probe failed (0xfff8)
hdc: no response (status = 0x0a), resetting drive
hdc: IRQ probe failed (0xfff8)
hdc: no response (status = 0x0a)
hdd: IRQ probe failed (0xfff8)
hdd: IRQ probe failed (0xfff8)
hdd: no response (status = 0x0a), resetting drive
hdd: IRQ probe failed (0xfff8)
hdd: no response (status = 0x0a)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14

I commented any lines in /etc/fstab about both of them but still I get
them. What is causing these errors? Why is debian trying to access them or
mount them at boot when they aren't there in fstab?


Regards,
Deboo


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



Re: Need a shell or perl script

2004-02-23 Thread Deboo
On Sun, 22 Feb 2004, Monique Y. Herman wrote:

> On 2004-02-22, Deboo penned:
> > but I know neither. Not that I do not want to learn, but I need help
> > to get this list. Can anyone help me out by giving the commands needed
> > to do this? If they think this I am asking for mass e-mail, then I
> > could make a dir listing of the mailboxes and send you the list so you
> > know these are my friends and not some spam thing I am asking.
> >
>
> You might look at /usr/share/doc/tmda/contrib/collectaddys
> from the tmda package.  It creates a list of email addresses from your
> existing mailboxes.  You'd have to hack it to add in aliases, though.

I'm using woody with backports and I don't have collectaddys under that
folder. I checked with packages.debian.org but couldn't find it in either
stable, testing or unstable. Can you tell me where to get this package? Or
is it a non-debian package?

Regards,
Deboo


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



apt-get errors with rspfd - unable to either install or uninstall

2004-04-13 Thread Deboo

I have really, really, really been frustrated to the point that if I
could just see the guy who made this rspf daemon package, I would just
shoot him off! *laff*

That said, I really need help as I have tried and tried everything I
could or is possible to remove this ghost from my system but neither
does it get uninstalled, nor does it properly get installed, and also
it doesn't let apt install any new packages till it's out of the way
which seems not possible right now ... been trying since weeks and have
also posted here twice without any help. Hope somone would be kind
enough to help this time atleast.

Well, a few weeks ago, I installed quite a few hamradio apps with
apt-get ... didn't know what rspf meant or did but installed it
thinking I could remove the ones later which I did not need. Along
others, one rspfd got installed ... and setting up the packages, rspf
daemon got started but it wouldn't really start, the terminal got
locked up saying "Starting RSPF Daemon ..." I had to kill it as well as
the tty.

Well, at next reboot, it tried to start at boot and I wouldn't get the
login prompt whatever I did. I tried booting in to differnt kernels and
in to single user mode but still the same thing. I had an old 2.2 kernel
which accidentally did not have the modules directory (I had removed it
for some reason). I was able to somehow boot in to single user mode
using this kernel and pressing Ctrl-C when init would start. I
remounted / as read-write and then removed the rspfd script from
/etc/init.d and rebooted. Got back the login prompt.

At next reboot, same thing happened, "Starting RSPF Daemon" Now where
from did this daemon come when I had removed the script from /etc/init.d
? Anyway, I again booted single user with the 2.2 kernel and removed the
script. Then once logged in, I tried to remove rspfd with apt-get, tried
to purge it with apt-get and dpkg but none would seem to work. I don't
remember the error right now but all three ways wouldn't work that time.
And deleting the init script, it would start again at next reboot so
there was *no* way I could uninstall this nasty daemon! The only way
left was to delete each of the files installed by rspfd. So I listed
what files were installed with dpkg -L and deleted each of them manally.
Cool, atleast I did not have this rspfd trouble after rebooting and was
able to login.

But now, whenever I ran apt-get to install or remove any package, I got
a pageful of errors regarding rspfd asking me to install it but then
unable to install it, gave the errors. As I said, every possible way of
trying to install or remove it failed, even purging failed.

Not only do I get a pageful of errors from apt-get trying to install
rspfd all the time, many of the packages I upgrade or install, do not
get installed - they get unpacked but do not get installed. Installing
some others, apt-get doesnt even unpack them, it gives the rspfd error
and exits. and then running apt-get a second time insttalls the package
I wanted. Wierd and frustrating!

Can someone tell me how do I get this *demon* of a thing out of my
system? When trying to remove it, apt says I should install it before
removing but it's not able to install it either.

The last thing I tried just now was using midnight commander, I
extracted the rspfd deb and copied the files manually in to the
respective directories but still nothing works.

Anyway, here's the output of the apt-get and dpkg commands:

[EMAIL PROTECTED]:~$ sudo apt-get install netrik
Password:

Reading Package Lists... 0%

Reading Package Lists... Done

Building Dependency Tree... 0%

Building Dependency Tree... Done

Sorry, netrik is already the newest version.
The following extra packages will be installed:
  rspfd
1 packages upgraded, 0 newly installed, 0 to remove and 
not upgraded.
19 packages not fully installed or removed.
Need to get 0B/30.9kB of archives. After unpacking 8192B will be used.
Do you want to continue? [Y/n] y


Reading changelogs... 100%
Reading changelogs... Done
(Reading database... 117330 files and directories currently installed.)
Preparing to replace rspfd 1.0-2 (using
.../archives/rspfd_1.1-1_i386.deb) ...
Stopping RSPF Routing Daemon: dpkg: warning - old pre-removal script
returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: error processing
/var/cache/apt/archives/rspfd_1.1-1_i386.deb (--unpack):

 there is no script in the new version of the package - giving up
Starting RSPF Routing Daemon: /var/lib/dpkg/info/rspfd.postinst:
line 11: 15035
 Killed  /etc/init.d/rspfd start
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 137
Errors were encountered while processing:
 /var/cache/apt/archives/rspfd_1.1-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
[EMAIL PROTECTED]:~$
[EMAIL PROTECTED]:~$
[EMAIL PROTECTED]:~$ sudo apt-get remove --purge rspfd

Reading Package Lists... 0%

Reading Package Lists... Done

HELP! apt-get errors with rspfd - unable to install/uninstall

2004-04-15 Thread Deboo
I'm re-sending this message again since I did not get any reply twice and
am really stuck up with apt-get and dpkg unable to do anything with rspfd.
Hope someone helps this time

I have tried and tried everything I could or is possible to remove this
"rspfd" ghost from my system but neither does it get uninstalled, nor does
it properly get installed, and also it doesn't let apt install any new
packages till it's out of the way which seems not possible right now ...
been trying since weeks and have also posted here twice without any help.
Hope somone would be kind enough to help this time atleast.

Well, a few weeks ago, I installed quite a few hamradio apps with
apt-get ... didn't know what rspf meant or did but installed it
thinking I could remove the ones later which I did not need. Along
others, one rspfd got installed ... and setting up the packages, rspf
daemon got started but it wouldn't really start, the terminal got
locked up saying "Starting RSPF Daemon ..." I had to kill it as well as
the tty.

Well, at next reboot, it tried to start at boot and I wouldn't get the
login prompt whatever I did. I tried booting in to differnt kernels and
in to single user mode but still the same thing. I had an old 2.2 kernel
which accidentally did not have the modules directory (I had removed it
for some reason). I was able to somehow boot in to single user mode
using this kernel and pressing Ctrl-C when init would start. I
remounted / as read-write and then removed the rspfd script from
/etc/init.d and rebooted. Got back the login prompt.

At next reboot, same thing happened, "Starting RSPF Daemon" Now where
from did this daemon come when I had removed the script from /etc/init.d
? Anyway, I again booted single user with the 2.2 kernel and removed the
script. Then once logged in, I tried to remove rspfd with apt-get, tried
to purge it with apt-get and dpkg but none would seem to work. I don't
remember the error right now but all three ways wouldn't work that time.
And deleting the init script, it would start again at next reboot so
there was *no* way I could uninstall this nasty daemon! The only way
left was to delete each of the files installed by rspfd. So I listed
what files were installed with dpkg -L and deleted each of them manally.
Cool, atleast I did not have this rspfd trouble after rebooting and was
able to login.

But now, whenever I ran apt-get to install or remove any package, I got
a pageful of errors regarding rspfd asking me to install it but then
unable to install it, gave the errors. As I said, every possible way of
trying to install or remove it failed, even purging failed.

Not only do I get a pageful of errors from apt-get trying to install
rspfd all the time, many of the packages I upgrade or install, do not
get installed - they get unpacked but do not get installed. Installing
some others, apt-get doesnt even unpack them, it gives the rspfd error
and exits. and then running apt-get a second time insttalls the package
I wanted. Wierd and frustrating!

Can someone tell me how do I get this *demon* of a thing out of my
system? When trying to remove it, apt says I should install it before
removing but it's not able to install it either.

The last thing I tried just now was using midnight commander, I
extracted the rspfd deb and copied the files manually in to the
respective directories but still nothing works.



Anyway, here's the output of the apt-get and dpkg commands:

[EMAIL PROTECTED]:~$ sudo apt-get install netrik
Password:

Reading Package Lists... 0%

Reading Package Lists... Done

Building Dependency Tree... 0%

Building Dependency Tree... Done

Sorry, netrik is already the newest version.
The following extra packages will be installed:
  rspfd
1 packages upgraded, 0 newly installed, 0 to remove and 
not upgraded.
19 packages not fully installed or removed.
Need to get 0B/30.9kB of archives. After unpacking 8192B will be used.
Do you want to continue? [Y/n] y


Reading changelogs... 100%
Reading changelogs... Done
(Reading database... 117330 files and directories currently installed.)
Preparing to replace rspfd 1.0-2 (using
.../archives/rspfd_1.1-1_i386.deb) ...
Stopping RSPF Routing Daemon: dpkg: warning - old pre-removal script
returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: error processing
/var/cache/apt/archives/rspfd_1.1-1_i386.deb (--unpack):

 there is no script in the new version of the package - giving up
Starting RSPF Routing Daemon: /var/lib/dpkg/info/rspfd.postinst:
line 11: 15035
 Killed  /etc/init.d/rspfd start
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 137
Errors were encountered while processing:
 /var/cache/apt/archives/rspfd_1.1-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
[EMAIL PROTECTED]:~$
[EMAIL PROTECTED]:~$
[EMAIL PROTECTED]:~$ sudo apt-get remove --purge rspfd

Reading Package Lists... 0%

Reading Package Lists... Done


Build

Answers needed for these Debian questions

2004-04-19 Thread Deboo
Hi List!
I have limited-time net connection and not very high speed one at
that. So, am putting all my questions in one or two messages and sending.
I hope this won't irritate others and also hope I'll get quite a few
replies when I check next, in 24 hours or so. Sorry for putting all these
in one message.


   What is the best way to backup on linux, with a 250M zip drive? I have
   tried many backup programs but I wish to have something semi-automatic
   kind of thing. I have used ibackup, bu (script), kbackup, floppybackup,
   and few others but am not satisfied with them. What I need is something
   that would regularly (thru cron or anacron or something else), compress
   the dir in to a zip file, optionally encrypt it, copy it on to a zip
   disk and then log on to a webdav or ftp server and transfer this file
   automatically there? What is the best way to have this kind of backup
   done?

   I'm subscribed to lots of mailing lists. I use mutt for email. Now
   using emacs, I use mutt within emacs since I use IMAP and find it hard
   to use gnus (which kinda behaves like pine, being news-oriented). I
   archive some mailing lists and have some mailboxes, going nearly over
   40MBs or more. Now loading mutt within emacs and loading such a big
   mailbox, loads okay but makes mutt slow under emacs. What is the best
   way to use such big mailboxes? I do not like to convert to maildirs,
   I'm using mbox format.

   How to set wget so that it can retrieve/download a list of files given
   to it, as soon as the ppp connection starts?

   How to set aptitude to download and install packages that were
   previously given, at start of a ppp connection?

   How to send offline email? I don't think there is any option to store
   more than one email offline under mutt, pine or any other console
   mail-reader. If there is such a mail-reader, plese let me know. I mean
   how to set postfix/exim4 so that it accepts email and stores them and
   as soon as a ppp connection is detected, it connects to a smarthost and
   sends off all the email?

   Similarly, is there an offline news sender program? I use slrn at the
   moment but am thinking of switching to leafnode, only problem is that I
   will send and get news a little late ... the next time I log on to the
   net, and that means waiting atleast for a day or more, if the net
   connection at my isp's side has some problems.

   What can be done if/when apt-get/aptitude/dpkg are unable to either
   install nor uninstall a package and that package is in broken state and
   unless that package is properly installed or removed, no other packages
   can be installed? This happened once and the author of the package
   replied me here on this list. But now it happened with a few other
   packages too. What can be done in this case? More than 4 packages are
   in broken state, not able to install nor removable, so what can I do
   with this state of apt? I *need* to install some other packages and I
   am *stuck*.


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



Backup Strategies for linux?

2004-04-25 Thread Deboo
   What is the best way to backup on linux, with a 250M zip drive? I
   have tried many backup programs but I wish to have something
   semi-automatic kind of thing. I have used ibackup, bu (script),
   kbackup, floppybackup, and few others but am not satisfied with
   them. What I need is something that would regularly (thru cron or
   anacron or something else), compress the dir in to a zip file,
   optionally encrypt it, copy it on to a zip disk and then log on to
   a webdav or ftp server and transfer this file automatically there?
   What is the best way to have this kind of backup done?

  What different backup strategies are there on linux and what is the
  best one? Is there some good website that discusses these? If someone
  can point me there, it would be great.

Regards,
Deboo


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



To mbox or not, that is the question! (fwd)

2004-04-25 Thread Deboo
   I'm subscribed to lots of mailing lists. I use mutt for email. Now
   using emacs, I use mutt within emacs since I use IMAP and find it
   hard to use gnus (which kinda behaves like pine, being
   news-oriented). I archive some mailing lists and have some
   mailboxes, going nearly over 40MBs or more. Now loading mutt within
   emacs and loading such a big mailbox, loads okay but makes mutt
   slow under emacs.

   What is the best way to use such big mailboxes? I
   do not like to convert to maildirs, I'm using mbox format. Though
   I heard that maildir is faster, isn't it harder to backup or carry
   around? Just a single mbox file is easy to carry if need be. But anyway,
   what's the best way to use large mailbixes?

Regards,
Deboo


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



wget and aptitude with ppp? (fwd)

2004-04-25 Thread Deboo
   How to set wget so that it can retrieve/download a list of files
   given to it, as soon as the ppp connection starts?

   How to set aptitude to download and install packages that were
   previously given, at start of a ppp connection?

Regards,
Deboo


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



offline email

2004-04-25 Thread Deboo
   How to send offline email? I don't think there is any option to
   store more than one email offline under mutt, pine or any other
   console mail-reader. If there is such a mail-reader, plese let me know.
   I mean how to set postfix/exim4 so that it accepts email and stores
   them and as soon as a ppp connection is detected, it connects to a
   smarthost and sends off all the email?

   Or is there a way to configure postfix/exim to just accept and queue
   the mail and sent all later when a ppp connection is made? How to go
   about it?

Regards,
Deboo


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



ifconfig eth0:1 up, says - Cannot assign requested address

2004-04-25 Thread Deboo

I am not able to set up ip aliasing on eth0.

Here's my eth0 configuration:

[EMAIL PROTECTED]:~/$ ifconfig eth0
eth0  Link encap:Ethernet  HWaddr 00:50:8D:2C:0F:87
  inet addr:172.16.16.22  Bcast:172.16.255.255
  Mask:255.255.0.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:1995806 errors:0 dropped:0 overruns:0 frame:1
  TX packets:76517 errors:0 dropped:0 overruns:0 carrier:0
  collisions:2293 txqueuelen:1000
  RX bytes:229267506 (218.6 MiB)  TX bytes:6883467 (6.5 MiB)
  Interrupt:9 Base address:0xdf00

[EMAIL PROTECTED]:~/$
[EMAIL PROTECTED]:~/$ ifconfig eth0:0
eth0:0Link encap:Ethernet  HWaddr 00:50:8D:2C:0F:87
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  Interrupt:9 Base address:0xdf00

[EMAIL PROTECTED]:~/$ sudo ifconfig eth0:0 up
SIOCSIFFLAGS: Cannot assign requested address

[EMAIL PROTECTED]:~/$ cat /etc/network/interfaces
auto lo eth0

iface lo inet loopback

iface eth0 inet static
address 172.16.16.22
netmask 255.255.0.0
broadcast 172.16.255.255
gateway 172.16.1.1

iface eth0:1 inet static
address 10.12.81.253
netmask 255.0.0.0
broadcast 10.255.255.255
gateway 10.12.81.1


   A few days ago when I had put this same configuration and was able to
   up eth0:1 successfully without any problem. Now with the same
   config, it's giving this error. Where's the problem?

   Second, if you see the output of ifconfig eth0 above, there ar 2293
   collisions. What are these? Whatever (available) IP address I
   change to, I keep getting these collisions.

Any help appreciated.

Regards,
Deboo


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



aptitude's rude behaviour with postfix

2004-04-25 Thread Deboo
   I've installed postfix, but whenever I run aptitude upgrade or install
   anythign using the interactive aptitude interface, aptitude removes
   postfix and installs exim. Instead of delting exim, what else can I
   do to stop this behaviour of aptitude?

   I always have to press _ on exim and + on postfix and yet again in
   front of me, aptitude marks postfix to be deleted. What to do?

Regards,
Deboo


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



Larger console fonts

2004-04-25 Thread Deboo
   How to get bigger console fonts? I've compiled the kernel with all
   console fonts available including the SUN8x12 and other one. It's
   too big for a 15 inch screen. Though it sure is nice for the eyes.

   Isn't there any other console font smaller than this SUN font and
   bigger than the normal consol font? I've got an ATI Rage Pro 128 card
   and have framebuffer support compiled in. Anyone using bigger console
   fonts, I'd like to listen to their experiences.

Regards,
Deboo


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



ping shell script

2004-04-25 Thread Deboo
   How to make a script which would ping the server every few minutes to
   check if it's up or down and also log this status as well as time
   of pinging and any error messages.

Regards,
Deboo


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



pocket knoppix?

2004-04-25 Thread Deboo
   Where to find pocket knoppix? I read it on the knoppix forum and
   one guy was making a knoppix mini CD for his personal use. Can I
   get more info on this or can I have the iso image of this pocket
   knoppix anywhere? I couldn't find any such distro or one which
   I could download. I tried searching on google and on lwn.net in
   the linux distributions section.

Regards,
Deboo


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



Re: wget and aptitude with ppp? (fwd)

2004-04-25 Thread Deboo
On Sun, 25 Apr 2004, John Hasler wrote:

> Deboo writes:
> > How to set wget so that it can retrieve/download a list of files given to
> > it, as soon as the ppp connection starts?
>
> Put a script containing a call to wget in /etc/ppp/ip-up.d.
>
> > How to set aptitude to download and install packages that were previously
> > given, at start of a ppp connection?
>
> Please clarify.  You can put an apt-get command in a script in
> /etc/ppp/ip-up.d, but it's not clear what you are trying to do.

Well, I have limited connection time to the net and so I kinda
found a way to just "queue" the packages I want to download later
when going online. I pass the package name to aptitude install and
when aptitude asks me to confirm, I press Ctrl-C. Now next time when
I go online, I just run aptitude -f install and it is ready to install
anything I previously queued in to it. I would like to do this
automatically when I go online. I guess what you suggest would
work in this case too. Now, just have to figure out what to be put
    in the script. I'm not good at scripting.

Regards,
Deboo


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



IMAP tunnel thru http proxy - possible?

2004-05-12 Thread Deboo
   I just have http access from office (thru a proxy gateway), and
   no outside POP/IMAP/SMTP access. Is it possible to somehow tunnel
   all the IMAP(S)/POP(S) requests thru the proxy? The proxy allows
   http/https and ftp only.

  Do point me where I can get more info about this or how to do this or
  some kind of howto or links to any such place.

Much appreciated.
Rgds,
Deboo


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



Regarding new kind of debian FAQ concerning this list

2007-02-26 Thread Deboo ^

Is there someone who has taken the pain to write an FAQ of problems/working
solutions from this list? If yes, please give me the link. If not, I think
there should be such an FAQ too, other than the debian faq. I can try and
contribute.

Regards,
Deboo

--
Please don't Cc: me, I'm subscribed to the list.


Debian Installation on a cybercafe PC

2007-02-26 Thread Deboo ^

Hello,
  I need to use linux when out of office. Is there a way to remove it
once I install Debian on to a PC with Windoze (2000/XP)? It should get
removed even from the OS menu. If that is possible, please explain how to go
about it.

Regards,
Deboo

--
Please don't Cc: me, I'm subscribed to the list.


Re: Debian Installation on a cybercafe PC

2007-02-26 Thread Deboo ^

Thanks for the reply Vibhav,
That worked :-)

Regards,
Deboo
P.S.: Pls use plain text for sending mails to lists. It's easier to
read and most ppl don't like html. :-)


On 2/26/07, Vibhav Sharma <[EMAIL PROTECTED]> wrote:

Deboo ^ wrote:
> Hello,
>I need to use linux when out of office. Is there a way to
> remove it once I install Debian on to a PC with Windoze (2000/XP)? It
> should get removed even from the OS menu. If that is possible, please
> explain how to go about it.
>
are you asking "Is there a way to completely remove a Debian
installation from a PC?" ?

Atleast that is what I'm able to understand so answering for that. If
the question is something else, could you clarify.

Anyway, 'yes' you can completely remove a debian installation from a PC.
(It's heresy to do so though ;))

You'll need to do 2 things

1. restore the windoze MBR.
there might be other ways but this is one of the type of my head for
the rest google :).
use a Windoze install disk to boot into rescue mode and run 'fixmbr'

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/bootcons_fixmbr.mspx?mfr=true

2. Delete the Linux partition
this I'm supposing you'd know howto as you managed to set up a dual
boot environment. Just use your favourite tool ..
"Partitionmagic(windoze)" / "Parted(*nix)".
or I might have missed some but again 'Google' for "partitioning
tools" will get you somewhere.

Hope that helps,
-Vibhav Sharma


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






--
Please don't Cc: me, I'm subscribed to the list.


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




Re: Regarding new kind of debian FAQ concerning this list

2007-02-26 Thread Deboo ^

Thanks Chris,
If I had some more time, I would make an FAQ, or atleast help in
searching the archives and making one. It'll be the best thing if some
of us could do this. But I'll surely contribute to the wiki. It's a
nice thing.

Regards,
Deboo


On 2/26/07, Chris Lale <[EMAIL PROTECTED]> wrote:

Deboo ^ wrote:
> Is there someone who has taken the pain to write an FAQ of
> problems/working solutions from this list? If yes, please give me the
> link. If not, I think there should be such an FAQ too, other than the
> debian faq. I can try and contribute.
>

Some have ended up at NewbieDOC: http://newbiedoc.berlios.de/. It's a
wiki, so you should find it easy to contribute anything you have in mind.


--
Chris.


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





--
Please don't Cc: me, I'm subscribed to the list.


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




Re: Debian Installation on a cybercafe PC

2007-02-26 Thread Deboo ^

Because I need to burn CDs at times and as far as I have knowledge,
Knoppix atleast won't let the CD out once booted.

Regards,
Deboo


--
Please don't Cc: me, I'm subscribed to the list.


On 2/26/07, Ron Johnson <[EMAIL PROTECTED]> wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/26/07 03:28, Deboo ^ wrote:
> Hello,
>   I need to use linux when out of office. Is there a way to remove it
> once I install Debian on to a PC with Windoze (2000/XP)? It should get
> removed even from the OS menu. If that is possible, please explain how
> to go about it.

Your subject mentions "cybercafe".

Instead of temporarily installing Debian on a cybercafe PC, why not
boot from a Live CD?


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF4vXfS9HxQb37XmcRAtx6AJ9SJYigeuGu/L3va7qdVoOm8XbKFwCdEB+I
S4Z/4jOFtxLB07z0e2s9m6A=
=HLPw
-END PGP SIGNATURE-


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





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




Re: Debian Installation on a cybercafe PC

2007-02-27 Thread Deboo ^

Well,
Firstly, the cybercafe guy knows me well and I installed and
configuerd a debian firewall for him so he's quite friendly with me
:-)

Secondly, I haven't yet seen a PC bogged up due to installing or
uninstalling Linux. Does that happen? And how many such cases exist?

Thanks again to the guys above who gave the Linux Puppy link and about
the usb stick Linux - which distro goes in to a USB stick?

Regards,
Deboo

--
Please don't Cc: me, I'm subscribed to the list.



On 2/27/07, Matthew K Poer <[EMAIL PROTECTED]> wrote:


I gotta tell you guys, I wouldn't install/alter an OS on a PC that
wasn't mine. You're asking for trouble if something goes wrong.

I'm not saying you couldn't do this and get away with it, but the
dreadful *what if* something went wrong and you couldn't restore
Windows? Would the shop hold you accountable? An uppity clerk who didn't
understand that Windows was still there, just couldn't accessed, might
get angry. It's probably the worst case scenerio, but why risk it?

Instead of fully installing Debian on the machine, why not just boot
Knoppix or (my fav.) DSL? It's quick, it doesn't touch Windows at all,
no one will every possibly know it was there once you reboot.
--
Matthew K Poer



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




Re: Debian Installation on a cybercafe PC

2007-02-28 Thread Deboo ^

Thanks for the concern and warning though. I didn't take it
negatively. Just that I haven't seen a Linux installation corrupting
the other OS.

The worst that could happen is what? Partitions getting deleted or is
there anything else more devasting and disastrous and unrecoverable?

Regards,
Deboo

--
Please don't Cc: me, I'm subscribed to the list.





Well if you have the trust and permission of the owner, go for it! I was
only concerned with the possibility of not being to fix the MBR, which
is what I meant by not being able to restore Windows. (note I am not
questioning your abilities, just being extra precautions).

As far as USB Drive that will boot into Linux, DSL (Demo-Sized
Linux/Damn Small Linux) is a Knoppix-Based LiveCD that is 50 megabytes
in size, and is thusly very lightweight and efficient. It can also be
put on a USB drive if a computer's BIOS support booting in that way.

--
Matthew K Poer



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




OT: Linux Interview Questions

2007-03-04 Thread Deboo ^

Hello,
I have some Sysadmin interviews coming up soon, so I thought
the best place to ask for some sample Linux questions would be this
mailing list.

Can some of you post some Linux questions in general and also about
Debian? May be with short answers but that's not necessary. If I can
get a big list of questions, I'll try to get answers and the more
confident I will be.

Please also post tricky and troubleshooting questions.

Regards,
Deboo


--
Please don't Cc: me, I'm subscribed to the list.


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




Re[2]: OT: Linux or Cisco

2007-04-04 Thread Deboo
Hello Dan,

Well i do like learning Perl, if that were made easy to understand ut
the 2 books I bought - The Perl cookbook ( a huge one) and another
one - Learning Perl. But both have hard to understand lang.

I am thinking of buying Perl CBTNuggets videos because I find
CBTNuggets easy to understand. If anyone can tell me a book that has easy
to understand language for non-English readers, I'd sure try it out.


Regards,
Deboo


Thursday, April 5, 2007, 12:09:08 AM, you wrote:

> On Wed, Apr 04, 2007 at 09:05:57AM +0530, CCNAStuff wrote:
>> I already get about 4 - 5 mails everyday for sysadmin/Linux/Solaris jobs. 
>> But most of these want a Solaris admin or want
>> me to know C/C++ or MySQL/PHP or Perl Scripting or Oracle which I do not 
>> know. Plain Linux Sysadmin jobs seem difficult to
>> be found!

> That's because a sysadmin who doesn't feel comfortable with Perl
> either (a) has another favorite language or (b) is very, very
> junior.

> In your case, it's (b). Learning Perl is not a bad thing to do.

> -dsr-




-- 
Best regards,
 Deboomailto:[EMAIL PROTECTED]


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



Problem mounting Ext2 CDs

2007-04-15 Thread Deboo ^

Hello,

I have a couple of CDs which were written on a Debian Sarge machine a
few months or an year ago.

I wish to access them and copy the reqd. data on another CDs but am
unable to do so. Is it possible somehow to access the ext2 partition
CDs on Windows?

I tried using some tools that read ext2 partitions in windows but they
can't recognize the CDs since windows doesn't recognize them.

I'm able to see the CDs fine when booting using the debian install cd
or dsl linux. But the problem is the PC isn't mine where I am so I
can't copy these to the hard disk as the hdd partitions are NTFS.

Please give a solution someone.

Regards,
Deboo

--
Please don't Cc: me, I'm subscribed to the list.


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




How to boot in to Etch if grub fails to load and deletes NTLDR?

2007-05-03 Thread Deboo ^

Hello,

I tried Etch netinstall and after rebooting, I do not get a grub menu.
Even XP seems to be gone even though I booted using knoppix and the
partition was alright, except the NTLDR was missing. So had to recover
using the XP CD.

I have tried thsi twice and still after the reboot of Etch netinstall,
the hard disk gives and OS not found type of message.

I do not know if there's a workaround and I would better like to know,
if I do nto install grub on the mbr.

If I install it on the root partition, how would I boot in to debian normally?
What do I need to do? I guess the netinstall CD can only give me a
basic shell and can not boot normally in to the installed basic debian
system.


Regards,
Deboo

--
Please don't Cc: me, I'm subscribed to the list.


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




Re: How to boot in to Etch if grub fails to load and deletes NTLDR?

2007-05-03 Thread Deboo ^

On 5/4/07, Greg Folkert <[EMAIL PROTECTED]> wrote:


Questions for you:

 1. Please describe you model and make of Motherboard, hard drive
controllers, video cards and if you are using 1 or more hard
drives.
 2. One the off chance, did you let the installer install grub on
the Master Boot Record or MBR? Or did you install it to the
"root" partition of the Debian Install?
 3. Are you using the released Debian "Etch" v4.0 stable (April 8th,
2007 release)? Or are you using older Debian Etch v4.0 testing?
Or are you using the newer Debian v4.x Lenny "testing"
installer?

And the netinstall requires you to grab the "rest of the packages" from
one of the Internet repositories. It will give you a basic "bootable"
system for you to finish the install from.

One last thing: Remember that Any version of Windows assumes it is the
ONLY Operating System on the machine. It will break upon anything of the
fantasy not being true... if it sees it.


Hi Greg,

Thanks for a quick response. Here's the info you asked for:

Motherboard: Intel D102 GGC2
Processor: Intel P-IV 3.2,
256 MB DDR2 RAM
VGA: Onboard ATI-Radeon
Hard Disk: Samsung 80GB IDE (only one).

Yep, the installed installed it to the MBR and not the root partition.

I'm using Debian "Etch" v4.0 stable (April 8th, 2007 release)

I'm aware of the netinstall needing to fetch more packages off the
net. In fact  was about to shoot another mail about the "how to
configure pppoe with the netinstall" but searched and got a thread
about it and got the answer.


Again, I am now more interested to know if there's a way to boot in to
the normal system without using a boot floppy of the begone days.

Is there an option I can make a "boot CD" like the boot floppy option
present in RedHat/Fedora systems towards the end of installation?


Regards,
Deboo

--
Please don't Cc: me, I'm subscribed to the list.


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




Re: How to boot in to Etch if grub fails to load and deletes NTLDR?

2007-05-04 Thread Deboo ^

On 5/4/07, Andrei Popescu <[EMAIL PROTECTED]> wrote:

On Fri, May 04, 2007 at 09:39:57AM +0530, Deboo ^ wrote:

> Is there an option I can make a "boot CD" like the boot floppy option
> present in RedHat/Fedora systems towards the end of installation?

You can use the netinst CD as a rescue disk. Just boot with option
'rescue' or 'rescuegui'.

Regards,
Andrei


Well I want a substitute for the "boot floppy" that used to boot the
system in the days gone by. Even a 1.44 MB floppy was able to boot a
normal debian system  I think I did it once on a potato 2.2 system
and it would happily boot off the floppy in to the normal debian and
even X worked well.

Is that not possible with the netinstall? Where's that boot floppy option now?

Regards,
deboo

--
Please don't Cc: me, I'm subscribed to the list.


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




Re: How to boot in to Etch if grub fails to load and deletes NTLDR?

2007-05-05 Thread Deboo ^

On 5/4/07, Hugo Vanwoerkom <[EMAIL PROTECTED]> wrote:

Andrew Sackville-West wrote:
> On Fri, May 04, 2007 at 04:46:27PM +0530, Deboo ^ wrote:
>> On 5/4/07, Andrei Popescu <[EMAIL PROTECTED]> wrote:
>>> On Fri, May 04, 2007 at 09:39:57AM +0530, Deboo ^ wrote:
>>>
>>>> Is there an option I can make a "boot CD" like the boot floppy option
>>>> present in RedHat/Fedora systems towards the end of installation?
>>> You can use the netinst CD as a rescue disk. Just boot with option
>>> 'rescue' or 'rescuegui'.
>>>
>>> Regards,
>>> Andrei
>> Well I want a substitute for the "boot floppy" that used to boot the
>> system in the days gone by. Even a 1.44 MB floppy was able to boot a
>> normal debian system  I think I did it once on a potato 2.2 system
>> and it would happily boot off the floppy in to the normal debian and
>> even X worked well.
>>
>> Is that not possible with the netinstall? Where's that boot floppy option
>> now?
>
> you can install grub on a floppy and use that.
>
>
> A

http://newbiedoc.berlios.de/wiki/How_to_create_a_Grub_disc_to_boot_a_Debian_GNU/Linux_system

2 works (creating a floppy), 3 does not work (creating a CD), at least
NFM. I can create it, but booting gets an error and I have to use the
commandline interface and enter all stanzas by hand. let us know if you
get that to work and how.



Well finally I got the problem. It was a silly one. After installing
Etch and rebooting, I get the message like No boot device detected. I
booted with knoppix and checked, probably grub messed up.

There wasn't any active partition set tho just before the installation
it was the windows partition. Installed grub using knoppix and made
the XP partition active. Now got the grub menu. All fine till here.

Thanks for the links. They have useful info. I do not have a floppy
dirve though. I'll try the CD option on to RW media.

See ya in the next thread about pppoe.

Regards,
Deboo

--
Please don't Cc: me, I'm subscribed to the list.


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




[Etch] pppoe problem - unable to ping or lookup

2007-05-05 Thread Deboo ^

Hello,

I just installed Etch using the netinstall CD. Also installed pppoe
using dpkg, from the CD packages manually. pppoe detects and makes the
connection. ifconfig shows the ppp0 details and the ip too.

But I'm unable to ping any remote servers. I am able to ping the ISP
gateway though. The connection is fine using windows. I even tried
with knoppix and it is the same with knoppix too. The only difference
I can see in debian's connection and knoppix's is the output of
"route -n"   Knoppix doesn't put any local (eth0) ip in the route
whereas debian does.

I don't know if there's anything else that is causing the problem or
if pppoeconf is outdated now and now working with my provider? I was
able to connect at times using knoppix and at other times this problem
occurs.

Unless I am able to connect, I can not install any packages. I'm left
with a minimal install of Etch. There's not even the nslookup, or host
commands, nor telnet. Atleast ssh exists so I tested with that.

What do I do?

Regards,
Deboo

--
Please don't Cc: me, I'm subscribed to the list.


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




Re: [Etch] pppoe problem - unable to ping or lookup

2007-05-05 Thread Deboo ^

Also note that I tried pinging remote ip addresses (like google.com's
and yahoo.com's) and was unable to get any response.

Regards,
Deboo

--
Please don't Cc: me, I'm subscribed to the list.


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




Re: [Etch] pppoe problem - unable to ping or lookup

2007-05-06 Thread Deboo ^

On 5/5/07, Andrew Sackville-West <[EMAIL PROTECTED]> wrote:

On Sat, May 05, 2007 at 05:12:25PM +0530, Deboo ^ wrote:
> Also note that I tried pinging remote ip addresses (like google.com's
> and yahoo.com's) and was unable to get any response.

is that by ip address or by name?



Well it should be clear from my mail below that  I pinged their ip
addresses, isn't it?

BTW,  I saw the problem. As soon as I connect, pppoeconf sets the
nameservers in /etc/resolv.conf ... after a few seconds or in a min
uet, those ip addresses vanish and get replaced by the ip 192.168.0.1.

I re ran the pppoeconf and gave it the option not to update my
resolv.conf but still this happened time and again.

Now I changed the mode of the /etc/resolv.conf to not writable by even
root and made it unmutable and still it's hapenning. Who is changing
the nameserver to 192.168.0.1 and how?

Regards,
Deboo


--
Please don't Cc: me, I'm subscribed to the list.


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




Re: [Etch] pppoe problem - unable to ping or lookup

2007-05-06 Thread Deboo ^

On 5/7/07, Andrew Sackville-West <[EMAIL PROTECTED]> wrote:

On Sun, May 06, 2007 at 07:11:34PM +0530, Deboo ^ wrote:
> On 5/5/07, Andrew Sackville-West <[EMAIL PROTECTED]> wrote:
> >On Sat, May 05, 2007 at 05:12:25PM +0530, Deboo ^ wrote:
> >> Also note that I tried pinging remote ip addresses (like google.com's
> >> and yahoo.com's) and was unable to get any response.
> >
> >is that by ip address or by name?
>
>
> Well it should be clear from my mail below that  I pinged their ip
> addresses, isn't it?

you mean above? Making an assumption about what people are doing can
lead you down the wrong road. I don't need to tell you how many people
would claim to be pinging ip addresses when they're not. :-P


Yep I meant that above line. Ip address means an "ip address" after
all not hostname.  And yes may be n00bs don't make a difference
between the two. I'm no expert at all but not a n00b atleast.


> BTW,  I saw the problem. As soon as I connect, pppoeconf sets the
> nameservers in /etc/resolv.conf ... after a few seconds or in a min
> uet, those ip addresses vanish and get replaced by the ip 192.168.0.1.

as someone else said, if you've got 'zeroconf' (i think, not
resolvconf) that could be part of the problem.


I don't have either.

dhcp is installed and I installed pump too since the dhcp client I saw
at times unable to get any ip at boot. At other times it got without
any error message.

Regards,
Deboo

--
Please don't Cc: me, I'm subscribed to the list.


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




Re: [Etch] pppoe problem - unable to ping or lookup

2007-05-07 Thread Deboo ^

On 5/7/07, Andrew Sackville-West <[EMAIL PROTECTED]> wrote:


> Yep I meant that above line. Ip address means an "ip address" after
> all not hostname.  And yes may be n00bs don't make a difference
> between the two. I'm no expert at all but not a n00b atleast.

not implying that you're a noob, just covering the bases. :)


I just meant I wan't a n00b, doesn't imply n00bs are some unearthly
creatures or are someone to look down upon - I was one too at a time
with debian and at that time this list and the people on irc helped
lot. Thanks to people like you who wish to help. :-)


> dhcp is installed and I installed pump too since the dhcp client I saw
> at times unable to get any ip at boot. At other times it got without
> any error message.

do are you running two dhcp clients? that could cause problems for
sure.


Nope, just installed pump but not running it on startup. Which one is
better of the two?

Regards,
Deboo

--
Please don't Cc: me, I'm subscribed to the list.


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




[OT] SWF to MP4 converter

2007-05-07 Thread Deboo ^

I would like to convert some swf video files to either xvid or mpeg4
avi. Is there any converter available for this in debian? Or even a
non-deb file? Windows versions for one, ask $$ and then need to play
and capture each file to record and convert. Too much time consuming.


Regards,
Deboo

--
Please don't Cc: me, I'm subscribed to the list.


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




francine: unable to login

2007-05-07 Thread Deboo ^

There comes a neat little proggie since I think Sarge called francine
which is a console login program or wrapper displaying a nice debian
logo and prompt for login and password like.

I was overwhelmed when I discovered it thinking it will be so nice to
show it to my friends, then. Running normally, the program accepts the
user and password and logs you in. But if run thru inittab using
rungetty (as is suggested in the man page), whatever username I login
as, it tells me to go away. The usual failed message that it gives if
you just hit enter without a user/pass.

It had this behaviour since the first time I discovered it and it's
been like more than 2 years now. May be even 4.

I don't know if the problem is with francine or with rungetty but if
either has the problem, they shouldn't be included in stable then,
isn't it?

Any solution to the above problem anyone

Regards,
Deboo


--
Please don't Cc: me, I'm subscribed to the list.


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




Re: francine: unable to login

2007-05-07 Thread Deboo ^

On 5/8/07, Andrew Sackville-West <[EMAIL PROTECTED]> wrote:

On Tue, May 08, 2007 at 08:19:15AM +0530, Deboo ^ wrote:
> There comes a neat little proggie since I think Sarge called francine
> which is a console login program or wrapper displaying a nice debian
> logo and prompt for login and password like.

cool!


[message truncated]


only if its a bug and someone reports it ;). Have you checked the bug
reports for it?

hmmm... looked pretty lightly maintained, if at all. upstream
(sourceforge) looks dead and its parent, fancylogin doesn't look much
better. That said, it may be that there's nothing more to be done with
it...


Well if I could do something, I would try to maintin it but I only
know shell and perl. How do I know what that package is written in?
Should be C isn't it?

And well, can someone give me the link to the list of pages which
require documentation. I wish to try to help there.

Regards,
Deboo


--
Please don't Cc: me, I'm subscribed to the list.


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




Re: [OT] SWF to MP4 converter

2007-05-09 Thread Deboo ^

On 5/9/07, Carl Fink <[EMAIL PROTECTED]> wrote:

On Wed, May 09, 2007 at 09:47:31AM -0700, Michael M. wrote:

[big snip]

> ffmpeg -i goodvideo.flv goodvideo.avi.
>
> You can tell clive to download and convert in one go, but since I really
> only convert maybe 10% (if that), I haven't bothered.

You could of course just play the FLV files in mplayer or another player
that uses libavcodec.
--
Carl Fink   [EMAIL PROTECTED]



The problem is nto flv but swf format. TO convert to flv or any other
format in that matter, requires capturing of audio and video w hich
takes lot of time and effort for each of the movies and then if I move
away from the puter, the softwares keep capturing blank frames once
the movie has ended. Bad thing!

Is there any solution to this? I installed the mencoder and it has a
huge man page with loads of options. Don't know if it can convert or
not though. SWF to any video format is fine. Next step I could convert
them all in to mp4.

Regards,
Deboo

--
Please don't Cc: me, I'm subscribed to the list.


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




strange "?" characters all over the screen in aptitude, mc and other ncurses programs

2007-05-10 Thread Deboo ^

Using Debian Etch stable version without X. Everything works fine
since installed a few days ago except that  in aptitude or midnight
commander or even dpkg-reconfigure screens, I get lots of question
marks displayed with reverse video. What do I need so ncurses displays
these correctly?

I guess this has to do somethign with either whiptail or readline?

Regards,
Deboo

--
Please don't Cc: me, I'm subscribed to the list.


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




Re: [OT] SWF to MP4 converter

2007-05-11 Thread Deboo ^

On 5/8/07, Andrew Sackville-West <[EMAIL PROTECTED]> wrote:

On Tue, May 08, 2007 at 08:05:06AM +0530, Deboo ^ wrote:
> I would like to convert some swf video files to either xvid or mpeg4
> avi. Is there any converter available for this in debian? Or even a
> non-deb file? Windows versions for one, ask $$ and then need to play
> and capture each file to record and convert. Too much time consuming.

not at my machine to research it, but can you play them with mplayer?
if so then mencoder will transcode it. in fact, again without checking
it out, if you can play it with just about any cli player, then you
can probably capture and encode it with mencoder. sorry I'm not more
specific.



mplayer and mencoder aren't able to play the swf, they say the format
is not supported.  I have w32coders installed.

Regards,
Deboo

--
Please don't Cc: me, I'm subscribed to the list.


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




Re: How do yo u install minimal X with fluxbox on Etch?

2007-05-11 Thread Deboo ^

On 5/11/07, Kevin Mark <[EMAIL PROTECTED]> wrote:

On Fri, May 11, 2007 at 02:42:31PM +0530, Deboo ^ wrote:
> Even though I do not need to install X on my new Etch console system,
> I would like to know how do you install X, is there some new way.
>
> How to install a minimal X so that if I need to run some remove X
> apps, I can, with ssh.
>
> Regards,
> Deboo
Debian has an X metapackage called 'xorg'
'apt-cache show xorg' will show all the dependencies for xorg.
'apt-get install xorg' will install it.
But you may want to investigate some non-X framebuffer apps like fbxine.
It will display movies like xine but without X using a framebuffer.
There are other fb programs.


And how much space does a minimal xorg take?

Regards,
Deboo

--
Please don't Cc: me, I'm subscribed to the list.


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




How do yo u install minimal X with fluxbox on Etch?

2007-05-11 Thread Deboo ^

Even though I do not need to install X on my new Etch console system,
I would like to know how do you install X, is there some new way.

How to install a minimal X so that if I need to run some remove X
apps, I can, with ssh.

Regards,
Deboo

--
Please don't Cc: me, I'm subscribed to the list.


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




Best Debian packages

2007-05-11 Thread Deboo ^

Is there a list of best (most used) packages in debian?

Another list of all console packages in debian?

I see Etch has 21 CDs ... how many have the source and how many have packages?


Regards,
Deboo

--
Please don't Cc: me, I'm subscribed to the list.


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




Re: How do yo u install minimal X with fluxbox on Etch?

2007-05-11 Thread Deboo ^

On 5/11/07, Douglas Allan Tutty <[EMAIL PROTECTED]> wrote:

On Fri, May 11, 2007 at 02:56:41PM +0530, Deboo ^ wrote:
> On 5/11/07, Kevin Mark <[EMAIL PROTECTED]> wrote:
> >On Fri, May 11, 2007 at 02:42:31PM +0530, Deboo ^ wrote:
> >> Even though I do not need to install X on my new Etch console system,
> >> I would like to know how do you install X, is there some new way.
> >>
> >> How to install a minimal X so that if I need to run some remove X
> >> apps, I can, with ssh.
> >>
> >> Regards,
> >> Deboo



As always, YMMV, but this list has worked well for me.  Before this box,
I did the same with Sarge on a 486 with 32 MB ram, the only difference
was icewm instead of xfce and no links2.

Good luck.

Doug.

---
list of installed packages:


 anacron, apt-doc, apt-howto-en, apt-utils, aptitude, aptitude-doc-en,
 bwm-ng, bzip2, ca-certificates, console-common, console-terminus, cron,
 dbus-1-utils, debian-policy, debian-reference-en, discover, dmsetup,
 dnsmasq, doc-linux-html, doc-linux-nonfree-html, dosfstools, dselect,
 ed, eject, exim4, exim4-base, fdutils, grub, grub-doc, hwb, iptables,
 jfsutils, less, libc6-i686, libgl1-mesa-dri, libglu1-mesa,
 libpam-tmpdir, libpam-umask, links2, locales, logrotate, lpr, lrzsz,
 lvm2, lynx, mailx, man-db, manpages, mc, mdetect, members, menu,
 mgetty-docs, mime-support, minicom, modconf, mtools, mutt, nano,
 netbase, netcat, ntp, openssh-client, openssh-server, pax, pciutils,
 pdmenu, pinfo, ppp, pppconfig, psmisc, python, resolvconf, rsync,
 setserial, shorewall, shorewall-doc, sysadmin-guide, sysklogd,
 traceroute, usbutils, vim, vlock, wget, wipe, x-ttcidfont-conf,
 xbase-clients, xfce4-panel, xfce4-session, xfce4-terminal, xfce4-utils,
 xfdesktop4, xfonts-100dpi, xfonts-base, xfonts-scalable, xfwm4,
 xresprobe, xserver-xorg-video-trident



Thanks for the great list. I also looked at DSL. Very nice progs come
in the 50 MB plus I downloaded some utils needed for maintenance to
put in mydsl extension but the 3.2 and 3.3 both fail to burn the
remaster. The remaster boots in a minimal shell.

If that becomes successful, then I would put the above list and some
more that I have from my old sarge testing time, all console utils
using apt-get I have in the mydsl.

Regards,
Deboo

--
Please don't Cc: me, I'm subscribed to the list.


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




Re: Best Debian packages

2007-05-11 Thread Deboo ^

On 5/12/07, Kevin Mark <[EMAIL PROTECTED]> wrote:

On Fri, May 11, 2007 at 07:10:36AM -0400, Michael Pobega wrote:
> On Fri, May 11, 2007 at 04:15:45PM +0530, Deboo ^ wrote:
> > Is there a list of best (most used) packages in debian?
> >
> > Another list of all console packages in debian?
> >
> > I see Etch has 21 CDs ... how many have the source and how many have
> > packages?
> >
>
> The packages on the CDs are usually in order of their popularity; The
> most used packages being on CD1, second most used on CD2, etc. The whole
> reason for popcon (Popularity Contest) is to decide what packages will
> go on what CDs.
>
> So the most used/popular packages are on CD/DVD 1 of a Debian CD/DVD
> set.
>
If you examine the jigdo images of the cds, it will say what is on the
cds. From my guess, the first few cds would contain the most popular
server and desktop software like xorg, gnome, kde, bash, some games. And
the least of the 16,000 packages would be those in specialized area like
biology, physics, electronics. There is also the new debtags feature to
better catagorized the packages. But if you ask here, we can usually
give you good software recommendation for solving problems
[crowdsurfing in web2.0 lingo].



How do you list all the available packaes with apt-get?

And all the packages for the console?


Regards,
Deboo


--
Please don't Cc: me, I'm subscribed to the list.


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




Re: Best Debian packages

2007-05-12 Thread Deboo ^

On 5/12/07, Andrei Popescu <[EMAIL PROTECTED]> wrote:

On Sat, May 12, 2007 at 07:32:36AM +0530, Deboo ^ wrote:

> How do you list all the available packaes with apt-get?

aptitude in interactive mode has several ways of listing packages.

> And all the packages for the console?

Views -> New Debtags Browser go to 'interface - commandline' . But you
need to install debtags first.


I'll try that, have never done that before. BTW, somehow the reverse
video "?" marks from aptitude are gone away without me doing anything.
but some codes stil remain in the links browser. I tried many terminal
options but still.


I like aptitude and have it installed too but it doesn't show packages
which apt-cache search readily does and shows longer lists than
aptitude at times.

Another problem is, due to my using apt. ( I like aptitude's search
feature's telling if the package is already installed or not with the
"i"). If I run aptitude to install something, it is ready to remove
packages that I use daily, like mutt and slrn. So I do not use it. I
was told not to use both, even years ago.

Regards,
Deboo

--
Please don't Cc: me, I'm subscribed to the list.


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




[OT] Working news server

2007-05-13 Thread Deboo ^

I was lookign for a free working news server access but unable to find
one which allows to post, tho there are several that exist but
nowadays it seems none allow to post.

I used to use slrn to read news and hadn't used it in quite a whilte.
Does anyone know any news server which has a decent number of ngs and
also allows posting
and is free to use? Searching newsbot reveals either unknown or no
posting allowed.

Regards,
Deboo

--
Please don't Cc: me, I'm subscribed to the list.


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




Re: Best Debian packages

2007-05-13 Thread Deboo ^

On 5/13/07, Daniel Burrows <[EMAIL PROTECTED]> wrote:

On Sun, May 13, 2007 at 03:02:20AM +, Tyler Smith



  Older versions of aptitude occasionally got confused about what was and
wasn't automatically installed if you used other tools.  It shouldn't
happen with an up-to-date aptitude as far as I know [0], but if it does, you
an easily fix this by just cancelling all the removals (e.g. with "keep-all"
or pressing ":" on the group of autoremoved packages).


Thanks, that worked but can/will I need to do it again and again?

Regards,
Deboo


--
Please don't Cc: me, I'm subscribed to the list.


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




Re: Advise on backing up files in Etch.

2007-05-14 Thread Deboo ^

On 5/14/07, Roberto C. Sánchez <[EMAIL PROTECTED]> wrote:

On Sun, May 13, 2007 at 06:44:26PM -0600, Wesley J. Landaker wrote:
>
> I'd suggest considering rdiff-backup instead. It results in a plain
> unencrypted and uncompressed tree, exactly like rsync, but in addition,
> does real incremental backups. The increments themselves are binary diffs
> and are compressed. It's much nicer than plain rsync with snapshots.
>
Good point.  What I like about the rsync snapshots is that I can
"browse" back in time.  In my case, I always have hourly snapshots going
back four hours, daily snapshots going back four days and weekly
snapshots going back four weeks.  That works out rather nicely in that
it is trivial for me to compare files across snapshots.



Though I have never tried rsync, I can tell what I use and it is very
simple and straightforward. I use a simple shell script to backup the
files in my home dir to the windows partition as well as mirror it to
a remote ftp server using lftp.

lftp is I think the best tool for remote backups. It supports many
protocols and supports commands from a file, so can be automated
compeltely. It has an option to mirror dirs either way and will only
update the files which have changed.

Try it out, you'll love it. Another cool console ftp client which uses
arrow keys to browse is cftp. Try this out too, tho this is not for
backing up.

Regards,
Deboo

--
Please don't Cc: me, I'm subscribed to the list.



Re: Advise on backing up files in Etch.

2007-05-14 Thread Deboo ^

On 5/14/07, Chris Lale <[EMAIL PROTECTED]> wrote:

José Santos wrote:
> What application do you think its best for backing up /home files in
> Debian Etch?

The most robust medium is HDD. Dedicate a complete drive to backup, preferably
on a different machine or an external drive. Rdiff-backup is good because you
can browse the backup directly eg if you just want to examine/restore a
particular file. Rdiff-backup stores reverse diffs so you can also get access to
previous versions of a file. You can run Rdiff-backup as a cron job every night.


Can you paste some sample rdiff output image of this?

Regards,
Deboo

--
Please don't Cc: me, I'm subscribed to the list.



Security Breach: A zero byte file created in my home directory

2007-05-14 Thread Deboo ^

I saw today that there's a zero byte file in my hoem dir with the name
"Brendan" created yesterday but I couldn't search whp created it or
what was the command that created it etc from any  log files.

I did not have a firewall yet. I am testing postfix on and off but
don't keep it onlien for more than a few minutes everytime I test. Can
somone have used that to login to my system? How can I search what
command created that file?

I installed aro-firewall and right now it's logging the arp packets
too to the /var/log/messages which is filling it up.

And JUST now as I am posting this, that file is GONE. I did not delete
it. Even with the firewall, someone is in my computer?

What do I need to do?


Regards,
Deboo

--
Please don't Cc: me, I'm subscribed to the list.


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




Re: Security Breach: A zero byte file created in my home directory

2007-05-15 Thread Deboo ^

On 5/15/07, Vincent Lefevre <[EMAIL PROTECTED]> wrote:

On 2007-05-15 11:35:03 +0530, Deboo ^ wrote:
> I saw today that there's a zero byte file in my hoem dir with the name
> "Brendan" created yesterday but I couldn't search whp created it or
> what was the command that created it etc from any  log files.

Are you sure you haven't written something containing "> Brendan" in
a terminal (e.g. by pasting a selection by mistake, this sometimes
happens to me, and I get 0-byte file creation because of that)?


Yes  am sure I did not write anything containing "Brendan" and for me
that's kinda new word or grammatically incorrect as far as I can say,
though it could be a name for someone. Brandon should be the word and
I can never make such a typo as far as I can say.

On a trivial basis, I wo't use such filename, I would rather use
non-English names if needed.


You can look at the history file of your shell, e.g. .bash_history if
it is bash.

> I did not have a firewall yet.

That's not very useful under Linux, unless you installed some unsecure
software or did something wrong with servers.

> I am testing postfix on and off but don't keep it onlien for more
> than a few minutes everytime I test.

Or could this come from one of your tests?


Not from a test from me. My mistake that I kept the msot easy password
for a new username just to test smtp auth.


> Can somone have used that to login to my system?

I'd say that such file creation are often user mistakes.

> And JUST now as I am posting this, that file is GONE. I did not delete
> it.

That's strange.


Sorry for this. I was kind of worried so forgot that I saw the file in
the root's home folder and not mine. That file is still there.


> Even with the firewall, someone is in my computer?

If someone entered your computer before you installed the firewall,
this could be too late (he could have installed a rootkit, that
bypasses the firefall). You can try chkrootkit to see if a rootkit
was installed.


I have chrootkit installed since day one. And it didn't mention any such thing.


Another possibility is that you have run some program that did this
file creation and deletion.


No such program as far as I know.


Note the output of the iptables arno-fierwall script, two lines:

May 16 02:49:21 debian kernel: Connection attempt (UNPRIV): IN=ppp0
OUT= MAC= SRC=141.242.x.x DST=MY_IP_ADDRESS  LEN=392 TOS=0x00
PREC=0x00 TTL=51 ID=61472 PROTO=UDP SPT=30349 DPT=1026 LEN=372

May 16 02:50:54 debiansite kernel: Connection attempt (PRIV): IN=eth0
OUT= MAC=ff:ff:ff:ff:ff:ff:00:14:85:9d:0f:b9:08:00 SRC=0.0.0.0
DST=255.255.255.255 LEN=328 TOS=0x00 PREC=0x00 TTL=128 ID=1294
PROTO=UDP SPT=68 DPT=67 LEN=308

What kind of connection attempt is this? Isn't the second one a
broadcast packet?

Regards,
Deboo

--
Please don't Cc: me, I'm subscribed to the list.


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




xterm fonts

2007-05-15 Thread Deboo ^

I installed a minimal X sysetm with fluxbox and xterm and two other
terminal emulators: eterm and mrxvt. But all three of them give very
small fonts. WIth xterm, I was able to get a reasonable font with the
HUGE option in the right-click menu but I need bigger fonts. How do
you exactly specify bigger fonts with xterm? I am aware it's possible
with -f or -fn option but what comes after that? Say I wan a 10x20
font? it doesn't work just by typing -f 10x20

And how do you incorporate the custom xterm options in the default
fluxbox menu? Is there something to edit the menu commands?

Also how to use the dektop icons that DSL is able to use with fluxbox?
I already installed fbdesk but it seems of no use at all or is it
buggy?

Regards,
Deboo

--
Please don't Cc: me, I'm subscribed to the list.


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




Re: xterm fonts

2007-05-15 Thread Deboo ^

On 5/16/07, cothrige <[EMAIL PROTECTED]> wrote:

* Deboo ^ ([EMAIL PROTECTED]) wrote:
> I installed a minimal X sysetm with fluxbox and xterm and two other
> terminal emulators: eterm and mrxvt. But all three of them give very
> small fonts. WIth xterm, I was able to get a reasonable font with the
> HUGE option in the right-click menu but I need bigger fonts. How do
> you exactly specify bigger fonts with xterm? I am aware it's possible
> with -f or -fn option but what comes after that? Say I wan a 10x20
> font? it doesn't work just by typing -f 10x20

You could try putting something like this in your .Xdefaults:

xterm*font: 10x20

Every xterm opened will then use that font.  That is how I have set my
fonts, but I don't switch them around or anything, so it may not work
so well for you.


Thanks. This works if I already open a new xterm from within an xterm
or any terminal emulator but not from the fluxbox right click XShells
--> xterm.



> Also how to use the dektop icons that DSL is able to use with fluxbox?
> I already installed fbdesk but it seems of no use at all or is it
> buggy?

Perhaps you would like idesk.  It used to be very good, with support for
translucent icons and so on.  Haven't used it lately though, so it may
not be so nice these days.


Will give it a try.

--
Please don't Cc: me, I'm subscribed to the list.


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




Re: Security Breach: A zero byte file created in my home directory

2007-05-15 Thread Deboo ^

On 5/16/07, Vincent Lefevre <[EMAIL PROTECTED]> wrote:

On 2007-05-16 02:54:06 +0530, Deboo ^ wrote:
> On 5/15/07, Vincent Lefevre <[EMAIL PROTECTED]> wrote:
>> On 2007-05-15 11:35:03 +0530, Deboo ^ wrote:
>> > I saw today that there's a zero byte file in my hoem dir with the name
>> > "Brendan" created yesterday but I couldn't search whp created it or
>> > what was the command that created it etc from any  log files.
>>
>> Are you sure you haven't written something containing "> Brendan" in
>> a terminal (e.g. by pasting a selection by mistake, this sometimes
>> happens to me, and I get 0-byte file creation because of that)?
>
> Yes  am sure I did not write anything containing "Brendan" and for me
> that's kinda new word or grammatically incorrect as far as I can say,
> though it could be a name for someone. Brandon should be the word and
> I can never make such a typo as far as I can say.

But how about a paste you didn't noticed? I don't know what terminal
you use, but for those that do paste on middle click, it is very easy
to paste without noticing it. The "> Brendan" could come from some
mail/news message written by some user (see the 5th line of this
message for instance) and ditto, it is very easy to select by mistake.


Thanks for the clarity. Yep that's very possible since an unintended
paste has happened quite a few times when gpm didn't paste what I
copied but the previous selection from the links browser.


BTW, would an intruder create an empty file Brendan, leaving this trace
and clearing everything else?


No, he wouldn't but was a nice warning to me to make iptables work.
Sorry for the trouble to all who had to read.


> Note the output of the iptables arno-fierwall script, two lines:
>
> May 16 02:49:21 debian kernel: Connection attempt (UNPRIV): IN=ppp0
> OUT= MAC= SRC=141.242.x.x DST=MY_IP_ADDRESS  LEN=392 TOS=0x00
> PREC=0x00 TTL=51 ID=61472 PROTO=UDP SPT=30349 DPT=1026 LEN=372
>
> May 16 02:50:54 debiansite kernel: Connection attempt (PRIV): IN=eth0
> OUT= MAC=ff:ff:ff:ff:ff:ff:00:14:85:9d:0f:b9:08:00 SRC=0.0.0.0
> DST=255.255.255.255 LEN=328 TOS=0x00 PREC=0x00 TTL=128 ID=1294
> PROTO=UDP SPT=68 DPT=67 LEN=308
>
> What kind of connection attempt is this? Isn't the second one a
> broadcast packet?

The second one corresponds to the BOOTP[1] protocol. I think it is
normal.

[1] http://en.wikipedia.org/wiki/Bootstrap_Protocol

Concerning the first one, this is apparently the Calendar Access
Protocol port[2].

[2] http://www.linklogger.com/UDP1026.htm


How do I make iptables not log these since these are just too many and
just fills up the log. Only real connection attempts should be logged.

Regards,
Deboo

--
Please don't Cc: me, I'm subscribed to the list.


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




Re: how to clear mbr

2007-05-16 Thread Deboo ^

On 5/16/07, Greg Folkert <[EMAIL PROTECTED]> wrote:

On Tue, 2007-05-15 at 23:37 -0700, Serena Cantor wrote:
> I am installing Win2k, which will co-exist with sarge
> I believe sarge install lilo at mbr, this cause trouble for win2k's 
installation.
> So I should clear mbr.
>
> which linux command should I use?

dd if=/dev/zero of=/dev/hda bs=512 count=1

That will erase any MBR. If your drive is not /dev/hda then please use
the proper one (such as /dev/hde or /dev/sda or what have you)

Please remember also, that Windows REQUIRES the use of the first Primary
partition and it *WILL* assume it is the ONLY operating system to be on
the machine. This WILL cause you difficulty.

But you can then install Etch, and be happy.



I have found that W2K doesn't wipe out the grub menu tho XP does. And
installing W2K over grub shouldn't cause a problem, should it? It will
j ust overwrite the mbr.  Is it really needed to do that dd command
before installing W2K?

Regards,
Deboo


--
Please don't Cc: me, I'm subscribed to the list.


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




[Solved] Re: xterm fonts

2007-05-16 Thread Deboo ^

On 5/16/07, Michael V. De Palatis <[EMAIL PROTECTED]> wrote:


You should run xrdb -load ~/.Xdefaults to reload the file. However,
some intricacies can be involved if the program name launched from the
menu is not `xterm`.


Thanks for this. It worked but the only thing I played a bit with
different font numbers in .Xdefaults and once it worked, I edited
/etc/X11/fluxbox/fluxbox-menu and changed the xterm entry to read
xterm -bg black -fg white -fn 12x24 and it worked very nicely from the
menu.

--
Please don't Cc: me, I'm subscribed to the list.


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




  1   2   3   >