Re: batch rename

2008-01-04 Thread Shantanoo Mahajan


On 05-Jan-08, at 12:16 PM, Aryeh M. Friedman wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Shantanoo Mahajan wrote:


On 05-Jan-08, at 11:31 AM, Aryeh M. Friedman wrote:


-BEGIN PGP SIGNED MESSAGE- Hash: SHA1

Jeff Laine wrote:

Hi to all.

My goal is to rename several files in such a way as to
decapitalize starting letters in their names. The solution
seems to be simple but I'm stuck. What should I use? awk/sed or
write some shell-script?


This assumes tcsh:

foreach i (`ls [A-Z][a-z]*`) mv $i `echo $i|tr 'A-Z' 'a-z'` end




tr will decapitalize all the letters in the string.


You can replace it with the following sed then sed s/^[A-Z]/[a-z]/



In bash shell:

$ echo AsD | sed s/^[A-Z]/[a-z]/
[a-z]sD


I thought about this while sending earlier reply, but was unable to
get it working properly.

regards,
shantanoo

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: batch rename

2008-01-04 Thread Shantanoo Mahajan


On 05-Jan-08, at 11:31 AM, Aryeh M. Friedman wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jeff Laine wrote:

Hi to all.

My goal is to rename several files in such a way as to decapitalize
starting letters in their names. The solution seems to be simple
but I'm stuck. What should I use? awk/sed or write some
shell-script?


This assumes tcsh:

foreach i (`ls [A-Z][a-z]*`)
mv $i `echo $i|tr 'A-Z' 'a-z'`
end




tr will decapitalize all the letters in the string.

regards,
shantanoo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: short Q

2007-11-25 Thread Shantanoo Mahajan


On 26-Nov-07, at 1:23 AM, Paul Schmehl wrote:

--On November 23, 2007 9:04:01 PM -0800 jekillen  
[EMAIL PROTECTED] wrote:



Hello:
Is this the way to start mysqld in rc.conf?
mysqld_enable=YES

Most ports that have daemons will have startup scripts in /usr/ 
local/etc/rc.d/.  Most of those scripts will include comments about  
what switches are required in /etc/rc.conf to start the daemon.   
Look there first for instructions.


If you look at the mysqld startup script in /usr/local/etc/rc.d,  
you will notice that it says use msyqld_enable=YES in /etc/rc.conf.


I do not have freebsd machine around to verify, but iirc, its  
'mysql_enable'

and not 'mysqld_enable'.

regards,
shantanoo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: K3b

2007-11-25 Thread Shantanoo Mahajan

On 26-Nov-07, at 5:07 AM, ajtiM wrote:


Hi!

I am new with FreeBSD. I installed one day ago 7.0 beta3 and I try  
to learn

and setup the system.
When I start K3b (KDE) I got a message:

No CD/DVD writer found.
K3b did not find an optical writing device in your system. Thus,  
you will not
be able to burn CDs or DVDs. However, you can still use other K3b  
features
like audio track extraction or audio transcoding or ISO9660 image  
creation.


I tired as user and as root but resul is the same.

BTW: under Linux I didn't have a problem


Check section '18.6.9 Using the ATAPI/CAM Driver'  on
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating- 
cds.html



regards,
shantanoo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Live video streaming on FreeBSD?

2007-10-25 Thread Shantanoo Mahajan


On 25-Oct-07, at 12:12 PM, Andreas Widerøe Andersen wrote:

Does any of these streaming solutions (encoders or servers) require  
me to
run a GUI on my FreeBSD boxes or can I simply run them like I  
always do:

command line only?


You can try http://www.icecast.org/ . I have tried it with mp3 and ogg
successfully.

Icecast forum regarding video streaming:
http://icecast.imux.net/viewforum.php?f=6

regards,
shantanoo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: webconference softwares ?

2007-10-24 Thread Shantanoo Mahajan


On 24-Oct-07, at 8:46 PM, Frank Bonnet wrote:


Hello

Anyone knows if such softwares ( webconference / webminars ) are
availables in open source software world ?


you may have a look at http://www.dimdim.com/

regards,
shantanoo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: help in deletion part of a line

2007-10-23 Thread Shantanoo Mahajan

On 23-Oct-07, at 4:11 AM, Gary Kline wrote:



Is there an easier way by sed or ed to remove strings
(caight by grep) of the sort:

part5.chapter2.text-

where 5 and 2 can be any integer below 10?

(I know how to delete the *entire* line using ed, but not just
the first part?


$ echo 'part5.chapter2.text-' | tr -d '[0-9]'
part.chapter.text-

$ echo 'part5.chapter2.text-' | sed 's/[0-9]//g'
part.chapter.text-


regards,
shantanoo

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: chmod / files and directories

2007-09-10 Thread Shantanoo Mahajan


On 10-Sep-07, at 9:40 PM, Daniel Bye wrote:


On Mon, Sep 10, 2007 at 05:06:07PM +0100, Daniel Bye wrote:

On Mon, Sep 10, 2007 at 05:56:12PM +0200, Zbigniew Szalbot wrote:

Hello,

I did read man chmod but I am not really wiser. Is there an  
option to

recursively set 755 permissions for directories and 644 for files?
When I just issue
chmod -R 755 /usr/local/www/data/wp/
then all files and directories under wp/ are given permissions 755
which is not what I want.
I can do it manually but since there are manyt subdirectories I
thought I would make my life easier. Many thanks in advance!


Sorry, that *should* have been:

  # find /usr/local/www/data/wp -type d -exec chmod 755 {} \;
  # find /usr/local/www/data/wp -type f -exec chmod 644 {} \;


# find /usr/local/www/data/wp -type f -exec chmod 644 '{}' \;
# find /usr/local/www/data/wp -type d -exec chmod 755 '{}' \;

To be on safer side. :)

regards,
shantanoo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: need help using ndis and inconv

2007-09-07 Thread Shantanoo Mahajan


On 08-Sep-07, at 5:17 AM, Terrence Wilson wrote:


I need whatever help I can get to use ndis to converter wireless nic
card so I can use it on my laptop. it seems that I don't have iconv
working properly. I go into the ndisgen program by typing the command:

# ndisgen

The program opens and gives a list of options. I choose option 3:
Convert driver. The program then asks me to type in the path to the
.inf file. So I type:

/cdrom/DRIVER/bcmwl5.inf

The program then says This .INF file appears to be in Unicode. The
iconv(1) utility does not appear to be installed. Please install this
utility or convert the .INF file to ASCII and run this utility.

So, I downloaded the iconv-2.0_3.tbz package and run the command:

# pkg_add iconv-2.0_3.tbz

Then I try ndisgen again and I get the above error message again. When
I type in the command

# pkg_info -L iconv-2.0_3 | less

I get a list of files including biconv, iconv_mktbl, biconv.h, etc.  
But

when I enter the command:

# iconv

I get the message: Command not found.


Run following command if you have csh/tcsh as your shell:
# rehash

and then try the iconv command again.

regards,
shantanoo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: load script at bootup

2007-08-23 Thread Shantanoo Mahajan

On 24-Aug-07, at 12:18 AM, Narek Gharibyan wrote:


#!/bin/sh

Ping -Dc 3600 xxx.xxx.xxx.xxx | tail -4 /root/stat  date  / 
root/stat

 echo ===  /root/stat



I wrote this script for collecting ping statistic (after I email to  
a group

the stat file).

1. how can I run this at startup

2. how can I restart this script after 3600 counts down



For 1 and 2, 'man cron', 'man crontab'


3. Is there a program, script or any way more appropriate to track the
packet loss and ping availability.?


You may write your own script which parses the output of ping using  
grep/awk/...


regards,
shantanoo

Re: Skype, Ekiga, and OSS

2007-08-15 Thread Shantanoo Mahajan


On 15-Aug-07, at 1:48 PM, Predrag Punosevac wrote:


Beech Rintoul wrote:

On Tuesday 14 August 2007, Predrag Punosevac said:


I was wondering if anybody is using successfully Skype or Ekiga
(any other SIP phone)  via the Open Sound System compiled from
ports? Would you mind sharing your devfs.conf file and rc.conf
file?

Thank you
Predrag



net/skype in the ports works out of the box. No special configs  
needed. net/skype-devel is a work in progress and is currently  
broken.


Beech



Maybe with build in OSS but not with OSS compiled from ports. In  
particular, how do I set up microphone. I can hear the test call but

my voice is not recorded.


You may try following command:

$ mixer igain 90 rec 90 mic 90

