Re: SMC Ethernet Problem

1998-08-12 Thread King Lee
Hello

I'm using an SMC card (EtherPower I think) with the DEC chip, and 
it seems to be running fine under bo.  Did you configure the kernel
to use tulip driver?

King

On Tue, 11 Aug 1998, George Bonser wrote:

> 
> I have always used 3Com ethernet cards but I recently got a PCI SMC card
> with a DEC 21041 chip. 
> 
> The system boots, sees the card, loads the driver, reports the IO and IRQ.
> I get a good link light, card sees and selects the 10BaseT port, but it
> will not transmit. 
> 
> The card is brought up just fine and the IP, network, broadcast and
> netmask are correct.  After some time, it starts reporting errors like:
> 
> 20141 transmit timeout  status fc6980d5 csr12 0001c8 csr13 ef05
> csr14 ff3f, resetting
> 
> When it resets, I can see the link light die on the hub and come back. I
> have replaced cables, and tried a different port on the hub.
> 
> Has anyone else had this problem with this card?
> 
> 
> George Bonser
> 
> The Linux "We're never going out of business" sale at an FTP site near you!
> 
> 
> --  
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> 


Re: starting ppp on host end

1998-08-12 Thread Jens B. Jorgensen
Richard E. Hawkins Esq. wrote:

> jens wrote,
>
> > Richard E. Hawkins Esq. wrote:
>
> > > oh :)  I thought that the script started it at the other end :)
>
> > Not unless you made it!
>
> ok, slowly it's sinking in . . .
>
> > > OK, for the really dumb question:  how do I start ppp on the other end on 
> > > a
> > > debian box?  it seems to be with pppd to start the daemon, but I'm having
> > > trouble figuring out the man & doc pages.
>
> > Actually I recommend using mgetty. mgetty is capable of "auto sensing" ppp 
> > when
> > it picks up the line so you don't even have to log in and start ppp, your
> > script simply waits for connect and then you authenticate using PAP or CHAP.
>
> so I merely need to install mgetty on the remote host, and it will
> replace getty?
>
> > If
> > you like you can have pppd use the regular user/password database to
> > authenticate you. Having installed mgetty and made the necessary changes to
> > /etc/inittab you can put this line in /etc/mgetty/login.config (my email 
> > client
> > might wrap the line but it's supposed to be a single line):
> >
> > /AutoPPP/ - -   /usr/sbin/pppd proxyarp auth -chap +pap login modem
> > crtscts 192.168.1.1:192.168.1.127
>
> I've tryied a PAP script, but I can't see a difference between it's end and 
> te plain chat script.  So let's see if I've got this straight:
>
> 1)  install mgetty on the remote host
> 2) put the Autoppp line above in, but switch "local" for  "modem crtscts"
>as this is coming in over ethernet by the time it gets to the remote
>host.  And switch to IP numbers to the static addresses for my local
>machine and the remote (i have a secon IP on the same subnet to use\
>for the local machine).
> 3) use pppconfig to get an initial PAP chatscript.
> 4) add a few lines aftr connect to handle the network logon and machine
>selection, stoppping right before the remote system would offer a login
> prompt.

Ooops. Sorry, I forgot that you're not dialing into a modem. No, this won't 
work because mgetty only works on modems. Hmmm. If you have a
script on the remote end which just runs pppd you should be able to just run 
this. Is that what you had working before? You were using pon?
Why?

> 5) try pon again.
>
> > > I've figured out to insert
> > > the ppp & shlc modules on the host, but I'm not clear on what else to do.
>
> > You shouldn't need to insert these modules if you have modules auto loaded.
>
> that's my impression too, but my modules don't seem to autoload:

Weird. Ok.

--
Jens B. Jorgensen
[EMAIL PROTECTED]



Re: new to networking question

1998-08-12 Thread Lindsay Allen

On Wed, 12 Aug 1998, Asher Haig wrote:


[snip]

> You may also want to get midentd which allows you to set up ident to work 
> through ipmasq.

Where can I find that, please?  I have been try to do cuseeme through
masquerade and this may be the missing link.

Lindsay
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Lindsay Allen   <[EMAIL PROTECTED]>  Perth, Western Australia
voice +61 8 9316 248632.0125S 115.8445Evk6lj  Debian Linux
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



Re: Second ethernet card

1998-08-12 Thread Ehren Wilson
On Wed, 12 Aug 1998, Christopher J. Morrone wrote:

> I was wondering where I should set up the configuration for my second
> ethernet card.  I have two ethernet cards, both PCI and Tulip chipset,
> which are currently detected just fine during bootup.
> 
> I set up the ethernet networking like normal during the Debian
> installation, and it works fine.  What I want to do now is enable the
> second ethernet card.  (This computer is essentially node 0 for a beowulf,
> and the other nodes do not need to access the outside world, so I don't
> believe that I need any type of ip forwarding.)
> 
> So I basically just want to know where I should put my custom
> configuration for the second ethernet card.  Should I just add it to the
> /etc/init.d/network file?  Or is there a better place to put the
> configuration?
> 
> Thanks!  (Please Cc the response to me, I was knocked off the debian-user
> list because our server was bouncing too many messages.)

I put the configuration of my second NIC in /etc/init.d/network as you
suggested when I did a similar thing on my own.  One was just a
192.168.1.1 for my local LAN while the other is using dhcpc and both are
configured with ifconfig and routed in that file.  Hope this answers your
question well enough.

Ehren Wilson



Re: gunzip - invalid compressed data?

1998-08-12 Thread Shaleh
Run "Runme" in X -- it works better there.  try using the 'file' command
on your download.  See what it says: file tarball.tar.gz SHOULD say
"gzip compressed data".


gunzip - invalid compressed data?

1998-08-12 Thread Rich Hartman
Hello all,

I just downloaded the 38MB file of the Wordperfect 8.0 prerelease...

I followed the directions given at the ftp site, namely:

1. download linuxgui8.tar.gz and then unzip the file
 (gunzip filename.tar.gz)
2. untar the file (tar -xvf filename.tar)
3. execute the Runme file to start installation

...HOWEVER, when I type in "gunzip linuxgui8.tar.gz", I get the
message:

   gunzip: linuxgui8.tar.gz: invalid compressed data -- format
   violated

Is this a problem with my version of gunzip? OR did I download 38MB
worth of corrupted file?

On a related note, IF I do get it working (with all of your help, of
course) - where should I place the "wordperfect" directory? Is there
some type of UNIX standard for where this type of directory should go?


Also, IF I get it to work, should I run the Runme file in X?

Thanks alot!

Rich


help w/ hylafax

1998-08-12 Thread Shaleh
sloth [~]$ sendfax -d 499-1941
Hello world from the fax
textfmt: No font metric information found for "Courier-Bold".
Usage: textfmt [-1] [-2] [-B] [-c] [-D] [-f fontname] [-m N] [-o #] [-p
#] [-r] [-U] [-Ml=#,r=#,t=#,b=#] [-V #] files... >out.ps
Default options: -f Courier -1 -p 11bp -o 0
Error converting data; command was "textfmt -B -f Courier-Bold -p 11 -s
default >/tmp//faxsnda00200 

Re: c programming question w/ ncurses

1998-08-12 Thread Jens B. Jorgensen
Fix below:

Keith wrote:

> I am trying to fumble through learning how to do some C programming.
> In the book I am using, Beginning Linux Programming they are now trying
> to use ncurses. I am getting the following errors when I try to compile
> my source. I am compiling with this command:
>
> $ cc -o screenmenu screenmenu.c -lncurses
>
> this is the error:
>
> screenmenu.c: In function `getchoice':
> screenmenu.c:72: warning: passing arg 3 of `tputs' from incompatible pointer 
> type
>
> I get the same error when I compile the source from the book also. I also
> get it when I try and compile it on another Linux machine. I was just 
> wondering
> if someone could look at the code and help me figure out why it is not 
> working.
> It would be nice if just one person could write a book that has examples that
> work.
>
> Here is the source below:
> #include 
> #include 
> #include 
> #include 
> #include 
>
> static FILE *output_stream = (FILE *)0;
>
> char *menu[] = {
> "a - add new record",
> "d - delete record",
> "q - quit",
> NULL,
> };
>
> int getchoice(char *greet, char *choices[], FILE *in, FILE *out);
> int char_to_terminal(int char_to_write);
>
> int main()
> {
> int choice = 0;
> FILE *input;
> FILE *output;
> struct termios initial_settings, new_settings;
>
> if (!isatty(fileno(stdout))) {
> fprintf(stderr,"You are not a terminal, OK.\n");
> }
>
> input = fopen("/dev/tty", "r");
> output = fopen("/dev/tty", "w");
> if(!input || !output) {
> fprintf(stderr, "Unable to open /dev/tty\n");
> exit(1);
> }
>
> tcgetattr(fileno(input),&initial_settings);
> new_settings = initial_settings;
> new_settings.c_lflag &= ~ICANON;
> new_settings.c_lflag &= ~ECHO;
> new_settings.c_cc[VMIN] = 1;
> new_settings.c_cc[VTIME] = 0;
> new_settings.c_lflag &= ~ISIG;
> if(tcsetattr(fileno(input), TCSANOW, &new_settings) != 0) {
> fprintf(stderr,"could not set attributes\n");
> }
>
> choice = getchoice("Please select an action", menu, input, output);
> printf("You have chosen: %c\n", choice);
> } while (choice != 'q');
> tcsetattr(fileno(input),TCSANOW,&initial_settings);
> exit(0);
> }
>
> int getchoice(char *greet, char *choices[], FILE *in, FILE *out)
> {
> do {
> choice = getchoice("Please select an action", menu, input, output);
> printf("You have chosen: %c\n", choice);
> } while (choice != 'q');
> tcsetattr(fileno(input),TCSANOW,&initial_settings);
> exit(0);
> }
>
> int getchoice(char *greet, char *choices[], FILE *in, FILE *out)
> {
> int chosen = 0;
> int selected;
> int screenrow, screencol = 10;
>
> char **option;
> char *cursor, *clear;
>
> output_stream = out;
>
> setupterm(NULL,fileno(out), (int *)0);
> cursor = tigetstr("cup");
> clear - tigetstr("clear");
>
> screenrow = 4;
> tputs(clear, 1, (int *) char_to_terminal);

tputs(clear, 1, char_to_terminal);

> tputs(tparm(cursor, screenrow, screencol), 1, char_to_terminal);
> fprintf(out, "Choice: %s", greet);
> screenrow += 2;
> option = choices;
> while(*option) {
> tputs(tparm(cursor, screenrow, screencol), 1, char_to_terminal);
> fprintf(out, "%s\n",*option);
> screenrow++;
> option++;
> }
>
> do {
> selected = fgetc(in);
> option = choices;
> while(*option) {
> if(selected == *option[0]) {
> chosen = 1;
> break;
> }
> option++;
> }
> if(!chosen) {
> tputs(tparm(cursor, screenrow, screencol), 1, char_to_terminal);
> fprintf(out, "Incorrect choice, select again\n");
> }
> } while(!chosen);
> tputs(clear, 1, char_to_terminal);
> return selected;
> }
>
> int char_to_terminal(int char_to_write)
> {
> if (output_stream) putc(char_to_write, output_stream);
> return 0;
> }
>
> --
> end of code
> --
>
> --
> Thanks,
> Keith
> MCNE
> 
> Debian GNU/Linuxhttp://www.naples.net/~nfn11988/linux
>
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null



--
Jens B. Jorgensen
[EMAIL PROTECTED]



Time is off after upgrading

1998-08-12 Thread Keith
My time is sort of wacked again after upgrading to 2.0.

My time is off by 4 hours and I get these two messages when Linux
loads:

hwclock takes no non-option arguments.  You supplied 1.
hwclock takes no non-option arguments.  You supplied 1.

I think this may be part of the problem, but what do I know.

-- 
Thanks,
Keith
MCNE

Debian GNU/Linuxhttp://www.naples.net/~nfn11988/linux   



Re: Error Rebuilding speak-freely.deb

1998-08-12 Thread Joey Hess
mwb wrote:
> Is there a way to tell which packages are required to compile
> a source package, that aren't needed to run the compiled
> source?

No, we haven't implemented source dependancies in debian yet, unfortunatly.

-- 
see shy jo


Re: Installation Problems with Installing the base system

1998-08-12 Thread Richard E. Hawkins Esq.

> 4.  Everything went fine untill installing the base system (I skipped
> network config. as I will be using ppp)

did you remember to tell your ftp client "binary"?  this will happen
if you do an ASCII download, which some clients default to.

> I get an error that I cannot read because dinstall is covering it up.  I
> think it says something about invalid archive format.

> I even created floppies and tried, but had a checksum error on the 4th
> disk 3 times with different disks.

Try writing it on a different machine, this works sometimes.  

> I have compared the dates and files sizes of what I downloaded with what
> is out on the network and they match.


Re: Error Rebuilding speak-freely.deb

1998-08-12 Thread mwb
On Tue, 11 Aug 1998, Joey Hess wrote:

> mwb wrote:
> > speakfree.h:64: gsm.h: No such file or directory
> 
> You need libgsm1-dev.

Thanks 

Is there a way to tell which packages are required to compile
a source package, that aren't needed to run the compiled
source?

Mark


Re: SANE not finding scanner

1998-08-12 Thread Keith
> Keith wrote:
> > 
> > I am trying to setup my Mustek scanner using SANE. If I run find-scanner
> > it doesn't find my scanner. I see that my card is loading on boot up
> > and it sees my scanner. The scanner is hooked up right, it works in
> > Windows. If someone could shed some light on this subject for me I
> > would appreciate it. There is no /dev/scanner file. Isn't there a program
> > called MAKEDEV for making dev files?
> Hi
> 
> You should not use MAKEDEV for /dev/scanner. It is
> normally a symbolic link to the generic device where
> the scanner is. ie if you see something like:
> "Scanner Mustek xxx found at sga"
> you do "ln -s /dev/sga /dev/scanner"

I don't see that if I run find-scanner nothing happens.

> 
> Best regards
> Allan Jacobsen
> 
> 


-- 
Thanks,
Keith
MCNE

Debian GNU/Linuxhttp://www.naples.net/~nfn11988/linux   



Re: starting ppp on host end

1998-08-12 Thread Richard E. Hawkins Esq.

jens wrote,

> Richard E. Hawkins Esq. wrote:

> > oh :)  I thought that the script started it at the other end :)

> Not unless you made it!

ok, slowly it's sinking in . . .

> > OK, for the really dumb question:  how do I start ppp on the other end on a
> > debian box?  it seems to be with pppd to start the daemon, but I'm having
> > trouble figuring out the man & doc pages.

> Actually I recommend using mgetty. mgetty is capable of "auto sensing" ppp 
> when
> it picks up the line so you don't even have to log in and start ppp, your
> script simply waits for connect and then you authenticate using PAP or CHAP.

so I merely need to install mgetty on the remote host, and it will
replace getty?  

> If
> you like you can have pppd use the regular user/password database to
> authenticate you. Having installed mgetty and made the necessary changes to
> /etc/inittab you can put this line in /etc/mgetty/login.config (my email 
> client
> might wrap the line but it's supposed to be a single line):
> 
> /AutoPPP/ - -   /usr/sbin/pppd proxyarp auth -chap +pap login modem
> crtscts 192.168.1.1:192.168.1.127

I've tryied a PAP script, but I can't see a difference between it's end and te 
plain chat script.  So let's see if I've got this straight:

1)  install mgetty on the remote host
2) put the Autoppp line above in, but switch "local" for  "modem crtscts"
   as this is coming in over ethernet by the time it gets to the remote
   host.  And switch to IP numbers to the static addresses for my local
   machine and the remote (i have a secon IP on the same subnet to use\
   for the local machine).
3) use pppconfig to get an initial PAP chatscript.
4) add a few lines aftr connect to handle the network logon and machine
   selection, stoppping right before the remote system would offer a login
prompt. 
5) try pon again.

> > I've figured out to insert
> > the ppp & shlc modules on the host, but I'm not clear on what else to do.

> You shouldn't need to insert these modules if you have modules auto loaded.

that's my impression too, but my modules don't seem to autoload:
# /etc/modules: kernel modules to load at boot time.
#   
# to be loaded at boot time, one per line.  Comments begin with  
# a `#', and everything on the line after them are ignored.
# An entry named `auto' will cause the system to start kerneld immediately.
# Kerneld then loads modules on demand. `noauto' disables kerneld completely.
auto  
8390 
ne  

I generally have to manually insert my scsi modules to use my (late?) 
zip drive, for example.

> > When I type pppd when logged in manually, I just get a bunch of nonsense
> > characters.

