Re: Mtools questions.

2002-02-28 Thread J.A.Serralheiro
you need to have user write permissions on /dev/fd0
or any other device. Your administrator must chmod 766 /dev/fd0.


On Thu, 28 Feb 2002 [EMAIL PROTECTED] wrote:

 Hi All.
 I want to use the mtools, but I don't have the documentations about
 mtools (and connot get it now). When I use mtool from user (not root) I
 show: Can't open /dev/fd0: Permossion denied Cannot initialize 'A:'.
 Need I write user to  group floppy?
 I want also to allow user to use Zip device. What is to be done
 in addition to `drive z: file=/dev/sda4' in mtools.conf?
 Many thanks for any comments.
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: IRda

2002-02-10 Thread J.A.Serralheiro
do you have it enabled in bios ?


On Fri, 8 Feb 2002, Pedro Quaresma de Almeida wrote:

 Hi
 
 I am trying to use my InfraRed port in my Debian box (HP Omnibook Xe3,
 kernel 2.4.4) but without any sucess:
 
 It seems that the port it is not recognized by the system.
 
 Can you help me. Thank you.
 
 -- 
 
 Pedro Quaresma de Almeida
 e-mail: [EMAIL PROTECTED]
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: Adding a second hard drive

2002-02-08 Thread J.A.Serralheiro
try /dev/hdc instead


On Fri, 8 Feb 2002, Patrick Kirk wrote:

 Hi all,
 
 I have a second hard drive installed and in the Dell BIOS its seen as a 40
 Gig hard drive which is correct.
 
 The system runs Debian Woody with kernel 2.4.17
 
 When I try to partition the second hard drive using cf disk, all I see is
 the first hda drive...no sign at all of the second.
 
 cfdisk /dev/hdb and cfdisk /dev/hdd both report FATAL ERROR: Cannot open
 disk drive
 
 What do I need to do to partition and format the second drive?
 
 Thanks in advance,
 
 Patrick
 
 Telephone: 0870 011 8494
 GSM: 07876 560 646
 Web site: www.kirks.net
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: Adding a second hard drive THANK YOU!!

2002-02-08 Thread J.A.Serralheiro
here are some more tips

ide 0 master is hda
ide 0 slave is  hdb
ide 1 master is hdc
ide 1 slave is  hdd

u must know wether your hd is master or slave and if its in ide0 ( primary
)
or in ide 1 ( secondary )


On Fri, 8 Feb 2002, Patrick Kirk wrote:

 
 zulfiqar:~# dmesg |grep hd
 ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
 ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
 hda: WDC AC24300L, ATA DISK drive
 hdc: MAXTOR 6L040J2, ATA DISK drive
 hda: 8421840 sectors (4312 MB) w/256KiB Cache, CHS=524/255/63, UDMA(33)
 hdc: 78177792 sectors (40027 MB) w/1820KiB Cache, CHS=77557/16/63, UDMA(33)
  hda: hda1 hda2 hda3 hda4
  hdc: unknown partition table
 
 
 THANK YOU!!
 - Original Message -
 From: Kurc, Marcin A. [EMAIL PROTECTED]
 To: 'Patrick Kirk' [EMAIL PROTECTED]
 Sent: Friday, February 08, 2002 8:15 AM
 Subject: RE: Adding a second hard drive
 
 
  what does 'dmesg |grep hd' show?
 
 
  Marcin Kurc
  CAD Systems Administrator
  Cooper-Standard Automotive
 
  -Original Message-
  From: Patrick Kirk [mailto:[EMAIL PROTECTED]
  Sent: Friday, February 08, 2002 7:12 PM
  To: Debian User
  Subject: Adding a second hard drive
 
 
  Hi all,
 
  I have a second hard drive installed and in the Dell BIOS its seen as a 40
  Gig hard drive which is correct.
 
  The system runs Debian Woody with kernel 2.4.17
 
  When I try to partition the second hard drive using cf disk, all I see is
  the first hda drive...no sign at all of the second.
 
  cfdisk /dev/hdb and cfdisk /dev/hdd both report FATAL ERROR: Cannot open
  disk drive
 
  What do I need to do to partition and format the second drive?
 
  Thanks in advance,
 
  Patrick
 
  Telephone: 0870 011 8494
  GSM: 07876 560 646
  Web site: www.kirks.net
 
 
  --
  To UNSUBSCRIBE, email to [EMAIL PROTECTED]
  with a subject of unsubscribe. Trouble? Contact
  [EMAIL PROTECTED]
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: system service?

2002-02-05 Thread J.A.Serralheiro
i think if you install the debian package that is done automatically. At
least I installed apace once and it was started from then on automatically


On Tue, 5 Feb 2002, linuxman wrote:

 hi,
 
 I am sorry for the stupid question!
 
 Anyone can tell me how to start apache automatically in debian? Thanks!
 
 linuxman
 =
 Linux is all my life
 
 



Re: Alsaplayer

2002-01-29 Thread J.A.Serralheiro
r you sure you unmutted all channels ?
okay assuming you did. Try adjusting the level for the channel. I run CD's
directly to the sound card, I mean, I have a cable connecting the analog
output of the cddrive to the channel in thecard. gtcd player is a very
nice ( and ligth ) program to choose songs etc. When you play mp3 files,
the player sends its output to a device,that may not have user
permissions. So when I play mp3 they play ina diferent channel form the
cd, and I can have both working at the same time. Check permissions for
/dev/dsp, /dev/sound, /dev/mixer etc. Thats what I would do.

On Tue, 29 Jan 2002, [iso-8859-1] Jos? Luis Ayala wrote:

 Hi folks,
 
 I've just configured my sound card (AC'97 chipset) with the Alsa modules. 
 I've unmuted all the channels by using the alsamixer tool and I've realized I 
 can listen to CDs with the gnome utility. However, I'm not been able to hear 
 any mp3 file. The alsaplayer does not respond to the play button!! and, if 
 I try another mp3 player (like bplay), the tool seems to be working but no 
 sound is obtained.
 
 What could be wrong? Thanks a lot in advance. Regards,
 
   Jose Luis Ayala
 
 -- 
 
 Jos? Luis Ayala Rodrigo   Phone: 34-91-5495700 ext.420/544
 Dpto. Ingenier?a Electr?nica  Fax:   34-91-3367323
 ETSI Telecomunicaci?n
 Ciudad Universitaria s/n
 28040 Madrid (Spain)  Email: [EMAIL PROTECTED]
 
 Linux Registered User #182215
 -
 Teor?a es cuando se sabe todo y nada funciona; pr?ctica, cuando todo 
 funciona y nadie sabe por qu?.
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: ...and then add a nic

2002-01-25 Thread J.A.Serralheiro
/etc/network/interfaces

more information man interfaces


On 24 Jan 2002, Keith O'Connell wrote:

 
 I have another question about installations. If you install Debian
 with a network card, a number of files/settings are presumably
 createds.
 
 If you install it with out a nic, I assume that these network specific
 files and settings are not created. If a nic is subsequently added,
 then what files are needed to be added by hand to make the machine
 network ready *apart* from the module for the card itself?
 
 Keith
 -- 
 
   Keith O'Connell
   Maidstone, Kent (UK)
   [EMAIL PROTECTED]
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: root password forgotten

2002-01-25 Thread J.A.Serralheiro
what I would do: take the harddrive to another machine
edit /etc/passwd and in the root entry delete the x next to the user name.

after that, root access does not need password. place the hd back inthe
workstation and turn it on. login as root and change the password as
usual. There are better ways like building a booting floppy but I dont
know how


On Sat, 26 Jan 2002, Pieter De Troyer wrote:

 Hi,
 
 After letting it catch some dust in the past months I dug up an old
 workstation that wasn't completely configured yet.
 
 Problem: don't remember the root password. Only the password from the
 only other user account on the machine. Booting in single user mode
 prompted me for the root password (or ctrl+d) for normal boot.
 
 what can i do?
 
 pieter
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: Mixer

2002-01-23 Thread J.A.Serralheiro
really ? but you removed the mixer device file first. HA!

you can createnew device files using MAKEDEV
do man MAKEDEV to read more about.


change to /dev directoty. then MAKEDEV mixer  anbd everithuig should be
fine


On 22 Jan 2002, Mike Atamas wrote:

 I accidently made /dev/mixer/ a link to a file. Now none of my mixers
 work. How can I fix this?
 
 Mike
 [EMAIL PROTECTED]
 
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: usb/modem irq conflict

2002-01-21 Thread J.A.Serralheiro
is your modem isa or pci?if its pci then you should be ok. your bios
should not idenitfy pci devices in the same irq. if its isa, then try
changing the modem's irq, either by isapnp , if supported, or by its DOS
configuring disk. Also, you can try using the bios setup to make it assign
a diferent interrupt to the usb controler.


On Sat, 19 Jan 2002, Thomas H. George,,, wrote:

 When I built a kernel with usb support the usb controller took over irq 
 3 which was being used by my modem.  I had to recompile without usb 
 support to get back online.  At present my best guess is to disassemble 
 the computer and move the modem card to a different pci slot.  Are there 
 any progammable solutions to this problem?
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: identify my 486 motherboard

2002-01-21 Thread J.A.Serralheiro
you should try to find the manufacturer and the board manual

you can start by

http://www.wims.com 

to identify the manufacturer.

On Mon, 21 Jan 2002, Muchlas Yusak wrote:

 i had trouble with dual ide controller (conflict) with my 486 motherboard.
 i dunno what manufacture made that mb. specification is TK 8881 - FA 20.what 
 should i do?
 [EMAIL PROTECTED]
 
 



Re: identify my 486 motherboard

2002-01-21 Thread J.A.Serralheiro
im sorry. 

actually its

http://www.wimsbios.com


sorry


On Mon, 21 Jan 2002, Muchlas Yusak wrote:

 i had trouble with dual ide controller (conflict) with my 486 motherboard.
 i dunno what manufacture made that mb. specification is TK 8881 - FA 20.what 
 should i do?
 [EMAIL PROTECTED]
 
 



Re: Help me

2002-01-21 Thread J.A.Serralheiro

ythe pci bus is faster, though if your card is 700hz ( really ?? ) theres
notrhing you can do. Best choice is to check in the new card manual for
specifications before buying.


On Mon, 21 Jan 2002, amir isf. wrote:

 Hello
 I used and programmed opti931 sound card in dos (ISA).
 My program need to 3000Hz frequency (ISA), but card
 not supported this frequency.
 I think frequncy of card is 600~700 Hz.
 Do I use PCI card ?
 How do I use ISA card in freq.=3000Hz?
 Please hlp me.
 Thanksfull
 Reza Isfahnai (Amir)
 
 __
 Do You Yahoo!?
 Send FREE video emails in Yahoo! Mail!
 http://promo.yahoo.com/videomail/
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: a modest proposal - Debian needs more $

2002-01-21 Thread J.A.Serralheiro
Personaly, I think that working for fun on spare time gives the best
achievements, as that happend with my self. I dont state here that
developers should work harder. NOT AT ALL. But somekind of non-monetary
reward should be given. Even if some take advantage of others work,  what
debian and free software represents will prevail. If one day debian gets a
little short in cash for its basic needs, there will be plenty of people
willing to help. I will, though never done it yet :-)

On Mon, 21 Jan 2002, Colin Watson wrote:

 On Mon, Jan 21, 2002 at 08:35:35AM -0800, [EMAIL PROTECTED] wrote:
  I have the following modest proposal :
  
  Debian should start charging for high-speed apt-get/dselect/whatever
  downloads from it's sites.  56k is free, anything faster you pay for.
  Then we can pay people to work on the not fun stuff that needs doing.
  
  And people who download ISO's to sell should be paying a LOT.
  
  And this is not a troll.  
 
 Are you sure it isn't? You do that and I guarantee you most of the
 developers will leave.
 
 -- 
 Colin Watson  [EMAIL PROTECTED]
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



RE:parallel port reading and writing

2002-01-18 Thread J.A.Serralheiro
I'm running linux 2.4.14. Im going to check that CONFIG_PPDEV thing. I
dont know why yet but how does the control lines in the parallel port get
controled with the lp driver ? There must be some magic () that 
that thee user programs are unaware of. Looks like its a great time to
read the linux kernel programming guide too :-)

thank you.





parallel port reading and writing

2002-01-17 Thread J.A.Serralheiro
hi folks. 
forgive me for  posting just another boring message. I am building
some hardware to work in the parallel port. I want to have full control of
the parallel port control register, to use as some signal lines. In the
past two days I have been colecting information on how to use ioctl, and I
have almost succeeded. The thing is that with the LP driver, I have no
control over the control register. Can some one help me? I saw someting in
the net abut ppdev driver that lets you control de control register. How
can I replace the lp driver with the ppdev driver ?


thank you in advance



Re: Unidentified subject!

2002-01-17 Thread J.A.Serralheiro
use biff I think. biff is shell command that tells you of incomming mail.

more details in man biff


On Thu, 17 Jan 2002, YO MERITA wrote:

 what can i do to get notified of new mail?
 
 __
 Do You Yahoo!?
 Send FREE video emails in Yahoo! Mail!
 http://promo.yahoo.com/videomail/
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: hdparm and old system

2002-01-10 Thread J.A.Serralheiro


On Thu, 10 Jan 2002, Adam Majer wrote:

 On Thu, Jan 10, 2002 at 10:56:59PM +1100, Matt Chipman wrote:
  
  
   Hi all,
   
   I have a 486 with 1 byte serial FIFO. This means if I transfer stuff
   through my modem, I get a bunch of bits lost when HD trasnfer any
   data. To fix the problem I unmasked IRQs on the HD controller.
   
  
  
  I could be way off the mark here but when your system boots, does it 
  say 2 x serial ports 16550 UART ?
  
  If not replace your serial/hd controller with a 16550 uart model
  
  -Matt
 
 It's a 16450 UART [or something like that]. Hence 1 byte FIFO instead of 
 16 byte FIFO.
 
 If the interrupts were unmasked properly then I wouldn't need to get new 
 hardware... As I said, it works in 2.2.x series...
 
 - Adam

That, even if you think of replacing the io card, its very likely that you
dont find 16550A UART's available. I have several, all of diferent
manufacturers, and none is a 16550; instead they r 16450. 
Did you check if the interrupts are correctly assigned to the serial
ports? with irq=0, the serial ports will be pooled instead of relying on
their irq lines. If you pool with a eavy processor load, characters will
be lost. I dont know if this can help you, but i hope so. Maybe you can
give us some more information. I remember reading somewhere that the
serial
driver does not assign irq lines to serial ports, it only identifies
hardware. To do that ( assign irqs ) you must configure /etc/serial.conf
and run setserial. Its up to with setserial to assign each device (
/dev/ttySx ) to each hardware physical port. Usualy setserial will be run
 at start up, thus configuring the irq lines; but for testing do the
following:

$setserial /dev/ttySx 
will give you the status of the device.

an example is:
$setserial /dev/ttyS0 irq 4 



J.A.Serralheiro



Re: Making root fs disk

2002-01-08 Thread J.A.Serralheiro
or you boot with dos and then run loadlin that is in the CD. that should
work I think


On Mon, 7 Jan 2002, Penguin wrote:

 How do I make the install disks? (Because my 486 won't boot from CD)
 
 Is it $ dd if=/cdrom/some/root.img of=/dev/fd0 -[blah]=1440 ?
 
 I'm using RedHat until my CD set of Potato 2.2r4 arrives in the post, so my 
 floppy is mounted on /mnt/floppy and the device is /dev/fd0.
 
 I have the boot disk, but I can't remember how I did it and the debian docs 
 on the CD don't say how to do it on Linux, only using rawrite or whatever.
 
 So is it the same process for both disks, the bootable disk and the root 
 filesystem disk?
 
 Thx,
 James
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: Getting modules loaded automaticly at boot

2002-01-08 Thread J.A.Serralheiro

try mentioning the module name ( withou .o ) in /etc/modules



On Tue, 8 Jan 2002, Stan Brown wrote:

 I'm building a new testing machine for my wife, and it has a WinTV card
 in it.
 
 If I modprobe bttv manually the card works fine. However I would like to
 get this module loaded autmaticly at boot time.
 
 I've looked at the update-modules man page, and I still don't understand
 how to acomplish this.
 
 How can I get this module loaded at boot time?
 
 -- 
 Stan Brown [EMAIL PROTECTED]
 843-745-3154
 Charleston SC.
 -- 
 Windows 98: n.
   useless extension to a minor patch release for 32-bit extensions and
   a graphical shell for a 16-bit patch to an 8-bit operating system
   originally coded for a 4-bit microprocessor, written by a 2-bit 
   company that can't stand for 1 bit of competition.
 -
 (c) 2000 Stan Brown.  Redistribution via the Microsoft Network is prohibited.
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: Kernel Panic

2002-01-03 Thread J.A.Serralheiro
at first try to boot with a rescue disk, either a floppy or a instalation
cd.


On Thu, 3 Jan 2002, Mike Kuhar wrote:

 Hello everyone,
 
 Yesterday I built the kernel-source-2.4.17.  All seemed well.  I had
 re-booted a couple times without problems.
 
 Today, however, I get the error message Kernel panic:VFS:unable to mount
 root fs on 03:03.
 
 Two months ago I had converted by fs from ext2 to ext3.
 
 I'm wondering what I need to do the get my system back without a re-install,
 if that's at all possible.  Any and all ideas would be greatly appreciated.
 
 Thanks -mk
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: make-kpkg exists, right?

2002-01-03 Thread J.A.Serralheiro
just compile the kernel the generalw way. make-kpkg will create a package
that u install as if some some software package.

cd to /usr/src/linux and read README file. There u will find all the
instructions u need to compile the kernel without relying on the debian
weay

On Thu, 3 Jan 2002, Seneca Cunningham wrote:

 Right now my system is half-working and is a combination of potato and
 woody. I am trying to compile a new kernel after having a number of problems
 with my system. The instructions for compiling a new kernel say to enter in
 make-kpkg clean, but that doesn't work on my system.
 
 icosagon:/usr/src/kernel-source-2.4.16# make-kpkg clean
 bash: /usr/bin/make-kpkg: No such file or directory
 icosagon:/usr/src/kernel-source-2.4.16# make-kpkg --help
 bash: /usr/bin/make-kpkg: No such file or directory
 icosagon:/usr/src/kernel-source-2.4.16# make-kpkg
 bash: /usr/bin/make-kpkg: No such file or directory
 icosagon:/usr/src/kernel-source-2.4.16# whereis make-kpkg
 make-kpkg: /usr/bin/make-kpkg
 icosagon:/usr/src/kernel-source-2.4.16# cd /usr/bin
 icosagon:/usr/bin/# ls make-kpkg
 make-kpkg
 
 First it claims that make-kpkg isn't a file or directory, then it tells me
 where it is. Unlike make-kpkg, the manpage can be accessed. I have
 reinstalled kernel-package three or four times, with the most recent time
 being from a second download. I am attempting to use the version of
 kernel-package that is in woody. What do I need to do to get further in my
 attempt to compile a kernel?
 
 Thanks for any help,
 
 Seneca
 [EMAIL PROTECTED]
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: Just wondering...

2002-01-02 Thread J.A.Serralheiro
there is no reason for alarm. I have posted several messages in the
past that also
were disregarded for some reason. Later I realized they all were silly
questions. I dont think your posts were silly ( as a matter of fact I have
no idea about its contents ) but, surelly either people of this list didnt
knew the awnser or they just didnt bother to reply. Its allways a matter
of good will to explain things and  you we must live with that. There isnt
any kind of commitment when joining this list. 

regards 
J.A.Serralheiro

On Wed, 2 Jan 2002, Carlos Sousa wrote:

 
 Have I been killfiled by ALL of you guys? :( 'Cause I may well be the 
 only guy that has posted 3 different questions to this list, since early 
 December, and hasn't received ANY reaction at all (not even a flame for 
 being off-topic or otherwise out of line). And there have been answers 
 to other posts on the same or close by topics.
 
 I don't think the RedHat lists would welcome questions / problems from 
 Debian users, so I'm starting to get worried...
 
 A good 2002 to you all.
 
 -- 
 Carlos Sousa
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: Bring up ppp link on shell

2002-01-02 Thread J.A.Serralheiro
u can use wvdial or pon,
both make the use of pppd.
check wvdial man pages, and the ppp howto. You must configure several
things before u can use dial up connections.

On Thu, 3 Jan 2002, Penguin wrote:

 How do I bring a dialup PPP link with a shell? It's `ifup iface-name' or 
 something? Is that all? How do I tell when the link is down if I have a shell 
 script for example downloading the latest Debian dist? Can I poll/interrogate 
 something which will tell me?
 
 Cheers
 James
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: Parallelport trouble...?