regards,
shantanoo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to know the size of RAM memory

2007-08-05 Thread Shantanoo Mahajan

On 05-Aug-07, at 8:53 AM, Prakash Poudyal wrote:


Hello everybody,

Can any body tell how to see the size of RAM memory in freebsd. ?


you may try:
sysctl -a | grep -i mem

shanatnoo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Canon PowerShot A40

2007-06-27 Thread Shantanoo Mahajan


On 27-Jun-07, at 11:20 PM, Zbigniew Komarnicki wrote:


I have two questions:

1. I have a problem with downloaded movies from my camera Canon  
PowerShot A40.
If I try run Noatun under KDE 3.5.6 (FreeBSD 6.2) then it is  
stopped. I
suppose that I haven't appropriate codecs for it. Could someone  
point me

which codecs I should install to see my movies?

2. How to run digikam as normal user to download my photos or  
movies from

camera?



If you have sd card, you may try using card reader.

shantanoo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CD Writing from non root accounts

2006-11-15 Thread Shantanoo Mahajan
+++ Lowell Gilbert [freebsd] [15-11-06 16:47 -0500]:
| Graham Bentley [EMAIL PROTECTED] writes:
| 
|  Hi,
| 
|  Is there a recommended method of letting non root users
|  write some CDR's ?
| 
|  If so, can anyone give me some pointers / advice etc on
|  this !
| 
| They should be able to use the base system's burncd(8) with nothing
| more than read/write permissions on the cd device.

# kldload atapicam
# chmod 666 /dev/xpt0 /dev/cd0 /dev/pass0

And you can use cdrecord.

Shantanoo

-- 
Ignore everybody.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to change all /bin/bash at /etc/passwd to /sbin/nologin?

2006-10-10 Thread Shantanoo Mahajan
+++ Alex Zbyslaw [freebsd] [10-10-06 11:57 +0100]:
| [EMAIL PROTECTED] wrote:
| 
| I would not recommend using vipw [...] to change your users' shells.
|  
| Why not?
| 
| --Alex

man pw
and look for '-s' option
Though it many need little bit of scripting. This may be useful to
automate the process. But if for one time change, I would prefer vipw.

-- 
Ignore everybody.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cdrecord not working the way expected

2006-09-10 Thread Shantanoo Mahajan
+++ michael johnson [freebsd] [10-09-06 11:16 -0400]:
| On 9/10/06, Jonathan Horne [EMAIL PROTECTED] wrote:
| 
| anyone here sucessfully using cdrecord in freebsd?  -scanbus option gives
| me
| this error:
| 
| [EMAIL PROTECTED] ~]# cdrecord -scanbus
| Cdrecord-Clone 2.01 (i386-unknown-freebsd6.1) Copyright (C) 1995-2004 J?rg
| Schilling
| cdrecord: Error 0. Cannot open SCSI driver.
| cdrecord: For possible targets try 'cdrecord -scanbus'.
| cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
| 
| i have a feeling that the reason my DVD-CDRW isnt working in xine is
| probably
| rooted in the same cause.  can anyone point me in the right direction
| here?
| 
| [EMAIL PROTECTED] ~]# dmesg |grep acd0
| acd0: CDRW LITE-ON COMBO SOHC-4832K/OQKB at ata0-master UDMA40
| acd0: CDRW LITE-ON COMBO SOHC-4832K/OQKB at ata0-master UDMA40
| [EMAIL PROTECTED] ~]# uname -a
| FreeBSD athena.dfwlp.com 6.1-STABLE FreeBSD 6.1-STABLE #0: Wed Aug 30
| 13:08:08
| CDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ATHENA  i386
| 
| anything at all that can get me going on this would be much appricated!

# kldload atapicam
# chmod 666 /dev/pass0 /dev/xpt0 /dev/cd0
 k3b

Is what I generally use and it works for me. After you run 'kldload..'
check the dmesg output immediatly. You shoud be able to see some 'cd0'
or 'cd*'. 'dmesg | grep ^cd'


Shantanoo
-- 
Ignore everybody.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to disconnect ADSL

2006-07-02 Thread Shantanoo Mahajan
+++ Benny Au [freebsd] [02-07-06 23:18 +0800]:
| Hello,
| I'm a novice of FreeBSD. I just can use ppp -ddial adsl to connect
| to my ISP, but can't disconnect it. Could u tell me the command?
| Additionally, where can I get a GUI tool for PPPoE?
| Thanks!

try
# killall ppp

Shantanoo
-- 
Ignore everybody.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: need driver for wlan-adapter

2006-06-26 Thread Shantanoo Mahajan
Cc'ing to questions- instead of drivers list.

+++ Pontus Falk [freebsd] [26-06-06 12:23 +0200]:
| 
|   So, i have just d/l'ed 6.1, am about to install it any minute now, but
|   the only internet connection i have right now is via a
|   usb-wlan-adapter, which i can't find in the supported list.
| 
|   There are drivers in the linux kernel,  zd1211 , but I can't find any
|   ported.

You may try ndis wrapper.

Shantanoo

-- 
Ignore everybody.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: hosts file

2006-03-15 Thread Shantanoo Mahajan
+++ eoghan [freebsd] [15-03-06 20:37 +]:
| Derek Ragona wrote:
|  Well, your resolv.conf points to 192.168.1.1, what is at that address?
|  Do you have any other DNS issues?
| 
|  Can you ping localhost, or 127.0.0.1?
| 
|  Is named running?
| 
|  -Derek
| 
| Hi
| 192.168.1.1 is my router address.
| How can i check if named is running?
| There is no reference to named_enable in my rc.conf
| When i try ping 127.0.0.1 i get:
| ping: sendto: Can't assign requested address
| Thanks

Checkout the o/p of follwoing:

sockstat -4l 


For more details,
man sockstat

Shantanoo

-- 
If you accept the pain, it cannot hurt you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 6.0 on DVD

2006-02-11 Thread Shantanoo Mahajan
+++ Wojciech Puchar [freebsd] [12-02-06 00:09 +0100]:
| If it's out there - where?
| 
| I'm not sure about this, but aren't the DVD versions created by a third-party
| company?
| ___
| 
| well i created 8.5GB DVD version of FreeBSD 6.0/amd64 by myself for personal 
use. it is original install 
| CD+all binary packages available on FTP. then i have to delete unpacked 
/usr/share/doc/ from CD to fit :)

Can you please post the procedure?

Shantanoo


pgp4GGSVZPtEF.pgp
Description: PGP signature


Re: grub+freebsd

2006-01-28 Thread Shantanoo Mahajan
+++ serge [freebsd] [28-01-06 15:53 +0300]:
| Hi
| 
| Help to install please grub-0.95 on FreeBSD-5.4.
| At attempt to install grub the following message is deduced: Error 29: Disk 
write error
| 
| 
| Part  Mount   Size  Newfs
| - -   - -
| ad0s1none   30003MB   DOS
| ad0s2a   /256MB UFS2 Y
| ad0s2b   SWAP 1006MBSWAP
| ad0s2d   /var 256MB UFS2+S   Y
| ad0s2e   /tmp 256MB UFS2+S   Y
| ad0s2f   /usr 6383MBUFS2+S   Y
| 
| 
| offset SizeEndName  PTypeDesc  Sutype
| -- ---  -  --
| 0  63  62 - 12   unused0
| 63 6144761761447679   ad0s1 7fat   12
| 61447680   1670760078155279   ad0s2 165  freebsd   165
| 78155280   10080   78165359   - 12   unused0
| 
| 
| # grub
| grub root (hd0,1,a)
| File system type is ufs2, partition type 0xa5
| grub kernel /boot/loader
| [FreeBSD-a .out, loadaddr=0x2,text=0x1000, data=0x32000, bss=0x0,
| entry=0x20]
| grubboot
| #
| 
| And another:
| 
| #grub-install /dev/hd0
| grub root (hd0,1,a)
| File system type is ufs2, partition type 0xa5
| grubsetup --stage2=/boot/grub/stage2 --prefix=/boot/grub (hd0)
| Checking if /boot/grub/stage1exists.yes
| Checking if /boot/grub/stage2exists.yes
| Checking if /boot/grub/ufs2_stage1_5..exists.yes
| Running embed /boot/grub/ufs2_stage1_5 (hd0)...failed (this is not fatal)
| Running embed /boot/grub/ufs2_stage1_5 (hd0,1,a)...failed (this is not fatal)
| Running install --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0)
| /boot/grub/stage2 p /boot/grub.lst...failed
| 
| ***Error 29: Disk write error
| 
| grubquite
| #
| 
| In what here a problem, prompt please.

