Linux-Networking Digest #118, Volume #11 Tue, 11 May 99 19:13:51 EDT
Contents:
Re: Bridge installation problems (bryan)
Re: MONITOR Power Managment in Linux? (Phil DeBecker)
Re: EQL and one Linux machine ([EMAIL PROTECTED])
WinNT cannot resolve Samba server name (Horst Haug)
Re: Kingston PCI 10/100 and Tulip problems (Ronald Cole)
Baffling Samba problem ("Georg Cantor")
Re: can't anybody help ?! ("Curt")
Re: dhcpcd and lease time problem ("Brian")
How to setup a PPP dialup Server in Linux ? ("Chow Hoi Ka, Eric")
Re: respawning mgetty only some of the time (Bill Unruh)
newbie: set irq for eth0? ("donnell")
Re: kernel 2.2 ("Damon J. Rygiewicz")
POP3
Re: IP Masquerading doesn't work! ("Curt")
Re: NO CARRIER causes PPP to abort (Bill Unruh)
----------------------------------------------------------------------------
From: bryan <[EMAIL PROTECTED]>
Subject: Re: Bridge installation problems
Date: Tue, 11 May 1999 14:48:56 GMT
RM <[EMAIL PROTECTED]> wrote:
: From reading the Bridge & Bridge+Firewall miniHOWTOs and my (failed)
: attempt at inserting a bridge in the network at work, I've left with the
: following questions:
: 1) Can someone confirm me that a Bridge works at the Ethernet level... so
: it is transparent to a NT/Win9x-plagged (NetBxxx-based) network as well
: as an IP-based one, Ok?
true. it knows nothing about layers higher than MAC.
: 2) Does the IP address scheme influentiate the success/failure of a
: bridge ?
no.
(here the IP addr assignation is reallly out of norm: It is a
: private network with 200.100.101.* for everybody, with my floor (the one
: I want to isolate behind the Bridge using the 200.100.101.150 -
: 200.100.101.199 subrange).
bridges work with MAC addresses. unless you're running decnet (sic)
your bridge won't know about layer-3 addresses at all.
sounds like you need a router...
--
Bryan
------------------------------
Date: Tue, 11 May 1999 11:08:41 -0400
From: Phil DeBecker <[EMAIL PROTECTED]>
Subject: Re: MONITOR Power Managment in Linux?
Denis Kholodar wrote:
> In windows my monitor (after some time when I don't touch any
> keys/mouse) turns on the screen saving and later it switches to
> saving mode (lower-power standby it's called in Display Properties)
> and uses its built-in power managment system (consumes less power,
> power indicator changes color).
>
> How can I do this in Linux, too?
> Maybe anybody at least saw where to read about it on web, because i
> can't find that info?
>
man xset and look for the dpms options.
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: EQL and one Linux machine
Date: Tue, 11 May 1999 18:00:46 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
>
> I have read that Linux is only capable of supporting one EQL (shotgun)
> PPP link at a time. Is this still true?
Can Linux now support more than one EQL link?
---
Dustin Puryear
[EMAIL PROTECTED]
--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---
------------------------------
From: [EMAIL PROTECTED] (Horst Haug)
Subject: WinNT cannot resolve Samba server name
Date: Tue, 11 May 1999 23:32:43 +0200
Reply-To: [EMAIL PROTECTED]
Hi there,
I'm a newbie with both Linux and Samba. I try to setup a connection
between
my Windows NT host named Liebling and my linux server named Interlux.
Following problem:
When I try to see directories on Interlux with the 'net view \\Interlux'
command
I get these error messages:
System error 53 has occurred.
The network path was not found.
Same command with the IP adress instead of the name works. Similar
things happen
from NT explorer. Mapping a Interlux share on a network drive with the
IP address
works but not with the name Interlux.
Surprisingly I can connect to Interlux (name!, not IP address) with
telnet or ping.
Settings I have already are:
- entries on NT in
Winnt\sytem32\drivers\etc\hosts, networks and lmhosts
TCP/IP protocol has Interlux as DNS server and WINS server
- configuration in smb.conf is:
[global]
workgroup = WORKGROUP
netbios name = INTERLUX
keepalive = 30
hosts allow = localhost, 192.168.1.0/255.255.255.0
browseable = yes
- Samba version is 2.0.3
I'm lost. Any help is highly appreciated.
Horst
[EMAIL PROTECTED]
------------------------------
From: Ronald Cole <[EMAIL PROTECTED]>
Subject: Re: Kingston PCI 10/100 and Tulip problems
Date: 11 May 1999 14:53:23 -0700
[EMAIL PROTECTED] (Toby Field) writes:
> I am relatively new to the Linux world but I do enjoy solving any and
> all problems that pop up. This latest one has me baffled. I have a
> Kingston Fast Ethernet 10/100 PCI card in my machine. The card works
> fine in Windows 95. When I boot Linux the card runs for about 5 -10
> seconds and then my hub partitions (I think this occurs when a loop is
> encountered) and the transmit light on the hub blinks like crazy. All
> of this was occurring using version 0.89 of the Tulip driver and
> RedHat 5.2 (2.0.36) I solved the problem by downloading Tulip version
> 0.91, compiling and installing it. Now I want to try an FTP install
> of RedHat 6.0 but am running into the same problem with the boot disk
> and the Tulip driver stored there. Is there any way to patch the boot
> disk with the updated driver so I can make this work? If I am talking
> nonsense just tell me to go away ;-) Thanks in advance for any help
> anyone can offer me.
The 0.89H tulip driver in both of the stable Linux releases (2.0.x and
2.2.x) is broken, but stable! The people who maintain the tulip
driver in the kernel think that "broken but stable" is vastly superior
to "works but track-record-unproven" and have steadfastly refuse to
put a working driver in the stable kernels. Their reasoning to me was
thus: "it may work for you but it doesn't work for Joe with the
No-Name tulip NIC."
--
Forte International, P.O. Box 1412, Ridgecrest, CA 93556-1412
Ronald Cole <[EMAIL PROTECTED]> Phone: (760) 499-9142
President, CEO Fax: (760) 499-9152
My PGP fingerprint: 15 6E C7 91 5F AF 17 C4 24 93 CB 6B EB 38 B5 E5
------------------------------
From: "Georg Cantor" <[EMAIL PROTECTED]>
Subject: Baffling Samba problem
Date: Tue, 11 May 1999 23:05:54 +0100
Reply-To: "Georg Cantor" <[EMAIL PROTECTED]>
I have encountered a problem with Samba which is completely
incomprehensible.
There are 2 accounts which are always present was their passwords are added
to the smbpasswd file.
There are another 3 which never logon no matter how many times they are
added.
I have deleted and recreated the accounts on all 5, in both Unix using
useradd and userdel and in Samba by using cat /etc/passwd | mksmbpasswd.sh >
/etc/smbpasswd.
I delete the users by userdel, useradd them again, cat etc into smbpasswd
and then use smbpasswd username again.
The first two always logon, the other 3 never do.
It is as though Samba is using some unknown file which contains the
parameters for the first 2, and remains unaffected by my deletions and
readditions.
I normally get an invalid parameter error, a password error or password is
in correct or cannot logon to domain server or some other such answer.
Could something in my smb.conf file be the cause, or could the answer lie
elsewhere?
I have noticed some differences in the numbers found in the passwd, groups
and smbpasswd files, which refer to gids, uids, etc. Could that also be a
problem.
There is an article at
http://www.germanynet.de/teilnehmer/101/69082/samba.html#4.4
which mentions this uid problems.
------------------------------
Reply-To: "Curt" <[EMAIL PROTECTED]>
From: "Curt" <[EMAIL PROTECTED]>
Subject: Re: can't anybody help ?!
Date: Tue, 11 May 1999 17:08:31 -0500
Have you tried using a different phone line? Maybe something has happened
to make it to noisy to work.
I seemed to have to complain about noise on my line at least once a year.
Eric Trimmer <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> I have a dedicated dialup account to my internet provider. I keep the
line
> up by the use of a daemon that pings an address every few minutes. If the
> ping fails the daemon runs my connect script. A few weeks ago I noticed
that
> my connection was down ! For some unknown reason the modem was not
reacting
> to the connect script. I did notice that on the modem the "OH" light was
not
> on but the "CD" and "TR" still were ! (When the modem receives a "SIGHUP"
all
> three lights should turn off.) And using "ifconfig" reports a connection
> even thought there really isn't ! If I turned the modem off and back on
the
> connect script will again work.
>
> I am totally baffled by this because this setup
> has been working perfectly for the last couple of years. And this does
not
> happen every time the connection is killed. (but when it does the only
cure
> is to turn the modem off and back on)
>
> I've replaced the modem thinking that could be the problem; but it
wasn't. :(
>
> Here is the message from my "messages" file the very first time this
> happened. I should note that the "garbage" here has never appeared since;
> only the "alarm" and "failed" messages kept appearing. Although during
the
> last few days not even those have appeared ! And the "Hangup (SIGHUP)" is
> not appearing either !
>
> Apr 16 17:34:53 et pppd[12170]: Hangup (SIGHUP)
> Apr 16 17:34:53 et pppd[12170]: Modem hangup
> Apr 16 17:34:53 et pppd[12170]: Connection terminated.
> Apr 16 17:34:53 et pppd[12170]: Exit.
> Apr 16 17:35:52 et pppd[20980]: pppd 2.3.4 started by root, uid 0
> Apr 16 17:35:53 et chat[20981]: send (ATDT the number I dial goes here
^M)
> Apr 16 17:35:54 et chat[20981]: expect (gin:)
> Apr 16 17:35:54 et chat[20981]:
mOp|K^_{0^L|^XO^?^H^Hx87G4^GK@^?;^DCx^GL@<pqD;Cy^D3^F^?ht^D{0xHC^QGt^D:^@sDs
;?3LKL0^GLp|^VO^L<4^O#^L^MO
> .
> .
> .
> .
> Apr 16 17:35:54 et chat[20981]:
0^?^On^W^G8^C7y^C|^P{4?^K^NCH0p^?^O8s^@8^Nn;wg^C^_^K|w^A^K^A8G^K^Kp0~s^@]0tL
Dqwx<7^K^AwKCKowfO0s^F;^Dx^N`^GB
> Apr 16 17:45:00 et chat[21015]:
^M"^OC^Op^?^Aw^P}K@\`^KDs3g^@Hs^?P@a/^GHnw^Ag^^8^KCGLv4L^V^Vx`O^@wCL^_^Avf<^
@O^G^C^@aDOwv8pLfLDH{^D48^C<
> Apr 16 17:45:40 et chat[21015]: alarm
> Apr 16 17:45:40 et chat[21015]: Failed
> Apr 16 17:45:41 et pppd[21014]: Exit.
> Apr 16 17:47:54 et pppd[21027]: pppd 2.3.4 started by root, uid 0
> Apr 16 17:47:55 et chat[21028]: send (ATDT the number I dial goes here
^M)
> Apr 16 17:47:55 et chat[21028]: expect (gin:)
> Apr 16 17:48:40 et chat[21028]: alarm
> Apr 16 17:48:40 et chat[21028]: Failed
> Apr 16 17:48:41 et pppd[21027]: Exit.
>
>
>
> Does anyone know what is happening ?
>
> -------------------------------------------------------------
> Eric Trimmer email: [EMAIL PROTECTED]
> of Web Address: http://et.trimmer.org
> et.trimmer.org
> -------------------------------------------------------------
>
>
>
------------------------------
From: "Brian" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: dhcpcd and lease time problem
Date: Tue, 11 May 1999 15:38:50 GMT
Start by upgrading to dhcpcd-0.70 and make your entry in
rc.inet1 like this:
#! /bin/sh
#
# rc.inet1 This shell script boots up the base INET
system.
#
PATH=/bin:/sbin:/usr/bin:/usr/sbin
#
# Attach the loopback device.
#
ifconfig lo 127.0.0.1
route add -host 127.0.0.1 lo
#
# Initialize dynamic host
#
dhcpcd -h CR1008415-A
#
# Install the local network
#
ifconfig eth1 192.168.1.1 broadcast 192.168.1.255 netmask
255.255.255.0 up
route add -net 192.168.1.0 netmask 255.255.255.0 eth1
#
# The End
#
Of course place your own own subscriber name in place of
"CR1008415-A".
I use this box as a masquerade router to my local home
network, that is why there is a second ethernet adapter,
eth1 - just ignore if you just have a single computer
connected to your cable-modem.
That should work.
Best regards,
Brian
Jerome De Greef wrote in message
<[EMAIL PROTECTED]>...
> My cable modem company (Brutele, BE) assigns me a new IP
adress every
>week.
> The problem is that when this occurs, dhcpcd crashes and
my eth0
>interface is not there anymore when using ifconfig.
>
> My messages log has this entry (by memory, I'm not at
home):
>
> Apr 27 06:16:05 NeXus6 dhcpcd[178]: REBINDING: Lease time
expired.
>Fall back to INIT
>Apr 27 06:17:11 NeXus6 dhcpcd[178]: no DHCPOFFER messages
>
> I then have to manually run 'ifup eth0' or sometimes even
reboot the
>machine
> as 'ifup eth0' is not always working after my new IP is
assigned.
>
> I am running RH 5.1 and DHCPCD 0.65.
> My kernel is a 2.0.36
>
> How to make dhcpcd work with the new address
automatically?
> Any help would be appreciated.
>
> Jer.
>
>
------------------------------
From: "Chow Hoi Ka, Eric" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: How to setup a PPP dialup Server in Linux ?
Date: Wed, 12 May 1999 02:42:35 +0800
Reply-To: [EMAIL PROTECTED]
Hello,
How can I setup a PPP dialup Server in Linux and the clients that dialup
to the Linux can connect to the Internet through the Linux PPP
Server(which is connecting to the Internet) ??
Best regards,
Eric
--
_ _
/ ) |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ( \
/ / | | \ \
_( /_ | _ Chow Hoi Ka, Eric _ | _) )_
(((\ \> |/ ) ( \| </ /)))
(\\\\ \_/ / E-Mail : [EMAIL PROTECTED] \ \_/ ////)
\ / \ /
\ _/ http://www.sftw.umac.mo/~d951686/ \_ /
/ / |____________________________________________| \ \
/ / \ \
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: respawning mgetty only some of the time
Date: 11 May 1999 22:48:49 GMT
In <7h8nd1$[EMAIL PROTECTED]> [EMAIL PROTECTED] (Hal Sadofsky)
writes:
>This must be very simple, but I don't know how to do this. I wish to
>have my modem receive incoming calls, but only _part_ of the day. So
>I don't want to put this in inittab, since I'm not interested in
>rebooting twice a day.
Make two mgetty.config files, eg, mgetty.config.day and
mgetty.config.night
Then configure the two files. For example in may .day file I have the
ringagain option, so that if I call in once, hang up wait 20 sec, and
then dial back in then mgetty will answer the modem and I can connect
during the day as well.
Ie this file has the two commands
rings 2
ringback on
in it (ie, if a call comes in, answer the next call, if it comes in in
the appropriate window, after 2 rings)
In the nightime file I have
rings 2
ringback off
Then In the cron file I have
0 18 * * 1,2,3,4,5 cd /etc/mgetty+sendfax;rm mgetty.config; ln -s mgetty.config.night
mgetty.config ;killall mgetty
0 8 * * 1,2,3,4,5 cd /etc/mgetty+sendfax;rm mgetty.config; ln -s mgetty.config.day
mgetty.config ;killall mgetty
Which switches the two config files at 8 and at 6PM, and kills mgetty to
(inittab will restart them with the new config files)
Note that you could equally well put in a rings 25 in the daytime one
and it will not answer until 25 rings have gone by (and any customer who
phones in and lets it ring for 25 rings deserves to get blasted with the
modem sound :-) )
------------------------------
From: "donnell" <[EMAIL PROTECTED]>
Subject: newbie: set irq for eth0?
Date: Tue, 11 May 1999 15:14:34 -0700
new to linux running redhat 5.2 k2.0.36 on an i486
I want to change my ethernet card to irq 10, I have set the cards eeprom to
use 10, now I need to configure it in redhat. I was previously using irq 3
but wanted to free irq 3 for an old modem I have. I've tried setting the irq
to 10 using the linuxconf under basic host information but the system
doesn't recognize the change when I reset the irq value to 10. It still
wants to use 3 after usng the accept button. What file(s) can I edit
manually to reset this value?
------------------------------
From: "Damon J. Rygiewicz" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: kernel 2.2
Date: Tue, 11 May 1999 17:41:35 -0500
Check this out!
http://www.redhat.com/support/docs/rhl/kernel-2.2/kernel2.2-upgrade.html
Hope it helps!
Damon
------------------------------
From: <[EMAIL PROTECTED]>
Subject: POP3
Date: Tue, 11 May 1999 13:58:28 -0500
Does anyone know how to cross-balance load through multiple mail servers?
ie: if someone telnets to the POP3 port, they could connect to any of
several mail servers to retrieve mail stored on a file server... Kinda like
round-robin DNS but not really.
------------------------------
Reply-To: "Curt" <[EMAIL PROTECTED]>
From: "Curt" <[EMAIL PROTECTED]>
Subject: Re: IP Masquerading doesn't work!
Date: Tue, 11 May 1999 17:51:44 -0500
Things look ok to me. Did you forget to enable forwarding?
Look in /etc/sysconfig/network .
FORWARD_IPV4=yes
You'll have to reboot to make this take effect. I don't recall how to
enable it via /proc/net/ip_forward.
I know by default forwarding is not enabled in RH5.2
David Murray <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Okay, this is driving me crazy... All I did was reload my server with
> RedHat 5.2 instead of Slackware 3.4... but I can't make IP Masq work!
> Here is some info to start with:
>
> Kernel Version 2.0.36 with all needed items compiled in.
>
> Ifconfig looks like this:
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
> UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
> RX packets:49 errors:0 dropped:0 overruns:0 frame:0
> TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0
>
> eth0 Link encap:Ethernet HWaddr 00:AA:00:A5:C4:AF
> inet addr:192.168.0.10 Bcast:192.168.0.255
> Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:31970 errors:0 dropped:0 overruns:0 frame:0
> TX packets:29844 errors:0 dropped:0 overruns:0 carrier:1
> collisions:3
> Interrupt:10 Base address:0x300
>
> ppp0 Link encap:Point-to-Point Protocol
> inet addr:209.30.228.15 P-t-P:209.30.224.4
> Mask:255.255.255.0
> UP POINTOPOINT RUNNING MTU:1500 Metric:1
> RX packets:111 errors:0 dropped:0 overruns:0 frame:0
> TX packets:109 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0
> Memory:1139038-1139c04
>
>
> And here is what my routing table looks like....
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> atnt5.dialup.ft * 255.255.255.255 UH 0 0 0
> ppp0
> 192.168.0.0 * 255.255.255.0 U 0 0 4
> eth0
> 127.0.0.0 * 255.0.0.0 U 0 0 2
> lo
> default atnt5.dialup.ft 0.0.0.0 UG 0 0 4
> ppp0
>
> I have tried a variety of combinations of the ipfwadm command, but here
> are a few combinations I have tried (not simultaneously) I have tried:
>
> #ipfwadm -F -f
> #ipfwadm -I -f
> #ipfwadm -O -f
> #ipfwadm -F -p deny
> #ipfwadm -F -a masquerade -P tcp -S 192.168.0.0/255.255.0.0 -D 0.0.0.0/0
>
> #ipfwadm -F -a masquerade -P udp -S 192.168.0.0/255.255.0.0 -D 0.0.0.0/0
>
> ipfwadm -F -p deny
> ipfwadm -F -a m -S 192.168.0.0/24 -D 0.0.0.0/0
>
> #ipfwadm -F -p deny
> #ipfwadm -F -a m -S 192.168.0.3/0 -D 0.0.0.0/0
> #ipfwadm -F -a m -S 192.168.0.7/0 -D 0.0.0.0/0
>
> #ipfwadm -F -p deny
> #ipfwadm -F -a m -S 0.0.0.0/0 -D 192.168.0.7/32
> #ipfwadm -F -a m -S 0.0.0.0/0 -D 192.168.0.3/32
>
> Now, the thing is.. the machines I want to be able to access the
> internet have IP addresses of 192.168.0.xxx... The two I tried are
> 192.168.0.3 and 192.168.0.7. One is a Linux Box, the other Windows 95.
> I also have a Mac on 192.168.0.11. Anyway, all of these were working
> before with IP masq on the Slackware server.. so I haven't changed
> anything on them and the IP address of the server is the same as it was
> before (192.168.0.10) and yes, I know that was a poor choice for a
> gateway IP address, but it has always worked for years...
>
> I've been working on this for 24 hours and now I am going to give up and
> let somebody smarter than me tell me what I am doing wrong!
> --DavidM
>
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: NO CARRIER causes PPP to abort
Date: 11 May 1999 22:52:04 GMT
In <[EMAIL PROTECTED]> David Guyon Martin <[EMAIL PROTECTED]>
writes:
>In /var/log/messages I can read that pppd is aborting because the modem
>tells him 'NO CARRIER'.
The other end hung up on you.
To connect try looking at the step by step guide to ppp conection in my
sig file
------------------------------
** 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
******************************