2001-12-31 Thread J.A.Serralheiro
well the first thing I would do is to investigace configuration files for
control panel or something. As usual, parallel ports come in /dev/lpx (
where x= 0,1,2 etc). You parallel port sould be /dev/lp0.


On Sun, 30 Dec 2001, Pontus Edvardsson wrote:

 Hi,
 
 I'm trying to setup my HP LaserJet 6L on Woody, (kernel 2.4.17), using CUPS. 
 I have investigated as much as I can, and tried to find info on the web as 
 well, but failed. I enabled the FIFO option and added 'append=parport=auto' 
 in /etc/lilo.conf. I thought I might have forgotten something while 
 configuring the kernel, but i find this in /var/log/kern.log;
 
 kernel: parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
 kernel: parport0: irq 7 detected
 kernel: parport0: Printer, Hewlett-Packard HP LaserJet 6L
 
 which to me seems correct?
 
 When using Print manager in control panel to set up the printer, it detects 
 it on parallel:/dev/unknown-parallel0.
 
 Why? What am I missing?
 
 I'd appriciate some help... ;)
 
 Thanks, Pontus
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: A instalação não se completa

2001-12-31 Thread J.A.Serralheiro
e dai? voce deve ter algum problema de hardware gata. Pegue o manual de
instalacao da distribuicao debian...