> That's just what you should see.

gee, something's right :)
rick


c programming question w/ ncurses

1998-08-12 Thread Keith
I am trying to fumble through learning how to do some C programming.
In the book I am using, Beginning Linux Programming they are now trying
to use ncurses. I am getting the following errors when I try to compile 
my source. I am compiling with this command:

$ cc -o screenmenu screenmenu.c -lncurses

this is the error: 

screenmenu.c: In function `getchoice':
screenmenu.c:72: warning: passing arg 3 of `tputs' from incompatible pointer 
type
 
I get the same error when I compile the source from the book also. I also
get it when I try and compile it on another Linux machine. I was just wondering
if someone could look at the code and help me figure out why it is not working.
It would be nice if just one person could write a book that has examples that
work.

Here is the source below:
#include 
#include 
#include 
#include 
#include 

static FILE *output_stream = (FILE *)0;

char *menu[] = {
"a - add new record",
"d - delete record",
"q - quit",
NULL,
};

int getchoice(char *greet, char *choices[], FILE *in, FILE *out);
int char_to_terminal(int char_to_write);

int main()
{
int choice = 0;
FILE *input;
FILE *output;
struct termios initial_settings, new_settings;

if (!isatty(fileno(stdout))) {
fprintf(stderr,"You are not a terminal, OK.\n");
}

input = fopen("/dev/tty", "r");
output = fopen("/dev/tty", "w");
if(!input || !output) {
fprintf(stderr, "Unable to open /dev/tty\n");
exit(1);
}

tcgetattr(fileno(input),&initial_settings);
new_settings = initial_settings;
new_settings.c_lflag &= ~ICANON;
new_settings.c_lflag &= ~ECHO;
new_settings.c_cc[VMIN] = 1;
new_settings.c_cc[VTIME] = 0;
new_settings.c_lflag &= ~ISIG;
if(tcsetattr(fileno(input), TCSANOW, &new_settings) != 0) {
fprintf(stderr,"could not set attributes\n");
}

choice = getchoice("Please select an action", menu, input, output);
printf("You have chosen: %c\n", choice);
} while (choice != 'q');
tcsetattr(fileno(input),TCSANOW,&initial_settings);
exit(0);
}

int getchoice(char *greet, char *choices[], FILE *in, FILE *out)
{
do {
choice = getchoice("Please select an action", menu, input, output);
printf("You have chosen: %c\n", choice);
} while (choice != 'q');
tcsetattr(fileno(input),TCSANOW,&initial_settings);
exit(0);
}

int getchoice(char *greet, char *choices[], FILE *in, FILE *out)
{
int chosen = 0;
int selected;
int screenrow, screencol = 10;

char **option;
char *cursor, *clear;

output_stream = out;

setupterm(NULL,fileno(out), (int *)0);
cursor = tigetstr("cup");
clear - tigetstr("clear");

screenrow = 4;
tputs(clear, 1, (int *) char_to_terminal);
tputs(tparm(cursor, screenrow, screencol), 1, char_to_terminal);
fprintf(out, "Choice: %s", greet);
screenrow += 2;
option = choices;
while(*option) {
tputs(tparm(cursor, screenrow, screencol), 1, char_to_terminal);
fprintf(out, "%s\n",*option);
screenrow++;
option++;
}

do {
selected = fgetc(in);
option = choices;
while(*option) {
if(selected == *option[0]) {
chosen = 1;
break;
}
option++;
}
if(!chosen) {
tputs(tparm(cursor, screenrow, screencol), 1, char_to_terminal);
fprintf(out, "Incorrect choice, select again\n");
}
} while(!chosen);
tputs(clear, 1, char_to_terminal);
return selected;
}

int char_to_terminal(int char_to_write)
{
if (output_stream) putc(char_to_write, output_stream);
return 0;
}

--
end of code
--

-- 
Thanks,
Keith
MCNE

Debian GNU/Linuxhttp://www.naples.net/~nfn11988/linux   



Second ethernet card

1998-08-12 Thread Christopher J. Morrone

I was wondering where I should set up the configuration for my second
ethernet card.  I have two ethernet cards, both PCI and Tulip chipset,
which are currently detected just fine during bootup.

I set up the ethernet networking like normal during the Debian
installation, and it works fine.  What I want to do now is enable the
second ethernet card.  (This computer is essentially node 0 for a beowulf,
and the other nodes do not need to access the outside world, so I don't
believe that I need any type of ip forwarding.)

So I basically just want to know where I should put my custom
configuration for the second ethernet card.  Should I just add it to the
/etc/init.d/network file?  Or is there a better place to put the
configuration?

Thanks!  (Please Cc the response to me, I was knocked off the debian-user
list because our server was bouncing too many messages.)


Re: Which scanner with Debian 2.0?

1998-08-12 Thread Raymond A. Ingles
On Wed, 12 Aug 1998, Morgan Collett wrote:

> I want to set up a graphic design workstation under Linux, running the
> Gimp. I want to use a graphics tablet, and a flatbed scanner.
> 
> Can anyone recommend a scanner? Should it be SCSI or can parallel port
> scanners work?

 Only a very few parallel-port scanners are supported under Linux. SCSI
scanners are much better supported. Take a look at the SANE project, which
is probably the most active scanner project for Linux. The home page is
at "http://www.mostang.com/sane/";. It has a partial list of supported
scanners. SANE can also act as a GIMP plugin.

> (Can anyone recommend what NOT to get?)

 Well, the cheaper SCSI scanners (some Microtek and Mustek scanners,
for example) have one problem - they don't "disconnect" from the SCSI bus
during a scan. This means that if you have another SCSI device on the same
bus, you can't access it during a scan. This can be very bad if you have a
disk on the same bus as the scanner - you can get disk timeouts.

 There are a few solutions:

 0) Don't use SCSI for anything but scanning. One problem is the SCSI
cards that come with most scanners are absolute trash, often not even
using an interrupt. Your whole system will slow to a crawl while using
them, if you can get it to work at all. This may be acceptable.

 1) Get a more expensive scanner. HP scanners don't usually have this
problem. You tell them to scan, they go away and do it, and while they are
scanning you can still access other peripherals on the SCSI bus.

 2) Get a separate SCSI card for the scanner. Since you can get SCSI cards
pretty cheap these days (I've seen decent SCSI cards for $53 in the Linux
Journal) this is an attractive option.

 3) Hack the kernel and increase the disk timeouts. I did this so I could
use my Mustek scanner and not crash my SyQuest drive. Not terribly
difficult and sure saves money.

 I use a combination of 2 and 3. Good luck!

 Sincerely,

 Ray Ingles (248) 377-7735   [EMAIL PROTECTED]

 "I can write programs that control air traffic, intercept ballistic
  missiles, reconcile bank accounts, control production lines."

 "So can I, and so can any man, but do they work when you do write them?"

  - Fred Brooks, after Shakespeare, in "The Mythical Man-Month"


Re: Silly Question... VERY simple :)

1998-08-12 Thread Raymond A. Ingles
On Wed, 12 Aug 1998, M.C. Vernon wrote:
> On Tue, 11 Aug 1998, Havoc Pennington wrote:
> > On Wed, 12 Aug 1998, Michael Beattie wrote:
> > > 
> > > Where is the documentation for C ? i.e. language help?
> > > I have a hard time remembering syntax and stuff.. :)
> > 
> > You're best off just buying "The C Programming Language" (ANSI edition). 
> > It isn't very expensive and the hardcopy is handy. There may be some free
> > stuff on the web though, try www.infoseek.com.
> > 
> Hmm. I prefer Schildt's C the complete reference.

 Isn't Schildt the guy who writes from a DOS perspective? I know that the
comp.lang.c people hate him. Apparently his books are just teeming with
errors. The comp.lang.c FAQ
(http://www.cis.ohio-state.edu/hypertext/faq/usenet/C-faq/faq/faq.html)
has a bibliography that might be a good place to start.

Still, I'd second the nomination for Kernighan & Ritchie's "The C
Programming Language, Second Edition" (ANSI). This is a very good, concise
book, which I have found *very* useful. ISBN 0-13-110362-8.

> Is there any compiler-specific documentation (esp wrt to graphics and
> low-level hardware/system stuff)?

 'info gcc' is probably a good place to start.

 Sincerely,

 Ray Ingles (248) 377-7735   [EMAIL PROTECTED]

 "I can write programs that control air traffic, intercept ballistic
  missiles, reconcile bank accounts, control production lines."

 "So can I, and so can any man, but do they work when you do write them?"

  - Fred Brooks, after Shakespeare, in "The Mythical Man-Month"


Re: new to networking question

1998-08-12 Thread Stephen J. Carpenter
On Wed, Aug 12, 1998 at 02:06:46PM -0500, Asher Haig wrote:
> Shaleh, [EMAIL PROTECTED] on 8/12/98 11:33 PM
> 
> >Hi, I just bought a "network in a box" kit: hub, two 10/100 ethernet
> >cards, cable.  Could someone please point me to FAQs, HOWTOs etc. for
> >getting machines connected and using one box w/ ppp so all have net
> >access.  Also it is a sohoware kit, has anyone had good/bad/indifferent
> >luck w/ their hardware.  I can still take it back.
> >
> >Thanks, I am still getting accustomed to Linux networking.  Never set oe
> >up from scratch by myself.  (Which is why I am doing it).
> 
> Install all the cards and such, compile the modules, get ethernet working 
> on all the machines. Then set up ppp on one machine. Compile IPMASQ and 
> IPForwarding support in modules or in the kernel. Set up forwarding rules 
> for each internal ip, such as: 
> 
> ipfwadm -F -a m -S 10.0.0.2/32 -D 0.0.0.0/0
> ipfwadm -F -a m -S 10.0.0.3/32 -D 0.0.0.0/0
> ipfwadm -F -p deny

why not just 1 
ipfwadm -F -a m -S 10.0.0.0/32 -D 0.0.0.0/0
instead of 1 per IP?
that way all of 10* gets the ip masq forwarding?
(thats what I use)

> I put them in a file, such as /usr/bin/startipmasq. (This is on the ppp 
> machine).

or... in /etc/init.d/local.ipmasq (I use local. to prevent conflicts)
then it will set it up on reboot every time...
I have found this isn't a problem when the ppp link is downb either.

> Set up networking on the other machines (/etc/init.d/network) so that it 
> uses the ppp machine as a gateway. 10.0.0.* and 192.168.1.* both work as 
> internal-only IP ranges.

yup...and if you wanted a class B instead of a class A or C (I use the class A
10.* myself) hmm I can't find the numbers...
could have sworn it was in RFC 791...which references assigned numbers...
rfc790hmm...I don't have that one...oh well

BTW just as a note...
I noticed that the other end of my PPP link is often 10.* ;)
makes sense tho...afterall...my ISP doesn't really need its ppp servers
to have REAL and acessable IPs ;)

> "It was like a visit by Don Carleone. I expected to 
> find a bloody computer monitor in my bed the next day."
> -- Mark Andreessen regarding the visit from Microsoft.

love the quote :)

-Steve

-- 
/* -- Stephen Carpenter <[EMAIL PROTECTED]> --- <[EMAIL PROTECTED]> 
*/
E-mail "Bumper Stickers":
"A FREE America or a Drug-Free America: You can't have both!"
"honk if you Love Linux"


Installation Problems with Installing the base system

1998-08-12 Thread Hedrick, Brooke - 43
Hello.  I am trying to install Linux for the first time and I am having
a problem when it comes to "Installing the base system."

1.  I downloaded the files from
ftp://ftp.debian.org/debian/dists/stable/hamm/disks-i386/current . 
2.  Copied them to a hard drive that was already partitioned with 4
partitions (2 - ext2 and 2 - swp)
3.  Ran install
4.  Everything went fine untill installing the base system (I skipped
network config. as I will be using ppp)

I get an error that I cannot read because dinstall is covering it up.  I
think it says something about invalid archive format.

I even created floppies and tried, but had a checksum error on the 4th
disk 3 times with different disks.

I have compared the dates and files sizes of what I downloaded with what
is out on the network and they match.

Does anyone have any suggestions for a very frustrated programmer?

Brooke Hedrick
Programmer
[EMAIL PROTECTED]



RE: Almost there. . .HELP

1998-08-12 Thread TBaetzle
Hi John,

> I have been trying to set-up a PC here at work without connecting to
> the
> NET( Boss won't let me :< ). After trying to copy the files from a
> Windows
> PC via a null-modem cable, I found I didn't have enough room on the
> hard
> drive for ALL the debian packages. I've decided to 'borrow' an IP
> address
> from another PC and can now ping IP addresses from the net, but I
> can't get
> access to a DSN because I'm not supposed to be connected to the net.
> 
Strange. You really mean DNS, right? Name resolution doesn't work?
All you have to do is to copy the DNS give on the Windows PC that
you disconnected to /etc/resolv.conf. Say if it's 192.168.1.1, make
that file contain a line 

nameserver 192.168.1.1

This will tell your box the address of the dns server. If you have
several
servers, add more nameserver lines.

Then make sure /etc/host.conf contains the line

order bind,hosts

so that your box actually uses the DNS servers.

If your nameservers don't resolve addresses from the net, then you could
just add IP addresses and names to /etc/hosts, for example

130.207.7.21 ftp.debian.org

HTH,
Thomas


Re: Partitioning....

1998-08-12 Thread Steve Lamb
On Wed, 12 Aug 1998 15:31:14 -0400 (EDT), Will Lowe wrote:

>Well,  give yourself at least twice as much swap space as physical memory
>(for 64 megs of ram,  go for 128 megs of swap).  Swap should be a seperate
>partition.

Actually, this is antiquated advice to be handing out.  On my Debian
system this is what free turns up:

[EMAIL PROTECTED]:/home/morpheus}free
 total   used   free sharedbuffers cached
Mem: 63332  61784   1548  27160  32000  16208
-/+ buffers/cache:  13576  49756
Swap:14328 16  14312

14Mb of SWAP and 63Mb of RAM.  For workstations the more RAM you have,
the less you'll need SWAP.  The only time this machine has touched swap was
because of the Netscape memory leak.  So why waste the HD space for something
that is never used?

Also, the 2x RAM rule of thumb is based on, IIRC, BSD systems which map
RAM into the swap space so to get any swap you had to make the swap partition
as large as RAM and then some.

So, for a workstation, the lower the RAM I'd say the larger the swap. 
Something like:
RAM/SWAP
  4/32
  8/32
 16/24
 32/16
 64/16

Servers, the rule of thumb is, what do you plan to run on the machine and
make sure your RAM/SWAP covers it.



-- 
 Steve C. Lamb | Opinions expressed by me are not my
http://www.calweb.com/~morpheus| employer's.  They hired me for my
 ICQ: 5107343  | skills and labor, not my opinions!
---+-



Almost there. . .HELP

