Linux-Networking Digest #848, Volume #9 Mon, 11 Jan 99 11:13:31 EST
Contents:
Re: Pentium with CD -> 486 without (Barry O'Neill)
tunneling over masquerading ("Eric Kluft")
trouble with network adapter and RH5.2 (Brieuc Jeunhomme)
NIS login with network down (Mark Hagger)
Re: smbmount'ing NT share: weird time and date problems (Heiko Hellweg)
Re: PPP 2.3.5 and BellAtlantic.net (Frank Hale)
Re: Linux vs WIN NT ("Jonas")
modify files by telnet ("Matt Chipman")
Re: PPP Dial-Up Access S L O W! (Duncan Simpson)
Dialin from SCO OS5 fails (Stephen Davies)
Slow Dial-Up connection. Packet Size?? (John Feldman)
Routed -q reload and unexpected TX-done (Carl Koeppl)
Re: Apache 1.3.3 - multiple cgi-bin/ dir's without ScriptAlias? ("Perus")
LANalyzer for Linux? (ag)
newbie fast ethernet card question (Pete)
Re: Badly need help on PPP/RH5.2 ("logik")
----------------------------------------------------------------------------
From: Barry O'Neill <[EMAIL PROTECTED]>
Subject: Re: Pentium with CD -> 486 without
Date: Mon, 11 Jan 1999 12:20:54 +0000
Mikhail Bovineck wrote:
>
> Hi - I have Linux installed on a hardrive on a pentium box which
> originated on a CD ( RedHat Distribution). I also have a 486
> with no CD which I would like to make a Linux box as well. In other
> words, I would like to access the pentium box's CDrom from the 486.
I've recently done this. To my shame, I opted to physically mode the
CDROM to the 486 for the installation rather than learn something by
using the existing network connection.
That said, the installation (RedHat) worked without incident and the
CDROM is now back in the Pentium, while the 486 is now web serving, news
hosting and mail handling.
You would be better off (IMHO) with a couple of cheap network cards to
link your two boxes, rather than having to go down the PLIP/Serial
connection route.
regards,
Barry
--
Linux Redhat 5.2. BeOS R4.
Who needs Micro$lop?
------------------------------
From: "Eric Kluft" <[EMAIL PROTECTED]>
Subject: tunneling over masquerading
Date: Mon, 11 Jan 1999 13:29:48 +0100
Hi all,
My provider gives me 1 ip-number. They don't have the abillity to route more
ip-numbers to me. A friend of mine, however, is working at another ISP. By
tunneling (linux IPIP) I route 32 ip-numbers to me from that ISP. I just
route all computers on my local network over the tunnel to the internet.
(/sbin/route add default gw w.x.y.z tunl0)
So far so good.
The problem is that the tunnel uses 8 extra hops so the connections get
slower. The solution to this problem is to masquerade the workstations and
to tunnel the servers.
I can't do this on 1 server (because i must choose to route the default
gateway over the tunnel or ethernet interface (can't use both)).
If I use 2 computers, 1 computer is connected to the internet and
masquerades all computers behind it. The second computer contains the
tunnel. The source address of this tunnel server should be rewritten by the
masquerading server.
This last piece however is not possible. Tunneling uses RAW ip for it's
frames and you can't masquerade RAW ip.
I know this is the case for standard 2.0.35 kernels, but maybe there's a
solution for it. The solution as offered for microsoft PPTP does not work.
Does anyone know if ipchains has the abillity to masquerade raw ip?
Does anyone know if NAT has the abillity to masquerade raw ip?
Does anyone know a different solution?
Tanx in advance,
Eric.
------------------------------
From: Brieuc Jeunhomme <[EMAIL PROTECTED]>
Subject: trouble with network adapter and RH5.2
Date: Mon, 11 Jan 1999 13:36:42 +0100
Linux cannot properly initialize my D-Link DE660 and sends me the
following messages in /var/log/messages :
unresolved symbol unregister_netdev_R83363374
unresolved symbol register_netdev_Re4ba25d3
I however turned networking support on when compiling my kernel.
HEEEEEELP!
--
BBP
------------------------------
From: [EMAIL PROTECTED] (Mark Hagger)
Subject: NIS login with network down
Date: Mon, 11 Jan 1999 12:24:53 GMT
Hi,
I've got NIS set up ok on our network (Redhat 5.2 network), basically
all the users come from the server passwd file, I'm using compat mode,
but only in a basic fashion (ie +::::: at the end of the local passwd and
group files). nsswitch is pretty much as per the standard suggested
fashion for basic NIS.
However, there is one feature that I can't see how to get working. Say I
boot the machine and then unplug the network from the machine, then there
appears to be no way to log into the machine, even as root. All attempts to
access the machine result in timing out do_ypcall's.
What I would like to do is to still be able to login as root (or some local
user) even if the NIS server (or indeed the physical network) is down.
Any suggestions as to how this could be done?
Thanks,
Mark
------------------------------
From: Heiko Hellweg <[EMAIL PROTECTED]>
Subject: Re: smbmount'ing NT share: weird time and date problems
Date: 11 Jan 1999 13:43:25 +0100
last week i wrote:
> i have some strange problems, accessing an NT share with the smbfs
> package from my linux box ...
>
> there seem to be no straight rules - but the "last modified" times and dates
> on files that are accessed from the linux side sometimes have the strangest
> values.
...
by now i found the patch in
http://www.linuxhq.com/lnxlists/linux-kernel/lk_9802_01/0202.html
which seems to help...
recompiling and reloading the smbfs module has done the trick and
while directory mtimes are still rather weird, the files look ok !
that makes editing files on that mounted directory a lot less painfull
(every time you save you�d be asked, wether you want to overwrite a
newer file than the one in memory ...)
thanks for all your replies - maybe this helps some more people
with the same problem.
--
============================ Heiko Hellweg ===========================
[EMAIL PROTECTED] http://www.uni-koblenz.de/~hellweg/
10% of our customers account for 90% of our service cost: those who
actually use our product, plus the ones who were injured unpacking it.
------------------------------
From: Frank Hale <[EMAIL PROTECTED]>
Subject: Re: PPP 2.3.5 and BellAtlantic.net
Date: 11 Jan 1999 12:49:42 GMT
Kolbjorn Bekkelund wrote:
>
> Are You by any chance using a ZyXEL TA for this?
> I have the same problems and is currently in talks with ZyXEL about this.
> It is definetly a problem with the TA since my old analog modem works just fine
> with the same setup !!.
No, I dumped BellAtlantic and got a new ISP and everything is fine.
--
From: Frank Hale
Email: [EMAIL PROTECTED]
ICQ: 7205161
Homepage: http://members.xoom.com/frankhale/
Jade: http://jade.netpedia.net/
------------------------------
From: "Jonas" <[EMAIL PROTECTED]>
Subject: Re: Linux vs WIN NT
Date: Mon, 11 Jan 1999 12:32:34 +0100
Cnet made a comparison just like that last year (RedHat vs Win NT)
Look at www.cnet.com
/Jonas
------------------------------
From: "Matt Chipman" <[EMAIL PROTECTED]>
Subject: modify files by telnet
Date: Mon, 11 Jan 1999 22:39:52 +1100
Hi all
why is it that i cant modify files by telnet? I have used the "su"
command when i log in but still cannot modify control files.
I can walk around the files with the arrow keys and save and quit but
nothing can be modified. Vim doesnt come up with any readonly messages
while i am logged in as superuser. I can modify on the local machine no
probs using vim.
What do other people do for remote access?
thanks Matt
------------------------------
From: [EMAIL PROTECTED] (Duncan Simpson)
Subject: Re: PPP Dial-Up Access S L O W!
Date: 11 Jan 1999 13:32:57 GMT
In <[EMAIL PROTECTED]> [EMAIL PROTECTED] (Marco Haakmeester)
writes:
>Probably an irq mismatch. You can correct it by:
>Check your IRQ used in WIN95 for your modem
>(controlpanel-->system-->devicemanager-->ports)
>Then check in linux the status of your serial port (com
>port)(setserial -a /dev/ttyS?)
I had the same problem a while back. I switched the modem to a serial
port on a different irq and the problem went away. The kernel I was
using at the time is not vaguely current and I have to moved the modem
back to something with the same IRQ, so do not know whether the
current bleeding edge kernels have the same problem.
Since all phone calls cost money I am not just about to try.
Duncan (-:
------------------------------
From: Stephen Davies <[EMAIL PROTECTED]>
Subject: Dialin from SCO OS5 fails
Date: Mon, 11 Jan 1999 17:51:05 +1030
I have three SCO Open Server 5 systems which I want to configure to open
PPP
connections to my Linux 2.0.36 server.
However, they all fail to login successfully using the SCO version of
chat for UUCP/PPP.
I am running mgetty 1.0.0 with the gettydefs option turned off (and
cannot find any documentation as to just how it handles the line without
gettydefs) and can successfully dialin and open PPP connections from
Macs, W9x and other Linux boxes. Only the SCO boxes fail.
What happens is that the login prompt is sent to the SCO box which
recognises it and starts to reply with the username but at random points
during that input, all communications cease and mgetty times out and
hangs up.
I guess that there is some incompatability between the way that SCO
drives it's modem and the way that Linux/mgetty expects it be be driven
but have no ideas left as to what it might be.
Any suggestions gratefully received.
Cheers and thanks,
Stephen
--
========================================================================
Stephen Davies Consulting [EMAIL PROTECTED]
Adelaide, South Australia. Voice: 041-980 1417
Computing & Network solutions. Fax : 08-8272 8863
------------------------------
From: John Feldman <[EMAIL PROTECTED]>
Subject: Slow Dial-Up connection. Packet Size??
Date: Mon, 11 Jan 1999 09:39:21 -0500
I have a dial-up connection that uses an internal Motorola Modem Surfer
28.8 modem and it is painfully slow. By slow I mean that technically it
works, but it's completely unusable. I've tried countless solutions in
the last week and am ready to toss the thing all together and just buy a
new modem. Before I do that, I think it would be wise to ask the gurus
for help one more time. As I said last time, I'm an NT man (yeah yeah,
boo hiss) just discovering the wonderful world of Linux, so go easy on
me. I could very easily have missed something obvious. Here's the
scenario.
1. RedHat 5.2
2. Modem uses the standard Com1 address and IRQ (yes it is jumpered to
4)
3. Kppp is managing the connection. (I had the same problem before I
installed KDE so this probably isn't configured incorrectly) Anyway,
It's a PAP connection that seems to be logging in correctly.
4. Under netcfg, "hardware flow control" is checked, "use escape
characters" is unchecked.
5. I've tried varying the packet size by changing the MRU setting.
Performance was the same at a packet size of 100, 500 and 1500 bytes.
My questions here is, if this is left blank, will it adjust the packet
size dynamically? ...not sure how that works under Linux.
6. I've tried adjusting the connection speed to 38K,57K and 115K. No
effect.
7. When I look at what's being transmitted, I see that I'm sending
roughly twice as many packets as what I'm receiving. I would guess that
I'm not receiving acknowledgements so packets are being resent. This is
just from observing the kppp connection monitor. I haven't figured out
how to view actual connection logs so that I can see what's really
happening.
8. DNS servers are those provided by my ISP. I haven't hooked this
machine up to the LAN yet, so there are no other DNS machines to
interfere. Besides, the response is just as slow if I use straight IPs.
9. For now, I'm using my ISPs domain name as the domain name.
10. If I ping a host it will sometimes time out, sometimes work. If I
use netscape to view a site, it takes about ten minutes for a page to
load. So the connection does work, even if terribly.
11. The modem initialization string is simply ATZ L1.
12. This modem spent years in an NT machine and worked flawlessly.
Thanks in advance for the help.
------------------------------
From: Carl Koeppl <[EMAIL PROTECTED]>
Subject: Routed -q reload and unexpected TX-done
Date: Mon, 11 Jan 1999 09:00:53 -0500
Routed will not start up properly for me. After the system starts up
I have to kill routed and restart it in order to see any of the routing
information.
The run level editor shows kerneld, network, nfsfs, random, syslog, atd,
crond, pcmcia, inet and routed in that order, which seems correct.
I am running Redhat 5.1 on a Hinote VP laptop.
Any thoughts on why I need to restart routed to get the routing tables
after rebooting?
On another note, I am getting the following error logged. Any thoughts
on why I am getting this error?
kernel: eth0: unexpected TX-done interrupt.
I have a NE2000 PCMCIA ethernet card...
Regards,
'Carl
------------------------------
From: "Perus" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: Apache 1.3.3 - multiple cgi-bin/ dir's without ScriptAlias?
Date: Mon, 11 Jan 1999 16:07:20 +0200
Yes, there is an easy way.
Open your access.conf on your apache/etc dir.
Use <Directory> tags to do it, like:
<Directory "/home/*/html/cgi-bin">
Options FollowSymLinks ExecCGI
AllowOverride Limit Options FileInfo Authconfig
</Directory>
The ExecCGI is what you need, and the "*" in the directory path.
I actually haven't tried this myself but I think it could work. Try it :)
Jussi Saarivirta
[EMAIL PROTECTED]
>Thanks for bothering with me on this one...I think it's rather simple
>but none of my attempts have worked.
>
>I am running Apache 1.3.3 on RedHat Linux 5.1 (Manhattan) with kernel
>2.0.35. I have successfully setup several user directories, and I
>want each to have its own /cgi-bin/. Do I put a dir called "cgi-bin"
>in the UserDir (for me it's /home/user/html) and put a ScriptAlias in
>srm.conf. My question is this: can I setup a "directory mask" such as
>/home/*/html/cgi-bin/ somewhere in the conf files for all user
>cgi-bin/ directories? I plan on having MANY users on this system and
>I do not want to overload my srm file with that many ScriptAlias
>lines. Any help is greatly appreciated!
>
>Chris
------------------------------
From: ag <[EMAIL PROTECTED]>
Subject: LANalyzer for Linux?
Date: Mon, 11 Jan 1999 09:22:42 -0600
Reply-To: [EMAIL PROTECTED]
Hi All,
Does Linux have a network monitor similiar to LANalyzer? Any pointers
appreciated....
Andrew
------------------------------
From: [EMAIL PROTECTED] (Pete)
Crossposted-To: alt.os.linux
Subject: newbie fast ethernet card question
Date: 10 Jan 1999 09:43:16 GMT
hello all
although my system seems to recognize my fast ethernet card:
# dmesg
rtl8139.c:v0.99B 4/7/98 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/r
tl8139.html
eth0: RealTek RTL8139 at 0xfc80, IRQ 10, 00:40:c7:79:19:4c.
eth0: Promiscuous mode enabled.
it doesn't show up as a device file:
# ll /dev/e*
lrwxrwxrwx 1 root root 8 Dec 31 07:44 /dev/egp -> inet/egp
how can my system recognize an ethernet card but have no device file for
it? can can i remedy this situation?
thanks!
pete
------------------------------
From: "logik" <[EMAIL PROTECTED]>
Subject: Re: Badly need help on PPP/RH5.2
Date: 11 Jan 1999 13:30:03 GMT
Yes it is included (Anyway, the routing seems right to me, maybe the
netmask is not THAt right...)
Warren Mira <[EMAIL PROTECTED]> a �crit dans l'article
<[EMAIL PROTECTED]>...
>
> is defaultroute included in /etc/ppp/options file?
> logik wrote:
>
> > Hi people out there. I'm having some great difficulties
connecting my
> > linux box to the internet. I know how to do it because i did it soo
many
> > times, and most of the time it worked (at least, i didn't have to go
that
> > far).
> >
> > It has been almost 2 weeks since i have this problem: once
connected, i am
> > not able to access any IP (ping, ftp...), including my DNS servers,
> > machines in my domain and my remote IP (my local ppp IP can be
reached). My
> > ISP keeps telling me nothing has changed on his side.
> >
> > I use Redhat 5.2/ kernel 2.0.36 with a X2 modem, and i used to
connect
> > with slakware 96/2.0.0 (which worked). Please note that winblows
connects
> > perfectly. Be sure that I read lots of doc, and tried alot the
different
> > possibilities...
> >
> > I have included here a detailed debug of pppd. Note the "CCP:
> > Request-config Timeout", and also that the function ppp_dev_stats (?)
is
> > 'called' 10 times. Does anyone know the correct output of this log? I
> > simply put 'kdebug 7' in /etc/ppp/options' to have this in
> > /var/log/messages:
> >
> > ******** BEGIN /var/log/messages **********
> > Jan 11 02:40:41 logik chat[514]: Password:
> > Jan 11 02:40:41 logik chat[514]: -- got it
> > Jan 11 02:40:41 logik chat[514]: send (xxxxxxx^M)
> > Jan 11 02:40:41 logik chat[514]: expect (EASYSTARTPPP)
> > Jan 11 02:40:41 logik chat[514]: ^M
> > Jan 11 02:40:41 logik chat[514]: Phase de test 2 (Reseau Easynet et
options
> > possibles).EASYSTARTPPP
> > Jan 11 02:40:41 logik chat[514]: -- got it
> > Jan 11 02:40:41 logik chat[514]: send (^M)
> > Jan 11 02:40:41 logik chat[514]: expect (~)
> > -- I tried to expect lots of things here ;) - including nothing
> > Jan 11 02:40:41 logik pppd[511]: Serial connection established.
> > Jan 11 02:40:41 logik chat[514]: session from (195.114.65.18) to
> > 212.11.30.146 beginning....~
> > Jan 11 02:40:41 logik chat[514]: -- got it
> > Jan 11 02:40:41 logik chat[514]: send (^M)
> > Jan 11 02:40:42 logik kernel: ppp_tty_ioctl: set flags to 70000
> > Jan 11 02:40:42 logik kernel: ppp_tty_ioctl: set flags to 70000
> > Jan 11 02:40:42 logik pppd[511]: Using interface ppp0
> > Jan 11 02:40:42 logik kernel: ppp_tty_ioctl: set xasyncmap
> > Jan 11 02:40:42 logik kernel: ppp_tty_ioctl: set xmit asyncmap ffffffff
> > Jan 11 02:40:42 logik kernel: ppp_tty_ioctl: set flags to 70000
> > Jan 11 02:40:42 logik kernel: ppp_tty_ioctl: set mru to 5dc
> > Jan 11 02:40:42 logik kernel: ppp_tty_ioctl: set rcv asyncmap ffffffff
> > Jan 11 02:40:42 logik kernel: ppp_tty_ioctl: set flags to 70000
> > Jan 11 02:40:42 logik pppd[511]: Connect: ppp0 <--> /dev/modem
> > Jan 11 02:40:42 logik kernel: ppp: successfully queued 16 bytes, flags
=
> > f070000
> > Jan 11 02:40:44 logik kernel: ppp: successfully queued 26 bytes, flags
=
> > f070000Jan 11 02:40:44 logik kernel: ppp_tty_ioctl: set xmit asyncmap 0
> > Jan 11 02:40:44 logik kernel: ppp_tty_ioctl: set flags to f070003
> > Jan 11 02:40:44 logik kernel: ppp_tty_ioctl: set mru to 5dc
> > Jan 11 02:40:44 logik kernel: ppp_tty_ioctl: set rcv asyncmap ffffffff
> > Jan 11 02:40:44 logik kernel: ppp_tty_ioctl: set flags to f070003
> > Jan 11 02:40:44 logik kernel: ppp_tty_ioctl: set flags to f070043
> > Jan 11 02:40:44 logik kernel: ppp: successfully queued 18 bytes, flags
=
> > f070043
> > Jan 11 02:40:44 logik kernel: ppp: successfully queued 12 bytes, flags
=
> > f070043
> > Jan 11 02:40:44 logik kernel: ppp: successfully queued 18 bytes, flags
=
> > f070043
> > Jan 11 02:40:44 logik kernel: ppp_tty_ioctl: set maxcid to 16
> > Jan 11 02:40:44 logik kernel: ppp_tty_ioctl: set flags to f07004f
> > Jan 11 02:40:44 logik kernel: ppp: channel ppp0 going up for IP
packets!
> > Jan 11 02:40:44 logik pppd[511]: local IP address 212.11.30.146
> > Jan 11 02:40:44 logik pppd[511]: remote IP address 195.114.65.18
> > Jan 11 02:40:44 logik kernel: ppp: successfully queued 11 bytes, flags
=
> > f07004f
> > Jan 11 02:40:45 logik kernel: ppp_dev_stats called<6>ppp_dev_stats
> > called<6>ppp_
> > dev_stats called<6>ppp_dev_stats called<6>ppp_dev_stats
> > called<6>ppp_dev_stats c
> > alled<6>ppp_dev_stats called<6>ppp_dev_stats called<6>ppp_dev_stats
> > called<6>ppp
> > _dev_stats called<7>ppp_tty_read: called buf=08064610 nr=1504
> > Jan 11 02:40:47 logik kernel: ppp: successfully queued 11 bytes, flags
=
> > f07004f
> > Jan 11 02:40:50 logik kernel: ppp: successfully queued 11 bytes, flags
=
> > f07004f
> >
> > -- After ~30 seconds
> > Jan 11 02:41:14 logik pppd[511]: CCP: timeout sending Config-Requests
> >
> > -- ppp doesn't disconnect so i have to type here 'ifdown ppp0'
> > Jan 11 02:42:04 logik pppd[511]: Terminating on signal 15.
> > Jan 11 02:42:04 logik kernel: ppp_tty_ioctl: set flags to f07004b
> > Jan 11 02:42:04 logik kernel: ppp: channel ppp0 going down for IP
packets!
> > Jan 11 02:42:04 logik kernel: ppp_tty_ioctl: set flags to f07000b
> > Jan 11 02:42:04 logik kernel: ppp_tty_ioctl: set xmit asyncmap ffffffff
> > Jan 11 02:42:04 logik kernel: ppp_tty_ioctl: set flags to f070008
> > Jan 11 02:42:04 logik kernel: ppp_tty_ioctl: set mru to 5dc
> > Jan 11 02:42:04 logik kernel: ppp_tty_ioctl: set rcv asyncmap ffffffff
> > Jan 11 02:42:04 logik kernel: ppp_tty_ioctl: set flags to f070008
> > Jan 11 02:42:04 logik pppd[511]: Connection terminated.
> > Jan 11 02:42:04 logik kernel: ppp: successfully queued 6 bytes, flags =
> > f070008
> > Jan 11 02:42:04 logik kernel: ppp: channel ppp0 closing.
> > Jan 11 02:42:04 logik pppd[511]: Exit.
> > ******** END /var/log/messages **********
> >
> > More information here (I have a ethernet card connected to a terminator
and
> > i already tried to remove the eth0 device/route)
> >
> > ******** BEGIN 'route -n' cos' route doesn't work **********
> >
> > Kernel IP routing table
> > Destination Gateway Genmask Flags Metric Ref Use
> > Iface
> > 195.114.65.18 0.0.0.0 255.255.255.255 UH 0 0 0
> > ppp0
> > 198.68.0.0 0.0.0.0 255.255.255.0 U 0 0 0
> > eth0
> > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
lo
> > 0.0.0.0 195.114.65.18 0.0.0.0 UG 0 0 1
> > ppp0
> >
> > ******** END route **********
> > ******** BEGIN ifconfig **********
> >
> > ppp0 Link encap:Point-to-Point Protocol
> > inet addr:212.11.30.176 P-t-P:195.114.65.18
Mask:255.255.255.0
> > UP POINTOPOINT RUNNING MTU:1500 Metric:1
> > RX packets:8 errors:0 dropped:0 overruns:0 frame:0
> > TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
> > collisions:0
> > Memory:5adf038-5adfc04
> > ******** END ifconfig **********
> >
> > my /etc/hosts, /etc/resolv.conf are correct:
> >
> > 127.0.0.1 localhost localhost.localdomain
> > 198.68.0.1 logik.local.fr logik
> >
> > search provider.fr
> > nameserver 195.114.64.193
> > nameserver 193.131.248.2
> >
> > So if you can help me with this trick, i would be soooo happy. For now,
i
> > really go crazy... :(
> > thanks
> >
> > Guilhem
>
>
------------------------------
** 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
******************************