Linux-Networking Digest #414, Volume #11          Sat, 5 Jun 99 03:14:06 EDT

Contents:
  Re: Changing networks on a laptop... (sid shapiro)
  Re: Can't connect to my ISP yet, here's the pppd-output... (fahlis)
  [Fwd: Newbie question #2] (Viau)
  Re: Connection using PAP authentication fails -- please help (Tom Herman)
  L2TP client behind a linux firewall ("tan")
  mac and linux via appletalk (Rafa =?iso-8859-1?Q?Alc=E1ntara?=)
  Re: Mount CD-ROM over network and report as CD-ROM (Onno Ebbinge)
  Re: 3c905b problem with 2.0.36 (John Hovell)
  Problem with pppd ([EMAIL PROTECTED])
  Re: Are two NIC:s better than one...? (Arjen Krap)
  HP4000N (playmatesparadise)
  VPN through IP Masq ("MikeH")
  Re: I've broken http !?!? ("George Georgakis")
  Re: USR Sportster 33.6 external modem (Green Screen)
  Re: HP JetDirects (using DLC) on Linux??? ("Don Young")

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

From: sid shapiro <[EMAIL PROTECTED]>
Subject: Re: Changing networks on a laptop...
Date: Sat, 05 Jun 1999 05:01:54 GMT


> On Fri, 28 May 1999 15:59:43 -0400, Geoffrey L. Goetz
> <[EMAIL PROTECTED]> wrote:
> 
> >I was wondering if there was a better way to accomplish the following. 
> >I need to reconfigure my laptop's network configuration (preferably
> >without re-booting) depending on which location I am at.  Here is what I
> >am currently doing...

Hi,
I wish I came to this thread before my newserver expired the original
question....

I also have a laptop that I use to connect to a number of different
networks - some use dhcp, some don't. I want to be able to easily
switch network settings so that I can easily connect to any of them.
That part isn;t too hard, althoug I've only done it once - in the next
few days is when I'll really be doing more swithing. But I suspect my
hardest piece will be getting mail right.

I'm using fetchmail to pull mail form various servers - I just put in
all the servers I need and if some time out - so what. But outgoing
mail seems pretty tough. In once place I need to do some "heavy"
masquerading, so I make the appropriate sendmail.cf changes, also the
*comps files in my nmh files, but I still think I'm having trouble with
sendmail. 

THis is the distributed sendmail with rh6.0 - I may go to a "real"
source distribution - I'm having trouble with relaying - every time I
email to a new domain, sendmail says that relaying to that domain is
refused - probably has to do with the fact that I'm masquerading. 

Anyway, Id love to share experiences moving from network to network on
a regular basisand particularly mail issues in that situation.

Cheers,
/ Sid /

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

From: [EMAIL PROTECTED] (fahlis)
Crossposted-To: 
comp.os.linux.hardware,comp.os.linux.misc,comp.os.linux.setup,comp.os.linux.x
Subject: Re: Can't connect to my ISP yet, here's the pppd-output...
Date: Fri, 4 Jun 1999 22:50:12 +0200

Well,I had almost the exact same output,I solved it by
putting in my ISP�s nameserver in networkconfiguration in Yast.
Hope it helps.

/fahlis

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

From: Viau <[EMAIL PROTECTED]>
Subject: [Fwd: Newbie question #2]
Date: Sat, 5 Jun 1999 03:37:38 +0100 

Path: 
EUBPEBAS.SONY.com!news-master.compuserve.com!arl-news-svc-7.compuserve.com!news.cis.ohio-state.edu!news.maxwell.syr.edu!sunqbc.risq.qc.ca!wesley.videotron.net!weber.videotron.net.POSTED!not-for-mail
NNTP-Posting-Host: 24.200.0.128
Newsgroups: comp.os.linux.announce
From: Viau <[EMAIL PROTECTED]>
Subject: Newbie question #2
Message-ID: <[EMAIL PROTECTED]>
Sender: Viau <[EMAIL PROTECTED]>
Date: Sat, 5 Jun 1999 03:34:50 +0100 
MIME-Version: 1.0
Lines: 24
X-Newsreader: Microsoft (R) Exchange Internet News Service Version 5.5.2448.0
Content-Type: text/plain

I recently got some tips from dansgold about setting up my home net.
with NFS and Samba... this also brought on some more questions:

What I really want to do is a test run between my Win95 & linux box to
see if I can get them talking using TCP/IP. If I can then get NFS and
SMB going, I'll switch over the cable modem over to the linux box and
use it as my firewall/proxy.

SETUP:
1 Pentium 100 linux box with a Linksys PCI NIC using NE2000 driver ip
192.168.0.1
1 Pentium 166MMX ip 192.168.0.2 with Linksys PCI NIC & SMC NIC connected
to Cybersurfer WAVE cable modem via VIDEOTRON cable services
1   4 port hub connecting the pcs

1)I can ping the "localhost " and 127.0.0.1 on each machine;