IIRC, you need to change sysctl setting of 'kern.geom.debugflags' from
0 to 16.

Shantanoo


pgpH2ZgSvDfnj.pgp
Description: PGP signature


Re: Elegant delete of word ~tmp files in all sub / dirs

2006-01-27 Thread Shantanoo Mahajan
+++ Matthew Seaman [freebsd] [26-01-06 20:15 +]:
| Graham Bentley wrote:
|  Hi All,
|  
|  I once found a very elegant method of recursively
|  removing all the word ~tmp files on our Samba
|  server (many hundereds of subs)
|  
|  It involved find rm xargs and some {}
|  
|  It worked very quickly indeed. I have tried to
|  find this again but cant and have used alternatives
|  that are alot slower.
|  
|  Any CLI Gurus point me in the path of enlightenment ?
| 
|find /your/file-system -type f -name '*~tmp*' -print0 | xargs -0 rm -f
| 
| or something like that.

You may also try:

find /your/file-system -type f -name '*~tmp*' -delete

-- 


pgplJHuroOSnx.pgp
Description: PGP signature


Re: DVD burning GUI

2005-12-27 Thread Shantanoo Mahajan
+++ [EMAIL PROTECTED] [freebsd] [26-12-05 16:15 -0200]:
| Hi Nicolas,
| 
|   I forget to say that I'm using Gnome, does k3b work with it?

Yes. KDE libraries will be installed.


-- 


pgp1hNi1iCyyY.pgp
Description: PGP signature


Re: Running qmail

2005-12-18 Thread Shantanoo Mahajan
+++ Michael P. Soulier [freebsd] [18-12-05 14:39 -0500]:
| On 12/18/05, Gojyo [EMAIL PROTECTED] wrote:
|  I've disabled sendmail running the enable-qmail script after qmail
|  installation (and I can see it's not running), I've copied the maildir
|  start script from /var/qmail/boot to /var/qmail/rc and added
|  qmail_enable=YES to /etc/rc.conf.
|  Now I can't exactly understand what I have to do: I think I have to run
|  qmail from the svscan service, but I really cannot figure out how to do it.
|  I need some help
| 
| I don't know how qmail is set up on BSD, but if you're using
| daemontools, bringing qmail up should be as simple as svc -u service
| directory. Check its current status with svscan service directory.

sockstat -4l | grep 25

will tell you what is running on port 25 (default smtp port).
Also /var/log/maillog maybe be useful along with /var/log/messages.

Daemontools can be found out by:

cd /usr/ports  make search name=daemontools

if you have installed ports tree. When I tried, I didn't have
installation problem. It was very smooth through ports. It took time
for me to configure it.

Regards,
Shantanoo
-- 


pgpWm6LXwamOb.pgp
Description: PGP signature


Re: mounting UFS under Linux

2005-09-18 Thread Shantanoo Mahajan
+++ Eugene M. Minkovskii [freebsd] [18-09-05 22:08 +0400]:
| Hello, please tell me, how can I (if I can) mount UFS2 partition
| under Linux (I install gentoo Linux 2005.1).

IIRC, 2.6 kernel supports mounting of UFS. Was able to do so with
Knoppix livecd with 2.6. Don't know what to do in case of 2.4 though.
Don't remember the exact thing righht now, but you can find details in
manual page of man. Look for ufs and ufstype (44bsd).

Regards,
Shantanoo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


USB2 on 5.3 and 5.4

2005-09-09 Thread Shantanoo Mahajan
Hi,
Hardware:
A7N266 motherbord (USB1.1)
USB2 PCI card (USB2)
IDE-USB2 converter

OS:
FreeBSD 5.3 and 5.4

HDD is detected as da0.


I always get USB1.1. In dmesg speed is shown as 1 Mbps.

Did 'dd if=/dev/da0 of=/dev/null bs=10240' on one terminal and on other
one 'iostat -w 1 da0'. The speed shown was not more than 0.8 Mbps.

The same hardware tested on SuSE Linux 9.3 and Windows XP. Works fine.
High speed USB.

Is there any way to get USB2 working? After STFW, got pointers
suggesting that USB2 will be automatically used if the h/w supports
it. 

Regards,
Shantanoo



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DNS caching: Squid, BIND or anything else?

2005-08-05 Thread Shantanoo Mahajan
+++ B. Bonev [05-08-05 12:02 +0300]:
|  My question is what's the difference between Squid DNS caching and
| BIND
|  and other programs that cache DNS requests?
| 
| BIND is a DNS server. It will reply to DNS queries from others. Squid
| DNS won't reply to others DNS queries.
| 
| I want just DNS caching. Is Squid is enough for that task?

I think you are misunderstanding something. Can you please tell us what
exactly you are trying to achieve? As per my understanding, if you are
looking for DNS caching, you can't use squid. You need DNS caching
server, which can be BIND (comes in base system).

Regards,
Shantanoo

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cannot install ntop under freeBSD 5.5

2005-08-02 Thread Shantanoo Mahajan
+++ PK [freebsd] [31-07-05 22:34 -0400]:
| 
| 
| I sent 3 mails to the port maintainer but I didn't get any replies.
| That's very strange !

People prefer plain-text e-mails :).

Shantanoo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Basic AVI command-line editing

2005-07-17 Thread Shantanoo Mahajan
+++ Andrew P. [freebsd] [17-07-05 14:12 +0400]:
| Hello!
| 
| I have a headless file server with hundreds of avi-files. I was
| wondering if there's a means of some basic command-line editing - like
| concatenation and stream processing. I checked with the ports
| collection - but there's no such tool. Does anyone know a suitable
| program? Maybe just some script?

mencoder? It comes with mplayer.


Regards,
Shantanoo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: On removing ^M

2005-05-08 Thread Shantanoo Mahajan
+++ Fafa Hafiz Krantz [freebsd] [08-05-05 14:20 -0500]:
| 
| Good day all!
| 
| I am aware of the port unix2dos (dos2unix) as a tool to
| remove ^Ms from ASCII files.
| 
| But if you execute dos2unix in a directory where some files
| contain ^M (CR/LF) and some files don't (CR), then dos2unix
| will make a mess of those files who don't.
| 
| I am wondering what is needed (what tool or what code) to
| do a mass (recursive) removal of ^Ms?
| 
| Thanks!

- Check out the archive. This question is asked many times before.
- Answer: 'col -bx  old.file   new.file'

Regards,
Shantanoo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Multiple routes

2005-05-04 Thread Shantanoo Mahajan
+++ Tomas Quintero [freebsd] [03-05-05 14:36 -0400]:
| On 5/3/05, Andrei Iarus [EMAIL PROTECTED] wrote:
|  How can I have multiple gateways, and, all the packets
|  to be sent using all the gateways simultaneously under
|  FreeBSD 4.11? Is this possible only modyfing the
|  kernel? :) Thank you very much for your help.
| 
| Under 5.3-RELEASE I have 3 DSL connections set to round-robin using
| PF. Under 4.11 I had used IPF and IPNAT and had half of the net range
| set to utilize one gateway, the other half to use another. I find the
| PF round-robin solution to be much more effective. I am unsure if you
| can use IPF/IPFW to round-robin nat, at least as easily as PF.
| 
| In short though, you won't need to modify your kernel, short of
| including whichever firewall module you choose to utilize.
| 
| I'm curious, when you say simultaneously, do you mean you want the
| same duplicated data to be sent out all of your gateways at the same
| time?

'man ng_one2many' on 5.x


Regards,
Shantanoo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Looking for a KATE replacement

2005-05-03 Thread Shantanoo Mahajan
+++ Clement Twine [02-05-05 14:24 +0200]:
| Shantanoo Mahajan wrote the following on 05/01/2005 04:58 AM:
| +++ Frank Staals [freebsd] [30-04-05 10:35 +0200]:
| | Hey everyone,
| | 
| | When I started using FreeBSD for desktop usage ( about a year ago ) I 
| | used KDE as desktop manager, but now I am using XFCE4.2.1 for that 
| | purpose. But when writing html pages, scripts, programs etc I still use 
| | KATE ( KDE Advanced Text Editor ), the thing is that it starts up realy 
| | slow ( probably because it has to load a lot of basic kde stuff ).
| | 
| | So the question was does anyone know a good graphical replacement for 
| | Kate, I esspecially like the bar on the left which lets you easily 
| | switch between multiple files, and the build in terminalclient on the 
| | bottom. I tried looking in the ports/editors section but there are that 
| | many editors I realy don't know what to use. I am looking for a 
| | graphical editor, not commandline ( therefor I allready use joe ).
| 
| gvim, (x)emacs, bluefish, ...
| 
| is gvim the same as kvim (apart from one being for KDE ane the other 
| for GNOME?) Do they offer same functionality? It seems (not sure 
| though) that KDE apps are more refined than GNOME apps.
| 
| Clem.

