Linux-Networking Digest #768, Volume #10 Tue, 6 Apr 99 17:13:44 EDT
Contents:
Re: Problems with my PPP connection (Jon-o Addleman)
Simple route problem (I think) on RH 5.2 using ADSL ("Mihai Petre")
Re: qmail hell ("The Lone Scribe")
routing question ("Joshua D Rusch")
Re: New to Linux, needs documentation (Wouter Liefting)
Re: Linux as NT server (Steve Rollinson)
Dial into NT server ("Andy Barnhart")
1 IP address, 2 machines (KK)
Configure the TELES 16.3 ISDN card (Sasa Ostrouska)
Re: Pinging (TurkBear)
Re: Can the IP address on ppp0 & eth0 be the same? (Ron Watkins)
Re: Pinging (Dirk Geschke)
Can Sendmail/Fetchmail do what Pegasus does? (Rino Perri)
Re: setting up a telnet host ("The Lone Scribe")
Re: How to set the NIC parament in Linuix? (Ron Watkins)
Re: exporting / in nfs question (Dirk Geschke)
speeding up connection.... (the biscuit)
Re: Encripted password (Ido Dubrawsky)
Re: Network transfer rates... whats up? (Robert Escue)
Re: 2nd DNS server ("The Lone Scribe")
Re: Problem with modem after kernal upgrade to 2.2.3 (Les Hazelton)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Jon-o Addleman)
Subject: Re: Problems with my PPP connection
Date: Tue, 06 Apr 1999 16:54:35 GMT
Once upon a Mon, 05 Apr 1999 11:42:48 -0700, Suresh
<[EMAIL PROTECTED]> wrote:
>Hi,
>I am trying to connect to my ISP (for Internet access ofcourse). I am
>using "minicom" . My modem (US Roboctic PCI 56K ) is connected to
>device /dev/ttyS1 (com2).
>My /etc/resolve.conf is as follows
>
>nameserver 199.182.120.203
>nameserver 199.182.120.202
>
>They are the IP addresses of my DNS of the ISP. Its a PPP connection.
>When i try to connect it kicks me out after 5 seconds and i get NO
>CARRIER message. If i try to use the internet within those 5 seconds i
>get " DNS entry not found" error in my netscape. I am using Redhat 5.2
>and its really annonying as i have been trying this for couple of weeks
>now and i have no idea whats going on. I would really appreciate if some
>one could help me out of this.
Well, the reason you're getting DNS errors is simple: when you have no
connection, netscape attempts to look up the hostname of the web page
to get its IP (i.e. to translate www.netscape.com to 153.68.37.6 or
whatever), but since the network link isn't up yet, it can't do that.
If your modem is hanging up immediately like that, there's almost no
chance that it is actually getting a ppp connection at all. I suggest
you read the ppp-howto and follow the instructions for connecting
manually. (note that you should find out if your ISP uses PAP, CHAP or
a login authentication, since they all require different setups).
--
Jon-o Addleman
------------------------------
From: "Mihai Petre" <[EMAIL PROTECTED]>
Subject: Simple route problem (I think) on RH 5.2 using ADSL
Date: 6 Apr 1999 16:53:20 GMT
Hi,
I.m having a verry frustating experience with a RH 5.2 and a ADSL modem.
The ip is static.the netmask is 255.255.255.248
Both cards are recognized at boot time.
I can ping both of them and I can assign ip on them.The cards are working.
The ADSL modem is *.* 218.97
In win95 I don't have any problems conecting by specifying this ip as
gateway.The connection is ok.
Now the problem :
I have like this
*. *. 218.99 - eth0
192.168.2.14 - eth1
route
Destination Gateway Genmask Flags Metric
Ref Use Iface
*. *. 218.96 * 255.255.255.248 U 1
0 eth0
192.168.2.0 * 255.255.255.0 U 0
0 0 eth1
127.0.0.0 * 255.0.0.0 U
0 0 0 lo
default *. *. 218.97 0.0.0.0 UG 1
0 0 eth0
If I do a ping to *.*.218.97 I have an answer so the cable to ADSL modem is
working BUT if I try to do a ping to an ip somewhere on the net (lets say
the ip for bell or netscape) I have no answer.None.Not even the message
network unreacheable.
I tried also by specifying the default to *. *. 218.99 but nothing.
I don't know what else to try .
Thanx for your time
Mihai
------------------------------
From: "The Lone Scribe" <[EMAIL PROTECTED]>
Subject: Re: qmail hell
Date: Tue, 6 Apr 1999 13:00:25 -0700
[EMAIL PROTECTED] wrote in message <7e91ea$iki$[EMAIL PROTECTED]>...
>I just want to be able to email the machine that is 3 feet from me, but
qmail
>tries to lookup alll names with DNS. I have my host.conf set to hosts,
bind
>and the name and ip of the machine in my hosts file. Why can i not make it
>realize that the machine is local
Why not just install DNS and be done with it? You need to edit
/etc/named.boot and create or edit files in /var/named. You can find out how
to edit these by reading /usr/doc/HOWTO/DNS-HOWTO if you have one, or by
going to http://www.digitalvoodoo.org/LDP/HOWTO/DNS-HOWTO.html. DNS isn't
all that hard to get up and running, and it'll be good experience for you.
------------------------------
From: "Joshua D Rusch" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.ms-windows.networking.tcp-ip
Subject: routing question
Date: Tue, 6 Apr 1999 12:54:40 -0400
I want to route between two subnets in my building to speed up resource
sharing between 2 differeny companies. Both are connected to the internet
independently. I want to be able to route to the other subnet without taking
the 20 or so hops through the internet to get there. Do I need another
network card to accomplish this or is there a way to do this with adding
another network(alias) to the same network card and then connecting our
hubs together??? Any help will be greatly appreciated. I will be glad to
provide any extra info if you need it to help. Later
------------------------------
From: Wouter Liefting <[EMAIL PROTECTED]>
Subject: Re: New to Linux, needs documentation
Date: Tue, 06 Apr 1999 17:49:54 +0200
Michel Harding wrote:
> Hi,
> Now a problem I have is that most of the stuff starts OK, but sendmail
> is slow to start (looking for something and then time's out), so is
> htppd, smb, ...
When sendmail is slow to start, and other services as well (typical timeout
3 minutes or so) it usually means a DNS problem - usually your inverse
address lookup which isn�t configured correctly.
If DNS is configured correctly, you should be able to do, FOR each of the
systems in your network and ON each of the systems in the network:
nslookup <hostname of system>
nslookup <IP address of system>
Also, nslookup loopback, nslookup localhost and nslookup 127.0.0.1 should
work on every system
If these fail, you have found the problem, and you should check the DNS.
Another solution is simply not to use DNS at all, and just fill out
/etc/hosts correctly and copy it onto every system in the network. DNS
inverse addressing can be pretty hard to set up. Read the documentation
carefully!
- Wouter.
===================
#include <std_disclaimer.h>
------------------------------
From: Steve Rollinson <[EMAIL PROTECTED]>
Subject: Re: Linux as NT server
Date: Wed, 07 Apr 1999 00:07:09 +0800
Of course you will need some processes running in the background to slow things down. A
couple of POV renderings should do the trick - while running a disk defrag maybe.
Steve
(Cynicism is all a con, you know.)
Richard Pitt wrote:
> Greg Weeks wrote:
> >
> > In article <[EMAIL PROTECTED]>,
> > Richard Pitt <[EMAIL PROTECTED]> writes:
> > > "William R. Mattil" wrote:
> > >>
> > >> Mogul 55 wrote:
> > >>
> > >> > i want linux to act as an NT server would. The clients are running Win 98.
> > >> > The big thing is i want the linux box to validate the users that are on the
>Win
> > >> > 98 PCs..
> > >> > Some one please help
> > >> >
> > >> > Thanks in advance
> > >> > [EMAIL PROTECTED]
> > >>
> > >> The easy part will be samba ......... the far more difficult part to try and
> > >> duplicate will be the infamous "blue-screen-of-death". This is as far as I can
> > >> tell a Micro$oft monopoly.
------------------------------
From: "Andy Barnhart" <[EMAIL PROTECTED]>
Subject: Dial into NT server
Date: Tue, 6 Apr 1999 13:02:26 -0400
I haven't received a single response (or seen any in news, which may be the
fault of my ISP) to this. Surely someone is doing this. I would appreciate
any help you could offer.
> I have an NT server at my office that I can dial into. Besides providing
> access to my LAN, it provides IP. That's all I really want as far as a
Linux
> connect goes. I changed the server to allow non encrypted logins. I tried
> using the instructions in the HowTo on connecting to an ISP. I tried the
> Network Configuration under the control panel in X windows. In either
case,
> the modem calls in and connects, but I never get an IP address and after a
> few minutes it disconnects. I am running Red Hat 5.1, and I am still very
> new to Linux, so please be explicit about commands to use. I can change
> parameters on the NT server, which I am much more familiar with. Also, I
> would appreciate a CC by email on replies. I will come back and look for
> them, but my ISP doesn't seem to get all messages in a timely fashion.
>
> Thanks!
> -Andy
>
>
------------------------------
From: KK <[EMAIL PROTECTED]>
Subject: 1 IP address, 2 machines
Date: Tue, 06 Apr 1999 09:57:59 -0700
I have a DSL with 1 IP address. I also have 2 machines. One is a server
that needs to be accessible from the outside for telnet, ftp, http. I
also have a machine on the inside that is just for outbound (private
network to internet) connections.
My question is how exactly do I use masquerading so that requests to the
server from the outside reach the server (for cisco, this would be a
static address (map of external to internal addresss), while being able
to make the outbound connections from the other machine? In my mind, you
can only map that 1 real IP address to the server, and will not be able
to surf out because all calls to all ports of that IP address will be
mapped to the server.
Someone please tell me I'm wrong, and that there is a way to do this.
Thanks,
-Kent
------------------------------
From: Sasa Ostrouska <[EMAIL PROTECTED]>
Subject: Configure the TELES 16.3 ISDN card
Date: Tue, 06 Apr 1999 18:09:44 +0200
Hi !
Can anybody tell me how to configure the TELES 16.3 ISDN
internal card in Linux.
Or if there is an ISDN how to out there and where can i find it.
Thank you in advance
Sasa
------------------------------
From: [EMAIL PROTECTED] (TurkBear)
Subject: Re: Pinging
Date: Tue, 06 Apr 1999 17:02:56 GMT
Reply-To: [EMAIL PROTECTED]
After startup...try
cat /var/log/messages
or ( at least on RedHat)
dmesg
This will show you what took place during startup....
Hope it helps...
"David Claney" <dclaney@qa(Spamfree)display.com> wrote:
>trying to determin whether the nic card is being recognized durring startup,
>is there any way to go through start up one line at a time; it tends to
>scroll by too fast.
>i am greatly appreciative of the response to posting.
>
>Dclaney@qa(nospam)display.com
>"remember the Rules in playing hacky sack? Never say 'sorry' "
>
>
>
To reply please remove the 'nospam' part of the address
------------------------------
From: Ron Watkins <[EMAIL PROTECTED]>
Subject: Re: Can the IP address on ppp0 & eth0 be the same?
Date: Tue, 06 Apr 1999 12:14:52 -0700
Absolutely not -- each IP address must be unique, unless you're running some
very strange routing software. :-)
What you're probably trying to do is called IP Masquerading, and you probably
want to set your eth0 network segment to be in 192.168.0.X -- that's a fake
network used for exactly this purpose.
<<RON>>
Head Spark wrote:
>
> When setting up a real IP address to be connected to the internet via modem
> (ppp0) do you set the ethernet card (eth0) to the same IP address as the
> ppp0 to reach the "rest" of the internal network (ie another box with a
> different (same subnet) real IP address).
>
> Help appreciated - or a pointer to a how-to.
------------------------------
From: [EMAIL PROTECTED] (Dirk Geschke)
Subject: Re: Pinging
Date: 6 Apr 1999 17:06:39 GMT
In article <7edaih$4o0$[EMAIL PROTECTED]>,
"David Claney" <dclaney@qa(Spamfree)display.com> writes:
> trying to determin whether the nic card is being recognized durring startup,
> is there any way to go through start up one line at a time; it tends to
> scroll by too fast.
> i am greatly appreciative of the response to posting.
Easy solution:
Try <shift>+<PgUp> after booting. This brings back the offscrolled
lines.
Other possibilities are the command dmesg or the file (if
exist) /var/log/boot.msg.
Dirk
--
=====================================================================
| Dirk Geschke | e-mail: [EMAIL PROTECTED] |
| Universit"at Gh Kassel | Tel. : 0561/804-4581 |
| Fachbereich Physik | Heinrich-Plett-Stra/3e 40 |
| Theoretische Physik | 34132 Kassel |
=====================================================================
------------------------------
From: [EMAIL PROTECTED] (Rino Perri)
Subject: Can Sendmail/Fetchmail do what Pegasus does?
Date: Tue, 06 Apr 1999 16:41:41 GMT
Reply-To: [EMAIL PROTECTED]
I have recently installed slackware 3.6 on my PC and I am eager to
start sending/receiving mail from my linux box (I connect to my ISP
through PPP).
I am used to Win95 mail programs such as Pegasus Mail and Outlook
Express with which I can connect to free e-mail servers (iname.com,
softhome.net, etc.) and easily download my pop3 mail (from my free
account at the server) and send via smtp using the server as relay
host. All it takes is that I click on user's options and set :
1) pop3 server; 2) pop3 username; 3)pop3 password; 4)smtp server for
each account.
I currently have e-mail accounts with 5 different servers, all with
different usernames and all managed from a single installation of
Pegasus Mail.
My question is: can I use my current installations of Mutt (MUA),
Sendmail (MTA), Fetchmail and Procmail to do the tasks that were
previously done with Pegasus?
So far I have been able to download pop3 mail with fetchmail from one
account (but have no idea as to how I can setup Fetchmail to retrieve
from my other four pop3 accounts and place the retrieved mail in 5
different folders (one per account).
However, the biggest puzzle is Sendmail. I have read all I could find
on its configuration setup in the docs and in the newsgroups, and have
experimented with the sendmail.cf file, but have so far gotten very
poor results (I am still unable to get my mail sent out).
I have added in my sendmail.cf:
#my official domain name
Djwww.bogusname.com
# who I masquerade as (null for no masquerading)
DMmyISP.net
# "Smart" relay host (may be null)
DSsmtp.oneofmye-mailservers.net
My /etc/resolv.conf file:
search .
nameserver NNN.NN.NNN.NN
nameserver NNN.NN.NNN.N
(where the N's stand for the actual numbers).
My /etc/hosts file: 127.0.0.1 localhost
0.0.0.0 roderick
When I run 'sendmail -q' sendmail fails and I get an e-mail titled
"Mail Delivery S (48) Returned Mail:
Data format error" which states "501 <[EMAIL PROTECTED]>...
Sender domain must exist."
How do I do it right, and is it possible to configure Sendmail for
five different relay host accounts?
Would anyone be knowledgeable enough to give me some specific advice
or direct me to some docs that explain in simple terms how to get
things right?
Thank you very much to all who will respond.
Rino Perri
[EMAIL PROTECTED]
------------------------------
From: "The Lone Scribe" <[EMAIL PROTECTED]>
Subject: Re: setting up a telnet host
Date: Tue, 6 Apr 1999 13:18:03 -0700
lea wrote in message <01be7e4e$37c10ca0$c5cf19cb@default>...
>how do I go about setting up a telnet host in Redhat 5.2?
RH 5.2 ships stock with telnet enabled, unless you purposely disabled it in
/etc/inetd.conf and /etc/services. Just set up some standard user accounts
for the folks who you want to be able to telnet in to your machine, and let
them know about it. Then keep a sharp eye out for hackers with rootkits and
other fun things that can destroy or otherwise abuse your system.
------------------------------
From: Ron Watkins <[EMAIL PROTECTED]>
Subject: Re: How to set the NIC parament in Linuix?
Date: Tue, 06 Apr 1999 12:40:29 -0700
Usually that's autodetected; most of the Intel NICs are supposed to switch
back and forth. I would guess that perhaps someone set it with a Windows
utility to only speak 10MB. If you have a Windows box available, you might
try changing its settings back to autodetect.
I went and looked through the eepro100 source. I'm not a fluent C programmer
by any means, but it appears to me that the driver should autoswitch between
10 and 100 without any effort on your part. It appears that the driver is
clever enough to change media types even during normal operation -- that is,
you can hot plug it back and forth between 10 and 100 speeds and the driver
should figure everything out and keep things working without a reboot -- if
the board is working properly. If it's not switching, then it may have been
disabled. See prior paragraph :-)
You might also have substandard or defective cabling.
<<RON>>
"nntp.lucent.com" wrote:
>
> Hi all,
>
> I have a IBM PC340 system running RedHat 5.2. When installed the Redhat, the
> setup detects I have Intel EPPRO 10/100 Lan card or compatibles. The NIC
> will function at 10BASET. As I move the system over to 100 BASET, NIC will
> only detect it at 10BASET and I won't be able to send or receive any thing
> over the network. Is there a way to set the parameter of a NIC?
>
> Thanks in advance.
>
> John
------------------------------
From: [EMAIL PROTECTED] (Dirk Geschke)
Subject: Re: exporting / in nfs question
Date: 6 Apr 1999 17:14:03 GMT
[Posted and mailed]
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Brian Lavender) writes:
> I am trying to export root to another machine on my private internal
> ip network. I read the man page for exports and it would seem I should
> configure the
> /etc/exports file on machine 192.168.1.100 like so:
>
> darkstar:# cat /etc/exports
>
> / 192.168.1.1 (ro)
>
> Problem is I get "Permission Denied" error when I try to mount it from
> 192.168.1.1
This should be the right way to export your filesystem.
But did you restart the nfsd daemon? Usually you have
two possibilities:
You can call the program exportfs to export the filesystems. But
in most cases you won't have such a program on your linux box...
The other way is determining the PID of nfsd and send a -1 to
this process. After this you should be able to mount the filesystem
by the other machine:
mount 192.168.1.1:/ /mnt -o ro
Dirk
--
=====================================================================
| Dirk Geschke | e-mail: [EMAIL PROTECTED] |
| Universit"at Gh Kassel | Tel. : 0561/804-4581 |
| Fachbereich Physik | Heinrich-Plett-Stra/3e 40 |
| Theoretische Physik | 34132 Kassel |
=====================================================================
------------------------------
From: [EMAIL PROTECTED] (the biscuit)
Subject: speeding up connection....
Date: Tue, 06 Apr 1999 16:09:22 GMT
problem is as folows:
2 cmputers conected with a modem. (Home and work)
large files have to be transfered betwen the two computers.
normaly the file is transfered some smal changes is done and the file
is send back.
so the files are nearly identical and the files lives on the two
computers, to reduses the bandwith(time) it take to send the file the
folowing colud be done make a diff file of the two versions and send
only that.
Smaler amount of data equals lower connection time.
Q is ther a system already that have this build into it? so that I
only have to tel the system what to send and it negociates what have
to be in the diff file and sends that.
or is the only way to use diff and send it an patch it by hand.
And one final question if there is a system does it have a client for
win95/98 to?
------------------------------
From: [EMAIL PROTECTED] (Ido Dubrawsky)
Subject: Re: Encripted password
Date: 6 Apr 1999 17:03:35 GMT
The only thing I can think of off the top of my head is to run nm --print-armap
with the samba executable and look for external symbols that come from the libdes
package.
Ido
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Dereks2nd) writes:
|> I now have Win98 workstation linking to a Linux RedHat 5.2 server ( works
|> Great ) only problem is I am having to use plain text passwords which requires
|> a registry change. In order to use Encripted passwords the documentation says
|> that samba has to be linked with 'libdes'. Does anyone know how to check
|> whether it actually has been ... I am using Samba 2.0.3 and if it hasn't how I
|> link it.
|>
|> Derek
|>
------------------------------
From: [EMAIL PROTECTED] (Robert Escue)
Crossposted-To:
comp.os.ms-windows.networking.misc,comp.os.ms-windows.networking.ras,comp.os.ms-windows.networking.tcp-ip,comp.os.ms-windows.networking.win95,comp.os.ms-windows.networking.windows,comp.sys.ibm.pc.hardware.networking,memphis
Subject: Re: Network transfer rates... whats up?
Date: Tue, 06 Apr 1999 16:06:20 GMT
On Tue, 6 Apr 1999 18:06:46 +0800, "Eugene Lim"
<[EMAIL PROTECTED]> wrote:
>Isn't 8 megabytes faster than 2.3 megabytes? Anyway collision could be
>caused by the usage of wrong drivers for the Network Interface Card.
>
>If you used the generic drivers that comes with Win NT during installation,
>you might get alot of collision problems especially with 3com NIC cards.
>
>Try to change the drivers and it guess it should work.
>
>Hopefully this is helpful to you.
>
>cheers
>Eugene
>
>
>Jeff Robertson <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]...
>> Alright heres my problems. I'm quite able to upload to my second machine
>> (an nt server) from my win98 machine at ~2.3 megabytes/sec over my
>> 100megabit network. However when I copy a file FROM the nt machine I only
>> get ~.8 megabytes/sec??? Shouldn't I be getting the same speed both ways?
>> I'm also getting a huge amount of collisions as reported by my hub, though
>> it doesn't seem to effect anything.
>>
>> If anyone has any info on the weird transfer rates let me know @
>> [EMAIL PROTECTED] Thanks.
>>
>>
>
>
A collision is the result of two (or more) computers trying to
transmit packets at the same time. An incorrect NIC driver will not
cause collisions, it just means that some features of the card are not
available (if the card works at all). You might want to look up
CMSA/CD and Contension Based Media to find out about collisions.
Robert Escue
[EMAIL PROTECTED]
------------------------------
From: "The Lone Scribe" <[EMAIL PROTECTED]>
Subject: Re: 2nd DNS server
Date: Tue, 6 Apr 1999 13:09:50 -0700
Bob Bevins wrote in message ...
>Is there a way to use their dns server
>in the US as a secondary one
Your nameserver can't forward requests to a second nameserver. Each client
machine (Win98 boxes) must set up their own DUNs to use the secondary
nameserver if the first one fails.
------------------------------
Date: Tue, 06 Apr 1999 16:11:45 -0400
From: Les Hazelton <[EMAIL PROTECTED]>
Subject: Re: Problem with modem after kernal upgrade to 2.2.3
Les Hazelton wrote:
> Clifford Kite wrote:
>
> > You have to have at least ppp-2.3.5 for the 2.2.x kernels. And other
> > things. Read the /usr/src/linux/Documentation/Changes file.
Intended to say, but forgot, rpm -q ppp reports ppp-2.3.6-1
on both systems.
--
Les Hazelton
============================================
The camel has a single hump;
The dromedary two;
Or else the other way around.
I'm never sure. Are you?
-- Ogden Nash
------------------------------
** 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
******************************