1998-08-12 Thread John_Gay
I have been trying to set-up a PC here at work without connecting to the
NET( Boss won't let me :< ). After trying to copy the files from a Windows
PC via a null-modem cable, I found I didn't have enough room on the hard
drive for ALL the debian packages. I've decided to 'borrow' an IP address
from another PC and can now ping IP addresses from the net, but I can't get
access to a DSN because I'm not supposed to be connected to the net. Could
someone tell me how I can connect to one of the debian mirror sites without
using a DSN? I'm not very NET literate, I just know how to 'ping' and use
the '?' command in ftp. If I could get connected via an IP address and run
dselect, I could get my system up and running and dis-connect it during a
night-shift when no-one can complain. I have been trying to get this system
running for much longer that I care to think about, but work won't budge on
letting me connect to the net, so I think this is the only way around them.
Thanks very much for you help. Despite my current inability to get debian
running on my system, I still recommend it to anyone who asks my opinion of
Operating Systems, and some who don't ask : )

Cheers,

 John Gay



Re: Partitioning....

1998-08-12 Thread Will Lowe
> I am about to install hamm.  I have dedicated 2.6gigs to it.  I have
> seen several FAQs and HowTo's on the subject of partitions sizes,
> unfortunately they all say something different.  What I want to know is
> what is the best way to partition the 2.6 gigs?  

Well,  give yourself at least twice as much swap space as physical memory
(for 64 megs of ram,  go for 128 megs of swap).  Swap should be a seperate
partition.

Other than that,  it really doesn't matter.  Most of the major disk space
needed is probably under /usr (almost all programs reside here),  and it
can be useful to have this be a seperate partition if you want to nfs
export it someplace (the same could be said for /home),  but there are
lots of people who run linux in a single partition and it's fine.

Will

--
| [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]   |
|   http://www.cis.udel.edu/~lowe/   |
|PGP Public Key:  http://www.cis.udel.edu/~lowe/index.html#pgpkey|
--
| And if you hold on tight to what you think is your thing   |
|you may find you're missing all the rest ...|
|- Dave Matthews,  "Best of What's Around"   |
--


Partitioning....

1998-08-12 Thread Rick Smorawski
I am about to install hamm.  I have dedicated 2.6gigs to it.  I have
seen several FAQs and HowTo's on the subject of partitions sizes,
unfortunately they all say something different.  What I want to know is
what is the best way to partition the 2.6 gigs?  

Thanks 
Rick


Re: is slink stable enough

1998-08-12 Thread John Lapeyre

There are new packages being uploaded all the time, so in general
, it's not stable.  However, there are also bug fix and minor upgrade
releases (and some new packages are OK) . So you may want to get some
things from there.
John

John Lapeyre <[EMAIL PROTECTED]>
Tucson,AZ http://www.physics.arizona.edu/~lapeyre


Got my 2.0 CD; now a few questions...

1998-08-12 Thread Peter S Galbraith
I just received my 2.0 CD (Thanks LSL!) and have a few questions about
upgrading from bo:

1- I have a working rescue disk from bo (with a special kernel for my aic
   2940U SCSI adapter).  Do I need to make a new one?  Or could I use the
   old bo disk to boot and run dselect after the upgrade?

2- The CD's `upgrade/README-upgrade' never mentions the rescue disk.  
   Can I really upgrade with the `normal' system running, without booting
   the rescue disk and loading its ram disk?

3- Which is the best method to upgrade (less errors; more intuitive) ?
   cd_autoup.sh or `apt-get update; apt-get -f dist-upgrade' ?

4- There was a message on Debian-devel about 3 weeks ago concerning a bug
   in cd_autoup.sh :

 From: Clemmitt Sigler <[EMAIL PROTECTED]>
 Subject: Problems with cd_autoup.sh and CheapBytes hamm beta CD.
 --
 2.) There is a bug in the NET script name variable(s).  You need to
 remove the line:
 
 PKGS_NET=$( echo "$PKGS_NET" | sed -e "$SEDSCRIPT" )
 
 and replace it with:
 
 PKGS_NETBASE=$( echo "$PKGS_NETBASE" | sed -e "$SEDSCRIPT" )
 PKGS_NETSTD=$( echo "$PKGS_NETSTD" | sed -e "$SEDSCRIPT" )
 --

When I grep for PKGS_NET in cd_autoup.sh, I appear to have the same
context: 

  PKGS_NETBASE="net/netbase_*.deb"
  PKGS_NETSTD="net/netstd_*.deb"
  PKGS_NET=$( echo "$PKGS_NET" | sed -e "$SEDSCRIPT" )

Where do I get the latest version of cd_autoup.sh? (Or should I be
using the apt-get upgrade path anyhow?)

5- How do I upgrade to my multiple CDs (non-free and contrib)?
   Stick 'em in in-turn and rerun dselect?
   or  
   Stick 'em in in-turn and rerun `apt-get update; apt-get upgrade' ?

Thanks!
-- 
Peter Galbraith, research scientist  <[EMAIL PROTECTED]>
Maurice Lamontagne Institute, Department of Fisheries and Oceans Canada
P.O. Box 1000, Mont-Joli Qc, G5H 3Z4 Canada. 418-775-0852 FAX: 775-0546
   6623'rd Linux user at the Linux Counter -- http://counter.li.org/ 


Re: warnings running man?

1998-08-12 Thread Lee Bradshaw
On Wed, Aug 12, 1998 at 11:02:17AM -0500, Ed Cogburn wrote:
> Lee Bradshaw wrote:

