Re: X on a Fujitsu Lifebook 420D

2001-02-25 Thread David Reviejo
* Rafael Hinojosa <[EMAIL PROTECTED]> [010225 22:07]:
> Its a simple problem, but one I should know better to take care of.  When
> I initiate X (startx or xinit) the laptop begins to spew a whole bunch of
> information and attempts to start X.  It craps out shortly and returns the
> following error:
> 
> Fatal server error:
> could not open default font 'fixed'

Some things to try:

% dpkg -s xfonts-base
  be sure this package is installed

% grep misc /etc/X11/XF86Config
  you need a font path like
 FontPath   "/usr/lib/X11/fonts/misc"

% ls -l /usr/lib/X11/fonts/misc
  all the files in this path need to be world readable

Anyway, try sending the startx output to a file with
startx >somefile 2>&1
to find more information about what is happening.

Cheers,
-- 
David



Re: Parallel Printer Port Problem

2001-01-06 Thread David Reviejo
Hi,

* Jo Geraerts <[EMAIL PROTECTED]> [010106 18:41]:
> On Sat, 6 Jan 2001, David Reviejo wrote:
> 
> > > I chmod 0666 /dev/lp0 and it worked without su.
> > Don't do this. The /dev/lp? devices are 0660 by default, with group
> > "lp"; you only need to add the user who need to use the printer
> > to the "lp" group (this work too for another devices: group "floppy" for
> > floppys, "dialout" for serial, ...).
> 
> I you don't even have to add the user to the lp group, lpr is normally
> setuid root. The user don't has to access the lp port, lpr does.

You are right, for normal printer use with lpr.

My advice was to not chmod /dev/lp0 to 666 if you want direct access to
the device for some non-root user (like doing echo or cat to /dev/lp0).

Cheers,
-- 
David



Re: Parallel Printer Port Problem

2001-01-06 Thread David Reviejo
* Jeffrey S. Coppock <[EMAIL PROTECTED]> [010106 15:32]:
> Jo, et al;
> 
> I tried the echo redirect below and was told 'permission denied', so I
> tried it as root and it worked, the printer printed the message.
> 
> I chmod 0666 /dev/lp0 and it worked without su.

Don't do this. The /dev/lp? devices are 0660 by default, with group
"lp"; you only need to add the user who need to use the printer
to the "lp" group (this work too for another devices: group "floppy" for
floppys, "dialout" for serial, ...).

> lp|dj952c|HP Deskjet 952C:\
>   :lp=/dev/lp0:sd=/var/spool/lpd/dj952c:\
>   :sh:pw#80:pl#66:px#1440:mx#0:\
>   :if=/etc/magicfilter/dj690c-best-filter:\
>   :af=/var/log/lp-acct:lf=/var/log/lp-errs:

Try using /dev/lp1, and see if this help.

-- 
David



Re: Netscape 4.73 missing wrapper.d

2000-08-06 Thread David Reviejo
* Gernot Bauer <[EMAIL PROTECTED]> [000806 19:41]:
> when I start netscape from an xterm, I get the following error-message:
> 
> bash-2.03$ ls: /usr/lib/netscape/473/wrapper.d: No such file or
> directory
> ls: /usr/lib/netscape/473/communicator/wrapper.d: No such file or
> directory
> 
> Did I miss to install a package? I know that wrapper.d is in
> /usr/lib/netscape/base-4. Could that be a bug of Debian/frozen?
> 

I think is a little bug (I'll see if it's reported to the mantainer).

It seems the netscape wrapper script look for another scripts in some
wrapper.d dirs using "ls" (this error is from ls as you can see). If you
don't want this messages (netscape will run anyway), just make as root
an empty /usr/lib/netscape/473/wrapper.d

Cheers,
-- 
David



Re: System locked and now complains at startup about modules

2000-08-05 Thread David Reviejo
* Jeronimo Pellegrini <[EMAIL PROTECTED]> [000805 11:57]:
> To see what could be the problem, I left the system with xmms running
> while I was out for 4 hours. When I came back, the keyboard was
> non-functionl, and nothing worked... Since it's a standalone box, I
> hadto reset it. I was sort of expecting this (I was actually trying to
> rule out some applications that could be locking the system)

