Linux-Networking Digest #197, Volume #10         Sun, 14 Feb 99 00:13:38 EST

Contents:
  Can't check mail ("Stephen Thomas")
  Re: Can I setup a standalone Apache Server?? (L J Bayuk)
  Re: delayed initialization of eth0- what's that mean? help, please ("Lee Olson")
  Re: Cable modem ("Wadels")
  Re: Ethernet card quit (Harold Henry)
  radius nightmares ("Ken F")
  Re: GTE flamed linux for BillG (Joshua Lowe)
  Re: Converting Shell Account to PPP Connection Problem (David Efflandt)
  IPCHAINS and ip port forwarding (Kevin Dick)
  33.6 Modem problem ([EMAIL PROTECTED])
  Re: ipfwadm rule list (Rob)
  Re: ipfwadm or ipchains examples? (Rob)
  Re: where can i download 'isode-8.0' (grumpy)
  Re: Ah, come on!  Solaris is looking better that Linux! ([EMAIL PROTECTED])
  Re: Is there a command line dial program? (Juergen Heinzl)
  Re: Is there a command line dial program? (Kevin Dick)
  loopback interface set to disabled ("Mark Lopez")
  Re: How to boot with alternate IP address? (David Efflandt)
  mail config (pop3) (Mark Ellis)
  ppp-on: permission denied (Peter Pawlowski)
  Re: checksum compile error on kernel 2.2.1 pls help!! (Partha Sri)
  Re: NIC card and sound card: cohabitation ("William R. Mattil")
  Re: PPPD dialin... really close (David Efflandt)
  Re: How to boot with alternate IP address? (Juergen Heinzl)
  named help (Nightmare)

----------------------------------------------------------------------------

From: "Stephen Thomas" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.misc
Subject: Can't check mail
Date: Sat, 13 Feb 1999 19:56:17 -0600

Since I had a power outage and had to restart my Linux system I can't check
my e-mail from another system on the network. I am using Popper and get an
error that my other system can't connect to the server. I get no log
entries. I am fairly new to Linux so any help troubleshooting this would be
appreciated.

P.S. I don't know if it is related but I also can't connect to SWAT to
manage my Samba server. I can, however, connect to the web server on that
computer.

Thanks,
Steve



------------------------------

From: [EMAIL PROTECTED] (L J Bayuk)
Subject: Re: Can I setup a standalone Apache Server??
Date: 14 Feb 1999 02:00:55 GMT

[EMAIL PROTECTED] wrote:
>Hi,there:
>       I am a beginner to Linux network setup and I tried to setup an Apache
>web server on my PC. Is that possible for me to run an standalone Apache
>as a server for Netscape in my PC without connecting to internet. Do I had to
>get a IP address and domain name for my PC in order to run Apache. Is there any way 
>that I can
>emulate an "fake" IP address just for stand alone use within a PC. Or if I had
>to get a IP address, how can I get a IP and what is the cost?

Sure you can. You don't need an IP address other than loopback (127.0.0.1)
and you can use this to learn about Apache, HTML, CGI etc.
Your /etc/hosts file should have the usual "127.0.0.1 localhost" entry,
and your main Apache config file httpd.conf should include the line:
      ServerName localhost
Now apache will listen on the loopback connection only, and you can
connect to it with http://localhost/etc URLs.

------------------------------

From: "Lee Olson" <[EMAIL PROTECTED]>
Subject: Re: delayed initialization of eth0- what's that mean? help, please
Date: 14 Feb 1999 01:50:59 GMT

It works now :-)  Thanks for the help.   I think the problem was that my
ethernet card was set to use address 0x240, and Linux seems to like it to
use 0x300.  

Lee Olson



------------------------------

From: "Wadels" <[EMAIL PROTECTED]>
Subject: Re: Cable modem
Date: Fri, 12 Feb 1999 19:22:09 GMT

Some distributions are still libc5 based instead of what all the new
programs need to install, glibc2 (compile-time incl.). Caldera 1.3 is one
such dist. I don't know about your SuSE. If you have glibc2, you can install
dhcpcd (DHCP client daemon) to do the job. See www.linuxapps.com to find the
download page. If your Linux is not glibc2 based, you'll prob. have to
upgrade, unless your cable modem ISP will let you use static IP. Good luck.


