Re: debian on a mac?

2003-10-15 Thread Shyamal Prasad
"Monique" == Monique Y Herman <[EMAIL PROTECTED]> writes:

Monique> I do love how rapidly debian releases security updates to
Monique> their packages -- this is one area where I suspect that
Monique> Apple isn't as industrious as debian?  Don't know about
Monique> the fink maintainers ...

Hi Monique,

I don't use fink enough to make an accurate statement, but my guess is
that it works like Debian's testing/unstable distributions as far as
security goes.

Monique> Also, I hate to be a cheapskate, but my understanding is
Monique> that using OS X involves paying for a mondo patch every
Monique> year or so.  Apparently the features in the patch are
Monique> generally worth every penny, but it's still money that
Monique> could be going elsewhere.

The OS X patches (security etc.) don't cost money. There is a GUI tool
that does the equivalent of a 'apt-get update' and 'apt-get
upgrade'. Never had to pay any money until now. Going to 10.3 is a
different matter, and I have idea when I'll be *forced* to do so.

Monique> Then of course there's the not-open-ness of the Apple
Monique> software ... I can't claim to be a true open-source snob;
Monique> I definitely use closed-source apps when necessary.  But
Monique> it is definitely a factor, as I'd like to move away from
Monique> closed-source stuff (when it's not too painful, anyway).

Your reasoning is exactly why my own machine runs Debian. I really
don't like Apple's licensing. The only difference between them and
Microsoft is that Apple doesn't own the world.

>> I'd suggest you try OS X if you buy a Mac before you give up
>> and go to Debian or some other Linux distribution. OS X is a
>> Unix (it even comes with emacs, vi and ed out of the box), but
>> just a little wierd.
>> 

Monique> If I can find vim for it, that may be a possibility.

http://fink.sourceforge.net/pdb/package.php/vim

or, to make it more interesting, on the Power Book I see (with fink)

% apt-cache search vim
kvim - KDE - interface to the vim editor
vim - Improved version of the editor "vi"
vim-nox - Improved version of the editor "vi"

I'm going to stay off this thread from here on - this is really off
topic for debian-user discussion since fink is not Debian in any way.

Cheers!
Shyamal


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



Re: debian on a mac?

2003-10-15 Thread Shyamal Prasad
"Colin" == Colin Watson <[EMAIL PROTECTED]> writes:

Colin> On Wed, Oct 15, 2003 at 05:46:15PM -0500, Shyamal Prasad
Colin> wrote:
>> I'd suggest you try OS X if you buy a Mac before you give up
>> and go to Debian or some other Linux distribution.

Colin> Moving to Debian is not "giving up"! :-P

To me moving to Debian would certainly be "giving up" on the Mac
OS ;-)

Debian is so familiar, and is so slick from a design standpoint, that
the temptation to use it instead of OS X would be (and is) very strong
for me.  I personally don't have a single killer application on the
Mac that would make me want to use it.

Cheers!
Shyamal


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



Re: debian on a mac?

2003-10-15 Thread Shyamal Prasad
"Monique" == Monique Y Herman <[EMAIL PROTECTED]> writes:

Monique> So, question for people who have used this architecture
Monique> before: If I buy a system from Apple, how hard would it
Monique> be to reconfigure it for dual-boot?  Single-boot debian?
Monique> What is the Mac way to resize/move partitions?  What does
Monique> one use for a boot-loader?  I know that OS X is based on
Monique> BSD, but I don't know how easy it is to get, say, xfree86
Monique> or gnome compiled and running on it.

Monique> How much functionality should I expect from debian on a
Monique> mac compared to my x86 setup?  Are packages as readily
Monique> available?


I don't run Debian on a Mac, so perhaps this is off topic ;-) 


Here is another take on your idea: We (my wife and I) own two Mac's -
a G4 desktop, and a 15" Powerbook. I use a Debian x86 desktop most of
the time, my wife uses the Macs most of the time.

I never got around to installing any dual boot system on the Macs,
though originally I had planned on it. I simply use OS X when I use
them. You can install XFree86 off Apple's web site, the developer
tools (gcc and friends) are a free download, and the fink project
(hosted on sourceforge) uses a dpkg based system to port software to
OS X (fink is not Debian, but you get apt-get, dselect etc. and a
bunch of packages). The core OS X (Darwin) OS is a basic Unix system
and comes with most of the utilities you'd expect.

Right now I'm writing this on a Mac G4 desktop which I am using to ssh
into my Debian Linux box with X Forwarding - so I am using the Mac
simply as an X Terminal. That is because my wife is playing PySol on
the Debian box with it's 21 inch monitor and three button mouse ;-)

I'd suggest you try OS X if you buy a Mac before you give up and go to
Debian or some other Linux distribution. OS X is a Unix (it even comes
with emacs, vi and ed out of the box), but just a little wierd.

Cheers!
Shyamal


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



Re: via-rhine.o

2003-10-11 Thread Shyamal Prasad
"Nicolas" == Nicolas Godzik <[EMAIL PROTECTED]> writes:

Nicolas> it is saying /lib/modules/2.2.20/net/via-rhine.o:
Nicolas> init_module: Device or ressource busy ...

Most likely via-rhine is built into the 2.2.20 kernel. Check the
output of dmesg to see if your card is already up (or just look at the
output of ifconfig).

Cheers!
Shyamal


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



Re: Licensing requirements ???

2003-10-11 Thread Shyamal Prasad
"Joey" == Joey Hess <[EMAIL PROTECTED]> writes:

Joey> Chris Spencer wrote:
>> That's correct.  You must purchase a MySQL license to use it in
>> this fashion.  Apache, PHP, and Debian are all fine.  No
>> purchase is required.
>> 
>> > What are the repercussions to my client, as a result of this
>> model?
>> 
>> Buy MySQL.  Make the product.  Sell the product.

Joey> The situation you describe would mean that mysql would be
Joey> non-free, and thus not part of Debian.

mysql is licensed under GPL, but the original poster wanted to keep
certain modifications to the complete application proprietary. To do
this they would have to purchase a commercial license from MySQL AB.

I don't remember how exactly it was done, but the MySQL licensing
terms define any application that uses the database to implement a
major part of its features is deemed a "modification" (or something
similar) of mysql, and so the entire application must be GPL'ed.

Cheers!
Shyamal


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



Re: Redhat user wishing to try Debian - confused.

2003-09-28 Thread Shyamal Prasad
"Tarun" == Tarun Ramakrishna Elankath <[EMAIL PROTECTED]> writes:

Tarun> I wish to install Debian and take advantage of its package
Tarun> management system. However I read that one mustn't try the
Tarun> stable release of Debian as its very old, and must go for
Tarun> the unstable release instead.

Stable was released in the summer of 2002, and frozen several months
before that. So, yes, it does not have the latest versions of XFree86,
KDE, Gnome, gcc and so on. But, as the name suggests, it is very, very
stable, with excellent support for security patches. 

The testing version (sarge) is much more to "up to date" and is
actually about as stable as a Linux distribution needs to be for
almost all normal use. 

Sid is the bleeding edge where packages first enter the mainstream,
and in theory it can be unstable and might break a few things some
days and fix itself up a few days later. I've heard many people say it
works pretty well (never tried it myself).

Tarun> I am now rather confused on whether to download Sid, Woody
Tarun> or Sarge.

Tarun> Any help/tips/advice to an intermediate linux
Tarun> user/developer wishing to install Debian would be much
Tarun> appreciated.

Ask your self what you want to do. I run Woody (stable) on server
style machines (these have uptimes over 350 days, don't run an XServer
etc.), and Sarge (testing) on my laptop. My home workstation actually
runs Woody (I don't use GNOME/KDE etc. and my video card is a $20 Mach
64).

One thing to do is to install Woody. Try it, and if it hurts, update
to Sarge, and then even to Sid. The nice thing about Debian is you can
do this ;-)

Cheers!
Shyamal


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



Re: Wireless letworking

2003-09-22 Thread Shyamal Prasad
"christophe" == christophe barbe <[EMAIL PROTECTED]> writes:

christophe> At least in debian/unstable ifupdown, iwconfig support
christophe> is integrated.  That means that you don't need to use
christophe> the up clause but can write things like:

This is also true in debian/stable (and I can't remember for sure, but
it might even have been true in potato, it's been a while.?).

christophe> iface eth1 inet static
christophe>address 192.168.150.13
christophe>netmask 255.255.255.0
christophe>gateway 192.168.150.1
christophe>essid roach

Cheers!
Shyamal


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



Re: missing initrd image

2003-09-21 Thread Shyamal Prasad
"Matthew" == Matthew Bennett <[EMAIL PROTECTED]> writes:

Matthew> Shyamal Prasad wrote:

>> What are the contents of /etc/modules on your system. I suspect
>> most of the errors you are seeing have to do with the contents
>> of /etc/modules.conf

Matthew> I gather /etc/modules is a list of modules to be loaded;

Hi Matthew,

Yes, it is a list of modules loaded during the boot process. If you
can read scripts look at the script /etc/init.d/modutils (and if you
understand the boot process, this is run as /etc/rcS.d/S20modutils).

Matthew> is the problem that in trying to load these modules,
Matthew> modprobe is following 'bad' entries in /etc/modules.conf?
Matthew> I've pasted modules.conf at the bottom (stripped of most
Matthew> comments)

I'm guessing here, but I suspect that is what is happening (since I
started using the Debian 2.4.x kernels I've hardly ever built a custom
kernel). I'd suggest you make a list of every module reported as
missing during the boot process and see if it matches a line in the
/etc/modules.conf file.

>> How are you assigning IP addresses to your network
>> interface. Is it via a DHCP server? If so, check to see it the
>> DHCP query brought up the interface.

Matthew> It's using DHCP. I'm not sure what you're saying I should
Matthew> do, but I know the DHCP server is working for the name
Matthew> I've assigned to the machine since it works when I boot
Matthew> into Windows with the same name, and before I switched to
Matthew> the new kernel, the network was fine.

I suspect you are missing something simple with the new kernel. Do you
know that the new kernel is finding the ethernet card? Check the
output of dmesg to see, for example, on my box:

~$ dmesg | grep eth0
eth0: VIA VT6102 Rhine-II at 0xe400, 00:50:2c:03:26:a8, IRQ 11.
eth0: MII PHY found at address 1, status 0x7829 advertising 01e1 Link 45e1.
eth0: Setting full-duplex based on MII #1 link partner capability of 45e1.

Or, just use ifconfig (as root, or you need to explicitly type
/sbin/ifconfig) and see if an ethernet card is listed.

If not, perhaps you need to add a module name to /etc/modules on start
up based on the hardware you have. The best way to find the name of
the module is to boot with the old kernel and look in dmesg for
identifying information. Using the new kernel try 'modprobe '
to see if the ethernet card comes up (use /sbin/ifconfig to check,
look at dmesg output etc.).

If your ethernet card is up the most likely mistake you made while
configuring your kernel is leaving out the packet filter stuff that
dhclient needs. A quick Google search should find a lot of
references. Try running 'dhclient eth0' by hand to see what is going
on when DHCP runs. 

I've never used names to bind DHCP addresses to a specific machine,
but I suspect you should get a DHCP address in any case. See 'man
interfaces' and I believe you are looking for the "client"
specification for the name if you want to use the same machine name as
the Windows set up when getting your DHCP address.

All the stuff I'm saying are hints. Combined with man pages and
searching archives you should be able to get this working again. Good
luck. 

Cheers!
Shyamal


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



Re: missing initrd image

2003-09-21 Thread Shyamal Prasad
"Matthew" == Matthew Bennett <[EMAIL PROTECTED]> writes:

Matthew> I'm using 3.0r1 with a custom 2.4.22
Matthew> kernel. /boot/grub/menu.lst contains: 

title Debian
root (hd0,6)
kernel /vmlinuz root=/dev/hda7
initrd /initrd

Matthew> However, /initrd is an empty directory on my system, so
Matthew> it complains and I have to manually enter the first two
Matthew> lines in the grub shell to boot. Booting this way causes
Matthew> a lot of 'modprobe: Can't locate module char-major-xyz'

You should set initrd to the name of the *file* containing the initrd
image you want to use. To create initrd images see 'man mkinitrd'.

What are the contents of /etc/modules on your system. I suspect most
of the errors you are seeing have to do with the contents of
/etc/modules.conf

Matthew> errors, and although I can ping localhost, trying
Matthew> anywhere else fails with 'network unreachable.