> > mandb: can't open /usr/man/man1/gnuserv.1: No such file or directory
> > mandb: warning: /usr/man/man1/gnuclient.xemacs20.1.gz: bad symlink or ROFF
> > `.so' request

other errors/text deleted

> 
>   I have been getting these same errors for quite some time.  It involves
> symlinks to and from the /etc/alternatives dir.  I've never been quite
> sure what the problem is, so I don't know which package is at fault for
> this, but something needs a bug report filed against it for this.
> 
> -- 
> Ed C.

It looks like the BTS alread has about 8 bugs reported against xemacs
for this problem. Does anyone know of a way to fix it in the filesystem
or are we waiting for a new version of man or ...?

I got rid of the gnudoit.xemacs.1.gz file (which contained the .so
command) and made it a link to gnuserv.xemacs.1.gz. Now the man page for
gnudoit works. Will this screw up my system when a fixed debian package
is released?

-- 
Lee Bradshaw [EMAIL PROTECTED] (preferred)
Alantro Communications   [EMAIL PROTECTED]


Newbie: Linux with MS Proxy Server?

1998-08-12 Thread Jorge Sousa
Hi all,

I have Linux (debian) box in a LAN dominated by m$ NT servers. All internet
access its via m$ proxy server.
Is there a way to hook up the linux system to that proxy (TERRA;
ip:192.168.0.4)?

Can you point me to some docs, HOWTOs, examples on how to acomplish this?


Thanks in advance.


Jorge Sousa
Portuguese Youth Institute


Re: new to networking question

1998-08-12 Thread Asher Haig
Shaleh, [EMAIL PROTECTED] on 8/12/98 11:33 PM

>Hi, I just bought a "network in a box" kit: hub, two 10/100 ethernet
>cards, cable.  Could someone please point me to FAQs, HOWTOs etc. for
>getting machines connected and using one box w/ ppp so all have net
>access.  Also it is a sohoware kit, has anyone had good/bad/indifferent
>luck w/ their hardware.  I can still take it back.
>
>Thanks, I am still getting accustomed to Linux networking.  Never set oe
>up from scratch by myself.  (Which is why I am doing it).

Install all the cards and such, compile the modules, get ethernet working 
on all the machines. Then set up ppp on one machine. Compile IPMASQ and 
IPForwarding support in modules or in the kernel. Set up forwarding rules 
for each internal ip, such as: 

ipfwadm -F -a m -S 10.0.0.2/32 -D 0.0.0.0/0
ipfwadm -F -a m -S 10.0.0.3/32 -D 0.0.0.0/0
ipfwadm -F -p deny

I put them in a file, such as /usr/bin/startipmasq. (This is on the ppp 
machine).
Set up networking on the other machines (/etc/init.d/network) so that it 
uses the ppp machine as a gateway. 10.0.0.* and 192.168.1.* both work as 
internal-only IP ranges.

You may also want to get midentd which allows you to set up ident to work 
through ipmasq.


   ==
   | Asher Haig[EMAIL PROTECTED] |
   | Pager/Voice Mail  (972) 328-9247 |
   ==
"It was like a visit by Don Carleone. I expected to 
find a bloody computer monitor in my bed the next day."
-- Mark Andreessen regarding the visit from Microsoft.


Re: nasty...

1998-08-12 Thread David Wright
On Thu, 13 Aug 1998, Hamish Moffatt wrote:

> On Wed, Aug 12, 1998 at 04:12:45PM +0200, [EMAIL PROTECTED] wrote:
> > On Tue, 11 Aug 1998, Hamish Moffatt wrote:
> > 
> > > I just removed some of the old buzz/rex packages, base, timezone, bdflush.
> > > I did it in dselect, and apt quite happily obliged.
> > 
> > Aargh!  you removed base?  You might be in for some trouble.  Try to
> > run dpkg -i base-files.deb before you reboot.  That will put some of the
> > vital files back I hope.
> 
> It doesn't. base-files does not contain ANY devices. I am a bit surprised
> at how many of the files in the base.tgz file are not owned by any package
> after installation -- I think this is bad. Not even the kernel belongs
> to any package after initial installation.
> 
> > These issues have been discussed some months ago (esp. w.r.t. base,) but
> > some people think that it is Supreme Evil to munge with files in
> > /var/lib/dpkg/info (that's what you need to do to get rid of "base"
> > safely.)  IMHO having your system flushed is far worse.  In the case of
> > timezone{,s}, I don't know exactly where the problem lies.  You should
> > file a bugreport.
> 
> Surely SOMETHING could be done to prevent removing base from trashing
> the system. base-files should own the same set of files anyway I should
> think; I can't see why it wouldn't provide the devices.

You're going so far back (buzz) that memory is hazy but IIRC
buzz had base, and base had devices, and if you purged base,
all your devices disappeared.

I think Bruce or some other god put together a posting which showed
exactly what to do. (I think you just deleted some of the lines in
/var/lib/dpkg/info/base.list first.) This was because of the number
of postings from people who wanted to purge base because it was
listed as obsolete (very untidy).

Oh, and the reason base showed at all was because base-files was
introduced (presumably in rex) instead of base. And base-files
*didn't* have device files in base-files.list, probably for that very 
reason, that purging it would remove them! No /dev files now
(bo) appear in *list.

I think that answers all the points raised, except perhaps to say
that it isn't in the spirit of unix/linux to prevent you (as root)
from trashing the system if you really want to.

Cheers,

-- 
Email:  [EMAIL PROTECTED]   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.


Re: new to networking question

1998-08-12 Thread Kennedy Mutio


On Thu, 13 Aug 1998, Shaleh wrote:

> Hi, I just bought a "network in a box" kit: hub, two 10/100 ethernet
> cards, cable.  Could someone please point me to FAQs, HOWTOs etc. for
> getting machines connected and using one box w/ ppp so all have net
> access.  Also it is a sohoware kit, has anyone had good/bad/indifferent
> luck w/ their hardware.  I can still take it back.
> 
> Thanks, I am still getting accustomed to Linux networking.  Never set oe
> up from scratch by myself.  (Which is why I am doing it).
> 
> 
> 
The first thing I would think of is checking www.debian.org if you're
using the debian/gnu distribution. They have a lot of HOWTO's which have
assisted me in the past while setting up networks.
Although I used the HOWTO's there, there were some problems that were not
addressed especially to do with ethercards, so beware of this. You can get
additional info/documentation from searching the web and also posting
problems here.

Ken.
 


Re: new to networking question

1998-08-12 Thread servis
*- Shaleh wrote about "new to networking question"
| Hi, I just bought a "network in a box" kit: hub, two 10/100 ethernet
| cards, cable.  Could someone please point me to FAQs, HOWTOs etc. for
| getting machines connected and using one box w/ ppp so all have net
| access.  Also it is a sohoware kit, has anyone had good/bad/indifferent
| luck w/ their hardware.  I can still take it back.
| 
| Thanks, I am still getting accustomed to Linux networking.  Never set oe
| up from scratch by myself.  (Which is why I am doing it).
| 

Ethenet-HOWTO, IP-Masquerade-mini-HOWTO, net-3-HOWTO, and if any of the
other boxen use windows SMB-HOWTO.

-- 
Brian 
-
"Never criticize anybody until you have walked a mile in their shoes,  
 because by that time you will be a mile away and have their shoes." 
   - unknown  

Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


new to networking question

1998-08-12 Thread Shaleh
Hi, I just bought a "network in a box" kit: hub, two 10/100 ethernet
cards, cable.  Could someone please point me to FAQs, HOWTOs etc. for
getting machines connected and using one box w/ ppp so all have net
access.  Also it is a sohoware kit, has anyone had good/bad/indifferent
luck w/ their hardware.  I can still take it back.

Thanks, I am still getting accustomed to Linux networking.  Never set oe
up from scratch by myself.  (Which is why I am doing it).


Re: xterm problems

1998-08-12 Thread servis
*- Stephen J. Carpenter wrote about "Re: xterm problems"
| On Wed, Aug 12, 1998 at 01:52:22PM +0200, Michael Sicher wrote:
| > hello,
| > 
| > i like debian 2.0 very much but now i have problems with xterm: 
| > 
| > - i am not able to log into some systems using telnet (connection closed
| > by foreign host). 
| > 
| > - on some systems i cannot start vi when logged in via xterm/telnet (no
| > terminal database found - debian 1.3 system) 
| > 
| > - backspace does not work
| > 
| > how it is possible to solve this problems or to use xterm instead of
| > xterm-debian?
| 
| *I dunno how to change it permanatly but...in bash before telnet:
| export TERM="xterm"
| 

Read /usr/doc/xbase/README.Debian for info on how to deal with the term
type differences.


-- 
Brian 
-
"Never criticize anybody until you have walked a mile in their shoes,  
 because by that time you will be a mile away and have their shoes." 
   - unknown  

Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis
-


Re: Windows95 programs and X-Windows

1998-08-12 Thread Shaleh
I no longer use Windows apps.  However the newer the app the less chance
it works.  I hear word 6 is now rather functional.  wabi is win3.x
only.  Never used or seen willows.  No comment on that one.

Wine is good for little apps that make you use windows.  Also for many
games.  Big apps like Office tend to die.  Too much M$ hidden api and
what not.


bo -> hamm, network disappears!

1998-08-12 Thread Pann McCuaig
Yesterday I upgraded two machines from bo to hamm. The first went well,
and the second was fine until I rebooted, then the network disappeared.

Since I had done the whole blinking upgrade across the network and had
therefor shoved several dozen megabytes into the NIC in the hours just
preceding the reboot, I'm skeptical that my network is gone owing to a
hardware failure.

Everything else is working. The machine is the company's mail server,
and it's doing its uucp connections on schedule. And I just dialed in to
get the stuff that's appended to this message.

The only thing that gave an error during the upgrade was parsing
boa.conf. Someone had removed a directory that was specified in that
file. I went in and fixed that up. I don't know if boa is working or not
because the network isn't. I just mention it because that's the only
error of any sort I noticed. The NIC is properly detected at bootup, and
the network is properly configured.

No errors are reported during the boot process. The only errors I found
in logs are samba's nmbd reporting that the network is not reachable.

There are surely still some libc5 packages on the machine, because I
didn't have a non-free tree available at the time of the upgrade. I had
to go through and fix that up manually on the other machine. Perhaps the
network on that machine didn't work until I did that and I just had no
reason to notice it. I'll be doing that soon.

In particular, util-linux gets held back by apt (as a dselect method)
because it wants to replace getty, which is marked essential. I had
to do that manually, and I haven't gotten that far yet on the second
machine. Could that be related?

Any input would be much appreciated.

The following is from a dialup session I just had with the machine in
question. It doesn't help me, but maybe one of you will see something
obvious.

Cheers,
 Pann

[EMAIL PROTECTED] /sbin/ifconfig eth0
eth0  Link encap:Ethernet  HWaddr 00:80:C8:2E:AA:CC  
  inet addr:192.168.1.7  Bcast:192.168.1.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:1617 errors:0 dropped:0 overruns:0 frame:0
  TX packets:271 errors:0 dropped:0 overruns:0 carrier:0
  Collisions:0 
  Interrupt:10 Base address:0x300 

[EMAIL PROTECTED] ping -c1 localhost
PING localhost (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=1.7 ms

--- localhost ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 1.7/1.7/1.7 ms

[EMAIL PROTECTED] ping -c1 dogbert
PING dogbert.lignomat.com (192.168.1.7): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote dogbert.lignomat.com 64 chars, ret=-1

--- dogbert.lignomat.com ping statistics ---
1 packets transmitted, 0 packets received, 100% packet loss

[EMAIL PROTECTED] ping -c1 dilbert
PING dilbert.lignomat.com (192.168.1.11): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote dilbert.lignomat.com 64 chars, ret=-1

--- dilbert.lignomat.com ping statistics ---
1 packets transmitted, 0 packets received, 100% packet loss

[EMAIL PROTECTED] /sbin/ifconfig eth0
eth0  Link encap:Ethernet  HWaddr 00:80:C8:2E:AA:CC  
  inet addr:192.168.1.7  Bcast:192.168.1.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:1619 errors:0 dropped:0 overruns:0 frame:0
  TX packets:271 errors:0 dropped:0 overruns:0 carrier:0
  Collisions:0 
  Interrupt:10 Base address:0x300 


RE: X-Triumph! What now?

1998-08-12 Thread Midgley John
Now I'm glad you asked me that. My best and fastest route to the
Internet is
through NT RAS at work. (I'm playing with Linux at home on my own time,
at the
moment!). At the moment, in W95, I RAS in, authenticate, the server
dials me back,
and bingo - a fairly peppy connection to the Internet. Can Linux handle
being dialed
back? I could disable dialback, but hey, I'd have to pay the phone bill!

Alternate1, as it were, is Compuserve. Lets not even consider that.

>From my initial glance at the subject, it looks like there could be more
to the
statement 'set up the ppp package' than meets the eye!

Regards
John Midgley

(Will Lowe very reasonably said:)

> Why don't you set up the ppp package and then let dselect download the
>packages for you?
>
>   Will
>
>
>--
>| [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]   |
>|  http://www.cis.udel.edu/~lowe/   |
>|PGP Public Key:  http://www.cis.udel.edu/~lowe/index.html#pgpkey|
>--
>|And if you on tight to what you think is your thing |
>|you may find you're missing all the rest ...|
>|   - Dave Matthews,  "Best of What's Around"   |
>--
>


Re: Which scanner with Debian 2.0?

1998-08-12 Thread Jens Ritter
Morgan Collett <[EMAIL PROTECTED]> writes:

> I want to set up a graphic design workstation under Linux, running the
> Gimp. I want to use a graphics tablet, and a flatbed scanner.
> 
> Can anyone recommend a scanner? Should it be SCSI or can parallel port
> scanners work?
> (Can anyone recommend what NOT to get?)

See the SANE pages: 

http://www.mostang.com/sane/sane-backends.html

In general an own SCSI Card is better with most scanners.
E.g. my Mustek SCSI Scanner shipped with a rather simple card with no
interrupt. If I use this card, the load will increase to >6 when I
scan. 

On parallel port scanners I am not able to give valuable comments.

HTH,

Jens


---
[EMAIL PROTECTED]   [EMAIL PROTECTED]
KeyID: 2048/E451C639 1998/01/28
Print: 5F 3D 43 1E 24 1E CC 48  1E 05 93 3A A7 10 73 37
  Hiermit untersage ich die Nutzung und Uebermittlung meiner Daten zu
  Werbezwecken oder fuer die Markt- bzw. Meinungsforschung gemaess
  Par. 28 Abs. 3 Bundesdatenschutzgesetz.


RE: X-Triumph! What now?

1998-08-12 Thread Will Lowe
> Ah, thanks.
Welcome.

> this, now you need that!', but that means (at the moment) that I have to
> down Linux, restart the system, boot '95, log on to ISP, blah-de-blah.
 Why don't you set up the ppp package and then let dselect download the
packages for you?

Will


--
| [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]   |
|   http://www.cis.udel.edu/~lowe/   |
|PGP Public Key:  http://www.cis.udel.edu/~lowe/index.html#pgpkey|
--
|And if you on tight to what you think is your thing |
|you may find you're missing all the rest ...|
|- Dave Matthews,  "Best of What's Around"   |
--


host does not resolve names to addresses anymore

1998-08-12 Thread Robert J. Alexander
I wish to follow my previous append on name resolution problems.
I think I have simplified the issue a lot. This is the current
situation.
Holding my breath until somebody saves me 8-> .
TIA
-- 
Robert J. Alexander <[EMAIL PROTECTED]>
AIX Certified System Administrator - Debian Linux addict - Win.\* victim
Via Sciangai, 53 - 00144 Rome, ItalyI am going crazy on a name resolution problem.
Dunno exactly what I goofed ...
My host command does not resolve names (name to address) anymore ... keeps 
resolving reverse (address to name).
Building info offline and sending all data I can think of in hope some superior 
being will help me understand ...
Thank you in advance. Bob Alexander <[EMAIL PROTECTED]>

I am running a disconnected machine with a Debian slink linux with a 2.0.34 
kernel.


[EMAIL PROTECTED] >hostname
localhost


[EMAIL PROTECTED] >cat /etc/hosts
127.0.0.1   localhost   loopback
9.87.2.151  pan pan.ncrome.romesc.italy.ibm.com


[EMAIL PROTECTED] >host 127.0.0.1
Name: localhost
Address: 127.0.0.1
Aliases: loopback


[EMAIL PROTECTED] >host 9.87.2.151
Name: pan
Address: 9.87.2.151
Aliases: pan.ncrome.romesc.italy.ibm.com


[EMAIL PROTECTED] >host localhost
Nameserver not running
localhost A record not found, try again


[EMAIL PROTECTED] >host pan
Nameserver not running
pan A record not found, try again


[EMAIL PROTECTED] >host pan.ncrome.romesc.italy.ibm.com
Nameserver not running
pan.ncrome.romesc.italy.ibm.com A record not found, try again


/etc/resolv.conf -> I removed it ... even tried a len 0 ...


[EMAIL PROTECTED] >cat /etc/nsswitch.conf
hosts:  files dns

passwd: db files
group:  db files
shadow: db files

networks:   files

protocols:  db files
services:   db files
ethers: db files
rpc:db files

netgroup:   db files


[EMAIL PROTECTED] >cat /etc/host.conf
order hosts,bind
multi on


each time I do a failing query such as "host pan" in /var/log/syslog I see
appearing lines such as the following:
Aug 12 16:32:24 localhost icmplogd: destination unreachable from localhost 
[127.0.0.1]

but of course a ping to my loopback succeeds:
PING 127.0.0.1 (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=1.7 ms
--- 127.0.0.1 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 1.7/1.7/1.7 ms

and my ifconfig command returns:
loLink encap:Local Loopback  
  inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
  UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
  RX packets:96 errors:0 dropped:0 overruns:0 frame:0
  TX packets:96 errors:0 dropped:0 overruns:0 carrier:0
  Collisions:0 

iptraf, upon giving a "host localhost" command type gives this info:
UDP  from 127.0.0.1:1076 to 127.0.0.1:domain on lo   
UDP  from 127.0.0.1:1076 to 127.0.0.1:domain on lo  
ICMP dest unreach (port) from 127.0.0.1 to 127.0.0.1 on lo  
ICMP dest unreach (port) from 127.0.0.1 to 127.0.0.1 on lo 

Played with the /etc/hosts.allow and deny ... nothing changed.


On Debian the host command is coming from the dnsutils package:
[EMAIL PROTECTED] >dpkg -s dnsutils
Package: dnsutils
Status: install ok installed
Priority: standard
Section: net
Installed-Size: 482
Maintainer: Bdale Garbee <[EMAIL PROTECTED]>
Source: bind
Version: 1:8.1.2-2
Conflicts: netstd (<< 2.00)
Description: Utilities for querying the DNS
This package includes the "nslookup", "dig", and "host" programs
for querying information from the Domain Name System (DNS).  It
also includes several short aliases (mx, ns, soa, zone, )
for querying specific information.


[EMAIL PROTECTED] > dpkg -s libc6
Package: libc6
Status: install ok installed
Priority: required
Section: base
Installed-Size: 1505
Maintainer: Dale Scheetz <[EMAIL PROTECTED]>
Sou

Help with Emacs instalation

1998-08-12 Thread Alfonso Balcells
Hello!

We are installing emacs-20.2 with a i586-ibm-sco configuration on a SCO
Unix version 3.2.4 system without X Mode using  the GNU-gcc (we want to
run it in a character mode terminal) 
Gnu-gcc is configured to use the linker and assembler tools of SCO Unix.

And we have the following problems...
 
Archive systty.h included in line 43 of emacs.c makes a : field 'main'
has incomplete type error at line 356 . Variable ' main ' defined in
systty.h is also used in keyboard.c and process.c . Our solution was to
comment line 356 of systty.h and all of the lines using 'main' in
archives emacs.c ,keyboard.c and process.c .Doing this it goes on
compiling but later we get erros like :
ld: Symbol stat in fileio.o is multiply defined. First defined in
sysdep.o
ld: Symbol fstat in fileio.o is multiply defined. First defined in
sysdep.o 
 Who could we solve this troubles?
 
Thank you in advance, A. Balcells !
  _  





Re: Debian full bootable backup. Howto ?

1998-08-12 Thread Robert J. Alexander
Stephen J. Carpenter wrote:
> 
> On Wed, Aug 12, 1998 at 09:49:23AM +0200, Robert J. Alexander wrote:
> > What would be the smartest approach to have a full bootable backup of a
> > Debian customized system ?
> >
> > As backup media I could use : 4mm SCSI tape, SCSI CD-R, vfat parition on
> > other disk, the network.
> >
> > On AIX there a mksysb command which produces a bootable tape backup of
> > the whole system (the rootvg volume group to be picky).
> > Once I have a system which is up and running, correctly configured, I
> > ususally make a mksysb and in case of a disk failure I only need to
> > place the mksysb in the tape drive, boot from it and voila my system is
> > fully restored and alive again.
> 
> Well...AFIAK you can't really tape boot on most machines with Linux.
> Here is how I backup.
> I have a tape drive st0 and nst0
> I just
> tar clvf /dev/st0 /
> (NB: everything is on 1 partition...any mount point on its own partition
> must be listed explicitly with the l option...ie if /usr is on /dev/hda2
> then tar clvf /dev/st0 / /usr )
> 
> then to restore...I get "Tom's Unix on fa Floppy"
> I have  pasted in the lsm for it below after my signature
> 
> anyway...I give it a command line option at the lilo prompt
> so it detects my SCSI card..then
> {do what I need to gat my system read and mount what WILL BE
> / on next reboot on /mnt)
> cd /mnt
> cpio -i < /dev/st0
> cd etc
> lilo -C lilo.conf
> cd /
> umount /mnt
> restart
> 
> /* -- Stephen Carpenter <[EMAIL PROTECTED]> --- <[EMAIL 
> PROTECTED]> */
> E-mail "Bumper Stickers":
> "A FREE America or a Drug-Free America: You can't have both!"
> "honk if you Love Linux"
> 
> --tomsrtbt lsm--
> Title:  tomsrtbt
> Version:1.4.68
> Entered-date:   11JUN98
> Description:"The most Linux on one floppy."  (distribution or panic disk).
> 1722MB boot/root rescue disk with a lot of hardware and tools.
> Supports ide, scsi, tape, network adaptors, PCMCIA, much more.
> About 100 utility programs and tools for fixing and restoring.
> See 'ReadMe-Features' for the list of what's included.  Not a
> script, just the diskette image packed up chock full of stuff.
> Also good as learn-unix-on-a-floppy as it has mostly what you
> expect- vi, emacs, awk, sed, sh, manpages- loaded on ramdisks.
> Keywords:   rescue, recovery, emergency, floppy, panic, bootdisk, tomsrtbt
> Author: [EMAIL PROTECTED] (Tom Oehser)
> Maintained-by:  [EMAIL PROTECTED] (Tom Oehser)
> Primary-site:   sunsite.unc.edu /pub/Linux/system/recovery
> 1722 kB tomsrtbt-1.4.68.tar.gz
> 1 kB tomsrtbt-1.4.68.lsm
> Alternate-site: http://www.toms.net/~toehser/rb/
> 1722 kB tomsrtbt-current.tar.gz
> Copying-policy: GPL
> 
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
Sounds great ... will give it a try. Thank you.
-- 
Robert J. Alexander <[EMAIL PROTECTED]>
AIX Certified System Administrator - Debian Linux addict - Win.\* victim
Via Sciangai, 53 - 00144 Rome, Italy


Re: xdm starts local server

1998-08-12 Thread Stephen J. Carpenter
On Thu, Aug 13, 1998 at 12:50:47AM +1000, Hamish Moffatt wrote:
> On Wed, Aug 12, 1998 at 03:20:30PM +0200, [EMAIL PROTECTED] wrote:
> > On Tue, 11 Aug 1998, Hamish Moffatt wrote:
> > > no-run-xconsole
> > > obey-nologin
> > > allow-user-resources
> > > allow-user-modmap
> > > allow-user-xsession
> > > allow-failsafe
> > > start-xdm
> > > no-xdm-start-server
> > > 
> > > However, xdm still starts a local server. Also, if I "startx" as a user,
> 
> > s/^start-xdm/no-start-xdm/ should keep xdm from starting. Look at
> > /etc/init.d/xdm to get an idea why.  The "xdm-start-server" flag is only
> > used by the xbase.postinst script IIRC.
> 
> I want xdm to run, to service remote connections -- I just don't want
> a server on the console by default. I will start one with 'startx'
> or 'X -query localhost' if I need one.

oksimple...
edit /etc/X11/xdm/Xservers
and comment out:
:0 local /usr/X11R6/bin/X

Then xdm will start without starting a local Xserver
(I could have sworn that was in the "Poor Man's XTerminal" Howto-ish Doc
I am in the middle of writting...but its not in there yet...)

-Steve
-- 
/* -- Stephen Carpenter <[EMAIL PROTECTED]> --- <[EMAIL PROTECTED]> 
*/
E-mail "Bumper Stickers":
"A FREE America or a Drug-Free America: You can't have both!"
"honk if you Love Linux"


Re: multiple CDROM installation

1998-08-12 Thread Jens B. Jorgensen
Ok, so it looks like you're using the right driver. Are you sure the kernel 
you're
trying to boot includes the mcdx support? Are you booting the debian rescue 
disk? The
CDROM-HOWTO says 'mcdx=,' so I don't know why you've got that 
long
string below. If you still have windows on the target machine, why not find out 
from
windows what io address and IRQ are being used?

Richard L. Grabbe wrote:

> I am new to LINUX...sorry...
>
> I have searched for 3 days to find detailed instructions
>
> and no docs or faq's went far enough, if at all...
>
> at install I entered mcdx=0x310,9,0x360,11,0x390,10
>
> I have sence edited mcdx.h with the address,irq's
>
> however the document didn't say how to get the header
>
> incorporated into the build...
>
> all three drives are mitsumi(fx001)...
>
> at the present all I have is the first one active...



--
Jens B. Jorgensen
[EMAIL PROTECTED]



Re: is slink stable enough

1998-08-12 Thread Dominik Rothert
On Wed, Aug 12, 1998 at 11:25:24AM +0100,
Mario Filipe wrote ...

> The subject says it all! Is slink stable enough to have apt pointing at it
> instead of hamm?

I've installed a lot of slink packages, i.e. libraries, system tools
like e2fsprogs, and it works. My tip: Install hamm and upgrade 
step by step to slink using apt/dselect.


Regards,

Dominik.

--
Dominik Rothert Debian GNU / Linux
  The Choice of a GNU Generation

E-Mail: [EMAIL PROTECTED]
GPG Fingerprint: 9993 45D6 804F E54F 0B1E  366E 0F95 8235 8269 57C0
PGP Fingerprint: 76 8D 3A CC 83 D8 B0 27  40 F1 D2 C5 A9 3F E9 68


Re: warnings running man?

1998-08-12 Thread Ed Cogburn
Lee Bradshaw wrote:
> 
> I'm having problems with some man pages. The warnings about "bad symlink
> or ROFF `.so' request" sometimes show up when typing "man somecommand".
> Is there a way to get rid of these warnings? Here are some of the
> relevant files and warnings:
> 
> freefall /usr/man/man1 # ls -l gnu*
> lrwxrwxrwx   1 root root   32 Jul 23 01:23 gnuattach.1.gz ->
> /etc/alternatives/gnuattach.1.gz
> -rw-r--r--   1 root root   60 Apr 21 01:50 gnuattach.xemacs20.1.gz
> lrwxrwxrwx   1 root root   32 Jul 23 01:23 gnuclient.1.gz ->
> /etc/alternatives/gnuclient.1.gz
> -rw-r--r--   1 root root   60 Apr 21 01:50 gnuclient.xemacs20.1.gz
> lrwxrwxrwx   1 root root   30 Jul 23 01:23 gnudoit.1.gz ->
> /etc/alternatives/gnudoit.1.gz
> -rw-r--r--   1 root root   58 Apr 21 01:50 gnudoit.xemacs20.1.gz
> -rw-r--r--   1 root root 3060 Mar 27 05:04 gnuplot.1.gz
> -rw-r--r--   1 root root 4620 Apr 21 01:50 gnuserv.xemacs20.1.gz
> 
> freefall /usr/man/man1 # mandb -c
> Processing manual pages under /usr/man...
> mandb: warning: /usr/man/man8/mailq.8.gz: whatis parse for mailq(8) failed
> mandb: warning: /usr/man/man8/sendmail.8.gz: whatis parse for sendmail(8)
> failed
> mandb: warning: /usr/man/man8/runq.8.gz: whatis parse for runq(8) failed
> mandb: warning: /usr/man/man8/rmail.8.gz: whatis parse for rmail(8) failed
> mandb: warning: /usr/man/man8/rsmtp.8.gz: whatis parse for rsmtp(8) failed
> mandb: warning: /usr/man/man8/in.smtpd.8.gz: whatis parse for in.smtpd(8)
> failed
> mandb: warning: /usr/man/man1/uupath.1.gz: whatis parse for uupath(1) failed
> mandb: can't open /usr/man/man1/gnuserv.1: No such file or directory
> mandb: warning: /usr/man/man1/gnuclient.xemacs20.1.gz: bad symlink or ROFF
> `.so' request
> mandb: can't open /usr/man/man1/gnuserv.1: No such file or directory
> mandb: warning: /usr/man/man1/gnuattach.xemacs20.1.gz: bad symlink or ROFF
> `.so' request
> mandb: can't open /usr/man/man1/gnuserv.1: No such file or directory
> mandb: warning: /usr/man/man1/gnuclient.1.gz: bad symlink or ROFF `.so'
> request
> mandb: can't open /usr/man/man1/gnuserv.1: No such file or directory
> mandb: warning: /usr/man/man1/gnuattach.1.gz: bad symlink or ROFF `.so'
> request
> mandb: can't open /usr/man/man1/gnuserv.1: No such file or directory
> mandb: warning: /usr/man/man1/gnudoit.1.gz: bad symlink or ROFF `.so' request
> mandb: warning: /usr/man/man1/pstogif.xemacs20.1.gz is a dangling symlink
> mandb: can't open /usr/man/man1/pstogif.1: No such file or directory
> mandb: warning: /usr/man/man1/pstogif.1.gz: bad symlink or ROFF `.so' request
> mandb: can't open /usr/man/man1/gnuserv.1: No such file or directory
> mandb: warning: /usr/man/man1/gnudoit.xemacs20.1.gz: bad symlink or ROFF `.so'
> request
> mandb: warning: /usr/man/man7/pgp-intro.7.gz: whatis parse for pgp-intro(7)
> failed
> mandb: warning: /usr/man/man7/pgp-integration.7.gz: whatis parse for
> pgp-integration(7) failed
> Checking for stray cats under /usr/man...
> Checking for stray cats under /var/catman...
> Processing manual pages under /usr/local/man...
> mandb: warning: /usr/local/man/man7/pgp-integration.7: whatis parse for
> pgp-integration(7) failed
> mandb: warning: /usr/local/man/man7/pgp-intro.7: whatis parse for pgp-intro(7)
> failed
> Checking for stray cats under /usr/local/man...
> Checking for stray cats under /var/catman/local...
> Processing manual pages under /usr/X11R6/man...
> Checking for stray cats under /usr/X11R6/man...
> Checking for stray cats under /var/catman/X11R6...
> 23 man subdirectories contained newer manual pages.
> 2920 manual pages and 0 stray cats were added.
> freefall /usr/man/man1 #
> 
> --
> Lee Bradshaw [EMAIL PROTECTED] (preferred)
> Alantro Communications   [EMAIL PROTECTED]
> 


I have been getting these same errors for quite some time.  It involves
symlinks to and from the /etc/alternatives dir.  I've never been quite
sure what the problem is, so I don't know which package is at fault for
this, but something needs a bug report filed against it for this.


-- 
Ed C.


RE: X-Triumph! What now?

1998-08-12 Thread Midgley John
Ah, thanks.

I wonder if there's a general answer to the next question this poses -
how do I
know which components I need? dselect is very good at saying 'Ah, you
need
this, now you need that!', but that means (at the moment) that I have to
shut
down Linux, restart the system, boot '95, log on to ISP, blah-de-blah.
All very
time consuming.

The ftp.wherever/this/that/X11 directory lists
fvwm-common_2.0.46-BETA-3.deb,
fvwm2_2.0.46-BETA-3.deb, and three others with fvwm in the title. There
are
similar numbers of wmaker*.* files.

How? Which?

Thanks (again)

John Midgley


(Will Lowe said:)
>You need a window manager.  Try fvwm or WindowMaker.
>> 
>
>
>   Will
>
>
>--
>| [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]   |
>|  http://www.cis.udel.edu/~lowe/   |
>|PGP Public Key:  http://www.cis.udel.edu/~lowe/index.html#pgpkey|
>--
>|And if you on tight to what you think is your thing |
>|you may find you're missing all the rest ...|
>|   - Dave Matthews,  "Best of What's Around"   |
>--
>


Re: xdm starts local server

1998-08-12 Thread Hamish Moffatt
On Wed, Aug 12, 1998 at 03:20:30PM +0200, [EMAIL PROTECTED] wrote:
> On Tue, 11 Aug 1998, Hamish Moffatt wrote:
> > no-run-xconsole
> > obey-nologin
> > allow-user-resources
> > allow-user-modmap
> > allow-user-xsession
> > allow-failsafe
> > start-xdm
> > no-xdm-start-server
> > 
> > However, xdm still starts a local server. Also, if I "startx" as a user,

> s/^start-xdm/no-start-xdm/ should keep xdm from starting. Look at
> /etc/init.d/xdm to get an idea why.  The "xdm-start-server" flag is only
> used by the xbase.postinst script IIRC.

I want xdm to run, to service remote connections -- I just don't want
a server on the console by default. I will start one with 'startx'
or 'X -query localhost' if I need one.

> Why you get different behaviour from xdm and start might be explained by
> this:  There's a script /etc/X11/Xsession that claims to be run by both
> xdm and xinit (to which startx is a wrapper.)  The script seems to look
> for ~/.xsession only though.  Maybe it isn't run after all from xinit on
> Debian systems.  That means that the comments in the file are misleading. 

I don't actually have either ~/.xsession or ~/.xinitrc, which is why I find
this all the more strange.


thanks,
Hamish
-- 
Hamish Moffatt, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome.   http://hamish.home.ml.org


Re: Xwrapper & Netscape problems

1998-08-12 Thread Lee Bradshaw
On Tue, Aug 11, 1998 at 07:25:43PM -0700, Jeremiah Cornelius wrote:
> Still no Xwrapper...

There is no file named Xwrapper. I think you're trying to do something the
RedHat way and not the Debian way. In this case it doesn't matter which is
better or worse, but you can't use distribution specific methods of doing
things on other distributions. See Brian's description below.

On Tue, Aug 11, 1998 at 04:00:09PM -0500, [EMAIL PROTECTED] wrote:
> The binary /usr/bin/X11/X is a wrapper built by the debian team.  It
> executes the X server, in my case XF86_S3, suid root and then returns
> to user space.  This executable looks at the file /etc/X11/Xserver to
> determine who can run X.  Look at that file and change accordingly.
> 
> % less /etc/X11/Xserver
> /usr/bin/X11/XF86_S3
> Console
> 
> The first line in this file is the full pathname of the default X server.
> The second line shows who is allowed to run the X server:
> RootOnly
> Console  (anyone whose controlling tty is on the console)
> Anybody
> 
> -- 
> Brian 

-- 
Lee Bradshaw [EMAIL PROTECTED] (preferred)
Alantro Communications   [EMAIL PROTECTED]


Re: is slink stable enough

1998-08-12 Thread Ed Cogburn
Mario Filipe wrote:
> 
> Hi
> 
> The subject says it all! Is slink stable enough to have apt pointing at it
> instead of hamm?
> 
> Thanks!
> Mario Filipe
> [EMAIL PROTECTED]
> ->  http://neptuno.sc.uevora.pt/~mjnf | Agora bilingue (PT e EN)
> ->  Now bilingual (PT and EN)
> 
> --


I have apt pointed to both hamm+slink, and have had very few problems. 
There was a minor problem awhile back with X, but corrected packages for
it showed up less than 48 hours later in slink.


-- 
Ed C.


Re: nasty...

1998-08-12 Thread Hamish Moffatt
On Wed, Aug 12, 1998 at 04:12:45PM +0200, [EMAIL PROTECTED] wrote:
> On Tue, 11 Aug 1998, Hamish Moffatt wrote:
> 
> > I just removed some of the old buzz/rex packages, base, timezone, bdflush.
> > I did it in dselect, and apt quite happily obliged.
> 
> Aargh!  you removed base?  You might be in for some trouble.  Try to
> run dpkg -i base-files.deb before you reboot.  That will put some of the
> vital files back I hope.

It doesn't. base-files does not contain ANY devices. I am a bit surprised
at how many of the files in the base.tgz file are not owned by any package
after installation -- I think this is bad. Not even the kernel belongs
to any package after initial installation.

> These issues have been discussed some months ago (esp. w.r.t. base,) but
> some people think that it is Supreme Evil to munge with files in
> /var/lib/dpkg/info (that's what you need to do to get rid of "base"
> safely.)  IMHO having your system flushed is far worse.  In the case of
> timezone{,s}, I don't know exactly where the problem lies.  You should
> file a bugreport.

Surely SOMETHING could be done to prevent removing base from trashing
the system. base-files should own the same set of files anyway I should
think; I can't see why it wouldn't provide the devices.

Hamish
-- 
Hamish Moffatt, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome.   http://hamish.home.ml.org


Lilo, Dos, and an interesting attempt

1998-08-12 Thread Robert Rati
I'm trying to setup my computer so that I can boot to Win95, Linux, and
Dos (basically for dosemu).  I have the dos partition on a SparQ disk
setup as master on the secondary controller.  When I disconnect my drive
on the primary controller, I can boot to my SparQ just fine.  I setup Lilo
to point to /dev/hdc (which is my SparQ in linux) and installed it.  Upon
trying different variations to make sure mine was right, lilo installed
itself on my drive on the primary controller.  I can boot to all
partitions but DOS.  It tells me "Non-System disk or Disk error" when I
try.  I'm assuming this message is coming from the boot record of my
SparQ, but don't know why.  On the upside, dosemu gives me the same
message when I try to use this partition, so if I fix one, I'll probably
fix both.  Do MS OSes not allow themselves to be booted from a partition
that is not the primary master or something?  Can anyone help me out or
provide any help?  Thanks.


===
[EMAIL PROTECTED] : Role-Player, Babylon 5 fanatic  1998-99
Aka Khyron the Backstabber : ICQ# 2325055
Homepage: www.cs.purdue.edu/homes/ratirh 

"Happiness comes in short spurts.  Don't be fooled."
===


warnings running man?

1998-08-12 Thread Lee Bradshaw
I'm having problems with some man pages. The warnings about "bad symlink
or ROFF `.so' request" sometimes show up when typing "man somecommand".
Is there a way to get rid of these warnings? Here are some of the
relevant files and warnings:

freefall /usr/man/man1 # ls -l gnu*
lrwxrwxrwx   1 root root   32 Jul 23 01:23 gnuattach.1.gz ->
/etc/alternatives/gnuattach.1.gz
-rw-r--r--   1 root root   60 Apr 21 01:50 gnuattach.xemacs20.1.gz
lrwxrwxrwx   1 root root   32 Jul 23 01:23 gnuclient.1.gz ->
/etc/alternatives/gnuclient.1.gz
-rw-r--r--   1 root root   60 Apr 21 01:50 gnuclient.xemacs20.1.gz
lrwxrwxrwx   1 root root   30 Jul 23 01:23 gnudoit.1.gz ->
/etc/alternatives/gnudoit.1.gz
-rw-r--r--   1 root root   58 Apr 21 01:50 gnudoit.xemacs20.1.gz
-rw-r--r--   1 root root 3060 Mar 27 05:04 gnuplot.1.gz
-rw-r--r--   1 root root 4620 Apr 21 01:50 gnuserv.xemacs20.1.gz

freefall /usr/man/man1 # mandb -c
Processing manual pages under /usr/man...
mandb: warning: /usr/man/man8/mailq.8.gz: whatis parse for mailq(8) failed
mandb: warning: /usr/man/man8/sendmail.8.gz: whatis parse for sendmail(8)
failed
mandb: warning: /usr/man/man8/runq.8.gz: whatis parse for runq(8) failed
mandb: warning: /usr/man/man8/rmail.8.gz: whatis parse for rmail(8) failed
mandb: warning: /usr/man/man8/rsmtp.8.gz: whatis parse for rsmtp(8) failed
mandb: warning: /usr/man/man8/in.smtpd.8.gz: whatis parse for in.smtpd(8)
failed
mandb: warning: /usr/man/man1/uupath.1.gz: whatis parse for uupath(1) failed
mandb: can't open /usr/man/man1/gnuserv.1: No such file or directory
mandb: warning: /usr/man/man1/gnuclient.xemacs20.1.gz: bad symlink or ROFF
`.so' request
mandb: can't open /usr/man/man1/gnuserv.1: No such file or directory
mandb: warning: /usr/man/man1/gnuattach.xemacs20.1.gz: bad symlink or ROFF
`.so' request
mandb: can't open /usr/man/man1/gnuserv.1: No such file or directory
mandb: warning: /usr/man/man1/gnuclient.1.gz: bad symlink or ROFF `.so'
request
mandb: can't open /usr/man/man1/gnuserv.1: No such file or directory
mandb: warning: /usr/man/man1/gnuattach.1.gz: bad symlink or ROFF `.so'
request
mandb: can't open /usr/man/man1/gnuserv.1: No such file or directory
mandb: warning: /usr/man/man1/gnudoit.1.gz: bad symlink or ROFF `.so' request
mandb: warning: /usr/man/man1/pstogif.xemacs20.1.gz is a dangling symlink
mandb: can't open /usr/man/man1/pstogif.1: No such file or directory
mandb: warning: /usr/man/man1/pstogif.1.gz: bad symlink or ROFF `.so' request
mandb: can't open /usr/man/man1/gnuserv.1: No such file or directory
mandb: warning: /usr/man/man1/gnudoit.xemacs20.1.gz: bad symlink or ROFF `.so'
request
mandb: warning: /usr/man/man7/pgp-intro.7.gz: whatis parse for pgp-intro(7)
failed
mandb: warning: /usr/man/man7/pgp-integration.7.gz: whatis parse for
pgp-integration(7) failed
Checking for stray cats under /usr/man...
Checking for stray cats under /var/catman...
Processing manual pages under /usr/local/man...
mandb: warning: /usr/local/man/man7/pgp-integration.7: whatis parse for
pgp-integration(7) failed
mandb: warning: /usr/local/man/man7/pgp-intro.7: whatis parse for pgp-intro(7)
failed
Checking for stray cats under /usr/local/man...
Checking for stray cats under /var/catman/local...
Processing manual pages under /usr/X11R6/man...
Checking for stray cats under /usr/X11R6/man...
Checking for stray cats under /var/catman/X11R6...
23 man subdirectories contained newer manual pages.
2920 manual pages and 0 stray cats were added.
freefall /usr/man/man1 # 


-- 
Lee Bradshaw [EMAIL PROTECTED] (preferred)
Alantro Communications   [EMAIL PROTECTED]


Re: moving partition boundries???

1998-08-12 Thread Ed Cogburn
Richard E. Hawkins Esq. wrote:
> 
> I thought I saw an option for this in fdisk along the way, but now i can't
> find it.  Now that I've moved about 40 floppies over by hand (no network
> card), I've found that if I set up a hibernation file in dos, the hardware
> will automatically use it.  So I'd like to peel back the end of my
> / partition by 20mb . . . Is there any way to do this, or am I stuck
> with a complete reinstall if i want this?
> 
> rick
> 


I'm afraid you are stuck.  I think somebody said the commercial app
Partition Magic can do this, but I'll bet it can only split DOS/Win FAT
type partitions.  There is no prog in the Linux world, that I've heard
of, that can split an ext2 partition.


-- 
Ed C.


Re: starting ppp on host end

1998-08-12 Thread Jens B. Jorgensen
Richard E. Hawkins Esq. wrote:

> jens wrote,
> > Richard E. Hawkins Esq. wrote:
>
> > > huh?  This is an 8 bit clean connection.  so how to i test it myself to
> > > have something to show the telecommunications folks?  Or could my modem
> > > be sending 7 bits?  It's a compaq pcmia modem in an ibm thinkpad.
>
> > > any help would be appreciated.
>
> > Most likely the problem is simply that ppp hasn't started--the shell
> > is probably just
> > echoing back the LCP config requests. Try going through the chat
> >procedure by hand and see if you get PPP packets after you
> >ultimately login to the Linux box.
>
> oh :)  I thought that the script started it at the other end :)

Not unless you made it!

> OK, for the really dumb question:  how do I start ppp on the other end on a
> debian box?  it seems to be with pppd to start the daemon, but I'm having
> trouble figuring out the man & doc pages.

Actually I recommend using mgetty. mgetty is capable of "auto sensing" ppp when
it picks up the line so you don't even have to log in and start ppp, your
script simply waits for connect and then you authenticate using PAP or CHAP. If
you like you can have pppd use the regular user/password database to
authenticate you. Having installed mgetty and made the necessary changes to
/etc/inittab you can put this line in /etc/mgetty/login.config (my email client
might wrap the line but it's supposed to be a single line):

/AutoPPP/ - -   /usr/sbin/pppd proxyarp auth -chap +pap login modem
crtscts 192.168.1.1:192.168.1.127

> I've figured out to insert
> the ppp & shlc modules on the host, but I'm not clear on what else to do.

You shouldn't need to insert these modules if you have modules auto loaded.

> When I type pppd when logged in manually, I just get a bunch of nonsense
> characters.

That's just what you should see.

--
Jens B. Jorgensen
[EMAIL PROTECTED]



Re: RCS & CVS

1998-08-12 Thread joost


On 12 Aug 1998, Deniz Dogan wrote:

> Currently I`m using RCS with single files (some configuration
> files). And I need CVS to access to a CVS server. Can I purge RCS and
> install CVS and use instead of RCS? Or, do I have to use both of them
> to work with the files under RCS?