2) can also ping the host ip address itself, but can't ping the other
box that's across the hub...it's as if the ping command was frozen, if I
do a CTRL C, it shows 100% packet loss;

3) the localhost on the Win95 pc seems to be linked to the SMC card
which is connected to the cable modem;

4) dansgold had suggested to me to take the cable modem and attach it to
the hub; fine...but because my ISP uses DHCP how will the modem know to
whom to assign an ip to in this case (random or both or neither???);

5)my subnet mask is 255.255.255.0;

I've read several HOW-TOs on TCP/IP, ETHERNET but am still a little
lost. I've gotten a little help as well, but not sure if I'm forgetting
something in my net.'s config...

NOTE: does route, subnet on linux and Win95 pc have any bearing on all
this???

Stephane.



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

From: Tom Herman <[EMAIL PROTECTED]>
Subject: Re: Connection using PAP authentication fails -- please help
Reply-To: [EMAIL PROTECTED]
Date: Fri, 4 Jun 1999 16:25:45 GMT

# Secrets for authentication using PAP
# client server secret   IP addresses
user@md3     *    mypassword

In your /etc/ppp/pap-secrets file, I would try something like:

user    *       mypassword      *


where user = your login name on remote system.
      mypassword = your password on remote system

pap-secrets should have root/root  600  permissions.


I'd like to know if this fixes it.

HTH

Tom
--

Srikrishnan Chitoor wrote:
> 
> Hi,
> 
> I have a Redhat Linux 5.2 system. I was connecting to my ISP using the
> traditional
> username-password login procedure.
> Recently, my ISP started supporting PAP as well as login. So I made the
> necessary
> changes and tried but somehow it does not work.
> I am attaching all the scripts that I use.
> 
> When I was logging in to my ISP using the Login process, my username was of
> the form
> user@md3.
> I tried placing the 'name' value in /etc/ppp/options as 'user' and
> 'user@md3' and it still is not working.
> 
> ***********/etc/ppp/options*******************
> 
> # all these options i got from /usr/doc/HOWTO/PPP-HOWTO
> 
> -detach
> modem
> lock
> crtscts
> defaultroute
> asyncmap 0
> mtu 552
> mru 552
> name user@md3
> 
> *************************************************
> 
> **********************/etc/ppp/pap-secrets*********
> 
> # Secrets for authentication using PAP
> # client server secret   IP addresses
> user@md3     *    mypassword
> 
> ****************************************************
> 
> *******************/etc/ppp/scripts/ppp-on***********
> 
> #!/bin/sh
> #
> # Script to initiate a ppp connection. This is the first part of the
> # pair of scripts. This is not a secure pair of scripts as the codes
> # are visible with the 'ps' command.  However, it is simple.
> #
> # These are the parameters. Change as needed.
> TELEPHONE=5300222 # The telephone number for the connection
> LOCAL_IP=0.0.0.0 # Local IP address if known. Dynamic = 0.0.0.0
> REMOTE_IP=0.0.0.0 # Remote IP address if desired. Normally 0.0.0.0
> NETMASK=255.255.255.0 # The proper netmask if needed
> #
> # Export them so that they will be available at 'ppp-on-dialer' time.
> export TELEPHONE
> #
> # This is the location of the script which dials the phone and logs
> # in.  Please use the absolute file name as the $PATH variable is not
> # used on the connect option.  (To do so on a 'root' account would be
> # a security hole so don't ask.)
> #
> DIALER_SCRIPT=/etc/ppp/scripts/ppp-on-dialer
> 
> USERNAME=user@md3
> #
> # Initiate the connection
> #
> # I put most of the common options on this command. Please, don't
> # forget the 'lock' option or some programs such as mgetty will not
> # work. The asyncmap and escape will permit the PPP link to work with
> # a telnet or rlogin connection. You are welcome to make any changes
> # as desired. Don't use the 'defaultroute' option if you currently
> # have a default route to an ethernet gateway.
> #
> exec /usr/sbin/pppd debug lock modem crtscts /dev/ttyS0 38400 \
>         name $USERNAME \
>  asyncmap 20A0000 escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
>  noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT
> 
> ************************************************************************
> 
> ***********************/etc/ppp/scripts/ppp-on-dialer**********
> # this is the one that i tried using now (for connection using PAP)
> 
> #!/bin/sh
> #
> # This is part 2 of the ppp-on script. It will perform the connection
> # protocol for the desired connection.
> #
> exec chat -v     \
>  TIMEOUT  3   \
>  ABORT  '\nBUSY\r'   \
>  ABORT  '\nNO ANSWER\r'  \
>  ABORT  '\nNO CARRIER\r'  \
>  ''  \rATZ    \
>  TIMEOUT 30    \
>  OK  ATDP$TELEPHONE  \
>  CONNECT ''
> *********************************************************************
> 
> ***********************/etc/ppp/scripts/ppp-on-dialer**********
> # this is the one that i was using previously (for Login process)
> 
> #!/bin/sh
> #
> # This is part 2 of the ppp-on script. It will perform the connection
> # protocol for the desired connection.
> #
> exec chat -v      \
>  TIMEOUT  3    \
>  ABORT   '\nBUSY\r'   \
>  ABORT   '\nNO ANSWER\r'  \
>  ABORT   '\nNO CARRIER\r'  \
>  ''   \rATZ    \
>  TIMEOUT  30    \
>  OK   ATDP$TELEPHONE  \
>  CONNECT  ''    \
>  name:--name:      user@md3   \
>  sword:--sword:    mypassword   \
>  '\>--\>'  ppp
> *********************************************************************
> 
> Please reply to this news group or [EMAIL PROTECTED]
> Thanks for your help
> 
> -Jaya