After going through the kvim's homepage, http://www.freehackers.org/kvim/,
it not being maintained. I suggest using gvim instead of it.

Regards,
Shantanoo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Looking for a KATE replacement

2005-05-01 Thread Shantanoo Mahajan
+++ Frank Staals [freebsd] [30-04-05 10:35 +0200]:
| Hey everyone,
| 
| When I started using FreeBSD for desktop usage ( about a year ago ) I 
| used KDE as desktop manager, but now I am using XFCE4.2.1 for that 
| purpose. But when writing html pages, scripts, programs etc I still use 
| KATE ( KDE Advanced Text Editor ), the thing is that it starts up realy 
| slow ( probably because it has to load a lot of basic kde stuff ).
| 
| So the question was does anyone know a good graphical replacement for 
| Kate, I esspecially like the bar on the left which lets you easily 
| switch between multiple files, and the build in terminalclient on the 
| bottom. I tried looking in the ports/editors section but there are that 
| many editors I realy don't know what to use. I am looking for a 
| graphical editor, not commandline ( therefor I allready use joe ).

gvim, (x)emacs, bluefish, ...

Regards,
Shantanoo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ip forward and pf

2005-03-04 Thread Shantanoo Mahajan
+++ J.D. Bronson [freebsd] [02-03-05 16:57 -0600]:
| net.inet.ip.fastforwarding
| or
| net.inet.ip.forwarding

AFAIK, its net.inet.ip.forwarding

| 
| 
| Can someone tell me which is appropriate when FreeBSD 5.4-PRE is used as a 
| router running pf with built in NAT ?
| 
| And what is the difference on these 2 options?
| 
| Lastly, do I still need to set
| gateway_enable=YES ?
| (or does that do the same thing as sysctl commands above)

Yes. Its the same thing.


Regards,
Shantanoo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ssh, sftp, and public key authentication

2005-02-23 Thread Shantanoo Mahajan
+++ dave [freebsd] [18-02-05 09:10 -0500]:
| Hello,
| I've got a machine i use public keys on to which i'm trying to ssh. When
| i created a key for this user i did not define a passphrase, yet i am being
| asked for one when i ssh in to the box. I use the command ssh -i
| filename.pub hostname however if i do sftp [EMAIL PROTECTED] i'm allowed
| in no questions asked.
| Help needed!
| Thanks.
| Dave.

google for 'passworldless ssh login'

Process in short

On the Client machine:
 ssh-keygen -t dsa

~/.ssh/id_dsa and ~/.ssh/id_dsa.pub are created.

 scp ~/.ssh/id_dsa.pub [EMAIL PROTECTED]:~/.ssh/authorized_keys2


From client:

 ssh [EMAIL PROTECTED]

you will be logged in w/o any password.

Regards,
Shantanoo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ssh, sftp, and public key authentication

2005-02-23 Thread Shantanoo Mahajan
+++ dave [23-02-05 18:47 -0500]:
| Hello,
| Thanks for your reply. I have done this. My problem comes in when i ssh
| from offsite to the first machine, this works fine uses password
| authentication. Then if i go from that box to the second machine i am
| prompted for a passphrase, which i don't have for that key. Basically, three
| machines are involved, machine1 to machine2 lets me in no questions,

machine1 to machine2 works.

| machine3 to machine1 also works this one uses password authentication, but

machine3 to machine1 to works.

| then going from machine1 to machine2 does not.

do you mean machine2 to machine1?

Regards,
Shantanoo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ALTQ support?

2005-01-22 Thread Shantanoo Mahajan
+++ Brian John [freebsd] [20-01-05 17:30 -0600]:
| Hello,
| I am trying to get pf to work on my 5.3 machine.  I thought that I had 
| it setup but it says that I don't have ALTQ support?  What is that?  Can 
| someone help me set it up?
| 
| Thanks
| 
| /Brian

1) man altq
2) http://www.openbsd.org/faq/pf

Regards,
Shantanoo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Plugin for onlinestreaming music

2005-01-22 Thread Shantanoo Mahajan
+++ Nguyen Le Hinh [freebsd] [21-01-05 14:53 +0900]:
|  Hi alls,
|   Can anyone hear the  online streaming music from this website:
|  
http://www.nhatrangngaynay.net/music/index.php?act=viewcode=songssid=12id=625
|  I installed both mplayer plugin and plugger but still not be able to
| hear it.Any ideas for it?
| Thanks,
| Ps :The above address will be ok with windows...
| 
| --

Following is what I get from mplayer

===
Playing
http://www.nhatrangngaynay.net/music/index.php?act=viewcode=songssid=12id=625.
Resolving www.nhatrangngaynay.net for AF_INET6...
Couldn't resolve name for AF_INET6: www.nhatrangngaynay.net
Resolving www.nhatrangngaynay.net for AF_INET...
Connecting to server www.nhatrangngaynay.net[67.43.159.12]:80 ...
Cache size set to 320 KBytes
Connected to server: www.nhatrangngaynay.net
Cache fill: 13.37% (43810 bytes)

Exiting... (End of file)
===

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Router setup with FreeBSD 5.3

2005-01-10 Thread Shantanoo Mahajan
+++ Michael Madden [freebsd] [06-01-05 18:44 -0600]:
| Does anyone have documentation and/or a
| tutorial for setting a router with FreeBSD
| 5.3?  I want to share a broadband connection
| with 5-10 Windows/Linux/FreeBSD boxes.  I
| assume I'll need to setup the two interfaces,
| gatewaying, and some type of firewall...
| 
| Thanks,
| Mike

pf is available on FreeBSD 5.3
check out /usr/share/examples/pf/

Regards,
Shantanoo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Job Control

2004-11-22 Thread Shantanoo Mahajan
+++ cape canaveral [freebsd] [22-11-04 03:07 -0800]:
| Depends on your shell, or version of cd I suppose.  
| 
| bash-3.00$ ls -la | grep test
| drwxr-xr-x  2 aaron  wheel   512 Nov 22 05:15 test
| -rw-r--r--  1 aaron  wheel22 Nov 22 05:22 test1
| bash-3.00$ cd t*
| bash-3.00$ pwd
| /usr/home/aaron/test
| 
| But if I try and run the same command in csh I get:
| 
| $ cd t*
| cd: too many arguments
| 

$ cd t*
is equivalent to
$ cd test test1
which says
cd: too many argumets
as you can cd to only one directory at a time.

Regards,
Shantanoo
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NEW: cannot ssh to my computer

2004-11-22 Thread Shantanoo Mahajan
+++ Ivan Georgiev [freebsd] [22-11-04 07:41 -0500]:
| On Monday 22 November 2004 06:39 am, Dick Davies wrote:
|  * Panagiotis Christias [EMAIL PROTECTED] [1116 09:16]:
|   On Mon, 22 Nov 2004 00:05:33 -0500, Ivan Georgiev [EMAIL PROTECTED] 
wrote:
|Just another thing ...
|   
|If I remove myself from the group wheel then I CAN ssh to my computer;
|if I put myself back to wheel - then CANNOT ssh to the computer.
|   
|How can I ssh and be a member of the wheel group?
|  
|   In that case, maybe PermitRootLogin yes in /etc/ssh/sshd_config and
|   restarting sshd would help.
| 
|  That setting shouldn't affect wheel logins.
| 
| Changing PermitRootLogin to yes didn't do it 

what's in /etc/hosts.allow?

Regards,
Shantanoo
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mailinglist with postfix+mysql

2004-11-22 Thread Shantanoo Mahajan
+++ Martin Hudec [freebsd] [22-11-04 17:49 +0100]:
| Hello,
| 
|   I am using postfix with mysql backend to provide mail
| delivery services. Is there any mailinglist with support
| for mysql stored subscribers addresses, and if is, which one
| can you generally recommend to me?

http://www.google.co.in/search?q=mailman+%2B+mysqlstart=0start=0ie=utf-8oe=utf-8client=firefoxrls=org.mozilla:en-US:unofficial


Regards,
Shantanoo

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xorgconfig

