Linux-Networking Digest #464, Volume #10 Fri, 12 Mar 99 01:13:32 EST
Contents:
Re: setting DISPLAY variable (Tom Oswald)
help!!! with win98 (JOEYDINE)
Re: IP forwarding problems ("Michael D. Cencula")
Re: Non-Winmodem problems! Help! ("Ger Donners")
Re: How to start ftpd after ftpshut? (Abe Lin)
Re: Linux ppp server and Win98 client (cor gest jr)
Re: Ethernet vs. SCSI (Allen)
Re: Kernel 2.2.3 Networking Performance Really Bad!?! (Vincent Raffensberger)
Re: RE:Network Newbie Question ("Michael D. Cencula")
Need PPP log interpreter!!! ("Marco Fonseca")
help PPP script failing ("Flipper")
Re: Can I shutdown linux remotely? ("John Hardin")
Re: Network Newbie Question ("H.G.Williams")
----------------------------------------------------------------------------
From: Tom Oswald <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,comp.os.linux,comp.os.linux.help
Subject: Re: setting DISPLAY variable
Date: Thu, 11 Mar 1999 15:41:04 -0800
Ron Flory wrote:
>
> the short form.
>
> try 'export DISPLAY=:0'
>
> If it works, place 'export DISPLAY=:0' in your .bash_profile , then
> forget about it.
>
> ron
Wrong, look at the script. It is either :0.0 or <ip_address>:0.0 for
remote X.
Tom
--
=== Tom Oswald = mailto:[EMAIL PROTECTED] = (360)817-8484 ===
Imaging Division Sharp Labs
Camas, WA, 97223
Standard Disclaimers Apply, including:
"Any ideas or opinions expressed here do not necessarily
reflect the ideas or opinions of my employer." :^)
===================================================================
------------------------------
From: [EMAIL PROTECTED] (JOEYDINE)
Subject: help!!! with win98
Date: 12 Mar 1999 00:01:38 GMT
i'm having problem accessing shared folder in my samba server, i already check
the permission and it has rwx, i can see the shared folders and i can map it
but everytime i doule click on it, it will ask for a password...please advice
thanks in advance
[EMAIL PROTECTED]
ps. i have no problem in my win 95 machine
------------------------------
From: "Michael D. Cencula" <[EMAIL PROTECTED]>
Subject: Re: IP forwarding problems
Date: Thu, 11 Mar 1999 23:37:54 -0500
Follow the other suggestions to get ip masquerading working. Ping will not
work from the internal network to the outside world. :( Be sure that the
machines on the internal network are NOT set up to access the internet
through a proxy server. IP masquerading is NOT a proxy. From the viewpoint
of the machines on the internal network, they think they are directly
connected to the internet. Some protocols require running additional
modules since they are not standard IP connections. A couple of these are
FTP (requires ip_masq_ftp) and CUSEEME (requires ip_masq_?????)
Iron Galaxy wrote in message ...
>I have just configured a Linux Box as my internet proxy between my home
>network and the @Home cable modem service. Both the network cards (one for
>the cable modem and one to the hub for the internal network) worked fine
>under Linux and the entire setup worked fine under windows 98(using
>winProxy)....
>
>I tried using the IP-Masqurading program and Ping works fine from any node
>on internal network to the Linux Box and gateway is fine too....the DNS is
>right too.....(well I can get on to internet from within the Linux Box ).
>But when I tried to ping from the nodes on the internal network to the
>outside world, it doesn't work. Nor Netscape, icq....etc.
>
>I have used the same DNS and Domain setting in my win98 network properties
>and I have used the Linux Box IP (192.168.0.1) as the gateway for the
win98
>nodes. An IP (from 192.168.0.2 -> 192.168.0.5) was assigned for each of
the
>nodes and all looks fine....BUT IT DOESN'T WORK!!!!!!!!!
>
>Is it a problem in the Linux config. or Win98 config? If so, what is the
>problem??
>
>
------------------------------
From: "Ger Donners" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.hardware
Subject: Re: Non-Winmodem problems! Help!
Date: Fri, 12 Mar 1999 00:43:58 +0100
In case the modem is an internal, does linux see the extra serial port? My
guess would be the portsettings are incorrect. I know everyone says Linux
doesn't use BIOS but I always setup the onboard ports to COM1&3 or disable
them. Otherwise they will conflict with internal modems. If it is an
external modem set the ports in BIOS to something your mouse and internal
modem is NOT using. Never use com 2 and 4, and 1 and 3 together to avoid
problems. This may be not true by the books but it is in the real world.
Ger Donners
[EMAIL PROTECTED] wrote in message
<7c915m$e08$[EMAIL PROTECTED]>...
>Greetings: I recently purchased a non-WinModem 3Com/USR 56K modem that I am
>trying to set up on my linux box. Currently, I have a 28.8K USR Sportster
>internal modem, and that has been working splendidly without problems.
>However, when I install and try to set up the 56K modem, diald (which I am
>using for dial-up) fails to initialize the modem. I have tried setting up
the
>modem on /dev/cua0, /dev/cua1, & /dev/cua2, but have not had any luck. It
>seems to me that the problem might be in the modem initialization string,
but
>I thought that these were all pretty much the same, especially for modems
>made by the same manufacturer? Please, can anyone help?? Thanks!!
>
>Justin
>(send email to [EMAIL PROTECTED])
>
>-----------== Posted via Deja News, The Discussion Network ==----------
>http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: [EMAIL PROTECTED] (Abe Lin)
Subject: Re: How to start ftpd after ftpshut?
Date: Fri, 12 Mar 1999 05:08:30 GMT
Another thing, guys:
The message I get when ftp(even after ftpshut and reboot) is:
500 linux-box.local FTP server shut down - please try again later.
But in /etc/inetd.conf:
ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd -l -a
If I get rid of that -a option, and killall -HUP inetd, then
everything woks well. But would anyone wanna run without
-a?
Please help.
abe
------------------------------
From: cor gest jr <[EMAIL PROTECTED]>
Crossposted-To: comp.protocols.ppp,nl.comp.os.linux
Subject: Re: Linux ppp server and Win98 client
Date: Thu, 11 Mar 1999 20:43:29 +0000
On Thu, 11 Mar 1999, Ronald Hovens wrote:
>
>This SEEMS to work: I get no errormessages after succesfull connection by
>using a valid username/password pair.
>
>However, I cannot ping nor telnet my linux box once the link is up.
>Furthermore, when I use a 'net use' statement from windows I get a message
>that the computername cannot be found on the network.
>
Het lijkt een routing probleem.
Hoe staat het met de routing:
ppp option file:
defaultroute naar ppp) device
-defaultroute
route 0.0.0.0 255.255.255.255 ppp0
route -net (inetrn netwerk) netmask eth0
cor
+++
isn't linux fun
Real OS freedom is...........GNU/LINUX and Xfree_86
http://www.knoware.nl/users/ccgestjr/index.html
------------------------------
From: [EMAIL PROTECTED] (Allen)
Crossposted-To: comp.os.linux.hardware
Subject: Re: Ethernet vs. SCSI
Date: 12 Mar 1999 05:17:17 GMT
Go with 10BaseT till you are ready to buy/build a real system--getting 10/100 or
100BaseTX ISA cards will much more expensive than upgrading your entire system
is worth, and will still be limited by the ISA bus, to a max transfer of about
25 Mbit/sec tops. And SCSI? If you have that much throw-away $$ then buy all
new systems? (I'm sure that you don't have a PCI 2.1 compliant 386 or 486
system! you will have problems with the newer PCI cards even if your 486 {or
386?} has PCI slots!!!)
On Thu, 11 Mar 1999 11:47:42 -0800, [EMAIL PROTECTED] (jedi) wrote:
>On Thu, 11 Mar 1999 10:52:45 -0800, Christopher Howard <[EMAIL PROTECTED]> wrote:
>>I have a 386, 486, and a 586. I was thinking of linking them with
>>ethernet but then I started thinking about SCSI. They will be stacked
>>on top of each other, and I do plan on getting another system to add to
>>it later. What would be the advantages and disadvatages of using SCSI
>>instead of Ethernet? There are 2 extra bays in the 586 and the 386,
>>the 486 has 1 extra bay, but I could replace the IDE cd rom with SCSI
>>(wich would be 2 bays). Email me with your thoughts.
>
> SCSI is rather more expensive. Plus, there are cable length
> restrictions to deal with, especially with SCSI3. Furthermore,
> the really dense connectors are a real PITA to deal with.
>
> For a 386 & 486, 10baseT or 100BaseT should be adequate.
>
> However, scsi would likely be a more interesting hack.
Allen
(email addy; user ID portion has a numeral one in place of word
onespoiler, and of course, delete the bogus secondary domain of nospam.)
PC/hardware Guru, and Linux Newbie--(how DO you exit vi?)
------------------------------
From: Vincent Raffensberger <[EMAIL PROTECTED]>
Subject: Re: Kernel 2.2.3 Networking Performance Really Bad!?!
Date: Fri, 12 Mar 1999 05:22:08 GMT
My problems have been much worse than that. I've been screwing with the
new kernel for a week now. My 3c509b works fine with the 2.0.36 from
the rh5.2 install, but when i upgrade the kernel it won't initialize
eth0 anymore. I've tried all the normal things including reinstalling
everything several times, it just won't work. The only message i see
is one saying eth0 initialization delayed. Any suggestions?
Jerry Gardner wrote:
>
> Jerry Gardner <[EMAIL PROTECTED]> writes:
>
> > Several people replied and suggested that the new 2.2 kernels have
> > better network performance. I downloaded 2.2.3 and installed it on my
> > machine. Now throughput on the same ethernet (with no load) is down to
> > 52 kB/sec!!! This is a drop in performance of over an order of
> > magnitude!
>
> It turns out that one of my 3C905 boards was set to full-duplex
> mode. For some reason, it runs like a dog in this mode.
>
> I ran the 3COM configuration utility, put the board in half-duplex
> mode, and now my FTP throughput with Linux 2.2.3 is 1050 kB/sec. This
> is more like it. ;-)
>
> --
> Jerry Gardner | "Bill Clinton has all the steely resolve resolve
> [EMAIL PROTECTED] | of a kamakaze pilot on his 37th mission."
------------------------------
From: "Michael D. Cencula" <[EMAIL PROTECTED]>
Subject: Re: RE:Network Newbie Question
Date: Fri, 12 Mar 1999 00:09:24 -0500
Routing table should not matter for your setup (use "linuxconfig" to set up
the network card configuration info that Frank Hahn is setting up in the
routing table section of his rc.inet).
I'm assuming that you eventually want to use one of these machines to
connect to the internet and that you want to allow the other machine to
access the internet through this one as well. Assuming you want to use the
Windows machine to connect to the internet, don't supply a default gateway
for the Windows machine. It will get its default gateway from the ppp
connection. On the Linux box, set the default gateway to the IP address of
the Windows machine.
I am running RH5.2 kernel 2.0.36 and there is no file rc.inet An easy way
to make these settings would be to run "linuxconfig". It will put the IP
addressing entries in their appropriate places.
For the purpose of getting things working, you shouldn't need any hosts or
lmhosts file. Just use the IP numbers instead of the hostnames when doing
your pings.
H.G.Williams wrote in message <[EMAIL PROTECTED]>...
>I failed to mention this question when I wrote the original message:
>
>For the folks running RedHat v5.2, kernel 2.0.36, is there a file
>somewhere on your system called "rc.inet"???? If so, did you create it
>yourself? (Because the install process DID NOT create one for my
>system!) What parameters should go in it?
>
>How important is the routing table?
>
------------------------------
From: "Marco Fonseca" <[EMAIL PROTECTED]>
Subject: Need PPP log interpreter!!!
Date: Thu, 11 Mar 1999 23:41:18 -0500
Still haven't been able to connect to my ISP using PPP. After one month!!!
However, I now get more "reasonable" messages than the ones I was getting at
the beginning. Here's the one for which I need an interpreter and CLEAR
guidelines on how to fix the problem(s) therein. By CLEAR I mean: if there's
new commands I've gotta enter into script files and the like, I would
appreciate exact syntax and location within files, etc. Otherwise, I'll just
f---it over and over again. So, here's a chunck of the log with my username
and password changed:
Mar 11 14:29:18 localhost ifup-ppp: pppd started for ppp0 on /dev/modem at
38400
Mar 11 14:29:18 localhost pppd[749]: pppd 2.3.5 started by root, uid 0
Mar 11 14:29:19 localhost chat[751]: abort on (BUSY)
Mar 11 14:29:19 localhost chat[751]: abort on (ERROR)
Mar 11 14:29:19 localhost chat[751]: abort on (NO CARRIER)
Mar 11 14:29:19 localhost chat[751]: abort on (NO DIALTONE)
Mar 11 14:29:19 localhost chat[751]: abort on (Invalid Login)
Mar 11 14:29:19 localhost chat[751]: abort on (Login incorrect)
Mar 11 14:29:19 localhost chat[751]: send (ATZ^M)
Mar 11 14:29:19 localhost chat[751]: expect (OK)
Mar 11 14:29:19 localhost chat[751]: ATZ^M^M
Mar 11 14:29:19 localhost chat[751]: OK
Mar 11 14:29:19 localhost chat[751]: -- got it
Mar 11 14:29:19 localhost chat[751]: send (ATDT7366004^M)
Mar 11 14:29:20 localhost chat[751]: expect (CONNECT)
Mar 11 14:29:20 localhost chat[751]: ^M
Mar 11 14:29:37 localhost chat[751]: ATDT7366004^M^M
Mar 11 14:29:37 localhost chat[751]: CONNECT
Mar 11 14:29:37 localhost chat[751]: -- got it
Mar 11 14:29:37 localhost chat[751]: send (^M)
Mar 11 14:29:37 localhost chat[751]: expect (rname:)
Mar 11 14:29:37 localhost chat[751]: 28800/ARQ/V34/LAPM/V42BIS^M
Mar 11 14:29:38 localhost chat[751]: ^M
Mar 11 14:29:38 localhost chat[751]: ^M
Mar 11 14:29:38 localhost chat[751]: User Access Verification^M
Mar 11 14:29:38 localhost chat[751]: (To change your password, add a ? to^M
Mar 11 14:29:38 localhost chat[751]: your userid at the Username prompt)^M
Mar 11 14:29:38 localhost chat[751]: ^M
Mar 11 14:29:38 localhost chat[751]: Username:
Mar 11 14:29:38 localhost chat[751]: -- got it
Mar 11 14:29:38 localhost chat[751]: send (username^M)
Mar 11 14:29:38 localhost chat[751]: expect (ord:)
Mar 11 14:29:38 localhost chat[751]: username^M
Mar 11 14:29:38 localhost chat[751]: Password:
Mar 11 14:29:38 localhost chat[751]: -- got it
Mar 11 14:29:38 localhost chat[751]: send (password^M)
Mar 11 14:29:38 localhost chat[751]: timeout set to 5 seconds
Mar 11 14:29:38 localhost chat[751]: expect (~)
Mar 11 14:29:39 localhost chat[751]: ^M
Mar 11 14:29:39 localhost chat[751]: username's last login: Thu Mar 11
14:27:02 1999^M
Mar 11 14:29:39 localhost chat[751]: ^M
Mar 11 14:29:39 localhost chat[751]: ^M
Mar 11 14:29:39 localhost chat[751]: York University TCP/IP network terminal
server - warsaw^M
Mar 11 14:29:39 localhost chat[751]: ^M
Mar 11 14:29:43 localhost chat[751]: alarm
Mar 11 14:29:43 localhost chat[751]: send (^M)
Mar 11 14:29:43 localhost chat[751]: send (^M)
Mar 11 14:29:43 localhost pppd[749]: Serial connection established.
Mar 11 14:29:44 localhost pppd[749]: Using interface ppp0
Mar 11 14:29:44 localhost pppd[749]: Connect: ppp0 <--> /dev/modem
Mar 11 14:30:15 localhost pppd[749]: LCP: timeout sending Config-Requests
Mar 11 14:30:15 localhost pppd[749]: Connection terminated.
Mar 11 14:30:15 localhost pppd[749]: Receive serial link is not 8-bit clean:
Mar 11 14:30:15 localhost pppd[749]: Problem: all had bit 7 set to 0
Mar 11 14:30:16 localhost pppd[749]: Exit.
What I notice here is that after my password has been accepted, the server
sends yet another couple of lines: 1) username's last login... 2) York
University TCP/IP... Now, it is after the second line here that the server
would expect me to type PPP at the prompt. When I do this in minicom,
however, the server terminates the link within 5 or 10 seconds. Anyhow, are
my scripts missing "send/expect" lines that would correspond to these lines?
If so, how do I go about configuring them? Any other ideas or suggestions?
Thanks very much.
------------------------------
From: "Flipper" <[EMAIL PROTECTED]>
Subject: help PPP script failing
Date: Thu, 11 Mar 1999 20:11:16 -0500
I Have attempted for the last month or so to connect to my ISP.
I Have tried several different scripts as well as 2 different modems.
MY current scripts are below. My server is Bell Atlantic. Windowze 98
Says that it is using PAP however a PAP login does not work either. I
understand that they are using NT to provide their service.
And you Guessed it they DO NOT SUPPORT linux!
If someone might help please email response also(new to newsgroups, still
not confident in my ability to get the reply)
Flip
*********************
Contents of "BELL.CHAT"
#!/bin/sh
/usr/sbin/chat -t 30 "" ATZ OK ATDT7179400 CONNECT
Contents of "Bell", or my dialer script
pppd kdebug 7 /dev/modem 115200 connect '/root/bell.chat' \
crtscts noipdefault defaultroute user flipper refuse-chap
And this is the content of "/var/log/messages/
Mar 6 18:48:14 localhost login[363]: ROOT LOGIN ON tty1
Mar 6 18:50:02 localhost kernel: CSLIP: code copyright 1989 Regents of the
University of California
Mar 6 18:50:02 localhost kernel: PPP: version 2.2.0 (dynamic channel
allocation)
Mar 6 18:50:02 localhost kernel: PPP Dynamic channel allocation code
copyright 1995 Caldera, Inc.
Mar 6 18:50:02 localhost kernel: PPP line discipline registered.
Mar 6 18:50:02 localhost kernel: registered device ppp0
Mar 6 18:50:02 localhost pppd[473]: pppd 2.3.3 started by root, uid 0
Mar 6 18:50:31 localhost pppd[473]: Serial connection established.
Mar 6 18:50:32 localhost kernel: ppp_tty_ioctl: set flags to 30000
Mar 6 18:50:32 localhost kernel: ppp_tty_ioctl: set flags to 30000
Mar 6 18:50:32 localhost kernel: ppp_tty_ioctl: set xasyncmap
Mar 6 18:50:32 localhost kernel: ppp_tty_ioctl: set xmit asyncmap ffffffff
Mar 6 18:50:32 localhost kernel: ppp_tty_ioctl: set flags to 30000
Mar 6 18:50:32 localhost kernel: ppp_tty_ioctl: set mru to 5dc
Mar 6 18:50:32 localhost kernel: ppp_tty_ioctl: set rcv asyncmap ffffffff
Mar 6 18:50:32 localhost kernel: ppp_tty_ioctl: set flags to 30000
Mar 6 18:50:32 localhost pppd[473]: Using interface ppp0
Mar 6 18:50:32 localhost pppd[473]: Connect: ppp0 <--> /dev/modem
Mar 6 18:50:35 localhost kernel: ppp: successfully queued 47 bytes, flags =
f030000
Mar 6 18:50:35 localhost kernel: ppp: successfully queued 16 bytes, flags =
f030000
Mar 6 18:50:35 localhost kernel: ppp: successfully queued 26 bytes, flags =
f030000
Mar 6 18:50:35 localhost kernel: ppp_tty_ioctl: set xmit asyncmap a0000
Mar 6 18:50:35 localhost kernel: ppp_tty_ioctl: set flags to f030003
Mar 6 18:50:35 localhost kernel: ppp_tty_ioctl: set mru to 5dc
Mar 6 18:50:35 localhost kernel: ppp_tty_ioctl: set rcv asyncmap ffffffff
Mar 6 18:50:35 localhost kernel: ppp_tty_ioctl: set flags to f030003
Mar 6 18:50:36 localhost kernel: ppp: frame with bad fcs, excess = 9088
Mar 6 18:50:36 localhost kernel: ppp: frame with bad fcs, excess = efbb
Mar 6 18:50:38 localhost kernel: ppp: frame with bad fcs, excess = ba2a
Mar 6 18:50:39 localhost kernel: ppp: frame with bad fcs, excess = 9cf5
Mar 6 18:50:40 localhost kernel: ppp: frame with bad fcs, excess = 5683
Mar 6 18:50:42 localhost kernel: ppp: frame with bad fcs, excess = c861
Mar 6 18:50:43 localhost kernel: ppp: frame with bad fcs, excess = 4f5d
Mar 6 18:50:45 localhost kernel: ppp: frame with bad fcs, excess = 68b8
Mar 6 18:50:45 localhost kernel: ppp: frame with bad fcs, excess = b1ee
Mar 6 18:50:47 localhost kernel: ppp: frame with bad fcs, excess = e47f
Mar 6 18:50:48 localhost kernel: ppp: frame with bad fcs, excess = 8024
Mar 6 18:50:49 localhost kernel: ppp: frame with bad fcs, excess = 9d01
Mar 6 18:50:51 localhost kernel: ppp: frame with bad fcs, excess = 8c59
Mar 6 18:50:51 localhost kernel: ppp: frame with bad fcs, excess = 710d
Mar 6 18:50:53 localhost kernel: ppp: frame with bad fcs, excess = 56e
Mar 6 18:50:54 localhost kernel: ppp: frame with bad fcs, excess = 8872
Mar 6 18:50:56 localhost kernel: ppp: frame with bad fcs, excess = d140
Mar 6 18:50:57 localhost kernel: ppp: frame with bad fcs, excess = 2e7c
Mar 6 18:50:58 localhost kernel: ppp: frame with bad fcs, excess = eda8
Mar 6 18:51:00 localhost kernel: ppp: frame with bad fcs, excess = 2113
Mar 6 18:51:03 localhost kernel: ppp: frame with bad fcs, excess = bdad
Mar 6 18:51:06 localhost pppd[473]: No response to PAP
authenticate-requests
Mar 6 18:52:35 localhost kernel: ppp: successfully queued 6 bytes, flags =
f030003
Mar 6 18:52:35 localhost kernel: ppp_tty_ioctl: set flags to f030003
Mar 6 18:52:35 localhost kernel: ppp_tty_ioctl: set xmit asyncmap ffffffff
Mar 6 18:52:35 localhost kernel: ppp_tty_ioctl: set flags to f030000
Mar 6 18:52:35 localhost kernel: ppp_tty_ioctl: set mru to 5dc
Mar 6 18:52:35 localhost kernel: ppp_tty_ioctl: set rcv asyncmap ffffffff
Mar 6 18:52:35 localhost kernel: ppp_tty_ioctl: set flags to f030000
Mar 6 18:52:35 localhost pppd[473]: LCP terminated by peer
Mar 6 18:52:36 localhost kernel: ppp: channel ppp0 closing.
Mar 6 18:52:36 localhost pppd[473]: Hangup (SIGHUP)
Mar 6 18:52:36 localhost pppd[473]: Modem hangup
Mar 6 18:52:36 localhost pppd[473]: Connection terminated.
Mar 6 18:52:37 localhost pppd[473]: Exit.
------------------------------
From: "John Hardin" <[EMAIL PROTECTED]>
Subject: Re: Can I shutdown linux remotely?
Date: Thu, 11 Mar 1999 17:07:40 -0800
John Hardin wrote in message ...
>If you need to perform administrative actions remotely, log in as a
>non-administrative user (preferably using ssh), then run "su -c" to become
>root, or use "sudo" to run a single command as root.
Oops. That should have been "su -" of course.
------------------------------
From: "H.G.Williams" <[EMAIL PROTECTED]>
Subject: Re: Network Newbie Question
Date: Thu, 11 Mar 1999 21:44:07 -0600
Let me attempt to answer your good reply. First, I got most of the
commands from the HOWTO, Net3, so I just substituted my numbers for the
ones that were presented. Since you're the second person that brought up
the gateway address, may I ask, should that address be something else?
Like, the address of the Linux box?
Yes, the windows machine has a MODEM in it (which I didn't want to get
into yet!) Just today I took the 3Com509 out of the Linux box, and
replaced it with the same brand that is in the win '95 box.
And finally, if I've missed anything sorry but, I would like to say
thanks for including your "working" setup. That will be most helpful...
Frank Hahn wrote:
>
> On Tue, 09 Mar 1999 18:36:13 -0600, H.G.Williams <[EMAIL PROTECTED]> wrote:
> >I have a 2 machine home network, one is win '95, the other Linux. Both
> >have Ethernet cards installed (the win '95 is a NE2000 compat and Linux
> >is a 3Com 905). RedHat v5.2, kernel 2.0.36 is the software.
> >
> >I want to just configure TCP/IP for both and have done the following:
> >Linux Win '95
> >IP=192.168.15.2 192.168.15.4
> >Netmask=255.255.255.0 255.255.255.0
> >gw=192.168.15.254 192.168.15.254
> >
> >the whole thing is started by scripts and manually by:
> >route add -net 192.168.15.0 eth0
> >route add default gw 192.168.15.254
> >
> >They are connected via a hub, and the LED's are on.
> >
> >Yet, when I run 'ping 192.168.15.4' from the Linux box, there is no
> >response (if I ping it's own IP, there is a reply). Same thing from the
> >win '95 box. I can ping it's IP, but not the Linux box. I've changed
> >cables, hubs, NIC's, all to no avail! I've read Net3 from cover to
> >cover, twice, no help. I have a 'host' file on both machines (even a
> >LMHOSTS on the '95 box). I can run -
> > route print
> >and get the following info: (206.133.136.82 is my ISP addr).
> >
> I don't understand exactly what you are trying to do. Does one
> of these machine have a modem hooked up to them?
>
> I'm not sure your line above with the "gw" in it is correct.
>
> I have three machines networked together at home. One is a
> Linux machine, one is Windows 95 machine and one is a Sun Sparc
> machine. The Linux machine has the modem which dials my ISP.
>
> All three machines have hosts files which have IP numbers and
> machine names for all three machines. The Windows machine has the
> hosts file in c:\windows.
>
> The Windows machine has the IP address of the Linux machine as its
> gateway address in the Windows networking setup.
>
> My startup scripts on the Linux machine are as follows:
>
> ================cut here===================
> #! /bin/sh
> #
> # rc.inet1 This shell script boots up the base INET system.
> #
> # Version: @(#)/etc/rc.d/rc.inet1 1.01 05/27/93
> #
>
> HOSTNAME=`cat /etc/HOSTNAME`
>
> # Attach the loopback device.
> /sbin/ifconfig lo 127.0.0.1
> /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo
>
> # IF YOU HAVE AN ETHERNET CONNECTION, use these lines below to configure the
> # eth0 interface. If you're only using loopback or SLIP, don't include the
> # rest of the lines in this file.
>
> # Edit for your setup.
> IPADDR="192.168.100.10" # REPLACE with YOUR IP address!
> NETMASK="255.255.255.0" # REPLACE with YOUR netmask!
> NETWORK="192.168.100.0" # REPLACE with YOUR network address!
> BROADCAST="192.168.100.255" # REPLACE with YOUR broadcast address, if you
> # have one. If not, leave blank and edit below.
> #GATEWAY="" # REPLACE with YOUR gateway address!
>
> # Uncomment the line below to initialize the ethernet device.
> /sbin/ifconfig eth0 ${IPADDR} broadcast ${BROADCAST} netmask ${NETMASK}
>
> # Uncomment these to set up your IP routing table.
> /sbin/route add -net ${NETWORK} netmask ${NETMASK} eth0
> ================cut here===================
>
> Since my Linux machine is the gateway for the other two machine to the
> Internet, I don't point it to a gateway. If you are trying to go
> through your Windows machine to the Internet, someone else will
> have to give you a hand.
>
> Also, I assume you are fairly confident that your cards are working,
> you cables are the correct ones, you have networking compiled correctly
> into your kernel, you have the correct device driver configured into
> your kernel, etc. There are probably dozens of other problems also.
>
> One thing I have found, I try and compile things directly into the kernel
> until I get them figured out. I will then go back and compile things
> as modules if needed.
>
> Good luck.
>
> --
> Frank Hahn
------------------------------
** 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
******************************