Linux-Networking Digest #244, Volume #12         Mon, 16 Aug 99 11:14:47 EDT

Contents:
  Re: Trouble Getting Linux & Windows to Communicate ("Scott Fleming")
  Direct ethernet connection under Linux (LIAN SHEN)
  Re: Kostenabrechnung der Internetnutzung =?iso-8859-1?Q?f=FCr?= Intranet (Ronald 
Hovens)
  Share an Internet connection? ("Doug Robbins")
  Re: all networking stops working for no reason ("Steve Cowles")
  Re: PLEASE HELP - configuring static ip for PPP (Clifford Kite)
  Re: PPP Help! (Clifford Kite)
  Possible to use PPTP on Win98 with Linux firewall Marquerading? ("Peter Hacksel")
  Batch and Normal ... perhaps OT ("Trevor Porter")
  linux and Frame Relay (ilan bloch)
  Re: Linux Dialup, please help. (Clifford Kite)
  Re: Send an AT command to modem (Clifford Kite)
  Re: Direct ethernet connection under Linux ("Jo.Oswald")
  Re: PPP Help! (ORRIN)

----------------------------------------------------------------------------

From: "Scott Fleming" <[EMAIL PROTECTED]>
Subject: Re: Trouble Getting Linux & Windows to Communicate
Date: Mon, 16 Aug 1999 11:35:59 GMT

Some links that can point you in the right direction, they are excellent
sources of information for networking windows and your RH box:

http://www.redhat.com/corp/support/docs/Samba-Tips/Samba-Tips-3.html

http://www.redhat.com/corp/support/docs/Samba-Tips/Samba-Tips-5.html


Good luck!


