Re: Automounting

2003-01-30 Thread Ronald Castillo
Hi.

Try specifying as much information as you can in the auto.misc file (in your 
case auto.nisse).  In my file I have the following:

betoshare   
-fstype=smb,user,workgroup=,username=ronald,password="password(with 
quotes)"  ://192.168.0.2/shared

Good luck!

Ronald

On Wednesday 29 January 2003 20:41, Johan Svedberg wrote:
> Hi, everybody!
>
> I'm having some problems automounting Windows shares from my Debian
> GNU/Linux system running unstable. However, mounting it manually with:
>
> root@bettan:/import $ mount -t smbfs -o username=Johan,password=foobar
> //nisse/C /import/nisse
>
> works flawless. So it's not a Windows problem(!) :)
>
> I'm quite new with autofs so I don't know if I'm my setup is right,
> although people have reported that this works for them. Anyway this is
> what I've done:
>
> root@bettan:/etc $ cat auto.master | sed -e '/^#/d' -e '/^$/d'
> /import /etc/auto.nisse
>
> root@bettan:/etc $ cat auto.nisse | sed -e '/^#/d' -e '/^$/d'
> nisse -fstype=smbfs,username=johan,password=foobar ://nisse/C
>
>
> Some other information that might be useful:
>
> root@bettan:~ $ /etc/init.d/autofs status
> Configured Mount Points:
> 
> /usr/sbin/automount --timeout=300 /import file /etc/auto.nisse
>
> Active Mount Points:
> 
> /usr/sbin/automount --pid-file=/var/run/autofs/_:import.pid
> --timeout=300 /import file /etc/auto.nisse
>
> root@bettan:~ $ df -a
> Filesystem   1K-blocks  Used Available Use% Mounted on
> /dev/hda1  5573936975708   4315084  19% /
> proc 0 0 0   -  /proc
> devpts   0 0 0   -  /dev/pts
> automount(pid219)0 0 0   -  /import
>
> I'm suspecting all this might have something to do with the fact that I'm
> trying this from a laptop using PCMCIA, and I don't actually get net
> connection until after automount has been started at boot. But doing
> /etc/init.d/autofs stop followed by /etc/init.d/autofs start didn't work
> either. Neither did changing the order it starts at boot time.
>
> Finaly, this is what I get from syslog:
>
> Jan 29 19:40:52 bettan automount[219]: starting automounter version
> 4.0.0, path = /import, maptype = file, mapname = /etc/auto.nisse
> Jan 29 19:40:52 bettan automount[219]: Map argc = 1
> Jan 29 19:40:52 bettan automount[219]: Map argv[0] = /etc/auto.nisse
> Jan 29 19:40:52 bettan automount[219]: mount(bind): bind_works = 1
> Jan 29 19:40:52 bettan automount[219]: using kernel protocol version 4
> Jan 29 19:40:52 bettan automount[219]: using timeout 300 seconds; freq
> 75 secs
>
> Any ideas?
>
> PS. Please Cc me since I'm not subscribed. Thanks.
>
> Regards,


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




Re: Oh no, what a really heavy bummer

2003-01-30 Thread Andreas J Guelzow
Pigeon wrote:

> On Thu, Jan 23, 2003 at 03:22:44PM -0600, Ron Johnson wrote:
>
>>Here's how I do it:
>># apt-get source gqview=1.0.2-1
>># export CC=gcc-3.2 -Wall -O2 -mcpu=pentiumpro
>># apt-get --compile source gqview=1.0.2-1
>># dpkg -i gqview.deb
>>  alternatively:
>># apt-get --compile source gqview=1.0.2-1
>>
>
> Hmm. Just tried this... The 'apt-get source' works fine, but the
> 'apt-get --compile' doesn't. It wants to download the whole lot again;
> it appears to have forgotten that it's just done that. (ie, it does
> what man apt-get seems to suggest it will do.)
>


apt-get --compile source

is supposed to download the source and

apt-get --compile source

is supposed to download it and compile it.

If youdon't want to download it twice (why would you want to?) just skip
the former:

# export CC=gcc-3.2 -Wall -O2 -mcpu=pentiumpro
# apt-get --compile source gqview=1.0.2-1
# dpkg -i gqview.deb


Andreas





--
Prof. Dr. Andreas J. Guelzow
http://www.math.concordia.ab.ca/aguelzow



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



Re: Gimp Print Problem