In this case, you can both have your pie and eat it.  Just go ahead and
install cvs and still keep rcs.

Cheers,


Joost


Re: Silly Question... VERY simple :)

1998-08-12 Thread Havoc Pennington

On Wed, 12 Aug 1998, M.C. Vernon wrote:
>
> Hmm. I prefer Schildt's C the complete reference.
>

Haven't tried it myself, but on comp.lang.c.moderated they are always
calling him "Shit" and generally degrading the guy. So I was discouraged
from doing so. ;-) 

K&R is a very concise if occasionally not-so-thorough reference. C is a
fairly small and simple language. 
 
> Is there any compiler-specific documentation (esp wrt to graphics and
> low-level hardware/system stuff)?
> 

There is documentation on gcc/egcs, yes, 'info gcc' should pull it up.
Graphics and hardware would mostly be a kernel or X issue, not the
compiler. You could look at the kernel console code and some X server
code, and the specs for the hardware you want to program.

Havoc Pennington  http://pobox.com/~hp


Re: Nuking damned scrambled consoles.

1998-08-12 Thread Ronn Pimentel
On Tue, Aug 11, 1998 at 12:23:22PM -0700, Christopher Barry wrote:
> Hi,
> 
> Every now and then I do a little goof-up that scrambles a virtual
> console and I'm sure we all do sometimes but lately I've been doing a
> little programming and if I accidentally gib a string argument then it
> corrupts the console every single time so I quickly run out of all 6
> consoles and am forced to reboot.
> 

The way that I get ride of a scrambled console.
1.  Try typing "reset"
2.  Try typing "clear"
3.  Try running "top" This always seems to work.  don't know why but it
does.

.ronn


-- 

[EMAIL PROTECTED]
 and in your eyes i see a million candles burning bright.


Re: nasty...

1998-08-12 Thread David Wright
On Tue, 11 Aug 1998, Christopher Barry wrote:

> Yes, but it won't create past /dev/sd15. The last time I installed
> Debian I had put 16 partitions on my brand new 9.1GB SCSI disk and then
> found I only had sda devices numbered up to 15. I read the manpage for
> /dev/MAKEDEV and found it pretty useless as well for this problem. They
> really should tell you how to do things like this, or at least have a
> more intuitive way (i.e. /dev/MAKEDEV /dev/sda16). Heh heh, some very
> interesting things happen when you try cp on a disk device (after trying
> everything else I tried copying sda15 to sda16 thinking it would just
> copy the tiny little file... very strange what starts to happen).
> 
> Fortunately though it's not life-or-death that I have 16 partitions so I
> was able to just cfdisk 1 away and move on.

It may help clear things up if you look at the output from 
ls -l /dev/sda16 /dev/sdb

brw-rw   1 root disk   8,  16 May 28  1997 /dev/sda16
brw-rw   1 root disk   8,  16 May 28  1997 /dev/sdb

Cheers,

-- 
Email:  [EMAIL PROTECTED]   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.


Re: starting ppp on host end

1998-08-12 Thread David Wright
On Tue, 11 Aug 1998, Richard E. Hawkins Esq. wrote:

> jens wrote,
> > Richard E. Hawkins Esq. wrote:
> > > huh?  This is an 8 bit clean connection.  so how to i test it myself to
> > > have something to show the telecommunications folks?  Or could my modem
> > > be sending 7 bits?  It's a compaq pcmia modem in an ibm thinkpad.
> > > any help would be appreciated.
> > Most likely the problem is simply that ppp hasn't started--the shell
> > is probably just
> > echoing back the LCP config requests. Try going through the chat 
> >procedure by hand and see if you get PPP packets after you 
> >ultimately login to the Linux box. 
> oh :)  I thought that the script started it at the other end :)
> OK, for the really dumb question:  how do I start ppp on the other end on a 
> debian box?  it seems to be with pppd to start the daemon, but I'm having
> trouble figuring out the man & doc pages.  I've figured out to insert
> the ppp & shlc modules on the host, but I'm not clear on what else to do. 
> When I type pppd when logged in manually, I just get a bunch of nonsense 
> characters.

I think someone should file a bug report against pppd because it really
ought to be able to distinguish "no data at all" from "no data with top bit 
set", which it doesn't. So the error message only confuses people.

If you're connecting to an ISP, you may have to send "ppp" in response to 
a prompt, but that shouldn't be necessary when dialling into a Debian box 
if you're running mgetty, because of the line that starts
/AutoPPP/ ...
in /etc/mgetty/login.config
As soon as mgetty receives LCP stuff, it starts PPP.

If the "nonsense characters" contain plenitudinous {{{ characters, LCP
stuff is what you're seeing.

Cheers,

-- 
Email:  [EMAIL PROTECTED]   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.


RCS & CVS

1998-08-12 Thread Deniz Dogan
Hi,

Currently I`m using RCS with single files (some configuration
files). And I need CVS to access to a CVS server. Can I purge RCS and
install CVS and use instead of RCS? Or, do I have to use both of them
to work with the files under RCS?

Thanks in advance.

-- 
Deniz Dogan


Re: nasty...

1998-08-12 Thread joost


On Tue, 11 Aug 1998, Hamish Moffatt wrote:

> I just removed some of the old buzz/rex packages, base, timezone, bdflush.
> I did it in dselect, and apt quite happily obliged.

Aargh!  you removed base?  You might be in for some trouble.  Try to
run dpkg -i base-files.deb before you reboot.  That will put some of the
vital files back I hope.

> After that, I had neither timezone NOR timezones installed (don't know why),
> and removing base removed /usr/local (a symlink luckily, I've been bitten
> before), most of /dev, etc. Not nice at all. Surely there is something
> we can do to prevent this? I'm not unannoyed.

These issues have been discussed some months ago (esp. w.r.t. base,) but
some people think that it is Supreme Evil to munge with files in
/var/lib/dpkg/info (that's what you need to do to get rid of "base"
safely.)  IMHO having your system flushed is far worse.  In the case of
timezone{,s}, I don't know exactly where the problem lies.  You should
file a bugreport.

> Also /dev/MAKEDEV has a group `tty', but running "/dev/MAKEDEV tty"
> will only create /dev/tty, and not the rest (tty1..tty8). /dev/MAKEDEV
> will not make /dev/console, and finally MAKEDEV is inconsistent;
> asking for hd will create only hdaN and hdbN (not hdcN or hddN), while
> creating sd will create all the way up to sdp.
> 
> Hamish (about to play russian roulette by rebooting)

Please file bugs on package makedev instead.

Cheers,


Joost


Re: xdm starts local server

1998-08-12 Thread Robert Ramiega
On Wed, Aug 12, 1998 at 03:20:30PM +0200, [EMAIL PROTECTED] wrote:
> 
> Why you get different behaviour from xdm and start might be explained by
> this:  There's a script /etc/X11/Xsession that claims to be run by both
> xdm and xinit (to which startx is a wrapper.)  The script seems to look
> for ~/.xsession only though.  Maybe it isn't run after all from xinit on
> Debian systems.  That means that the comments in the file are misleading. 
 There must be something more than this. Earlier this week i switched to XDM
from startx. Now when i turn off xdm and startx instead i do not have any
window manager running (i'm certain thath i didn't change anything in any of
below mentioned files; almost the only thing that spring to my mind is upgrade
of xbase to latest 2.0 <>) 
> 
> Anyway, the /etc/X11/Xsession script exec's either (and in this order of
> prevalence):
> - ~/.xsession if it exists; 
> - whatever windowmanager is listed first in /etc/X11/windowmanagers if
>   that file exists;
> - twm (which always exists when /etc/X11/Xsession exists.)

-- 
 Robert Ramiega   | [EMAIL PROTECTED]IRC: _Jedi_ | Don't underestimate 
 IT Manager @ PDi | http://plukwa.pdi.net/| the power of Source


Re: Nuking damned scrambled consoles.

1998-08-12 Thread Ed Cogburn
Richard E. Hawkins Esq. wrote:
> 
> > Also, if there are any vim users reading this what does ^x ^s do? I
> > sometimes accidentally type this when I mean to save a file (bad habit
> > from using ae), and this seems to lock up vim pretty hard.
> 
> ^S generally is a command to stopp sending . . . try ^Q if this freezes
> things.
> 
> rick
> 


FWIW.  ^S and ^Q are used on the tty for XON/XOFF processing.  For
those who mentioned that they are often hitting ^S by accident, you can
disable ^S/^Q with the command 'stty -ixon'.


-- 
Ed C.


Re: Recommended SCSI cards

1998-08-12 Thread Lee Bradshaw
I have used NCR SCSI controllers since in 1989 (not in linux then.) I
have a Buslogic flashpoint on my current system. I've had good luck
with all my NCR cards/motherboards and the cards can be very cheap. I
would probably go for a higher end card that had hardware RAID support
or stick with the cheap NCR/Symbios/LSI? (has the LSI purchase gone
through?)

On Mon, Aug 10, 1998 at 05:02:33AM +0930, Mark Mickan wrote:
> I'm going to buy a SCSI card soon, and I'm interested in peoples
> opinions and experiences.
> 
> In particular, I've seen IWill 2935UW cards for a reasonable price,
> Adaptec 2940UW cards for nearly twice the price of the IWill, and
> the cheapest DPT card for a little more than the Adaptec 2940UW.
> I'm open to other suggestions though.
> 
> I'd like to get away with it as cheaply as possible, but I want
> something that will do the job well.  At the moment, that means
> burning CDs, but in the future will include reading hard disks
> and SCSI CD-ROMs and for use with a scanner.
> 
> While I'm on the topic, the Panasonic 8x4x CD burner has been
> recommended as the best by a Windows enthusiast.  If anyone has
> had good or bad experiences with this drive or good experiences
> with others, please let me know.
> 
> TIA,
> Mark
> 
> ---
> Mark Mickan <[EMAIL PROTECTED]>
> PGP fingerprint = A2 B7 E3 18 B7 F5 56 53  A4 5B 53 97 DD F5 C0 31
> 
> 
> --  
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

-- 
Lee Bradshaw [EMAIL PROTECTED] (preferred)
Alantro Communications   [EMAIL PROTECTED]


Re: Silly Question... VERY simple :)

1998-08-12 Thread Gary L. Hennigan
"M.C. Vernon" <[EMAIL PROTECTED]> writes:
| On Tue, 11 Aug 1998, Havoc Pennington wrote:
| 
| > 
| > On Wed, 12 Aug 1998, Michael Beattie wrote:
| > > 
| > > Where is the documentation for C ? i.e. language help?
| > > 
| > > I have a hard time remembering syntax and stuff.. :)
| > > 
| > 
| > You're best off just buying "The C Programming Language" (ANSI edition). 
| > It isn't very expensive and the hardcopy is handy. There may be some free
| > stuff on the web though, try www.infoseek.com.
| > 
| Hmm. I prefer Schildt's C the complete reference.

Don't ever go into comp.lang.c and say that! Most of the regulars in
that group would vehemently argue with you about even looking at
Schildt's book. It has several glaring errors and in a couple of
places doesn't even follow the ANSI standard (namely I understand he
uses "void main" a lot). Shoot, this topic has even garnered a place
in the comp.lang.c FAQ:

Excerpt from comp.lang.c FAQ, answer to question 11.2
The mistitled _Annotated ANSI C Standard_, with annotations by
Herbert Schildt, contains most of the text of ISO 9899; it is
published by Osborne/McGraw-Hill, ISBN 0-07-881952-0, and sells
in the U.S. for approximately $40.  It has been suggested that
the price differential between this work and the official
standard reflects the value of the annotations: they are plagued
by numerous errors and omissions, and a few pages of the
Standard itself are missing.  Many people on the net recommend
ignoring the annotations entirely.  A review of the annotations
("annotated annotations") by Clive Feather can be found on the
web at http://www.lysator.liu.se/c/schildt.html .

| Is there any compiler-specific documentation (esp wrt to graphics and
| low-level hardware/system stuff)?

Sorry, maybe someone else can help you with this. Certainly the man
pages are of great use as references.

Gary


Re: xterm problems

1998-08-12 Thread Stephen J. Carpenter
On Wed, Aug 12, 1998 at 01:52:22PM +0200, Michael Sicher wrote:
> hello,
> 
> i like debian 2.0 very much but now i have problems with xterm: 
> 
> - i am not able to log into some systems using telnet (connection closed
> by foreign host). 
> 
> - on some systems i cannot start vi when logged in via xterm/telnet (no
> terminal database found - debian 1.3 system) 
> 
> - backspace does not work
> 
> how it is possible to solve this problems or to use xterm instead of
> xterm-debian?

*I dunno how to change it permanatly but...in bash before telnet:
export TERM="xterm"

-Steve

-- 
/* -- Stephen Carpenter <[EMAIL PROTECTED]> --- <[EMAIL PROTECTED]> 
*/
E-mail "Bumper Stickers":
"A FREE America or a Drug-Free America: You can't have both!"
"honk if you Love Linux"


Re: Silly Question... VERY simple :)

1998-08-12 Thread David B. Teague
On Tue, 11 Aug 1998, Havoc Pennington wrote:

> On Wed, 12 Aug 1998, Michael Beattie wrote:
> > Where is the documentation for C ? i.e. language help?
> > I have a hard time remembering syntax and stuff.. :)
> 
> You're best off just buying "The C Programming Language" (ANSI edition). 
> It isn't very expensive and the hardcopy is handy. There may be some free
> stuff on the web though, try www.infoseek.com.


Please get the companion  book to K&R ANSI C, namely the  C AnswerBook
by Tondo and Gimpel. It provides annotated solutions to all the problems
in K&R. Worth every cent in my book. 

Look on the publishers web page - they sometimes have useful stuff about
their books there -- sometime erata and source code.

--David
---
   LINUX: the FREE 32 bit OS for [3456]86 PC's available NOW!
David B Teague | Ask me how user interface copyrights & software
[EMAIL PROTECTED] | patents make programing a dangerous business. 




Re: HELP with Sound Card

1998-08-12 Thread Marcus Brinkmann
On Wed, Aug 12, 1998 at 03:33:59PM +0200, [EMAIL PROTECTED] wrote:
> 
> 
> On Wed, 12 Aug 1998, XRDLAB wrote:
> 
> > >Didn't you read the documentation? There is no SB 16 compatible card on the
> > >market. ..
> > >
> > Yes, I read the documentation and it said that some cards might work.
> > That is why I mentioned that the card "claims" to be compatible.
> 
> The compatibility most cards claim is not a strict hardware compatibility,
> but a software API compatibility of the Windows(TM) driver that comes with
> the card, meaning that applications that expect a SB16 type of driver
> will find a driver similar enough.  That's what drivers do: they hide
> complicated lowlevel information from applications, providing only the
> Application Program Interface instead.

This is generally true, but there were indeed some SB compatible 8 bit
Aztech sound cards on the market.

Today the only SB compatible cards are produced by Creative Labs. Under the
name Sound Blaster :)

> You could note the numbers and text on the IC's and do:
> 
>   cd /usr/src/linux(or wherever you keep the kernel source)
>   grep "text fragment" `find drivers/sound -type f`
> 
> Then, when it finds something, look at that file and maybe it'll tell you
> more.  I'm sorry, but this is all I can help you with.