-- 
The views expressed are the author's and do not necessarily
reflect the official position of GTE or any of its subsidiaries

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

From: "tan" <[EMAIL PROTECTED]>
Crossposted-To: comp.security.firewalls
Subject: L2TP client behind a linux firewall
Date: Fri, 4 Jun 1999 17:01:27 -0400

I would like to access a L2TP server on the internet from a client that has
a private IP address behind a linux firewall using IP Masquerading.  Has
anyone been succesful in attempting this?





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

From: Rafa =?iso-8859-1?Q?Alc=E1ntara?= <[EMAIL PROTECTED]>
Subject: mac and linux via appletalk
Date: Tue, 01 Jun 1999 23:48:16 +0200

Hi!

I've got a Mac Performa 5200 and a PC (PII 300 running linux). At
startup, the PC shows a line similar to this:

    Appletalk 0.17 for Linux NET 3.035 installed

Is it possible to connect both machines with just a wire? �Do I need any

network card?

Thanks a lot,
--

     Rafa Alc�ntara
mailto:Rafa.Alcantara.com
http://Rafa.Alcantara.com


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

From: Onno Ebbinge <[EMAIL PROTECTED]>
Crossposted-To: 
linux.redhat.misc,comp.os.linux.help,comp.os.linux.misc,comp.os.linux.questions,comp.os.linux.setup
Subject: Re: Mount CD-ROM over network and report as CD-ROM
Date: Fri, 04 Jun 1999 22:02:36 +0200



Joel Burton wrote:
> 
> I need some clarification: are you mounting this as a samba share, but to
> WinNT it looks like a HD?

Yep.

Onno.

> 
> Onno Ebbinge <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > I want to mount a CD-ROM (or ISO file, or directory) that
> > resides on my RH Linux 6.0 server over my network and my
> > WIN NT 4 machine must report it as a CD-ROM.
> >
> > I've posted this question on some NT newsgroups but there
> > were mostly brain dead people...
> >
> > I think I need a NT 4 device driver who can pull this off
> > but I can't find one. If it's really necessary I can write
> > the driver (I have the NT 4 DDK stuff) but I prefer a download...
> >
> > Onno.

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

From: John Hovell <[EMAIL PROTECTED]>
Subject: Re: 3c905b problem with 2.0.36
Date: Sat, 05 Jun 1999 05:04:05 GMT

I think you may be overthinking this problem.

I have three 3c905b cards in my Linux box which have been successfully
autoprobed with IRQ 10 (all of them share the same IRQ) and various base
addresses under RedHat 5.0, 5.1, 5.2 and now 6.0.

Make sure you have 3COM cards and 3c590/3c900 "Vortex/Boomerang" support
compiled into your kernel.  Also make sure nothing else is using IRQ 10.
Check this in /proc/interrupts.

It should show up at boot time like this:

eth0: 3Com 3c905B Cyclone 100baseTx at 0xfc80,  00:10:5a:9e:9a:3f, IRQ 10
  8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
  MII transceiver found at address 24, status 786d.
  MII transceiver found at address 0, status 786d.
  Enabling bus-master transmits and whole-frame receives.


Hope this helps.

-John

bill goodacre wrote:

> I need advice.
>
> I had a working RH 4.2 with a NE2000 ISA card configured at irq 10
> address 0x300. I then replaced it with a 3com 3c905b 100 base Tx PCI
> card. The system would not find the new card. I upgraded to RH 5.2 at
> this point. The new os won't find the card either. I have the most
> recent (just a few days old) Ethernet HOW-TO and have read it. I
> downloaded what I hoped would be the fix from Mr. Becker's NASA site. I
> compiled the program using the suggested compiler options. The message I
> get from insmod is "value for symbol io not found". This is the same
> message I get in the boot sequence. Coincidentally, I was installing
> Sybase on this machine (which went fine BTW) and it did a scan of my
> hardware and told me I had a 3c905b configured at IRQ 15 and 0x6500.
> I've tried passing parameters to the kernel at boot time using the LILO
> prompt, to wit "linux ether=" and so on, giving IRQ15 and 0x6500. no go.
> Now I've downloaded a two disk set from 3com's ftp site which are said
> to be DOS configuration utilities. I would like to boot from floppy into
> a DOS environment, then use the configuration utility to set the card at
> IRQ10 and 0x300. Then I hope the boot code will find the damn thing and
> give me a working network link. I now find I don't have any actual DOS
> system left, just Win 95. Well I don't see what else to do so tonight I
> will boot w95 from floppy then try to run the configuration utilities.
> If anyone wants to take pity on me I will be much obliged.
>
> Also I think 3com is extremely perverse in naming their cards 3c509 and
> 3c905 and then introducing occasional compatability. As if I didn't have
> enought to think about without the nagging fear that I've made some
> stupid dyslexic error.
>
> Please reply to the address below. Thanks in advance.
>
> Dave Stevens
> [EMAIL PROTECTED]


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

From: [EMAIL PROTECTED]
Subject: Problem with pppd
Date: Sat, 05 Jun 1999 04:30:41 GMT

Hi,

I'm new to pppd. Previously, when I type pppd, the response is OK. But
now, when I type in the same command, the response is in the form of
characters which looks like garbage to me.

Nevertheless the connection to my ISP was established when I use eznet.
But the problem is DNS lookup is extremely slow. In addition to this,
the web pages weren't displayed at all.

Please help. I'm currently using Redhat 6.0


Thanks
ezman



Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: Arjen Krap <[EMAIL PROTECTED]>
Subject: Re: Are two NIC:s better than one...?
Date: Fri, 04 Jun 1999 22:58:27 +0200

(please read this message with a fixed font)

You should only do it if you intrested in learning about routing policies,
subnets, etc. And I mean this in most possible way :)

You will need a third(!) 10mbit nic to connect de laptop with linux box.
The NT box and the laptop will be on a seperated subnet, linux on both.
You should use ipchains/ipfwadm to setup forwarding between NT and laptop.
Setting up smb file/printer sharing between these two subnets is quite tough,
especially setting up browsing correctly.

cable modem -----10mbit--- linux -------100mbit crossover-------NT
                              |
                              10 mbit hub
                              |
                            laptop



Alternative, you could plug the new 10mbit nic into the nt box and enable
forwarding on NT.
This might be prefereble if you do not require direct smb file/printer sharing
between linux and laptop.

cable modem -----10mbit--- linux ---100mbit co------ NT --hub-- laptop


However I do not recommend putting the laptop on the same subnet as cable modem.


The big question is should you do it?
- Well an extra 10 mbit nic and cables shouldn't be too expensive,
    make sure you use a cat 5 crossover tp cable between NT and Linux

- It might be faster if run large graphic apps or games on the linux box.
    But I don't think you will notice much.

However, if you are curious if will work and want to know how to set it up, try
it, the most trouble is having the laptop play along.


Good Luck!

Arjen Krap

[EMAIL PROTECTED]





Stefan Schagerberg wrote:

> At home I have the following setup
>
> A Linux-machine running as file and printer-server and cable modem. This
> machine is in a closet so I need to display X to the other ones.
> A Win NT machine at which I work. So to this machine I want a fast
> connection.
> I also have a laptop and printer connected to the network. These two (and the
> hub) are 10Mb.
>
> The question is whether I will gain from having a dedicated 100Mb (hubless)
> connection between the Linux and the Win NT machine. It's too expensive to go
> 100Mb all the way. Will I notice any difference between a 10Mb and 100Mb
> network? I'm usually the anly one loading the network. It will also take some
> extra cabling across the apartment..
>
> Regards
> /Stefan
>
> Appendix...
>
> Linux- machine:
> Cyrix686 w 64M
> RTL8029 (10Mb) NIC for cable modem
> RTL8139 (10/100Mb) NIC for internal network
>
> Win NT-machine:
> Pentium 133 w 128M
> RTL8139 (10/100Mb) NIC for internal network


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