2003-01-30 Thread Oliver Elphick
On Wed, 2003-01-29 at 18:37, Thomas H. George wrote:
> I ran the error_log as suggested.  The first 'false' result occurred on
> line 285.  I saved this and the following 10 lines but can't figure out
> how to use vi to insert them here.  vi wont let me switch to the file I
> saved without exiting this message.

:r other/file

will insert the contents of other/file at the cursor position.

-- 
Oliver Elphick <[EMAIL PROTECTED]>
LFIX Limited


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




Re: freeze-ups

2003-01-30 Thread Kent West
Jeremy Wilkerson wrote:


Hi,

I recently installed Debian on my computer, but I have never used a 
Unix OS before.  I installed version 3.0 rev 1 for i386.  My computer 
is a Pentium II 400.  Occasionally KDE totally freezes up on me, and 
frequently (a few times every day), certain applications, like text 
editors, will freeze when I click the Open button or Open on the File 
menu.  When one text editor doesn't work, none of them will work.  The 
Konqueror file manager also freezes up frequently.  Also, a lot of 
time when I try to run an application, it will start loading, then 
just stop and disappear from the task bar, without giving me any kind 
of message.

It seems that none of the files in /var/log are modified when any of 
these problems occur.

I would greatly appreciate any help that anybody could give me.

Thanks,

Jeremy



Try using something other than KDE for a day or two to see if the 
problem is in KDE or deeper.

Kent




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



Re: Thinkpad T30?

2003-01-30 Thread Martin Hermanowski
On Thu, Jan 30, 2003 at 11:37:58PM +1300, Andrew McMillan wrote:
> On Mon, 2003-01-27 at 22:43, arief_mulya wrote:
> > 
> > Which would be better? Woody or Sarge?
> > 
> > To people on the debian-laptop, please cc'd also to me as I 
> > was unsubscribing a while ago from the list.
> 
> I believe that model has a recent Radeon in it and you will consequently
> be looking for the latest X you can get.

