Linux-Networking Digest #912, Volume #9          Sun, 17 Jan 99 14:13:47 EST

Contents:
  Re: FTP for users ("greyman")
  Re: Associating interfaces pppX with ttySx (Brian McCauley)
  Re: HELP: Setting up a DIAL-IN PPP SERVER on my Linux box?? (Tim Sailer)
  Fritz!/BT Speedway PPP over ISDN (Alistair Hamilton)
  Re: UUCP over TCP - no echo? (Denis BRAUSSEN)
  Re: 3com Megahertz 10/100 LAN CardBus PC Card ? (J. Scott Berg)
  Re: ip-masquerading ("waxhead")
  Re: AutoPPP and pppd server (Josh Gentry)
  Re: Connect without hub ("Guy A. Wadsworth")
  Re: Newbie Proxy Server Problem (Peter Woytiuk)
  PPP configuration problem (Jeremy Mullins)
  Re: BellAtlantic.net and PPP 2.3.5 (Frank Hale)
  Win98 home dir on linux box ("Johnny P.")
  Re: Cyrus 1.5.19 compile error on RH 5.2 (Ulrich Teichert)
  Re: IPX PrinterServer and RH 5.1 (Frank Ranner)

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

From: "greyman" <[EMAIL PROTECTED]>
Subject: Re: FTP for users
Date: Mon, 18 Jan 1999 00:33:54 +1000

G'day Phil,

You need to make these users "guest" class users. Here's how:

The crux of the matter is the class of ftp user. In wu-ftp, there are three
classes of user:
- Real User
- Guest User
- Anonymous User

When the real user (default) logs in, they do not get chrooted( ).
When a guest user logs in, they get chrooted( ) to their home directory as
defined in the /etc/passwd file
When an anonymous user attaches, they get chrooted( ) to the ftp daemon's
home directory.

To get an ordinary user to be a guest, you need to put them into a
/etc/group as, say, 'ftpusers'. Like so:
ftpusers::101:nigel,gmcs,ann

They have an entry in /etc/passwd like:
ann:xxxxxxxxxxxxx:511:101::/home/ann:/bin/ftponly
(xxxxx...) is replaced by their encrypted passord if not using shadow
passwords. Note the group they belong to.

Then, in /etc/ftpaccess, put stuff like:

class   all   real,guest,anonymous  *
# root is aliased to an admin mailbox by the mail program
email root@localhost

loginfails 5