Frederic Lemoine wrote in message <7a1434$p0o$[EMAIL PROTECTED]>...
>Hello,
>
>I'd like to connect to Internet through a cable modem (LANcity) under SuSe
>5.3
>
>Could anyone explain me what I should do ? As I'm a beginner I would very
>much appreciate a comprehensive answer.
>
>In my SuSe manual I don't find anything about DHCP client. Am I blind or is
>this technique not used in Linux, or does it have another name ?
>
>Thanks for your answer.
>
>Fred.
>
>



------------------------------

From: [EMAIL PROTECTED] (Harold Henry)
Subject: Re: Ethernet card quit
Date: 12 Feb 1999 18:20:13 GMT

Had the same thing happen to me, when I used sndconfig I always lost my 
ethernet card. I just rebooted and that fixed it. But I also got the
following updates which kept it from happening again.
 awesfx-0.4.2-1.i386.rpm
isapnptools-1.15a-3.i386.rpm
newt-0.30-2.i386.rpm
newt-devel-0.30-2.i386.rpm
sndconfig-0.27-1.i386.rpm



In article <[EMAIL PROTECTED]>,
        Izak Burger <[EMAIL PROTECTED]> writes:
> Your theory is right IMHO.  Although I have only seen this problem in
> Windoze, but it was irq's EVERY time.  You might need to fiddle with the
> /etc/isapnp.conf file to get the soundcard onto another irq/base.  Or if
> the soundcard is not pnp, you'll need to set jumpers.
> 
> regards
> Izak (From South Africa *g*)
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>                               ----==-- _                
>                               ---==---(_)__  __ ____  __
> Microsoft is not the answer.  --==---/ / _ \/ // /\ \/ /
> Microsoft is the question.    -=====/_/_//_/\_,_/ /_/\_\
> Linux is the answer: Because a PC is a terrible thing to waste.
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 
> On Fri, 12 Feb 1999, Ted wrote:
> 
>> On Redhat 5.2 ... I installed everything and the card was working just
>> fine, then I set up the sound (which worked fine). Now the ethernet card
>> won't work, natutally I figured that it had to do with conflicting IRQ's
>> but I can't figure out how to fix it... I will disable the sound if I have
>> to, but I'd like to have both. Does my IRQ theory sound right? What should
>> I do? 
>> 
>> [EMAIL PROTECTED]
>> 
>> Thanks,
>> Ted
>> 
>> 
>> 
>> 
>> 
> 

-- 


------------------------------

From: "Ken F" <[EMAIL PROTECTED]>
Subject: radius nightmares
Date: Fri, 12 Feb 1999 11:22:29 -0700

im moving my current linux server to another machine, a faster machine, i
moved and got the /etc/passwd file to function on the new machine, named,
httpd, i just dont know S#@t about radius, if theres anyone out there who
can help me with radius, id be much obliged....
theres too many details of what ive tried to list here... mail me if your a
radius guru, id greatly appreciate it
thanks



------------------------------

From: [EMAIL PROTECTED] (Joshua Lowe)
Crossposted-To: comp.os.linux.hardware,comp.dcom.xdsl
Subject: Re: GTE flamed linux for BillG
Date: Sun, 14 Feb 1999 03:06:00 GMT

On 11 Feb 1999 06:08:54 GMT, [EMAIL PROTECTED] (Miguel Cruz)
wrote:

>James  <[EMAIL PROTECTED]> wrote:
>> My isp, mtt.ca, will also terminate adsl service if the account is using
>> anything other than windows. Apparently, MacOs has crashed some systems,
>
>That's flat-out ridiculous. How can MacOS crash anything? What "some
>systems"? It's amazing how these people always think that working in a
>computer-related firm grants them carte blanche to talk out of their ass
>about things they don't even approach understanding.
>
>miguel

This clearly demonstrates that the ISP is too lazy to want to support
anything but Windows, so it rids itself entirely of the problem.  

The OS has nothing to do with crashing anything remotely.  Network
packets are network packets.  That's the entire point of networking.



------------------------------

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Converting Shell Account to PPP Connection Problem
Date: 14 Feb 1999 03:12:52 GMT
Reply-To: [EMAIL PROTECTED]

On Wed, 10 Feb 1999 00:35:07 GMT, Dan Crooks <[EMAIL PROTECTED]> wrote:
>I am trying to set up RH5.2 to allow Win98 users to login and establish
>a PPP connection.  At present they can successfully login to their shell
>account, but when they attempt to run the PPP script they see garbage
>(it starts with ~) on their end, and then get disconnected.
>
>I assume the garbage they are seeing is the PPP authentication, correct?