2004-11-22 Thread Shantanoo Mahajan
+++ Giuliano Cardozo Medalha [freebsd] [22-11-04 03:02 -0200]:
| Hi,
| 
| I am trying to config my xorg with the command: xorgconfig ... without 
| success.
| 
| When I run the command it start some questions, but it stops when 
| referred to keyboard:
| 
| xkb rule file /usr/X11R6/lib/x11/xkb/rules not found
| 
| Anyone has some idea about that ?
| 

Try:
# xorgcfg -textmode

Regards,
Shantanoo
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem

2004-11-20 Thread Shantanoo Mahajan
+++ [EMAIL PROTECTED] [freebsd] [15-11-04 23:03 -0500]:
| Instead of a normal dial-up connection, I have to get complicated with a 
| Point to Point Protocol Over Ethernet Digital Subscriber Line, unfortunately, 
the 
| computer doesn't want to cooprate, I'm using FreeBSD version 4.10, and am 
| assuming that the kernel doesn't need to be reconfigured to support PPPoE. 
I'm 
| using the instructions and configuration file from 
| http://www.daemonnews.org/200101/pppoe.html.
|The network card is a Realtek RTL8139/810x 10/100 auto switching fast 
| ethernet NIC, and shows up as rl0, the bootup device list is at the bottom of 
this 
| page. Also, I would like the aforementioned NIC to automatically bring itself 
| UP on bootup.
| 
| This is what happened while following the instructions from 
| http://www.daemonnews.org/200101/pppoe.html:
| # ls -l /dev/tun?
| crw---  1 root  wheel   52,   0 Sep  3 02:14 /dev/tun0
| crw---  1 root  wheel   52,   1 Sep  3 02:14 /dev/tun1
| crw---  1 root  wheel   52,   2 Sep  3 02:14 /dev/tun2
| crw---  1 root  wheel   52,   3 Sep  3 02:14 /dev/tun3
| # edit /etc/ppp/ppp.conf
| 
| 
| (Beginning of configuration file)
| #
| # ppp.conf: PPPoE configuration
| #
| 
| default:
| # PPP over Ethernet
| set device PPPoE:rl0
| set speed sync
| set mru 1492
| set mtu 1492
| set ctsrts off
| 
| # monitor line quality
| enable lqr
| 
| # log just a bit
| set log phase tun
| 
| # insert default route upon connection
| add default HISADDR
| 
| # download /etc/resolv.conf
| enable dns
| 
| papchap:
|  set authname rxp110
|  set authkey (My Password)
|  (End of configuration file)

try putting following:
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
before:
add default HISADDR


Regards,
Shantanoo

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: online disk image software