I doubt this would help (although it's worth a try). The sound driver
OSS/Free is completely crap (the sources are ... let's not talk about it).
The only chance are the Readme files in /usr/src/linux/driver/sound/.

Marcus

-- 
"Rhubarb is no Egyptian god."Debian GNU/Linuxfinger brinkmd@ 
Marcus Brinkmann   http://www.debian.orgmaster.debian.org
[EMAIL PROTECTED]for public  PGP Key
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/   PGP Key ID 36E7CD09


Re: printing not working

1998-08-12 Thread Marcus Brinkmann
On Wed, Aug 12, 1998 at 09:43:56PM +0930, Mark Phillips wrote:
> 
> I'm trying to get printing working on a friend's new laptop.  He actually
> had it working on his old laptop.  When we tried printing first up,
> it didn't print, and we got the following error:
> 
> $ lpq
> Printer: [EMAIL PROTECTED]  'Generic dot-matrix printer entry'
>  Queue: 1 printable job
>  Server: pid 6836 active
>  Unspooler: pid 6837 active
>  Status: cannot open '/dev/lp1' - 'Device not configured', attempt 1,

Do you have printer support compiled in the kernel?

does "echo "Here I am" > /dev/lp1" work? If not, recompile your kernel and
activate parallel printer support.

Marcus

-- 
"Rhubarb is no Egyptian god."Debian GNU/Linuxfinger brinkmd@ 
Marcus Brinkmann   http://www.debian.orgmaster.debian.org
[EMAIL PROTECTED]for public  PGP Key
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/   PGP Key ID 36E7CD09


Real Player (was: Re: Star Office)

1998-08-12 Thread David B. Teague
On Tue, 11 Aug 1998 [EMAIL PROTECTED] wrote:

> This is also how other 'commercial' package files work, i.e. netscape,
> realplayer, etc.
  
>From Real Audio?  What package do I down load from Real Audio? 
I got the Red Hat one, but there is another for ELF Linux.

David
---
   LINUX: the FREE 32 bit OS for [3456]86 PC's available NOW!
David B Teague | Ask me how user interface copyrights & software
[EMAIL PROTECTED] | patents make programing a dangerous business. 



Re: X-Triumph! What now?

1998-08-12 Thread Will Lowe
> now have a system that responds when I 'startx'. Only thing is, I just
> see a window that I can type commands in - not a huge advance on what I
> had before!
You need a window manager.  Try fvwm or WindowMaker.
> 


Will


--
| [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]   |
|   http://www.cis.udel.edu/~lowe/   |
|PGP Public Key:  http://www.cis.udel.edu/~lowe/index.html#pgpkey|
--
|And if you on tight to what you think is your thing |
|you may find you're missing all the rest ...|
|- Dave Matthews,  "Best of What's Around"   |
--


Re: HELP with Sound Card

1998-08-12 Thread joost


On Wed, 12 Aug 1998, XRDLAB wrote:

> >Didn't you read the documentation? There is no SB 16 compatible card on the
> >market. ..
> >
> Yes, I read the documentation and it said that some cards might work.
> That is why I mentioned that the card "claims" to be compatible.

The compatibility most cards claim is not a strict hardware compatibility,
but a software API compatibility of the Windows(TM) driver that comes with
the card, meaning that applications that expect a SB16 type of driver
will find a driver similar enough.  That's what drivers do: they hide
complicated lowlevel information from applications, providing only the
Application Program Interface instead.

(Unfortunately, marketing people hide this complicated lowlevel
information from comsumers and instead provide only a Consumer Sales
Interface: "SB16 compatible.")

The Linux kernel however implements such a driver and API itself and looks
directly at the hardware and sees something quite different from a SB16. 

> I am sorry that I cannot give you more info. The cards manual does not
> tell anything much. If it helps I can post the details of the IC's on
> the card.

You could note the numbers and text on the IC's and do:

  cd /usr/src/linux(or wherever you keep the kernel source)
  grep "text fragment" `find drivers/sound -type f`

Then, when it finds something, look at that file and maybe it'll tell you
more.  I'm sorry, but this is all I can help you with.

Cheers,


Joost


X-Triumph! What now?

1998-08-12 Thread Midgley John
A thousand thanks to those who replied to my PS/2 mouse problem. After
following their advice (and only reinstalling a further two times), I
now have a system that responds when I 'startx'. Only thing is, I just
see a window that I can type commands in - not a huge advance on what I
had before!

Obviously I need to be hitting the FTP for more stuff; but what? I guess
there must be graphically-oriented programs that enable me to do
Linux-type things. Where should I start?

Many thanks.

John Midgley


Re: Debian full bootable backup. Howto ?

1998-08-12 Thread Stephen J. Carpenter
On Wed, Aug 12, 1998 at 09:49:23AM +0200, Robert J. Alexander wrote:
> What would be the smartest approach to have a full bootable backup of a
> Debian customized system ?
> 
> As backup media I could use : 4mm SCSI tape, SCSI CD-R, vfat parition on
> other disk, the network.
> 
> On AIX there a mksysb command which produces a bootable tape backup of
> the whole system (the rootvg volume group to be picky).
> Once I have a system which is up and running, correctly configured, I
> ususally make a mksysb and in case of a disk failure I only need to
> place the mksysb in the tape drive, boot from it and voila my system is
> fully restored and alive again.

Well...AFIAK you can't really tape boot on most machines with Linux.
Here is how I backup.
I have a tape drive st0 and nst0
I just 
tar clvf /dev/st0 /
(NB: everything is on 1 partition...any mount point on its own partition
must be listed explicitly with the l option...ie if /usr is on /dev/hda2
then tar clvf /dev/st0 / /usr )

then to restore...I get "Tom's Unix on fa Floppy"
I have  pasted in the lsm for it below after my signature

anyway...I give it a command line option at the lilo prompt
so it detects my SCSI card..then
{do what I need to gat my system read and mount what WILL BE
/ on next reboot on /mnt)
cd /mnt
cpio -i < /dev/st0
cd etc
lilo -C lilo.conf
cd /
umount /mnt
restart

/* -- Stephen Carpenter <[EMAIL PROTECTED]> --- <[EMAIL PROTECTED]> 
*/
E-mail "Bumper Stickers":
"A FREE America or a Drug-Free America: You can't have both!"
"honk if you Love Linux"

--tomsrtbt lsm--
Title:  tomsrtbt
Version:1.4.68
Entered-date:   11JUN98
Description:"The most Linux on one floppy."  (distribution or panic disk).
1722MB boot/root rescue disk with a lot of hardware and tools.
Supports ide, scsi, tape, network adaptors, PCMCIA, much more.
About 100 utility programs and tools for fixing and restoring.
See 'ReadMe-Features' for the list of what's included.  Not a
script, just the diskette image packed up chock full of stuff.
Also good as learn-unix-on-a-floppy as it has mostly what you
expect- vi, emacs, awk, sed, sh, manpages- loaded on ramdisks.
Keywords:   rescue, recovery, emergency, floppy, panic, bootdisk, tomsrtbt
Author: [EMAIL PROTECTED] (Tom Oehser)
Maintained-by:  [EMAIL PROTECTED] (Tom Oehser)
Primary-site:   sunsite.unc.edu /pub/Linux/system/recovery
1722 kB tomsrtbt-1.4.68.tar.gz
1 kB tomsrtbt-1.4.68.lsm
Alternate-site: http://www.toms.net/~toehser/rb/
1722 kB tomsrtbt-current.tar.gz
Copying-policy: GPL


Re: xdm starts local server

1998-08-12 Thread joost


On Tue, 11 Aug 1998, Hamish Moffatt wrote:

> I just upgraded a bo machine to hamm from the official CDs;
> /etc/X11/config says
> 
> # This file contains configuration flags for the X Window System.
> # For a description of the meanings of the flags, see
> # /usr/doc/X11/README.Debian
> 
> no-run-xconsole
> obey-nologin
> allow-user-resources
> allow-user-modmap
> allow-user-xsession
> allow-failsafe
> start-xdm
> no-xdm-start-server
> 
> However, xdm still starts a local server. Also, if I "startx" as a user,
> it doesn't run the window manager (I have no ~/.xsession or ~/.xinitrc),
> although it does if I login through xdm.

s/^start-xdm/no-start-xdm/ should keep xdm from starting. Look at
/etc/init.d/xdm to get an idea why.  The "xdm-start-server" flag is only
used by the xbase.postinst script IIRC.

Why you get different behaviour from xdm and start might be explained by
this:  There's a script /etc/X11/Xsession that claims to be run by both
xdm and xinit (to which startx is a wrapper.)  The script seems to look
for ~/.xsession only though.  Maybe it isn't run after all from xinit on
Debian systems.  That means that the comments in the file are misleading. 

Anyway, the /etc/X11/Xsession script exec's either (and in this order of
prevalence):
- ~/.xsession if it exists; 
- whatever windowmanager is listed first in /etc/X11/windowmanagers if
  that file exists;
- twm (which always exists when /etc/X11/Xsession exists.)

Cheers,


Joost


Re: FIXED -- SMC Ethernet Problem

1998-08-12 Thread D'jinnie
:> When it resets, I can see the link light die on the hub and come back. I
:> have replaced cables, and tried a different port on the hub.
:> 
:> Has anyone else had this problem with this card?
:
:I do not know why, the card just wanted to be in a different PCI slot.

I believe that network cards don't work if they're in a shared slot. 
I do not know if it's OS-related or not - they had this problem
under Netware at my work...

---
"I wouldn't recommend sex, drugs or insanity for everyone, but they've
always worked for me."
-- Hunter S. Thompson

D'jinnie/Jinn, encountered on IRC and select MU**. ([EMAIL PROTECTED])


multiple CDROM installation

1998-08-12 Thread Richard L. Grabbe

I am new to LINUX...sorry...

I have searched for 3 days to find detailed instructions

and no docs or faq's went far enough, if at all...

at install I entered mcdx=0x310,9,0x360,11,0x390,10

I have sence edited mcdx.h with the address,irq's

however the document didn't say how to get the header

incorporated into the build...

all three drives are mitsumi(fx001)...

at the present all I have is the first one active...




E-mail [EMAIL PROTECTED]
Richard Grabbe  812-854-4196
NAV SUR WAR CEN DIV CRANE
Code 6024 Bldg 2940 West
300 Highway 361 : Crane, In 47522


Re: where's the new xfstt

1998-08-12 Thread Stephen J. Carpenter
On Tue, Aug 11, 1998 at 08:51:54PM -0400, Keith wrote:
> Where is the latest xfstt? I have my dselect set to get files from
> dists/slink/main dists/slink/contrib dists/slink/non-free
> dists/stable/main dists/stable/non-free dists/stable/contrib

just checked "my favorite mirror"...
it is indeed in dists/slink/main
xfstt_0.9.9-6

and via apt...works fine
is it really not there? what mirror are you using?
-Steve
-- 
/* -- Stephen Carpenter <[EMAIL PROTECTED]> --- <[EMAIL PROTECTED]> 
*/
E-mail "Bumper Stickers":
"A FREE America or a Drug-Free America: You can't have both!"
"honk if you Love Linux"


Re: Debian full bootable backup. Howto ?

1998-08-12 Thread Jens Ritter
"Robert J. Alexander" <[EMAIL PROTECTED]> writes:

> What would be the smartest approach to have a full bootable backup of a
> Debian customized system ?
> 
> As backup media I could use : 4mm SCSI tape, SCSI CD-R, vfat parition on
> other disk, the network.
> 
> On AIX there a mksysb command which produces a bootable tape backup of
> the whole system (the rootvg volume group to be picky).
> Once I have a system which is up and running, correctly configured, I
> ususally make a mksysb and in case of a disk failure I only need to
> place the mksysb in the tape drive, boot from it and voila my system is
> fully restored and alive again.

AFIAK it is not possible to boot linux from a tape. I would consider
making a boot floppy with a minimal system (drivers, backup programms,
etc.) and restore from the tape or from CD-R. If this works, you can
make bootable CD´s.  

I don´t know if a solution already exists. I would be happy to know if
you find something. 

There are ideas to make a bootable "rescue" CD with all
backupsoftware installed Debian has. (I have it on my ToDo list, but
didn´t reach it yet.)


Jens
---
[EMAIL PROTECTED]   [EMAIL PROTECTED]
KeyID: 2048/E451C639 1998/01/28
Print: 5F 3D 43 1E 24 1E CC 48  1E 05 93 3A A7 10 73 37
  Hiermit untersage ich die Nutzung und Uebermittlung meiner Daten zu
  Werbezwecken oder fuer die Markt- bzw. Meinungsforschung gemaess
  Par. 28 Abs. 3 Bundesdatenschutzgesetz.


Re: xterm problems

1998-08-12 Thread Michael B. Taylor
If you are using X, consider xon instead of telnet.  You will need to
fix up an .rhosts file at the other end so that you can log on without a
password for this to work.

Obviously logging on in this manner has security implications, and you 
should consider them before you implement this.  Using ssh would be a 
better choice, but this probably isnt an option unless the remote machine
has it or you have root priviliges to put it there.

xhost + remotehost; xon remotehost causes the remote host to display an
xterm on your screen, using its own terminal database, avoiding the problems
you describe below.  

Mike  

On Wed, Aug 12, 1998 at 01:52:22PM +0200, Michael Sicher wrote:
> hello,
> 
> i like debian 2.0 very much but now i have problems with xterm: 
> 
> - i am not able to log into some systems using telnet (connection closed
> by foreign host). 
> 
> - on some systems i cannot start vi when logged in via xterm/telnet (no
> terminal database found - debian 1.3 system) 
> 
> - backspace does not work
> 
> how it is possible to solve this problems or to use xterm instead of
> xterm-debian?
> 
> thanks a lot!
> 
> bye,
> michael
> 
> 
> 
> --  
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 


Re: [2] Troubles: x11amp, eplus,

1998-08-12 Thread Jens Ritter
phillip Neumann <[EMAIL PROTECTED]> writes:

> Hi, im still getting troubles with x11amp (and eplus...)
> [i can only play mp3 when booting with the typycal kernel, the one that 
> comes with kernel-image2.0.34.deb...]
>
[it is a PnP SB AWE64]
[au, wav play, no mp3]

Try setting the second DMA to 1 and have a matching entry in the
kernel. This solved the same problem for me (SB 16 vibra PnP).

I now get occasional messages: Wrong or missing 16 bit DMA channel in
the logs, but everything works what I want to do it (so far).

[cat /dev/sndstat]
> Card config: 
> Sound Blaster at 0x260 irq 10 drq 3,7
> (SB MPU-401 irq 1 drq 0)
> OPL-2/OPL-3 FM at 0x388 drq 0

Mine reads:

Card config: 
Sound Blaster at 0x220 irq 5 drq 1,1<--- 
(SB MPU-401 at 0x300 irq 5 drq 0)
OPL-2/OPL-3 FM at 0x388 drq 0

HTH,

Jens


---
[EMAIL PROTECTED]   [EMAIL PROTECTED]
KeyID: 2048/E451C639 1998/01/28
Print: 5F 3D 43 1E 24 1E CC 48  1E 05 93 3A A7 10 73 37
  Hiermit untersage ich die Nutzung und Uebermittlung meiner Daten zu
  Werbezwecken oder fuer die Markt- bzw. Meinungsforschung gemaess
  Par. 28 Abs. 3 Bundesdatenschutzgesetz.


printing not working

1998-08-12 Thread Mark Phillips

I'm trying to get printing working on a friend's new laptop.  He actually
had it working on his old laptop.  When we tried printing first up,
it didn't print, and we got the following error:

$ lpq
Printer: [EMAIL PROTECTED]  'Generic dot-matrix printer entry'
 Queue: 1 printable job
 Server: pid 6836 active
 Unspooler: pid 6837 active
 Status: cannot open '/dev/lp1' - 'Device not configured', attempt 1,
sleeping 10 at 21:36:37
 Rank   Owner/ID   Class Job  Files   Size
Time
active  [EMAIL PROTECTED] A  523 slidemac.tex   2625
18:02:38


I thought the problem was that we hadn't yet set up /etc/printcap
properly.  After copying across the appropriate files from the old laptop
(on which printing worked fine - and it also used Debian), I tried
printing again.  This time I couldn't even get a print job to queue:

$ lpr temp.txt
connection to 'localhost' failed - Connection refused
job 'cfA812genoa.ist.flinders.edu.au' transfer to [EMAIL PROTECTED] failed

$ lpq
Host 'localhost' - cannot open connection to [EMAIL PROTECTED]' - Connection
refused


I even tried running magicfilterconf again (we use magicfilter),
but the file generated had the same problem as just above.


Is there something wrong with /dev/lp1?  Or is something else wrong?

Any help gratefully accepted.

Cheers,

Mark.

__
_\/___\__/___Mark_Phillips___/
\__/_\__/--\__/[EMAIL PROTECTED]/
\__/HE___\__/--APTAIN/   
\__/_\__/--\__/__/  /__"To be is to do."__I. Kant___/
\__/__\__/___/  /__"To do is to be."__A. Sartre_/
/__"I am."God___/
/__Jesus did.___/


Re: Windows95 programs and X-Windows

1998-08-12 Thread David B. Teague

> Rolando Manchado wrote:
> > 
> > Can Windows95 programs run on X-Windows?

On Wed, 12 Aug 1998, Shaleh wrote:
> 
> The easy answer is no.  Different binaries, libraries, Operating Sytems,
> etc.
> 
> HOWEVER there is a project called WINE.  This is a project to allow
> WinOS apps to on X.  It is both an emulator for the binaries and a
> re-write of the M$ libs.  Some things work, many things don't.  Give it
> a shot.  Seems to work best if you install the apps from withing
> Windows, then reboot and run them with WINE.

Can you tell me how much of Office 97 works with WINE? What of Lose 3.1
applications? I hope MS Windows 6, but I suspect that is a forlorn hope. 
It has been a while since I heard anything about WINE.

There is also the Willow project.  Different philosophy from WINE, as I
understand. There may have been changes since I looked (it has been a
while.) I recall that Willow had more success with Lose 95, whereas WINE
works primarily with Lose 3.1.

Non-free WABI may still be available from Caldera for their version of
Linux. It is possible that it works with Debian through Alien. I recall
that it works will with Lose 3.1 Office applications, and others.

Maybe someone else will add to this and perhaps correct my errors.

--David


> 
> --  
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> 

---
   LINUX: the FREE 32 bit OS for [3456]86 PC's available NOW!
David B Teague | Ask me how user interface copyrights & software
[EMAIL PROTECTED] | patents make programing a dangerous business. 

National Security Council nuclear explosion Treasury destabilize Pakistan 
Delta Force atomic bomb India data encryption data  encryption  munitions
counter-intelligence wild porno sex gold bullion Soviet clipper terrorist
hydrazine  ammonium nitrate  fuel oil cocaine assassinate counterfeit spy 




xterm problems

1998-08-12 Thread Michael Sicher
hello,

i like debian 2.0 very much but now i have problems with xterm: 

- i am not able to log into some systems using telnet (connection closed
by foreign host). 

- on some systems i cannot start vi when logged in via xterm/telnet (no
terminal database found - debian 1.3 system) 

- backspace does not work

how it is possible to solve this problems or to use xterm instead of
xterm-debian?

thanks a lot!

bye,
michael



Which scanner with Debian 2.0?

1998-08-12 Thread Morgan Collett
I want to set up a graphic design workstation under Linux, running the
Gimp. I want to use a graphics tablet, and a flatbed scanner.

Can anyone recommend a scanner? Should it be SCSI or can parallel port
scanners work?
(Can anyone recommend what NOT to get?)

Thanks
-- 
Morgan Collett
Thawte Consulting


Re: HELP! Toshiba Satellite Pro 490XCDT

1998-08-12 Thread Mark Phillips


Not quite what you want but these links might be useful:

http://www.suse.de/~rj/english/tosh440CDX.html

http://www.cs.utexas.edu/users/kharker/linux-laptop/

Cheers,

Mark.

__
_\/___\__/___Mark_Phillips___/
\__/_\__/--\__/[EMAIL PROTECTED]/
\__/HE___\__/--APTAIN/   
\__/_\__/--\__/__/  /__"To be is to do."__I. Kant___/
\__/__\__/___/  /__"To do is to be."__A. Sartre_/
/__"I am."God___/
/__Jesus did.___/


Why my name resolution files are not considered anymore ??

1998-08-12 Thread Robert J. Alexander
I know I must be doing something horribly stupid, but plase help me
(and feel free to insult me ;->) ... here attached is the problem I
described offline ...

-- 
Robert J. Alexander <[EMAIL PROTECTED]>
AIX Certified System Administrator - Debian Linux addict - Win.\* victim
Via Sciangai, 53 - 00144 Rome, ItalyI am going crazy on a name resolution problem.
After I fixed sendmail I could not resolve ANYTHING anymore.

Dunno exactly what I goofed ...

I was running a system without bind and resolved the loopback and a few host 
names with the /etc/host file.

Suddendly resolution was broken totally !!! As an attempt I installed bind to 
resolve at least the local address.

I am now  running bind version: 1:8.1.2-2 in a forwarders only mode.

I am not connected to the network where my forwarder is (9.87.2.151) as
my portable is at home (only loopback).

I can resolv localhost and 127.0.0.1 with the following behaviour:

PWD=/home/bob
[EMAIL PROTECTED] > host localhost
localhost   A   127.0.0.1

PWD=/home/bob
[EMAIL PROTECTED] > host 127.0.0.1
Name: localhost
Address: 127.0.0.1
Aliases: deb760xl


PWD=/home/bob
[EMAIL PROTECTED] > host deb760xl
Nameserver not responding
deb760xl A record not found, try again

same behaviour without a resolv.conf or with one containing 127.0.0.1
same behaviour as I try to resolve pan (even if fully qualified)

I have a /etc/hosts file with the following (edited) content:

[EMAIL PROTECTED] > cat /etc/hosts
127.0.0.1   localhost deb760xl
9.87.2.151  pan pan.ncrome.romesc.ibm.com

[EMAIL PROTECTED] > cat /etc/nsswitch.conf
passwd: compat
group:  compat
shadow: compat

hosts:  files dns
networks:   files

protocols:  db files
services:   db files
ethers: db files
rpc:db files

netgroup:   db files

[EMAIL PROTECTED] > cat /etc/host.conf
order hosts,bind
multi on

I even tried changing the nsswitch and host.conf files omitting bind/dns 
altogether ... same thing.

My hostname is now non qualified but before I event tried giving it an 
hostname+domain to no avail.

Of course once I connect to my network all resolution, forward and straight is 
performed flawlessly by my 9.87.2.151 host ...

Any clues ??

Thank you very much in advance. Bob Alexander
PS system is a Debian slink 


?rsh by root?

1998-08-12 Thread rir

I am trying to use rdist to distribute system files from
one Debian host to nine Debian desktop hosts.

How/Where does one set up in.rshd so that root can rsh in as rdist attempts? 

In /etc/inetd.conf, as below?  Or what?

# /etc/inetd.conf:  see inetd(8) for further informations.

#:BSD: Shell, login, exec and talk are BSD protocols.
#shell  stream  tcp nowait  root/usr/sbin/tcpd  
/usr/sbin/in.rshd
shell   stream  tcp nowait  root/usr/sbin/tcpd  
/usr/sbin/in.rshd -h


rob
[EMAIL PROTECTED]


is slink stable enough

1998-08-12 Thread Mario Filipe
Hi

The subject says it all! Is slink stable enough to have apt pointing at it
instead of hamm?

Thanks!
Mario Filipe 
[EMAIL PROTECTED]
->  http://neptuno.sc.uevora.pt/~mjnf | Agora bilingue (PT e EN)
->  Now bilingual (PT and EN)


HELP! Toshiba Satellite Pro 490XCDT

1998-08-12 Thread Chris Evans
Unbelievable!  I get a new job -- great.  I tell them I'll need a 
portable and they say "yes" -- great again.  I go away to sort out 
the spec. I'll need --- and a machine arrives with my name on it 
before I speak to anyone, it's one I was considering and it's very 
high spec. --- potentially great... 
   
 BUT

is it Debian compatible?  I've seen enough of Debian over my 
struggles to install it on an old tower in the last months to know I'm 
hooked and will want to have the portable dual boot w95 (boo, hiss 
but...) and Debian.

Anyone know if a Toshiba Satellite Pro 490XCDT will handle 
Debian.  My sense is that the key issue will be the video or 
perhaps the mouse.  The WWW tells me the video is:
 what follows obtained from Toshiba UK on WWW
  S3 ViRGE/MX chipset
  VGA/SVGA compatible
  2MB VRAM
  PCI Local Bus support
  BitBlock graphics accelerator 

  Display 
  13.3" (30.7cm) diagonal display size
  1024 x 768 pixel resolution
  Black Matrix TFT colour LCD
  Up to 65,536 million colours, simultaneous internal/external 
display mode. 

  SVGA
  SVGA
  640x480, 256 colours int/ext/sim @ 85Hz Non-interlaced 
(external) user selectable, 60Hz simultaneous mode.
  640x480, 65,536 colours int/ext/sim @ 85Hz Non-interlaced 
(external) user selectable, 60Hz simultaneous mode.
  800x600, 256 colours int/ext/sim @ 85Hz Non-interlaced 
(external) user selectable, 60Hz simultaneous mode.
  800x600, 65,536 colours int/ext/sim @ 85Hz Non-interlaced 
(external) user selectable, 60Hz simultaneous mode.
  1024x768, 256 colours ext/sim @ 85Hz Non-interlaced 
(external) user selectable, 60Hz simultaneous mode.
  1024x768, 65,536 colours ext/sim @ 60Hz Non-interlaced 
(external) user selectable, 60Hz simultaneous mode.
  1280x1024, 256 colours ext/sim @ 87Hz Interlaced 
(external) user selectable, 60Hz simultaneous mode.

  Note: Where a resolution is shown as possible with 
simultaneous mode but not internal mode, this will involve the use 
of a 'virtual desktop display' on the internal display to
  achieve the desired resolution on the LCD. 
 end of Tosh stuff 

Anyone know?  Anyone got reliable guesses?  Reply to me and I'll 
summarise to the list if anyone wants and, if I got this way, I'll let 
you know!

Chris (not sure whether has stupid grin or rotten egg on face)



Re: Star Office

1998-08-12 Thread joost


On Tue, 11 Aug 1998, Keith wrote:

> I want to install the Star Office. I am running Debian 2.0. The 
> Star Office package in dselect is only like 24k. This then asks
> me where my archive files, or something are. What does that mean?
> If anyone is running Star Office let me know how to install it.

The package that Debian distributes is only an installer.  It's for the
older version for StarOffice only.  When you want to install
StarOffice4.0{,sp3}, just untar the thing in /var/tmp and run the
installer.  You can safely install it into /usr/local/SO4 without
interfering with your Debian system. 

And oh, on Debian 2.0 which is libc6-based, you'll also need to install
libc5 from the oldlibs section, because that's what StarOffice4.0 is
linked against. 

Be aware that soon StarOffice5.0 will appear.  

If time permits, I might do an installer for StarOffice{4.0,4.0sp3,5.0} as
noone else seems to be working on it anymore.  Don't hold your breath
though. 

Cheers,


Joost


Re: Silly Question... VERY simple :)