The ~ and other garbage is a sign that ppp negotiation is beginning.  But
if the remote user does not hit the 'Continue' button, nothing is going to
happen and the connection will time out.

>How do I troubleshoot this to figure out what is wrong?  The PPP script
>is executable by users, I aliased it in bashrc, and the contents of
>/etc/ppp/ppplogin:
>
>---------------
>#!/bin/sh
>#ppplogin - script to fire up pppd on request
>mesg n
>stty -echo
>exec pppd proxyarp
>---------------

And what options are you using?  Does your ppp server assign IP addresses
and are those listed in /etc/hosts?

To automate your connection see dialin.txt at
http://www.xnet.com/~efflandt/linux/

-- 
David Efflandt    [EMAIL PROTECTED]
http://www.xnet.com/~efflandt/

------------------------------

From: Kevin Dick <[EMAIL PROTECTED]>
Subject: IPCHAINS and ip port forwarding
Date: Fri, 12 Feb 1999 14:09:25 -0600

We're trying to use IP chains with our new 2.2.1 kernel.  Our big
problem at the moment is that we're unable to figure out from man pages,
HOWTO docs, news postings, etc. how to for the SMTP port on the external
(Internet) port to our internal (LAN) port.

All outbound ipchains work fine (except ftp-data, we're still wrestling
with this too).  Does anyone know for SURE if ipchains can do this?   We
seen some stuff on  ipportfw and ipmasqadm, but these seem like they're
only good for ipfwadm.

Please help if you can.  If you do, I'll send you a scan of a Dilbert
cartoon.

Kevin



------------------------------

From: [EMAIL PROTECTED]
Subject: 33.6 Modem problem
Date: Fri, 12 Feb 1999 20:03:54 GMT

  Hi.
  I have installed my Diamond Supra 33.6 modem under Linux with the
IsaPnPtools. It works when I send commands like:
  # echo 'atdt111/n' > /dev/modem
but it doesn't seem to work under minicom. You are unable to write.
In seyon there's no output in the terminal window but at least the modem
responds to the commands.

BDozer

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

------------------------------

From: Rob <[EMAIL PROTECTED]>
Subject: Re: ipfwadm rule list
Date: Sun, 14 Feb 1999 03:15:44 GMT

Chris Ellis wrote:
> 
> I have a question about how Linux goes through the rules to decide if a
> packet is accepted or not. Im running RH5.2 with ipfwadm as a firewall.
> 
> Given a default policy and a list of rules (lets say the incoming rules:
> ipfwadm -I -l), what is the procedure that linux goes through to accept
> or deny a packet. (like a flowchart)

Could only find an ipchains ref:

Check out http://www.rustcorp.com/linux/ipchains/HOWTO.html

-- 


  -----------------------------------------------------------------
               All men are mortal. Socrates was mortal. 
                  Therefore, all men are Socrates.
  -----------------------------------------------------------------

------------------------------

From: Rob <[EMAIL PROTECTED]>
Subject: Re: ipfwadm or ipchains examples?
Date: Sun, 14 Feb 1999 03:16:32 GMT

bgeer wrote:
> 
> "Gavin Cato" <[EMAIL PROTECTED]> writes:
> 
>  >Hello All,
> 
>  >Can anyone give me some examples configs of using ipfwadm (or preferably
>  >ipchains) of setting up a Linux box as a firewall (blocking certain udp/tcp
>  >based ports) and acting as a NAT box for machines connected via ethernet
>  >assuming the linux box has a internet connection through eth0?

Try:

http://www.rustcorp.com/linux/ipchains/HOWTO.html


-- 


  -----------------------------------------------------------------
               All men are mortal. Socrates was mortal. 
                  Therefore, all men are Socrates.
  -----------------------------------------------------------------

------------------------------

From: grumpy <[EMAIL PROTECTED]>
Crossposted-To: comp.protocols.snmp
Subject: Re: where can i download 'isode-8.0'
Date: Fri, 12 Feb 1999 20:12:52 GMT

The last public version of isode 8.0 patched for use with gateD

http://www.gated.org/gated-web/code/doc/info/snmp/snmp.html

I wouldn't use it too much.. UCD SNMP is an excellent implementation...

------------------------------