On Mon, 31 Dec 2001, Ana Claudia wrote:

 N?o consigo instalar o 2.2 num athlon 850 placa m?e M810 por que na hora em
 que o instalador n?o consegue ir para a tela gr?fica e volta para a tela
 texto dizendo que vai para a tela gr?fica...
 
 O ?nico que consegui instalar nesta m?quina foi o Slackware 8 e desejo muito
 colocar o debian.
 
 Atenciosamente,
 
 [EMAIL PROTECTED]



Re: help: LSR safety check engaged!

2001-12-27 Thread J.A.Serralheiro
hi. After recompiling, u must have compiled the serial driver built in and
that may put your serial ports in diferent devices ( i mean /dev/ttySx )
Another thing is that you may have not compiled the serial driver at all (
not even as a modules); and when you try to use some hardware that is not
detected ( because the driver is not in use) then you cant. But I suppose
the problem is the first I mentioned

try to see what hardware is identified with cat /proc/ioports
then man setserial etc


On Wed, 26 Dec 2001, Saqib Shaikh wrote:

 Hi Listers,
 
 I recently installed Debian 2.2R4 on my Dell Inspiron 3800 laptop which has
 a Pion Gold Card PCMCIA modem.  During installation I wanted to update the
 base system using PPP, so I went through PPPSetup successfully, and it told
 me that it found the modem on /dev/ttyS1.  This didn't surprise me - I have
 a single serial port and therefore the second serial port must be the PCMCIA
 card.
 
 After running Debian happily for a few days I got the latest kernel source,
 2.4.17 from kernel.org, and recompiled my kernel including PCMCIA and PPP
 support.  When I boot up the computer beeps to say that it found my modem.
 However when I typed pon to initialise PPP I got the error message:
 ttyS1: LSR safety check engaged!
 printed out twice.  The prompt didn't return, but when I hit enter I was
 returned to the prompt.  Does anyone have any idea why this happens and how
 I can get PPP working?  I have included part of my /var/log/messages file
 which I think may be of use.
 
 Thanks very much with any help.
 
 Regards, Saqib Shaikh
 Email [EMAIL PROTECTED]
 Web site www.saqibshaikh.com
 
 Dec 26 22:02:42 debian kernel: ttyS1: LSR safety check engaged!
 Dec 26 22:02:42 debian kernel: ttyS1: LSR safety check engaged!
 Dec 26 22:02:42 debian kernel: cs: IO port probe 0x0c00-0x0cff: excluding
 0xcf8-0xcff
 Dec 26 22:02:42 debian kernel: cs: IO port probe 0x0800-0x08ff: excluding
 0x800-0x84f 0x860-0x86f
 Dec 26 22:02:42 debian kernel: cs: IO port probe 0x0100-0x04ff: excluding
 0x378-0x37f 0x4d0-0x4d7
 Dec 26 22:02:42 debian kernel: cs: IO port probe 0x0a00-0x0aff: clean.
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: nfs root mount problem

2001-12-25 Thread J.A.Serralheiro


well, I alreadyt made a floppy but now im starting from pure dos using 
.com programs. In fact when I tried to copy it to the floopy i had the
similar problems as u describe, but I compiled the boot1a.bin program so I
could copy it to the floppy with the cat utility. I cant remember how I
did, but I remember I had to do it manually after compiling the boot prom
itself, let me see...It looks it works
oh I think I did this:

goto ./ether_something/src
then type 
make bin/boot1a.bin

If you have an original Makefile it should compile boot1a.bin  place it
in src/bin/

THen all you have to do is proceed with instructions in the etherboot
manual..


regards. It seemed my problem was related with the ether=  thing in the
kernel command line. I hanvent been working on that, but I will try it
soon

thanks


On Fri, 21 Dec 2001, David Wright wrote:

 
 
 How did you make a boot floppy that initiates the process? I am just 
 starting to try to make diskless systems (not to make thin clients, but to 
 centralize software installation on a computational cluster) and am stuck. 
 The etherboot tutorial says to
   cat floppyload.bin 3c905.lzrom  /dev/fd0
 but the etherboot distribution doesn't contain any floppyload.bin (yes, 
 I did make it) and the ROM images from http://www.rom-o-matic.net end in 
 .lzdsk  not .lzrom, which I'm not sure is the same. Is there a more 
 up-to-date tutorial which does etherboot with boot floopies?
 
 On a related note, the 2.2.x kernels must be built with an allow root to 
 mount over nfs option to get this to work, but this option appears to be 
 gone from the 2.4.x kernels. Is it unnecessary, or just hiding?
 
 



floppy mounted on diferent uid

2001-12-20 Thread J.A.Serralheiro
Hi! Its been a while I'm having a small problem. Every time I mount a
floppy using my usual username account, the floopy directory uid is set to
a diferent uid. In this case, my sister's uid. The problem is that I cant
mout/unmount, but cant write to the floppy. When I format it with ext2,
using mkfs, the problem seems to go away, but latter returns. I have seen
this problem somewhere else, also using debian, but I wasnt told how to
fix it.

Thank you for any help.




nfs root mount problem

2001-12-20 Thread J.A.Serralheiro

Hi again. My other problem is building a diskless system. I followed all
the instructions in the diskless how to, and the etherboot help, but it
seems I cant overcome this detail. My network card is an isa wd 8013. I
compiled the module in the kernel. The diskless computer does the download
of the kernel image, uncompresses it, but fails to mount a root fs on nfs.

Error are like:
IP-Config: no devices available.

Failed to mount root on nfs, giving up.

I typed the ones I can remeber best, and they are not a perfect match.

of course, as usual, any help is welcome.


regards
J.A.Serralheiro



Re: spurious 8259A interrupt: IRQ7 ??

2001-12-13 Thread J.A.Serralheiro
something about the printer not being requesting any service and
the interrupt line is generating interrupts. maybe some interference,
I dont know. Its not a problem because the hardware has a bit to let the
cpu know if in fact an interrupt has happened.


On Wed, 12 Dec 2001, Stan Brown wrote:

 A new woody machine that I am seting up just started dispaying this on the
 console.
 
 spurious 8259A interrupt: IRQ7
 
 Whart's it trying to tell me?
 
 
 -- 
 Stan Brown [EMAIL PROTECTED]
 843-745-3154
 Charleston SC.
 -- 
 Windows 98: n.
   useless extension to a minor patch release for 32-bit extensions and
   a graphical shell for a 16-bit patch to an 8-bit operating system
   originally coded for a 4-bit microprocessor, written by a 2-bit 
   company that can't stand for 1 bit of competition.
 -
 (c) 2000 Stan Brown.  Redistribution via the Microsoft Network is prohibited.
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: Re:_spurious_8259A_interrupt:_IRQ7_??

2001-12-13 Thread J.A.Serralheiro
8259 is an PIC ( peripheral interrupt controler ). Its responsible by
telling the cpu ( with apropriate information ) that some hardware ( HD,
kyb, network adapter etc) is needing cpu attention for some data
transfer/information processing.



On Thu, 13 Dec 2001, Wayne Topa wrote:

 Stan Brown([EMAIL PROTECTED]) is reported to have said:
  
  Can anyone ven tell me what an 8259A is?
  
 
 Google surely could!
 -- 
 Air conditioned environment - Do NOT open Windows!
 ___
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: Kernel compilation error.......

2001-12-12 Thread J.A.Serralheiro
well I had trouble like those some times, and I assume that is something
related with a misconfigured kernel configuration file. I reinstalled the
source ( lazy ) and reconfigured the kernel to compile, and everything
went just fine.


On Wed, 12 Dec 2001, C wrote:

 Hi there
 
 I recently upgraded my machinevia apt.this included a glibc6/-dev
 upgrade amongst other things.
 now when compiling a kernel...even one known to previously compileit
 fails at this point every time
 
 drivers/net/net.o(.data+0xd4): undefined reference to `local symbols in
 discarded section .text.exit'
 make[1]: *** [vmlinux] Error 1
 make[1]: Leaving directory `/usr/src/linux'
 make: *** [stamp-build] Error 2
 
 The versions of my curreent packages are:
 libc6  2.2.4-7
 libc6-dev  2.2.4-7
 kernel-package 7.75
 gcc2.95.4-9
 gcc-2.95   2.95.4-0.01100
 make   3.79.1-10
 
 Any offered assistance in how to acertain further information about this bug
 would be apreciated
 
 Many thanks
 CraigT
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: Serial Terminals

2001-12-10 Thread J.A.Serralheiro
well I have at home a dec vt320 working on my serial com port
its very easy.
if you isa card has com ports, then it should be equaly easy.

see the file /etc/initttab
usually near getty entries, for screen consoles, you have
a comment telling how to put a login prompt at a serial ports

good luck


On Mon, 10 Dec 2001, Titty Jacob wrote:

 Hi All,
  
 Has anyone configured linux serial terminals.
 I have a specialix ISA card and some terminals.
 How do I configure them.
  
  Tt
  
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: Serial Terminals

2001-12-10 Thread J.A.Serralheiro
oh so is your card pnp ?

its easy. just run pnpdump  and send its output to isapnp.conf
./pnpdump  isapnp.conf

then edit the file and uncomment the configuration you desire.
man isapnp.conf will help u a lot.

dont forget, uou must run isapnp  every time you reboot.
if that is not done automatically you should set it. you can always do it
manually of course. You must also edit /etc/serial.conf, to make reference
to the pnp com ports you have just created. Because the
 com port driver does not detect pnp com ports unless they are at the
usual addresses 3f8 2f8 3e8 2e8. I also assume that you isa card has
multiple ports and I think that needs a special driver, not the standard
serial.o. man setserial will tell you something about this

regards