# The only thing a guest user can't do is chmod
compress        yes             all
tar                     yes             all
chmod              no              guest,anonymous
delete               no              anonymous
overwrite          no              anonymous
rename             no              anonymous
# Log all transfers
log transfers anonymous,guest,real inbound,outbound
# This line determines what group is the guest group
guestgroup ftpusers
# You can specify global filespecs to leave alone
noretrieve .qmail .*
# You can also restrict upload to only the home/username/public_html
directory
upload /home/* / no
upload /home/* /bin no
upload /home/* /bin/* no
upload /home/* /etc no
upload /home/* /etc/* no
upload /home/* /lib no
upload /home/* /lib/* no
upload /home/* /public_html yes

Restart inetd and it should work with the 'home' directory as the users root
directory.
Greyman
[EMAIL PROTECTED]


Phil Massyn wrote in message <01be3fe7$738ba740$0401a8c0@bigboy>...
>Hi all,
>
>I'm running WU-FTP 2.4.2 and I would like to setup a system where I can
>have users FTP into the system and only have access to the directory I've
>given them access to.  Right now, my users can see the whole file system,
>and I don't want it this way.
>
>Any help will be much appreciated.
>
>Phil Massyn
>[EMAIL PROTECTED]



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

From: Brian McCauley <[EMAIL PROTECTED]>
Subject: Re: Associating interfaces pppX with ttySx
Date: 17 Jan 1999 13:43:34 +0000

"Charles Stack" <[EMAIL PROTECTED]> writes:

> I'm working on a dialin server.  As it stands right now, regardless of which
> modem receives the call, it is assigned ppp0.

No, pppd assignes the lowest available number.  If there are no active
connections this will always be 0.

>  Naturally, this will cause a
> conflict should I have two or more calls at the same time.

No it won't.

>  What I'd like to do is have ttySx assigned to pppX when the call
> comes in.  Can someone tell me how I can do this?

AFIAK you can't.  The developers of pppd seem to resist requests for
this functionality to be added.

>  It is possible to create/destroy ppp interfaces at run time?

Yes.  This is the default behaviour on recent kernels.  (Can't recall
when it changed, 1.3.x I think).

>  If so, how?

Use pppd.

-- 
     \\   ( )  No male bovine  | Email: [EMAIL PROTECTED]
  .  _\\__[oo   faeces from    | Phones: +44 121 471 3789 (home)
 .__/  \\ /\@  /~)  /~[   /\/[ |   +44 121 627 2173 (voice) 2175 (fax)
 .  l___\\    /~~) /~~[  /   [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
  # ll  l\\  ~~~~ ~   ~ ~    ~ | http://www.wcl.bham.ac.uk/~bam/
 ###LL  LL\\ (Brian McCauley)  |

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

From: Tim Sailer <[EMAIL PROTECTED]>
Crossposted-To: 
alt.os.linux,comp.os.linux,comp.os.linux.help,comp.os.linux.admin,comp.os.linux.misc,comp.os.linux.questions,comp.os.linux.setup,alt.linux
Subject: Re: HELP: Setting up a DIAL-IN PPP SERVER on my Linux box??
Date: 17 Jan 1999 00:11:54 GMT

In comp.os.linux.questions winsor <[EMAIL PROTECTED]> wrote:
: [EMAIL PROTECTED] wrote:
:> 
:> I know others have probably asked, but I'm not sure so I'll
:> ask.....Does anyone know how to set up a Dial-In PPP Server on a Linux
:> Machine so i can dial into it from afar and get tcp/ip routing to work
:> with it??? Sort of like having a single user ISP going on, ya know? If
:> anyone can help, thanks in advance, if not......ask someone who might
:> know AND thanks in advance...or something
:>
: I used ps_getty(uugetty) and read the PPP How-to.

I have this little page set up that talks about a lot of things like that.
http://www.buoy.com/isp

Tim

-- 
   >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
   >> Tim Sailer                       ><  Coastal Internet, Inc.          <<
   >> Network and Systems Operations   ><  PO Box 671                      <<
   >> http://www.buoy.com              ><  Ridge, NY 11961                 <<
   >> [EMAIL PROTECTED]                     ><  (516) 476-3031                  <<
   >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

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

From: [EMAIL PROTECTED] (Alistair Hamilton)
Subject: Fritz!/BT Speedway PPP over ISDN
Date: Sun, 17 Jan 1999 00:01:40 GMT

I am trying to get my AVM Fritz! PCI passive ISDN card to work on
Linux - Red Hat 5.2. (This card is also sold in the UK as a BT
Speedway card.) 

What I need is a simple step-by-step setup guide, written in English,
for someone who is computer and Unix knowledgable, but a Linux
newcomer.

I've searched the web and usenet archives, but most of what I find is
in German. While I can have a natter over a beer in German, I am
completely defeated at this technological level.

Any help would be most welcome. (BTW, my ISP's news feed is NBG so a
copy of any responce by e-mail would be welcome :-)

Regards,
Alistair.

PS This message was sent from WinNT only 'cos I can't get my ISDN card
to work :-(


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

From: Denis BRAUSSEN <[EMAIL PROTECTED]>
Subject: Re: UUCP over TCP - no echo?
Date: Sun, 17 Jan 1999 00:20:05 +0100
Reply-To: [EMAIL PROTECTED]

On 13 Jan 1999, bill davidsen wrote:

> In article <[EMAIL PROTECTED]>,
> Edgar J. Zaragoza <[EMAIL PROTECTED]> wrote:
> 
> | I've set up UUCP over TCP using all the info I could find, and I am
> | running into a strange problem. We've got a PC running Red Hat 5.1,
> | 3com network board, network is uo and running. We can FTP, ping, rlogin
> | - no problem. UUCP doesn't work. 
> | 
> |     According to the Debug file, we see and respond to the login prompt, we see and
> | respond to the password prompt, but we still get
> | login incorrect. Now before you say I typed the password in wrong,
> | If I cu to the machine, and type in my login, NO ECHO. hit return,
> | passwd prompt, type in passwd. waits.....login incorrect.
> | 
> |     Rlogin with same user name and passwd works fine.
> 
> If you are logging into a Taylor UUCP via TCP be aware that the password
> comes not from the /etc/passwd or /etc/shadow file but the UUCp internal
> password file. Sorry I can't give you a path off the top of my head, but
> it is a separate file and has no relation to the rlogin password.


  yes.
  here follows a short example:


  PC "robin.gotham.city" wants to log to PC "batman.gotham.city"
  through an uucp link over TCP/IP:

PC batman
=========

/etc/uucp/passwd contains:

#================================================
Umylogin         MYPSSWRD



PC robin
========

/etc/uucp/sys  contains:

#   robin wants an UUCP acces to batman
#================================================
system        batman
address       batman.gotham.city
time          any
port          TCP
protocol      t
chat          ogin: Umylogin  word: MYPSSWRD
commands      rmail rnews


/etc/uupc/port contains:

#================================================
port TCP
type tcp


hope this coul help,
Denis.

-- 


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

From: [EMAIL PROTECTED] (J. Scott Berg)
Subject: Re: 3com Megahertz 10/100 LAN CardBus PC Card ?
Date: 16 Jan 1999 23:53:00 GMT

In article <77i6t4$nnl$[EMAIL PROTECTED]>,
Patrice Bonhomme <[EMAIL PROTECTED]> wrote:

>I am currently looking for a driver for this Card ? Any help ?

http://hyper.stanford.edu/~dhinds/pcmcia/


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

From: "waxhead" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.alpha
Subject: Re: ip-masquerading
Date: Sun, 17 Jan 1999 00:09:58 GMT

Hi this is Christopher, I replying from my home account That is why this
message has the name and e-mail of waxhead.


Michal Jaegermann wrote in message <77qvjr$8m0$[EMAIL PROTECTED]>...
>
>ipfwadm distributed with 5.1 (and 5.2) Red Hat on Alpha has broken
>binaries.  They are recompiled with wrong headers.  Recompile yourself
>or use binaries from 5.0 distribution.  They are ok.
>

I have information for the header file that needs to be changed.  But......
How do I recompile the binaries for ipfwadm (command line)?

For now I downloaded the RPM ipfwadm-2_3_0-5_alpha.rpm and installed it.
This older rpm works but I would like to use the new one and recompile it.
(but I'm a newbie to Linux)

>This was reported to Red Hat numerous times.  It is their sweet
>mystery why they are choosing to ignore that.
>
>Various other responses in this thread qualify as "voodoo computing".
>In particular 192.168.0.0 is by a definition class C network, and not B,
>with 255.255.255.0 default netmask and 192.168.0.0/24 is correct
>unless your internal network was deliberately misconfigured.
>If you need an "internal" class B, or even class A, network there
>are IP addresses reserved for that.
>
I thank everyone how did reply even if they didn't have the answer I needed.
I had already tried all there sugestions and knew that it wasn't right.



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

From: [EMAIL PROTECTED] (Josh Gentry)
Crossposted-To: 
alt.uu.comp.os.linux.questions,alt.os.linux.dial-up,comp.os.linux.setup,comp.os.linux.misc,alt.comp.linux.isp
Subject: Re: AutoPPP and pppd server
Date: Sun, 17 Jan 1999 07:44:56 -0800

I don't guaruntee that you will find what you need, but you might look at
the document on dialin server
setup at http://www.swcp.com/~jgentry/dialin2.html

[EMAIL PROTECTED]



*** Posted from RemarQ - http://www.remarq.com - Discussions Start Here (tm) ***

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

From: "Guy A. Wadsworth" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.dcom.lans.ethernet,comp.sys.sun.admin,comp.os.ms-windows.networking.win95
Subject: Re: Connect without hub
Date: Sun, 17 Jan 1999 10:49:46 -0500
Reply-To: [EMAIL PROTECTED]

Rob Wiltbank wrote:
> 
> Jan wrote:
> 
> > All is standardized nothing to my knowledge that prevents this from working.
> >
> > Mike Humski wrote:
> >
> > >However, I would like to know the following points:
> > >    (1) Will there be any degradation in performance or stability if
> > >        I do not use a hub?
> 
> No, a hub is designed to to take packets and distribute them as best as
> is can to their destination.  You're more likely to have packets collide
> on a peer to peer than through a hub.
> 

If all you have are two stations, I beleive that the likelyhood that you
would have collisions
should be the same with or without a hub when in half duplex.  If you
can configure each end of
a two device ethernet connection to be full duplex, collisions by
definition do not happen.
In general, unless you have a lot of traffic initiated on both ends, you
won't see a lot of
collisions on a half duplex point to point connection.  Also, contrary
to popular opinion,
collisions are not in themselves a bad thing.  Collisions and how they
are handled is the
mechanism that makes ethernet work at all.

> >
> > >    (2) Will there be any danger in connecting 10 Mb only (Sparc) directly
> > >        to 10/100 Mb (PC) with a crossover cable?
> >
> 
> Nope.  The cable sends packets, whether they be ethernet or ring packets,
> they're all the same on every machine -- it's a standardized protocol.

Actually, although 10/100 AutoNegotiation is supposed to be backwords
compatable with
10BASE-T, in practice there can be problems, especially with older
10BASE-T devices.
In any event, I would recommend using a crossover cable using CAT-5
cable (the required
class of cable for 100BASE-TX).  You may need to fix the 10/100 port at
10 Mbps and disable
AutoNegotiation.  Electrically, there is no problem.

> 
> > >    (3) Will there be any other problems if I use a crossover cable
> > >        without a hub?
> >
> 

There shouldn't be.  See my answer to #2.

> > >---------
> > >Mike
> > >
> 
> Rob

Guy.

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

From: [EMAIL PROTECTED] (Peter Woytiuk)
Subject: Re: Newbie Proxy Server Problem
Date: 17 Jan 1999 01:12:00 GMT

SuprMath ([EMAIL PROTECTED]) wrote:
: Do you have the same subnet mask?  Have you set up your routing table?  Have

  Yeah, I set the subnet mask with the ifconfig command.  I tried to set a
static route <with the correct netmask and gateway values> using the route 
command, but I got a 'Network Unreachable' error.  I've been told that this 
normally indicates my netmask is screwy, but I've triple checked it and the 
one I set is correct.  I've tried pinging my host on the network and I get the
same error.  I've checked all the HOWTO pages and there's nothing there that 
has been of any use - I'm completely stumped.

                                                        Peter

--
                                 \/
                               [<OO>]
===========================# o00o()o00o #================================

         **  Junk mail sent to this address will be subject to  **
           **  a $100.00 proof-reading fee.  Sending of such  **
           **  material constitutes acceptance of these terms **

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

Date: Sat, 16 Jan 1999 19:21:24 -0600
From: Jeremy Mullins <[EMAIL PROTECTED]>
Subject: PPP configuration problem

I'm running Redhad 5.2 and am trying to set up PPP.  I have it working
perfectly as root, however it doesn't work right as any other user.  I
can activate the connection as root (either by logging in as root and
activating it, or by using su from a user account ) and as long as I am
root, it works great, but when I try to use any network software from a
user account, it will no longer resolve the URL's.  I can type the IP
numbers in and it goes to the address, but when I type the name,  I get
a DNS error.   The interface was created and is being activated using
netcfg.

Jeremy Mullins


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

From: Frank Hale <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,alt.uu.comp.os.linux.questions,alt.os.linux.setup
Subject: Re: BellAtlantic.net and PPP 2.3.5
Date: 12 Jan 1999 22:01:18 GMT

Hoyt wrote:
> 
> [EMAIL PROTECTED] wrote in message <[EMAIL PROTECTED]>...
> >Frank Hale writes:
> >> Anyway the whole connection process is wrapped up in 1 perl script which
> >> can hardly be called complicated.
> >
> >They tell you that you must recompile your kernel, download and compile an
> >obsolete version of pppd, and then type in and run a perl script.  A good
> >way to scare off new users.
> 
> I contacted Worldnet and informed them that the version of ppp was not only
> dated, but the link was broken (the file no longer exists in that location).
> Their reply was on the order of "The guy who wrote that stuff isn't here any
> more."
> 

You got to take the information with a grain of salt. I new the ppp was
outdated. But the fact that they actually had instructions for
connecting under linux was enough to get me to switch.

> It was helpful to know that Worldnet uses CHAP, but that's all the help the
> Worldnet site gave me. BellAtlantic.net uses PAP.
> 

I know BellAtlantic.net uses PAP I had them as my ISP for a year. But I
could never connect with there service with any new version of PPP other
than 2.2.0 and it was outdated and I eventually want to move to kernel
2.2 and you need at least  version 2.3.5 of PPP with it.

> I am considering
> BellAtlantic but don't think much of their usenet support (limited groups,
> articles only cached for a few days), but the have a 30-day money back deal,
> so I may give it a shot. There is also a local ISP that looks good, but
> again, their usenet support is weak - no money back deal there. Worldnet has
> a rep for having great usenet support (lots of groups and the posts stay on
> there a long time). I also get consistent 46.333 connects with them, little
> down time and for about 10 months, no busy signals. I hate to leave them.

Yeah BellAtlantic doesn't support 56K. There service is good hardly no
busy signals in fact I can't remember the last time I had one. To bad
for you that BeOS doesn't support CHAP. I am sure glad Linux does. 

-- 
From:      Frank Hale
Email:     [EMAIL PROTECTED]
ICQ:       7205161
Homepage:  http://members.xoom.com/frankhale/
Jade:      http://jade.netpedia.net/

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

From: "Johnny P." <[EMAIL PROTECTED]>
Subject: Win98 home dir on linux box
Date: Sun, 17 Jan 1999 11:10:59 -0600

Hi,

I was wondering how I can map a directory on my linux box to h: drive on
my win98 box...

I have TCP/IP running with static IPs in 192.168.1.x IP pool.  My win98
user account (windows client network login) is enabled on the linux box
and the home directory has been set up on the linux box...

thanks,

johnny p.

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

From: [EMAIL PROTECTED] (Ulrich Teichert)
Subject: Re: Cyrus 1.5.19 compile error on RH 5.2
Date: Sun, 17 Jan 1999 15:45:31 GMT
Reply-To: [EMAIL PROTECTED]

In <[EMAIL PROTECTED]> Tim Gibson <[EMAIL PROTECTED]> writes:

>While trying to 'make all' on my RedHat 5.2 system I get this:
>/usr/src/cyrus-imapd-v1.5.19/cyradm/cyrmain.c:294: undefined reference
>to `Tcl_Write'
[del]

>I configured it using './configure --with-tcl=/usr/lib/tcl8.0' and 'make
>depend' ran fine.  What am I doing wrong?  Thanks.

It doesn't find the tcl-lib while linking. Either it's missing in the
link comando (there must be someting like -ltcl8.0) or it's lying
around in another directory where the linker couldn't find it, or
it's there but named sligthly differnet from the linker command
(e.g. -ltcl as opposed to -ltcl8.0).

HTH,
Uli

>Please cc me via e-mail at [EMAIL PROTECTED]

Grbfl.... Only if a reply-to or from is set, we'll see.
-- 
Dipl. Inf. Ulrich Teichert|e-mail: [EMAIL PROTECTED]
Stormweg 24               |listening to: This Is Just A Punk Rock Song (Bad
24539 Neumuenster, Germany|Religion), Shadow (The Headcoatees)

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

From: Frank Ranner <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.misc
Subject: Re: IPX PrinterServer and RH 5.1
Date: Sun, 17 Jan 1999 23:18:33 +1100

"Ryan C. Payne" wrote:
> 
> I appreciate your help, however I am not trying to print to a novell server...
> The device attaches to the centronix port on your printer and takes a RJ-45 cable
> on the other side. Specs are at
> http://www.svec.com/graphics/product/printservers/pn6125.htm.
> 
> It works rather nicely for the Windows machines that I have, but now that I have
> added a Linux machine, I would like to be able to print from that, too.
> 
> Thanks again!
> 
It appears that the server emulates a Windows printer and a Netware
printer. Since it
doesn't do TCP/IP and Samba doesn't do IPX we can rule that out. However
Linux can run
Netware server software. The MARS_NWE package allows LinuX to emulate a
Netware 3.x
server, including print queues. The print box can then be attached to
the 'Netware' print
queue. Linux can the use nprint (part of ncp utils) to print to the
Netware queue.

Another possible solution may be to define a print share on your W95 box
that prints to
pn6125. The linux box can then use smbprint to print to the W95 box,
which then spools to
the server.

I'm sorry that the ideas above seem a bit clunky, but the correct
solution would involve
getting a better print server that supports lpr/lpd over IP as well as
Windows printing. I
guess the obvious solution of chucking the print server and using the
Linux box to drive the 
printer directly, and using Samba to provide Windows print services was
rejected for some 
reason?

Regards, Frank Ranner

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


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