The Radeon in my A30 works well with the gatos-drivers. With XF4.1 I
didn't get hardware acceleration, and with XF4.2 I could not use swsusp
(the Xserver didn't resume properly). I also had to turn of the
framebuffer in the kernel.

Regards,
Martin



msg27840/pgp0.pgp
Description: PGP signature


Re: OT: sometimes it's good to see the competition

2003-01-30 Thread Elizabeth Barham
> And it was, but in the process they introduced a new "bug" into YOU,
> it uses wget to download stuff apparently, and they failed to
> configure wget to use passive ftp, so any attempts to download fail(if
> your behind some form of NAT). I didn't know at the time, so I configured
> SuSE to use a proxy using their YaST2 tool, but I guess that setting doesn't
> affect YOU since wget's config wasn't changed. Only later did I see on their
> support page that they forgot to turn on passive ftp. When running YOU
> it just spits back a generic message saying basically 'error, try another
> mirror'.

Perhaps renaming wget something, say "real-wget" and replacing "wget"
with a script will do the trick:

#/bin/sh
real-wget --passive-ftp $*

Thanks for the report on SuSE.

Elizabeth


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




Re: X crashes if I'm idle

2003-01-30 Thread Marsh

i.a.uemlianin> X is in VESA mode, as the Thinkpad has unsupported
i.a.uemlianin> Radeon video.

I have a Toshiba Satellite 1115-S103 with the unsupported Radeon chip
set as well.  So, I'm stuck with e VESA driver :P, but at least it works
well enough.  I'm going to try X 4.2 when I get some spare time.

i.a.uemlianin> If I'm in X (Gnome) and I'm idle for a while (10
i.a.uemlianin> mins?) X crashes. 

I had a similar problem on my Satellite.  It turned out that DPMS was
the culpret.  My X would crash every 20 minutes precisely.  This turns
out to be the exact value of the DPMS Standby parameter in the
XF86Config-4 file.  Anyway I simply commented out DPMS and X stays up
now. 


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




Re: Setting up the mail program

2003-01-30 Thread Paul Johnson
On Thu, Jan 30, 2003 at 12:26:03AM -0800, Joris Huizer wrote:
> I've got this question.
> During the installation I didn't set up the mail
> program correctly, that
> means, it can't send over the internet.

If you're using exim, try eximconfig.  All outgoing mail sent by any
of the poorly designed (aka Windows-lookalike) mail readers will be
using this.  If you don't know what I'm talking about, you're probably
using exim, try eximconfig.

> The internet provider has the following: a POP Mail
> service and an SMTP server - no nntp as pine wants (it
> seems)

It may be easier to use fetchmail for POP access.  apt-get install
fetchmail, then check /usr/share/doc/fetchmail for an example config.
Change as necissary for your system.  If you install it as a
system-wide daemon, you can add an entry for everybody who gets email
at your system from POP3 or IMAP boxes and, IIRC, your mail will be
automagically fetched to your system when you first connect (as will
your outgoing mail be delivered using exim).

-- 
 .''`. Baloo <[EMAIL PROTECTED]>
: :'  :proud Debian admin and user
`. `'`
  `-  Debian - when you have better things to do than to fix a system



msg27362/pgp0.pgp
Description: PGP signature


Re: Add a printer to Mozilla?

2003-01-30 Thread Paul Johnson
On Wed, Jan 29, 2003 at 11:33:29PM -0800, tjm3 wrote:
> Hello.  I am unable to find info on how to add a printer to the
> drop down list of printers in Mozilla 'File - Print'.  Is there a
> way to do this or is there a source for this information?

Doesn't Mozilla ask you what command you want to run to print?  It did
last time I checked.  Make sure the print command it has in the
Print... dialogue is the same as the one you need for whatever your
choice of printing system you choose.  If you use anything other than
lpr or lprng, you'll probably need to change the command.  If you use
lpr or lprng, make sure it's set up right.  If you have no idea what
I'm talking about, go look up the Printing Howto on
http://www.tlpd.org/ and go get printing working first, and see if you
still have the problem.

-- 
 .''`. Baloo <[EMAIL PROTECTED]>
: :'  :proud Debian admin and user
`. `'`
  `-  Debian - when you have better things to do than to fix a system



msg27361/pgp0.pgp
Description: PGP signature


Re: exim does not work with ppp

2003-01-30 Thread Paul Johnson
On Thu, Jan 30, 2003 at 10:31:56AM +0330, Aryan Ameri wrote:
> are still there, and even "exim -qf" isn't able to send them. It seems to me 
> that exim can't underestand that I am connected to the internet, when I use 
> ppp.

Try adding a link to runq in the appropriate place in /etc/ppp (check
your documentation).  Also, avoid specifiying a smarthost if you're
sending from more than one network, as for safety and anti-spam
reasons, you generally aren't able to send email from one network on
another network's mail server.

-- 
 .''`. Baloo <[EMAIL PROTECTED]>
: :'  :proud Debian admin and user
`. `'`
  `-  Debian - when you have better things to do than to fix a system



msg27360/pgp0.pgp
Description: PGP signature


Re: Thinkpad T30?

2003-01-30 Thread Andrew McMillan
On Mon, 2003-01-27 at 22:43, arief_mulya wrote:
> 
> Which would be better? Woody or Sarge?
> 
> To people on the debian-laptop, please cc'd also to me as I 
> was unsubscribing a while ago from the list.

I believe that model has a recent Radeon in it and you will consequently
be looking for the latest X you can get.

Other than that, normal reasons for choosing woody / sarge / sid apply,
and depend much more on your personal willingness and skill to cope with
breakage vs the general desire to be running the up to the minute stuff.

Personally I run sid, but all the tyros in our office get woody
installed.

Cheers,
Andrew.
-- 
-
Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St,  Wellington
WEB: http://catalyst.net.nz/ PHYS: Level 2, 150-154 Willis St
DDI: +64(4)916-7201 MOB: +64(21)635-694OFFICE: +64(4)499-2267
   Survey for nothing with http://survey.net.nz/ 
-


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




restarting interrupted ftp upload

2003-01-30 Thread Simon Tod
Dear All,
Probably due to a slow modem connection I seem unable
to maintain connection while uploading large files by
ftp. I know that there are programs that can restart
interupted ftp downloads and there appear to be M$
programs that can do the same for uploads, I think -
go!zilla can do this? Is there such a thing available
for Linux (esp. as a .deb file...)
Thanks.

=
---
Simon Tod
[EMAIL PROTECTED]

__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com


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




Re: Fun sound problem

2003-01-30 Thread Jack O'Quin
Paul Johnson <[EMAIL PROTECTED]> writes:

> On Wed, Jan 29, 2003 at 05:47:12PM -0800, Eric Nelson wrote:
> > Nice board, have you tried the alsa website for drivers?
> 
> Erf.  I was hoping for the simplicity of using OSS.  My understanding
> is that ALSA is Not Trivial to use, requiring ALSA aware programs;
> from a usability, it seems like the pain to install of any third-party
> kernel features, with the inconvienence similar to esound or arts
> requiring ALSA aware programs.  I'll use it if I have to, but I
> consider it a last resort.

It's true that ALSA is poorly documented and Not Trivial to use.  

But, it does *not* require ALSA-aware programs.  All standard OSS
sound applications that I've found work well with the ALSA drivers.
And, if you're running a standard Debian kernel-image, there is
probably a pre-compiled, matching alsa-modules package already
available.

If you build your own kernel from source, then you will need to
compile the drivers, too.  Not Trivial, but hardly rocket science.

Here's a good Debian ALSA HOWTO...

  
http://www.linuxorbit.com/modules.php?op=modload&name=Sections&file=index&req=viewarticle&artid=541

Good luck,
-- 
  Jack O'Quin
  Austin, Texas, USA


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




Re: ext3 partition recovery (Again) - forgot this

2003-01-30 Thread Miguel
I tried this and didn't worked :(

No problems in booting the system after restoring the old MBR but the
partitions table was not changed. However, I'm sure that the boot.XXX
file is old (from the time I was still using lilo--I'm using grub now).

I think I am going to try the "trial and error" approach and, if not
succeeded, I'll need to create a new partition with the free
space--loosing all the information that was stored in the old /home/
partition. I'm glade you helped me with this problem but since there is
no easy (and, aparently, no hard soluction either...) solution, I'll
need to solve the problem by any means.

However, if anyone else as any good suggestion, I would like to know as
the problem may arise again. By now, I think I'll never use window$ to
do any critical operation (I would like not to use window$ in any
operation at all but I'm a computer sciences student and my school is
"microsofted" :)))

Thanks everyone.

On Thu, 30 Jan 2003 01:06:57 +0530
"Jeetu Golani" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> No don't run gpart, was asking you if you'd written the partition
> table recommended by gpart since you mentioned in your first mail that
> it couldn't help. I don't think it's guesses are too correct in this
> case, though it may give you info for some good guesses.
> 
> Since you have the /boot/boot.xxx file, things should be easy. You can
> recover the partition table file from this file i.e. if your confident
> that the partition table information since the time this file was
> created is correct.
> 
> First however backup your MBR to a file and note down the output of
> fdisk -l on a piece of paper. This will help you backtrack in case
> something goes wrong. Also make sure you have a bootable disk since
> this may leave your system in an unbootable state.
> 
> You can backup your MBR to a file using the following :
> 
> dd if=/dev/hda of=mbr bs=512 count=1
> 
> To restore the MBR from the /boot/boot.xxx file that you have type :
> 
> dd   if=/boot/boot.xxx of=/dev/hda  bs=1  count=64  skip=446 seek=446
> 
> replace the xxx with the suffix of the file.
> 
> This should get your partition table back to the way it was. If all
> goes well then things should be back to the way they were however you
> may not be able to boot into the system. Use the bootable disk to boot
> into the system and check if all partitions are accessible. You can
> then use Lilo to reinstall the bootloader back in your MBR.
> 
> If the above doesn't work then you should still be in a position to
> reconstruct your partition table using fdisk, however don't reinstall
> your OS or do any significant writing to your disk since it may erase
> data and make things irrcoverable.
> 
> Good luck.
> 
> Bye
> 
> - Original Message -
> From: "Miguel" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Wednesday, January 29, 2003 9:51 PM
> Subject: Re: ext3 partition recovery (Again) - forgot this
> 
> 
> > Yes, I have the /boot/boot.003 file but I don't know how to use it
> > or event to get that information (it is a binary file...).
> >
> > Do you really think I should try to use the gpart -w ? That is risky
> > because I can boot the system--the disk is in a laptop and I cannot
> > remove that disk or even add another one to repair any problem
> > caused with the gpart -w...
> >
> > You told something about "trial and error"... do you mean to:
> >  - use, for example, the GNU parted to try to create a new partition
> >  in
> >the place I suppose it was before;
> >  - try to reboot the system;
> >  - try to mount the partition;
> >  - delete the partition
> >  - [ . . . ]
> >
> > until it works?
> >
> >  On Wed, 29 Jan 2003 19:15:58 +0530
> > Jeetu Golani <[EMAIL PROTECTED]> wrote:
> >
> > >
> > > Forgot to add this to my earlier mail, you mentioned you have the
> > > partition info when you used lilo. Please mail that info, you
> > > should be able to reconstruct your partition table with that info
> > > using fdisk.
> > >
> > > Bye
> > >
> > > On Wednesday 29 Jan 2003 4:06 pm, you wrote:
> > > > On Wed, 29 Jan 2003 10:41:51 +0530
> > > >
> > > > Jeetu Golani <[EMAIL PROTECTED]> wrote:
> > > > > Hi there,
> > > > >
> > > > > Your fdisk doesn't show the last ext3 partition, therefore
> > > > > your partition table is messed up (nothing new in that). Gpart
> > > > > seems to think that there're two other partitions apart from
> > > > > the ones being detected by fdisk i.e. one partition more than
> > > > > what you suggested in your earlier mail where in you said
> > > > >
> > > > >  My partition looks (used to...) like this:
> > > > > > >  |-- 1. NTFS
> > > > > > >  |
> > > > > > >  |-- 2. ext2
> > > > > > >  |
> > > > > > >  |-- 3. extended
> > > > > > >  |
> > > > > > >  | |-- 3.1 ext3  [ / ]
> > > > > > >  | |
> > > > > > >  | |-- 3.2 swap
> > > > > > >  | |
> > > > > > >  | |-- 3.3 ext3 [/home]
> > > > >
> > > > > Gpart thinks that beyond t

OT: sometimes it's good to see the competition

2003-01-30 Thread nate
I've run a lot of linux and unix versions over the years.. last year
I took a liking to SuSE, it has a lot of bells and whistles. My first
real experience with it was 7.3, very impressive. So I ordered 2 copies
of 7.3 pro (~$140). Then 8.0 came out ..a bit after that I ordered 2
copies of that(another ~$140). More recently 8.1 came out, this time
I only got 1 copy(~$66). (Originally I bought 2 copies so my sister
would have a copy of the manuals for her system)

I don't mind paying, its a fancy distro, but I find it difficult to
understand why such basic, important things slip past their QA teams.
When 8.0 came out they had a bug where if you launched YOU(YaST Online
update, their auto update tool) when logged in as root it would
fail to verify gpg signatures forcing you to click a dialog box maybe
50 times(no way to abort mid-update, I tried once by killing the process,
which caused the online update tool to immediately crash when launched
every time after that,ended up having to reinstall the whole box, all
attempts to purge and reinstall the YaST2 subsystem failed to resolve the
issue and the box was only 2 hours old so it wasn't a big loss). But if you
logged in as a normal user and loaded it(which it then prompted for the root
password) it
worked fine. Ok..what a pain, I figure it will be fixed in the next
rev..

And it was, but in the process they introduced a new "bug" into YOU,
it uses wget to download stuff apparently, and they failed to
configure wget to use passive ftp, so any attempts to download fail(if
your behind some form of NAT). I didn't know at the time, so I configured
SuSE to use a proxy using their YaST2 tool, but I guess that setting doesn't
affect YOU since wget's config wasn't changed. Only later did I see on their
support page that they forgot to turn on passive ftp. When running YOU
it just spits back a generic message saying basically 'error, try another
mirror'.

With all the bells and whistles I would of hoped this very very
important application would work nearly flawless(infact it did, in
it's first incarnation!). dissapointing. While SuSE has neat stuff
like built in RAID/LVM support in the installer, I think having a working
update tool is more important. Especially if this tool is designed
from the ground up by SuSE, it's not some port of apt-get from
some unsupported 3rd party[1], or some other tool, SuSE made it, why
doesn't it work!(out of the box)

and why they don't default to using HTTP vs FTP I'm not sure(their
list of update servers doesn't list a single HTTP server). And why
their proxy config doesn't change wget..*sigh* Also their mirror
system is real shitty. Recently I installed SuSE 8.0 on about 6 differnet
systems, when running YOU I had to connect to usually 2 or 3 different
mirrors, since all of them were missing at least 1 package, and there
was 1 package(forget which) which wasn't on ANY of the mirrors even the
main SuSE site. If they aren't gonna provide the package, yank it so
the update tool doesn't try to look for it!

I still like SuSE, but I don't see it replacing any of my debian systems.

And it would be nice if I didn't have to buy a CD to upgrade minor
revisions(should be provided via YOU but I think YOU is not robust enough
to handle such an upgrade).

nate

[1] I had tried apt-get which was ported to SuSE back about 7-8 months
ago? on SuSE 8, it downloaded a buncha stuff then spit out an obscure
error which I was unable to resolve(and it refused to continue).



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




Setting up the mail program

2003-01-30 Thread Joris Huizer
Hello everybody,

I've got this question.
During the installation I didn't set up the mail
program correctly, that
means, it can't send over the internet.


The internet provider has the following: a POP Mail
service and an SMTP server - no nntp as pine wants (it
seems)

How do I set up mail for this ? I can't find the
configuration of the program.
My personal mail is currently send to mozilla but it's
too slow in loading I think.

Thanks in advance,

Joris Huizer

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


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




<    1   2   3