On Mon, 10 Dec 2001 [EMAIL PROTECTED] wrote:

 In linux.debian.user, you wrote:
  Hi All,
   
  Has anyone configured linux serial terminals.
  I have a specialix ISA card and some terminals.
  How do I configure them.
   
   Tt
 
 I'm reading your post on the newsgroup and haven't seen an answer yet; so
 I'll offer what little I know.  I've never had to actually do this.
 
 This is from 'man pnpdump'  It looks like you do this to get the settings 
 that the BIOS has given your ISA cards.  I know you can also send this info 
 to /etc/isapnp.conf, but I thought it might work to just do this command 
 and then use setserial.  
 
 from the manpage--
 -d, --dumpregs
  this will cause pnpdump will dump all the standard configuration 
 registers for each board.
 
  Note that this dump is dumping the physical registers, and will thus
 show the settings that have been put in there by the BIOS, or some cards
 will put a default setting in. Unused registers read back as 0.
 -
 
 http://www.linuxdoc.org/HOWTO/Plug-and-Play-HOWTO.html  Section 7 
 especially 7.3 may help.
 
 I saw a post by a guy who gave this terse, but I think accurate explanation 
 of how to set up an ISA PnP modem.
 
 -his explanation-
 My modem 3COM USR 56K Internal 100% PnP [no jumpers no DIP switches] Model
 5685
 Windows plays it on COM3 IRC7 3e8
 What I did pnpdump  /etc/isapnp.conf
 cat /proc/interrupts
 cat /proc/ioports
 vi /etc/isapnp.conf
 I know the options the modem offers from the dump of pnpdump
 I know what ports and what interrupts are not taken from proc files
 So I choose 3e8 with IRQ 3 from the option blocks in /etc/isapnp.conf
 
   From the rc script I run /sbin/isapnp /etc/isapnp.conf
 On the next line
 /sbin/setserial /dev/ttyS1 irq 3 port 0x3e8 uart 16550A spd_vhi
 
 
 
 Anita
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: Aztech

2001-12-07 Thread J.A.Serralheiro
I think there is supports for the driver dor cs4231-A in the kernel source
check that
otherwise u can download tjhe driver from some where compile. U should
also have sound for linux available. wich you can have by compilingf that
too . 


On Fri, 7 Dec 2001, Norbert Schmitz wrote:

 Hi,
 
 I've got a Aztech sound card with azt 2316-S chip and cs4231-A chip. Which 
 drivers do i need? does anybody know how to work with this card or could 
 explain the install process?
 
 Thanks Norbert 
 



Re: Some advice to fix up my package database :-)

2001-12-06 Thread J.A.Serralheiro
Yes there is an option to reinstall.
I used it once to reinstall something I cant remember. Let me see...oh
It was with apt-get

do the following:

apt-get --reinstall install PACKAGE_NAME 

And you should be fine. I didnt test it thought.
According to apt-get manpage --reinstall reinstalls  upgrades the
package to the newest available.

Good luck

On Thu, 6 Dec 2001, Jeff wrote:

 Adam Warner, 2001-Dec-06 23:40 +1300:
  Hi all,
  
  I've been using alien for the first time today. Now I can't install any
  package using apt-get (it might not be the alien packages but I thought
  I should mention it).
  
  Before I make a real mess I thought I'd get some advice on the error
  message:
  
  apt-get install ucbmpeg-play
  Reading Package Lists... Done
  Building Dependency Tree... Done
  The following NEW packages will be installed:
ucbmpeg-play 
  0 packages upgraded, 1 newly installed, 0 to remove and 18  not
  upgraded.
  Need to get 0B/69.2kB of archives. After unpacking 177kB will be used.
  (Reading database ... dpkg: error processing
  /var/cache/apt/archives/ucbmpeg-play_2.3p-10.1_i386.deb (--unpack):
   files list file for package `libncurses5-dev' is missing final newline
  Errors were encountered while processing:
   /var/cache/apt/archives/ucbmpeg-play_2.3p-10.1_i386.deb
  Processing was halted because there were too many errors.
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  
  The strange error message is:
  files list file for package `libncurses5-dev' is missing final newline
  
  This happens when trying to install any package.
  
  I can't even do a dpkg --purge --force-all libncurses5-dev
  
  I'm told Processing was halted because there were too many errors (the
  same error message above).
  
  Thanks,
  Adam
 
 See if this might work...
 
 # dpkg -P --force-reinstreq
 
 The package needs to be reinstalled.  I thought there was a dpkg
 option to reinstall, but I can't seem to find info on that.
 
 good luck,
 jc
 
 -- 
 Jeff Coppock  Systems Engineer
 Diggin' DebianAdmin and User
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: HELPME

2001-12-06 Thread J.A.Serralheiro
surely you have some configuration that tells you computer 
that it should recognize an scsi drive. Run the computer BIOS set up, and
set it to see ide drives with the configuration of your conner HD.
If you have a board manual of that computer, read it too. 
SCSI drives are a diferent kind from ordinary IDE ( I assume your conner
is an IDE as they are the most popular and cheaper ones). Cables are
diferent too. You need special hardware to have SCSI drives ( SCSI
controler or something ).

regards J.A.Serralheiro

On Thu, 6 Dec 2001, esteban alcaraz wrote:

 hello mr.
 I have a ncr system 3350 486 dx2 66 mhz, computer with, a hard disk of 212
 megas, conner, cp 30200.
 when i start it shows the next message:
 NO SCSI DEVICE DETECTED SLOT 5.
 i have already checked two jumpers from hard disk and  i also checked the
 connectors for the  hard disk but i found nothing.
 i changed the hard disk for a quantum lps 105s and  it shows the same
 message before mentioned it.
 
 i want that the computer recognizes the hard disk, how can i do?
 thank you very much.
 any information will be a great help for me.
 
 atte:
 
 andres
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: ... new machine to install Linux ...

2001-12-05 Thread J.A.Serralheiro
When I need some new hardware, first I get a quotation from resellers and
them I check  if linux supports it.


On Tue, 4 Dec 2001, Laurent Fawer wrote:

 Hello,
 I am interested to buy a new machine to install Linux on it, so my
 questions are the next ones:
 
 - Do you know a reseller who sells machine with a Linux operating system
 already installed.
 - Do you know a constructor who gives a CD with all Linux drivers to
 installs.
 - Is it possible to find a list of all known Linux drivers.
 
 Best greetings
 Laurent Fawer
 http://www.imaginaweb.ch
 
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: ethernet question

2001-12-03 Thread J.A.Serralheiro
thats right. With one ethernet plug, you need to have 3 cards. 2 in the
computer that actually is connected to the plug. one card for the pplug
and one card for communications with thte other computer. ofcourse the
other computer must have another card. No special software is needed.
read networking how to. you just need to create a small sub-network with
your two computers and configure routing and ifconfig in the computer with
the 2 cards
the howto tells muth more about this


On Sun, 2 Dec 2001, Alec wrote:

 Hi
 
 How does one connect two computers to the internet throught one ethernet 
 socket? Does one of them have to have two ethernet cards and run special 
 software?
 
 Thanks
 
 Alec
 
 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Unidentified subject!

2001-12-01 Thread J.A.Serralheiro
hardware question
Hi. I have an old 486 computer, with pci bios compliant with revision 2.0.
I bought a new NSdp83815 and it just keeps hanging the computer. The
specificantions for this card are bios revision 2.1 or 2.2. I have a sound
card and usb card compliant with PCI bios revision 2.1 too and they work
lovely in the machine. Does any one of you has an idea of some kind of bug
with this chip?
the card is a 4LAN.

regards
J.A.Serralheiro

PS: sometimes the computer runs well, but 10 minutes later, it starts
getting slower and slower ( invisible to top  that gives a 95 % idle)
until nothing else responds and eventually I have to push reset. Another
thing is that IDE irqs start to being lost too.



Re: WWW.GUNSAMERICA.COM

2001-11-30 Thread J.A.Serralheiro
when I first installed apache, the server main web page was just as the
page in www.gunsamerica.com. Thats what happened... some mistake


On Fri, 30 Nov 2001 [EMAIL PROTECTED] wrote:

 Could you please tell what happened to the web page WWW.GUNSAMERICA.COM.
 
 Thank-you
 
 Ron Miller
 [EMAIL PROTECTED]
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: usb controller pci

2001-11-29 Thread J.A.Serralheiro
I bought an opti firelink. Its ohci compliant, and the kernel driver seems
to deal fine with it. I didnt teste it yet, as I dont have any ucb devices
at home and I just bought it yesterday.


regards

PS check the compliance of the card in the manual






Re: OT: ascii starwars

2001-11-28 Thread J.A.Serralheiro
awsome...


On Wed, 28 Nov 2001, Michael P. Soulier wrote:

 If you haven't seen this already, telnet to towel.blinkenlights.nl,
 and sit back with some popcorn. ;-)
 
 Mike
 
 -- 
 Michael P. Soulier [EMAIL PROTECTED], GnuPG pub key: 5BC8BE08
 ...the word HACK is used as a verb to indicate a massive amount
 of nerd-like effort.  -Harley Hahn, A Student's Guide to Unix
 



Re: ppp dropouts on a 2.2.20pre12 kernel

2001-11-27 Thread J.A.Serralheiro
I,ve had some problems alike too, but usually hangup's happen 30s to 10
minutes after dial up. I assume its a coincidence with the phone line
noise, or isp trouble, because  it is some how
intermittent malfunction

There was a weekend I couldn log for more thar 50 seconds.
I dont remember the last time that happend, so, its been a while since...


On Tue, 27 Nov 2001, Sam Varghese wrote:

 i've set up ppp on a potato server which runs a
 2.2.20pre12 kernel. this server was earlier running
 a 2.2.16 kernel. it is connected to the net 24/7.
 
 after the change of kernel, dropouts seem to happen
 fairly often. earlier, it would be connected for
 weeks at a time. now the longest run has been four
 days.
 
 i wonder if anyone has had similar problems and
 what could be using them. i've checked the usual
 web pages which list such issues but have come up
 with a blank.
 
 any help would be appreciated.
 
 sam
 -- 
 (Sam Varghese)
 http://www.gnubies.com
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: How do I make my machine able to receive dial-ups ?

2001-11-27 Thread J.A.Serralheiro
a) modem with awsering capabilities
b) linux is THE CHOICE
c) there r some utilities, mgetty package I think.


On Tue, 27 Nov 2001 [EMAIL PROTECTED] wrote:

 What should  I do to make my machine able to receive dial-ups ? What do I 
 need at 
 a) The hardware level
 b) The OS level
 c) The software level
 
 ?
 Please guide me on this.
 
 Warm Regards,
 ([EMAIL PROTECTED])
 Shyam
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: Realtek module don't want to be loaded! Is too busy... ;)

2001-11-21 Thread J.A.Serralheiro
well, try to see if the module is already loaded

cat /proc/modules gives a list of all modules loaded.
If you have an entry in here then all you have to do is ifconfig