From: playmatesparadise <[EMAIL PROTECTED]>
Subject: HP4000N
Date: Fri, 04 Jun 1999 23:58:06 +0200

How can i connect my Laserjet  Hp4000 to linux using the 10BaseT?


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

From: "MikeH" <[EMAIL PROTECTED]>
Subject: VPN through IP Masq
Date: Sat, 05 Jun 1999 06:01:03 GMT

Hi,
    I'm trying to access a VPN server from a client that is
    behind a box running IP Masq. The IP Masq machine
    is connected to the ISP with a cable modem.

    Does anyone specifically whether or not it is possible to
    run VPN and PPTP through IP Masq?

Thanks in advance,
Mike H.



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

From: "George Georgakis" <linuxstart.com@geegee>
Subject: Re: I've broken http !?!?
Date: Sat, 05 Jun 1999 06:06:47 GMT

I've gotten to the stage where I trust my linux box more than I trust my
provider. Last week I suddenly disappeared off DNS. 

But did I suspect my box? NO WAY - first thing I did was check my provider,
and sure enough their nameserver had hiccupped.

Linux very rarely breaks, once your box is set up it's more productive to
start checking external factors if something goes wrong. (My last server
reboot - which was only because I was checking a problem which turned out
to lie with my provider - was on May 13 at 13:09:28. It's been continuously
running since. In the interim I have added and/or changed so many files and
settings on that server, it's not funny).

George 
===========================================================================
I never reply by email as a) I don't give out my real email address freely,
and b) it stops other NG users from reading the solutions to problems
If necessary, however, I can be contacted thru linuxstart.com@geegee. 
(Swap "geegee" and "linuxstart.com").
===========================================================================

> I obviously don't 'trust' Linux enough yet to look for simple answers to
> problems.
>
> Tom
> 

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

From: Green Screen <[EMAIL PROTECTED]>
Subject: Re: USR Sportster 33.6 external modem
Date: 4 Jun 1999 22:34:57 GMT

Redhat != Linux

Redhat 5.2 != Linux 5.2

most current Linux version is (stable) 2.2.9   (devel) 2.3.<something>

further clues are 25 cents apiece...


Kerstin S?lzer <[EMAIL PROTECTED]> wrote:
: Hi Nathan!

: What stands in your /var/log/messages if this happens?
: This may give us a hint... I hope so!

: Ciao,
: Lothar
: ( [EMAIL PROTECTED] )

: LUGnut schrieb:

:> Can anyone offer any assistance on setting up an external USR Sportster 33.6
:> on a Linux 5.2 box?  I can dial, and connect, and I think that I can
:> authenticate.  The problem is, I'm online for about 3 seconds after I type
:> in my password, and I get a no carrier error.
:>
:> Thanks
:>
:> [EMAIL PROTECTED]


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

From: "Don Young" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux,comp.os.linux.admin,comp.os.linux.development,comp.os.linux.development.system,comp.os.linux.hardware,linux.redhat.development,linux.redhat.misc
Subject: Re: HP JetDirects (using DLC) on Linux???
Date: Sat, 5 Jun 1999 01:04:45 -0500

I've set up these old printers using DLC on an NT Box then shared the
printer.  RH 5.2 seen it just fine as a SMB shared printer.

Billy Dunn <[EMAIL PROTECTED]> wrote in message
news:%NQ_2.1605$[EMAIL PROTECTED]...
> Sorry for the cross-post, but this is an question that has been asked by
> many and never addressed in these newsgroups - and I've searched back 6
> months.
>
> There are thousands upon thousands of old Hewlett Packard JetDirect boxes
> and cards out there that allow you to setup a stand-alone printer.  While
> many of the newer cards and external boxes allow TCP/IP communication, the
> old JetDirects do not.
>
> I have been using Windows NT's DLC protocol to connect to these boxes
> without much difficulty.  Apparently, the DLC protocol is not something
that
> Linux supports at this time.  I have hundreds of these boxes out there and
I
> am at a total standstill in my efforts to move to Linux because of this
> problem.
>
> Does ANYONE know of a way to communicate with the old JetDirect boxes that
> do not support TCP/IP?  They support IPX/SPX and DLC (not LPD).
>
> Thanks very much - and sorry again about that cross-post.
>
> Emailed replies are fine, but I will also be checking here several times a
> day in the hopes that there is light at the end of this very dark tunnel.
> Billy Dunn
> [EMAIL PROTECTED]
>
>
>
>
>



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


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