alex frisa <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Ok, here's the deal: I have a Red Hat 6.0 box connected to a cable
> modem that is a server for a windows network.  The Linux box is running
> ipchains to split up the 'net connection amongst the windows boxes.  The
> problem is that when you try to ping a windows box from the Linux server
> - and vice versa, it fails to find the windows box.  But the thing is
> that the the ethernet card running from the server to the hub is
> blinking (telling me the data is being sent), the hub is blinking
> (telling me it's also receiving the data), and the ethernet card on the
> windows computer i'm trying to ping is also flashing - so the ping is
> being received.  I don't understand why the computers are not
> acknowledging each other.  Can someone please help me?
> The nic on the linux box is set at 192.168.1.1 (it's the gateway for
> the windows boxes).  The windows computers each have a 192.168.1.x
> address and have their gateway set to 192.168.1.1.  I've setup ipchains
> before on a different network and didn't have this problem.  The nic
> serving the network is an ISA NE2000 10BaseT card.  The windows nics are
> NDC 10/100 Fast Ethernet PCI cards which have been tried in both 10-full
> duplex and 10-half duplex mode.
>
> Many, many thanks,
>
> Tyler
>
> - insert funny quote.



------------------------------

Date: Mon, 16 Aug 1999 13:55:06 +0200
From: LIAN SHEN <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.hardware
Subject: Direct ethernet connection under Linux

Hello everyone,

I get a problem with ethernet connection under linux:

I want to connect 2 laptops, both equipped with PCMCIA 10/100BaseT
ethernet card. So I took a cross-over cable (not the normal twisted-pair
one)

My setup is the following:

IP=130.60.93.222 resp. 130.60.93.223
Mask=255.255.255.0, Broadcast=130.60.93.255 (for both hosts)

Under Windows98, it's no problem, both cards detect a 100Mbit/s mode.
(The actual transfer rate is lower.)

When I booted ONE host to Linux, ethernet cards can still detect
100Mbit/s mode, but there is no connection available. Then I pulled out
this crossed-over cable from the linux host, connected this linux host
with normal twisted-pair cable to our switch, (without reboot and
changing any network information), it can problemlessly connect to
internet
(ping, ftp, telnet...).

When both hosts booted to Linux, there was still no improvement, ping
showed
no response from the other host.


/var/log/messages tells me
kernel: eth0: Setting full-duplex based on MII #0 link partner
capability of 41e1.


The ifconfig command tells me
eth0      Link encap:Ethernet  HWaddr 00:60:08:B5:73:E2
          inet addr:130.60.93.222  Bcast:130.60.93.255 
          Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:99 errors:2 dropped:0 overruns:0 frame:2
          TX packets:44 errors:0 dropped:0 overruns:0 carrier:44       
          collisions:0 txqueuelen:100 
          Interrupt:10 Base address:0x100 


Does anyone have an idea what I configured wrong under Linux?

BTW, Linux version I use is Mandrake6.0 and Redhat6.0.

Thanks a lot!

Lian Shen

------------------------------

From: Ronald Hovens <[EMAIL PROTECTED]>
Subject: Re: Kostenabrechnung der Internetnutzung =?iso-8859-1?Q?f=FCr?= Intranet
Date: Mon, 16 Aug 1999 14:40:20 +0200

Goto

http://www.isjm.com/tst/pppcosts.htm for ppp-accounting software!

R. Hovens

"Lars Grenzend�rfer" wrote:
> 
> Ich habe eine Linux-Server laufen, der das Intranet mit dem Internet �ber
> ein Modem (per dial on demand) verbindet. Gibt es eine M�glichkeit die
> Verbindung mit dem Internet (bzw. meinem Provider) zu protokollieren? Da ich
> die ganzen Internetkosten habe, m�chte ich sie auf diejenigen verteilen, die
> das Internet nutzen. Ich mu� wissen, wann wer f�r wie lange im Internet war,
> um eine Kostenabrechnung zu erstellen. Das Protokoll sollte nicht unbedingt
> weitere Daten enthalten, da es ansonsten un�bersichtlich werden w�rde. Gibt
> es Software die dies bew�ltigt? Falls ja, wo kann ich sie finden und wie
> konfiguriert man sie?
> 
> Danke.
> 
>     Lars

------------------------------

Reply-To: "Doug Robbins" <[EMAIL PROTECTED]>
From: "Doug Robbins" <[EMAIL PROTECTED]>
Subject: Share an Internet connection?
Date: Mon, 16 Aug 1999 11:28:41 GMT

This might be a duh question, but I'll ask anyway.

I have two machines networked -- connected directly with NICs and cable.
One is running Linux Redhat 6, the other NT4 wkstn. I use the Linux
machine primarily as a webserver, and generally for learning Linux. Both
are configured with dial-up Internet access. Samba is installed and
working.

Can I configure things so that if I connect to the Internet via the NT
machine I can also access this connection (while its up) from the Linux
machine? Right now the Linux machine communicates fine with the NT
machine but doesn't "see" an Internet connection when the NT machine is
dialed-in. I have to disconnect the NT machine and dial-in from the
Linux box.

Any suggestions appreciated, but please go easy with this beginner (it's
amazing I got this far on my own!)

--
Doug Robbins
http://www.labradorstraits.nf.ca



------------------------------

From: "Steve Cowles" <[EMAIL PROTECTED]>
Subject: Re: all networking stops working for no reason
Date: Mon, 16 Aug 1999 12:11:02 GMT

Just a thought here,

Have you disabled all the Power Saving stuff in your BIOS? I have had
similar problems with Linux in the past and found it does not work well with
this stuff enabled. Especially with the Wake on LAN type of NIC cards.

Again, just a thought!!
Steve Cowles
SWCowles at gte dot net

William B. Cattell <[EMAIL PROTECTED]> wrote in message
news:934730398.1933939791@news...
> I have an Acer Aspire/P120 running RH6 that does the same thing (stops
> communicating).  I run a telnet session into it and leave top runing just
to
> keep it going.  As you did - I first thought bad hardware so I replaced
the NIC
> - it still happened.  Since seeing your post I'm starting to think it's
RH6
> except the same thing happens when the Acer is an intraNetWare server.
>
> The search continues...
>
> Bill
>
> On Thu, 12 Aug 1999, Scott Shoemaker wrote:
> >Please Help!!!  I am running RH 6.0 on a new Intel box that I have not
> >put into production use yet, because I have a problem where I am unable
> >to keep the server on the network for an extended period of time.  From
> >the point that the server starts it will stay on the network from a few
> >minutes to a few hours, and then mysteriously drops ALL network access.
> > I have tried replacing all of the cabling and the NIC in the server and
> >I still have the same result.  I even went as far to swap out the
> >network switch that I was using.  I can reboot the server and it will
> >stay up for awhile.  After doing some testing, I have found that as long
> >as the server seems to be doing something on the network, that it tends
> >to stay up longer. I.E. -- I set up a continuous ping to the gateway
> >router and found that the server stayed up much longer (all night) than
> >if it were sitting doing nothing.
> >
> >Here is some additional information.
> >
> >1.  I am running samba and netatalk which both seem to be working fine
> >when the server has not dropped access.
> >
> >2.  When the server slips off of the network, it disappears from the
> >Apple network, and I am unable to ping the server from a client or vice
> >versa via TCP/IP.  I am able to ping the server from the server itself,
> >and the Network Configurator says that the interface is active.  The
> >activity lights on the both ethernet cards that I have tried to use on
> >this server do not flash after the network access hangs up.
> >
> >3.  When I do a netstat -r from the server, I see the same information
> >before and after it hangs, but after it hangs, the last line in the
> >table (the default gateway) takes a little longer to show up sometimes
> >(but it eventually does).  It looks like the following:
> >
> >destination    gateway   genmask        flags mss window irtt  iface
> >198.213.30.9     *      255.255.255.255  UH   0     0     0    eth0
> >198.213.30.0     *      255.255.255.0    U    0     0     0    eth0
> >127.0.0.1        *      255.0.0.0        U    0     0     0    l0
> >default    198.213.30.1 0.0.0.0          UG   0     0     0    eth0
> >
> >4.  I am having no other trouble with any of the other devices (about 75
> >devices) on the same network.
> >
> >I am really confused as to why this is happening and what to try next.
> >I was unable to find any documentation on this particular issue and I
> >would appreciate any input.
> >
> >Thanks in advance for your help!
> >
> >Scott
> >
> >
> >Sent via Deja.com http://www.deja.com/
> >Share what you know. Learn what you don't.



------------------------------

From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: PLEASE HELP - configuring static ip for PPP
Date: 16 Aug 1999 06:49:44 -0500

Richard Kr. ([EMAIL PROTECTED]) wrote:

: When i put my static ip into /etc/ppp/options (0.0.0.0: --> 205.147.76.17)
: i can't connect, here's the log:

It's not clear to me what you put in options.  What you should have is

    205.147.76.17:

which requests 205.147.76.17 to use as your address and leaves it to
the peer to select his own address.  This assumes that 205.147.76.17 is
your static address.

--
Clifford Kite <kite@inet%port.com>                    Not a guru. (tm)
/* I gave up on politics when no matter who I voted for, I regretted it.
 *    -- Pepper...and Salt, WSJ */

------------------------------

From: kite@NoSpam.%inetport.com (Clifford Kite)
Crossposted-To: comp.os.linux.setup
Subject: Re: PPP Help!
Date: 16 Aug 1999 06:55:00 -0500

Steve Holmes ([EMAIL PROTECTED]) wrote:

: I used the debug option in my ppp options, I see that it is exchanging
: LPC messages but the number of sent far out numbers the ones received.
: I don't think this is right.  The internals of PPP go over my head a

You can post the messages, exact and with timestamps.  There are too
many things that fit this vague description to post.  Logs are better.

--
Clifford Kite <kite@inet%port.com>                    Not a guru. (tm)
/* A salute to Inspector Baynes, of the Surry Constabulary, the only
   police Inspector to ever best Mr. Sherlock Holmes at his own game.
   "The Adventure of Wisteria Lodge", by Sir Arthur Conan Doyle. */

------------------------------

From: "Peter Hacksel" <[EMAIL PROTECTED]>
Subject: Possible to use PPTP on Win98 with Linux firewall Marquerading?
Date: Mon, 16 Aug 1999 12:21:07 GMT

From:

ftp://ftp.rubyriver.com/pub/jhardin/masquerade/ip_masq_vpn.html

"Note for W'95/'98 VPN client users: sorry, but the W'95/'98 IP stack does
not support IP forwarding (can we say "Brain Dead"?) or more than one
simultaneous PPTP session. Every W'95/'98 system will have to establish its
own connection to the VPN server."

Can I interpret this correctly as saying that I cannot use Win98 as a PPTP
client (behind my Linux firewall) to connect to a PPTP server (outside my
firewall).  Does my Win98 box need to know its traffic is being forwarded?

Thanks,

Peter



------------------------------

From: "Trevor Porter" <[EMAIL PROTECTED]>
Subject: Batch and Normal ... perhaps OT
Date: Mon, 16 Aug 1999 09:57:01 -0230

Hi Folks,

Sorry if this is a little OT ... please redirect me if I'm off base.

I need to know the difference between running a job in batch mode and
running it from a prompt.  I have an executable file and, if I'm logged in
as root and start the job, it gets so far and craps out.  If, however, I
submit it as a batch job, it runs to completion.

I'm probably missing something simple ... suggestions?

Thanks,
Trevor



------------------------------

From: ilan bloch <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,israel.internet
Subject: linux and Frame Relay
Date: Mon, 16 Aug 1999 16:33:34 +0300

Has anybody ever configured a Frame Relay modem?
They usually use a router with an internal IP and I would like to use my
linux box straight.
Such modems have 25 pins parallel like connexions to the router and then
RJ45 to the hub/machine connected to it.


------------------------------

From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: Linux Dialup, please help.
Date: 16 Aug 1999 07:46:28 -0500

Ian ([EMAIL PROTECTED]) wrote:

:         ''               \rAT                                   \
:         'OK-+++\c-OK'   ATH0                                    \
:         TIMEOUT         30                                            \
:         OK              ATDT$TELEPHONE                                \
:         CONNECT         ''                                    \
:         ogin:--ogin:    *********                             \
:         assword:        ********

: When I replace the 5th line with the v90 init string
:          ''            \rAT&F&B1&A3E0Q0V1&C1&D2S0=0             \
: nothing works. 

Try quoting the string:  '\rAT&F&B1&A3E0Q0V1&C1&D2S0=0'

Without quotes the "&"s on the chat argument list have special meaning to
the shell.

That \rAT in the original script should be quoted too.  It has been
around forever with no sign that any distribution is going to correct it.

If that doesn't cure "nothing works" then post exact log messages,
complete with timestamps.


--
Clifford Kite <kite@inet%port.com>                    Not a guru. (tm)
/* To extract lines:  View file with "vi -R".  Move cursor to first line.
   Press "v".  Move cursor to mark lines (Esc unmarks).  Write lines to
   fubar with ":w fubar <Enter>".  Exit with ":q <Enter>". */

------------------------------

From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: Send an AT command to modem
Date: 16 Aug 1999 08:11:58 -0500

I need to qualify this a bit.  In the past pppd has not returned the
ttySx parameters to their original state and this denied access to some
programs, notably stty but perhaps chat too.  It was annoying enough
that I patched pppd so it would reset ttySx properly.  I *think* that
ppp-2.3.9 (the latest pppd package) resets the parameters correctly.

If you have minicom then you can execute it and then immediately exit
with Alt-q .  Minicom can access the ttySx after pppd and it sets the
parameters so that ttySx can be accessed by stty after an Alt-q exit.
This may also work to allow chat to access the ttySx and the suggestion
below to work.

Clifford Kite (kite@NoSpam.%inetport.com) wrote:
: David Akins ([EMAIL PROTECTED]) wrote:

: : Have you tried this?  It doesn't work on mine.

: I tried it.  It works.

: : On 14 Aug 1999 16:12:18 -0500, kite@NoSpam.%inetport.com (Clifford
: : Kite) wrote:

: : >How do you expect chat to know about the modem?  This will work
: : >
: : >chat '' ATZ OK 'ATDTsomenumber;' OK '\d\d' < /dev/modem > /dev/modem
: : >
: : >with /dev/modem a link to the modem ttySx (or use the ttySx directly)
: : >x=whatever for your modem and the right permissions for /dev/ttySx.
: : >It provides a two second delay before it terminates after dialing.
: : >Use "man chat" to verify the delay.  You can very likely drop the ATZ OK,
: : >it's an old habit of mine.

--
Clifford Kite <kite@inet%port.com>                    Not a guru. (tm)
/* Governments should be changed like diapers - often and for the
 * same reason. */

------------------------------

From: "Jo.Oswald" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.hardware
Subject: Re: Direct ethernet connection under Linux
Date: Mon, 16 Aug 1999 13:16:48 GMT

Just a hunch where your problem might be..:-)
Are both NIC under win installed as PNP?