On Wed, 21 Nov 2001, Nuno Emanuel F. Carvalho wrote:

 Hi there,
 
   I'm having problems on getting my pcmcia card to work on Debian.
   Already compiled RTL8139 as module from kernel and installed pcmcia-cs
 tarball.
   In my opinion, problem is from rtl8139 module:
 
   $ insmod rtl8139
 /lib/modules/2.2.14/net/rtl8139.o: init_module: Device or resource busy
 
   On linux boot I'm able to hear high and low tones so it seems the card
 is detected.
 
   I'd also copied
 /lib/modules/2.2.14/net/rtl8139.o
 to
 /lib/modules/2.2.14/pcmcia/realtek_cb.o
 
   Where's the problem ?
 
   Thanks in advance.
 
   Best regards,
  Nuno Carvalho
 
 PS: Please reply to me since I'm not subscribed on this mailing list.
 
 ***
 Additional info:
 
 - Debian distribution: 2.1
 - Linux Kernel: 2.2.14 (from tarball file)
 - PCMCIA Card Services: 3.1.16 (from tarball)
 - Compaq Presario 1200 laptop with a Conceptronic Realtek 8139 chipset
 PCMCIA Card
 
 $ lsmod
 Module  Size  Used by
 cb_enabler  2236   0  (unused)
 ds  6640   1  [cb_enabler]
 i82365 22956   1
 pcmcia_core45320   0  [cb_enabler ds i82365]
 
 $ cardctl config
 Socket 0:
   Vcc 3.3V  Vpp1 3.3V  Vpp2 3.3V
   interface type is cardbus
   function 0:
 
 $ cardctl ident
 Socket 0:
   product info: PCMCIA, CardBus Ethernet 10/100 (R5)
   manfid: 0x0260, 0x0235
   function: 6 (network)
 
 $ cardctl status
 Socket 0:
   3.3V CardBus card
   function 0: [ready]
 
 $ dmesg
 [...]
 Linux PCMCIA Card Services 3.1.16
   kernel build: 2.2.14 #2 Fri Nov 16 20:17:13 WET 2001
   options:  [pci] [cardbus]
 PCI routing table version 1.0 at 0xfdf70
 Intel PCIC probe:
   TI 1211 rev 00 PCI-to-CardBus at slot 00:0a, mem 0x6800
 host opts [0]: [ring] [pci + serial irq] [pci irq 9] [lat 32/176] [bus
 32/34]
 ISA irqs (scanned) = 3 PCI status changes
 cs: IO port probe 0x1000-0x17ff: excluding 0x1000-0x10ff 0x1400-0x14ff
 cs: IO port probe 0x0100-0x04ff: excluding 0x220-0x22f 0x378-0x37f
 0x388-0x38f 0x4d0-0x4d7
 cs: IO port probe 0x0a00-0x0aff: clean.
 cs: cb_alloc(bus 32): vendor 0x10ec, device 0x8138
 
 [/var/log/messages]
 Nov 20 15:11:53 morpheus kernel: Linux PCMCIA Card Services 3.1.16
 Nov 20 15:11:53 morpheus kernel:   kernel build: 2.2.14 #2 Fri Nov 16
 20:17:13 WET 2001
 Nov 20 15:11:53 morpheus kernel:   options:  [pci] [cardbus]
 Nov 20 15:11:53 morpheus kernel: PCI routing table version 1.0 at 0xfdf70
 Nov 20 15:11:53 morpheus kernel: Intel PCIC probe:
 Nov 20 15:11:53 morpheus kernel:   TI 1211 rev 00 PCI-to-CardBus at slot
 00:0a, mem 0x6800
 Nov 20 15:11:53 morpheus kernel: host opts [0]: [ring] [pci + serial
 irq] [pci irq 9] [lat 32/176] [bus 32/34]
 Nov 20 15:11:53 morpheus kernel: ISA irqs (scanned) = 3 PCI status
 changes
 Nov 20 15:11:54 morpheus kernel: cs: IO port probe 0x1000-0x17ff:
 excluding 0x1000-0x10ff 0x1400-0x14ff
 Nov 20 15:11:54 morpheus kernel: cs: IO port probe 0x0100-0x04ff:
 excluding 0x220-0x22f 0x378-0x37f 0x388-0x38f 0x4d0-0x4d7
 Nov 20 15:11:54 morpheus kernel: cs: IO port probe 0x0a00-0x0aff: clean.
 Nov 20 15:11:54 morpheus kernel: cs: cb_alloc(bus 32): vendor 0x10ec,
 device 0x8138
 
 [/var/log/syslog]
 Nov 20 15:11:53 morpheus kernel: Linux PCMCIA Card Services 3.1.16
 Nov 20 15:11:53 morpheus kernel:   kernel build: 2.2.14 #2 Fri Nov 16
 20:17:13 WET 2001
 Nov 20 15:11:53 morpheus kernel:   options:  [pci] [cardbus]
 Nov 20 15:11:53 morpheus kernel: PCI routing table version 1.0 at 0xfdf70
 Nov 20 15:11:53 morpheus kernel: Intel PCIC probe:
 Nov 20 15:11:53 morpheus kernel:   TI 1211 rev 00 PCI-to-CardBus at slot
 00:0a, mem 0x6800
 Nov 20 15:11:53 morpheus kernel: host opts [0]: [ring] [pci + serial
 irq] [pci irq 9] [lat 32/176] [bus 32/34]
 Nov 20 15:11:53 morpheus kernel: ISA irqs (scanned) = 3 PCI status
 changes
 Nov 20 15:11:53 morpheus cardmgr[91]: starting, version is 3.1.16
 Nov 20 15:11:54 morpheus cardmgr[91]: watching 1 sockets
 Nov 20 15:11:54 morpheus kernel: cs: IO port probe 0x1000-0x17ff:
 excluding 0x1000-0x10ff 0x1400-0x14ff
 Nov 20 15:11:54 morpheus kernel: cs: IO port probe 0x0100-0x04ff:
 excluding 0x220-0x22f 0x378-0x37f 0x388-0x38f 0x4d0-0x4d7
 Nov 20 15:11:54 morpheus kernel: cs: IO port probe 0x0a00-0x0aff: clean.
 Nov 20 15:11:54 morpheus kernel: cs: cb_alloc(bus 32): vendor 0x10ec,
 device 0x8138
 Nov 20 15:11:54 morpheus cardmgr[91]: initializing socket 0
 Nov 20 15:11:54 morpheus cardmgr[91]: socket 0: 32-bit CardBus Ethernet
 10/100 (R5)
 Nov 20 15:11:54 morpheus cardmgr[91]: executing: 'modprobe cb_enabler'
 Nov 20 15:11:54 morpheus cardmgr[91]: executing: 'modprobe realtek_cb'
 Nov 20 15:11:54 morpheus cardmgr[91]: +
 /lib/modules/2.2.14/pcmcia/realtek_cb.o: init_module: Device or resource
 busy
 Nov 20 15:11:54 

Re: interfaces and ip addressing

2001-11-20 Thread J.A.Serralheiro
interfaces see /etc/network/interfaces
the script /etc/init.d/networking does all the work during startup
yopu just have to load and configure the correct modules 
see the ethernet howto.


On Mon, 19 Nov 2001, Ronneil Camara wrote:

 Hi,
 
 I'm new with debian, actually I'm 2 hours old now with debian. :-).
 
 I would like to know what file is used for setting up ip addresses and
 gateway. What about interfaces, how can I create more than 2 lan cards
 enable. Let say, I got 2 3com nics.
 
 In redhat, I used rpm. What pkg installer should I use in debian?
 
 Can I also untar linux-2.2.19.kernel.source.tar.gz under /usr/src and do
 the same stuff I've been doing for a long time? make menuconfig dep
 clean modules modules-install bzImage. Should I also copy the compiled
 kernel to /boot and edit lilo.conf then run lilo?
 
 Where can I find rc.local? What is the similar redhat init scripts
 /etc/rc.d/init.d in debian?
 
 Thank you very much.
 
 Neil
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: Free ISP in California?

2001-11-16 Thread J.A.Serralheiro
well, try a windows dialup to gain access, that is, for registration and
then afterwards your laptop..i dont know if that works





dp83815 chipset driver needed

2001-11-13 Thread J.A.Serralheiro
hi folks

While trying to get a driver for this ethernet adpater
( struggling in fact ) I found one that was claimed to be
updated to work under kernel 2.4.x. ( file linux_2_4_dp83815.tar.gz)Well
the compiler gives lots and lots
of errors during compilation. Im not very good at these driver-programming
things, so if any of you has a bug-free source, or has a clue why these
errors come along, I apreciate it.

thank you in advance
J.A



dp83815 chipset driver needed

2001-11-13 Thread J.A.Serralheiro
sorry for the second message. I really like you :-)
I got the fuile from national headquarters

http://www.national.com/appinfo/networks/files/Drivers/Linux/

thanks




Re: Modem redirection

2001-11-13 Thread J.A.Serralheiro
mgetty is something like this. Im not sure, but your program could log in
the other computer through the mgetty program. Then, you can configure
mgetty to run a specified software after login is accepter. Try read the
documentation
for mgetty package.

On Tue, 13 Nov 2001, Ilja Kamps wrote:

 I am looking for a program with wich I can share my modem
 over my network, I mean to use it like a shared serial line
 this is for a special program I use wich requires its own 
 protocol via a modem, and I only have one working modem
 I have found a server sredir but there is no RFC 2217
 compliant generic client for Linux
 
 I hope someone could point me to such a program
 
 ps. I don't mean something like diald or such, that is
 not relevant, because there is no SLIP or PPP involved
 -- 
 



Re: null modem test

2001-11-12 Thread J.A.Serralheiro
you can try minicom. its not exactly what you want but it can handle the
job





Re: HOWTO-zap- LSR Safety Check Engaged

2001-11-08 Thread J.A.Serralheiro
edit /etc/serial.conf apropriately

you must have some reference to /dev/ttyS2 in this file.
you can assign ttySx as you like. You must be sure that the hardware is
present. LSR safety warnings come up when you assign 2 or more ttySx to
the same hardware or assign hardware that doesnt exist or is not
configured.





/var/log/syslog

2001-11-05 Thread J.A.Serralheiro

hello

Can someone tell me how to automatically backup and compress
/var/log/syslog into gzip format or something. Aparently my computer did
this for sometime but then stoped doing it and now the file ir over
3megabyte. 



regards
J.A.Serralheiro




Re: programming

2001-11-05 Thread J.A.Serralheiro
so, there is no way to know in advance the length of a string unless you
have an identifier, or constant for it. 
thanks for the tip andrew. Im sure it will be useful someday. 





On Mon, 5 Nov 2001, Andrew Agno wrote:

 J.A.Serralheiro writes:
   right. It should be strlen(buff )
 
 Just a word of warning: strlen can be a problem if the buffer is not
 filled with stuff that you can validate--ie: if buff isn't a NULL
 terminated string, then it looks for the NULL byte off the end of the
 buffer, which can lead to much strangeness, and probably core dumps,
 later on.  So even if you get a length using strlen, you should make
 sure it doesn't go beyond the end of the buffer.
 
 Andrew.
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



programming

2001-11-04 Thread J.A.Serralheiro
hi. Im trying to read a complete line from a text file.
I use the  fscanf( file, [^\n],buffer);  butit doesnt work. I reads the
entire file until overflow of the buffer.

Can some one tell me how?

