Re: IPFWADM and DIALD

1996-10-04 Thread Giuseppe Vacanti

Hi,

I'm the diald maintainer. That doesn't mean I can give you any useful
advice :-)

Sorry I didn't reply to you last message, but I'm not particularly
skilled in networking (I maintain diald only because when I installed
Debian the first time diald was not part of the distribution) and I
was hoping somebody more knowledgeable would.

I'm not sure I understood your problem. But let me describe my set up,
that appears to be similar to yours.

Those who understand networking better than I, please forgive me and
correct me.


(server)
     
   |  |  |  |
   |  |  |  |
Net ---|   ethernet--|ethernet  |
 ^ |   192.168.1.1   |192.168.1.2
 | |  |  |  |
 |   |  |
 |   
 |   
 |   
  diald: SLIP on my real IP number (or any number if you have dynamic IP).

If I do ifconfig on my server, this is what I see:

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:1553 errors:0 dropped:0 overruns:0
  TX packets:1553 errors:0 dropped:0 overruns:0

eth0  Link encap:10Mbps Ethernet  HWaddr 00:20:18:31:29:0A
  inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:72456 errors:0 dropped:0 overruns:0
  TX packets:71939 errors:0 dropped:0 overruns:0
  Interrupt:9 Base address:0x220 

sl0   Link encap:Serial Line IP  
  inet addr:194.109.14.67  P-t-P:194.109.2.10  Mask:255.255.255.0
  UP POINTOPOINT RUNNING  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0
  TX packets:2245 errors:0 dropped:0 overruns:0


My IP number is 194.109.14.67. In my diald.options file I have:

reroute
mode ppp
local 194.109.14.67
remote 194.109.2.10

The box on the internal network has 192.168.1.1 as its gateway.

On the box running diald I also issue these two commands:

ipfwadm -F -a masquerade -S 192.168.1.0/24 -D 0.0.0.0/0 -V 192.168.1.1
ipfwadm -F -p deny

This set up works: I can certainly telnet and ftp from the second box,
via the first one, and I always appear as if I'm coming from the
server.

You cannot instruct diald to give its SLIP (the PPP) interface the IP
number 192.168.1.1 (if I interpret you sketch correctly). Packets will
be sent out, however no router will ever route traffic for networks
in the 192.168.x class.

I don't know if you can test this set up without going live. You can
probably split you network in two halves that can talk to each other
via a firewall ...

Giuseppe

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: syslogd won't start

1996-10-04 Thread Joey Hess
> 
> Some versions of sysklogd die at bootup when your net is not running
> (as in under ppp).  Adding entries in /etc/hosts may solve your
> problem.  See a recent thread in the comp.os.linux groups...

Thanks, that did it! 

For the record, here's the solution to this problem:

Ed Merrifield ([EMAIL PROTECTED]) wrote:

> This way I solved this is to put my hostname on the same line as the
> [EMAIL PROTECTED] in the etc/hosts file.  This solved the problem.  I
> noticed the same thing you did with ppp.  My guess is that when the
> network isn't up, syslogd checks $HOSTNAME or /etc/HOSTNAME and then looks
> for that in /etc/hosts.

Sure enough, I didn't have my hostname in /etc/hosts, I only had my FQDN
in there. I haven't rebooted to test it yet, but it fits perfectly with my
memory of changes on the system..

-- 
#!/usr/bin/perl -i\$q='$q',\$p='$p';eval\$q.\$\^I\n"#  #  [EMAIL PROTECTED]
$q='print"$p$^I\n',$p='#!/usr/bin/perl -i';eval$q.$^I  #  Joey Hess
  "He. He. He." - - Herman Toothrot

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: syslogd won't start

1996-10-04 Thread Nathan O. Siemers
Joey Hess <[EMAIL PROTECTED]> writes:

> 
> I'm having a problem with the sysklogd package. Sometimes when I boot up,
> it says it's starting syslogd, waits there for about a minute (much longer
> than usual), and then continues on to start klogd. It looks like syslogd
> isn't really starting when it delays this way, or it is dying after it
> starts up. 

Some versions of sysklogd die at bootup when your net is not running
(as in under ppp).  Adding entries in /etc/hosts may solve your
problem.  See a recent thread in the comp.os.linux groups...

nathan

-- 
Nathan O. Siemers  Bristol-Myers Squibb Pharmaceutical Research Institute
3005 First Avenue, Seattle, WA 98121  (206) 727-3741   [EMAIL PROTECTED]

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


info2www, dwww install problem

1996-10-04 Thread Lawrence Chim
when install info2www and dwww, they said that they cannot
find the httpd.  I think it is because I am using apache
and http daemon name is apache rather than httpd.