I don't think this fault has anything to do with your initrd
image. How are you assigning IP addresses to your network
interface. Is it via a DHCP server? If so, check to see it the DHCP
query brought up the interface.

Matthew>  From what I've read, loading initrd seems to be
Matthew> necessary for loading modules, but I don't really know
Matthew> what its function is. Should I have an initrd image, and
Matthew> why is /initrd an empty directory? Thanks for any help.

initrd is used to load modules that are required to boot the system,
but are needed before the file system is available. If you don't have
this case you don't need it. On a custom kernel you really don't have
a reason to use initrd. The canonical case for initrd is to load a
file system module to boot a root partition that uses that very file
system. 

Cheers!
Shyamal



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



Re: Equation system resolver

2003-09-17 Thread Shyamal Prasad
"ripley" == ripley   writes:

ripley> Is there a equation system resolver in debian or linux in
ripley> general?  Basicly, I need to resolv equation systems or
ripley> simplify very long and complicated equations.

It's been a very long time since I've looked for stuff like this, but
GNU Octave is a Matlab like system that might be what you are looking
for. 

Cheers!
Shyamal


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



Re: Which FS to use ?

2003-09-17 Thread Shyamal Prasad
"Willem" == Willem Smit <[EMAIL PROTECTED]> writes:

Willem> Hey guys (are there any girls on this list - hmm) Which
Willem> filesystem would you recommend for a biggish (10 gig)
Willem> partition ? At the moment I'm using Ext2fs and I really
Willem> have to use something else, it's just way to slow. So
Willem> should i use Reiser or Ext3fs ? Or is there maybe another
Willem> fs I can use ?

What kind of application is it that is "way too slow" with ext2? I use
ext3 with an 80G drive and it is never slow. ext2 should've been
faster. I can recommend ext3 as a good choice, it works great for me.

Perhaps you don't have DMA turned on?

Cheers!
Shyamal


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



Re: Disk I/O stalling whole system ..

2003-09-08 Thread Shyamal Prasad
"Mariano" == Mariano Kamp <[EMAIL PROTECTED]> writes:

Mariano> Hi, when copying from one ide disk to another ide disk on
Mariano> the the same controller the whole systems stalls. I am
Mariano> running 2.4.19 on unstable.

Do you have DMA enabled on your HD?

hdparm /dev/hd?

Cheers!
Shyamal


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



Re: CUPS alternative?

2003-09-04 Thread Shyamal Prasad
"Matt" == Matt Price <[EMAIL PROTECTED]> writes:

Matt> Are there any workable alternatives to CUPS?  Any
Matt> alternatives that folks actually RECOMMEND using?  It would
Matt> be great to run a somewhat leaner print system...

lpd?

Between somewhere in 1994 until about a year ago I used the standard
lpd package spooler with apsfilter and associated filters (mostly on
Slackware, I switched to Debian somewhere in 2000). It worked great
for me, and I'm not sure CUPS is any better (yet).

Cheers!
Shyamal


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



Re: ppp0 as default?

2003-09-04 Thread Shyamal Prasad
"John" == John Kerr Anderson <[EMAIL PROTECTED]> writes:

John> Hi, I have a machine that has been on an ethernet network,
John> but is being switched to a standalone dialup computer.  I
John> cannot tell the computer to use ppp0 as the default route.

John> I issue the command  but everytime I
John> reconnect, it must be issued to use ppp0 again.

John> What command can I issue that will tell the computer to use
John> ppp0 as default???  I tried playing with the  option,
John> but claims I need an IP address.

Do you have a default route listed in /etc/network/interfaces (using
the 'gateway' keyword)? If so,  take it out. I am presuming, of
course, that your ethernet card no longer provides a default route at
any time.

As I recall, the ppp scripts will not add a default route if one
already exists. This is the case with a Sarge laptop I work with when
I use wvdial to dial into a network.

Good luck.

Cheers!
Shyamal


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



Re: Mysql --with-innodb

2003-09-03 Thread Shyamal Prasad

"Evgeny" == Evgeny Boksha <[EMAIL PROTECTED]> writes:

Evgeny> hi2all does Mysql in .deb pacet in stable debian woody
Evgeny> 3.0.r1 compiled --with-innodb options?

I believe it does. From the Debian readme file:


* INNOBASE:
===
To enable innobase support take a look at the example configs in
/usr/share/doc/mysql-server/examples. You have to specify at least 
some of those variables. Take a look at /var/log/mysql/mysql.err and 
of course the docs.


I don't use MySQL much at all (PostreSQL is my poison) so that is all
I know about it.

Cheers!
Shyamal


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



Re: lm-sensors

2003-09-02 Thread Shyamal Prasad

"no-spam" == no-spam   writes:

no-spam> Should I compile it from the lm-sensors-source package?
no-spam> What is the easiest way to do this?

It's been two years, but I downloaded the lm-sensors-source package
and built it following the instructions that came with the package
(for the stock 2.4.18-k7 kernel). The only thing I remember was that
the process was quite forgettable. Now, getting the sensors pacakge
configured correctly was a different story ;-)


Relevant output from dpkg is:

ii  libsensors1   2.6.3-5
Library to read temperature/voltage/fan sensors
ii  lm-sensors-2.4.18-k7  2.6.3-1+10.00.Custom 
Kernel drivers to read temperature/voltage/fan sensors
ii  lm-sensors-source 2.6.3-5 
Kernel drivers to read temperature/voltage/fan sensors (source)

The second package is my custom built .deb

Cheers!
Shyamal


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



Re: xmms, esound in mixed stable/unstable

2003-09-02 Thread Shyamal Prasad
"Johann" == Johann Koenig <[EMAIL PROTECTED]> writes:

    Johann> Shyamal Prasad <[EMAIL PROTECTED]> wrote:
>> 
>> for how to check this out. To enable DMA on boot up try
>> 
>> apt-get install hwtools 
>> editor /etc/init.d/hwtools

Johann> hdparm is in it's own package these days: apt-get install
Johann> hdparm

Good point ;-) I was referring to hwtools as a good place to get a
init.d script from where to run hdparm on start up. As you point out, a
custom kernel can do this in any case. The Debian stock kernels do not
do this.

At any rate, this might not be the original poster's problem

Cheers!
Shyamal


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



Re: xmms, esound in mixed stable/unstable

2003-09-01 Thread Shyamal Prasad
"John" == John Holland <[EMAIL PROTECTED]> writes:

John> I just switched my laptop to Debian. I'm using a mix of
John> stable and unstable. Sound works with ogle, but with xmms or
John> xine it is very choppy.

A common mistake people make with Debian starting out is not enabling
DMA on the drives. Debian does not do this automatically.

man hdparm

for how to check this out. To enable DMA on boot up try

apt-get install hwtools
editor /etc/init.d/hwtools

Cheers!
Shyamal


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



Re: telnet localhost slow, telnet 127.0.0.1 ok

2003-08-16 Thread Shyamal Prasad
"Rupert" == RUPERT LEVENE <[EMAIL PROTECTED]> writes:

    Rupert> Shyamal Prasad <[EMAIL PROTECTED]> wrote:
>> "Rupert" == RUPERT LEVENE <[EMAIL PROTECTED]> writes:

Rupert> Antony Gelberg <[EMAIL PROTECTED]> wrote:
>> >> On Sat, Aug 16, 2003 at 12:25:16AM +0100,
>> >> [EMAIL PROTECTED] wrote:
>> >>> Running strace telnet localhost 22 shows that it's trying
>> to >>> resolve the hostname localhost by querying the
>> nameserver. I >>> thought that shouldn't happen with my setup,
>> though.

>> >> Does your /etc/host.conf contain order hosts,bind

Rupert> Yes, it does.

>> I did not see the original post, but the other thing you must
>> have is that /etc/hosts must resolve local host to 127.0.0.1
>> too

Rupert> Yes, I have this. Here is another list of things I think
Rupert> could be relevant.

Hi Rupert,

The mystery deepens since I looked at your configs and compared with
mine, and they are the same. The thing is, uh, when I run strace I see
the same thing happen. I can see a query going to my local name
server. 

I've never noticed this because (a) I don't use telnet and (b) my
nameserver responds quickly enough that I don't notice any wierd
delay. 

Now I'm really interested in the solution for your problem. Sorry I
can't give you a solution ;-)

Incidentally, ssh does not do this odd lookup and works exactly how
I'd have expected telnet to.

Cheers!
Shyamal


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



Re: telnet localhost slow, telnet 127.0.0.1 ok

2003-08-16 Thread Shyamal Prasad
"Rupert" == RUPERT LEVENE <[EMAIL PROTECTED]> writes:

Rupert> Antony Gelberg <[EMAIL PROTECTED]> wrote:
>> On Sat, Aug 16, 2003 at 12:25:16AM +0100,
>> [EMAIL PROTECTED] wrote:
>>> Running strace telnet localhost 22 shows that it's trying to
>>> resolve the hostname localhost by querying the nameserver. I
>>> thought that shouldn't happen with my setup, though.

>> Does your /etc/host.conf contain order hosts,bind

Rupert> Yes, it does. Sorry

I did not see the original post, but the other thing you must have is
that /etc/hosts must resolve local host to 127.0.0.1 too, along the
lines of

127.0.0.1   localhost

Make sure this is the *first line* that resolves localhost. If you've
checked /etc/host.conf you've probably done this too, but it never
hurts to ask.

Cheers!
Shyamal


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



Re: Mail Setup

2003-08-14 Thread Shyamal Prasad
"mustafa" == mustafa taha al-shawaf <[EMAIL PROTECTED]> writes:


mustafa>mustafa> [EMAIL PROTECTED] SMTP error from remote
mustafa> mailer after MAIL FROM:<[EMAIL PROTECTED]> SIZE=1475: host
mustafa> students.uiuc.edu [128.174.5.39]: 553 5.1.8
mustafa> <[EMAIL PROTECTED]>... Domain of sender address [EMAIL PROTECTED] does
mustafa> not exist

mustafa> As you can probably guess, my login is mta and I called
mustafa> my machine Tiger. 

You should set the qualify_domain "uiuc.edu" (or what ever your
ISP/SMTP hosts domain name is), and set qualify_recipient to
Tiger. The UIUC SMTP server is refusing to accept mail from the
unknown domain "Tiger". 

The email-addresses rule in exim.conf should also be modified to be
applied to [EMAIL PROTECTED] and not [EMAIL PROTECTED]

Of course these changes mean that you want to treat your local users
as if all thier email was handled at uiuc.edu. But that is what you
want, right? You can still get to real users by adding '-real' before
the name (i.e. to get to the local mta account you use real-mta).

Also, as a general rule, I don't capitalize domain/host names. It's
not supposed to make a difference, but;-)

Cheers!
Shyamal


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



Re: building an initrd

2003-08-14 Thread Shyamal Prasad
"Benedict" == Benedict Verheyen <[EMAIL PROTECTED]> writes:

Benedict> Can you specify what goes in initrd? For instance if i
Benedict> want to add a module and have that loaded before the
Benedict> file system is mounted? For instance LVM support.