From: [EMAIL PROTECTED]
Subject: Re: Ah, come on!  Solaris is looking better that Linux!
Date: Fri, 12 Feb 1999 20:05:39 GMT

On Fri, 12 Feb 1999 18:06:14 GMT, [EMAIL PROTECTED] wrote:

>On 11 Feb 1999 20:57:04 GMT, r d t@c s.q u e e n s u.c a (Bob Tennent)
>wrote:
>
>>On 11 Feb 1999 02:34:45 GMT, Penn Stater wrote:
>> >
>> >I installed Red Hat 5.2 in my P100 w/ 64 MB of RAM.  The network card is a 3Com 
>> >Etherlink III (3C509B).  I disabled the plug and play feature of the card.
>> >
>> >The card is working because I can see packets flying across the network both to 
>> >and from my Linux box.
>> >
>> >But I cannot establish any kind of connections, whether they are to or from 
>> >Linux. I've tried ftp, http, rlogin, ping, telnet, and others.  Requests always 
>> >go out, the programs never time out, but connections are never established.
>> >
>>You give virtually nothing of any use in debugging your problem.
>>Is your card detected by the kernel?  What do you get if you do
>>ifconfig?  Have you tried to use netcfg?  Have you really read
>>the NET-3-HOWTO and the Network Administrators Guide?  
>>
>>If you want help, you've got to ask the right questions, not just whine.
>>
>>Bob T.
>
>
>don't you have vetrin vs newby posts. You are corect but let's be
>polite to the newcommers
oopt...that is supost to reat dont you hate vetrin vs newby posts

------------------------------

From: [EMAIL PROTECTED] (Juergen Heinzl)
Subject: Re: Is there a command line dial program?
Date: Fri, 12 Feb 1999 20:41:42 GMT

In article <7a1nps$f5n$[EMAIL PROTECTED]>, sx wrote:
>I am looking for a command line dial program, I can't use minicom.
>I want to use EXPECT to create the dialup script.

You can use cu, ckermit or chat, depends on what you want
to do. Chat is usually used to get connected via ppp and comes
with pppd.

Cheers,
Juergen

-- 
\ Real name     : J�rgen Heinzl                 \       no flames      /
 \ EMail Private : [EMAIL PROTECTED] \ send money instead /
  \ Phone Private : +44 181-332 0750              \                  /

------------------------------

From: Kevin Dick <[EMAIL PROTECTED]>
Subject: Re: Is there a command line dial program?
Date: Fri, 12 Feb 1999 14:16:49 -0600


"chat" works fine for scripting if you're meaning to invoke it via
pppd.   Both of which can be invoked on a command line or better yet
with a shell script for quality control.

sx wrote:

> I am looking for a command line dial program, I can't use minicom.
> I want to use EXPECT to create the dialup script.
> Thanks.


------------------------------

From: "Mark Lopez" <[EMAIL PROTECTED]>
Subject: loopback interface set to disabled
Date: Sun, 14 Feb 1999 03:30:34 GMT

Running RedHat 5.2. My loopback interface has been disabled ,netstat-i only
shows eth0 interface. I can see the ifcfg-lo script appears right. No errors
in /var/log/messages or /var/log/dmesg.

Any ideas would be appreciated.


Mark



------------------------------

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: How to boot with alternate IP address?
Date: 14 Feb 1999 03:37:10 GMT
Reply-To: [EMAIL PROTECTED]

On 12 Feb 1999 01:44:44 GMT, Gregory Owen <[EMAIL PROTECTED]> wrote:
>
>       Hi,
>
>       I would like to set up my Linux box so that I can have it boot
>into one or the other of two networking layouts.  In other words, a
>boot-time switch to pick which /etc/sysconfig/network and
>/etc/sysconfig/network-scripts/ifcfg-eth0 set to use.
>
>       The situation is that I'm building a new network, and there is
>not yet a connection between the new network and my existing network.
>When I want to log into various machines in the new network, I'd like
>to shut down, swap from "Network A" ether cable to "Network B" ether
>cable, and then boot up with the appropriate info for "Network B."
>
>       Has anyone done anything like this, or does anyone have any
>suggestions/pointers as to what I should read?

RedHat has a linuxconf tool that can set up multiple system profiles and
can switch between them without having to reboot.  Since you don't say
what system you are running, you may already have this and not know it.

>-- 
>    gowen -- Greg Owen -- [EMAIL PROTECTED]
>    [EMAIL PROTECTED]   [EMAIL PROTECTED]