I read scanf manual, but it wasnt of much help, for me at leastr.

thanks




Re: programming

2001-11-04 Thread J.A.Serralheiro
right. It should be strlen(buff )
 thanks everyone for your help. I think I will try fgets instead.

regards
J.A.Serralheiro





Re: What stupid mistake am I makeing? (networking)

2001-10-25 Thread J.A.Serralheiro
whats your default route?
maybe thats what the problem

try route add default gw gateway_ip eth1 ( or eth0 )
try also networking howto.

On Thu, 25 Oct 2001, Stan Brown wrote:

 I have a Debian potato + Progeny box siting in my office, right next to a
 FreebSD box. Both are conected to the same network subnet. The FreeBSD box
 can get to the timeserver, Tthe Debian one cannot. I must be doing
 something really stupid here.
 
 Here is the info of interest (I think) From the Debian machine:
 
 
 Script started on Thu Oct 25 10:36:28 2001
 [EMAIL PROTECTED]:~# ifconfig -a
 eth0  Link encap:Ethernet  HWaddr 00:A0:C9:48:DD:1E  
   inet addr:170.85.109.24  Bcast:170.95.109.127  Mask:255.255.255.128
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:6440 errors:0 dropped:0 overruns:0 frame:0
   TX packets:203 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:100 
   RX bytes:1651128 (1.5 Mb)  TX bytes:20119 (19.6 Kb)
   Interrupt:10 
 
 eth1  Link encap:Ethernet  HWaddr 00:50:8B:E8:79:21  
   BROADCAST MULTICAST  MTU:1500  Metric:1
   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:100 
   RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
   Interrupt:11 Base address:0x2000 
 
 loLink encap:Local Loopback  
   inet addr:127.0.0.1  Mask:255.0.0.0
   UP LOOPBACK RUNNING  MTU:16436  Metric:1
   RX packets:100 errors:0 dropped:0 overruns:0 frame:0
   TX packets:100 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0 
   RX bytes:9118 (8.9 Kb)  TX bytes:9118 (8.9 Kb)
 
 [EMAIL PROTECTED]:~# netstat -rn
 Kernel IP routing table
 Destination Gateway Genmask Flags   MSS Window  irtt Iface
 170.85.109.00.0.0.0 255.255.255.128 U40 0  0 eth0
 0.0.0.0 170.85.109.10.0.0.0 UG   40 0  0 eth0
 [EMAIL PROTECTED]:~# traceroute time.westvaco.com
 traceroute to time.westvaco.com (170.85.66.92), 30 hops max, 40 byte packets
  1  * 170.85.109.1 (170.85.109.1)  22 ms  21 ms
  2  170.85.115.2 (170.85.115.2)  1 ms  1 ms  1 ms
  3  170.85.58.2 (170.85.58.2)  23 ms  25 ms  6 ms
  4  170.85.68.254 (170.85.68.254)  9 ms  13 ms  8 ms
  5  * * *
  6  * *
  7 Quit
 [EMAIL PROTECTED]:~# 
 Script done on Thu Oct 25 10:37:10 2001
 
 
 Here is the equivelant daat from the FreeBSD machine:
 
 
 Script started on Thu Oct 25 10:43:37 2001
 ]0;[EMAIL PROTECTED];/home/[EMAIL PROTECTED]:/home/stan
 $ ifconfig -a
 lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet 127.0.0.1 netmask 0xff00 
 ed1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   inet 170.85.109.104 netmask 0xff80 broadcast 170.85.109.127
   ether 00:80:c8:bc:2d:6f 
 tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1500
   inet 192.168.1.1 -- 192.168.0.1 netmask 0xff00 
   Opened by PID 1024
 ]0;[EMAIL PROTECTED];/home/[EMAIL PROTECTED]:/home/stan
 $ netstat -rn
 Routing tables
 
 Internet:
 DestinationGatewayFlagsRefs  Use  Netif Expire
 default170.85.109.1   UGSc24ed1
 127.0.0.1  127.0.0.1  UH  14lo0
 170.85 170.85.109.1   UGSc3   19ed1
 170.85.109/25  link#3 UC  80ed1
 170.85.109.1   0:e0:16:75:6:84UHLW41ed1   1189
 170.85.109.24  0:a0:c9:48:dd:1e   UHLW2   72ed1828
 170.85.109.32  0:d0:b7:91:8b:9d   UHLW0   14ed1   1117
 170.85.109.71  0:d0:b7:5d:64:df   UHLW0  144ed1916
 170.85.109.73  0:50:ba:a0:7e:20   UHLW00ed1   1044
 170.85.109.104 0:80:c8:bc:2d:6f   UHLW0   47lo0
 170.85.109.109 0:60:97:15:e8:da   UHLW3  283ed1   1044
 170.85.109.127 ff:ff:ff:ff:ff:ff  UHLWb   1   29ed1
 192.168.0.1192.168.1.1UH  20   tun0
 205.159.77 192.168.0.1UGSc10   tun0
 ]0;[EMAIL PROTECTED];/home/[EMAIL PROTECTED]:/home/stan
 $ traceroute time.westvaco.com
 traceroute to time (170.85.115.30), 64 hops max, 40 byte packets
  1  170.85.109.1 (170.85.109.1)  7.407 ms  3.989 ms  3.717 ms
  2  time (170.85.115.30)  4.628 ms  4.764 ms  4.902 ms
 ]0;[EMAIL PROTECTED];/home/[EMAIL PROTECTED]:/home/stan
 $ 
 
 Script done on Thu Oct 25 10:43:59 2001
 
 -- 
 Stan Brown [EMAIL PROTECTED]
 843-745-3154
 Charleston SC.
 -- 
 Windows 98: n.
   useless extension to a minor patch release for 32-bit extensions and
   a graphical shell for a 16-bit patch to an 8-bit operating system
   

Re: What stupid mistake am I makeing? (networking)

2001-10-25 Thread J.A.Serralheiro
can this be a problem in /etc/hosts?
maybe the alias to time.westvaco.com is faulty in this file

On Thu, 25 Oct 2001, Keith G. Murphy wrote:

 Stan Brown wrote:
  
  I have a Debian potato + Progeny box siting in my office, right next to a
  FreebSD box. Both are conected to the same network subnet. The FreeBSD box
  can get to the timeserver, Tthe Debian one cannot. I must be doing
  something really stupid here.
  
  Here is the info of interest (I think) From the Debian machine:
  
 [EMAIL PROTECTED]:~# traceroute time.westvaco.com
 traceroute to time.westvaco.com (170.85.66.92), 30 hops max, 40 byte
 packets
  
 
 $ traceroute time.westvaco.com
 traceroute to time (170.85.115.30), 64 hops max, 40 byte packets
 ^
 
 I think you have a DNS problem.
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Another interrupt thing

2001-10-22 Thread J.A.Serralheiro
Hi. I'm trying to put to work 4 com ports in my pc. I have 2 on board,
and
bought an old Multi IO card with another 2,  a parallel port. Because the
Multi IO card is tied up to irq 3  4, I had to make some hardware
changes. I noticed that serial ports module, could enable IRQ_SHARE and so
instead of wiring the board to other 2 interrupt lines, i made some
hardware  added it to the board so that both ports could share the same
interrupt, which I decided to be irq line 7. This line, ( 7) is used by
the parallel port 0x378. I can disable it, but if possible I'd like to
have it enabled, and using the same irq 7. This may look a bit weird, but
I'm an electronics guy that likes to have lots of gadgets hanging on the
computer. What I really want surely has something to do with the kernel
internals. I want that both serial.o and parport_pc.o ( i mean, both the
modules for serial ports and parallel ports ) can work using the same irq
( 7 ). What are the chances to achieve that, and how. I already have
anotherparallel port on 0x278. Switching cards, more hardware changes, or
disabling ports are not options. And dont tell me that the isa bus
interrupts should NOT be shared.

Here are some facts I found:
when parport_pc configures 0x378 to work, nothing works.
when parport_pc does not, it works fine.
The problem must be a conflict between both ISR's  installed.

Any help or comment is welcome

thanks

J.A.Serralheiro



Re: /etc/modules does not exists

2001-10-19 Thread J.A.Serralheiro
well theres nothing special about this file. If you dont have it, the most
it can happen is that some modules are not loaded. The file /etc/modules
has in it ( one per line) the modules names of the modules which you want
to load automatically at startup. Do you have any problem about unloaded
modules? if so, create /etc/modules. Besides the modules names, theres
only some comments about what's the usefulness of this file.




Re: /etc/modules does not exists

2001-10-19 Thread J.A.Serralheiro

here's my /etc/modules 
I load modules sb for awe32 sound card

# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line.  Comments begin with
# a `#', and everything on the line after them are ignored.
#load modules for sound card awe32
sb





Re: /etc/modules does not exists

2001-10-19 Thread J.A.Serralheiro
sorry for the third message:) see also man modules.conf





Re: assembler and linux

2001-10-16 Thread J.A.Serralheiro
well info as seems to have information about particular programming
features of each assembler language, as as supports several architectures.
make info as a see the node machine dependencies 
and dont forget to
install binutils-doc
package to get all the as manual, or you will just see something like the
man page for as





Interrupt sharing thing

2001-08-14 Thread J.A.Serralheiro

Hi. A few months ago I posted here a few messages about a problem I had
sharing interrupts with serial ports. I had 2 srial ports in the main
board, and an old IO card in an ISA slot.
Well, it seems that the old io card was not able to share interrupts (
main board usually do ), so I
made a very small board with some circuitry and attched it to the io card.
Now the card shares irqs  3, 4 and 7. I tested it with serial ports and
works
fine. I have the serial.o driver with SHARE_IRQ flag set. 
What I want to know is how will the kernel behave if I assign irq 7 to
both parallel port and a serial port. The small board I made is very
flexible
by means of a set of jumpers. I can assign any irq ( 3,4 or 7) to a serial
port or the parallel port. Its fine that the serial driver is able to
share irqs. But parportpc.o and serial.o are diferent modules. How will
the irq share change the behaviour of these drivers?

If the kernel allows the features im talking about, then, we'll have a
mutch more flexible way to add hardware to our system, without
constrains, if only manufacturers did with their cards what I did with
mine.

PS: In my case performance loss is not a matter.


thank you in advance


J.A.Serralheiro



Re: problems with gcc and fopen() in debian 2.2

2001-08-08 Thread J.A.Serralheiro
are you sure you have the right permitions? if you dont, or there is some
other problem, the file  isnt opened and your code still assumes it is.
do somethng like
if ( !( infile = fopen(sdgjflgfdf) ) ) abort();
Dont trust the system :-)