Is is a install script problem?  or a file dependancy problem?


lawrence,

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Oops! Shouldn't have deleted that file...

1996-10-04 Thread Rick Macdonald
On Thu, 3 Oct 1996, Servo wrote:

> I was screwing with Apache... a non debian version.  I wanted to
> totaly scrap the non deb version, and I deleted all the files.
> And one too many..  Mainly '/etc/init.d/apache'  
> That file shows being in the Apache 1.1.1-5(or some number like that)
> debian release, but it does not install it

Do you use emacs? If so, my deb-view.el lets you look at and copy files
out of .deb archives without unpacking the whole thing.

http://www.cuug.ab.ca:8001/~macdonal/deb-view.el

...RickM...


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: Linux SMP

1996-10-04 Thread Christoph Lameter
Ricardo Kleemann ([EMAIL PROTECTED]) wrote:
: Hi guys...
: 
: I'm wondering if attempting to use Linux-SMP is any good. Afterall, for 
: real efficiency, don't the programs/daemons/utilities have to be designed 
: in such a way that they'll make use of SMP capabilities?
The operating systems nature is to run multiple processes. SMP is just
dividing those processes up amoung the processors.
: 
: For example, if I have sendmail, pop3d, httpd daemons running, on a dual 
: processor system with SMP kernel, as compared to a single-processor 
: system, would I gain much advantage?
No. Because the limitations with those are usually in the I/O not in the
numbercrunching abilities of the CPU
 
: Let's say, for example, a dual-133 and a single-PPro200. My feeling is 
: that for raw speed and efficiency, the PPro200 would easily win out...
That is probably true. Moreover you do not have all the SMP problems.

: Now, due to the fact that most ISP usage is dependent on bandwidth 
: limitations (meaning that a lot of the time the raw processor power won't 
: do much good) what is your opinion on choosing a more effective system? 
: Between say dual-133 or single-Pro200?
Buy three Pentium 100s Machines and network them. Distribute the server 
processes equally
between them and you have a wonderful fast system. Get another P-133 for all 
the compilation stuff you want to
do.

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: is there a dhcp client package?

1996-10-04 Thread Christoph Lameter
That is not available. Perhaps you could put it together?

Joey Hess ([EMAIL PROTECTED]) wrote:
: I see the dhcpd server package, but has a dhcp client been made into a
: debian package? I have to set up a computer that will use dhcp to
: configure it's networking, and was hoping for a debian package to smooth
: the way. 
: 
: -- 
: #!/usr/bin/perl -lisubstr($_,39+38*sin++$y/9,2)=$s # [EMAIL PROTECTED]
: for($s='  '||McQ;$_='JOEY HESS 'x8;print){eval$^I} # Joey Hess
:   "How appropriate, you fight like a cow." - - Guybrush Threepwood
: 
: --
: TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
: [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]
: 

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: analog log analyzer?

1996-10-04 Thread Joey Hess
> I heard something about a program called "analog" in debian which does 
> httpd log file analysis?
> 
> Does it exist? I tried to look for it in the debian ftp area but couldn't 
> find anything (at least in the packages file).

Yes, analog does exist, and I've it's maintainer for debian. You were
probably looking in the stable debian tree, though, and analog has not yet
made it into stable, it's only in the unstable tree.

Specifically, it's at ftp.debian.org, in
/pub/debian/rex/binary-i386/net/analog_1.91.4-1.deb

-- 
#!/usr/bin/perl -i$>=0;$<=0;exec"/bin/sh"'>achmod[EMAIL PROTECTED]
$_="echo '#!/usr/bin/suidperl -U\n$^I 2755aa";s=a= $ENV{HOME}/Imroot;=g;exec$_
# Get root in 30 seconds or less. Fix this hole: upgrade to perl 5.003 today..
   "true - do nothing, successfully" - - true (1)

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


ppp package

1996-10-04 Thread Chris R. Martin

Where are the ppp-on, ppp-dialer, and ppp-off scripts that are supposed to
come with pppd ?? I can make a ppp connection manually, but I have no idea
how to automate the process!

thanks, chris.

===
Chris R. Martin  email: [EMAIL PROTECTED]
 www: http://http.tamu.edu:8000/~crm7479

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


problems with maelstrom

1996-10-04 Thread Chris R. Martin

I have installed svgalib1, svgalib1-bin, and maelstrom packages. However
when I try to run maelstrom I get the following message:

VGA_FrameBuffer: requested mode not supported

(or something like that)