-- 
David Efflandt    [EMAIL PROTECTED]
http://www.xnet.com/~efflandt/

------------------------------

From: Mark Ellis <[EMAIL PROTECTED]>
Subject: mail config (pop3)
Date: Fri, 12 Feb 1999 20:56:46 +0000

Hi all,
Having trouble with email via an ISP. Sending is fine, recieving is
trickier.

Running fetchmail, I can recieve fine by passing to procmail (via mda
directive) but due to local setup this isn't ideal, I'd prefer to
recieve direct on port 25 and then go to smail. When running fetchmail
without procmail, I get :

fetchmail: xx messages for oronis at mail.globalnet.co.uk
reading message 1 of xx (xxxx bytes) .fetchmail: SMTP connect to
ElCapitan failed
fetchmail: SMTP transaction error while fetching from
mail.globalnet.co.uk

Smail is invoked under inetd rather than as daemon, so this looks to me
like fetchmail cant kick inetd into action, but why ? Line from
inetd.conf is :

smtp            stream        tcp            nowait        root
/usr/sbin/in.smtpd        /usr/sbin/in.smtpd

Any ideas ? Distribution is debian, if that helps.

Mark



------------------------------

From: Peter Pawlowski <[EMAIL PROTECTED]>
Subject: ppp-on: permission denied
Date: Sat, 13 Feb 1999 22:19:59 -0600

  I recently installed Red Hat release 5.0 on my AMD K6-2; trying to get
PPP to work, I got the source for the newest kernel, 2.2.1, and compiled
the new kernel. The kernel functions as before, but I still can't get
PPP to work. Each time I try to run the ppp-on script, it says
permission denied; YES, I AM LOGGED ON AS ROOT. I would greatly
appreciate any help.

-Peter


------------------------------

From: Partha Sri <[EMAIL PROTECTED]>
Subject: Re: checksum compile error on kernel 2.2.1 pls help!!
Date: Sat, 13 Feb 1999 22:03:49 -0600
Reply-To: [EMAIL PROTECTED]

The Extremist wrote:

> Please reply to the newsgroup as this email will not be valid for
> sometime.
>
> thanks
> Partha

Hi :

Sorry for this goofup.. it was my bad.. when i untarred 2.2.1 i still
had the linux link pointing to 2.0.36 and it overwrote/didn't
overwrite.. kinda stuff and there was I hanging..
Now i am happily surfing with 2.2.1..

thanks
Partha


------------------------------

From: "William R. Mattil" <[EMAIL PROTECTED]>
Subject: Re: NIC card and sound card: cohabitation
Date: Fri, 12 Feb 1999 15:24:38 -0600

Michel Prevost wrote:
> 
> HI all
> 
> I have a little problem. When I installed RedHat 5.2, everything went
> fine except the sound card didn't work. issuing the command 'cat
> /dev/sndstat' would display no information on the device.
> 
> So, I compiled a new kernel, and configured the sound properly. I know
> it because it worked. Didn't change anything else when I configured the
> kernel.
> 
> The sound card worked, but no network anymore. When booting the new
> kernel, I can see the "Delaying initialization of eth0". Huh?
> 
> When I boot the original kernel, no problem, the network works. But no
> sound......
> 
> So I can't have the best of 2 worlds for now. I tried a couple of
> things, like putting the following line in /etc/lilo.conf:
> 
> append="ether=10,0xc000,eth0"
> 
> then ran "lilo", rebooted, still no network (but great sound, though ;-)
> 
> I ran "netconfig", saw that the device was deactivated, so tried to
> activate it, didn't work. Even rebooted, still no result, besides the
> great sound.
> 
> It may be worth mentioning here that there is no hardware conflict for
> sure (because if I boot Win98, both devices work, and I don't mean here
> that Windoze is better than the beloved Linux, au contraire).
> 
> Any clue anyone?
> 


I am curious, what crystal ball told you that there was no hardware
conflict ?

It doesn't take a Rocket Scientist to figure out that this is exactly
what the problem most likely is. The network card is most likely plug
and pray
and in your case :) the prayer is not answered. You will need to force
the NIC to some other IRQ (10,11..etc) So that IRQ 5 is available for
the Sound Card. There should be a program of some kind that you can use
to disable plug and pray on the NIC and force it to Where *you* want it
to be. Then the lilo append line should be edited appropriately.

Linux requires that you know your hardware.....