On Wed, 8 Aug 2001, Andreas Maresch wrote:

 Hello!
 
 I am (re)starting in programming c (I have learned it a while ago under
 dos).
 Yesterday, I wrote a simple program.
 When compiled with gcc -o test test.c, no errors or warnings occured.
 
 But when I try to run, it terminates with Segmentation fault.
 So, with the help of ddd (real nice tool ;-D ) I was able to locate the
 problem: fopen().
 
 ddd reported a seg fault on the following line:
 
 infile=fopen(dir.dat, r);
 
 The dir.dat exists (in the same directory), and infile was deklared with:
 FILE *infile;
 
 My gcc-version is 2.95.
 
 
 Thanx in advance
 
 Andreas Maresch
 
 
 BTW: Is it possible to attach files to the newsletter? I don?t suppose so,
 but if I am wrong, please let me know.
 
 -- 
 -- 
 The checkbox said Windows 95 or better.
 
 So I installed Linux!
 
 Aufgepasst - jetzt viele 11 New WebHosting Pakete ohne
 Einrichtungsgebuehr + 1 Monat Grundgebuehrbefreiung!
 http://puretec.de/index.html?ac=OM.PU.PU003K00736T0492a
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: wake on lan

2001-08-08 Thread J.A.Serralheiro
allright. shutdown -h waits for you to push the reset button or turn off
and back on the power. But very likely you are using an atx board.
Well I heard that to use the full functionality of the ATX board, ( turn
off autmatically) you must configure lilo ( lilo.conf). I also think you
must enable some feature in the kernel to do that. 
These are only assumptions but I hope it is of some use.
regards


On Wed, 8 Aug 2001, Markus Hansen wrote:

 hi guys i have the following problem but it seems to me that it is a
 little OT.
 i want to use wake on lan for a pc.
 this pc shall be woken up on lan if another pc is present (this pc sends
 automaticly the wake sequence)
 my problem is:
 i put the pc into the state to be woken up on lan.
 one pc wakes it up
 the wake-on-lan-pc wakes up and does several services.
 now the other pc shuts down and sends a shut down signal to the wake on
 lan pc (because it shouldnt run all the time)
 the wake on lan pc shuts down...
 i cant wake it up later...
 this is my problem.
 how do i have to shut it down to be able to start it again?
 ps what is the difference between shutdown -h and -p (it seems i cant
 use p)
 plaese help, my evil brother is sitting at my neck if i cant give him a
 solution and he is really angry.
 markus
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Very odd programming trouble

2001-08-07 Thread J.A.Serralheiro
/*Hi folks. Heres a very odd trouble ( for me at least)
  I was reading a book where it was stated that
  char *ptr = text;is an allowed declaration and that
  the compiler automatically allocates space for the string text and for the
  \0 terminating character ( true) . 
  I decided to try it with strcpy(char *dest, const char *src) and 
  there seems to be a problem. Whenever dest is a pointer declared as above
  theres a segmentation fault. I tried the code bellow which suffers from 
  exactly the same. The problem seems to relly In the expression
   while ( (*dest++ = *src++)!= '\0' ) .
I tried all the combinations with strcpy, but only this one gave odd results.
  It seems that the compiler as some dificulties assigning *dest++ = *src++
  when dest is a char *ptr = kljdflg. But when src is this kind of
pointer and dest is an array ( as so declared) ,
  it works fine. Its not very usual to declare strings this way
  but its stated as ansi compliant, and the compiler silently accepts it
without any warnings.
  The code is set to the particular combination where a SIGSEGV is generated
  dest=s1; /*char *s1 = ldksj 
  src=string; /*char string[]= dflkjg*/

Can someone solve this mistery ?

#include stdlib.h
#include stdio.h
/*#include string.h*/

  
// this is strcpy source code borrowed from string.h with another name
char *strc(char *dest,const char *src)
{
char *tmp = dest;

while ( (*dest++ = *src++)!= '\0' );

return tmp;
}

int main ( void ) {
   
   char *s1 = frase_1;
   char *s2 = frase_2;
   char string[] = frase_3;
   char *dest, *src;
   int i;
   
   //See if theres a terminating character int the string
   for( i = 0; i != strlen(string)+2; i++) 
  printf(  s1[%x]=%d string[%x]=%d  \n,
   s1+i, *(s1+i), string+i, string[i] );
   //show s1 and string address
   printf( s1 %x string %x, s1, string);
   fflush(stdout); 
   //strcpy simulation
   dest=s1;
   src=string;
   //check if assignment is valid
   printf( dest %x src %x , dest, src );
   fflush(stdout);
   //start copy
   while ( (*(dest++) = *(src++)) != '\0' ) {
  // want to see the address progression of dest and src
  printf( \n dest[%x]= src[%x]= , dest, src );
  fflush( stdout );
   }
   // the result
   printf( \n ret dest address %x  val %s  \n, s1, s1 );
}




Re: Very odd programming trouble

2001-08-07 Thread J.A.Serralheiro
actually im reading Software engineering in c by peter darnell. its
pretty basic. It was
because I was reading this that this problem arised. 

Thanks every one for the detailed explanation.




Re: Very odd programming trouble

2001-08-07 Thread J.A.Serralheiro
I forgot, I was not trying to use this. Its seems to me very unsual. I was
just checking that what  was stated on the book and learned anew thing.


regards
J.A.Serralheiro




Re: pdf editor

2001-07-27 Thread J.A.Serralheiro
well, do you want to VIEW or CHANGE pdf files?
xpdf is very nice to view. 
apt-get install xpdf-i ( this will get the package for you)

On Sat, 28 Jul 2001, harsha wrote:

 Hi,
 I would like to know if there exists a package to **edit** pdf files. I 
 have some forms in pdf form which i have to fill. I did make a search at 
 freshmeat, sourceforge but none turned up
 
 regards
 harsha
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: Modem problems after kernel upgrade (long, w/ Radeon VE sidenot

2001-07-25 Thread J.A.Serralheiro
uar=unknown means that you dont have any hardware on those devices ttyS2
and ttyS3. You can put you device ttySx on any io address you want. That
is , you only need to have as many devices as serial ports.
your problem is that very likely your modem doesnt get identified.
try documentation for the serial.o module and see if something is wrong.
maybe you need to give to serial.o some detail in /etc/modules.conf so
that on start up it identifies correctly your modem.
chek /proc/pci and see if your modem is detected as some hardware.






Re: Modem problems after kernel upgrade

2001-07-23 Thread J.A.Serralheiro
further more, I remember I also had a strange problem

I had to recompile pppd in order to work with 2.4





Re: Modem problems after kernel upgrade

2001-07-23 Thread J.A.Serralheiro
well
probably you have 3 serial ports. two on board and one for your modem.
one way to find wich ports are detect is listing /proc/ioports

3f8 states as ttyS0
2f8   ttyS1
3e8   ttyS2
238   ttyS3
that is, if you stick with the normal settings in /etc/serial.conf

You can assign any I/O port to any ttySx. 
Because you board is pci, isa pnp will not interfere.

Chek /proc/pci and see what io address your modem is using.  If its pci it
will be listed. if not listed, its not detected.
then,  edit /etc/serial.conf accordingly. Even if on start up the module
serial.o assigns your modem to ttyS4, you can override this.
see the setserial man pages for more details





Re: NE2000-compatible network device

2001-07-21 Thread J.A.Serralheiro
its ne not ne2k. The modules ne will work on pci devices, but I think the
ne2k-pci will not work on isa. Its very likelly that U have ne on your
system as it is a very common and therefore comes withmost installations.
under debian ne.o is in
/lib/modules/2.4.5/kernel/drivers/net
where 2.4.5 is your klernel version

On Fri, 20 Jul 2001, [iso-8859-1] Fischer, Bj?rn wrote:

 Hi,
 I am quite a newbie to either Linux (I'm playing with Suse Linux for about
 half a year) and Debian (first try to install the day before yesterday) so
 please be patient with me.
 
 But there's a Proble, that I wasnt able to solve yet: I have a NE2000
 compatible ethernet device (ISA). The german Debian GNU/Linux Handbook
 (http://www.openoffice.de/linux/buch/) said I would only have to load the
 Kernel-Module ne2k, supply it with the correct IO-Port and maybe a correct
 IRQ and it should work. But the problem is that modprobe can't find the
 module ne2k, only ne2k-pci is there. Does someone of you know an alternative
 to ne2k or can tell me where I can find the ne2k module?
 Another question: are modules stored in different .debs than the kernel or
 are they always packed together?
 
 Many thanx for an answer
 
 Greetings
 
 Bj?rn Fischer
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: boot problem

2001-07-17 Thread J.A.Serralheiro
well maybe you misconfigured your video card.
Run xf86config. Its a text based environment and re-do the configurations.
It may help. be sure you know what chipset your board has. I think yuo can
also choose and general chipset that should work on most cards.
If you can put it to work, then use XF86Config. This is a
graphics interface, and I find it mutch easier to use, to tune up X
display.

you dont need to rebbot every time.

make psux and find the xdm daemon.
kill all xdm related processes.
when you are up to try something run

startx


regards




Re: boot problem

2001-07-17 Thread J.A.Serralheiro
Sorry. Ididnt check that, and its been a while since i did the last
configuration. 




Re: nullmodem connection

2001-07-14 Thread J.A.Serralheiro
hi there. This will not solve your problems, but it may help
see the ppp-howto




Re: RAM size

2001-07-13 Thread J.A.Serralheiro
I think you can workarround this by telling lilo that you have 128m of
ram.
I use loadlin, with the parameter mem=64m
I think lilo is the same, but yu should check first
see the debian instalation manual.





Re: RAM size.

2001-07-13 Thread J.A.Serralheiro


On Fri, 13 Jul 2001, Alexey wrote:

  mem=128M
 Thanks, it's OK.
 
 You know, while running DOS or Windows, the CPU is hot (I can touch it),
 even if I do nothing. It becomes cool under Linux!!!

strange, never heard of that. 



Re: RAM size. [OT]

2001-07-13 Thread J.A.Serralheiro
okay, correct me if im wrong.
When we are brought up, some are better for electronics, some for
programming. Meaning that good programmers make good programs on every
architecture. Why should decent schools stick to 68k amiga?
thorough time, I learned that good programming practice doesnt constrain
only to an architecture but to decent planing of algorithms. ( the hard
way)

Amiga 68k is just another standard. I learned with the inferior technology
of 80x86 and I have programmed some other chips successfull unlike my
college fellows who seem to find assembler something really hard. Its just
a matter of personal skills.

Regards

J.A.Serralheiro





Re: serial ports

2001-07-12 Thread J.A.Serralheiro
I think you must load a module to identify those ports.
I also think that serial.o does such.
Once I read something about multiport boards in setserial man pages. Try
that. Theres also the serial howto you can check





Re: PS/2 mouse problems

2001-07-09 Thread J.A.Serralheiro
okay , i think you should tell X that the device you are to use is
/dev/psaux




Re: modem diagnostic?

2001-07-07 Thread J.A.Serralheiro
well, I had notice of some modems that were capable of silent dialing. My
one is, I think. I have a supra 33.6 diamond, isa. Its possible that there
is an option to enable/disable that. im not sure

On Sat, 7 Jul 2001 [EMAIL PROTECTED] wrote:

 
 Hi,
 
 I'm wondering if there is a way to perform a hardware check on my internal
 modem under Debian.
 
 I first started having trouble with it when I was still running Windoze,
 but suspected it was a crummy cable. Right arond the time I installed
 Debian I got DSL, so didn't install any dialup capabilities. Now I've
 moved and won't have DSL for at least a few weeks, and can't seem to
 connect out.
 
 I've installed ppp and pppconfig from my potato CDs, and was following
 instructions I found in -Running Linux-, 3rd ed., but the best I got was
 this message:
 
 The remote system is required to authenticate itself but I couldn't find
 any suitable secret (password) for it to use to do so. (None of the
 available passwords would let it use an IP address).
 
 ... one source of confusion for me is that I have yet to hear a dial tone!
 That is why I am looking for a simple way to test my modem, if there is
 one.
 
 Thanks in advance for any hints.
 
 Glenn Becker
 
 ++
 http://www.burningclown.com
 Everyone's Portal to Nothing At All
 ++
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



Re: crontab

2001-07-06 Thread J.A.Serralheiro
well it seems to me that you are erasing the tape every thursday at 14
hours and 21 minutes. Do you backup in the tape? then you will loose the
old backup. That's fine, but field 4 () day of month) matches every day,
so you will have a backup every day, and an additional backup every friday 
this also aplies to the deletion of the tape.
 Im sorry, Im reading the crontab (5) manpages and I cant find how to
disable the backup and deletion for every day of month.

Still I hope it's been of some use



On Fri, 6 Jul 2001, Andrew Dixon wrote:

 Hi All,
 I was wondering if someone could look at this crontab file and tell me
 if I've got it right.
 
 [EMAIL PROTECTED] /root]# crontab -l
 # DO NOT EDIT THIS FILE - edit the master and reinstall.
 # (- installed on Mon Jul  2 16:23:22 2001)
 # (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp
 $)
 21 14 * * 5 mt -f /dev/st0 erase
 0 2 * * 6 find -xdev / |cpio --create /dev/st0/root.cpio
 0 2 * * 6 find -xdev /boot |cpio --create/dev/st0/boot.cpio
 0 2 * * 6 find -xdev /tmp |cpio --create /dev/st0/tmp.cpio
 0 2 * * 6 find -xdev /usr |cpio --create /dev/st0/usr.cpio
 0 2 * * 6 find -xdev /var |cpio --create /dev/st0/var.cpio
 0 2 * * 6 find -xdev /home |cpio --create /dev/st0/home.cpio
 
 
 I'm trying to erase a tape on friday afternoon and then backup the box
 saturday night a 2:00 every week.
 
 what do you guys think? Have I got it right.
 
 Thanks,
 Andy
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 