(Unless of course you are using kernel version 2.2.10, it has pnp support,
but you have to compile it into a new kernel....:-)

If  your cards are PNP  this _could_ cause some problems under Linux....

if they are already installed as non-pnp devices..... sorry I can't help,
since I'm new to linux myself....

but if they are installed as PNP ( most of them are) you should disable PNP
on the cards, (look into your floppy for a help or readme-file. After you
disabled pnpray, then you have to install a non-pnp driver under WinXX,
(take the driver from the floppy,)

One last chance to make it work is the Bios, there change the IRQ for the
card from pnp to a non-pnp......

Josef Oswald

[EMAIL PROTECTED]


LIAN SHEN <[EMAIL PROTECTED]> schrieb in im Newsbeitrag:
[EMAIL PROTECTED]
> Hello everyone,
>
> I get a problem with ethernet connection under linux:
>
> I want to connect 2 laptops, both equipped with PCMCIA 10/100BaseT
> ethernet card. So I took a cross-over cable (not the normal twisted-pair
> one)
>
> My setup is the following:
>
> IP=130.60.93.222 resp. 130.60.93.223
> Mask=255.255.255.0, Broadcast=130.60.93.255 (for both hosts)
>
> Under Windows98, it's no problem, both cards detect a 100Mbit/s mode.
> (The actual transfer rate is lower.)
>
> When I booted ONE host to Linux, ethernet cards can still detect
> 100Mbit/s mode, but there is no connection available. Then I pulled out
> this crossed-over cable from the linux host, connected this linux host
> with normal twisted-pair cable to our switch, (without reboot and
> changing any network information), it can problemlessly connect to
> internet
> (ping, ftp, telnet...).
>
> When both hosts booted to Linux, there was still no improvement, ping
> showed
> no response from the other host.
>
>
> /var/log/messages tells me
> kernel: eth0: Setting full-duplex based on MII #0 link partner
> capability of 41e1.
>
>
> The ifconfig command tells me
> eth0      Link encap:Ethernet  HWaddr 00:60:08:B5:73:E2
>           inet addr:130.60.93.222  Bcast:130.60.93.255
>           Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:99 errors:2 dropped:0 overruns:0 frame:2
>           TX packets:44 errors:0 dropped:0 overruns:0 carrier:44
>           collisions:0 txqueuelen:100
>           Interrupt:10 Base address:0x100
>
>
> Does anyone have an idea what I configured wrong under Linux?
>
> BTW, Linux version I use is Mandrake6.0 and Redhat6.0.
>
> Thanks a lot!
>
> Lian Shen



------------------------------

From: [EMAIL PROTECTED] (ORRIN)
Subject: Re: PPP Help!
Date: Mon, 16 Aug 1999 13:25:34 GMT

I have a similar problem with a new SuSE 6.1 installation.  After
posting my logs on another newsgroup, I got the following response:
If your host is a BSDI system, it may apply to you as well.

==========================
Date sent:        Sat, 14 Aug 1999 00:04:56 -0700
From:             Vilmos Soti <[EMAIL PROTECTED]>

I had exactly the same problem, and my ISP also used BSDI. I
finally tracked down the problem that the first frame's starting
character, a "~", coming from the ISP, was missing. Try enable
complete logging (So you can see what's coming from the wire)
and decode :-) it. I couldn't find a solution and was forced to
use a different package.

One way to check out if the opening "~" character is missing is
to logon to your ISP through minicom or seyon and login to PPP.
See if the first printable character in the ppp garbage (full
with "}") is a tilde. If not, then you have the same problem I
had and I don't know any solution. I think the problem is on the
BSDI side. My ISP's tech support was a nice person and logged
into his account through HyperTerminal and sent me the output.
The frame opening tilde was missing there, too.

Here it seems the Linux TCP/IP code ignores the incomplete frame
(and causes headaches) but the Windows one (I used WIn95, long
gone from my machine...) "recreates" the missing info.
=============================

On Sun, 15 Aug 1999 19:59:49 -0700, [EMAIL PROTECTED] (Steve
Holmes) wrote:

>       I'm trying to get PPP going on my new Slackware 4.0 setup.
>I've been using PPP for several years on my older linux stuff with
>little incident but now... For some reason, I can't seem to get past
>the successful login of userid and password.  All I get is some stuff
>about LCP confreqs timing out or something to that effect.  I am using
>the default scripts provided with Slackware 4.0 using kernel version
>2.2.6 and PPP 2.3 (I think).  Keep in mind the chat script is working
>fine; it gets through the modem setup and login and password prompts
>with no problem but I never get the IP address from Primenet.com. When
>I used the debug option in my ppp options, I see that it is exchanging
>LPC messages but the number of sent far out numbers the ones received.
>I don't think this is right.  The internals of PPP go over my head a
>bit and I don't really know what to do beyond this point.  I guess I
>could recompile PPP and the kernel and see what that might do for me.
>Oh, I am using the ppp-go script provided by the slackward
>distribution with no local changes.
>
>Can anyone help me out with this one?

=============================
Orrin - Long Island, New York
Orrin's Caribbean Index - http://www.orrin.org/carib/
Syosset Camera Club - http://www.orrin.org/syocc/
HS Class Reunion - http://www.orrin.org/wphs/
Our e-mail address is at  http://www.orrin.org/email.html

------------------------------


** 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
******************************

Reply via email to