Linux-Networking Digest #69, Volume #10 Sun, 31 Jan 99 17:14:00 EST
Contents:
Please help. Sendmail not delivering local mail on Linux ("John N. Alegre")
Re: dhcpd.leases ([EMAIL PROTECTED])
Re: IP or Erols.com (John Allen)
Re: Newbie / hosts file / domain name? ([EMAIL PROTECTED])
Re: basic help with samba (David Akins)
Re: Romote "root" login (Luca Filipozzi)
3c905 board problems not seeing network? ("DADA")
Re: Using a Linux box as a router (Bernd Eckenfels)
Samba: domain mismatch ([EMAIL PROTECTED])
Re: Masquerading and battle.net/Diablo (Harry Chen)
Re: Using a Linux box as a router (Luca Filipozzi)
Re: Newbie / hosts file / domain name? (Luca Filipozzi)
Re: Newbie Q: Linux Box as Router, Server, Gateway? (Enkidu)
uart "unknow" on modem instalation (Yufuko Kuroda)
Apache on RH 5.1 (Jon King)
----------------------------------------------------------------------------
From: "John N. Alegre" <[EMAIL PROTECTED]>
Crossposted-To: comp.mail.sendmail
Subject: Please help. Sendmail not delivering local mail on Linux
Date: Sun, 31 Jan 1999 11:18:49 -0600
Oh knowledgeable sendmail gurus, I need some help!
First the problem. All mail is received and sent properly via UUCP,
however all incomming mail gets put right back into the uucp queue to be
sent back out rather than delivered to the local user. It is as if the
mail system is confused as to its idenity.
I think my sendmail problems might have to do with the strangeness of my
internet connection/mail domains. Let me just review it for you.
All email sent is eventually aliased to the andante.mn.org domain. This
domain is my internal domain on all my machines as well as the domain on
most of my mail. A local ISP provider Skypoint also hosts my visible
commercial domain andnate-systems.com. Mail sent to andante-systems.com
is aliased to andante.mn.org for all it's pseudo-users. For example
[EMAIL PROTECTED] and [EMAIL PROTECTED] are sent to
[EMAIL PROTECTED], [EMAIL PROTECTED] is sent to
[EMAIL PROTECTED], etc for all the pseudo-users in
andante-systems.com. I then pick up the andante.mn.org mail via UUCP.
I have a second provider for my ISDN internet connection. Gofast.net is
my ISDN provider. My internet connection is a Pipeline Router hooked to
the ISDN wall plug on one end and to my 3Com hub at the other. The
Pipeline Router acts as a router to the Gofast DNS.
My /etc/resolv.conf file looks like this:
############################
search andante.mn.org
nameserver 200.46.63.1
nameserver 209.46.63.6
The two nameservers are dns servers at Gofast.
Now Gofast does not appear to know about andante.mn.org. I can not ping
andante.mn.org. I think this might have something to do with my machine
NOT knowing its identity with respect to mail delivery. Does sendmail
as the dns if the mail is local? I have tried putting the domain in the
sendmail cf file and it makes no difference. Should all that not be
retrieved from the above resolv.conf?
Please help if you can.
If anyone wants to see my sendmail.cf I can mail it.
Thanks
John Alegre
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: dhcpd.leases
Date: Sun, 31 Jan 1999 21:02:38 GMT
Reply-To: [EMAIL PROTECTED]
Actually, dhcpd doesn't create the dhcpd.leases file, but it does
maintain it. But YOU must create the initial file (with nothing in
it.) Just make a blank file and call it dhcpd.leases. DHCPd will
start maintaining the leases in that file. You CAN edit that file
manually later on to do things like remove leases, free up leases but
be very careful you keep all the braces intact. DHCPd does periodic
maintenacne of thfile to keep it cleaned so you shouldn't have to
touch it.
Another pitfall I found... A backup of DHCPd.leases is made called
~dhcpd.leases. I would suggest a cron entry to back THIS file up or
rename it. If you use emacs for editing, you know that emacs creates
backups preceded by a tilde. This could really mess you up to find
your system backup of the leases file got overwritten by emacs
backup...
On 31 Jan 1999 18:03:23 GMT, Stephen Carville
<[EMAIL PROTECTED]> wrote:
>Andrew Tatton wrote:
>>
>> I'm pretty new to linux so I might be wrong. But as afar as I know the
>> dhcpd.leases file is created automatically by the dhcp daemon. All
>> configuration should be done in /etc/dhcpd.conf.
>
>Hmmm. When I read the message I thought the goal was to copy the data from
>another machine and store it in a format readable by dhcpd-2.0.
>
>Anywat, the dhcpd daemon doesn't automatically create the lease file.
>Everytime I've started up dhcpd I had to "touch /etc/dhcpd.leases" first.
>You are correct about the configuration. It is _very_ unwise to try and
>edit the dhpd.leases file.
>
>> Jon Horner wrote in message <[EMAIL PROTECTED]>...
>> >Can someone send me the format for the /etc/dhcpd.leases file? I am
>> >trying to set up a backup dhcp server on my linux box and I don't have
>> >one of the above files and I need one.
>> >
>> >Thanks.
>> >
>> >Jon
>> >
>
>--
>Stephen Carville
>[EMAIL PROTECTED]
>----------------------------------------------------
>Management: The art of hiring intelligent, skilled individuals and then
>ignoring their advice.
------------------------------
From: John Allen <[EMAIL PROTECTED]>
Subject: Re: IP or Erols.com
Date: Sun, 31 Jan 1999 21:00:33 +0000
==============3E3F4E56F661668E4E1A7566
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Pete Stoloff wrote:
> I use erols.com as my ISP. I'm trying to connect via ppp which asks
> for an IP address. Erols technical support claims not to support
> Linux and does not know what IP address I should use to connect. Does
> anyone out there use Erols as their ISP, and I so, what IP do you use
> to connect? Thanks.
You don't use an ip address to connect, their end should supply you with
an
ip address.
What sort of authentication do they use
1. Plain text login
2. PAP
3. CHAP
4. MS-CHAP
Getting this info would be a good start.
--
John Allen email: [EMAIL PROTECTED]
MAO Technologies LLC. www: http://www.maotech.ie
Creators of LinuxMT phone: intl+353-0862315986
==============3E3F4E56F661668E4E1A7566
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Pete Stoloff wrote:
<blockquote TYPE=CITE>I use erols.com as my ISP. I'm trying
to connect via ppp which asks
<br>for an IP address. Erols technical support claims not to support
<br>Linux and does not know what IP address I should use to connect.
Does
<br>anyone out there use Erols as their ISP, and I so, what IP do
you use
<br>to connect? Thanks.</blockquote>
<p><br>You don't use an ip address to connect, their end should supply
you with an
<br>ip address.
<p>What sort of authentication do they use
<br>1. Plain text login
<br>2. PAP
<br>3. CHAP
<br>4. MS-CHAP
<p>Getting this info would be a good start.
<pre>--
John
Allen
email: [EMAIL PROTECTED]
MAO Technologies
LLC.
www: <A HREF="http://www.maotech.ie">http://www.maotech.ie</A>
Creators of
LinuxMT
phone: intl+353-0862315986</pre>
</html>
==============3E3F4E56F661668E4E1A7566==
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Newbie / hosts file / domain name?
Date: Sun, 31 Jan 1999 20:48:24 GMT
In article <[EMAIL PROTECTED]>,
Alvin Lim <[EMAIL PROTECTED]> wrote:
> don't bother about the domain name.
> your host file should just be like below
>
> 127.0.0.1 localhost
> 192.168.1.1 host-a
> 192.168.7.2 host-b
> 192.168.7.3 host-c
>
> assuming that your computers are named host-a, host-b, and host-c
>
> hope this helps
>
>
I have the same problem: I have a standalone system. I only
call my ISP with a modem. Yet Caldera OpenLinux 1.3 installation
procedure (LISA 3.0) asks me for a full domain name.
What numbers should I use without screwing up either my setup or
the Internet connection? Something like 127.0.0.1?
Mauricio Contreras
Buenos Aires, Argentina.
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: [EMAIL PROTECTED] (David Akins)
Crossposted-To: alt.os.linux,comp.os.linux.help,ucd.comp.questions
Subject: Re: basic help with samba
Date: Sun, 31 Jan 1999 21:08:54 GMT
Create a /etc/lmhosts file on your Linux machine. It needs to know
how to resolve the name "lucifer" to an ip address. Something like
this: (assume Lucifer's ip address is 10.1.1.1
/etc/lmhosts
10.1.1.1 lucifer
That's it. Should work once you get that going.
On 31 Jan 1999 17:41:02 GMT, [EMAIL PROTECTED] (Pete) wrote:
>i have two systems in my livingroom: satan (redhat 5.1) and lucifer (win95).
>
>1) the ethernet between them seems to work (dmesg)
> rtl8139.c:v0.99B 4/7/98 Donald Becker
>http://cesdis.gsfc.nasa.gov/linux/drivers/rtl8139.html
> eth0: RealTek RTL8139 at 0xfc80, IRQ 10, 00:40:c7:79:19:4c.
>
>2) smb, nmb are up and running
> # /usr/sbin/samba status
> smbd (pid 1067) is running...
> nmbd (pid 1076) is running...
>
>3) yet something is going wrong:
> # smbclient -L lucifer
> Added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
> startlmhosts: Can't open lmhosts file /etc/lmhosts. Error was No such file or
>directory
> cli_open_sockets: Unknown host LUCIFER.
>
>
>
>can someone please take a guess as to what's wrong?
>
>pete
>
>ps- ever since satan turned into a linux box, i've been considering naming
> him gabriel.... ;-)
------------------------------
From: [EMAIL PROTECTED] (Luca Filipozzi)
Crossposted-To: comp.os.linux,comp.os.linux.admin,comp.os.linux.help,nl.comp.os.linux
Subject: Re: Romote "root" login
Date: Sun, 31 Jan 1999 13:08:54 -0800
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> G'day Andrew and all...
>
> Ack...! This really is a bad security hole!
>
> If someone connects to the box, when the telnet client on the NT box isn't
> telnetted in (or if for some reason, the telnet client on the NT box isn't assigned
> the same ttyp). (Let alone whatever other holes it may open.)
>
> Here's a much better (and secure) solution. =)
>
> Telnet into the Linux box as a regular user. Use 'su' or 'su -' to login as root.
> ('su -' will login you in as root with all of root's environmental variables set,
> rather than the su'ing user's.)
>
> All the best...
>
> Michael. =)
>
>
> > I will assume that you have the account guest active. Otherwise use an account
> > other than root. Then try this
> >
> > 1. telnet from NT and login as guest
> > 2. goto the Linux box and login as root.
> >
> > 3. Type the command
> >
> > w
> >
> > 4. You will see a listing of users connected to the Linux box. Look at the entry
> > TTY for the guest user. This will look something like ttyp0, depending on the
> > type of connection that you have between Windows and Linux.
> >
> > 5. edit the file /etc/securetty
> >
> > 6. in /etc/securetty add the line ttyp0 (or whatever was displayed as the TTY in
> > the w command above for the guest user) to the list of terminals showing in the
> > file.
> >
> > 7.eExit and save the file
> >
> > 8. close your telnet session
> >
> > 9. Reconnect from telnet and try to log in as root.
>
>
Or use SSH. Run sshd on the Linux box and get a SSH client for NT
(commercial or free). SSH's traffic is encyrpted, so it's better than
telnet since telnet passes the username and password in clear text!
--
Luca Filipozzi <[EMAIL PROTECTED]>
------------------------------
From: "DADA" <[EMAIL PROTECTED]>
Subject: 3c905 board problems not seeing network?
Date: Sun, 31 Jan 1999 21:15:58 GMT
I have 4 workstations on the internet through a DSL modem on the @work
network [@home].
All the workstations are winbloze running 3com 3c905 NICs in 100Base-T mode.
The hub is a dual speed, so it works great with both 10 and 100 base cards.
All the workstations can see each other and see the internet. The linux
redhat 5.1 workstation can't ping anyone but itself. No one can ping it.
They are all on the same subnet, with the same gateways, etc. I've seen
others say their 3com based linux workstations exhibit the same problems,
has anyone found a solution?
thanks,
dada
[EMAIL PROTECTED]
------------------------------
From: Bernd Eckenfels <[EMAIL PROTECTED]>
Subject: Re: Using a Linux box as a router
Date: 31 Jan 1999 21:24:20 GMT
[EMAIL PROTECTED] wrote:
> I am hoping someone can point out some documentation, give hints, etc. to get
> me started.
Just turn ip-forwarding on in kernel (recompile with the option and then
write "echo 1 > /proc/sys/net/ipv4/ip_forward" . If you have set up the
routing table correct, then this is all you need.
Greetings
Bernd
------------------------------
From: [EMAIL PROTECTED]
Subject: Samba: domain mismatch
Date: 31 Jan 1999 22:27:28 +0100
Oho, message got patched somehow :(.
Well let's repeat.
I've NT 4 SP3 as PDC and Linux/Samba as a workhorse in this domain.
Everything seems to work but when I turned debug level 100 I got following
messages in a log file:
named pipe command on <LANMAN> name
Got API command 13 of form <WrLh> <B16BBDz>
(tdscnt=0,tpscnt=19,mdrcnt=150,mprcnt=6)
Doing RNetServerGetInfo
NetServerGetInfo level 1
Servertype search: 3fffffff
s: dom mismatch MYDOMAIN 80001000 MYDOMAIN
**SV** SambaServ 9a03 Samba 1.9.18p10 MYDOMAIN
Is it critical? Where does it come from? Domain name of SambaServ was
set same as domain name of PDC. Does PDC add kind of identifier to domain
name in shadow? ("80001000")
--
Andrey Nikolaev Ulm university,
Department of Biophysics. Germany.
Email: Andrey.Nikolaev@!get-lost-spammer!.uni-ulm.de
Substitute physik instead of !*! .
------------------------------
From: Harry Chen <[EMAIL PROTECTED]>
Subject: Re: Masquerading and battle.net/Diablo
Date: Sun, 31 Jan 1999 21:28:49 GMT
This is a multi-part message in MIME format.
==============91103F7AFAFD182827D9E891
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Does anyone know what should I use for Age of Empire?
thanks.
Patrick Atoon wrote:
> Don O'Connell wrote:
>
> > Try this, it works for me for starcraft
> >
> > ipmasqadm autofw -A -r tcp 6112 6112 -h 10.1.1.10
> > ipmasqadm autofw -A -r udp 6112 6112 -h 10.1.1.10
>
> Yups, that works just fine, thanks!
>
> However, if I understand autofw correctly, this will only connect
> to the one host specified after -h. Is there a way to forward the
> ports to the hosts that tried to set up the connection to battle.net
> in the first place without hardcoding them?
>
> Greetings,
>
> Patrick
==============91103F7AFAFD182827D9E891
Content-Type: text/x-vcard; charset=us-ascii;
name="hchen1.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Harry Chen
Content-Disposition: attachment;
filename="hchen1.vcf"
begin:vcard
n:Chen;Harry
x-mozilla-html:TRUE
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
note:Public PGP is avaliable upon request.
fn:Harry Chen
end:vcard
==============91103F7AFAFD182827D9E891==
------------------------------
From: [EMAIL PROTECTED] (Luca Filipozzi)
Subject: Re: Using a Linux box as a router
Date: Sun, 31 Jan 1999 13:28:54 -0800
In article <792g0h$dr5$[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> I just ordered an ADSL line and ISP service w/5 static IP's. I don't want to
> spend $1000 on a router when I have a trusty Linux box sitting here. What I
> would like to do is set up this box as a router. By this I mean I want to
> still be able to use it as a Linux workstation/server, but have it route my
> network also. And I mean ROUTE, not do NAT (masquerading), just route.
>
> I am aware of the Linux Router Project, but this turns a stripped-down Linux
> box into a router only w/o all the other functionality that I want/need so
> this isn't the solution.
>
> I am hoping someone can point out some documentation, give hints, etc. to get
> me started.
>
>
> TIA!
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
>
Your linux box already has everything it needs to do routing:
ifconfig - sets up the interfaces
route - sets up the routes
Step by step:
1) install two NIC's into the Linux box
2) get your kernel to recognize them
3) make sure that your startup script has two ifconfig calls:
ifconfig eth0 <ipaddr0> netmask <netmask0> broadcast <broadcast0>
ifconfig eth1 <ipaddr1> netmask <netmask1> broadcast <broadcast1>
under debian this is done in /etc/init.d/network
4) make sure that your startup script has the following route calls:
route add default gateway <gateway_ipaddr>
BTW, you don't need route commands for the networks directly connected to
the linux box. It can figure those out from the ifconfig commands.
Luca
--
Luca Filipozzi <[EMAIL PROTECTED]>
------------------------------
From: [EMAIL PROTECTED] (Luca Filipozzi)
Subject: Re: Newbie / hosts file / domain name?
Date: Sun, 31 Jan 1999 13:34:26 -0800
In article <792fil$dd4$[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> In article <[EMAIL PROTECTED]>,
> Alvin Lim <[EMAIL PROTECTED]> wrote:
> > don't bother about the domain name.
> > your host file should just be like below
> >
> > 127.0.0.1 localhost
> > 192.168.1.1 host-a
> > 192.168.7.2 host-b
> > 192.168.7.3 host-c
> >
> > assuming that your computers are named host-a, host-b, and host-c
> >
> > hope this helps
> >
> >
> I have the same problem: I have a standalone system. I only
> call my ISP with a modem. Yet Caldera OpenLinux 1.3 installation
> procedure (LISA 3.0) asks me for a full domain name.
> What numbers should I use without screwing up either my setup or
> the Internet connection? Something like 127.0.0.1?
>
> Mauricio Contreras
> Buenos Aires, Argentina.
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
>
RFC 1918 describes which IP numbers should be used for "private"
networks. For small networks, the class C reserved numbers should suffice
as listed above (except there are two errors):
127.0.0.1 localhost
192.168.1.1 host-a
192.168.1.2 host-b
192.168.1.3 host-c
All the hosts should be on the same class C subnet, 192.168.1.0, which
has the netmask 255.255.255.0.
If you need to have a domain name, pick something that CAN'T exist, like
mynet.local. ("local" is not a top level domain) So then you have:
127.0.0.1 localhost
192.168.1.1 host-a.mynet.local host-a
192.168.1.2 host-b.mynet.local host-b
192.168.1.3 host-c.mynet.local host-c
Hope this helps,
Luca
--
Luca Filipozzi <[EMAIL PROTECTED]>
------------------------------
From: Enkidu <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: Newbie Q: Linux Box as Router, Server, Gateway?
Date: Mon, 01 Feb 1999 10:39:34 +1300
Reply-To: [EMAIL PROTECTED]
Israel Alvarez wrote:
>
> So far, while all the messages have been very helpful, I don't
> think anyone's answered the meat of this original question (which
> happens to be one I'm interested in finding out about) - How would
> you set up a full Linux box (not a mini-distribution) to route
> TCP/IP traffic from a small home TCP/IP network over a cable
> modem connection (or in my case, a dial-up ISDN connection) to
> the rest of the world?
>
You would need two interfaces in the Linux box, one to the outside
world, one to the internal network. You could connect the internal
network via a small hub and UTP cabling, or via coaxial cables
using BNC (bayonet) connectors on the NIC or a mixture of both.
You would set up the Linux box as a proxy Firewall, using the
single IP address from your ISP. Read the HOW_TO. I suggest that
the internal addresses you use shoudl be from a private range.
Cliff
------------------------------
From: Yufuko Kuroda <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.install,comp.os.linux.setup,es.comp.os.linux
Subject: uart "unknow" on modem instalation
Date: Sun, 31 Jan 1999 16:49:16 -0500
Hi every one. I am getting uart "unknow" on modem instalation. I have a
compaq modem which is not a winmodem. I used the:
setserial -a /dev/ttyS1 as well in cua1
and
setserial -v /dev/ttyS1
My modem is in com2 on dos. The irq and address returned by setserial
are corrected compared with the ones I obteined in dos. The only thing
is that it does is my uart is unknow.
Please If some one knows how to fix this problem and get my modem to
work, please let me know I will really presiate it.
Thanks alot!!
------------------------------
From: Jon King <[EMAIL PROTECTED]>
Subject: Apache on RH 5.1
Date: Sun, 31 Jan 1999 22:03:06 GMT
When I run httpd I get the following error,
bind: Address already in use
httpd: could not bind to port 80
I'm logged in a root and can't thing of why this is happening.
Any help would be appreciated.
Thanks
------------------------------
** 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
******************************