kernel compilation error

2001-07-06 Thread J.A.Serralheiro
hi. I already posted a question, but got any replies.
Once I had a power fail, and on reboot, there were some errors. So, after
fsck some files in /lib were missing. 

Now im trying to compile kernel 2.4.5 and in keep getting errors
about undefined labels, and unknown variables and things like that.

I'm new at this, only a few months, as mainly as a user. How can I 

put things back so that gcc doesnt complain any longer


I truly apreciate some assistance

greetings
J.A.Serralheiro



problem with gcc

2001-07-05 Thread J.A.Serralheiro

a few weeks ago, I enabled bios APM, which has a bug and I didnt knew
about. I had crash, and some files in /lib/something disapeared.

The problem was not  a big deal, because I still compiled my own programs
( which are not a big deal too). Then, once I trie to recompile my kernel
for 486 processor ( I own a 486) and the compilation give some errors like
undeclared variable   la la la. I bought an old pentium and tried to
compile the kernel in my 486 for a pentium processor and I get the same
results. 
how can I update the /lib files ?


regards




ifconfig problem

2001-06-25 Thread J.A.Serralheiro
here's a problem. I configured my network configuring
files /etc/network/interfaces
and it works lovelly. The thing is more of curiosity.

I tried doing the configuration with ifconfig
but I cant connect to hosts rather than the ones that lie in the same 
portion of network, I mean the ones that are attached to the same hub.
Everything looks fine, as I said, when configured with the initilizing
scritp /etc/inid.d/networking

when configuring by hand with ifconfig I used:

ifconfig eth0 address netmask mask_address up

replacing address and mask_address by the actual ip addresses.

Also if instead of ifconfig I use ipup, thigs work fine in the same way.
I read in the ifup man pages that ifup uses ifconfig.

does anyone has a clue about what is this problem related with?


thank you  in advance



Re: Not Loading Modules

2001-06-12 Thread J.A.Serralheiro
well, I had a pci ethernet card identified on /proc/pci
I think the kernel autodetects most pci hardware, yet, the corresponding
drivers may not be built in the kernel. Of course we must trick this by
loading a module. So, by automatically Identifying some hardware doesnt
necessarily mean that the kernel is up to work with it.
Al least I think.






EIDE driver

2001-05-23 Thread J.A.Serralheiro
hello. I have an enhanced ide motherboard with a new fujitsu 20 gbyte
harddrive. 
When I try to enable dma on the drive the following is reported:
/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma=  0 (off)


Is this because the ide controler ( on board) doesnt support dma?
How about to change the pio modes?
when I try to change to pio mode 2 ( I know it is supported by both the
drive and controelr) the following is reported:

/dev/hda:
 attempting to set PIO mode to 2
 HDIO_SET_PIO_MODE failed: Function not implemented


can any body tell me why all these error occur? 

I have kernel 2.4.1 
thank you



warning compiling kernel

2001-05-23 Thread J.A.Serralheiro
Just for checking this isn't a big thing

the following warning was reported after make menuconfig
clock sweap detected. You configuration may be imcomplete

whats this ? is it harmfull?

thanks



warning compiling kernel

2001-05-23 Thread J.A.Serralheiro


Im sorry the exact message is:
Clock skew detected. your build may be imcomplete.

sorry





doom stops on start up

2001-05-21 Thread J.A.Serralheiro

while trying to run a network game, every thing goes well
we do lxdoom-gam-server blah.

when every one is logged we see a lot of things on the screen, but then
the windows that relates to the game it self remains blank. ps ux reposts
that the lxdoom-game-server is idle. We see abolutely nothing in the
screen. After trying in many diferente ( 4) computers runing as lx servers
allways getting the same results I decided to get advise.

Does anyone has ana idea of what the problem may be ?
heres a copy of the output while starting lxdoom -net localhost from xterm

M_Init: Init miscellaneous info.
D_CheckNetGame: waiting for server to signal game start
R_Init: Init DOOM refresh daemon - 
R_LoadTrigTables: Endianness...ok.
R_InitData: Textures Flats Sprites Tranmap build []
R_Init: R_InitPlanes R_InitLightTables R_InitSkyMap
R_InitTranslationsTables 
P_Init: Init Playloop state.
I_Init: Setting up machine state.
I_InitSound: Passing sound data to /usr/games/sndserv via pipe:
I_InitSoundGen: Could not open /dev/dsp
Broken pipe
sent OK
/usr/games/musserv: midi_setup: error opening /dev/sequencer
/usr/games/musserv: Permission denied
Broken pipe
S_Init: Setting up sound.
S_Init: default sfx volume 8
HU_Init: Setting up heads up display.
ST_Init: Init status bar.
I_InitGraphics:(using MITShm)I_FindMode: (Depth 16 / 16 BPP) using 16 bpp
TrueColor, scale x1

then it stops and does anything besides showing a black screen window.



thanks for any information




small partitions are faster?

2001-05-19 Thread J.A.Serralheiro
hello. I have a 20 gbyte fujitsu. My bios didnt recognize the disk as a 20
gbyte so I jumpered the drive to 2gbyte to trick the bios. ( this model
can do that). I boot on MS-DOS and then use loadlin to load boot linux.
I made some tests using dos, and when copying files I get an average disk
transfer rate of 5.1 Mbyte /s.
I did the same test using linux and get 2.6 average. These tests where
made with a 100megabyte file and a watch. :-)
tell me something, does the faster speed is because I have dos on  2gbyte
partition? if I had my drive partitioned into smaller partitions instead
of having a huge 18gbyte Iwould have an increased speed performance?

thanks




staroffice package

2001-05-17 Thread J.A.Serralheiro
Hi, is there any staroffice package available from debian?

thank you




Re: staroffice package

2001-05-17 Thread J.A.Serralheiro
okay thanks every one for all the advise. I have just donwloaded the
complete
instalation file ( all the 97 megas) and will istall. I thougth about that
when tried to find the package in dselect; I was just trying to make sure
that there wasnt an easier/clean way to install.

regards
J.A.Serralheiro



Unidentified subject!

2001-05-17 Thread J.A.Serralheiro
hello.
I just found and old plotter HP 7470A in the middle of old scrap.
Every information on how to set this to work under linux will be
apreciated. Meanwhile I will make some search..

thank you


J.A.Serralheiro



irq share problem

2001-05-15 Thread J.A.Serralheiro
Here's a problem I already posted once, but stubornly remains:
I have 4 serial ports. 2 on board and 2 in an old i/o adapter.
The thing is that I cant have thenm both working at the same time.
I know waht you r thinkg  use different irqs. I cant, I have none left.

port=/dev/ttySx

Both ports work very nice, if there's only one (of them) receiving. 
The things I want to know are: Is there a way to configure the module
serial.o to handle this problem? ofcourse assuming that this is NOT
hardware matter. I am very confused because of this. According to some
things I have read, if the uart tries to notify the interrupt handler,
it will put 5V in the interrupt handler. Well, from the hardware  stand
point, having 2 ports working one at a time, is the same having both
working at the same time. I mean, If port1 wants to interrupt the cpu, it
will put 5V in the int3. If port 3 is not trying to interrupt the cpu, it
will put 0V, it works. Okay; Now if we reverse, port3 wants to interrupt
and puts
5V, and ports 1 puts0V the thing still works . But having two programs
trying to
read from port1 and from port3 ( one program per port) just doens work.
The only way this gives some output is when a simultaneous interrupts
occurs on both ports.
Can any one tell me how this may be solved? ( without probing each port?
that looses bytes ). Because I really hate to buy hardware I cant fully
use.

serial.o reports IRQ_SHARE flag at boot up

sincerely J.A.Serralheiro





how to find out what ip to use

2001-05-14 Thread J.A.Serralheiro

hi. Im installing a new linux based system in a computer. I would like to
know how I can find out what ip address to use without having to talk with
the network administrator. Also what would he do to find out what ip
address I am suppose to use. 
Clumsy, I tried several ip adresses with ifconfig, but none worked. eheh

thak you for the help.





  1   2   >