2004-11-20 Thread Shantanoo Mahajan
+++ Omer Faruk Sen [freebsd] [15-11-04 22:25 +0200]:
| Hi, 
| 
| I want to ask if there is an online image software for FreeBSD. Just like 
| Norton ghost or g4u but system should be up. There is one for Linux which 
| Dan Langille has written an artcile 
| (http://www.freebsddiary.org/disk-cloning.php) about this software but for 
| Windows version. 

You can also use dump/restore. If you have 20 GB HDD, and you want to
shift to 40 GB, you just create the partitions on new HDD and restore
the data.

Regards,
Shantanoo
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PHP portupgrade error

2004-11-20 Thread Shantanoo Mahajan
+++ Robert Fitzpatrick [freebsd] [20-11-04 17:08 -0500]:
| I am getting this error when trying to do a portupgrade of php-4.3.9
| from 4.3.7, actually at this point I have PHP uninstalled. Can someone
| tell me if they know what this refers to?

'man portupgrade' and have a look at -N.

Regards,
Shantanoo
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 8-bit color in XFree86

2004-01-01 Thread Shantanoo Mahajan
+++ Eric F Crist [freebsd] [01-01-04 12:23 -0600]:
| Hello again all, and Happy New Year!
| 
| I'm trying to configure a system for my buddy who has an nVidia 440 MX video 
| card.  For some reason XFree86 will only do 8-bit color.  Anyone tell me how 
| to get it to do 24-bit color?
| 
| TIA
| -- 
| Eric F Crist
| AdTech Integrated Systems, Inc
| (612) 998-3588

check out /etc/X11/XF86Config

Shantanoo
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Visual mail notification in KMail

2003-12-25 Thread Shantanoo Mahajan
+++ Chris [freebsd] [24-12-03 20:17 -0600]:
| Happy Holidays folks!
| 
|   Is there a way to tie in a visual mail notifier in KMail? Sorta like how 
| Outlook shows the envelope under Windows.
| 
| Thanks in advance, stay safe, semi-sober and enjoy the holidays.
| -- 
| Best regards,
| 
| Chris

maybe xbiff.

Shantanoo
| 
| 
| --
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: port question...

2003-12-19 Thread Shantanoo Mahajan
+++ Kris Kennaway [freebsd] [18-12-03 19:16 -0800]:
| On Thu, Dec 18, 2003 at 08:24:52AM -0500, Xpression wrote:
|  Hi list, I've running FreeBSD-4.5, after reinstalling squid
|  proxy, users cannot access irc servers throught squid, do I
|  need to open any port on the server ??? Before I have
|  installed squid too and give me no errors, there is server
|  problem or squid, i guess squid...any suggestion ???
| 
| Squid is not an IRC proxy, so I don't know how this could have worked
| for you.

nowadays IRC clients are able to use http proxy. so you can still
allow connection to IRC server through squid.

Shantanoo

| 
| Kris
| -- next part --
| A non-text attachment was scrubbed...
| Name: not available
| Type: application/pgp-signature
| Size: 187 bytes
| Desc: not available
| Url : 
http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031218/915012d6/attachment-0001.bin
| 
| --
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


konsole crashing on 5.2-RC

2003-12-15 Thread Shantanoo Mahajan
Hello,

I cvsupped to 5.2-RC. Initially installed 5.0-RELEASE. then upgraded
to 5.1-RELEASE-p11 and then to 5.2-RC

# uname -sr
FreeBSD 5.2-RC

And now when I tried to run konsole in KDE, it is giving me the
following error

-From backtrace
0x28f6922f in poll () from /lib/libc.so.5
#0  0x28f6922f in poll () from /lib/libc.so.5
#1  0x28f0da51 in _thread_kern_sched_state_unlock () from /usr/lib/libc_r.so.5
#2  0x28f0d445 in _thread_kern_scheduler () from /usr/lib/libc_r.so.5
---

And on the ttyv0 followin message is displayed.

Warning: pid 633 used static ldt allocation.
See the i386_set_ldt man page for more info


Followed following method for making world

# cd /usr/src
# make buildworld
# make kernel
# reboot
# cd /usr/src
# make installworld
# mergemaster -p

no changes were made by mergemaster.
Shantanoo
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: konsole crashing on 5.2-RC

2003-12-15 Thread Shantanoo Mahajan
+++ Kent Stewart [15-12-03 10:03 -0800]:
| On Monday 15 December 2003 09:54 am, Shantanoo Mahajan wrote:
|  Hello,
| 
|  I cvsupped to 5.2-RC. Initially installed 5.0-RELEASE. then upgraded
|  to 5.1-RELEASE-p11 and then to 5.2-RC
| 
|  # uname -sr
|  FreeBSD 5.2-RC
| 
|  And now when I tried to run konsole in KDE, it is giving me the
|  following error
| 
|  -From backtrace
|  0x28f6922f in poll () from /lib/libc.so.5
|  #0  0x28f6922f in poll () from /lib/libc.so.5
|  #1  0x28f0da51 in _thread_kern_sched_state_unlock () from
|  /usr/lib/libc_r.so.5 #2  0x28f0d445 in _thread_kern_scheduler () from
|  /usr/lib/libc_r.so.5 ---
| 
|  And on the ttyv0 followin message is displayed.
| 
|  Warning: pid 633 used static ldt allocation.
|  See the i386_set_ldt man page for more info
| 
| 
|  Followed following method for making world
| 
|  # cd /usr/src
|  # make buildworld
|  # make kernel
|  # reboot
|  # cd /usr/src
|  # make installworld
|  # mergemaster -p
| 
| 
| I thought the mergemaster -p was for in front of the installworld to catch 
| things like new users and group. You normally run
| mergemaster -i after.

Thanks a lot
I did mergemater -i and the changes were made to the system.
even after doing this, the problem is as it is :-(

 dmesg | tail
Warning: pid 747 used static ldt allocation.
See the i386_set_ldt man page for more info
Warning: pid 752 used static ldt allocation.
See the i386_set_ldt man page for more info
Warning: pid 756 used static ldt allocation.
See the i386_set_ldt man page for more info
Warning: pid 755 used static ldt allocation.
See the i386_set_ldt man page for more info
Warning: pid 757 used static ldt allocation.
See the i386_set_ldt man page for more info

| 
| Kent
| 
|  no changes were made by mergemaster.
|  Shantanoo
| 
| -- 
| Kent Stewart
| Richland, WA
| 
| http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I can't connect to internet. Plz help me

2003-12-11 Thread Shantanoo Mahajan
+++ nil ban [freebsd] [10-12-03 13:11 -0800]:
| Hello,
| I'm a novice linux user currently switched over to freebsd
| when many linux users told me that freebsd is real unix
| and only slackware is somehow matched with it. So I installed
| feeebsd 4.8 but I am getting few problems I can't handle.
| Kindly tell me how to do the following ; 
| I can't connect to internet. 
| Plz let me explain that.
| I have a username and password which my isp gave me to 
| use for having mail and surfing internet like 
| [EMAIL PROTECTED] and my mail servers
| names are mail.myisp.com(pop3)and smtp.mail.com.
| I tried using kpp and I could connect to my isp ( I am telling this
| because pppd does run ) but whenever I try to 
| visit a website it doesn't work, browser says unknown host.  
| I even tried xchat, it says something like have u missspelled your host name ?.  I 
also don't know what  my host name is. Whenever 
| I type the command hostname in console it displays nothing and only cursor 
reappears. I installed it as it is describe in the handbook. Only thing I have done is 
place this entry firewall_type=open in rc.conf. I haven't changed anything in any 
configuration file apart from that. I have written this because it seemed the default 
firewall has got something to do with it but I ain't sure.  
| Please tell me in a step by step procedure so I will be able 
| to fix it.. I am gradually being depressed for that. 
| Here telephone charge is very costly and for that I can't stay
| connected and experiment for long.
|  
| Please help me.
|  
| P.S  I also can't send  receive mail using kmail inspite of giving all the
| required parameters.

what's the o/p of

# ipfw list

Shantanoo
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Remove ^M characters from xhtml file

2003-12-01 Thread Shantanoo Mahajan
+++ Robin Schoonover [freebsd] [30-11-03 19:17 -0700]:
| On Sun, 30 Nov 2003 21:16:02 -0600, Bryan Cassidy [EMAIL PROTECTED]
| wrote:
|  I've downloaded a couple of .xhtml files and they have ^M characters
|  all through it. I tried the col -b  name  newname command on these
|  files but when I do that it erases the whole document. Any ideas?
| 
| dos2unix (converters/unix2dos in ports) is an easy route (dos2unix name). 
| Also you can use the tr command (tr -d '\r'  name  newname).
| 
| -- 
| Robin Schoonover (aka End)

col -bx  old.xhtml  new.xhtml

Shantanoo
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to print a man page

2003-11-29 Thread Shantanoo Mahajan
+++ Malcolm Kay [freebsd] [29-11-03 16:14 +1030]:
| On Sat, 29 Nov 2003 15:43, Libby Charles-CCL044 wrote:
|  You could just pipe the output of man directly to lpr:
| 
|  man manpage |lpr
| 
|  This produces a great output which I use in my classes all the time.
| 
| 
| If you really think this is 'great output' then if you have a postscript 
| printer (or a print system accepting postscript) try:
| $ man -t manpage | lpr -P PS-Printer
| 
| and compare the difference.
| 
|  Malcolm Kay

If you have konqueror, type the following in address bar

#manpage

Now you have HTML which you can send to printer :-)

Shantanoo
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: strange ping behavior

2003-11-28 Thread Shantanoo Mahajan
+++ Chip [freebsd] [27-11-03 22:26 -0800]:
| check this out - I have a fbsd 4.6 box on my network, as well as a 
| fbsd5.1 box and several XP boxes. I have a netgear router/firewall (also 
| does dhcp and print server) box as well. The 4.6 box is set up on the 
| network, the netgear dhcp server finds the box, as well as the 5.1 box, 
| so they are 'talking' on the network. The 4.6 box cannot ping anything. 
| I get this error -
| ping: sendto: permission denied
| from any box I try to ping the 4.6 box, and the ping just times out. The 
| 5.1 box works fine. The 4.6 box used to work fine, and was serving web 
| pages, it has apache/php/mysql installed. It went down when the power 
| went out, and since has had the connection problems.
| Any ideas?
| --
| Chip
| 
| 
| --

as root run the following commands and then try to ping

# kldunload ipfw
# kldunload ipl

Shantanoo
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: winxp hidden BSD license

2003-11-26 Thread Shantanoo Mahajan
+++ Alin-Adrian Anton [freebsd] [26-11-03 19:40 +0200]:
|Hey guys,
| 
|I remember there was a hidden readme.htm file somewhere inside 
| windows xp, containing BSD license.

find /mount/point/of/winxp -iname readme.htm

| 
|Can anyone help me find the path/name of it? I don't remember it.
| 
|And where cand I find more info about it?
| 
|Thanks in advance,
|Alin-Adrian Anton.
| 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Postfix/procmail/fetchmail/spamassassin setup

2003-11-24 Thread Shantanoo Mahajan
+++ Jonas Manalive [freebsd] [23-11-03 13:54 -0800]:
| Hello,
| 
| I am having terrible time trying to figure out why I can't get any
| emails. I used to be able to receive them before, but since reinstalling
| FreeBSD (new harddrive), I am not able to get any emails again. I am
| using FreeBSD 5.1 - standalone computer with me as the sole user. With
| postfix, I want to use fetchmail to fetch mails and procmail to deliver
| them and spamassassin to examine them. I want the procmail/postfix to
| send them to /var/mail/manalive. Here are the configurations
| (username/password changed of course :) ) and let me know where I am
| doing wrong. There is no procmail.log file. I have stopped, started, and
| reloaded the postfix after configuring. Any other configurations you
| need to see, please let me know!
| 
| Thanks!
| 
| Jonas
| 
| --
| rc.conf 
| 
| hostname=ancient.mariner.sea
| ifconfig_vr0=DHCP
| ipv6_enable=YES
| kern_securelevel_enable=NO
| saver=daemon
| sendmail_enable=NONE
| sshd_enable=YES
| usbd_enable=YES
| linux_enable=YES
| inetd_enable=NO
| 

from /usr/ports/mail/postfix/pkg-message

If you have postfix configured in your /etc/mail/mailer.conf (answered yes to
the previous question) and would like to enable postfix to start at boot time,
please set these variables in your /etc/rc.conf file:

sendmail_enable=YES
sendmail_flags=-bd
sendmail_outbound_enable=NO
sendmail_submit_enable=NO
sendmail_msp_queue_enable=NO

This will disable Sendmail completely.


Regards,
Shantanoo
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Samba question

2003-11-17 Thread Shantanoo Mahajan
+++ Marty Landman [15-11-03 23:12 -0500]:
| At 09:46 PM 11/15/2003, Robin Schoonover wrote:
| 
| Hmm.  Ignoring everything else you gave us, I'd say it sounds like there is
| a firewall in the way.  I've had the exact same problem before.
| 
| I believe I have ipfw disabled..
| 
| # ps -ax|grep ipfw
| #

what's the o/p of 
# ipfw s

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to change the name of root?

2003-11-14 Thread Shantanoo Mahajan
+++ [EMAIL PROTECTED] [13-11-03 14:41 -0800]:
| When I get admin emails from my remote boxes, or send messages from them, 
| they are from root or charlie root. How do I change this?
| 
| --
| Chip
| 
| --

chsh


Regards,
Shantanoo
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: md5/des ?

2003-11-12 Thread Shantanoo Mahajan
+++ Oles Hnatkevych [freebsd] [12-11-03 13:23 +0200]:
| Hello!
| 
| /usr/bin/passwd does my passwords MD5 encrypted (accordingly to /etc/login.conf)
| But /usr/sbin/adduser creates users with DES encrypted passwords.
| How do I make it use MD5 instead of DES? Seems like it's perls crypt()
| problem, and the DES is the default...
| 
| 
| --

man login.conf | grep passwd_format -A 5

Regards,
Shantanoo
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Perl and OpenWebMail question...

