Linux-Networking Digest #120, Volume #11 Tue, 11 May 99 22:13:51 EDT
Contents:
routing hell ("Derek Smith")
Re: IP Masquerading doesn't work! (David Murray)
3 X EthN Please help ("Gary Ferrer")
Re: apache server ("--==[bolMyn]==--")
programs hanging after sendto() call (J�rgen Skj�nes)
Re: LT Win Modem in Linux ("Curt")
Re: Exceed Ver 6.0 and Debian 2.1 (L J Bayuk)
Re: [Newbie Question] Setting up a machine to allow Internet access over a network
("Dennis S. Tepe")
Question Regarding /var/log/secure file (Terrence Coccoli)
Re: can't anybody help ?! (Kevin Martin)
Re: Dial up PPP Server problem (Bill Unruh)
Re: New Ethernet Card (Hans Dumbrajs)
Re: Network to Internet (via PPP to ISP) (Hans Dumbrajs)
Re: [Newbie Question] Setting up a machine to allow Internet access over (Hans
Dumbrajs)
Re: respawning mgetty only some of the time (M. Buchenrieder)
----------------------------------------------------------------------------
From: "Derek Smith" <[EMAIL PROTECTED]>
Subject: routing hell
Date: Tue, 11 May 1999 23:27:10 GMT
The linux box was working great for a while, but I think I changed something
and now it won't access the internet. When I try to ping my nameserver
(24.0.3.33) I get the message:
ping: sendto: Network is unreachable
I'm almost positive that the error is in the routing. I appended the outputs
of route, ifconf, and dmesg. I'm using cox@home with a static IP address.
Thanks,
Derek Smith
Sound Technology Consultants
www.sound-technology.com
route output:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
24.0.174.0 * 255.255.255.0 U 0 0 3 eth0
192.168.0.0 * 255.255.255.0 U 0 0 6 eth1
default 24.0.174.1 255.255.255.0 UG 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 5 lo
ifconfig output:
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:56 errors:0 dropped:0 overruns:0 frame:0
TX packets:56 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
eth0 Link encap:Ethernet HWaddr 00:10:5A:9C:56:8E
inet addr:24.0.174.72 Bcast:24.0.174.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:32 errors:0 dropped:0 overruns:0 frame:0
TX packets:41 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
Interrupt:11 Base address:0x280
eth1 Link encap:Ethernet HWaddr 00:10:5A:9C:58:47
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:73 errors:0 dropped:0 overruns:0 frame:0
TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
Interrupt:5 Base address:0x300
dmesg output:
Memory: sized by int13 088h
Console: 16 point font, 400 scans
Console: colour VGA+ 80x25, 1 virtual console (max 63)
pcibios_init : BIOS32 Service Directory structure at 0x000fc1f0
pcibios_init : BIOS32 Service Directory entry at 0xfc5a0
pcibios_init : PCI BIOS revision 2.00 entry at 0xfc5d0
Probing PCI hardware.
Calibrating delay loop.. ok - 39.73 BogoMIPS
Memory: 14664k/16384k available (748k kernel code, 384k reserved, 588k data)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.13 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: IGMP, ICMP, UDP, TCP
Linux IP multicast router 0.07.
VFS: Diskquotas version dquot_5.6.0 initialized
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.
Intel Pentium with F0 0F bug - workaround enabled.
alias mapping IDT readonly ... ... done
Linux version 2.0.36 ([EMAIL PROTECTED]) (gcc version 2.7.2.3) #1 Tue
Oct 13 22:17:11 EDT 1998
Starting kswapd v 1.4.2.2
Serial driver version 4.13 with no serial options enabled
tty00 at 0x03f8 (irq = 4) is a 16450
Real Time Clock Driver v1.09
Ramdisk driver initialized : 16 ramdisks of 4096K size
hda: SAMSUNG SHD-30560A (APRO-5) SSI, 535MB w/126kB Cache, CHS=1087/16/63
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Floppy drive(s): fd0 is 1.44M
FDC 0 is an 8272A
md driver 0.36.3 MAX_MD_DEV=4, MAX_REAL=8
scsi : 0 hosts.
scsi : detected total.
Partition check:
hda: hda1 hda2 < hda5 hda6 hda7 >
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 33228k swap-space (priority -1)
Swansea University Computer Society IPX 0.34 for NET3.035
IPX Portions Copyright (c) 1995 Caldera, Inc.
Appletalk 0.17 for Linux NET3.035
eth0: 3c509 at 0x280 tag 1, 10baseT port, address 00 10 5a 9c 56 8e, IRQ
11.
3c509.c:1.16 2/3/98 [EMAIL PROTECTED]
eth1: 3c509 at 0x300 tag 2, 10baseT port, address 00 10 5a 9c 58 47, IRQ 5.
3c509.c:1.16 2/3/98 [EMAIL PROTECTED]
eth0: Setting Rx mode to 1 addresses.
eth1: Setting Rx mode to 0 addresses.
eth1: Setting Rx mode to 1 addresses.
sysctl: ip forwarding off
sysctl: ip forwarding enabled
VFS: Disk change detected on device 02:00
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
Swansea University Computer Society IPX 0.34 for NET3.035
IPX Portions Copyright (c) 1995 Caldera, Inc.
Appletalk 0.17 for Linux NET3.035
VFS: Disk change detected on device 02:00
VFS: Mounted device 02:00 - tssk, tssk
VFS: inode busy on removed device 02:00
VFS: Disk change detected on device 02:00
VFS: Can't find an ext2 filesystem on dev 02:00.
------------------------------
From: David Murray <[EMAIL PROTECTED]>
Subject: Re: IP Masquerading doesn't work!
Date: Wed, 12 May 1999 00:43:52 GMT
Curt wrote:
> Things look ok to me. Did you forget to enable forwarding?
>
> Look in /etc/sysconfig/network .
>
> FORWARD_IPV4=yes
You are a lifesaver! That is what the problem was! I never knew about this
setting and never needed to change it under Slackware. I also noticed when
it was booting up that I would see a message saying it was disabled.
I figured it was turned on later when I used the commands..
--DavidM
------------------------------
From: "Gary Ferrer" <[EMAIL PROTECTED]>
Subject: 3 X EthN Please help
Date: Tue, 11 May 1999 13:53:34 -0700
Ok here's the scenario. I have an Intel MB with an onboard intel ethernet
that I am not using and cannot be disabled. RH5.2 recognizes this ethernet
port. In addition, I have 2 PCI NE2000 compatible ehternet cards. I am
using one of them now and I need to set up the 2nd one (for a proxy later
on). RH5.2 also recognises both these PCI cards upon boot up (It recognised
the 2nd one when I appended lilo with 'append="ether=10,0xff80"). Now I
cannot get the 2nd PCI card to come up. ifconfig reports that eth0 (the
onboard ehter) and eth1 were up but not eth2. ifconfig eth2 up did not work
either. I farted around with liloconf and now I'm screwed everything up. I
have eth0,1 and 2 with only one of them up. Here is the output of my dmesg.
NET3.035ne.c: PCI BIOS reports NE 2000 clone at i/o 0xff80, irq
10.ne.c:v1.10 9/23/94 Donald Becker ([EMAIL PROTECTED])
NE*000 ethercard probe at 0xff80: 00 00 b4 59 3d aaeth0: NE2000 found at
0xff80, using IRQ 10.
ne.c: PCI BIOS reports NE 2000 clone at i/o 0xff40, irq 11.NE*000 ethercard
probe at 0xff40: 00 e0 4c dd 23 13eth1: NE2000 found at 0xff40, using IRQ
11.
net_interrupt(): irq 11 for unknown device.net_interrupt(): irq 11 for
unknown device.net_interrupt(): irq 11 for unknown device.net_interrupt():
irq 11 for unknown device.
Now the PCI on Irq 11 used to be my original PCI card I accessed the
internet on. It looks like I'm accessing it on the PCI Irq 10 now. How do
I fix this mess and get both PCI cards to work and co-exist with the intel
onboard one (which cannot be disabled ... most unfortunately)
Thanks much
[EMAIL PROTECTED]
------------------------------
From: "--==[bolMyn]==--" <[EMAIL PROTECTED]>
Subject: Re: apache server
Date: Fri, 07 May 1999 03:58:52 GMT
Your home directory has to be at least marked +x for all others the same
as your public_html directory underneath. I have something like this:
drwx--x--x bolek bolek bolek
drwxr-xr-x bolek bolek public_html
If your home directory is set to drwx------, it will fail. I've learned
the hard way... :-)
LAB wrote:
> I'm having a small problem with apache server setup. I get "You
> don't have permission to access /~muddy/ on this server" fault. When
> I access just the domain name I get the "It worked" page. I have a
> public_http directory under the /home/muddy directory. I have three
> test pages in the public_http directory. Can someone point me in the
> right direction.
>
> thanks
--
Bolek,
URL: http://www.bolek.com
e-mail: [EMAIL PROTECTED]
------------------------------
Subject: programs hanging after sendto() call
From: [EMAIL PROTECTED] (J�rgen Skj�nes)
Date: 11 May 1999 20:57:52 +0200
(I hope this is the relevant group. Excuse me if it isn't.)
I have an old (RH 4.1 with upgrades) intel box running as a web server and
mail server, etc, and lately it is having problems when it comes to
things involving sockets (or so it seems). An ssh login onto the machine
takes a very long time to connect, the same with 'su', and a simple mailq
command may take several minutes.
A strace of mailq shows that it's hanging after a sendto call:
sendto(4, "86!\225\0\0\0\0\0\0\0\2\0\1\203\244"..., 136, 0, {sin_family=AF_INET,
sin_port=htons(871), sin_addr=inet_addr("XXX.XXX.XXX.XXX")}, 16) = 136
oldselect(256, [4], NULL, NULL, {5, 0}
(I've deleted the IP-adress, the XXX above is its own ip-number)
And here it hangs several seconds before it continues, but just to
end up hanging in the same place again later.
Does anyone know of any OS-limits it may have reached that could cause this?
I'm extremely curious about this and welcome any relevant feedback.
Thanks,
--
Jorgen
------------------------------
Reply-To: "Curt" <[EMAIL PROTECTED]>
From: "Curt" <[EMAIL PROTECTED]>
Subject: Re: LT Win Modem in Linux
Date: Thu, 6 May 1999 23:35:08 -0500
win modems won't work with linux
Al Goins <[EMAIL PROTECTED]> wrote in message
news:7gtm9a$ke2$[EMAIL PROTECTED]...
> I have an LT Win modem. I can't get it to respond to commands in Linux.
> Can anyone tell me how to configure it for dial up PPP?
>
> -Al
> [EMAIL PROTECTED]
>
>
>
------------------------------
From: [EMAIL PROTECTED] (L J Bayuk)
Subject: Re: Exceed Ver 6.0 and Debian 2.1
Date: 12 May 1999 01:30:32 GMT
[EMAIL PROTECTED] wrote:
>I am having trouble getting the window/exceed boxes to see the new
>debian box I just put in the network. It has XDM running and is in init
>level 5, However it does not seem to be broadcasting. I do have 6 RH 5.2
>boxes up and 4 Solaris 2.6 boxes and they were no trouble at all. I am
>sure it is something I have not configured correctly but I do not want
>my boss saying we have to go back to RedHat, so please any help would be
>great..
This is probably no specific help, but here goes anyway.
First, xdm doesn't broadcast. It responds to broadcasts. Your Exceed
does the broadcast, assuming its Xconfig is set to "XDMCP - Broadcast"
mode.
xdm on your Debian box will or won't respond to broadcasts depending
on its Xaccess file. On my system this is in /usr/lib/X11/xdm but
yours may differ. Check the file.
Of course broadcasts generally work only with a subnet.
Exceed doesn't always know the right broadcast address, so
you may have to configure it (under Transports, I think).
Have you tried setting Exceed to XDMCP Query mode going right to your
Debian box? Does that work? OK, next.
Exceed "XDMCP Broadcast" mode can be set to use a file listing
hosts to contact. Yes, they call it broadcast but it isn't. Are
you set to this mode? If so, maybe the Debian box isn't on the
list. Or maybe try this mode and put it in there. Does that work?
Hope some of this helps.
------------------------------
From: "Dennis S. Tepe" <[EMAIL PROTECTED]>
Subject: Re: [Newbie Question] Setting up a machine to allow Internet access over a
network
Date: Tue, 11 May 1999 21:49:31 -0400
Mark Hymers wrote:
> I have just started using Redhat Linux 5.2 on a spare 486 I have. I
> use Freeserve for my Internet connection and have a small network of
> two other Win95 machines using the basic sharing setup of Win95. I
> want to know whether it is possible to set up my Linux box to act as
> both a proxy server which will dial into my ISP when a request for
> such an external page is made from one of the network machines and
> whether I can download all of the e-mail from my account
> ([EMAIL PROTECTED]) and have it stored on the Linux machine
> under the relevant user name (mark, simon etc... [e.g
> [EMAIL PROTECTED] mail going to user mark].
>
> Rather a lot there I know but any help would be much appreciated.
>
> Thanks
>
> Mark
recompile the kernel with ip-masquarading. Then read all howtos. I know
that seem to be the stock answer but you will not know the questions to
ask if this task is not completed (several times.)
Denny
------------------------------
From: Terrence Coccoli <[EMAIL PROTECTED]>
Subject: Question Regarding /var/log/secure file
Date: Tue, 11 May 1999 21:42:21 -0400
I noticed that there is the following entry in this file:
May 2 22:22:57 teesmachine in.telnet[504]: connect from 12.220.47.110
I have a ppp connection to the internet and my question is did someone
from the above named ip address try to telnet into my computer ? Was he
successful ? How did he determine my ip address, since it is generated
randomly by my ip provider ?
I'm trying to learn about Linux, as you can probably tell.
Thanks for any responses !
------------------------------
From: [EMAIL PROTECTED] (Kevin Martin)
Subject: Re: can't anybody help ?!
Date: Tue, 11 May 1999 19:13:39 GMT
Please try to use a more descriptive subject. It really helps us help you.
Your ISP may have switched to a different authentication scheme instead of
"ogin" "ssword" -- a site that uses PAP or CHAP exclusively would look like
that in the log, because it would dropping you directly into ppp and then
try to negotiate your identity in that stream of 'garbage'. But if your old
script still connects when you power-cycle the modem, that doesn't sound
like the whole story. Bottom line: rather than tearing apart your system,
have you asked THEM what THEY may have changed?
That part about the CD/TR lights staying on when the OH light went off is a
weird occurrence, all right!
In article <[EMAIL PROTECTED]>, it
says Eric Trimmer <[EMAIL PROTECTED]> wrote:
>
> 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 !
> 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;?
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: Dial up PPP Server problem
Date: 12 May 1999 01:45:35 GMT
In <oP4_2.4780$[EMAIL PROTECTED]> "Chad Graham" <[EMAIL PROTECTED]>
writes:
>Mgetty dial in working great.
>PPP works but when I dial in from a windows 95 client using PPP it just
>hangs up.
>If I use a terminal window after dial in Win 95 I can log in and start PPP
>and get an ip connection. How do I set it up so it is automatic for the
>user?
a)Set up AutoPPP on mgetty. Use say chap authentication.
b)write a script based login for Win, where the script does the loggin
in and starting of ppp.
The first option is easier.
------------------------------
From: Hans Dumbrajs <[EMAIL PROTECTED]>
Subject: Re: New Ethernet Card
Date: Tue, 11 May 1999 15:20:18 +0300
Paulo Pereira wrote:
> Hi,
> I bought a new Ethernet Card (INTEL) and I want to install it on my
> Red Hat 5.2. How can I do it?
>
> ----------------------------------
> Paulo Pereira
By reading the Ethernet HOWTO
------------------------------
From: Hans Dumbrajs <[EMAIL PROTECTED]>
Subject: Re: Network to Internet (via PPP to ISP)
Date: Tue, 11 May 1999 15:22:42 +0300
"Matthew L. Hebert" wrote:
> Hi all,
>
> I am going to be setting up a client/server network using a linux box
> (RedHat 6.0). There are going to be about 6 nodes (Win95/98 machines)
> that will need access to the internet.
> I plan to use the private class C space (192.168.1.x) addresses for the
> nodes (linux box on 192.168.1.1 sound ok?).
> I would like to set the network up so that each node goes through the
> server for net access. Of course, I'm using PPP to get to my ISP, so
> I'll need some sort of way to do this. When a node wants 'net access,
> can the server open a PPP connection from it to the ISP on demand? Will
> it automatically hang up after a period of inactivity? What if one node
> has already opened a connection? Will the server allow both nodes to use
> the connection simultaneously?
> Also, I'm wan the server to be able to pull POP3 mail off the ISP mail
> server, and allow client machines (running netscape messenger or eudora)
> to access their mail through accounts on our server, while outgoing mail
> should go to the server for delivery to our ISP.
> Sorry about being a bit long-winded, but I have a lot of questions.
>
> Can someone give me an overview of how I should set this up, or point me
> in the right direction?
>
> Thanks,
> Matt
http://members.home.net/ipmasq/
------------------------------
From: Hans Dumbrajs <[EMAIL PROTECTED]>
Subject: Re: [Newbie Question] Setting up a machine to allow Internet access over
Date: Tue, 11 May 1999 15:23:34 +0300
Mark Hymers wrote:
> I have just started using Redhat Linux 5.2 on a spare 486 I have. I
> use Freeserve for my Internet connection and have a small network of
> two other Win95 machines using the basic sharing setup of Win95. I
> want to know whether it is possible to set up my Linux box to act as
> both a proxy server which will dial into my ISP when a request for
> such an external page is made from one of the network machines and
> whether I can download all of the e-mail from my account
> ([EMAIL PROTECTED]) and have it stored on the Linux machine
> under the relevant user name (mark, simon etc... [e.g
> [EMAIL PROTECTED] mail going to user mark].
>
> Rather a lot there I know but any help would be much appreciated.
>
> Thanks
>
> Mark
http://members.home.net/ipmasq/
------------------------------
From: [EMAIL PROTECTED] (M. Buchenrieder)
Subject: Re: respawning mgetty only some of the time
Date: Tue, 11 May 1999 22:03:15 GMT
[EMAIL PROTECTED] (Hal Sadofsky) writes:
>This must be very simple,
It is.
>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.
Doing this from out of inittab is plain silly. There is a specific
option for that sort of operation available with plain mgetty.
[...]
"man mgetty" would tell you about using a /etc/nologin.ttyS*
file for these tasks. Just make this a cronjob.
Michael
--
Michael Buchenrieder * [EMAIL PROTECTED] * http://www.muc.de/~mibu
Lumber Cartel Unit #456 (TINLC) & Official Netscum
Note: If you want me to send you email, don't munge your address.
------------------------------
** 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
******************************