Regards
Bill
-- 
William R. Mattil       |  
SSCFI System Admin      |  This space for rent
(972) 399-4106          |

------------------------------

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: PPPD dialin... really close
Date: 14 Feb 1999 04:27:09 GMT
Reply-To: [EMAIL PROTECTED]

On Fri, 12 Feb 1999 17:58:55 -0500, Dan Tager <[EMAIL PROTECTED]> wrote:
>When trying to dialin from windoze 95/98 box to pppd 2.2.0f I get the
>following error in syslog...
>
>Feb 12 17:32:25 silver pppd[699]: Peer is not authorized to use remote
>address
>205.133.98.30

Probably because you are asking the Windows 'machine' (hostname of 
205.133.98.30) to authenticate itself instead of the remote user.  Try
removing the +pap.  Also unless you are using IP's that you got from
your ISP, you should use IP's in the private range.  Your nameservers do
not resolve.

>options file...
>205.133.98.10:205.133.98.30
>dns-addr 205.133.98.10
>dns-addr 199.210.133.2
>asyncmap 0
>crtscts
>lock
>modem
>netmask 255.255.255.0
>+pap
>proxyarp
>login
>lcp-echo-interval 30
>lcp-echo-failure 4
>
>
>Any clues?

dialin.txt at http://www.xnet.com/~efflandt/linux/

-- 
David Efflandt    [EMAIL PROTECTED]
http://www.xnet.com/~efflandt/

------------------------------

From: [EMAIL PROTECTED] (Juergen Heinzl)
Subject: Re: How to boot with alternate IP address?
Date: Sun, 14 Feb 1999 04:23:06 GMT

In article <[EMAIL PROTECTED]>, David Efflandt wrote:
>On 12 Feb 1999 01:44:44 GMT, Gregory Owen <[EMAIL PROTECTED]> wrote:
[...]
>>      I would like to set up my Linux box so that I can have it boot
>>into one or the other of two networking layouts.  In other words, a
>>boot-time switch to pick which /etc/sysconfig/network and
>>/etc/sysconfig/network-scripts/ifcfg-eth0 set to use.
>>
>>      The situation is that I'm building a new network, and there is
>>not yet a connection between the new network and my existing network.
>>When I want to log into various machines in the new network, I'd like
>>to shut down, swap from "Network A" ether cable to "Network B" ether
>>cable, and then boot up with the appropriate info for "Network B."
>>
>>      Has anyone done anything like this, or does anyone have any
>>suggestions/pointers as to what I should read?
>
>RedHat has a linuxconf tool that can set up multiple system profiles and
>can switch between them without having to reboot.  Since you don't say
>what system you are running, you may already have this and not know it.

...
ifconfig eth0  down
ifconfig eth0  195.211.21.1
route add -net 195.211.21.0
... and there you are.
reboot and all that. You main problem will be the /etc/hosts since your
address changes, although if you can live with a different host name
add one.

This is not distribution specific, no Unix system needs to be rebooted
for stuff like that.

Cheers,
Juergen

-- 
\ Real name     : J�rgen Heinzl                 \       no flames      /
 \ EMail Private : [EMAIL PROTECTED] \ send money instead /
  \ Phone Private : +44 181-332 0750              \                  /

------------------------------

From: Nightmare <[EMAIL PROTECTED]>
Subject: named help
Date: Sun, 14 Feb 1999 04:10:42 GMT

I'm attempting to get named working as a cacheing name server.  I followed the
instructions in the DNS-HOWTO, but it doesn't seem to be working.

First off, I'm using the Slackware 3.5 release with the kernel updated to
2.0.35.  I am using this system as an Internet gateway using diald.

Here are the config files I'm using for named:

/etc/named.conf:

___________________________________________________________________
// Config file for caching only name server

options {
        directory "/var/named";

        // Uncommenting this might help if you have to go through a
        // firewall and things are not working out:

        // query-source address * port 53;
}

zone "." {
        type hint;
        file "root.hints";
};

zone "0.0.127.in-addr.arpa" {
        type master;
        file "pz/127.0.0";
};
___________________________________________________________________

/var/named/pz/127.0.0:

___________________________________________________________________
@               IN      SOA     linux.bogus. hostmaster.linux.bogus. (
                                1       ; Serial
                                8H      ; Refresh
                                2H      ; Retry
                                1W      ; Expire
                                1D)     ; Minimum TTL
                        NS      ns.linux.bogus.