2003-11-09 Thread Shantanoo Mahajan
+++ Peter Elsner [freebsd] [07-11-03 16:03 -0600]:
| Hi list...
| 
| I've been using OpenWebMail with Perl 5.8.0 for some time now.  Recently 
| updated ports
| using port upgrade, and now my Perl version is 5.8.1.
| 
| chuck:root # perl -v
| 
| This is perl, v5.8.1 built for i386-freebsd
| 
| --snip--
| 
| chuck:root #
| 
| After that, OpenWebMail stopped working... I noticed also that my 
| portupgrade updated
| OpenWebMail as well, (it was 2.10 and is now 2.20).  Okay, I thought no 
| problem, I'll
| just do a make deinstall and make reinstall.   But it fails with the 
| following error message
| each and every time...
| 
| ...
| 
| ===   openwebmail-2.20 depends on file: 
| /usr/local/lib/perl5/site_perl/5.8.1/ma
| ch/Text/Iconv.pm - found
| ===   openwebmail-2.20 depends on file: 
| /usr/local/lib/perl5/site_perl/5.8.1/ma
| ch/MIME/Base64.pm - found
| ===   openwebmail-2.20 depends on executable: speedy_suid - found
| ===   Generating temporary packing list
| ===  Checking if mail/openwebmail already installed
| 12602 blocks
| 19199 blocks
| Can't locate warnings/register.pm in @INC (@INC contains: 
| /usr/local/lib/perl5/s
| ite_perl/5.8.0/mach /usr/local/lib/perl5/site_perl/5.8.0 
| /usr/local/lib/perl5/si
| te_perl /usr/local/lib/perl5/5.8.0/BSDPAN /usr/local/lib/perl5/5.8.0/mach 
| /usr/l
| ocal/lib/perl5/5.8.0) at /usr/local/lib/perl5/site_perl/5.8.0/mach/vars.pm line
| 7.
| BEGIN failed--compilation aborted at 
| /usr/local/lib/perl5/site_perl/5.8.0/mach/v
| ars.pm line 7.
| Compilation failed in require at /dev/fd/9 line 8.
| BEGIN failed--compilation aborted at /dev/fd/9 line 8.
| speedy_backend[46985]: perl_parse error
| speedy[46983]: Cannot spawn backend process
| *** Error code 1
| 
| Stop in /usr/ports/mail/openwebmail.
| chuck:root #
| 
| So the first few dependent modules are found in the correct locations
| (/usr/local/lib/perl5/site_perl/5.8.1/mach ...  etc...
| 
| But register.pm and vars.pm are being located in 5.8.0
| 
| I thought that since I'm no longer using 5.8.0, it shouldn't be looking 
| there, it
| should be looking in 5.8.1   But it's not.
| 
| Does anyone have any idea's as to why this is doing this?  And how I can
| go about fixing it?
| 
| Thanks in advance..
| 
| Peter Elsner
| 
| Oh by the way, I'm running 4.9-STABLE #7.
| 
| 
| 
| 
| 
| Peter Elsner - President
| [EMAIL PROTECTED]
| SRI Software
| 726 Dalworth Suite 1007
| Grand Prairie, TX. 75050
| 972-266-8870 - Voice
| 817-887-1609 - Fax
| www.sri-software.com
| 
| Service Plus(tm)
| Public Warehouse Management Software
| -- next part --

what's the output of
# ls -l `which suidperl`

permissions should be 4555.  
-r-sr-xr-x  3 root  wheel  50816 Oct 29 03:26 /usr/bin/suidperl*
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IPFW

2003-11-09 Thread Shantanoo Mahajan
+++ Shawn Guillemette [freebsd] [08-11-03 18:19 -0500]:
| I have installed ipfw and each time the machien is rebooted I lose the rules I 
added. 
| 
| any thoughts?
| 
| 
| 
in rc.conf put the following line

firewall_enable=YES
firewall_script=path_to_your_firewall_rules


Regards,
Shantanoo
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: creating a small FreeBSD box

2003-11-05 Thread Shantanoo Mahajan
+++ Rob Evers [freebsd] [05-11-03 12:42 +0100]:
| Hi all,
| 
| I need to make a few FreeBSD boxes, these will all be limited in disk 
| space,
| and act as firewall/router. (pentium and 300M disk)
| What I want is a limited operating system that has only the essential
| networking stuff, shell, and a custom kernel but for example no BIND and 
| CVS.
| In the end all machines should have the same OS installed.
| 
| What's a good way to handle this?
| Making a custom release, an install script, tweaking make.conf and 
| install from
| source or of course something else. (I don't need a ready solution, but some
| insight in how to acomplish this task in an efficient manner.)
| 
| Thanks
| 
| Rob Evers
| 
| 
| --


man picobsd

Regards,
Shantanoo
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mouse under X

2003-11-03 Thread Shantanoo Mahajan
+++ Adam Flaherty [03-11-03 23:56 +1000]:
| 
| On Monday, Nov 3, 2003, at 05:26 Australia/Brisbane, Shantanoo Mahajan 
| wrote:
| 
| +++ Adam Flaherty [freebsd] [02-11-03 22:34 +1000]:
| | Hello,
| |
| | I have recently installed FreeBSD 4.8 and am having trouble getting 
| my
| | PS/2 mouse to work with X11/ Gnome. The mouse works when setting up
| | moused with /stand/sysinstall and xf86cfg but when gnome loads any
| | mouse movement translates into the cursor moving to the top right of
| | the screen. I have tried the various protocols under xf86cfg and
| | followed the instructions in the FAQ that suggest adding lines to the
| | config file, and also linking /dev/mouse and /dev/sysmouse. I am at a
| | loss so any help would be highly appreciated.
| |
| | Thanks
| |
| | Adam Flaherty
| 
| 
| I faced the similar problem. this is how i solved it. maybe
| there can be a better way.
| 
| # XFree86 -configure
| 
| /root/XF86Config.new is created.
| check out the protocol and place it in your XF86Config file.
| 
| Regards,
| Shantanoo
| 
| 
| 
| Shantanoo,
| 
| Just one more question, your method works for root, however I don't 
| know how to set it up for a normal user, when I try to run XFree86 
| -configure as a user it tells me it can only be run by root. With a 
| normal user the problem persists.
| 
| Thanks,
| Adam
| 

from man XFree86

   -configure
   When this option is specified, the X  server loads  all  video
   driver  modules,  probes for available hardware, and writes out
   an initial XF86Config(5) file based on what was detected.  This
   option  currently  has  some problems on some platforms, but in
   most cases it is a good  way  to  bootstrap the  configuration
   process.   This option is only available when the server is run
   as root (i.e, with real-uid 0).

Hope this helps.
Only SUID=0, is allowed to make any changes to the system,
(re)installation/(re)configuration etc.

Regards,
Shantanoo
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mouse under X

2003-11-02 Thread Shantanoo Mahajan
+++ Adam Flaherty [freebsd] [02-11-03 22:34 +1000]:
| Hello,
| 
| I have recently installed FreeBSD 4.8 and am having trouble getting my 
| PS/2 mouse to work with X11/ Gnome. The mouse works when setting up 
| moused with /stand/sysinstall and xf86cfg but when gnome loads any 
| mouse movement translates into the cursor moving to the top right of 
| the screen. I have tried the various protocols under xf86cfg and 
| followed the instructions in the FAQ that suggest adding lines to the 
| config file, and also linking /dev/mouse and /dev/sysmouse. I am at a 
| loss so any help would be highly appreciated.
| 
| Thanks
| 
| Adam Flaherty


I faced the similar problem. this is how i solved it. maybe
there can be a better way.

# XFree86 -configure

/root/XF86Config.new is created.
check out the protocol and place it in your XF86Config file.

Regards,
Shantanoo
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Editing a file with bash...

2003-10-30 Thread Shantanoo Mahajan
+++ Xpression [freebsd] [29-10-03 09:00 -0500]:
| Hi list, can I edit a file and delete a line by searching any parameter with
| bash ??? Thanks...
| 
| 
| --

grep -v string oldfile  newfile
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to view kmail stored email from console

2003-10-30 Thread Shantanoo Mahajan
+++ Jason Dictos [freebsd] [29-10-03 12:18 -0800]:
| Hi All,
| 
|   I have FreeBSD 5.1 with KDE 3 running kmail. Kmail pulls from the
| local mailbox into its mail archive. I'd like to figure out a way to reading
| kmail email from the console. Is that possible?
| 
| I can already read mail in my mailbox via the console by using mutt, however
| when kmail reads messages from the mailbox it deletes them and stores them
| in its own special file. So what I'm trying to do is read that file via  a
| console program.
| 
| Thanks,
| -Jason

The mail is stored in Maildir format by KMail (v1.4). Check
out the mutt configuration. mutt supports Maildir format.

Regards,
Shantanoo Mahajan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 4.8 v/s 5.1

2003-10-21 Thread Shantanoo Mahajan
mkisofs --- for creating iso's
burncd --- for ATAPI CDRW
cdrecord --- for SCSI CDRW, and SCSI emulation of ATAPI CDRW

-- 
With Best Regards,
Shantanoo Mahajan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mplayer + sound problem

2003-10-18 Thread Shantanoo Mahajan
+-- Bryan Cassidy [freebsd] [18-10-03 06:17 IST]:
| I get this when trying to play movies in mplayer.
| 
| audio_setup: Can't open audio device /dev/dsp: Device busy
| AO: [arts] can't connect to aRts soundserver
| /dev/dsp: Device busy
| AO: [esd] esd_open_sound failed: Resource temporarily unavailable
| ao_nas: init(): Can't open nas audio server - nosound
| SDL: Samplerate: 44100Hz Channels: Stereo Format Signed 16-bit (Little-Endian)
| /dev/dsp: Device busy
| SDL: Unable to open audio: No available audio device
| 
try the following and then run mplayer

killall -9 artsd

-- 
With Best Regards,
Shantanoo Mahajan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: free (or cheap) smtp server accounts?

2003-10-16 Thread Shantanoo Mahajan
+-- Nuno Teixeira [freebsd] [16-10-03 01:54 IST]:
| Hello to all,
| 
| I'm having a lot of problems with my ISP smtp server and I decided to find a smtp 
service but for what I see it is rare to find one. You can find a lot of pop3 services 
but few smtp ones.
| 
| I found one smtp.com but it is a little expensive for me.
| 
| Does anyone knows any?

The one of the reason I migrated to *nix was what I
can have my own SMTP server running and working
perfectly within few seconds.

| 
| Thanks very much,
| 
|   Nuno Teixeira
| 
| --

-- 
With Best Regards,
Shantanoo Mahajan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mailing binary files

2003-10-15 Thread Shantanoo Mahajan
+-- Carlos A. Carnero Delgado [freebsd] [15-10-03 13:35 IST]:
| Hello,
| 
|  Uuencoding works fine...
| 
| yup, that's what I thought. And it works fine indeed. However, I was
| thinking into more of a MIME or multi-part message, much like a regular
| attachment. That's not really essential, however. This just works.

maybe you can use mutt for that purpose.

mutt -a FILENAME [EMAIL PROTECTED]

| 
| Thanks a lot,
| Carlos.
| 

-- 
With Best Regards,
Shantanoo Mahajan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to find out the type of CD in burner from script ?

2003-10-12 Thread Shantanoo Mahajan
+-- [EMAIL PROTECTED] [freebsd] [10-10-03 15:27 IST]:
| No, i can't use cdrecord. It is for SCSI CD-writers, and i have ATAPI.
| 
| Best regards,
| Alexander

Also, you can use

dmesg | grep ^acd
-- 
With Best Regards,
Shantanoo Mahajan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to find out the type of CD in burner from script ?

2003-10-10 Thread Shantanoo Mahajan
+-- [EMAIL PROTECTED] [10-10-03 15:27 IST]:
| No, i can't use cdrecord. It is for SCSI CD-writers, and i have ATAPI.
| 
| Best regards,
| Alexander
| 
If you are using 4.8-stable of 5.x, you do have a
option in kernel

option atapicam

to enable SCSI emulation for ATAPI

For other, check out
http://www.cuivre.fr.eu.org/~thomas/atapicam/

-- 
With Best Regards,
Shantanoo Mahajan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to find out the type of CD in burner from script ?

2003-10-09 Thread Shantanoo Mahajan
+-- [EMAIL PROTECTED] [freebsd] [09-10-03 19:05 IST]:
| Hello !
| 
| I have the following problem: I'm writing backup scripts, to store SCM tree on
| CD via ATAPI CD-burner.
| I need to have ability from inside the script find out the type of CD in burner:
| Is it CD-R or CD-RW, and is it blank or not,
| and also obtain at least CD label without mounting CD.
| 
| Search in mail archive does nothing, so if anybody know how to do this, please
| respond.
| 
| P.S. I'm using FreeBSD 4.8 and PLEXTOR CD-R PX-W4824A.
| 
| Best regards,
| Alexander.

If you are using cdrecord, you may be interested in

# cdrecord -scanbus

-- 
With Best Regards,
Shantanoo Mahajan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KMail export to Outlook

2003-10-05 Thread Shantanoo Mahajan
+-- Chris [freebsd] [04-10-03 20:06 IST]:
| Is there a way to take my mail (from KMail) and either export it to, or some
| other app that will allow me to pull in all the mail into Outlook2000?

save each message to MSG_NAME.eml
and outlook can get read it.
| 
| Best regards,
|  Chris
| __
| 
| PGP Fingerprint = D976 2575 D0B4 E4B0 45CC AA09 0F93 FF80 C01B C363
| 
| PGP Mail encouraged / preferred - keys available on common key servers
| __
|01010010011101100011011001010111001001011000
| 
| 
| --

-- 
With Best Regards,
Shantanoo Mahajan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BSD Question

2003-10-05 Thread Shantanoo Mahajan
+-- Minnesota Slinky [freebsd] [04-10-03 20:03 IST]:
| Usually, windows will show up in the BSD boot manager as ???, so the
| boot prompt on my system (Win2K and FreeBSD 5.1) is the following:
| 
| F1 ???
| F2 FreeBSD

If you have NTFS then it shows ???. Else it shows
DOS.
| 

-- 
With Best Regards,
Shantanoo Mahajan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: small problem

2003-10-04 Thread Shantanoo Mahajan
+-- Abhijeet [freebsd] [03-10-03 19:42 IST]:
| hi all,
| i want to make a duplicate copy of a server hard disk  so that i get a 
| reserver hdd with all settings if my present hdd fails. please tell me a 
| way so that i can do this job very fast. i won't linke to make 
| reinstall . please help me fast.
| 
| 
| i have not tried using dd , will it work
yes.
also search for ghost for unix on google.
the first link may help you.
| 
| abhijeet sane
| [EMAIL PROTECTED]
| 
| 
| 
| 
| --

-- 
With Best Regards,
Shantanoo Mahajan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: converting ext3 to ffs

2003-09-25 Thread Shantanoo Mahajan
+-- David Benfell [freebsd] [24-09-03 23:00 IST]:
| On Wed, 24 Sep 2003 09:58:53 -0700, Mike Hogsett wrote:
|  
|  dump(8) and restore(8)* may do the trick.  I would recommend dumping from
|  an os where ext3 is native (e.g. linux) and then restore on a os where ffs
|  is native (e.g. FreeBSD).
|  
| This should be considered mandatory.  Linux support for ffs is broken
| -- and apparently no one cares enough to fix it.
| 
| And if there's any support for ext2/3 on the BSDs, it's news to me.
| 
man mount_ext2fs

also check out 
/usr/ports/sysutils/fsck_ext2fs

mount_ext2fs can mount ext3 FS. But if ext3 FS is
not unmounted properly, you have to use fsck_ext2fs
and then mount it.

-- 
With Best Regards,
Shantanoo Mahajan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is there cool download manager in FreeBSD?

2003-09-13 Thread Shantanoo Mahajan
+-- rk47 [freebsd] [12-09-03 13:47 IST]:
| Alex Zivenko wrote:
| 
|  Hi people!
|  Is there cool download manager in FreeBSD? Like Reget, or Flashget in WIN,
|  Don't disturb me about KGet (he can't to continue download, when
|  connection has broken)
|  Best regards,
|  Alex Zivenko
|  http://www.netgen.com.ua
| 
| Also look at wget (/usr/ports/ftp/wget), it has many features.

If I am not wrong, KGet is front end for wget.
Alex: wget is capable of resuming the download.
check out '-c' option of wget.
| 
| Riaan
| 
| 
| --

-- 
Regards,
Shantanoo Mahajan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: query for changing the User email ID in freeBSD ....

2003-09-10 Thread Shantanoo Mahajan
+-- Shrikant [freebsd] [10-09-03 11:26 IST]:
| When i send  email from freebsd machine  i reviece the email in by inbox with  from 
as the User Name  and email id as [EMAIL PROTECTED]  ,If i want to change the email as 
[EMAIL PROTECTED]  or  Domain Services  etc etc
| How do i go about and what changes do i have to make .
| Pls suggest
| 
| 
| Shrikant

I use mutt to send mails which is capable of
changing the From: field. Even KMail gives this
facility to you.

-- 
Regards,
Shantanoo Mahajan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]