Two weeks ago I tried xmms with the same result: a locked system; I
think this app is broken. Don't use it (try freeamp), and see what
happen.

> But at startup, it now makes strange complaints, like:
> 
> modprobe: can't locate module #
> modprobe: can't locate module are
> modprobe: can't locate module with
> 
> But these are parts of commented lines in /etc/modules!!!
> 

As you say, this is not a problem; but only for curiosity, take a look
at /etc/init.d/modutils: this script parses /etc/modules at init with a
loop; mine (from potato) is:

# Loop over every line in /etc/modules.
echo -n 'Loading modules: '
(cat /etc/modules; echo) | # make sure there is a LF at the end
while read module args
do
case "$module" in
auto)   [ ${startkerneld} -eq 0 -a -x /sbin/kerneld ] && \
echo && /etc/init.d/kerneld start && startkerneld=1;
continue ;;
noauto) continue ;;
\#*|"") continue ;;  # <- this strip comments
esac
echo -n "$module "
modprobe $module $args
done

Play doing this by hand, or make a test script using echo to see what's
going on.

-- 
David



Re: potato installation problem: lp driver; get "init_module: Device or resource busy" message: MORE DATA

2000-08-05 Thread David Reviejo
* Daniel Barclay <[EMAIL PROTECTED]> [000805 11:57]:
> 
> > When I get to the step of configuring device drivers, I can't 
> > install module lp.
> > ...
> 
> Here's something else I noticed:
> 
> When the system boots, right before the first installation program
> dialog comes up, a number of repeated messages flash by on the screen, 
> saying (approximately--they flashed by):
>... modprobe: can't open dependency file /lib/modules/2.2.17/modules.dep

Try running "depmod -a" by hand (as root); this command will make your
modules.dep. If this is ok, take a look at /etc/init.d/modutils: this
script run depmod at init; see if a symlink (S20modutils) to this file
exist in /etc/rsS.d

-- 
David



Re: ppp connection speed

2000-08-04 Thread David Reviejo
On Thu, Aug 03, 2000 at 10:48:32AM +0200, Philippe MICHEL wrote:
> Hello,
> 
> I am using Debian slink, and a standard modem/pppd connection to my
> provider. 
> 
> Everything works well since years (I used the same config with Slakware)
> 
> But how/where can I see with which speed the modem has been connected ??
> 
> thanks,
> 
> -- 
> - Philippe MICHEL

A very simple solution:

- put
REPORT  CONNECT
  in your chat script (pppconfig do this for you, at least in potato).
  Take a look at your modem docs; maybe you need REPORT CARRIER instead.

- use the chat "-r" option to set the chat log file (p.e:
  /var/log/chat.log). In this file you get something like this:

chat:  Aug 04 13:12:20 CONNECT 9600
chat:  Aug 04 13:14:02 CONNECT 14400/REL-LAPM V.42 BIS
chat:  Aug 04 18:11:05 CONNECT 33600/ARQ/V34/LAPM/V42BIS
   ^
HTH,
-- 
David



Re: Cool trick: gmc and Debs

2000-08-04 Thread David Reviejo
* Lehel Bernadt <[EMAIL PROTECTED]> [000804 21:30]:
> 
> On 04-Aug-2000 Carl Fink wrote:
> > On Fri, Aug 04, 2000 at 12:16:33PM -0400, Mike Werner wrote:
> >  
> >> You can also browse tarballs, gzips, bzips, gzipped tarballs, bzipped
> >> tarballs, and zips as well, providing that the attendant gzip, bzip, tar,
> >> and zip programs are all installed.
> > 
> > Interestingly, though, it can't browse cpio archives.
> 
> mc's vfs uses the scripts in /usr/lib/mc/extfs, so it can be easily
> extended to handle other formats too.
> 

Yes, but I think mc support cpio archives right now (see
/usr/lib/mc/extfs/ucpio). 

Anyway, I'm having some anoying messages from mc like this
Direntry warning
Super ino_usage is 2, memory leak
when browsing/extracting from gziped tar balls. 

Anyone know what is this?
-- 
David