1998-08-12 Thread Liran Zvibel
On Wed, 12 Aug 1998, Michael Beattie wrote:

> 
> Where is the documentation for C ? i.e. language help?
> 
> I have a hard time remembering syntax and stuff.. :)
> 
>Michael Beattie ([EMAIL PROTECTED])
If you know the name of the function just type 
man function
If you don't know C, and would like to learn, I'd recommend "The C
Programming Language"/Kernighan&Ritchie (I'm not sure whether I got the
names spelled right).
Another somewhat more modern book on C is "A Book On C"/Poll&some more
people. If all you need is a reference I'd go for "The C prog. Lang."

Liran.
---
http://www.math.tau.ac.il/~liranz/


Programming docs (was: Silly)

1998-08-12 Thread E.L. Meijer \(Eric\)
Matthew wrote:
> 
> On Tue, 11 Aug 1998, Havoc Pennington wrote:
> > On Wed, 12 Aug 1998, Michael Beattie wrote:
> > > 
> > > Where is the documentation for C ? i.e. language help?
> > > I have a hard time remembering syntax and stuff.. :)
> > 
> > You're best off just buying "The C Programming Language" (ANSI edition). 
> > It isn't very expensive and the hardcopy is handy. There may be some free
> > stuff on the web though, try www.infoseek.com.
> > 
> Hmm. I prefer Schildt's C the complete reference.

Hmm.  As long as you don't believe the C++ part, it might work.
Some people get very aggressive about this Schildt person.  He actually
wrote one quite thick book, and published many somewhat smaller subsets
of it.  But I digress.

For information on the C-library, install the libc documentation (for
hamm that would be the libc6-doc package), and read the info files.  For
information on graphics, you will have to refer to the O'Reilly series
on the X-window system (for X11, not very `compact'), or use a toolkit
like gtk and read its docs, or use svgalib and its docs or use
tcl/Tk, Perl/Tk, plotutils (nice for graphs mostly, no gui stuff) and
there respective docs/man pages.  Are we confused or delighted about so
much freedom of choice?

HTH,
Eric

PS:
Would be people be so nice to consider meaningful subjects for their
posts?  Please?

-- 
 E.L. Meijer ([EMAIL PROTECTED])  | tel. office +31 40 2472189
 Eindhoven Univ. of Technology | tel. lab.   +31 40 2475032
 Lab. for Catalysis and Inorg. Chem. (TAK) | tel. fax+31 40 2455054


Re: Silly Question... VERY simple :)

1998-08-12 Thread M.C. Vernon
On Tue, 11 Aug 1998, Havoc Pennington wrote:

> 
> On Wed, 12 Aug 1998, Michael Beattie wrote:
> > 
> > Where is the documentation for C ? i.e. language help?
> > 
> > I have a hard time remembering syntax and stuff.. :)
> > 
> 
> You're best off just buying "The C Programming Language" (ANSI edition). 
> It isn't very expensive and the hardcopy is handy. There may be some free
> stuff on the web though, try www.infoseek.com.
> 
Hmm. I prefer Schildt's C the complete reference.

Is there any compiler-specific documentation (esp wrt to graphics and
low-level hardware/system stuff)?

Matthew 

-- 
Elen sila lumenn' omentielvo

Steward of the Cambridge Tolkien Society
Selwyn College Computer Support
http://www.geocities.com/Area51/Chamber/8841/
http://www.cam.ac.uk/CambUniv/Societies/tolkien/
http://pick.sel.cam.ac.uk/


Netscape annoying message box

1998-08-12 Thread Robert J. Alexander
I installed Netscpe 4.05 on a slink system using the installer.
The progam works correctly but I sometimes get annoying boxes which
resemble error messages. For instance if I attach a file a get a popup
box with the following content:

Nestcape: subprocess diagnostics
Warning:
Name: attach
Class: XmScrolledWindow
_XmMsgScrollVis_

Is this normal ??
Does the attachment reach you (it's just a two line shell script to open
an aixterm from my AIX box on my linux machine).

TIA
-- 
Robert J. Alexander <[EMAIL PROTECTED]>
AIX Certified System Administrator - Debian Linux addict - Win.\* victim
Via Sciangai, 53 - 00144 Rome, Italyxhost 9.87.2.151
rsh 9.87.2.151 aixterm -display 9.87.248.54:0


Debian full bootable backup. Howto ?

1998-08-12 Thread Robert J. Alexander
What would be the smartest approach to have a full bootable backup of a
Debian customized system ?

As backup media I could use : 4mm SCSI tape, SCSI CD-R, vfat parition on
other disk, the network.

On AIX there a mksysb command which produces a bootable tape backup of
the whole system (the rootvg volume group to be picky).
Once I have a system which is up and running, correctly configured, I
ususally make a mksysb and in case of a disk failure I only need to
place the mksysb in the tape drive, boot from it and voila my system is
fully restored and alive again.

TIA
-- 
Robert J. Alexander <[EMAIL PROTECTED]>
AIX Certified System Administrator - Debian Linux addict - Win.\* victim
Via Sciangai, 53 - 00144 Rome, Italy


Why Debian default kernel is bzImage ?

1998-08-12 Thread Robert J. Alexander
Every time I pick up a new Debian drop from scratch (ie use the install
disks), I have to find the special "tecra" disks since on all portables
I have installed Debian on, the standard disks, being bzImage do not
boot.

I also have to take care since after the base install, the standard
kernel-image files which are usually preselected by dselect, would
render my system unbootable again.

At the end of the base install, I must install the compiler, ther kernel
sources and run a make-kpkg --zimage --revision mymachine.1 kernel_image
and install the resulting package prior to the first reboot.

All of this would not be necessary if Debian's kernel format was zImage.

Why isn't this desirable ? In most contributions to this list, when it
comes to kernel compiling I very often see make zimage or make-kpkg
--zimage crop up ...

Thank you.
-- 
Robert J. Alexander <[EMAIL PROTECTED]>
AIX Certified System Administrator - Debian Linux addict - Win.\* victim
Via Sciangai, 53 - 00144 Rome, Italy



Re: Opinions on SQL Databases

1998-08-12 Thread Frank Barknecht
Allan Bart hat gesagt: // Allan Bart wrote:


> I am just getting my system up to snuff and i think it would be a good
> time to really learn sql. What are your linux favorites and why?

I have tried Msql and thas was okay for starters. But I would recommend going
with "the linux of databases" (LJ) - postgresql - mainly because it has the best
tutorial and a great GUI (pgaccess in the tcl-libs for PG) that makes learnig
it a lot easier.
-- 
 ____
 Frank Barknecht    __    __ trip\ \  / /wire __
  / __// __  /__/ __// // __  \ \/ /  __ \\  ___\   
 / /  / /  / /  / // // /\ \\  ___\\ \  
/_/  /_/  /_/  /_//_// /  \ \\_\\_\
/_/\_\ 


  1   2   >