Linux-Misc Digest #219, Volume #19 Sat, 27 Feb 99 23:13:06 EST
Contents:
Can't record sound with microphone (David Guertin)
Linux Fdisk Problems (Chiefpoppa)
Attempting Redhat 5.1 Install, HD has a split personality (horny)
Re: Linux is not even in Windows 9X's class. ("Jon Wiest")
Linux + Windows boxes (DaStOp)
Re: Can Linux use 36-bit Xeon addressing? ("Jim Ross")
Re: spinner.com music app for Linux ("Michael Faurot")
Re: new kernel boot messages (Hayden)
Scanner help (John Garrison)
Re: Firewall with 1 IP ("George Georgakis")
Re: installing components once linux has been installed (Jeremy Nickolet)
corel's cmx (Tamas Antal)
Re: Pentium III Boycott and survey info (Mark Grosberg)
Re: Linux Compatible modem? (william)
Re: Digital Cameras ([EMAIL PROTECTED])
Re: Best Free Unix? (why FreeBSD?) (Chris Lee)
Re: Should IBM port Visual Age for Java to Linux? (Dennis Smith)
Re: Diald on Sparc Redhat 5.2 (Matthew Bafford)
----------------------------------------------------------------------------
From: David Guertin <[EMAIL PROTECTED]>
Crossposted-To: linux.dev.sound
Subject: Can't record sound with microphone
Date: 26 Feb 1999 23:36:02 -0500
Reply-To: David Guertin <[EMAIL PROTECTED]>
Hi folks,
I'm trying to set up my system to record sound, and having a difficult
time getting things working. Here's my setup: Audio Technica ATM-31
microphone through an XLR -> 1/4" adapter to a Tascam Portastudio 424
4 track recorder/mixer to a Sound Blaster 16 sound card. (I had no
success at all when I tried bypassing the Tascam, even with a preamp.)
I'm running a 2.0.36 kernel with modular sound support (I have the sb,
sound, soundcore, and uart401 modules all working). I can play CD's
and sound files (au, wav, aifc, MIDI, etc.) with no problems at all.
When I speak into the microphone, sound comes out the speakers fine.
But, when I try to record sound as described in the Sound-HOWTO:
dd bs=8k count=4 </dev/audio >sample.au
cat sample.au >/dev/audio
I get nothing. Actually, if I have the gain turned way up, and crank
the volume on playback, and I shout into the microphone, I can hear my
voice very faintly, buried under waves of static.
I have the microphone level set to 70-100% in xmixer, and at about 70%
on the Tascam.
Also, *cough*, uh, the setup records fine under Windows on the same machine.
So, does anyone have any ideas as to why recording isn't working with
this setup?
Cheers,
--
Dave Guertin
[EMAIL PROTECTED]
------------------------------
From: Chiefpoppa <[EMAIL PROTECTED]>
Subject: Linux Fdisk Problems
Date: Sat, 27 Feb 1999 23:04:25 GMT
Hi all: I am attempting to install a loop-linux type system,and I get disk
reading errors when I attempt to run fdisk -l.It typically reads as though I
have 4 partitions already created on my drive(when I in fact have only 1
msdos partition).It also errors in reading # of cylinders/heads/sectors.I am
totally unable to mount an msdos filesystem. The error message in particular
reads: I/O Error,dev 16:01(hdc) sector zero mount: wrong fs type,bad
option,bad superblock on /dev/hdc1,or too many mounted filesystems.Now,I'm
not so green to Linux that I don't understand this message( /dev/hdc is my
3rd hard-drive,for example),but I don't understand why it can't read my
partition table correctly. I would very much appreciate any and all
help/advice
Thank You,
Bill Miller, aka Chiefpoppa
Chiefpoppa Productions!
http://fly.to/chiefpoppa
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: [EMAIL PROTECTED] (horny)
Subject: Attempting Redhat 5.1 Install, HD has a split personality
Date: Sun, 28 Feb 1999 02:25:32 GMT
I have 2 hard disks in my system, a 6.1 gig that is the primary drive
and formatted to FAT 32 with the exception of 15 megs that I left
before the Windows C: partition. This is supposed to be for a Linux
boot partition. The rest of Linux was to be installed on my secondary
drive, which is a 1 gig. I can get the CD to autoboot from DOS, but
after that a bunch of dialogue loads up, and it dies with these being
the last few lines:
hdd: 123264 kB, 963/8/32 CHS, 533kBps, 512 sector size, 720 rpm
hdd: The drive supports both 126272336 and 0 bytes as its capacity
VFS: Cannot open root device 08:21
Kernel panic: VFS: Unable to mount root fs on 08:21
I saw nothing in the BIOS that would indicate that this is a BIOS
thing, but I'm all ears to suggestions. I deleted all of the
partitions from this second drive. Any help would be greatly
appreciated.
Rusty Tanton
naive college student and Linux newbie
------------------------------
From: "Jon Wiest" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.advocacy
Subject: Re: Linux is not even in Windows 9X's class.
Date: Fri, 26 Feb 1999 23:07:54 -0600
> Redhat 5.0 detects all my hardware.
What??? Do you *have* any hardware to detect? Oh sure, it get the hard
drives right. It did nicely detect my ATI Rage2, which I appreciate. But
not my Wacom pad, my modem, my sound card, my IDE Zip, my Voodoo2.
Jon
------------------------------
From: DaStOp <[EMAIL PROTECTED]>
Subject: Linux + Windows boxes
Date: Sun, 28 Feb 1999 02:34:12 GMT
I would like to know if it is possible to connect a Windows box with a Linux
RedHat box through a direct cable connection. I would be very grateful if some
one could give me some guidelines for this connection...
Thanx in advance for your collaboration. :)
DaStop.
===== O ===== O ===== O ===== O ===== O ===== O ===== O ===== O =====
Check out these discussions lists:
http://www.dejanews.com/~hiphopstyle/j.xp?j=hiphopstyle
http://www.dejanews.com/~linuxandwindows/j.xp?j=linuxandwindows
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: "Jim Ross" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp.os.linux.hardware
Subject: Re: Can Linux use 36-bit Xeon addressing?
Date: Sat, 27 Feb 1999 00:05:56 -0500
David A. Frantz wrote in message <7b7iqa$83g$[EMAIL PROTECTED]>...
>
>Robert Krawitz wrote in message ...
>>"David A. Frantz" <[EMAIL PROTECTED]> writes:
>>
>>> Robert Krawitz wrote in message ...
>>
>>> >I think this is a tad unfair. I'm disappointed that Linus doesn't
>>> >want to enable large memory addressing on the x86.
>>>
>>> As with any general purpose operateing system there are trade offs, one
>>> outstanding feature of Linux is the freedom to transform it into
>something
>>> that suits your purposes. The reallity is that there is nothing to be
>>> gained by trying to use a special capability of the XEON just to
fillfull
>>> the special needs of a few users. This is especially the case when
the
>>> Chip and Chip SETs are not suited for the application. I firmly
>believe
>>> that if you really need 64 bit addressing to main memory then you need
to
>>> look at a 64 bit system.
>>
>>Well, Xeon boxes seem to be awfully popular these days. And again:
>>there's a lot of software (even for Linux) that only runs on x86.
>>Folks who want to use Oracle don't have the option of getting an Alpha.
>
>They may be popular some where in the world, but the cost is a
consideration
>especial considering there limit capability increase over the rest ot the
>Intel family. I still of the opinion if you need more than 32 bit
>addressing then you should jump to a 64 bit system. Why screw around
with
>a solution that at best is only temporary.
I think the reason is because NT needed more memory and 64 bit NT will not
be out soon.
Jim
>
------------------------------
From: "Michael Faurot" <[EMAIL PROTECTED]>
Subject: Re: spinner.com music app for Linux
Date: 28 Feb 1999 01:34:05 GMT
[EMAIL PROTECTED] wrote:
: Does anyone know if a spinner.com music player exists for Linux?
Spinner arose from what was TheDJ. Last time I tried, you could
still access the same content via www.thedj.com, which you can access
easily with Netscape and Real Audio under Linux.
--
==============================================================================
Michael | mfaurot | Under every stone lurks a politician.
Faurot | phzzzt.atww.org | -- Aristophanes
------------------------------
From: Hayden <[EMAIL PROTECTED]>
Subject: Re: new kernel boot messages
Date: Sat, 27 Feb 1999 05:17:53 GMT
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
wrote:
> On Fri, 26 Feb 1999 19:05:10 GMT, [EMAIL PROTECTED] wrote:
>
> make mrproper
> may fix this.
>
> did you do a
>
> make modules
> make modules_install
I'm having the same problem. Even recompilling the kernal that comes
with RH 5.2 with different modules brings up error messages about
unresolved symbols. I've used make clean and make mrproper when
recompiling.
-- Hayden
"You need an IQ upgrade to use that piece of software."
-- Dogbert
------------------------------
From: John Garrison <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Scanner help
Date: Sat, 27 Feb 1999 05:12:09 GMT
I have a scanner from back in my windows days and never configured it
for linux. Can I use a SCSI Module to access my scanner? I really
don't want to have to re-compile the kernel, but need access to my
scanner again. I tried insmod and modprobe-ing the 'sg.o' 'scsi_debug'
modules but 'scanimage --list-devices' doesn't show up my scanner. I
added a modprobe of those modules to my init script and it found a
nonexistent device everywhere possible and I still couldn't access my
scanner. I read that if it finds devices in every slot then you have to
reconfigure the jumpers on your scsi card. Is this true? I don't know
if I even still have the manual to my scanner/scsi card. The scanner
used TWAIN if that makes any difference.
------------------------------
From: "George Georgakis" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.networking,comp.os.linux.setup
Subject: Re: Firewall with 1 IP
Date: 28 Feb 1999 02:45:43 GMT
No question, go the IP_Masq route! :) It costs you nothing extra, though
some functions will need to be specially configured.
OTOH, if you can get a "Class C" network for free (note that "Class" terms
are now obsolete), it's worthwhile going that way.
George
Eduardo Perez <[EMAIL PROTECTED]> wrote in article
<[EMAIL PROTECTED]>...
> [EMAIL PROTECTED] wrote:
> >
> > - My ISP has asigned me 1 static IP.
> > - I have a LAN, and 3 NT Web servers on it that I want to make
available to
> > Inet with 192.168.X.X IPs.
> > - I want to put a Linux RedHat 5.2 based firewall before the LAN.
> >
> > Would it be possible with just 1 IP, maybe with IP Masquerading or
should I
> > ask for a Class C Network?
> >
> > Answers will be welcome by private e-mail.
> >
> > -----------== Posted via Deja News, The Discussion Network ==----------
> > http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
>
>
> You can't expect anybody out of your intranet to reach your servers if
> they are in a private network like 192.168.X.X; and you cannot use
> public IP's unless you pay for them.
>
> However, you can use xinetd to redirect external calls to your Linux
> firewall to your NT servers. This way, only your proxy can be reached,
> requests are serviced by your NT servers. From out of your network,
> people will see 3 web servers at the same public IP (on different
> ports), but each one will be of the NT servers.
>
>
> I hope this helps.
>
------------------------------
From: Jeremy Nickolet <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,comp.os.linux,comp.os.linux.redhat,comp.os.linux.setup
Subject: Re: installing components once linux has been installed
Date: Sat, 27 Feb 1999 04:50:51 GMT
Chris T. wrote:
> Does anyone know how i install other components once linux has already
> installed? I'm using Linux Redhat version 4.2.
The easiest way is to download the software that you want in rpm format
and then do:
rpm -Uvh foobar.rpm (this will upgrade an existing package
foobar or install it if an older version doesn't exist)
rpm -Uvh *.rpm (this will install or upgrade multiple
packages)
Red Hat 4.2 is now quite old, so you will have to make sure that any
packages that you download are compatible with your version. The current
version of Red Hat is 5.2. 5.2 uses a different library which is
incompatible with versions < 5.1. 4.2 is still excellent, very stable,
you will just have to make sure that you use apps built with libc5 and
not glibc/libc6.
Jeremy
------------------------------
From: Tamas Antal <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x
Subject: corel's cmx
Date: Sat, 27 Feb 1999 00:19:20 -0500
Hi,
does anyone know how one can use corel's cmx graphics format with
linux?
Thanks, Tamas
------------------------------
From: Mark Grosberg <[EMAIL PROTECTED]>
Subject: Re: Pentium III Boycott and survey info
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.hardware
Date: Sun, 28 Feb 1999 02:59:46 GMT
In comp.os.linux.misc John Meissen <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>,
> Boycott Swintel <[EMAIL PROTECTED]> wrote:
> > Pentium III chip with the individual serial number that can
> >track your web surfing and buying habits can now have the ID number
> >turned on and off by software.
> This is untrue. The fact is, the feature can be disabled with software,
> but it can ONLY be turned back on by a full hardware reset.
Ahh yes. But in most ISA x86 architectures you can perform a _full_ reset
of the processor without rebooting the machine. Remember the good old days
of when Intel made the 286 Protected mode more secure by never allowing
you to go back to real mode (instead of from CPL 0)? Well, for
compatability reasons, I'm willing to bet that the machinery for doing
this (mostly in the BIOS, uses the keyboard controller to hold the actual
reset line low) is still in most PC's.
> Of potential concern is that after a hard reset the feature =is=
> reenabled, but if you consider the logic of not being able to
> enable via software, this is the only way to provide for re-enabling
> the feature.
Of course, the chip can only send off it's ID number if you help it.
Standard protocol implementation don't do this (although it would be scary
to watch serial numbers come up in an HTTP agent log). So the lesson is
stick with standard protocols and you should be okay.
> A boycot based on this is ridiculous. Whether you use the chip
> or not should depend on the capabilities of the CPU and if you
> feel they meet your needs.
Intel certainly isn't the first hardware company to put a serial number
that is software accessible in their hardware. I don't agree with it (and
don't buy their processors for purely technical reasons). But I am more
worried about what my buddies up in Redmond plan to do with such a
hardware feature. I suspect Linux users have nothing at all to worry
about.
L8r,
Mark G.
Note: The opinions expressed here are my own and not that of my employer.
------------------------------
From: [EMAIL PROTECTED] (william)
Crossposted-To: alt.os.linux
Subject: Re: Linux Compatible modem?
Date: 28 Feb 1999 01:51:05 GMT
I have the Zoom 56K, and it would not work until I disabled the assert CD
line option.........then smooth sailing.......
In article <7aj54i$p4$[EMAIL PROTECTED]>, [EMAIL PROTECTED] blabbers:
>
>Hi everyone!
>
>Could you tell me whether I can use either a Diamond Supra Express 56K v90
>modem or a ZOOM DUalMode 56K modem with Linux?
>
>I need to know of some success reports before I buy one - so a reply to
>[EMAIL PROTECTED] would be greatly appreciated!
>
>Thanks!
>
>-ashutosh
>
>LINUX ROCKS :)
>
>-----------== Posted via Deja News, The Discussion Network ==----------
>http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
--
<html>
<font size=3>-</font><font size=3
color="#FF0000">------------------------------------------------<br>
<br>
</font><font face="Terminal, Monaco" size=4 color="#000000">there is no problem
that cannot be solved by the proper <br>
application of high explosives<br>
<br>
</font><font size=5>[EMAIL PROTECTED]<br>
&
nbsp; &n
bsp; </font><font size=6> </font><font size=6
color="#FF0000"> \ /<br>
</font><font size=3
color="#FF0000">-------------------------------------------------- O <br>
</font><font size=3
color="#000000"> &nb
sp; &nbs
p;  
; </font><font size=3 color="#FF0000">
</font><font size=4
color="#FF0000"> &nb
sp; </font><font size=6 color="#FF0000"> / \</font></html>
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.hardware
Subject: Re: Digital Cameras
Date: 28 Feb 1999 02:31:12 GMT
In article <[EMAIL PROTECTED]>,
Jeremy D. Zawodny <[EMAIL PROTECTED]> wrote:
>"The Infernal One" <[EMAIL PROTECTED]> writes:
>
>> Does anyone either know or have good source information on
>> which digital cameras support linux? TIA.
>
>I've got a Kodak DC-210. I communicate with it via the serial cable
>and some DC210 Perl modules.
>
>Jeremy
>--
>Jeremy D. Zawodny Web Geek, Perl Hacker, etc.
>http://www.wcnet.org/~jzawodn/ [EMAIL PROTECTED]
>
>LOAD "LINUX",8,1
Try http://www.gphoto.org/gphoto/cameras.html
---- remove "UhUh" and "Spam" to get my real email address ----
--
Cleave yourself to logodedaly and you cleave yourself from clarity.
------------------------------
From: [EMAIL PROTECTED] (Chris Lee)
Crossposted-To:
comp.unix.questions,comp.unix.advocacy,comp.unix.misc,comp.unix.bsd.freebsd.misc
Subject: Re: Best Free Unix? (why FreeBSD?)
Date: 28 Feb 1999 03:15:39 GMT
In article <7b7nqu$[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
>
>In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] (NF Stevens) writes:
>>>>
>>>This tests YOUR interest in fair discussion, right?
>>
>> No, I just found it amusing that you used those particular
>> words.
>>>>
>>>And ridiculous support fees... Programming costs anyway you go,
>>>except I am trying to support truth in advertising.
>>
>> You don't have to buy support when you use GPL code. There
>> is easily enough documentation for those who can RTFM. It is
>> possible to get a full version of linux on CD for $2 or even
>> download it for no cost other than the cost of the telephone call.
>>
>Access to GPLed code is sometimes embargoed unless you pay support
>fees. There are ways to do it.
>
>>
>> The truth, which you seem to find hard to accept is that the
>> actual license (BSD or GPL) makes no difference to the
>> distributor, as long as the code is freely distributable.
>>
>The truth, which you seem to find hard to accept is that the
>actual license (BSD or GPL) makes a big difference to the
>programming profession, with GPL being quite destructive. I
>tend to agree that the distributor can effectivly profit from
>working with GPLed or BSDed works, but that right is not well
>supported by GPL for the programming profession, when doing
>programming.
>
>The truth is that my position is to support the innovative
>programming profession, and the wonderful inventions of the
>past that are being used in the continual re-implementations
>of the present GPL world.
Are we supposed to weep over the fact that a bunch of windows cripple er
shareware programers can't rip off GPL code like they can BSD code.
Really breaks my heart that they can't "borrow" GPL code. It really,really
does.
Now if I can only stop laughing.....
------------------------------
From: [EMAIL PROTECTED] (Dennis Smith)
Crossposted-To: comp.os.linux,comp.lang.smalltalk
Subject: Re: Should IBM port Visual Age for Java to Linux?
Date: Sat, 27 Feb 1999 04:34:31 GMT
On Fri, 26 Feb 1999 09:00:25 GMT, Marten Feldtmann
<[EMAIL PROTECTED]> wrote:
>Dennis Smith wrote:
>>
>> If you think removing runtime fees makes things cheaper (as
>> some here seem to), you are being pretty naive. If it costs
>
> It seems for me, that one would like to buy Smalltalk very cheap,
>because the to-be-developed-product is not out yet and if it's
>out the opinion will change and now noone would like have runtime
>fees .. perhaps there's a market to lean software like cars, but
>that will be not much cheaper (in total).
>
>> The only arguments I see against
>> runtime fees are those of administration -- its a nuisance,
>> so that is why I suggest a couple of fee structures.
>
> Well, we're developing end-user applications and I can tell you,
>that we would strongly vote against runtime fees.
You would vote AGAINST them even as an option?
with multiple pricing strutures? I am finding that people
seem to have a philosophical problem with them, they
don't even want to see others pay runtime
(for lower initial cost) because they don't want to,
seems a bit narrow minded to me??
>
>
> Marten
=================================================================
Dennis Smith, MaSc -- Cherniak Software Development Corporation
400-10 Commerce Valley Dr E, Thornhill ON Canada L3T 7N7
Phone: 905.771.7011 FAX: 905.771.6288
[EMAIL PROTECTED] http://www.cherniak.on.ca
------------------------------
From: [EMAIL PROTECTED] (Matthew Bafford)
Crossposted-To: comp.os.linux.networking
Subject: Re: Diald on Sparc Redhat 5.2
Reply-To: [EMAIL PROTECTED]
Date: Sun, 28 Feb 1999 03:22:21 GMT
Thu, 25 Feb 1999 17:41:21 -0500 -- Jeff Dearmin <[EMAIL PROTECTED]>:
-> [snip description about problems compiling diald on redhat]
I went through this just a few days ago. I'm not on a Sparc, though.
Rather than commenting out that stuff, you need to tell the compiler it exists.
I've included my code changes below my sig.
It wasn't a very clean patch, but I was in a hurry to just get it done.
I'll probably clean it up and submit it to the author tomorrow.
To use the patch, switch to the directory diald-0.16 and run:
patch -p 11 < patchfile
(Compiles without a warning on my machine)
Hope This Helps!
--Matthew
--
diff -x *.o -x diald -bpr diald-0.16/dev.c diald-0.16.myversion/dev.c
*** diald-0.16/dev.c Thu Dec 19 14:56:45 1996
--- diald-0.16.myversion/dev.c Sun Feb 7 14:09:11 1999
***************
*** 16,21 ****
--- 16,24 ----
#include "diald.h"
+ #include <linux/in.h>
+ extern char *inet_ntoa __P ((struct in_addr __in));
+
static int dead = 1;
/* internal flag to shortcut repeated calls to setaddr */
diff -x *.o -x diald -bpr diald-0.16/diald.c diald-0.16.myversion/diald.c
*** diald-0.16/diald.c Thu Dec 19 15:42:41 1996
--- diald-0.16.myversion/diald.c Sun Feb 7 14:09:29 1999
*************** void become_daemon()
*** 164,170 ****
{
int pid;
FILE *fp;
! if (daemon) {
close(0);
close(1);
close(2);
--- 164,170 ----
{
int pid;
FILE *fp;
! if (my_daemon) {
close(0);
close(1);
close(2);
diff -x *.o -x diald -bpr diald-0.16/diald.h diald-0.16.myversion/diald.h
*** diald-0.16/diald.h Sun Dec 15 13:29:21 1996
--- diald-0.16.myversion/diald.h Mon Feb 1 10:23:05 1999
***************
*** 34,49 ****
#include <netinet/ip_icmp.h>
#include <netinet/ip.h>
*/
! #include <netinet/in.h>
/* #include <asm/byteorder.h> */
#include <linux/tcp.h>
#include <linux/udp.h>
! #include <linux/icmp.h>
/* Shut up gcc about a redefinition that is harmless */
#undef LITTLE_ENDIAN
#include <linux/ip.h>
! #include <linux/in.h>
! #include <arpa/inet.h>
/* Hmm. Should there be a netinet pointer to these??? */
#include <linux/if_ether.h>
#include <linux/if_slip.h>
--- 34,49 ----
#include <netinet/ip_icmp.h>
#include <netinet/ip.h>
*/
! /* #include <netinet/in.h> */
/* #include <asm/byteorder.h> */
#include <linux/tcp.h>
#include <linux/udp.h>
! /*#include <linux/icmp.h>*/
/* Shut up gcc about a redefinition that is harmless */
#undef LITTLE_ENDIAN
#include <linux/ip.h>
! /*#include <linux/in.h>*/
! /*#include <arpa/inet.h>*/
/* Hmm. Should there be a netinet pointer to these??? */
#include <linux/if_ether.h>
#include <linux/if_slip.h>
***************
*** 59,64 ****
--- 59,66 ----
#define SOCKADDR sockaddr
#endif
+ extern u_int32_t inet_addr __P ((__const char *__cp));
+
#include "config.h"
#include "fsm.h"
#include "timer.h"
*************** int debug;
*** 224,230 ****
int modem;
int rotate_devices;
int crtscts;
! int daemon;
int dynamic_addrs;
int dynamic_mode;
int slip_encap;
--- 226,232 ----
int modem;
int rotate_devices;
int crtscts;
! int my_daemon;
int dynamic_addrs;
int dynamic_mode;
int slip_encap;
diff -x *.o -x diald -bpr diald-0.16/firewall.c diald-0.16.myversion/firewall.c
*** diald-0.16/firewall.c Wed Sep 4 10:51:14 1996
--- diald-0.16.myversion/firewall.c Mon Feb 1 10:38:05 1999
***************
*** 8,13 ****
--- 8,16 ----
#include "diald.h"
+ #include <linux/in.h>
+ extern char *inet_ntoa __P ((struct in_addr __in));
+
static FW_unit units[FW_NRUNIT];
static int initialized = 0;
int impulse_init_time = 0;
diff -x *.o -x diald -bpr diald-0.16/fsm.c diald-0.16.myversion/fsm.c
*** diald-0.16/fsm.c Thu Dec 19 15:19:26 1996
--- diald-0.16.myversion/fsm.c Sun Feb 7 14:09:39 1999
*************** void act_START_LINK(void)
*** 159,165 ****
if (acctlog && (acctfp = fopen(acctlog,"a")) != NULL) {
fprintf(acctfp,"%s: Connected to site %s.\n",
cdate(), remote_ip);
! fclose(acctfp);
}
(*pcontrol[mode].start)();
}
--- 159,165 ----
if (acctlog && (acctfp = fopen(acctlog,"a")) != NULL) {
fprintf(acctfp,"%s: Connected to site %s.\n",
cdate(), remote_ip);
! fclose(acctfp);
}
(*pcontrol[mode].start)();
}
diff -x *.o -x diald -bpr diald-0.16/options.c diald-0.16.myversion/options.c
*** diald-0.16/options.c Sat Dec 21 02:17:21 1996
--- diald-0.16.myversion/options.c Sun Feb 7 14:09:49 1999
*************** int mode = MODE_SLIP;
*** 53,59 ****
int debug = 0;
int modem = 0;
int crtscts = 0;
! int daemon = 1;
int slip_encap = 0;
int lock_dev = 0;
int default_route = 0;
--- 53,59 ----
int debug = 0;
int modem = 0;
int crtscts = 0;
! int my_daemon = 1;
int slip_encap = 0;
int lock_dev = 0;
int default_route = 0;
*************** struct {
*** 103,109 ****
{"mode","[ppp|slip|cslip|slip6|cslip6|aslip|dev]",1,0,set_mode},
/* Debugging options */
{"debug","<debugmask>",1,&debug,set_int},
! {"-daemon","",0,&daemon,clear_flag},
/* general options */
{"accounting-log","<f>",1,&acctlog,set_str},
{"pidfile","<f>",1,&pidlog,set_str},
--- 103,109 ----
{"mode","[ppp|slip|cslip|slip6|cslip6|aslip|dev]",1,0,set_mode},
/* Debugging options */
{"debug","<debugmask>",1,&debug,set_int},
! {"-daemon","",0,&my_daemon,clear_flag},
/* general options */
{"accounting-log","<f>",1,&acctlog,set_str},
{"pidfile","<f>",1,&pidlog,set_str},
*************** void init_vars()
*** 219,225 ****
debug = 0;
modem = 0;
crtscts = 0;
! daemon = 1;
slip_encap = 0;
lock_dev = 0;
default_route = 0;
--- 219,225 ----
debug = 0;
modem = 0;
crtscts = 0;
! my_daemon = 1;
slip_encap = 0;
lock_dev = 0;
default_route = 0;
*************** void check_setup()
*** 559,566 ****
if (acctlog && (acctfp = fopen(acctlog,"a")) == NULL)
syslog(LOG_ERR,"Can't open accounting log file %s: %m",acctlog);
! else
! fclose(acctfp);
if (flag) exit(1);
}
--- 559,567 ----
if (acctlog && (acctfp = fopen(acctlog,"a")) == NULL)
syslog(LOG_ERR,"Can't open accounting log file %s: %m",acctlog);
! else if (acctfp) {
! fclose(acctfp);
! }
if (flag) exit(1);
}
diff -x *.o -x diald -bpr diald-0.16/ppp.c diald-0.16.myversion/ppp.c
*** diald-0.16/ppp.c Sat Dec 21 02:17:10 1996
--- diald-0.16.myversion/ppp.c Sun Feb 7 14:09:55 1999
***************
*** 20,25 ****
--- 20,28 ----
#define PPPIOCGUNIT_2_2_0 _IOR('t', 86, int)
#endif
+ #include <linux/in.h>
+ extern char *inet_ntoa __P ((struct in_addr __in));
+
/* internal flag to shortcut repeated calls to setaddr */
static int rx_count = -1;
diff -x *.o -x diald -bpr diald-0.16/proxyarp.c diald-0.16.myversion/proxyarp.c
*** diald-0.16/proxyarp.c Tue Apr 2 02:43:16 1996
--- diald-0.16.myversion/proxyarp.c Mon Feb 1 10:25:47 1999
***************
*** 22,27 ****
--- 22,29 ----
#include "diald.h"
+ #include <linux/in.h>
+
/* This is in netdevice.h. However, this compile will fail miserably if
you attempt to include netdevice.h because it has so many references
to __memcpy functions which it should not attempt to do. So, since I
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************