Yes, you can. Look in /etc/mkinitrd/* and the file you want is in
/etc/mkinitrd/modules. Also the /usr/sbin/mkinitrd command is a shell
script so it is pretty easy to figure out what it does.

Benedict> Also, in case you would need to load several modules,
Benedict> isn't there a danger the initrd image would become to
Benedict> big?

Yes.

I wish I could tell you how to make boot floppies with initrd, but I
don't know. I guess you could Google just like I would ;-)

Cheers!
Shyamal



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



Re: how do I get the "you have new mail"

2003-08-14 Thread Shyamal Prasad
"Jake" == Jake Johnson <[EMAIL PROTECTED]> writes:

Jake> How do I get the message to say you have new mail at the
Jake> shell prompt?  Is someting looking for a specific directory
Jake> or file?

$ echo $MAILCHECK 
60
$ man bash
.

and look for MAIL, MAILCHECK and MAILPATH variables.

Of course this works for bash (another poster has already pointed out
biff to you, give it a shot too). Most "modern" shells have similar
functions (for csh I believe the variable is mail).

Cheers!
Shyamal


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



Re: hdparm startup

2003-08-11 Thread Shyamal Prasad

"Nyc0n" == nyc0njunkmail   writes:

Nyc0n> :o="urn:schemas-microsoft-com:office:office"
Nyc0n> xmlns:w="urn:schemas-microsoft-com:office:word"
Nyc0n> xmlns="http://www.w3.org/TR/REC-html40";>

Nyc0n> Once you get hdparm working the way you want it to with
Nyc0n> your drives what is the best way to make it start up at
Nyc0n> boot? Put something in the /etc/rc.S file and make it
Nyc0n> executable? Can someone post a script they have written so
Nyc0n> I can see what it looks like etc?:p>

apt-get install hwtools
$EDITOR /etc/init.d/hwtools

It is pretty clear where you can turn on DMA etc with hdparm when you
look at the file.

Happy computing.

Cheers!
Shyamal


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



Re: jdk1.4? compatible tomcat?

2003-08-07 Thread Shyamal Prasad
"nori" == nori heikkinen <[EMAIL PROTECTED]> writes:

nori> hey all, i certainly don't understand all the technicalities
nori> of debian + java, but i do know that i can apt-get install
nori> jdk1.1, but not jdk1.4.  why is this?  this is particularly
nori> frustrating for me right now, as i need jdk1.4 and tomcat
nori> 3.3, but can only get the latter with jdk1.1 via apt.

You can certainly get jdk1.3.1 from Blackdown, and this works with the
Tomcat 4.0.4 in Woody/Sarge and also (as I found out in the last few
days) with Tomcat 4.1.24 in Unstable.

I use the following apt sources.list line for JDK

deb ftp://ftp.tux.org/pub/java/debian woody main non-free

I believe Blackdown has a 1.4 JDK availale.

http://blackdown.org/

The problems with Debian and Java have mostly to do with the way Sun
licenses certain parts of the Java specification etc.

Cheers!
Shyamal


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



Re: Permissions denied when enabling DMA

2003-08-03 Thread Shyamal Prasad

"Marc" == Marc Wilson <[EMAIL PROTECTED]> writes:

Marc> Using hdparm to force DMA is a bad, bad, BAD idea.  The
Marc> kernel usually has very good reasons for not enabling it.

This might be true for many kernel distributions, but does not apply
to Debian. The prebuilt Debian kernels will not turn on DMA for IDE
drives automatically (which is kinda cool because you can install on
systems that have DMA related bugs, but kinda sucks for newbies).

$ grep DMA /boot/config-2.4.18-k7 
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_BLK_DEV_ADMA=y
# CONFIG_IDEDMA_PCI_AUTO is not set


A "standard" procedure to turn on DMA is to install the hwtools
package and then edit /etc/init.d/hwtools to run hdparm at boot up.

Cheers!
Shyamal


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



Re: reiser kernel support?

2003-07-26 Thread Shyamal Prasad
"hashi" == hashi  <[EMAIL PROTECTED]> writes:

hashi> I was informed that

hashi>  mount: fs type reiser not supported by kernel

hashi> Now I presume that this means that I have failed to install
hashi> reiser support for the kernel -- but mkreiserfs did not
hashi> seem to have any relevand dependencies.  Just what *do* I
hashi> have to install to get the necessary kernel support?

What kernel are you using? 

With the 2.4.18-{arch} kernels in Woody you will need to 'modprobe
reiserfs' before you can mount if your system is already running. It
is not a bad idea to add a line with 'reiserfs' in /etc/modules if you
are not booting from a reiserfs file system (the initrd image should
allow you too boot from such a file system, I've never done it though,
being partial to ext3).

The 2.2.x kernels in the Woody install series do not support
reiserfs. Go ahead and install 2.4.18 for your processor (apt-get
install kernel-image-2.4.18-{arch} should do it for you, where {arch}
is your architecture).

The bf2.4 kernel has it built in (and I suppose you are not running it
since you can't mount).

Cheers!
Shyamal


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



Re: Can't enable DMA

2003-07-26 Thread Shyamal Prasad
"Andrew" == Andrew McGuinness <[EMAIL PROTECTED]> writes:

Andrew> If you look at the pci_ids.h for 2.4.18, you can see that
Andrew> there is an id for the VT8233, which it seems you have
Andrew> with the KT266, but not for the VT8235, which Aaron has
Andrew> with is KT266A and I have with my KM266.

Andrew> http://lxr.linux.no/source/include/linux/pci_ids.h?v=2.4.18#L961

Yes. Now I have to figure out why my motherboard is reported as KT266
when the manufacturer insists in all documentation that it is really a
KT266A based board ;-)

Cheers!
Shyamal


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



Re: Can't enable DMA

2003-07-26 Thread Shyamal Prasad

"Andrew" == Andrew McGuinness <[EMAIL PROTECTED]> writes:

Andrew> Aaron wrote:
>> 
>> I've been having this same problem, but apparently my VIA
>> version doesn't match 82CXXX, so I'm completely dead in the
>> water for DMA (I know, VIA is bad). I want to buy a PCI IDE

Andrew> You need a newer kernel.  Stock 2.4.18 wasn't up-to-date
Andrew> with VIA agp chipsets -- Red Hat always patch their
Andrew> kernels with driver updates, which is why your Red Hat
Andrew> system worked.

While this is true I'd be interested in what AGP has to do with DMA. I
have a KT266A based motherboard (Soyo K7V Dragon+), and I run Debian's
2.4.18-k7, and DMA works great for me???

Perhaps it is because I do not load the agpgart module. I don't use
AGP because I use a $20 Mach64 card to throw a lot of pixels on to my
21 inch monitor for emacs and xterms. No fancy graphics and stuff. Is
it the act of turning on AGP that causes the 2.4.18 kernel to make DMA
unavailable?

[EMAIL PROTECTED]:~$ dmesg | grep agp
[EMAIL PROTECTED]:~$ dmesg | grep KT
[EMAIL PROTECTED]:~$ /sbin/lsmod | grep agp
[EMAIL PROTECTED]:~$ lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8367 [KT266]
00:01.0 PCI bridge: VIA Technologies, Inc. VT8367 [KT266 AGP]
00:0e.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8233 PCI to ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06)
00:11.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 1b)
00:11.3 USB Controller: VIA Technologies, Inc. UHCI USB (rev 1b)
00:11.4 USB Controller: VIA Technologies, Inc. UHCI USB (rev 1b)
00:12.0 Ethernet controller: VIA Technologies, Inc. Ethernet Controller (rev 70)
01:00.0 VGA compatible controller: ATI Technologies Inc Rage XL AGP (rev 27)
[EMAIL PROTECTED]:~$ sudo /sbin/hdparm /dev/hda

/dev/hda:
 multcount= 16 (on)
 I/O support  =  1 (32-bit)
 unmaskirq=  1 (on)
 using_dma=  1 (on)
 keepsettings =  0 (off)
 nowerr   =  0 (off)
 readonly =  0 (off)
 readahead=  8 (on)
 geometry = 7297/255/63, sectors = 117231408, start = 0
 busstate =  1 (on)


Cheers!
Shyamal


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



Re: bash: finding if mozilla is running

2003-07-26 Thread Shyamal Prasad

"David" == David selby <[EMAIL PROTECTED]> writes:

David> PS what is this Galleon thing ?

That's any easy question to answer ;-)

$ dpkg -p galeon
Package: galeon
Priority: optional
[...deleted.]
Description: Mozilla based web browser with GNOME look and feel
 Galeon is a fast Web Browser for the GNOME Desktop Environment.
 .
 Galeon's use of Mozilla's Gecko rendering engine makes it more feature
 complete and standards compliant than most other browsers available.
 .
 By using the GNOME and GTK libraries for the user interface, Galeon is
 usually faster than mozilla and the interface integrates well with the
 GNOME Desktop Environment.


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



Re: Why pppoe bothers to bring the interface up?

2003-07-24 Thread Shyamal Prasad
"Shaul" == Shaul Karl <[EMAIL PROTECTED]> writes:

Shaul>   /etc/ppp/ppp_on_boot.dsl has the following lines:
# Bring the interface up
/sbin/ifconfig $INTERFACE up

Shaul> Why bother? Isn't /etc/rc0.d/S35networking guaranteed to
Shaul> run before the pppoe has a chance to bring the interface
Shaul> up?  --

/etc/init.d/networking will only bring up those interfaces that are
marked with the 'auto' keyword in /etc/networks/interfaces. 

Does that explain it (I don't use the ppp script so I don't know, I'm
guessing)

/Shyamal


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



Re: configuring DHCLIENT-2.2.x

2003-07-22 Thread Shyamal Prasad
"Lars" == Lars Unin <[EMAIL PROTECTED]> writes:

Lars> A network install is how I installed Debian in the first
Lars> place, THAT WORKED.  Its inside woody that it doesn't.

The network install and Woody are the same thing, are they not? What
do you mean by "inside woody"?
 
Lars> I followed the full instructions at
Lars> 
http://WWW.DEBIAN.ORG/releases/stable/i386/ch-install-methods.en.html#s-boot-drive-files
 
And I guess it worked, right? You installed the base system,
downloaded packages and everything?

Lars> install in order as the manual said, in fact I only loaded
Lars> my card when it prompted me for network information, and it
Lars> worked, it just doesn't in woody.  --

This is the part where I get completely confused, when you say
"doesn't in Woody." You booted a Woody install kernel (2.2.x), you
configured your network card with it, got a DHCP address, downloaded
packages and so on. Then what went wrong?

Cheers!
Shyamal


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



Re: can't configure authentication in exim

2003-07-22 Thread Shyamal Prasad
"Francesc" == Francesc Oller <[EMAIL PROTECTED]> writes:

Francesc> Hi all!  I'm trying to configure exim 3.35 as relying to
Francesc> a outgoing smarthost which

Francesc> client_send = ": francesc oller : my_passwd"

I'm *guessing* that exim is being tripped up by the space in your user
name. I would try escaping the space so you have "francesc\ oller" for
your user name and see if that helps. I use exactly the same syntax
and it is working for me.

This is just a guess, based on section 36.2 of the manual that says
"Each string is independently expanded before being sent to the
server" regarding the values between the colons.

If all else fails, run ethereal and look at what exim sends out ;-)

Cheers!
Shyamal


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



Re: configuring DHCLIENT-2.2.x

2003-07-21 Thread Shyamal Prasad
"Lars" == Lars Unin <[EMAIL PROTECTED]> writes:

Lars> I installed using a hard disk net install with kernel
Lars> 2.4.18-bf.  i'll have a go at downloading packages,
Lars> otherwise i've just about given up.

What is a "hard disk net install"? Probably you need the initrd tools
etc. Perhaps if I understood how you installed Debian (give me a link
to a web page or something) perhaps I could help.
 
Lars> When sarge is released I may come for another look,
Lars> otherwise though Debian doesn't seem to be up to scratch
Lars> yet.

Well,...;-)

I'm sorry it is not working out for you. If your network card is not
supported by the installer (which seems to be the case) a network
install is going to be, well, kinda hard :-)

Cheers!
Shyamal


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



Re: Choice of MTA

2003-07-21 Thread Shyamal Prasad
"Haines" == Haines Brown <[EMAIL PROTECTED]> writes:

Haines> I don't want to start a flame war, but need some input in
Haines> order to choose a mail transport agent.

A flame war you will start ;-)

There was a recently (in the last week or so) a long, noisy thread on
debian-devel about what the default Debian MTA should be. I'd
recommend you go read the archives.

Haines> many years, but need a comparison), postfix (which I
Haines> gather is readily configured to solve a problem I'm

It might help the quality of the replies you get if you told us what
the specific problem was.

Haines> My aim is to use the MTA with rmail (emacs) and mutt in a
Haines> text rather than gui environment on a standalone

This is not really a criteria for an MTA choice.

Haines> workstation. Stability, debian friendliness,
Haines> straightforward configuration, and spam blocking are my
Haines> principle concerns. The problem is that these parameters
Haines> generally seem marginal to the choice of MTA, and so I'm
Haines> left wondering which way to turn.

I can personally recommend that you go with exim first. It is
relatively friendly, configurable (straightforward? I don't know that
any MTA is that), Debian friendly, and known to be stable. The
eximconfig program will set up exim correctly for most people most of
the time.

Cheers!
Shyamal


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



Re: How to change the user name and password in CUPS?

2003-07-20 Thread Shyamal Prasad

"James" == James Ng Yuen Sum <[EMAIL PROTECTED]> writes:

James> Hi, I am a newbie in CUPS. When I first install CUPS with
James> .tar.bz2 file, I choose the user name and password same as
James> the root.

User name and password for what purpose?

James> I have a problem with I print the test page, which cannot
James> be printed, and the state always is "aborted", therefore, i
James> take the question in the newsgroup in my city's linux
James> community, one helper have the experience same as me, and
James> he solve it when the user name and password is not that of
James> root, so I want to ask how to change the user name and
James> password.

On a default Debian Woody installation there is no password required
to print files. Access is enabled only for localhost. Also, the admin
user needs to be in the group 'lpadmin' so, for example, on my system
I had to execute 'adduser shyamal lpadmin' to add the user 'shyamal'
to the 'lpadmin' group. Then the user 'shyamal' had to logout and log
back in before the group privilege came in effect.

I hope this helps some. See the file /usr/share/doc/cupsys/README.Debian.gz

Cheers!
Shyamal


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



Re: How to kill gdm??

2003-07-20 Thread Shyamal Prasad
"Zhao" == Zhao You Bing <[EMAIL PROTECTED]> writes:

Zhao> Every time when killed gdm will restart itself, so if I
Zhao> start with gdm and later I don't want to see gdm after
Zhao> logout how should I do??

As root, run "/etc/init.d/gdm stop" from a text (virtual) console.

If you always want to boot into text mode and start X manually via
'startx' search the archives, the trick is in renaming
/etc/rc2.d/S99gdm to /etc/rc2.d/K01gdm and so on for each login
manager (gdm, kdm, xdm).

Cheers!
Shyamal


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



Re: configuring DHCLIENT-2.2.x

2003-07-20 Thread Shyamal Prasad
"Lars" == Lars Unin <[EMAIL PROTECTED]> writes:

>> Hso what is the name of you ethernet device? It does
>> sound like it is not eth0. If you type 'ifconfig' as root how
>> many devices are listed and what are their names?
  
Lars> one device only lo the loopback device, but pegasus is
Lars> loaded, hmm im starting to be concerned that the kernel may
Lars> be buggy.

Hi Lars,

At this point it is clear that your problem has nothing to do with the
dhclient program. Rather, you are unable to get your USB ethernet
device to work with your kernel. 

I'm no USB expert, and I have never used a USB ethernet device (my
experience is limited to the USB mouse and keyboard I am using while
typing this). My gut reaction would be to install a 2.4.18 kernel and
the hotplug package before proceeding. 

Can you do this without the network connection? How did you install
Debian? Your source media might allow this to work, or you could
download the files and transfer them to your machine. Install hotplug
first, 2.4.18 kernel only if that does not help any. Your goal needs
to be to get 'ifconfig' to list your ethernet device before anything
else works.

Also, you might want to remove the 'pegasus' line from /etc/modules
when you do this, and remove the line 'auto eth0' from
/etc/network/interfaces since your USB card should be bought up not at
boot up but when it is plugged in. Sorry for telling you to do all
this, but I was trying to understand what your configuration was.



Cheers!
Shyamal


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



Re: fetchmail: lock creation failed

2003-07-19 Thread Shyamal Prasad
"spock" == spock  <[EMAIL PROTECTED]> writes:

spock> generated an error (forgotten now). Sorry to be vague, but
spock> this happened a few weeks ago. Since then, every time I try
spock> and fetchmail, I get the message:

spock>   fetchmail: lock creation failed.

spock> So I'm assuming that some flag has been set so that
spock> fetchmail thinks it is still open or something

In non-root mode fetchmail is supposed to use a lockfile named
~/.fetchmail.pid which I suggest you look for. If it is there, delete
it.

You can start fetchmail in a daemon mode, i.e. you start it once and
have it poll your server constantly, which should keep your serial
line up. For example, to cause a poll every 60 seconds add the line
"set daemon 60" to your ~/.fetchmailrc file, Or use '-d 60' on the
command line.

I'm no fetchmail expert, so I hope I'm not misleading you. Most of
this information can be found in the fetchmail man page.

Cheers!
Shyamal


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



Re: Exim, can send mail but not receive

2003-07-19 Thread Shyamal Prasad

"Gordon" == Gordon Chapman <[EMAIL PROTECTED]> writes:

Gordon> Just installed Exim 3.35, I can send mail from the server
Gordon> and from a machine on the LAN. The machine has the domain
Gordon> MX record pointing to it. The /var/mail/$user user files
Gordon> receive the mail but clients seem incapable of collecting
Gordon> this mail. Using outlook express, get the following Your
Gordon> server has unexpectedly terminated the
Gordon> connection. 

Exim is only a Mail Transfer Agent, it is not a POP or IMAP server
that allows email clients to fetch mail. You need to install and
configure a POP or IMAP server for Outlook Express to be able to fetch
mail. ("apt-cache search pop" and "apt-cache search imap" will help in
looking at your options).

Most Unix style mail clients do not need such servers if they are
running on a machine that can read /var/mail/${user} files. POP is
what Outlook Express is expecting when fetching mail. Exim provides
the SMTP interface that Outlook Express can use to send mail, and SMTP
is also used when mail is exchanged between systems.

Cheers!
Shyamal


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



Re: configuring DHCLIENT-2.2.x

2003-07-19 Thread Shyamal Prasad
"Lars" == Lars Unin <[EMAIL PROTECTED]> writes:

>> If all this fails, just kill any running dhclient process
>> (after doing an ifdown eth0) and try running 'dhclient eth0'
>> and see what it says.
>> 
Lars> Something about a device not found
 
Hso what is the name of you ethernet device? It does sound
like it is not eth0. If you type 'ifconfig' as root how many devices
are listed and what are their names?


Lars> 21:43:14 debian dhclient-2.2.x: /etc/dhclient.conf line 19:
Lars> semicolon expected.  

You seem to have edited /etc/dhclient.conf or there is an error
otherwise on line 19. By default this file is empty because you
usually do not need to add information to it. I would suggest you
comment everything out.

Lars> Jul 19 21:43:15 debian dhclient-2.2.x: Bind socket to
Lars> interface: No such device 

That means you ethernet device does not exist. I am presuming it is
eth0.

Lars> Jul 19 21:43:15 debian dhclient-2.2.x: exiting.

dhclient-2.2.x gave up (good news: the system is selecting the correct
dhclient program).

Let us concentrate on your ethernet device. I am guessing at this
point that the dhclient program is not the root cause of your
problem. You said you are sure it is initialized correctly. Can you
cut and paste the output of ifconfig into an email (I guess the answer
is no). Perhaps the device is not called eth0? I know nothing about
the pegasus driver so..?

Cheers!
Shyamal


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



Re: configuring DHCLIENT-2.2.x

2003-07-19 Thread Shyamal Prasad
"Lars" == Lars Unin <[EMAIL PROTECTED]> writes:

>>  What kernel version are you using. Exactly. (uname -r).
>> 
Lars> 2.2.20

Okay, this was confusing me because I could not tell if you were
running 2.2.x or 2.4.18-bf24. BTW, I have not used a 2.2.x kernel in a
while so I'll try to do this from memory (I use 2.4.18-k7 on this box,
but I know that until you get your network going installing a new
kernel is not an option :-).

>> What is the output of dpkg -l 'dhcp*' | grep ^i showing.
Lars> yep 2.0pl5-11

>>  So 'ifconfig eth0' (or eth* whatever) shows a proper system?
>> 
Lars> No, actually it doesn't and pegasus.o isn't loaded
Lars> automatically so I have to do it myself
Lars> # insmod pegasus

You can add 'pegasus' to the file /etc/modules so it will load
automatically on load up. I suggest you do that because the networking
scripts in /etc/init.d/ expect the ethernet device to be up when they
run. I am assuming that pegasus driver is for a USB based ethernet
device? That brings up another set of issues (regarding hotplug, but
lets get your network up first).

Lars> In mandrake I tell dhcpcd to: root~# dhcpcd -h user.name
Lars> (where i've changed user.name for security reasons) which
Lars> configures It for me, no problems there since, if that
Lars> helps.

In Debian you typically configure the network in the file
/etc/network/interfaces instead of manually invoking dhclient. I
suggest you read 'man interfaces' for details, but basically you need
add these two lines (assuming eth0 is your device, and you have the module
loaded on boot as described above).

auto eth0
iface eth0 inet dhcp

The first line tells the boot scripts (well, actually the ifup
command) to bring eth0 up on bootup, the second says to use dhcp. You
can use the commands 'ifup eth0' and 'ifdown eth0' to bring the
interface up/down after you add these lines to the file. If that works
just reboot and it should come up.

If all this fails, just kill any running dhclient process (after doing
an ifdown eth0) and try running 'dhclient eth0' and see what it says.

>> Finally, you say it does not work? How do you know this? Is it
>> ifconfig output? Or is it that the network does not come up.

Lars> Ifconfig, no network, no way of getting the latest unstable
Lars> packages.gz

Try the suggestions above and let us know where you are. A part of
your problem is that dhclient has a different version for 2.2.x and
2.0.x kernels (look in /usr/share/doc/dhclient for details). But what
I describe above *should* work, and if it does not your problem might
be somewhere else. Now since you are using a USB ethernet device (wow,
I did not even know they exist) there might be something else getting
in the way. If things still don't work, tell us what happens as
precisely as you can.

>>  Cheers!  Shyamal
Lars> How do ya prounounce that out of interest?

Sha-mull (trying saying it like the English words gargle or garble :-)

Cheers!
Shyamal


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



Re: configuring DHCLIENT-2.2.x

2003-07-19 Thread Shyamal Prasad
"Lars" == Lars Unin <[EMAIL PROTECTED]> writes:

Lars> I have a vanilla Debian Woody, no X, I'd like to configure
Lars> DHCLIENT to query the broadband DHCP server to get itself up
Lars> and running, I can do this really easy with 2.4 based
Lars> systems with DHCPCD, but I've never used this tool before,
Lars> and alas the man page is, well, *undescriptive* and Google
Lars> pulls up nothing of use.

Okay, try and give us more *information* so we can help.

What kernel version are you using. Exactly. (uname -r).

What is the output of dpkg -l 'dhcp*' | grep ^i showing. Does it show
that you have dhcp-client 2.0pl5-11 installed (on Woody, or later if
you or on sarge/sid).

How is your broadband connection set up. Do you have a router between
your ethernet cable and the connection?

Is it DSL?

If DSL, do your require PPPoE because your ethernet cable is directly
connected to the DSL modem?

Lars> Assume the network card is loaded up properly. It is anyway.

So 'ifconfig eth0' (or eth* whatever) shows a proper system?

Finally, you say it does not work? How do you know this? Is it
ifconfig output? Or is it that the network does not come up.

And please, please post replies to the list!

Cheers!
Shyamal


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



Re: Can't enable DMA

2003-07-18 Thread Shyamal Prasad
"Anthony" == Anthony Campbell <[EMAIL PROTECTED]> writes:

Anthony> On 18 Jul 2003, John Little wrote:
>> >I'm using 3.0r0 (2.4.18-bf2.4 kernel) with ASRock K7VT2
>> m/board and Maxtor >30GB ATA133 hard disk.  >I tried switching
>> on DMA using hdparm -d1 /dev/hda but got the following >error
>> message:
>> >
>> >HDIO_SET_DMA failed: Operation not permitted
>> >

Anthony> [snip]

Anthony> Not sure if this will help, but with a VIA chipset I had
Anthony> to enable

Anthony> CONFIG_BLK_DEV_VIA82CXXX=y

Anthony> to get DMA to work.

FYI to the original poster this option is set in 2.4.18-bf2.4.

http://ftp.us.debian.org/debian/dists/woody/main/disks-i386/current/images-1.44/bf2.4/kernel-config

Cheers!
Shyamal


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



Re: CD-RW stops working with 2.4.20?

2003-07-18 Thread Shyamal Prasad
"Carl" == Carl Fink <[EMAIL PROTECTED]> writes:

Carl> On Thu, Jul 17, 2003 at 10:09:50PM -0500, Shyamal Prasad
Carl> wrote:
>> I have a file /etc/modutils/cdrw with the following contents:

Carl> Thanks.  I had just found those exact lines in the
Carl> CD-Writing HOWTO, actually.

Carl> What puzzles me is why they're not needed in 2.2.x but are
Carl> with the stock Debian 2.4.20-k7 kernel. 

The 2.4.x kernels are very modular and so you have to take a little
more care about how, when and in what order things are loaded. The
2.2.x kernels had a lot more built into the kernel image. The nice
thing about the 2.4.x kernels is once you figure out how the module
system works you (well, at least I) don't really need to build custom
kernels.

Cheers!
Shyamal


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



Re: CD-RW stops working with 2.4.20?

2003-07-17 Thread Shyamal Prasad
"Carl" == Carl Fink <[EMAIL PROTECTED]> writes:

Carl> I recently upgraded from kernel 2.2.x to 2.4.20 (to get
Carl> support for the Promise ATA/133 controller).  Now I can't
Carl> burn CD's.

Most likely ide-cd is starting before ide-scsi and grabbing your CDROM
device. At least this is the case with 2.4.18-k7 on my box. 

I have a file /etc/modutils/cdrw with the following contents:

# First, get the ide-cd drive to not latch onto /dev/hdd
options ide-cd ignore=hdd
#
#
# Set up an alias for /dev/scd0 to load sr_mod
alias scd0 sr_mod
#
#
# Now get ide-cd followed by ide-scsi loaded before the SCSI drivers
pre-install sgmodprobe ide-scsi
pre-install sr_modmodprobe ide-scsi
pre-install ide-scsi  modprobe ide-cd
# end of cdrw file

Run update-modules and when you boot the next time everything should
be okay (note that hdd is my CDRW drive).

Cheers!
Shyamal


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



Re: fetchmail and port forwarding

2003-07-08 Thread Shyamal Prasad

"Emma" == Emma Jane Hogbin <[EMAIL PROTECTED]> writes:

Emma> On Mon, Jul 07, 2003 at 12:06:38PM -0400, Derrick 'dman'
Emma> Hudson wrote:

>> On Sun, Jul 06, 2003 at 11:08:40PM -0400, Emma Jane Hogbin

>> | Right now I run from the command line: 
>> | ssh my.mail.host -L 8025:localhost:25 
>> | works great. Except I now have a terminal window that I 
>> | can't close.
>> 
>> Unless you background it :-).

Emma> Tried that, it kills the process.

Just checking: you did understand what dman meant, right?

Backgrounding the ssh session means using a flag like -f, -n or
otherwise using the background escape (~^Z or ~&). It absolutely
should not kill the process, otherwise you've got some serious
problems to deal with. ;-)

Apologies if this is all obvious to you!

Cheers!
Shyamal


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



Re: kernel 2.2.x or 2.4.x ?

2003-07-07 Thread Shyamal Prasad
"Shango" == Shango Oluwa <[EMAIL PROTECTED]> writes:

Shango> Why, if 2.4.x is more recent & secure, is my Debian 3
Shango> (woody) CD distribution built with kernel 2.2.20 ?

and in response to several good explanations "Shango" asks:

Shango> Is kernel 2.4.21 considered safe for a production machine
Shango> now?

I don't know about 2.4.21, but I can say this: I've had 2.4.18-686 up
for over 250 days on a workgroup server. The machine provides CVS
repositories, hosts Tomcat and Apache web services, and runs bug
tracking services for a group of about 30 developers. The machine runs
Debian Woody on an old 400 Mhz Dell with 128 MB RAM quite literally
rescued from a closet that got flooded. I have all the security
updates but one installed. I use the ext3 file system.

The 2.4.18 kernels for i386 compatible architectures were recently
patched for security. My uptime should tell you that I don't have
those patches.

Cheers!
Shyamal


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



Re: Bootable Rescue CD-ROM

2003-07-04 Thread Shyamal Prasad
"Sebastian" == Sebastian Kapfer <[EMAIL PROTECTED]> writes:

Sebastian> I'm looking for a bootable rescue CD-ROM with some
Sebastian> Linux-based OS on it (preferrably Debian). It should
Sebastian> include utilities like fdisk and mkfs, parted, grub,
Sebastian> bash (please, no ash!), vim, ssh and a reasonable ftp
Sebastian> (what about ncftp) client. lynx, X are nice, but not a
Sebastian> requirement. It should be capable of mounting common
Sebastian> filesystems like ext2, xfs, vfat.

LNX-BBC, http://www.lnx-bbc.org/

Cheers!
Shyamal

PS: If you send the FSF $120 to join up as an associate member they
send you a very useful little business card.


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



Re: suggestions for a good MTA?

2003-07-03 Thread Shyamal Prasad
"Tom" == Tom Anderson <[EMAIL PROTECTED]> writes:

Tom> I need some suggestions on a good MTA for a workstation.
Tom> Here's what I'd like for it to be able to handle.

Tom> 1. Immediate delivery of local mail (messages from daemons,
Tom> etc)... in other words I'd like to avoid shipping it off to
Tom> my ISP, since I'm just going to turn around and re-fetch it.
Tom> No address rewriting should occur in this case, because that
Tom> makes it harder to see "at a glance" that it was local.

Tom> 2. Forward outgoing mail to a smarthost, after rewriting the
Tom> addresses as appropriate.

Tom> The hard part seems to be selective rewriting.  Everything
Tom> I've looked at seems to either want to forward everything
Tom> (nullmailer), or rewrite no matter what (exim, etc.).  Is
Tom> there anything which can handle this?

I'm not sure I understand the problem you found with exim. The default
Debian Woody install of exim with the 'smarthost' option seems to do
exactly what you list above as (1) and (2). So what does 'rewrite no
matter what' imply here?

Cheers!
Shyamal


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



Re: apache

2003-07-03 Thread Shyamal Prasad
"Michael" == Michael Wordehoff  writes:

Michael> 1) apache started from inetd ?

Michael> I thought it's not neccessary to have it listen all the
Michael> time.  So i removed the rc symlink, and configured:


I believe this is a truly bad idea. You really do want apache to run
all the time. It is designed to work optimally in that fashion. You
are paying a tremendous cost starting Apache every time. Heck, I'm
actually surprised it even works at all (does it?).


Cheers!
Shyamal


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



Re: Network issue with WOODY

2003-07-03 Thread Shyamal Prasad
"Robert" == Robert Webb <[EMAIL PROTECTED]> writes:

Robert> Hi all, I tried searching the archives with no luck. I
Robert> have a standard load of Debian running and am constantly
Robert> having problems with the network not responding when
Robert> trying to connect to the box. No matter waht I try to hit,
Robert> smtp ssh web, it will not respond unless I try and
Robert> re-connect many times. Once on of the ports accepts a
Robert> copnnection the rest start working also. It is almost like
Robert> the NIC is going to sleep.

Do you  have trouble connecting *from* the box? If not, then the NIC
is probably not going to sleep.

What kind of network do you have. The symptoms you list typically
indicate a network problem. What error do you get when you try to
connect? Does it hang? Does it reject the connection? If you wait a
long time does the connection work out? 

Is your system doing some sort of reverse DNS lookup? Make sure your
/etc/hosts file is good, and /etc/resolv.conf has hosts before bind.

I hope this gives you a couple of straws to clutch on. More
details would help us help you.

Cheers!
Shyamal


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



Re: Turn on DMA on boot

2003-07-02 Thread Shyamal Prasad
"Dan" == Dan Collis Puro <[EMAIL PROTECTED]> writes:

Dan> Anyway: What would be the most "Debian" way to turn on DMA
Dan> (essentially run "hdparm -d1 /dev/hda") on boot? I could
Dan> (probably) add something in /etc/rc2.d, but that just seems
Dan> dirty.

The commonly accepted "Debian way" seems to be

# apt-get install hwtools
# vi /etc/init.d/hwtools


Cheers!
Shyamal


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



Re: ext3 and Kernel 2.4.18

2003-07-02 Thread Shyamal Prasad

"paladin" == paladin  <[EMAIL PROTECTED]> writes:

paladin> Hi, On Sun, 29 Jun 2003 17:29:10 +0100
paladin> "Adam Gent" <[EMAIL PROTECTED]> wrote:

>> I want to run my main file system as ext3 and have already
>> converted it to ext3 and update the fstab file, but whenever I
>> boot the system it loads the root fs as ext2, so it is this
>> that makes me things that ext3 is not compiled into the kernel.

paladin> The kernel can only load modules AFTER mounting the root
paladin> partition.  If you want to mount it as ext3 the kernel as
paladin> to have it inside!

You are mistaken about this (and it is a common misconception). If you
use an initrd image, like the Debian 2.4.x kernels do, you can build
ext3 as a module and boot a machine with an ext3 root file system.

The 2.4.18-{arch} kernels all include ext3 as a module, and you can
use this to load an ext3 root partition. It works out of the box, no
extra magic is required. 

I have some recollection of a bug in the bf24 kernel image in Woody
that caused the ext3 module to not load before ext2, but all the other
images do work (-k7 and -686 certainly do in my own experience).

Cheers!
Shyamal


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



Re: via-rhine & dhclient

2003-07-02 Thread Shyamal Prasad
"ludovico" == ludovico ariosto  writes:

ludovico> Each time I turn onmy computer, I have to give commands:
ludovico> modprobe via-rhine 
ludovico> dhclient

ludovico> How can I have them authomatically executed at every
ludovico> boot? I guess it's simple, but I cannot find the
ludovico> solution in any handbook or any man page.

Edit the file /etc/modules and add a line with the word 'via-rhine' to
it. This will load the via-rhine driver at boot.

Edit /etc/network/interfaces and add the line 'auto eth0' if your
ethernet device is eth0. It should look something like this

auto eth0
iface eth0 inet dhcp

if your ethernet device really is eth0.

Cheers!
Shyamal


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



Re: Apache is killed everyday at 6:28

2003-07-02 Thread Shyamal Prasad
"Maria" == Maria Garcia Suarez <[EMAIL PROTECTED]> writes:

Maria> Hi there!  Problem: Apache is killed everyday at around
Maria> 06:28 System: Debian Woody, kernel 2.4.18, apache 1.3.26

Perhaps thisis normal. Do you have logrotate doing this every morning
by any chance. Look for /etc/logrotate.d/apache and 'man logrotate'.

Maria> file /var/log/apache/error.log: 
Maria> [Sat Jun 28 06:27:20 2003] [notice] SIGUSR1 received.  
Maria> Doing graceful restart 

That graceful restart is a strong clue that this is normal. If so
Apache should be restarting by itself and you would not know about
this unless you looked in the logs.

Cheers!
Shyamal


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



Re: ext3 and Kernel 2.4.18

2003-06-30 Thread Shyamal Prasad
"Adam" == Adam Gent <[EMAIL PROTECTED]> writes:

Adam> Hi All, I am running debian (woody) with the standard kernel
Adam> 2.4.18-bf2.4-xfs [...snip...]

Adam> I want to run my main file system as ext3 and have already
Adam> converted it to ext3 and update the fstab file, but whenever
Adam> I boot the system it loads the root fs as ext2, so it is
Adam> this that makes me things that ext3 is not compiled into the
Adam> kernel.

I have not used the bf2.4 kernels with ext3, and if I remember
correctly there was a time when it was buggy in the way it loaded the
ext3 module at boot. This might still be the case. (But that does make
me ask: are you sure the root file system is being mounted as
ext2? What does /proc/mounts say?)

If you choose any of the other 2.4.18 kernels (e.g. 2.4.18-{arch}
where {arch} matches your CPU architecture) you will find that you do
not need to build the ext3 module into the kernel. All these Debian
kernels use an initrd image that contains the module, and the module
is loaded from initrd before the root file system is mounted. It
should work out of the box for you. It does for me.

Cheers!
Shyamal


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



Re: ssh

2003-06-29 Thread Shyamal Prasad
"Oki" == Oki DZ <[EMAIL PROTECTED]> writes:

Oki> [EMAIL PROTECTED]:~$ ssh bdg2 

Try 'ssh -X bdg2'

/Shyamal


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



Re: memory leaks

2003-06-23 Thread Shyamal Prasad
"matt" == matt zagrabelny <[EMAIL PROTECTED]> writes:

matt> note: i dont think the leak is in the normal applications as
matt> mentioned in previous email, something seems to be gobling
matt> up memory even before i log in to an x environment.

What do you have matching  /etc/rc2.d/S* on your system (I am assuming
that your default run level is 2)? Those are the daemons that your
system starts at boot. 

I would try and save a full ps listing at boot up and let the system
run overnight with minimal user activity. Then take a look at the ps
listing the next morning or when you say the problem occurs. You might
have a daemon with a memory leak that itself dies and restarts several
times. Saving the process listing at boot and comparing it with the
daemon process ids when you see the problem might be one way to
approach this (since you say that running top at the time of the
problem does not show anything obvious).

I run Woody, so I can't draw any parallels here.

Good luck!
Shyamal


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



Re: memory leaks

2003-06-23 Thread Shyamal Prasad
"matt" == matt zagrabelny <[EMAIL PROTECTED]> writes:

matt> hi, after boot my system runs out of memory in ~36-48 hours.

What precisely happens when you "run out of memory"? Also, what
version of Debian are you running.

Cheers!
Shyamal


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



Re: Extremely annoying ext3

2003-06-23 Thread Shyamal Prasad
"aaron" == aaron  <[EMAIL PROTECTED]> writes:

aaron> [EMAIL PROTECTED]:~# dmesg | grep ^hd | grep sector 
aaron> hda: 39102336 sectors (20020 MB) w/2048KiB Cache,
aaron>  CHS=2434/255/63, UDMA(33)

aaron> I haven't had a chance to go verify the DMA settings on my
aaron> Debian file server box yet, but I'll definitely post
aaron> something when I find out how its DMA is doing.

Aaron,

An somewhat easier way to find out:

~$ hdparm /dev/hda

/dev/hda:
 multcount= 16 (on)
 I/O support  =  1 (32-bit)
 unmaskirq=  1 (on)
 using_dma=  1 (on)
 keepsettings =  0 (off)
 nowerr   =  0 (off)
 readonly =  0 (off)
 readahead=  8 (on)
 geometry = 7297/255/63, sectors = 117231408, start = 0
 busstate =  1 (on)

And, as another poster pointed out when correcting me about Red Hat,
the best way to run this on Debian on boot up is to install the
hwtools package and edit /etc/init.d/hwtools.

Good luck!

Cheers!
Shyamal


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



Re: telnet: could not resolve

2003-06-23 Thread Shyamal Prasad
"Nathan" == Nathan Poznick <[EMAIL PROTECTED]> writes:

Nathan> Use localhost when you mean localhost?  I wasn't aware
Nathan> that '0' was valid shorthand for localhost.

Actually it is. From RFC 1700 ("Assigned Numbers")

  (a)   {0, 0}

 This host on this network.  Can only be used as a source
 address (see note later).

which RFC 3330 ("Special-Use IPv4 Addresess" expands as

   0.0.0.0/8 - Addresses in this block refer to source hosts on "this"
   network.  Address 0.0.0.0/32 may be used as a source address for this
   host on this network; other addresses within 0.0.0.0/8 may be used to
   refer to specified hosts on this network [RFC1700, page 4].

Cheers!
Shyamal


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



Re: Extremely annoying ext3

2003-06-23 Thread Shyamal Prasad
"Mark" == Mark C <[EMAIL PROTECTED]> writes:

Mark> This is wrong, being an ex redhat user (well to long) before
Mark> I slipped into the Debian camp, redhat do NOT use dma on
Mark> either hard drive or cdrom, this has to be turned on
Mark> manually as well (Just on redhat very slightly easier than
Mark> debian):

Thanks for updating me on this. I'm almost certain there used to be a
time when Redhat would automatically enable DMA, but I have not used
Redhat in about 5 years now

Cheers!
Shyamal


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



Re: Extremely annoying ext3

2003-06-22 Thread Shyamal Prasad
"aaron" == aaron  <[EMAIL PROTECTED]> writes:

aaron> I have two things to bring to you today (as if I don't post
aaron> enough of my silly problems already). The first is why my
aaron> ext3 drive is so slow, and the second is what other
aaron> alternatives I have, if any.

aaron> [...snip]

It sure sounds like you don't have DMA enabled on your drive. Debian
(bless its little heart) will not do this for you automatically, which
is not what people from Red Hat expect.

'man hdparm'.

ext3 works great for me, on many machines. I hope this helps some.

Cheers!
Shyamal


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



Re: XFree86 turns off the screen when using usb mouse

2003-06-22 Thread Shyamal Prasad
"Bijan" == Bijan Soleymani <[EMAIL PROTECTED]> writes:

    Bijan> Shyamal Prasad <[EMAIL PROTECTED]> writes:
>> If not, try removing the 'Option "DPMS"' line (or use xset) to
Bijan> Turning off DPMS gets rid of blanking completely. I'd like
Bijan> it to blank my screen if I really am away.

I guess this confirms that it is X server doing the blanking.

>> you have CONFIG_APM_DISPLAY_BLANK set in the kernel?).
Bijan> I'm not sure. I'm using a default Debian kernel.

You can look in the config file that is installed with the kernel

$ grep APM_DIS /boot/config-2.4.18-k7 
# CONFIG_APM_DISPLAY_BLANK is not set

but you seem to have ruled this out as being the issue in your case.

>> I use Woody, on an ATI Mach 64 and two different laptops and
>> have never seen the X server misbehave like this (yet ;-) I
>> always use my USB mouse to wake up my monitor when I come back
>> to my desk.
Bijan> Which device do you use in you XFree86 configuration?  I'm
Bijan> using /dev/input/mice

Yes and no. I *also* use /dev/gpmdata with a gpm configuration of

device=/dev/input/mice
responsiveness=
repeat_type=raw
type=imps2
append=""
sample_rate=

So I have two otherwise identical "InputDevice" sections in my
"ServerLayout" section in XF86Config-4. One is for /dev/gpmdata and
the other is for /dev/input/mice. I can't recall why I did this (it's
been nearly two years), but probably it was to allow me to start/stop
gpm independently of the X server.

I'm not sure if this relevant to your issue, but there it is anyway.

Cheers!
Shyamal





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



Re: XFree86 turns off the screen when using usb mouse

2003-06-22 Thread Shyamal Prasad
"Bijan" == Bijan Soleymani <[EMAIL PROTECTED]> writes:

Bijan> Hi, I have a small problem that I'd like to solve. X
Bijan> automatically blanks the screen after a while. It unblanks
Bijan> it if you use the keyboard or the mouse. However it only
Bijan> works with serial or ps2 mice. I'm using a USB mouse and
Bijan> sometimes i'll be using my computer to browse the web or
Bijan> play music and suddenly the screen goes blank. It's not so
Bijan> serious as all I have to do is press a button in the
Bijan> keyboard, but I'd still like to find a better solution.

I've never seen this problem so I have to ask: are you sure it is X
that is blanking out your screen? 

If not, try removing the 'Option "DPMS"' line (or use xset) to disable
the X servers blanking and see if it still happens. It could be your
kernel that is blanking the virtual terminal, or some APM interaction
that is not aware of the USB mouse (do you have
CONFIG_APM_DISPLAY_BLANK set in the kernel?).

I use Woody, on an ATI Mach 64 and two different laptops and have
never seen the X server misbehave like this (yet ;-) I always use my
USB mouse to wake up my monitor when I come back to my desk.



Cheers!
Shyamal


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



Re: SBC/Yahoo DSL with Debian?

2003-06-21 Thread Shyamal Prasad
"Ric" == Ric Otte <[EMAIL PROTECTED]> writes:

Ric> Hi, I saw that SBC/Yahoo had a DSL offer of $30 a month, and
Ric> I called them up to ask if it would work with Linux.  The
Ric> woman at tech support confidently assured me, over and over,
Ric> that it would not work with Linux.  I spoke to her a long
Ric> time, trying to figure out why it wouldn't work.  She said
Ric> that since they use pppoe and not dhcp, I couldn't get an ip
Ric> address with a dhcp client.  But Debian has a pppoe package,
Ric> and there are also things like rp-pppoe.  Although she could
Ric> not explain to me why it wouldn't work, she was absolutely
Ric> positive it wouldn't.

I use SBC/Yahoo DSL. It works. Just don't ask tech support. I don't
use PPoE though, I have a wireless AP/hub in between my computers and
the SBC provided DSL modem that does the PPoE.

Cheers!
Shyamal

PS: Sorry for the reply to your account, but I figured you'd be
interested in a positive data point.


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



Re: Network not enabled with upgraded kernel, 2.2.20->2.4.18, Dell Insp 4100 NB

2003-06-20 Thread Shyamal Prasad
"e.broyles" == e broyles  writes:

e.broyles> Installing a new kernel over a newly installed Woody
e.broyles> system, upgrading to 2.4.18.  This all goes pretty
e.broyles> [.]
e.broyles> It did things magically when I installed Woody, found
e.broyles> my network, got an IP, but perhaps there is something I
e.broyles> need to do once the new kernel is installed.

Besides the other hints on this thread be sure to get the packet
filter built in for dhcp if you use the (default) ISC dhcp client.I
can never remember exactly what you need, but here is what works:

[EMAIL PROTECTED]:~$ /sbin/lsmod | grep pack
af_packet  11848   0
[EMAIL PROTECTED]:~$ grep PACKET /boot/config-2.4.18-k7 
CONFIG_PACKET=m
CONFIG_PACKET_MMAP=y
# CONFIG_NCPFS_PACKET_SIGNING is not set
[EMAIL PROTECTED]:~$ grep FILTER /boot/config-2.4.18-k7 
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
CONFIG_FILTER=y
CONFIG_IP_NF_FILTER=m
CONFIG_IP6_NF_FILTER=m
CONFIG_PPP_FILTER=y


Cheers!
Shyamal


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



Re: debian

2003-06-20 Thread Shyamal Prasad
"Bijan" == Bijan Soleymani <[EMAIL PROTECTED]> writes:

Bijan> Everyone deservers Free Software even people who aren't
Bijan> particularly itchy :)

No one *deserves* free software. It's free, you get what you pay for :-)

/Shyamal


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



Re: debian

2003-06-20 Thread Shyamal Prasad
"Bijan" == Bijan Soleymani <[EMAIL PROTECTED]> writes:

>> Debian runs on many architectures (have you even looked
>> athttp://www.debian.org/releases/stable/installmanual
>> recently?)
Bijan> (This sounds like an insult, this is mean, and I don't
Bijan> think I deserve this).

You don't, and I did not mean it to be. Apologies :-)

/Shyamal


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



Re: debian

2003-06-20 Thread Shyamal Prasad
"Bijan" == Bijan Soleymani <[EMAIL PROTECTED]> writes:

Bijan> Try Knoppix it is based on Debian and does all that
Bijan> detection.

Bijan> There's no good reason why Debian doesn't.

Debian runs on many architectures (have you even looked
athttp://www.debian.org/releases/stable/installmanual recently?) . It
has a different set of priorities than Mandrake or Red Hat. If I
wanted a good installer I'd go with one of the other distributions, or
work on adding it to Debian.

Cheers!
Shyamal


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



Re: Low latency patch worth the fuss?

2003-06-15 Thread Shyamal Prasad
"debian" == debian   writes:

debian> Hi there, I'm just ripping a few CDs' with Grip and even
debian> with nice level -20 for both ripping & encoding the system
debian> "drags" noticeably. The kernel low latency patch should in
debian> theory offer a solution by improving on the resposiveness
debian> of the system. But does it in practice? Is it really worth
debian> the fuss of recompiling the stock (debian) kernel which is
debian> working fine? Anyone got any practical experience?

I guess it depends on your hardware. I'll give you my experience and
you can go from there. I have fairly fast system: a 7200 RPM IDE
drive, a 32x IDE CD devices with an AMD XP2000 (or whatever, I forget,
it runs at 1.67 odd Ghz) and the lvcool package to keep CPU
temperature down. 

On this system I use a stock 2.4.18-k7 Woody kernel, and all my music
is encoded with ogg. Over the last 15 months since I built this system
I've *never* felt I needed the low latency patch.

I don't have any idea what kind of hardware you have. But if it is
reasonably up to date the first thing I'd check is that DMA is enabled
on your drives. A default Woody install will not do this for you
automatically. And yes, if I turn DMA off I would think I have a
problem moving hunders of megabytes of data around.

Cheers!
Shyamal


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



Re: can't login with other user then root

2003-06-12 Thread Shyamal Prasad

"george" == george roman <[EMAIL PROTECTED]> writes:

george>hello i have one problem with debian can't login with
george> other user then root.  i can create users and they exist
george> in /home and in /etc/passwd (but their directory in /home
george> contains no files it is empty).  i can use command "su
george> username" and it works but i can't login with their name.

How did you create the users? Did you use the 'adduser' command? How
did you set the initial password for the users?

What is your system run level? ('man runlevel').

When you login as other users, what is the error, if any, that you get?

Do you have a /etc/nologin file? If so, you will see this?

Did you modify /etc/pam.d/login or related files?

Cheers!
Shyamal


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



Re: How to stop booting into KDE environment

2003-06-12 Thread Shyamal Prasad

"dhobner" == dhobner  <[EMAIL PROTECTED]> writes:

dhobner> I am very new to Linux.  Is there a way to reboot without
dhobner> going directly into the KDE windows environment?  My
dhobner> mouse is not working so when I get into KDE environment I
dhobner> cannot bring up a window as far as I know.

If you mean you want to reboot without using KDE because you are
stuck, hit Ctrl-Alt-F1 (all at the same time) to get to a console
prompt. Login as root, type reboot.

If you want to stop X from starting up when you boot your machine the
way to do it is to rename the link /etc/rc2.d/S99kdm to
/etc/rc2.d/K01kdm (and similarly S99gdm and S99xdm if you have
them). 

Actually, the answer is a little more complicated, but that should
probably do the trick for you. A look at
http://www.debian.org/doc/debian-policy/ch-opersys.html#s-sysvinit and
a quick inspection of /etc/inittab should get you going on the details.

Cheers!
Shyamal


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



Re: play mp3 files on xmms

2003-06-10 Thread Shyamal Prasad
"Eduardo" == Eduardo Gargiulo <[EMAIL PROTECTED]> writes:

Eduardo> Hi all I'm running woody 3.0_r1 and I'm looking for same
Eduardo> way to play mp3 files on xmms. Is it possible? Is there
Eduardo> any plugin? In case the answer is not, which player do
Eduardo> you recommend me to play mp3 files?

Just play 'em. xmms supports mp3 out of the box on Woody for sure
(that is what I'm running). If you don't believe the description see:

$ dpkg -L xmms | grep mpg
/usr/lib/xmms/Input/libmpg123.so

Cheers!
Shyamal


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



Re: cupsys works, lpr does not

2003-06-06 Thread Shyamal Prasad
"Emma" == Emma Jane Hogbin <[EMAIL PROTECTED]> writes:

Emma> I've been trying to get my printer working again and it does
Emma> not want to print pages. I can print a "test page" from cups
Emma> (through a web browser) but I couldn't print any actual
Emma> pages because "lpr" didn't want to/couldn't read my
Emma> /etc/printcap file.

Be sure you've got cupsys-bsd

~$ dpkg -l 'cups*' | grep ^i
ii  cupsys 1.1.14-4.4 Common UNIX Printing System(tm) - server
ii  cupsys-bsd 1.1.14-4.4 Common UNIX Printing System(tm) - BSD comman
ii  cupsys-client  1.1.14-4.4 Common UNIX Printing System(tm) - client pro
ii  cupsys-driver- 4.2.0-4gimp-print printer driver for CUPS
ii  cupsys-pstoras 1.1.14-4.4 Common UNIX Printing System(tm) - pstoraster

Cheers!
Shyamal


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



Re: CVS

2003-04-06 Thread Shyamal Prasad
"Joydeep" == Joydeep Bakshi <[EMAIL PROTECTED]> writes:

Joydeep> Hi all, during the debian installation, I have faced some
Joydeep> question about CVS.  what is this *CVS* & why we need
Joydeep> this ?

Concurrent Version System. Do 'dpkg -p cvs' for more information.

If you don't know what it is you, you can skip it. If you write
software, IMHO you *need* to learn about it. I'm guessing you got
this as part of a tasksel installation.

Cheers!
Shyamal


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



Re: Which device is ide-scsi?

2003-04-05 Thread Shyamal Prasad
"Alan" == Alan Chandler <[EMAIL PROTECTED]> writes:

Alan> On Saturday 05 Apr 2003 4:57 pm, Shyamal Prasad wrote: ...
>> It is not uncommon for the ide-cd driver to grab the CD ROM
>> driver, which you must prevent by giving ide-cd the
>> 'ignore=hdd' option.

Alan> Thanks a lot - I am sure this is what it was - although
Alan> there was no error messages.  However, I added ide-scsi to
Alan> /etc/modules so it is loaded almost straight away.  Now
Alan> /proc/scsi/scsi lists all my devices

Hi Alan,

Glad to hear that it all worked out. BTW, a good ("best?") way to
achieve this effect (if your kernel is heavily modularized, like the
standard Debian 2.4.x kernels) is by adding a file (pick a name, any
name) in /etc/modutils/ with the following contents

options ide-cd ignore=hdd
pre-install sgmodprobe ide-scsi
pre-install sr_modmodprobe ide-scsi
pre-install ide-scsi  modprobe ide-cd

Run update-modules after you do this to plonk this into
/etc/modules.conf. The next time you boot, things should work fine
automagically. You don't even need to add ide-scsi to /etc/modules if
you add a line like

alias scd0 sr_mod

to the same file (where you replace scd0 with your DVD device). You
might have to tweak this a bit since you have a real SCSI card, but
you get the idea

Alan> Whereas before only the first and last were included.  More
Alan> importantly, I can sit down and watch my LOTR dvd:-)

Have fun ;-)

Cheers!
Shyamal


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



Re: Which device is ide-scsi?

2003-04-05 Thread Shyamal Prasad
"Alan" == Alan Chandler <[EMAIL PROTECTED]> writes:

Alan> I have added append hdd=ide-scsi in my lilo config and this
Alan> module is definately loaded.  If I look in /proc/scsi there
Alan> is a subdirectory called ide-scsi and a single file in it
Alan> named "1" with the following text "SCSI host adapter
Alan> emulation for IDE ATAPI devices".

Alan> On my system I have a real scsi bus with a cd writer on it,
Alan> plus a usb smart media reader.  When I look in the file
Alan> /proc/scsi/scsi it lists these two but NOT the ide-scsi
Alan> device - thus

Alan,

I'm not a SCSI expert (have not owned a real SCSI bus in the last 5
years) but here is a suggestion: perhaps you are loading things in the
wrong order? 

If you look in dmesg do you see any text indicating that the ide-scsi
driver has actually picked up /dev/hdd? It is not uncommon for the
ide-cd driver to grab the CD ROM driver, which you must prevent by
giving ide-cd the 'ignore=hdd' option. If the ide-cd driver grabs it,
ide-scsi starts up fine but had no devices to run. You don't see any
errors. I suspect this is what is happening to you, but I can't be
sure since I don't have a real SCSI bus to confirm the behavior.

Finally, I perhaps the order of loading SCSI modules makes a
difference? I suspect not, since the documentation does indicate that
scsi_mod must be loaded before anything else and unloaded after
everything else. For my part, I force ide-scsi to load before both sg
and sr_mod, and ide-cd to load before ide-scsi. This I do via the
/etc/modutils/ structure, a search of the Debian lists should show you
many examples for the pre-built kernels.

Cheers!
Shyamal


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



Re: Shell based text editor for writing prose

2003-04-04 Thread Shyamal Prasad

"John" == John Griffiths <[EMAIL PROTECTED]> writes:

John> Hmmm, just wrote a 1,600 article in emacs via ssh.

John> I'm not using all the navigation aids very well yet but i
John> can see where I'm going from here.

Heh, hehI can just see you discovering emacsclient, and then
perhaps the joys of GNU screen. Keep emacs running forever, and just
connect and disconnect to it from anywhere. Or, use screen to run a
session, and attach and detach at will. 

It's been a while since I've had to do this kind of stuff, but about
half a decade ago this stuff was a life saver in many situations when
I had to dial in from various sites to my desktop workstation.

Good luck!
Shyamal


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



Re: Vaio PCG-R505TSK Installation Trouble

2003-04-03 Thread Shyamal Prasad
"Johannes" == Johannes Graumann <[EMAIL PROTECTED]> writes:

Johannes> Hello, I'm trying to install woody (bf 2.4) on my Vaio
Johannes> PCG-R505TSK ... with no success.  After booting into the
Johannes> bootfloppy cd with 'linux ide2=0x180,0x386" (to makte
Johannes> the pcmcia cdrom drive work during the install) I can
Johannes> install debian without any problems and the system comes
Johannes> up after the installation system reboot with the
Johannes> (ironic) congratulation that I have installed debian
Johannes> sucessfully. Whatever I do next (and I have tried many a
Johannes> thing ...) - upon next reboot the system gives me:
Johannes> '<0>Kernel panic: Aiee, killing interupt handler! In
Johannes> interupt handler - not syncing!'

Johannes> What am I missing?

Hey, I caught you cross posting. No fair, you are asking me to reply
to the same question twice! ;-)

Take out the ide2=0x180,0x386 once you installed the base system and
have PCMCIA in there. That *should* fix it. If this is anything like
my N505VE the kernel panic is from PCMCIA trying to grab your CD ROM
device after the IDE driver already picked it.

Darn Sony and it's "I'll do it my way"

Cheers!
Shyamal


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



Re: Use a Firewall, Go to Jail?

2003-04-03 Thread Shyamal Prasad

"Paul" == Paul Johnson <[EMAIL PROTECTED]> writes:

Paul> I think that's a far more liberal interpretation of the law
Paul> than will be applied, since as far as the ISP is concerned,

While I agree, I have to state my opinion that a law that depends on
"how it will be applied" is a bad law. This kind of law, if passed,
will be used in ways it was not intended for, just like the DMCA.

Oh well, sometimes I do go wy off topic.I promise not to
follow up on this, some one else can have the last word ;-)

/Shyamal


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



Re: Shell based text editor for writing prose

2003-04-03 Thread Shyamal Prasad
"Colin" == Colin Watson <[EMAIL PROTECTED]> writes:

Colin> On Wed, Apr 02, 2003 at 09:54:21PM -0600, Shyamal Prasad
Colin> wrote:
>> 
>> The quoting above, [...] were all done by emacs.

Colin> Yes, I can tell. :( I even have a special vim macro to get
Colin> rid of that damned emacs-style (SuperCite/PowerQuote)
Colin> quoting, as it goes nuts once you're a few levels deep ...

Yes, and emacs comes with that too ;-)

But your point is well taken. Supercite can be a real pain, and your
comments have made me wonder if I should quit using it (I hate the
use of multiple levels of >>>>> nearly as much though)

/Shyamal


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



Re: Shell based text editor for writing prose

2003-04-02 Thread Shyamal Prasad
"John" == John Griffiths <[EMAIL PROTECTED]> writes:

John> Travis Crump wrote:
>>  Is this a troll?  I prefer vim, a good number of people prefer
>> emacs.  Both will suit your needs.
>> 
>> 

John> No, not a troll, I want to know if any of the editors are
John> aimed at writers rather than coders,

emacs is a least equally aimed at writers writing plain text or text
in a markup language (TeX, HTML, SGML, troff, email, etc.).  

The quoting above, the filling of paragraphs, and any spell checking
that might have been performed (none in this case) on this email were
all done by emacs.

Cheers!
Shyamal


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



Re: Shell based text editor for writing prose

2003-04-02 Thread Shyamal Prasad
"John" == John Griffiths <[EMAIL PROTECTED]> writes:

John> G'day all.  Due to a somewhat complicated set of
John> circumstances I'm looking for a decent non graphical shell
John> based text editor to write prose with.

John> basically i want to be able to ssh onto my server and write
John> from a number of remote locations.

My personal choice is emacs. Be warned, however, that emacs is an
operating system masquerading as an editor ;-) I learned to use on
VT220 terminals where it gave me the window system and IDE I wanted.

If you really want a simple but very powerful editor just use vi (or
vim or some other vi clone on steroids). If you are just writing plain
prose with minimal markup and want auto-fill and the ability to move
around paragraphs, words and so on vi rocks, is available on all Unix
systems, and is worth the considerable effort it will take to learn to
use it.

I can also recommend nano (a pico clone) that is quick and easy.

I'm sure you will get a lot of other recommendations. The best bet is
try each one, and stick to the one you like best.

Cheers!
Shyamal


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



Re: /etc/network/interfaces problem

2003-04-02 Thread Shyamal Prasad
"Thomas" == Thomas H George <[EMAIL PROTECTED]> writes:

Thomas> Both computers have Netgear MA311 Wireless PCI
Thomas> cards. Perhaps there is a difference in the bootup
Thomas> sequences, I'll print out the runlevel.conf files and
Thomas> compare them.

I've never used a non-PCMCIA wireless card so this is beyond my
experience. I did notice that you don't set up any wireless specific
parameters (essid/encryption key etc.) for the card in the included
interface file in your original post. Perhaps that is what is missing
on the one box during boot?

Well, I'm out of here, hopefully I'll learn something when you tell us
how you got it working ;-)

Cheers!
Shyamal


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



Re: /etc/network/interfaces problem

2003-04-02 Thread Shyamal Prasad

"Thomas" == Thomas H George  writes:

Thomas> auto wlan0

Is this PCMCIA? If so, take that out.

The networking scripts run before the PCMCIA, so you can't 'ifup -a'
the PCMCIA card during boot. Let the PCMCIA subsystem bring the card
up.

Cheers!
Shyamal


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



Re: debian question

2003-04-01 Thread Shyamal Prasad
"Hans" == Hans Ad <[EMAIL PROTECTED]> writes:

Hans> I am a beginning Debian user, I',m installing it now. A
Hans> friend of mine wants to help me. He lives in a different
Hans> city. He asked me to make a SSH server on my linux machine
Hans> and forward a port of my switch, so he can configure my
Hans> machine from his PC (over the internet). now my question is.

Hans> How do I make a SSH server, and forward that port?

ssh is installed when you install the base Debian system. If in doubt
just do 'ssh localhost' to test, you should get a question about a
unknown fingerprint, say yes, and you should get a login prompt from
your system. If not, install the ssh package (apt-get install ssh).

As far as forwarding goes, it depends on your switch/router. You need
to forward port 22 to your machines IP from your switch.

Hans> please answer in dutch

If only I could.

/Shyamal


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



Re: Error in Shell Script!!

2003-03-31 Thread Shyamal Prasad
"Alex" == Alex Togstad <[EMAIL PROTECTED]> writes:

Alex> A snippet of the code which should be enough can be found
Alex> here:

Alex> http://kernelphr34k.home.attbi.com/error

Alex> This is only part of the script, and yes everything is
Alex> defined. This is in BASH!

When I downloaded the code on your web page I found lots of trailing
'^M' characters at the line endings. Removing them after the 'then'
statements seems to fix your problem. Perhaps you are having an editor
problem? PC to Unix and all that?

Cheers!
Shyamal


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



Re: ntp.conf question

2003-03-31 Thread Shyamal Prasad
"Thomas" == Thomas H George  writes:

Thomas> The file /etc/ntp.conf does not contain any server entries
Thomas> but does include a note saying these are entered auto
Thomas> generated, use dpkg-reconfigure to modify these lines.
Thomas> dpkg-reconfigure ntp simply returns the command prompt.
Thomas> dpkg-reconfigure ntpdate allows the entry of a server - I
Thomas> entered time-a.nist.gov and gave an immediate response
Thomas> "running ntpdate to synchronize the clock" however
Thomas> ntp.conf was unchanged.

I ran into the same problem recently. Turns out what I needed to do
was dpkg-reconfigure the ntp-simple package. That did update the
config file correctly. Remember the ntp-simple or ntp-refclock are the
packages that actually provide the daemon. 

Cheers!
Shyamal


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



Re: Adjust time by ntp

2003-03-30 Thread Shyamal Prasad
"Willem-Jan" == Willem-Jan Meijer <[EMAIL PROTECTED]> writes:

Willem-Jan> Hello all, I read something about NTP and I like that,
Willem-Jan> so I installed the ntp packages, and I want to adjust
Willem-Jan> the time with the command ntptimeset -s, but I get the
Willem-Jan> message:

Willem-Jan> 30 Mar 20:13:10 ntptimeset[11095]: the NTP socket is
Willem-Jan> in use, exiting

Willem-Jan> When I only do ntptimeset it gets the correct time,
Willem-Jan> but it doesn't adjust it

Willem-Jan> What to do?

I've never used ntptimeset before. Typically I have ntpd running (from
the ntp-simple package) and I use ntpdate if I want to set the time by
hand. To use ntpdate you need to know the name of your time
server. Use 'ntpdate -q my.time.server' to query, and 'ntpdate
my.time.server' to set. Run ntpd and it will do this for you
continuously. 

Here are the packages I use on my Woody box:

~$ dpkg -l '*ntp*' | grep ^i
ii  ntp4.1.0-8Daemon and utilities for full NTP v4 timekee
ii  ntp-doc4.1.0-8HTML documentation for the ntp and ntpdate p
ii  ntp-simple 4.1.0-8NTP v4 daemon for simple systems.
ii  ntpdate4.1.0-8The ntpdate client for setting system time f


Cheers!
Shyamal


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



Re: X over ssh

2003-03-30 Thread Shyamal Prasad
"Michael" == Michael Naumann <[EMAIL PROTECTED]> writes:

Michael> So I do not see any difference and yet, X over ssh only
Michael> works in one direction.

Michael> Any pointer gladly apriciated,

Run 'ssh -v -X' and see what the last few lines tell you about the X
forwarding. It is likely that sshd on one of the servers has disabled
X forwarding (/etc/ssh/sshd_config needs to have a line saying
"X11Forwarding yes" in it).

Cheers!
Shyamal


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



Re: How to burn JPEG files to CD?

2003-03-30 Thread Shyamal Prasad
"Thomas" == Thomas H George  writes:

Thomas> I successfuly downloaded 93 JPEG files from a digital
Thomas> camera to the hard drive.  Not wishing to tie up this
Thomas> space permanently, I tried to burn them to a cd with the
Thomas> command cdrecord -v dev=1,0,0 speed=8 -data /h/dsc*.jpeg
Thomas> but it didn't work.  cdrecord knows there are 93 files
Thomas> (tracks?) but recorded them as 0 bytes each.  There is,
Thomas> incidently, nothing wrong with the files.  Mozilla will
Thomas> open them and display the images perfectly.  Is there a
Thomas> solution to this problem?

First make an iso image using a command along the lines of 

$ mkisofs -r -o /tmp/image.iso /h

This will copy the /h/ directory into the image.iso file. The '-r'
options gives you the "Rock Ridge extensions" (basically, long file
names and permissions that make sense). You can test the image if you
have loopback support in your kernel using a command along the lines
of 

$ sudo mount -t iso9660 -o loop /tmp/image.iso /mnt

and look into the image at the /mnt point if you like. Finally, you
burn the image just like you wanted to

$ cdrecord -v dev=1,0,0 speed=8 -data /tmp/image.iso

BTW it is possible to skip the creation of the ISO image and pipe the
output of mkisofs to the input of cdrecord. Most modern computer
systems will actually create a CD that works rather than a coaster for
an oversize beer stein. I tend to use the intermediate file, call me
old fashioned

Cheers!
Shyamal


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



Re: Installing default printer

2003-03-30 Thread Shyamal Prasad
"Lindsay" == Lindsay Yardley <[EMAIL PROTECTED]> writes:

Lindsay> G'day All, I would like to install my printer using the
Lindsay> default debian utilities (lpr, lpd) without using tasksel
Lindsay> as this installs 100Mbs+ of "stuff".  Would some kind
Lindsay> soul point me in the right direction please as I'm
Lindsay> googled out.

Perhaps I don't quite understand all the implications of the question,
but the first thing I'd try is 'apt-get install lpr' followed by
'apt-get install apsfilter' which will walk you through an
installation of filters that support a fairly large set of printers.

If you installed Debian you should already have lpr. Try apsfilter if
you want to. 

Cheers
Shyamal


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



Re: What's the std print config tool

2003-03-30 Thread Shyamal Prasad
"Lindsay" == Lindsay Yardley <[EMAIL PROTECTED]> writes:

Lindsay> G'day Bob, Patrick, others, Thank you for your reply but
Lindsay> cups seems rather bloated and fickle,I wanted the one
Lindsay> installed by the default debian tasksel option is that
Lindsay> lpr, lprng or gnulpr? or is one of these or another
Lindsay> rather nice & compact and sufficient?  tia Lindsay

A standard woody install will give you 'lpr' as the default print
system. This is the BSD print system (with lpr, lpc, lpd and
friends). There is no easy way to configure this print system by
itself as far as I remember, but since I've quit using it I can't know
for sure. 

I typically used to install apsfilter with lpr. The apsfilter
installation/setup script was pretty good at creating the correct
/etc/printcap file. It would some times take a little hand editing of
/etc/printcap when I was done.  For remote printing I had to read the
documents and edit files by hand. /etc/hosts.lpd is a file I remember,
and I had to put names in there, not IP addresses.

I've been doing this for over 8 years nowm first with Slackware and
more recently with Debian. I have to say CUPS may be bloated, but lpr
is much more fickle IMHO ;-) Perhaps gnulpr is better, but I've never
used it. 

Cheers!
Shyamal


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



Re: What's the std print config tool

2003-03-29 Thread Shyamal Prasad
"Lindsay" == Lindsay Yardley <[EMAIL PROTECTED]> writes:

Lindsay> G'day all, What is the standard printer configuration
Lindsay> tool used by debian 3 r0. I'm trying to install a printer
Lindsay> but the documentation is not helping me at all. If I
Lindsay> could find the config tool name that'd be a start,
Lindsay> perhaps then the Printing HowTo will make more sense.
Lindsay> tia Lindsay

As Bob points out, cupsys is what a lot of people are using. I
switched to it about a year ago and it works fine for me. I have a HP
Laserjet hooked up. 

My woody system has

[EMAIL PROTECTED]:~$ dpkg -l 'cups*' | grep ^i
ii  cupsys 1.1.14-4.4 Common UNIX Printing System(tm) - server
ii  cupsys-bsd 1.1.14-4.4 Common UNIX Printing System(tm) - BSD comman
ii  cupsys-client  1.1.14-4.4 Common UNIX Printing System(tm) - client pro
ii  cupsys-driver- 4.2.0-4gimp-print printer driver for CUPS
ii  cupsys-pstoras 1.1.14-4.4 Common UNIX Printing System(tm) - pstoraster
[EMAIL PROTECTED]:~$ dpkg -l '*hp*' | grep ^i
ii  hp-ppd 0.4-0  HP Postscript Printer Definition (PPD) files

You configure the printes via http://localhost:631/ once it is all
installed. Be sure to read the Debian specific notes in
/usr/share/doc/cupsys/ if you choose to go along this path. 

It's been a while, but I don't remember the set up being particularly
difficult. One key step for me which took a while to figure out was to
install cupsys-bsd.

Cheers!
Shyamal


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



Re: Toy Story List

2003-03-29 Thread Shyamal Prasad

"Lindsay" == Lindsay Yardley <[EMAIL PROTECTED]> writes:

Lindsay> Now come on you guys get serious!  Stop talking Woody and
Lindsay> Potatoe this is *not* a "Toy Story" list, this is serious
Lindsay> puter stuff! 

Potatoe? No! Its Potato. Potato! potato!!

;-)


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



Re: How long is linux going to be free ?

2003-03-28 Thread Shyamal Prasad
"adit" == adit y  writes:

adit> 1. How long is it going to be free ?

As long as people respect the license, and the legal system is
sufficient to encourage this. Consider donating to support the cause,
for example http://members.fsf.org/ as one way enforcing the Gnu
Public Licenses that are used by much free software (like the Linux
kernel).

Incidentally "Linux" is not "it" - there are many, many software
elements that go into making a Linux system (e.g. the Linux kernel,
the GNU software collection, and many, many other programs from many
other sources).

adit> 2. Is there any possibility of this becoming a copyrighted
adit> software in future ? ( i mean some company taking over and
adit> saying that only i am the owner and only i can make
adit> modifications)

Most of the software is already copyrighted. In many cases the license
of the free software allows companies to "take over" a version of the
software and say "I am the owner of this version, and only I can
modifications."  But they can't really do it to all *other* versions
that are already out there, just the one specific version they chose
to claim. That's freedom for you ;-)

Cheers!
Shyamal


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



Re: ide-scsi

2003-03-25 Thread Shyamal Prasad
"Christof" == Christof Hurschler <[EMAIL PROTECTED]> writes:

Christof> newbie quesiton, I'm running 2.4.-18-k6 from the deb in
Christof> woody: how can I keep ide-scsi from grabbing all my
Christof> cdroms and zip i.e.

Many answers are possible. One way is to ensure that ide-cd is loaded
first, and you tell ide-cd to ignore the device you want ide-scsi to
catch.

One way (the best way IMHO on Debian) to do this can be achieved by
creating a file in /etc/modutils/ with these relationships
specified. I will quote myself quoting myself on how I did it:

http://lists.debian.org/debian-user/2003/debian-user-200302/msg00292.html

I do not have a zip drive so I can't help you with it since I'm not
sure if it is the IDE floppy driver you need to preload or
not. Whatever the driver is, just have it modproed as a pre-install to
ide-scsi and you should be on your way.

Cheers!
Shyamal


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



Re: Newbee-ish X and root question

2003-03-25 Thread Shyamal Prasad
"Lukas" == Lukas Latz <[EMAIL PROTECTED]> writes:

Lukas> Hi List, I use KDM over GDM because I found it lets me log
Lukas> in with X as root, which I found especially useful in the
Lukas> beginning when I was setting up lots of stuff.

GDM will let you log in as root. Edit /etc/gdm/gdm.conf and set
AllowRoot=true and restart gdm.

As far as logging in as root via X goes I *never* do it. When I
absolutely must run an X application as root (eximon is the only one I
can think of) I just 'ssh -l root -X localhost'. Ugly, but I do it
maybe twice a year. 

You might want to man or google on xauth to see how to get su to set
up for X display. I believe it can be done that way.

Cheers!
Shyamal


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



  1   2   3   4   5   6   >