1                       PTR     localhost.
___________________________________________________________________

/var/named/root.hints:

___________________________________________________________________
; <<>> DiG 8.1 <<>> @e.root-servers.net
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10
;; flags: qr aa rd; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 13
;; QUERY SECTION:
;;      ., type = NS, class = IN

;; ANSWER SECTION:
.                       6D IN NS        A.ROOT-SERVERS.NET.
.                       6D IN NS        H.ROOT-SERVERS.NET.
.                       6D IN NS        B.ROOT-SERVERS.NET.
.                       6D IN NS        C.ROOT-SERVERS.NET.
.                       6D IN NS        D.ROOT-SERVERS.NET.
.                       6D IN NS        E.ROOT-SERVERS.NET.
.                       6D IN NS        I.ROOT-SERVERS.NET.
.                       6D IN NS        F.ROOT-SERVERS.NET.
.                       6D IN NS        G.ROOT-SERVERS.NET.
.                       6D IN NS        J.ROOT-SERVERS.NET.
.                       6D IN NS        K.ROOT-SERVERS.NET.
.                       6D IN NS        L.ROOT-SERVERS.NET.
.                       6D IN NS        M.ROOT-SERVERS.NET.

;; ADDITIONAL SECTION:
A.ROOT-SERVERS.NET.     5w6d16h IN A    198.41.0.4
H.ROOT-SERVERS.NET.     5w6d16h IN A    128.63.2.53
B.ROOT-SERVERS.NET.     5w6d16h IN A    128.9.0.107
C.ROOT-SERVERS.NET.     5w6d16h IN A    192.33.4.12
D.ROOT-SERVERS.NET.     5w6d16h IN A    128.8.10.90
E.ROOT-SERVERS.NET.     5w6d16h IN A    192.203.230.10
I.ROOT-SERVERS.NET.     5w6d16h IN A    192.36.148.17
F.ROOT-SERVERS.NET.     5w6d16h IN A    192.5.5.241
G.ROOT-SERVERS.NET.     5w6d16h IN A    192.112.36.4
J.ROOT-SERVERS.NET.     5w6d16h IN A    198.41.0.10
K.ROOT-SERVERS.NET.     5w6d16h IN A    193.0.14.129
L.ROOT-SERVERS.NET.     5w6d16h IN A    198.32.64.12
M.ROOT-SERVERS.NET.     5w6d16h IN A    202.12.27.33

;; Total query time: 356 msec
;; FROM: st-gate to SERVER: e.root-servers.net  192.203.230.10
;; WHEN: Tue Feb  9 22:02:11 1999
;; MSG SIZE  sent: 17  rcvd: 436
___________________________________________________________________

/etc/resolv.conf:

___________________________________________________________________
domain texas.net
search texas.net
nameserver 127.0.0.1
___________________________________________________________________

Okay, now here is the relevant portion of /var/log/messages that I get when
running "ndc start":

___________________________________________________________________ Feb 13
21:27:47 st-gate named[607]: starting.  named 8.1.2 Sat May 23 13:48:59 CDT
1998 ^Iroot@darkstar:/tmp/BIND-8.1.2-REL/src/bin/named Feb 13 21:27:47
st-gate named[607]: master zone "0.0.127.in-addr.arpa" (IN) loaded (serial 1)
Feb 13 21:27:47 st-gate named[607]: listening on [127.0.0.1].53 (lo) Feb 13
21:27:47 st-gate named[607]: listening on [192.168.2.1].53 (eth0) Feb 13
21:27:47 st-gate named[607]: listening on [209.99.50.67].53 (ppp0) Feb 13
21:27:47 st-gate named[607]: Forwarding source address is [0.0.0.0].1057 Feb
13 21:27:47 st-gate named[608]: Ready to answer queries. Feb 13 21:27:59
st-gate named[608]: No root nameservers for class IN Feb 13 21:27:59 st-gate
named[608]: sysquery: findns error (SERVFAIL) on ns.linux.bogus?
___________________________________________________________________

Starting nslookup is okay, but when I try to query a domain name, it doesn't
work.  What am I doing wrong?  (BTW - I have a Win95B and a Win98 machine
hooked up via Ethernet, and I want to configure both to use the Linux box as
the DNS server.)

Thanks in advance for any assistance anyone can provide.

Bill

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

------------------------------


** 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.networking) 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-Networking Digest
******************************

Reply via email to