Linux-Networking Digest #783, Volume #10 Wed, 7 Apr 99 21:14:04 EDT
Contents:
Re: very slow responce from telnet, ftp and route ? (Jim Roberts)
Caching DNS and /etc/hosts entries? (Ben Hirashima)
Re: setting up apache (Jim Roberts)
Re: Mail bounce Suse 6.0 ("Gero H. Marten")
Various Questions About Hostname, DHCP, Gateway (K Lee)
Re: free computer11 (mark)
Re: free computer12 ("Richard Taylor")
Salvage ("Mark Kaplan")
Re: Deny telnet but allow mail? (Mike)
Re: Pcmcia 3Com Megahertz (Bernie Ott)
Re: Cable Modem Woes (Ron Watkins)
server assigned dns? (root)
Re: Can't browse remote Win clients using IP-Masq (Ron Watkins)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Jim Roberts)
Subject: Re: very slow responce from telnet, ftp and route ?
Date: Wed, 07 Apr 1999 19:36:43 GMT
In article <%cGO2.3786$[EMAIL PROTECTED]>,
"Marten" <[EMAIL PROTECTED]> writes:
> I just re-installed redhat 5.2 and i have knoticed that telnet and ftp
> session take ages to start (about 20-30 seconds). Also if i do a 'route' it
> take a long time as well ('route -n' works fast). Is this a DNS problem I
> have a caching only DNS running. Also DHCP and samba. Everything seems to
> run.
>
> thanks Marten
>
>
The short answer is YES. As Chris pointed out, your FQD needs
to be in the /etc/hosts file.
BTW, and FQD is a fully qualified domain name, ie: you.your.domain
--
Jim Roberts Never enough time!
[EMAIL PROTECTED]
------------------------------
Date: Wed, 07 Apr 1999 12:40:55 -0700
From: Ben Hirashima <[EMAIL PROTECTED]>
Subject: Caching DNS and /etc/hosts entries?
hi all. i have a linux box as a firewall to my network. i'm running a
caching-only dns server on the linux box. i'd like the dns server to
resolve the aliases in my /etc/hosts. it seems to already do this for
one of the entries, but not the others. from the perspective of a client
on my internal network, the dns server resolves www as
www.ourdomain.com, as it is in /etc/hosts. anyone know how to get the
dns server to use the rest of /etc/hosts?
cheers,
ben
------------------------------
From: [EMAIL PROTECTED] (Jim Roberts)
Subject: Re: setting up apache
Date: Wed, 07 Apr 1999 19:45:42 GMT
> Well, I don't have a network card. I didn't think I'd need one in order
> to run apache in isolation from a network. Am I mistaken?
>
> --albert
>
> On Wed, 7 Apr 1999, Holger Haeffelin wrote:
>
>> Are you sure, that your network card is set up properly ???
>>
>> grettings, Holger
>>
>>
>
You don't. But you will still need to set the the /etc/host.conf
file to tell networking to look at the /etc/hosts file.
Check the man page.
--
Jim Roberts Never enough time!
[EMAIL PROTECTED]
------------------------------
From: "Gero H. Marten" <[EMAIL PROTECTED]>
Subject: Re: Mail bounce Suse 6.0
Date: Wed, 07 Apr 1999 21:20:37 +0200
Bob wrote:
> Return-Path: <MAILER-DAEMON>
> Date: Tue, 6 Apr 1999 20:24:54 -0700 (PDT)
> To: bobwrob
> Subject: mail failed, returning to sender
> Reference: <[EMAIL PROTECTED]>
>
> |------------------------- Failed addresses follow: ---------------------|
> [EMAIL PROTECTED] ... transport inet_zone_bind_smtp: 501
> <[EMAIL PROTECTED]>... Sender domain must exist
> |------------------------- Message text follows: ------------------------|
> Received: by a1c61219.bconnected.net
> via sendmail with stdio
> id <[EMAIL PROTECTED]>
> for <unknown>; Tue, 6 Apr 1999 20:24:52 -0700 (PDT)
> (Smail-3.2 1996-Jul-4 #1 built 1999-Jan-20)
> Message-Id: <[EMAIL PROTECTED]>
> From: bobwrob
> Subject: testing
> To: [EMAIL PROTECTED]
> Date: Tue, 6 Apr 1999 20:24:52 -0700 (PDT)
> X-Mailer: ELM [version 2.4ME+ PL47 (25)]
> MIME-Version: 1.0
> Content-Type: text/plain; charset=US-ASCII
> Content-Transfer-Encoding: 7bit
> Content-Length: 9
>
> testing
As far as I can see, you tried to send an e-mail to a non existing
e-mail address.
--
Gero H. Marten
<http://www.provi.de/gmarten/index.html>
--
------------------------------
From: K Lee <[EMAIL PROTECTED]>
Subject: Various Questions About Hostname, DHCP, Gateway
Date: 7 Apr 1999 19:43:51 GMT
Hi!
I'm talking about us cablemodem users who are given dynamic IP addresses
having to use DHCPcd. We are given no hostnames at all from our ISP, but
my buddy just across town who have cablemodem with another ISP, which give
out static IP, they get to have a hostname such as 'maze.powersurfr.com'
when his IP address is 24.102.74.**. When doing an nslookup using his IP
address, I actually get 'maze.powersurfr.com' whereas when I do an
nslookup on myself with my IP, I only get '24.64.14.87.ab.wave.home.com'.
The reason I ask is because I'd like to setup a small network at home
where I'd have a Gateway setup using DHCPcd to obtain an ip from my ISP's
DHCP server and in turn use IP-MASQ to assign IPs for the computers I'll
have at home, behind the Gateway.
And I'm wondering if it's possible at all to be able to setup a hostname
on either the Gateway itself or any of the computers behind it? As well,
Can that Gateway double to act as a Firewall as well (I plan to use
ip-chains)?
Thank you very much in advance.
Steve
------------------------------
From: [EMAIL PROTECTED] (mark)
Crossposted-To:
comp.lang.basic.visual.misc,comp.lang.c,comp.lang.c++,comp.lang.java.programmer,comp.lang.javascript,comp.lang.perl.misc,comp.os.linux.advocacy,comp.os.linux.hardware,comp.os.linux.misc,comp.os.linux.setup,comp.os.os2.advocacy,comp.os.vms,comp.periphs.printers,comp.software.year-2000,comp.sys.amiga.misc,comp.sys.ibm.pc.games.action,comp.sys.ibm.pc.games.flight-sim,comp.sys.ibm.pc.games.rpg,comp.sys.ibm.pc.games.sports,comp.sys.ibm.pc.games.strategic,comp.sys.ibm.pc.hardware.chips
Subject: Re: free computer11
Date: Wed, 07 Apr 1999 19:39:59 GMT
[EMAIL PROTECTED] (webmaster) wrote:
>Free Computer at http://giveaways.arecool.net
>
>DELL IS GIVING AWAY 500 FREE PENTIUM 500 Computers to celebrate their 5th
>anniversary.
>
>Hurry and if you are one of the first 500 people you win a new computer!!!
Ignore this bullshit. They try to redirect you to some site, probably
a porn site, and the redirector closed the account down.
------------------------------
From: "Richard Taylor" <[EMAIL PROTECTED]>
Crossposted-To:
comp.lang.basic.visual.misc,comp.lang.c,comp.lang.c++,comp.lang.java.programmer,comp.lang.javascript,comp.lang.perl.misc,comp.os.linux.advocacy,comp.os.linux.hardware,comp.os.linux.misc,comp.os.linux.setup,comp.os.os2.advocacy,com
Subject: Re: free computer12
Date: Wed, 7 Apr 1999 21:35:49 -0300
Um, Dell is more than 5 years old.
webmaster <[EMAIL PROTECTED]> wrote in message
news:7eg4vf$bsp$[EMAIL PROTECTED]...
> Free Computer at http://giveaways.arecool.net
>
> DELL IS GIVING AWAY 500 FREE PENTIUM 500 Computers to celebrate their 5th
> anniversary.
>
> Hurry and if you are one of the first 500 people you win a new computer!!!
>
------------------------------
From: "Mark Kaplan" <[EMAIL PROTECTED]>
Subject: Salvage
Date: Wed, 7 Apr 1999 14:56:01 -0500
We are moving from Netware to Linux as our main file server. One of the
features we like about Netware is the "salvage" feature in which we can
resurrect the most recent version of files which the user has mistakenly
deleted. Is there a similar feature or add-on package for Linux which would
enable us to provide a similar service?
Mark Kaplan
[EMAIL PROTECTED]
------------------------------
From: Mike <[EMAIL PROTECTED]>
Subject: Re: Deny telnet but allow mail?
Date: Wed, 07 Apr 1999 16:46:41 -0400
Jason Turner wrote:
>
> I've done this by putting /dev/null as the login shell for a given user (edit
> /etc/passwd). Lets you choose which users get telnet and which don't.
A better solution would be to create a simple shell script like the one
below (that I use) that allows users to telnet in to change their
passwords, and that's all. Sure saves the headache of changing
passwords for the users.
Remember to add /usr/local/bin/pwchange to /etc/shells of course.
-- snip -----
zero:~$ cat /usr/local/bin/pwchange
#!/bin/sh
echo
echo
passwd
exit
-- snip ---
=======================================================================
Mike Stella Software / Systems Engineer
http://www.sector13.org/kazin Thirteen Technologies, LLC
kazin at sector13 dot org
=======================================================================
------------------------------
From: Bernie Ott <[EMAIL PROTECTED]>
Subject: Re: Pcmcia 3Com Megahertz
Date: Thu, 08 Apr 1999 00:46:26 GMT
NGO Kaluong wrote:
> I use a Linux Kernel 2.0.36. The system dectect my pcmcia card but i cannot
> use the network function with !
> Can someone help me !!!!!!
I just purchased a 3Com Megahertz 3c574B 10/100 card.
I got it working, but upon reboot it started giving me problems.
If you get any information about this card, please pass it along to me.
Thanks.
[EMAIL PROTECTED]
------------------------------
From: Ron Watkins <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Re: Cable Modem Woes
Date: Wed, 07 Apr 1999 12:56:21 -0700
Okay, then we need to fall back and figure out why. :-) The routing looks
correct. If you can ping yourself but nobody else, it sounds like either a
bad configuration of the network card (I/O port or IRQ conflicts) or a wiring
problem.
If this is a dual-boot box, have you tested the network in Windows? If it
works there, that will eliminate wiring as a potential issue. What kind of
network card do you have, and what IO and IRQ do you expect it to be on? How
is your network wired? If it's with coax, do you have terminating resistors
on both ends? If it's with RJ-45 connectors (twisted pair wire with big
phone jacks), are you getting a green link light on both ends?
What I'm seeing in your ifconfig is IRQ 10, port b000. That sounds like a PCI
card. What other cards do you have in the system? Do you have a
Soundblaster? They often have an IDE port that defaults to IRQ 10 and could
potentially be interfering. Even if it works in Windows, you may still have a
conflict in Linux; Windows is much smarter about changing card resources
around to avoid problems when it can.
Another thing to try if you're impatient waiting for me to get back to you is
to simplify the system as much as you can; pull all the cards you can while
still having a functioning machine. Basically, bring it up with a video card,
a network card, and a hard drive. That will help eliminate hardware conflicts
as a potential cause.
<<RON>>
Jason Lynch wrote:
>
> No dice on the 'route add default gw 24.2.221.1', getting anything to
> work. I can ping myself but eveything else just hangs. I'm using RH 5.1
> in case your curious. here is what I got when I typed 'route -n'
>
> Kernal IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 24.2.221.0 0.0.0.0 255.255.255.0 U 0 0 1 eth0
> 127.0.0.1 0.0.0.0 255.0.0.0 U 0 0 2 lo
> 0.0.0.0 24.2.221.1 0.0.0.0 UG 0 0 2 eth0
>
> Jason
> Ron Watkins wrote:
> >
> > I don't have your original numbers in front of me here. Those numbers look
> > correct to me for a standard network setup -- I have forgotten if you had a
> > different netmask. Were you told to use 255.255.255.0?
> >
> > Pending that answer, here's some things you can try.
> >
> > Before you do anything else, type 'route' in an Xterm or something and save
> > the results -- you may need to post them.
> >
> > Then try 'route add default gw 1.2.3.4', where 1.2.3.4 is the name of your
> > gateway. Then try pinging some names and numbers and see what you get. If
> > it's working, then we need to modify your installation to set up that default
> > route for you. Tell us what distro you're using and someone will probably
> > know how :-)
> >
> > If the route add default gw line doesn't work, post the original results from
> > the route command and let us noodle about it a bit. :-)
> >
> > I had a linux box that mysteriously dropped its default route about 5 minutes
> > after booting up, and I never did figure out what the problem was. I just
> > logged in and added the route after every reboot -- it was a bit of a pain,
> > but I rebooted it so infrequently that it was workable.
> >
> > <<RON>>
> >
> > Jason Lynch wrote:
> > >
> > > Right now I'm using a different ethernet card than they gave me and have
> > > been using it win98 & NT since I got it a few monthes ago. I called and
> > > asked beforehand and they said it would work fine.
> > >
> > > ifconfig eth0 reseults:
> > >
> > > eth0 Link encap:Ethernet HWaddr 00:A0:CC:3A:95:1B
> > > inet addr:24.2.221.82 Bcast:24.2.221.255 Mask:255.255.255.0
> > > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> > > RX packets:0 errors:1 dropped:0 overruns:0
> > > TX packets:0 errors:6 dropped:0 overruns:0
> > > Interrupt:10 Base address:0xb000
> > >
> > > Ron Watkins wrote:
> > > >
> > > > For testing the network, don't worry too much about the names. The names are
> > > > a layer grafted on over the numbers. If you can ping and traceroute to remote
> > > > numbers, you're fine -- to get the names working you just configure DNS.
> > > >
> > > > I understand many cable providers bind the service to a specific network
> > > > card. You may need to use the card they gave you. I'd check that first
> > > > thing.
> > > >
> > > > To get the network operational, all you really MUST have is the correct IP
> > > > address and gateway. The network mask is just for broadcasts, and USUALLY
> > > > will not interfere with your ability to connect. (in some cases it can but
> > > > not often.) You have to have the correct DNS number to get the friendly names
> > > > instead of numbers, but it isn't required for numbers-only operation.
> > > >
> > > > Try using 'ifconfig eth0' when logged in as root. That will tell you your
> > > > network configuration. You might copy and paste the output and let us take a
> > > > look at it.
> > > >
> > > > <<RON>>
> > > >
> > > > > Well after it boots up I pinged myself at 24.2.211.13 and it responded
> > > > > but it never ended. It went on and on and on. If I hadn't of killed it,
> > > > > I'm not sure if it would have stopped.
> > > >
> > > > It wouldn't. Unix ping goes on forever. Windows ping defaults to 4
> > > > repetitions. (if you want forever in Windows, use ping -t.)
> > > >
> > > > > I next tried to ping my default
> > > > > gateway but it failed completly. Any help, hints, suggestions would be
> > > > > helpful and greatly appreciated.
> > > >
> > > > Again, check to be sure you are using the same card that they gave you. If
> > > > not, call them and ask them if you can use a different ethernet card.
> > > >
> > > > I really do not understand why they do that -- it is such a hassle for the end
> > > > user. :(
> > > >
> > > > <<RON>>
------------------------------
From: root <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions,comp.protocols.ppp
Subject: server assigned dns?
Date: Wed, 07 Apr 1999 20:31:34 +0000
A lot of ISPs I've looked at recently seem to use the server assigned
DNS 'feature' of DUN under windows. I've yet to find a reference to a
way of duplicating this functionality under Linux. Am I just looking in
the wrong places or is this not possible under Linux? Any ideas?
TIA
Pat.
------------------------------
From: Ron Watkins <[EMAIL PROTECTED]>
Subject: Re: Can't browse remote Win clients using IP-Masq
Date: Wed, 07 Apr 1999 12:59:23 -0700
Usually the answer to cross-subnet browsing is WINS. DNS name services aren't
related to browse services at all. If you run a WINS server and get every
machine in the network pointed at it, your browse services will (normally)
magically start working.
<<RON>>
[EMAIL PROTECTED] wrote:
>
> I'm having the same problem. I have pretty much the same set-up, and I also
> can NOT see shares on the office network using either the Win systems on my
> home network OR smbclient directly from the linux box.
>
> I tried adding proxyarp to the pppd command but this did not fix the problem.
> My win98 Dial up Networking for the office dial-in has DNS set to be obtained
> automatically, I thought proxyarp was the linux equivalent, but I guess not.
> I also added the IP address of the Primary Domain Controller in resolv.conf as
> a nameserver. Still no luck.
>
> I was however able to dial in directly from the Win98 system, and (sometimes)
> get all the office computers AND home computers to show up in network
> neighborhood. This defeats the whole purpose of the linux system and IP
> Masquerade though.
>
> If you are able to get your set-up working they way you want, please post a
> reply or send me an e-mail describing how you did it.
> Ed
>
> In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] (John Morris) wrote:
> > I've setup a local network of Unix systems and Win95 + win NT clients
> > that are connected to my office net by Linux PPP into a Win NT server
> > RAS. I have TCP/IP working though the Linux box to the office net
> > using IP-Masq. I also have Samba runnng on the Linux box and it work
> > great with the Win clients.
> >
> > Now my problem... I can't use my local Win95 clients to browse the
> > office network using the "Network neighborhood" and forcing a browse
> > window using the Run box eg "\\offwin95". First, should this work
> > though Linux's IP_masq?
> > And if so, what do I need to tweak??
> >
> > Thanks,
> > John
> >
> > Note: A can do www browsing on the Internet and see shares on L,
> > but A cannot see the shares on N or O
> >
> > A L
> > +========+ +============+
> > | Win95 | |Linux/Samba |
> > | (local)| |IP/Masq |
> > +========+---------+Local Hub+----+============+-----<ppp>---+
> > |
> > N |
> >
> > +===========+
> > | Win/NT RAS|
> > | Server 4.0|
> > +Office Hub+-----------------------------------+===========+
> > ++++++++++++
> > | R | O
> > +======+ +=============+
> > |Router| | Other |
> > |to ISP| |Win95 clients|
> > +======+ +=============+
> > |
> > <Internet>
> >
>
> -----------== 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
******************************