anyway I have an ARK Logic 2000PV so it SHOULD be supported (Maelstrom
only uses 320x200 ). What's going on? I checked /etc/vga and the config
file, and I couldn't find anything wrong... I can post it if anyone thinks
it will help.

Thanks, Chris.

===
Chris R. Martin  email: [EMAIL PROTECTED]
 www: http://http.tamu.edu:8000/~crm7479

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


problems with X

1996-10-04 Thread Chris R. Martin

I have installed Debian 1.1.9 and xbase, xlib, xserver-svga, and fvwm
packages. I chose during xbase to use xdm to start x.. and during boot-up
I see the message "starting xdm".. however typing "xdm" at a root prompt
doesn't do anything. I tried xinit and got the following output:



XFree86 Version 3.1.2 / X Window System
(protocol Version 11, revision 0, vendor release 6001)
Operating System: Linux 
Configured drivers:
  SVGA: server for 8-bit colour SVGA (Patchlevel 0):
  et4000, et4000w32, et4000w32i, et4000w32p, et3000, pvga1, wd90c00,
  wd90c10, wd90c30, wd90c24, wd90c31, wd90c33, gvga, vgawonder,
  tvga8800cs, tvga8900b, tvga8900c, tvga8900cl, tvga9000, clgd5420,
  clgd5422, clgd5424, clgd5426, clgd5428, clgd5429, clgd5430, clgd5434,
  clgd5436, clgd6205, clgd6215, clgd6225, clgd6235, ncr77c22, ncr77c22e,
  cpq_avga, oti067, oti077, oti087, mx, al2101, ali2228, ali2301,
  ali2302, ali2308, ali2401, cl6410, cl6412, cl6420, cl6440, video7,
  ct65520, ct65530, ct65540, ct65545, ark1000vl, ark1000pv, ark2000pv,
  realtek, generic
(using VT number 7)

XF86Config: /usr/X11R6/lib/X11/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) Mouse: type: MouseMan, device: /dev/mouse, baudrate: 1200
(**) SVGA: Graphics device ID: "Stingray"
(**) SVGA: Monitor ID: "MAG17"
(--) SVGA: Mode "1280x1024" needs hsync freq of 78.86 kHz. Deleted.
(--) SVGA: Mode "1280x1024" needs hsync freq of 81.13 kHz. Deleted.
Warning: The directory "/usr/X11R6/lib/X11/fonts/Type1/" does not exist.
 Entry deleted from font path.
Warning: The directory "/usr/X11R6/lib/X11/fonts/Speedo/" does not exist.
 Entry deleted from font path.
Warning: The directory "/usr/X11R6/lib/X11/fonts/75dpi/" does not exist.
 Entry deleted from font path.
Warning: The directory "/usr/X11R6/lib/X11/fonts/100dpi/" does not exist.
 Entry deleted from font path.
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/"
TRANS(SocketUNIXConnect) () can't connect: errno = 111
giving up.
xinit:  Connection refused (errno 111):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.


I tried typing X, and got a Segmentation fault. 

How can I start X ?? The XF86Config looks okay.. my card should be set up
right. Why doesn't X start?

Thanks, Chris.

===
Chris R. Martin  email: [EMAIL PROTECTED]
 www: http://http.tamu.edu:8000/~crm7479

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


color for minicom?

1996-10-04 Thread Chris R. Martin

I installed the minicom package, but I cannot get any colors to work on
it. The screens always come up in plain grey on black.

I have all the ncurses stuff installed. Is there an env variable I need to
set or something?

Thanks, Chris.

===
Chris R. Martin  email: [EMAIL PROTECTED]
 www: http://http.tamu.edu:8000/~crm7479

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


IPFWADM and DIALD

1996-10-04 Thread Simon Martin
Hi all,

I sent a fairly long enquiry a couple of days ago but nothing happened. In
this case I would like to know who are the DIALD and IPFWADM maintainers so
that I can really get to grips with what is happening internally in these
packages and see if I can solve my problems.

Thanks.

"Simon Martin"<[EMAIL PROTECTED]>

"Old software engineers never die, they just fail to boot"

Any Trademarks used in this document are recognized as Registered
Trademarks of their respective owners.

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Oops! Shouldn't have deleted that file...

1996-10-04 Thread Servo
Uh... slight problem!

I was screwing with Apache... a non debian version.  I wanted to
totaly scrap the non deb version, and I deleted all the files.
And one too many..  Mainly '/etc/init.d/apache'  
That file shows being in the Apache 1.1.1-5(or some number like that)
debian release, but it does not install it

Could someone please send me that file, so that I can get apache to 
work again .. ;)

TIA
-- 
Daniel
==
http://www.jax-inter.net/users/servo/
Organizer of Jax-LUG!

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]