Linux-Networking Digest #395, Volume #12 Sat, 28 Aug 99 14:13:33 EDT
Contents:
dhcpd won't start ("Robert L. Klungle")
Replace inetd, it's easy. Re: Inetd errors (Cameron L. Spitzer)
Re: help for dial-in (Clifford Kite)
Re: Dual Modem Support (Clifford Kite)
help with netscape (Hao Liu)
�w�˧�PowerLinux�A�w�и�ƥ������I�I�I ("KiKi")
sorta OT: AOL protocol? (dimsum1)
Re: Samba - newbie (Mark Worsdall)
Re: RH 5.2 IP Masq Not Working (Daniel Norton)
Re: Dual Modem Support ("Anonymous")
Re: Must I DHCP??? (Dennis Dow)
Connecting to ISP with dual ethernet system ([EMAIL PROTECTED])
Samba/E-Mail server w/E-mail arrival messages. How? (James Culbertson)
----------------------------------------------------------------------------
From: "Robert L. Klungle" <[EMAIL PROTECTED]>
Subject: dhcpd won't start
Date: Sat, 28 Aug 1999 15:48:57 GMT
Hi,
Everytime I try to start dhcpd on eth1 to maintain the dhcp ip license,
if fails with "no subnet for eth1". I put one in to /etc/dhcpd.conf
using the ISP assinged address but it still complains that there isn't
one. Anyone got a clue? Attached is dhcpd.conf:
# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#
# option definitions common to all supported networks...
option domain-name "bda.com";
#option domain-name-servers bat.bda.com;
#option subnet-mask 255.255.255.224;
default-lease-time 600;
max-lease-time 7200;
#subnet 4.33.3.35 netmask 255.255.248.0 {
# option routers 4.33.0.1;
# option domain-name-servers 4.2.2.1,4.2.2.2,4.2.2.3;
# option domain-name "dsl.gtei.net";
#}
subnet 4.33.3.35 netmask 255.255.248.0 {
option broadcast-address 4.33.7.255;
option routers bat.bda.com;
}
# The other subnet that shares this physical network
#subnet 204.254.239.32 netmask 255.255.255.224 {
# range dynamic-bootp 204.254.239.10 204.254.239.20;
# option broadcast-address 204.254.239.31;
# option routers snarg.fugue.com;
#}
#subnet 192.5.5.0 netmask 255.255.255.224 {
# range 192.5.5.26 192.5.5.30;
# option name-servers bb.home.vix.com, gw.home.vix.com;
# option domain-name "vix.com";
# option routers 192.5.5.1;
# option subnet-mask 255.255.255.224;
# option broadcast-address 192.5.5.31;
# default-lease-time 600;
# max-lease-time 7200;
#}
# Hosts which require special configuration options can be listed in
# host statements. If no address is specified, the address will be
# allocated dynamically (if possible), but the host-specific information
# will still come from the host declaration.
host bat {
hardware ethernet 00:A0:C9:82:C1:E8;
server-name "bat.bda.com";
}
# Fixed IP addresses can also be specified for hosts. These addresses
# should not also be listed as being available for dynamic assignment.
# Hosts for which fixed IP addresses have been specified can boot using
# BOOTP or DHCP. Hosts for which no fixed address is specified can
only
# be booted with DHCP, unless there is an address range on the subnet
# to which a BOOTP client is connected which has the dynamic-bootp flag
# set.
#host fantasia {
# hardware ethernet 08:00:07:26:c0:a5;
# fixed-address fantasia.fugue.com;
#}
# If a DHCP or BOOTP client is mobile and might be connected to a
variety
# of networks, more than one fixed address for that host can be
specified.
# Hosts can have fixed addresses on some networks, but receive
dynamically
# allocated address on other subnets; in order to support this, a host
# declaration for that client must be given which does not have a fixed
# address. If a client should get different parameters depending on
# what subnet it boots on, host declarations for each such network
should
# be given. Finally, if a domain name is given for a host's fixed
address # and that domain name evaluates to more than one address, the
address
# corresponding to the network to which the client is attached, if any,
# will be assigned.
#host confusia {
# hardware ethernet 02:03:04:05:06:07;
# fixed-address confusia-1.fugue.com, confusia-2.fugue.com;
# filename "vmunix.confusia";
# server-name "toccata.fugue.com";
#}
#host confusia {
# hardware ethernet 02:03:04:05:06:07;
# fixed-address confusia-3.fugue.com;
# filename "vmunix.confusia";
# server-name "snarg.fugue.com";
#}
#host confusia {
# hardware ethernet 02:03:04:05:06:07;
# filename "vmunix.confusia";
# server-name "bb.home.vix.com";
#}
Also route;
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.21.41.0 0.0.0.0 255.255.255.0 U 0 0 0
eth0
4.33.0.0 0.0.0.0 255.255.248.0 U 0 0 0
eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
lo
0.0.0.0 4.33.0.1 0.0.0.0 UG 0 0 0
eth1
Also ifconfig:
eth0 Link encap:Ethernet HWaddr 00:20:AF:11:9D:64
inet addr:192.21.41.11 Bcast:192.21.41.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:41674 errors:1 dropped:0 overruns:0 frame:1
TX packets:9063 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:7 Base address:0x300
eth1 Link encap:Ethernet HWaddr 00:A0:C9:82:C1:E8
inet addr:4.33.3.35 Bcast:4.33.7.255 Mask:255.255.248.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:81776 errors:0 dropped:0 overruns:0 frame:0
TX packets:49494 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:19 Base address:0xfcc0
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:1380 errors:0 dropped:0 overruns:0 frame:0
TX packets:1380 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
Also uname -a
Linux linux 2.2.6 #14 SMP Tue Aug 10 00:51:36 PDT 1999 i686 unknown
The linux works fine with the dsl, except occasionally, about once every
2 weeks, I have
to run dhclient because the lease has expired.
Any help appreciated
cheers...bob
------------------------------
From: [EMAIL PROTECTED] (Cameron L. Spitzer)
Crossposted-To: comp.os.linux.misc
Subject: Replace inetd, it's easy. Re: Inetd errors
Date: 28 Aug 1999 15:46:50 GMT
In article <7ppkem$32u$[EMAIL PROTECTED]>, Danny Aldham wrote:
>X-Newsreader: TIN [version 1.2 PL2]
>
>I have a Redhat5.2 box that occasionally gives errors from inetd. Killing
>& restarting inetd solves the problem, but that requires a trip to site.
>Telnet & ftp are no available when I see this problem.
>Errors in /var/log/messages are :
> inetd[32803] : getpwnam : user : No such user
>and
> inetd[292] /etc/inetd.con : too many open files
>
>Any help is appreciated.
Linux inetd is broken. The quick workaround is to install Secure Shell,
which you should do anyway. Then you can log in when inetd is acting up,
and restart it. See http://www.ssh.fi/.
When you get tired of that, comment telnet, ftp, and smtp out of
/etc/inetd.conf, and install tcpserver to run them instead.
Get tcpserver from the package at
ftp://koobera.math.uic.edu/www/ucspi-tcp.html
If you can get your users to switch to ssh and scp from telnet and FTP,
just disable telnet and FTP and give the script kiddies and password
sniffers one less target.
Cameron
------------------------------
From: kite@NoSpam.%inetport.com (Clifford Kite)
Crossposted-To: alt.os.linux,comp.os.linux.setup
Subject: Re: help for dial-in
Date: 28 Aug 1999 10:27:28 -0500
Hassan Monzavi ([EMAIL PROTECTED]) wrote:
: Thank you for your reply. I fixed the following, but still I have this
: problem. As long as I remember I always had this problem. Is it possible
: that it is normal?!
I'm still not sure what your measure of speed is; is it connect speed
or something else? I'm also not sure whether the asymmetry in speed is
seen only on one machine or on both? There might be a speed difference
if one box has a digital line and the other doesn't. Or if one side had
a noisy phone line. That assumes that the modems are cabable of sending
at one speed and receiving at another.
: I did the following changes:
: > If the UART is 16550A then the highest speed you should attempt, under
: > ordinary circumstances, is 115200. Asking for more is asking for trouble.
: I fixed it. Now both machines have this:
: /sbin/setseria /dev/ttyS2 uart 16550A port 0x3e8 irq 4 spd_cust baud_base
: 11500 divisor 1 session_lockout
The 11500 is a typo I take it. You don't need to specify the baud rate as
115200 since that is the default. I'd use spd_vhi instead of spd_cust
and divisor 1, but they may be equivalent.
: > Is modem hardware handshaking enabled on the "client"?
: If do you mean, 'stty crtscts < /dev/ttyS2'?
: yes. For both machines.
Actually I meant in the modem profile, here it's &K3, the same as I
saw in the "server" uugetty configuration, but it varies somewhat with
the manufacturer.
But does stty < /dev/ttyS2 show a 38400 speed setting offline? If not
then you you may need to set it to that for a 2.0.x kernel - although
actually I'm not sure whether this would cause a problem. Check the
speed with stty during a connection to see.
[edited]
: I fixed it as follow:
: exec /usr/sbin/pppd debug lock modem crtscts /dev/modem 115200\
: asyncmap 200A0000 kdebug 0 $LOCAL_IP \
: noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT
: Note: I didn't eliminate 'defaultroute' because modem is the only way of
: the client to the internet and without it there is no rout to other hosts
: other than server itself.
I was confused, I thought the "client" was attached to an ISP as well
as being the caller to your other machine. It seemed unusual but not
impossible.
[edited]
: I fixed it as:
: FS# B115200 CS8 CRTSCTS # B115200 SANE -ISTRIP CRTSCTS HUPCL #@S login: #FS
Yep, I think that's what you want.
--
Clifford Kite <kite@inet%port.com> Not a guru. (tm)
/* Better is the enemy of good enough. */
------------------------------
From: kite@NoSpam.%inetport.com (Clifford Kite)
Crossposted-To: comp.os.linux.development.system,comp.unix.programmer
Subject: Re: Dual Modem Support
Date: 28 Aug 1999 10:51:30 -0500
Anonymous ([EMAIL PROTECTED]) wrote:
: Is anyone have any idea, source or link to the info on how to make
: dual-modem ppp connection in Linux /
: Unix ? or through writing our own program ? how is the concept behind ?
: any RFC for this ?
: Ie, use two modem to dial-up to the same site to speed up the tranfer rate,
: as in win95 multi-link support in dial-up networking.
The MP RFC is 1990. Here are a couple of links to checkout:
http://linux-mp.terz.de
ftp://ftp.east.telecom.kz/pub/src/networking/ppp/multilink/
--
Clifford Kite <kite@inet%port.com> Not a guru. (tm)
/* For every credibility gap, there is a gullibility fill.
-- R. Clopton */
------------------------------
From: Hao Liu <[EMAIL PROTECTED]>
Subject: help with netscape
Date: Sat, 28 Aug 1999 12:12:19 -0400
Reply-To: [EMAIL PROTECTED]
I just installed redhat 6.0, I have some problem with its netscape: The
netscape will abruptly terminate itself
when I was visiting some web site. like www.nj.com, I can't figure out
what's the proble. Can anyone help me?
Thanks
------------------------------
From: "KiKi" <[EMAIL PROTECTED]>
Subject: �w�˧�PowerLinux�A�w�и�ƥ������I�I�I
Date: 27 Aug 1999 15:53:17 GMT
�w�˧����ꪺPowerLinux��A���s�}���ABIOS�N�X�{
��Verfying DMI Pool Data........
Not found any ��active partition��in HDD
Disk Boot Failure �AInsert Disk And Press Enter��
�M��ڥζ}�����}���A���M�o�{�w�Ъ���ƥ��������F�I�I�I�I�I ( �����O���n��
)
�аݸӦp�ϡH Please help me........
------------------------------
From: dimsum1 <[EMAIL PROTECTED]>
Subject: sorta OT: AOL protocol?
Date: Sat, 28 Aug 1999 12:03:19 -0400
Sorry for off-topic question but since AOL won't answer me, I've got to
turn to someone else....
What is the packet and authentication protocol used by AOL? Is it
completely proprietary or is it the regular lcp pap tcp/ip udp kind of
stuff?
The reason I ask: I want to know if Linux can use AOL as an isp if the
pc is dual-boot and the windows side has an AOL installation. Please
don't send me A-hOLe flames, I am not an AOL "member" I am asking on
behalf of some people who are but are also getting into Linux a little
bit at a time. They have been thinking about ditching their regular isp
and going only with AOL. I'm afraid this will cut their little Linux
node off from the 'net. So good information is appreciated.
(please reply in forum)
thx,
Wil
------------------------------
From: Mark Worsdall <[EMAIL PROTECTED]>
Subject: Re: Samba - newbie
Date: Sat, 28 Aug 1999 17:29:21 +0100
In article <wWPt3.45$[EMAIL PROTECTED]>, Stephen Butler
<[EMAIL PROTECTED]> writes
>I am trying to set up Samba to be a printer server for my windows 98
>computer.
>I have linux redhat 6.0 on a serperate computer.
>I have network cards and a cable
>I have never ever setup a network before, between computers.
>I know nothing at all about setting up networks.
>I have indeed read a great deal of documentation about setting up samba, but
>i dont understand a great deal of the words used in the instructions.
>I have my printer set up under linux.
>
>Please help with details for a mega newbie if you can :)
>
>
>
Win98 machine
1) Make sure you have the Netbieu & TCP/IP protocols installed for your
ethernet card (Don't assume cos you see them that they are bind to you
net card they might be for the DUN)
2) Under TCP/IP Ethernet give it an IP address (10.0.1.10) with a
netmask of 255.255.0.0
(Don't bother with dns & other things yet)
3) Makesure under indentification your workgroup is set (Home) and you
have a name for the computer (satan) set.
3a) Use MS client logon and use the user name that you normally log in
with (NOT root) onto your Linux box) i.e. jarven (should have su super
user status)
4) ensure you are using plaintext passwords, so run the w95 .reg file
found with the samba docs.
5) Decide whether you are going to make samba an NT server or just a
shared file system (We assume shared)
Linux
1) Make sure you have set the IP address (10.0.1.254) with a netmask of
255.255.0.0
2) /etc/Hostname has an entry for the name of the machine, say dogbreath
3) /etc/hosts has entry's like:-
127.0.0.1 localhost localhost.localdomain
10.0.1.254 dogbreath dogbreath.jarven.org.com
4) Edit the smb.conf file:-
workgroup = Home
server string = Samba Server V%v running on %h
hosts allow = 10. 127.
guest account = ftp
admin users = jarven
security = share
password level = 8
local master = yes
os level = 33
domain master = yes
preferred master = yes
preserve case = yes
short preserve case = yes
Under Share section
[root]
comment = Enter Dogbreaths's root
browseable = yes
writable = yes
path = /
5) Start up samba say:-
/etc/rc.d/init.d/samba start
6) make sure it is up by doing a:-
ps ax|more
you are looking for entry's like:-
330 ? S 0:00 smbd -D
339 ? S 0:00 nmbd -D
651 ? S 0:01 smbd -D
This means it is working, but is it working correctly? so check the logs
in /var/log
Now start satan and see if you can see dogbreath in net neighby and when
it asks for a password use jarven's password.
Your on your own for printing:-(
Ofcourse I recommend the samba for NT domain logon since dogbreath will
keep your roving profile safe and sound, something that satan will at
some point not do for you.
M
--
Mark Worsdall - Oh no, I've run out of underpants :(
Home:- [EMAIL PROTECTED] http://www.wizdom.org.uk
Shadow:- [EMAIL PROTECTED] http://www.shadow.org.uk
Work:- [EMAIL PROTECTED] http://www.hinwick.demon.co.uk
Web site Monitoring:- http://www.shadow.org.uk/SiteSight/
------------------------------
From: Daniel Norton <[EMAIL PROTECTED]>
Subject: Re: RH 5.2 IP Masq Not Working
Date: Sat, 28 Aug 1999 14:25:56 +0000
Daniel Norton wrote:
>
> Ok, I've reviewed the FAQs/HOWTOs and they basically say that my RH 5.2
> should do IP masq out of the box, but -- you guessed it -- it's not
> working.
The HOWTO is wrong. You still need to install and run ipfwadm. These
worked for me:
ipfwadm -F -p deny
ipfwadm -F -a m -S 172.16.0.0/28 -D 0.0.0.0/0
You can get the ipfwadm binaries here:
ftp://ftp.xos.nl/pub/linux/ipfwadm/ipfwadm-2.3.0-1.i386.rpm
Enjoy!
--
Daniel Norton
------------------------------
From: "Anonymous" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system,comp.unix.programmer
Subject: Re: Dual Modem Support
Date: 28 Aug 1999 15:19:25 GMT
Hello,
Is anyone have any idea, source or link to the info on how to make
dual-modem ppp connection in Linux /
Unix ? or through writing our own program ? how is the concept behind ?
any RFC for this ?
Ie, use two modem to dial-up to the same site to speed up the tranfer rate,
as in win95 multi-link support
in dial-up networking.
Thank in advance
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:< [EMAIL PROTECTED]
:< [EMAIL PROTECTED]
:< [EMAIL PROTECTED]
:< [EMAIL PROTECTED]
:< [EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------
From: Dennis Dow <[EMAIL PROTECTED]>
Subject: Re: Must I DHCP???
Date: Wed, 25 Aug 1999 14:58:45 -0600
Don't need DHCP at all in my opinion. Usually DHCP is used to assign IP
addresses to clients in a larger network. Where you have a few notes, static IP
addressing is much easier to use.
You didn't specifically say, but I'm assuming you can ping your ISP from the
Linux box. You should set the gateway in each of the remote PC's as the IP
address of the Linux system and enter the IP addresses of your ISP's DNS servers
as the DNS server for all three system.
The last element is a generic route for each of the client IP's on eth1 and eth2
to eth0.
------------------------------
From: [EMAIL PROTECTED]
Subject: Connecting to ISP with dual ethernet system
Date: Sat, 28 Aug 1999 16:53:15 GMT
Very frustrated.
I have a tower running RH6.0 base. There are two ethernet cards
installed, HPVG10/100 and 3C509. Both cards initialize when I give
then static addresses. If I give either card an address to my local
LAN I can talk to either card with IP no problem. Server routes IP
packets fine. SMB configured properly as server for access from WIN98.
Here's the problem.
When I try to connect EITHER card to the cable modem (@Home), I get no
respose. The card and modem show link and the modem shows traffic.
There are 2 scenarios I've tried.
First, setting the NIC with static information. The card initializes
fine, It can ping itself. However, when I try to ping the default
gateway address for the ISP, DNS servers, or DHCP server, it appears to
hang the process. It comes back blank line and I recieve neither ping
responses nor dropped packets.
Second, I enable DHCP for the NIC. Upon bootup the NIC will not
initialize with the error "Operation failed". When I try to run
DHCPCD, the command is not found anywhere on the volume. When I try to
run "pump -r -i eth1 -h "hostname", it says "Operation Failed". I have
even tried to upgrade pump from the website to the latest release. No
joy.
Questions:
1) Do you need to uninstall an RPM package before installing it's
update?
2) How do I install the DHCPCD module (if necessary)? I thought it
installed by default.
3) If a WIN98 workstation will respond just fine set static, why is the
Linux box not doing the same with identical settings?
4) What is the difference to DHCP/DNS between the Hostname and the
device hostname in LINUXCONF?
Any help would be greatly appreciated. Thanks in advance.
Jonathan
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: James Culbertson <[EMAIL PROTECTED]>
Subject: Samba/E-Mail server w/E-mail arrival messages. How?
Date: Fri, 27 Aug 1999 11:38:39 -0400
I'm just about to set up a Linux/Samba server with E-mail on the side.
I haven't figured out how I should handle E-mail in a way that gives me:
1) No clear-text passwords over the network
2) IMAP4
3) Immediate E-mail arrival notifications sent to mail recipients.
(Should send a short arrival-notification message to the recipient's
computer for
Microsoft's Winpopup.exe utility to receive. The message should
state the
identity of the E-mail sender, the time, and the E-mail subject
line.) I can do
this with my old server (Novell 3.11) and the free Mercury mail
system, but as a
Linux newby, I'm not sure how to get all three of these features at
once.
Ideas?
Jim Culbertson
[EMAIL PROTECTED]
------------------------------
** 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
******************************