Linux-Networking Digest #117, Volume #10          Fri, 5 Feb 99 15:14:14 EST

Contents:
  ftpd and alternate ports ("Jeen Hielkema")
  Problems with tulip driver for CNETPro110 in 2.2.1 kernel  (Keith P. Keshler)
  Re: how do I know 'From Where?' I am connected? ("phantom")
  Linux ppp server to novell and windows (Victor Sturgeon)
  Re: Ipfwadm vs. diald ("phantom")
  Diald + Sendmail = Problem (Marcelo Scalvenzi)
  smbmount kernel 2.2.1 (Nick Allan)
  ipfwadm: can't telnet on firewall's internal interface (Michael Agbaglo)
  User limits ([EMAIL PROTECTED])
  Re: Linux and Windows (Jay Copeland)
  Re: PPP problems under 2.2.1 (Darrell Tangman)
  Re: OSR2 Networking (Tobin Fricke)
  Re: Setting up a novell client (Duncan Simpson)
  Re: how do I know 'From Where?' I am connected? (Rob)
  Re: ftpd and alternate ports (Ville Nummela)
  Relaying fails after 2.0.27--> 2.0.34 upgrade (Systems Engineering Group)
  Re: Win 98 Network Neigborhood says \\system is not accessible when attempting to 
connect to Linux box (Duncan Simpson)
  Re: Another Newbie PPP question (Kdaniel)
  Re: Linux to Win95 networking problem ("Lt.Data")
  Re: From SRPMS to binaries (was Re: Tape file marks) (Michael Meissner)
  Windows95 <--> Linux : Telnet, but no ftp (Paul Nolan)

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

From: "Jeen Hielkema" <[EMAIL PROTECTED]>
Subject: ftpd and alternate ports
Date: Fri, 5 Feb 1999 16:23:08 +0100

Hi,
Anyone familiar in configuring linux ftpd to listen to a second  tcp port
besides the default port number 21?
I would like to:

$ ftp
$ ftp> open localhost 2100

Thanks in advance!
-Jeen Hielkema



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

From: [EMAIL PROTECTED] (Keith P. Keshler)
Subject: Problems with tulip driver for CNETPro110 in 2.2.1 kernel 
Date: Fri, 05 Feb 1999 16:08:59 GMT

We were provided the tulip driver by CNET in order to use their Pro110
NIC under kernel 2.0.36.  Worked fine.

After upgrading to 2.2.1 the NIC compiles and is recognized (ie
appears as an eth device) but we get errors when trying to TX.

Has anyone successfully used the tulip driver under 2.2.1

Has anyone successfully used  a CNETPro110 NIC under 2.2.1.

Thanks,

   

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

From: "phantom" <[EMAIL PROTECTED]>
Subject: Re: how do I know 'From Where?' I am connected?
Date: Fri, 5 Feb 1999 09:24:23 -0000


Mark Bramwell wrote in message <79d257$[EMAIL PROTECTED]>...
>Is there an utility that if I run it, it tells me MY ip
>address, not the ip address of the linux machine?


route ?



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

From: Victor Sturgeon <[EMAIL PROTECTED]>
Subject: Linux ppp server to novell and windows
Date: Fri, 05 Feb 1999 10:54:48 -0600

I have a dial-up server working with TCP/IP and IPX. My problem is that
the win 95/98/NT box I dial in from cannot see the windows network when
I have the IPX protocol running on the link.  I can browse the Novel
network fine. If I switch off the IPX, I can see the windows network
fine. IPX seems to eat my TCP/IP.

I'm using redhat 5.2 with the new 2.2.0 kernel. Mgetty is configuring my

modem and I'm using calderas ipxripd package for redhat. Everything
would be just great if only I could browse the network and see both the
novell lan and the windows lan.

Has anybody any ideas on what's happening here.

--
Victor Sturgeon
[EMAIL PROTECTED]



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

From: "phantom" <[EMAIL PROTECTED]>
Subject: Re: Ipfwadm vs. diald
Date: Fri, 5 Feb 1999 09:31:06 -0000

You don't need to know the dial up ip, diald & pppd set up the route info
correctly.
Your client machines just need the ip of your linux box as a gateway and if
you are masquerading use a line like:
ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0
where 192.168.1.0 is your local net, oh and don't forget to turn on ip
forwarding - in redhat that's in /etc/sysinit/network
Mark.

David C. Barnhart II wrote in message
<[EMAIL PROTECTED]>...
>What is the best (or most often used) solution to using Ipfwadm with
>diald, when the IP address that is returned from the PPP connection is
>not static?  In essence, I want to refer to the "External" IP address
>that is the PPP local address in the ipfwadm file, but realizing that
>this could change after each connection, how do any of you do this?




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

Date: Fri, 05 Feb 1999 13:50:41 -0300
From: Marcelo Scalvenzi <[EMAIL PROTECTED]>
Subject: Diald + Sendmail = Problem

Hello, NewsGroup

    I have a problem with diald and sendmail. When any user in my net
send a mail to any e-mail that launch a diald connection... WHY??
    I check and send all messages collected in last half hour... But
DIALD connect with Internet when send mail....

    Can you help me???

    Thanks
--
===================================
Scalvenzi, Cristian Marcelo
Universidad Cat�lica de C�rdoba
Fac. de Ingenier�a
[EMAIL PROTECTED]
====================================



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

From: [EMAIL PROTECTED] (Nick Allan)
Subject: smbmount kernel 2.2.1
Date: 5 Feb 1999 08:46:06 GMT


Hi all
It seems that smbmount has stopped working, it no longer mounts my
windows 98 shares. I've just updated to kernel 2.2.1, I'm using
smbfs2.0.2, redhat 5.2
Anyone have any suggestions on whats happening here. I even recompiled
smbfs rpm --rebuild the smbfs source under the new kernels headers.
-- 


Regards Nick
        [EMAIL PROTECTED]
        [EMAIL PROTECTED]


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

From: Michael Agbaglo <[EMAIL PROTECTED]>
Subject: ipfwadm: can't telnet on firewall's internal interface
Date: Fri, 05 Feb 1999 10:56:28 +0100

Hi !

When I install the configuration below I can't telnet/ping/ftp 10.0.0.1
- why ? 10.0.0.1 should be in 10.0.0.0/0 ...


FW=/sbin/ipfwadm
EXT_IF1=eth1
EXT_IF2=ippp0
INT_IF=eth0
LOOP_IF=lo
LOCALHOST=10.0.0.1
LAN=10.0.0.0/8

${FW} -F -f
${FW} -I -f
${FW} -O -f

${FW} -F -p deny
${FW} -I -p deny
${FW} -O -p deny


# loopback
${FW} -I -a accept -S ${LOOPBACK} -D ${LOOPBACK} -W ${LOOP_IF}
${FW} -O -a accept -S ${LOOPBACK} -D ${LOOPBACK} -W ${LOOP_IF}

# LAN
${FW} -I -a accept -S ${LAN} -D ${LOCALHOST} -W ${INT_IF}
${FW} -O -a accept -S ${LOCALHOST} -D ${LAN} -W ${INT_IF}



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

From: [EMAIL PROTECTED]
Subject: User limits
Date: Fri, 05 Feb 1999 09:37:58 GMT

Hi,

I'm running RedHat linux 5.2 (kernel 2.0.35) and I'm trying to increase the
number of file descriptors available to a user.

I've tried the command 'limit descriptors 1024' but its fails with 'limit:
descriptors: can't set limit'.  After much testing, i have discovered that the
limit appears to be 256.

I'm trying to write some server software that clients can log into using
sockets, and because of the 256 limit on file descriptors, I can't get enough
logins.

Is there any way to increase this limit?

Cheers,
        Rob.
=====================================
Linux. The choice of a GNU Generation
=====================================

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

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

From: Jay Copeland <[EMAIL PROTECTED]>
Subject: Re: Linux and Windows
Date: Fri, 05 Feb 1999 12:09:58 +0000

Calvin Chak wrote:
> 
> Hello all,
> 
> What are the advantages of using Linux to get on the Internet
> rather than using Win95/98 ?
> 
> Calvin Chak
> 

For me the biggest advantage is speed. I surf, download, whatever about
2x as fast w/ linux going into an NT server. on a unix/linux server
speeds are even faster.

jay

-- 
   __
  / /     __  __  __  __   __  __  __
 / /__   / / /  \/ / / /__/ /  \ \/ /
/_____/ /_/ /_/\__/  |_____/  /_/ \_\
Don't fear the Penguin.

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

From: Darrell Tangman <[EMAIL PROTECTED]>
Subject: Re: PPP problems under 2.2.1
Date: 5 Feb 1999 17:12:59 GMT

Sami I Makelainen <[EMAIL PROTECTED]> wrote:

> After upgrading to 2.2.1 (from 2.0.32), the PPP connection stopped
> working. All necessary software has been upgraded with the kernel (the
> system is RH5.2 based). Login and PAP authentication apparently succeed,
> but nothing goes through. The "bad frame" errors (see log) keep coming
> about every 30 seconds. Pinging any host also causes a bad frame
> message. 

> conf.modules:
> alias ppp-compress-21 ppp_deflate
> alias ppp-compress-24 bsd_comp
> alias ppp-compress-26 bsd_comp

> Debug info (with kernel PPP debug)
> Feb  4 20:50:36 dolphin kernel: PPP Deflate Compression module
> registered
> Feb  4 20:50:36 dolphin kernel: ppp0: no compressor for [15 3 29], 3
> Feb  4 20:50:36 dolphin kernel: ppp0: no compressor for [15 3 29], 3
> Feb  4 20:50:36 dolphin kernel: ppp_proto_ccp rcvd=0 code=1
> flags=f010050
> Feb  4 20:50:36 dolphin kernel: ppp_ioctl: set maxcid to 16
> Feb  4 20:50:36 dolphin kernel: ppp_ioctl: set flags to f01005c
> Feb  4 20:50:36 dolphin kernel: ppp: set np 0 to 0
> Feb  4 20:50:36 dolphin kernel: ppp0: ccp closed
> Feb  4 20:50:36 dolphin kernel: ppp_ioctl: set flags to f01001c
> Feb  4 20:50:36 dolphin pppd[631]: sent [CCP ConfReq id=0x1 <deflate 15>
> <deflate(old#) 15>]

I have no idea whether or not this is the cause of the problem, but
as near as I can determine from the source code, your conf.modules
should look like:

   alias ppp-compress-21 bsd_comp
   alias ppp-compress-24 ppp_deflate
   alias ppp-compress-26 ppp_deflate

That's what I'm using and I am at least connecting successfully.  The
"no compressor" messages above seem to suggest that your configuration
isn't doing what you want.

-- 
Darrell Tangman -- [EMAIL PROTECTED] -- Augusta, Georgia, USA

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

From: Tobin Fricke <[EMAIL PROTECTED]>
Subject: Re: OSR2 Networking
Date: Fri, 05 Feb 1999 09:51:26 -0800
Reply-To: [EMAIL PROTECTED]



Bill Weedon wrote:
> 
> Does anyone know how to remote mount a Win95 OSR2
> disk from Linux?  I think it was a big mistake converting my


Linux doesn't care about the format of a remote partition.  Share it
normally, and use SMBMOUNT to mount it from Linux.  If you want to mount
it in the local machine, get a recent kernel that supports FAT32.  

Tobin

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

From: [EMAIL PROTECTED] (Duncan Simpson)
Subject: Re: Setting up a novell client
Date: 5 Feb 1999 18:06:17 GMT

In <[EMAIL PROTECTED]> Oliver Eichler <[EMAIL PROTECTED]> 
writes:

>Hi

>Here is my situation:

>I got a Linux box connected to a Novell network. I can see the server, I
>can ncpmount the server to a mountpoint. I can see the server's printer,
>I can send postscripts via nprint to the printer. Perfect.

>Not quite. I would like to have the users subdirectory on the server
>mounted to a mountpoint within the users home directory on the Linux
>box.

>Also I would like to have the printer offered like a local printer to
>each application on the Linux box.

I assume this means something you cat speak postscript to via
lpr. Check out the lpd manual pages and set up a printer that prints
to /dev/null. Use an input filter that sends nothing to the stanard
output and its input to nprint. Optionally use something such as
magicfilter to figur out the input format and turn it into
postscript assuming it is something else.

See the printing HOWTO for detials of setting up various version of
lpd. I personally use LPRng to a local printer and will do so again once
I have refilled my ink chartridge. My inkjet widget magicfilter
configuration uses postscript as an intermediate format for most
formats.

>For the first problem I found some hints to nfsd and mountd on the ncpfs
>man page. But really didn't get the clue.

A nfs sever can be used to export directories to localhost which can
then be mounted elsewhere in the filesystem. Been there, done
that. Sadly that box seems to have some nfsd stability problems so
will get upgraded to 2.2.x and knfsd as soon as someone gets the
chance. I think it will fix the boxes stability problems (the hard
problem is how to trigger the current problems for testing purposes).

Duncan (-:
--
Duncan (-:

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

From: [EMAIL PROTECTED] (Rob)
Subject: Re: how do I know 'From Where?' I am connected?
Date: Fri, 05 Feb 1999 17:55:06 GMT

On Fri, 5 Feb 1999 09:24:23 -0000, "phantom"
<[EMAIL PROTECTED]> wrote:

>
>Mark Bramwell wrote in message <79d257$[EMAIL PROTECTED]>...
>>Is there an utility that if I run it, it tells me MY ip
>>address, not the ip address of the linux machine?
>
>
>route ?
>
/sbin/ifconfig  might be what youre looking for


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

From: Ville Nummela <[EMAIL PROTECTED]>
Subject: Re: ftpd and alternate ports
Date: Fri, 5 Feb 1999 20:14:35 +0200

On Fri, 5 Feb 1999, Jeen Hielkema wrote:

> Hi,
> Anyone familiar in configuring linux ftpd to listen to a second  tcp port
> besides the default port number 21?
> I would like to:

Easiest way is to use inetd; You can simply add another line for the exrta
port you're using. Like:
ftp     stream  tcp     nowait  root    /usr/sbin/tcpd  /usr/sbin/wu.ftpd -a
ftp2     stream  tcp     nowait  root    /usr/sbin/tcpd  /usr/sbin/wu.ftpd -a

And then add an extra line for ftp2 in /etc/services too.


--
 | ViGe / gasp inc. | http://www.lut.fi/~vnummela | [EMAIL PROTECTED] |
 |     IRC natura alienum est! Periculosum est! Delendum est!       |


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

From: [EMAIL PROTECTED] (Systems Engineering Group)
Subject: Relaying fails after 2.0.27--> 2.0.34 upgrade
Date: 5 Feb 1999 19:03:04 GMT
Reply-To: [EMAIL PROTECTED]

I have a Linux box connected to an ISP via modem/PPP, and
locally to a 192.168.2.xxx LAN of Win95 PCs and others.
Under Slackware96 (2.0.27) it allowed my users to relay
mail out to the internet.   When I upgraded to the
version from the summer (2.0.34, sendmail 8), I was
pleased to see firewalling and samba installed, but 
the system does not relay outgoing mail from the 
local network.   I get the 550 "relaying denied" error
message from sendmail.

What configuration change do I make to sendmail (or
elsewhere) which allows outgoing e-mail from the
local LAN?  Users can receive mail just fine (they're
just polling the POP server).

A Web check pointed out some anti-Spam routines for
RedHat, but I'm not sure that's what I need.

Rob Levene
SEG Inc.


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

From: [EMAIL PROTECTED] (Duncan Simpson)
Subject: Re: Win 98 Network Neigborhood says \\system is not accessible when 
attempting to connect to Linux box
Date: 5 Feb 1999 19:13:02 GMT

In <[EMAIL PROTECTED]> [EMAIL PROTECTED] (Kaith 
Rustaz) writes:

>Hi,
>       I'm getting this error when I try to connect to my Linux
>server thru win98's network-neighborhood.  states that the computer or
>sharename could not be found.  thing is, I can ping it fine, tp to it
>and telnet to it.  just can't connect thru neighborhood.  I'm stumped.
>I'm running Redhat 5.2 outta the box.

You need to do 3 things:
1. Tell the Winders box to speak TCP/IP
2. Educate winders about the IP numbers of the RH box
3. Run samba on the RH box. A copy is included on the RH CD.

Duncan (-:
--
Duncan (-:

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

From: Kdaniel <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Re: Another Newbie PPP question
Date: Fri, 5 Feb 1999 14:07:05 -0500

> 
> The KDE Networking tools includes a dun tool that works very much like
> NT/Win95 dun.  It's alot easierto use than the "standard" Linux stuff.  I was
> able to get up and running in about 8 minutes.  I had a similar problem to
> yours.  I used Win98 to download the complete KDE set and now I'm using
> Netscape to read news and browse.  KDE offers the best of X and the Win9x
> interface and it has a nice set of applets, great games and a wonderful
> virutal desktop setup that reminds me of the old PCTools for Windows desktop.

Excellent!

I'm running a system with just linux on it.  But I have another computer
with Winblows 98.  What would be a good strategy for getting KDE onto the
linux system?  I'm having the same problem originally posted.  I have to
use network configuration to activate the ppp0 and dial out then it hangs
up and I can't connect.

(course I'm way at the beginning of all this.  I still need to upgrade
Xwin to run the TNT card and get an SB64 working for sound.)

Any adivice on how to proceed would be greatly appreciated.

Thanks!


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

From: "Lt.Data" <[EMAIL PROTECTED]>
Subject: Re: Linux to Win95 networking problem
Date: Fri, 05 Feb 1999 21:54:54 +1100

um.. linux does not allow a .0 in its ips
the rule regarding them is that a 0 signifies a broadcast, not a node
windows allows it coz microsoft ignored the rule because windows does not deal
with broadcast packets and so forth
i had to change my ips when i switch from wingate to ipmasq on linux for this
reason
my machines are now
192.168.1.1, 192.168.1.2 etc
and teh subnet is the same, 255.255.255.0 because it is a broadcast subnet

i hope this helps
if you need more info, please feel free to contact me ...
[EMAIL PROTECTED]

[EMAIL PROTECTED] wrote:

>  I know that similar problems have been posted before, but I've yet to see a
> good answer so far.
>
>  I have a two Win95 machines running TCP/IP hooked together through a 10 port
> Linksys hub. The two win95 machines see each other fine, all tcp apps work
> without a hitch. I recently have installed Redhat 5.2 running kernel 2.0.36 on
> a third system and I'm attempting to attach it to the network.
>
>  The Linux box has an SMC Ultra NIC in it configured at 192.168.0.3, the
> other two machines are 192.168.0.1 and 192.168.0.2. Subnet on all three is
> 255.255.255.0. Neither of the win95 machines can ping the linux box and the
> linux box can't ping out to either of the win95 machines. The linux box says
> network unreachable. The Win95 machines say 'request timed out' 4 times.
> Interestingly, the RX packets for eth0 on ifconfig increments by 4 each time
> I ping the linux box from a Win95 machine. So it appears something is
> reaching the Linux machine but for some reason an error is occurring. I'm not
> using DNS at all, but I have put both machines in my host files and they
> resolve the names, the IP itself won't ping though. I've used ifconfig,
> route, and netstat and can't see anything wrong configuration wise. The
> /proc/interrupts file doesn't show any conflict for the NIC which is being
> detected at boot time fine as much as I can tell. I've seen people suggesting
> reinstalling Win95 networking including the NIC itself which I was desperate
> enough to do, but that also didn't work.
>
>  I've read relavant portions of Linux Unleashed, the Net-3 and Networking
> HOWTOs, and countless newsgroup posts regarding similar circumstances. The
> only thing I haven't ruled out yet is a hardware problem with the SMC card
> which I will swap tonight when I am home from work, but I'm fairly sure this
> card is good. Is there any other place i can look configuration wise to try
> and see if TCP/IP is configured correctly on the Linux box. I can ping
> loopback and my own ip on the linux machine alright, but as I said, trying to
> ping out of the linux box anywhere returns network unreachable. Also worth
> noting, pinging out from the linux machine shows no activity on the hub. If I
> ping to the linux machine from a win95 box, I can see some activity on the
> hub and on the linux NIC.
>
>  Sorry for the longwindedness, but I wanted to be thorough. Does anyone think
> this is anything other than a hardware conflict? Any advice or input is
> appreciated greatly. Thanks in advance,
>
>  Dan Friedman
>  Cambridge Computer Services
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own


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

From: Michael Meissner <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.hardware
Subject: Re: From SRPMS to binaries (was Re: Tape file marks)
Date: 05 Feb 1999 13:16:35 -0500

Ken <[EMAIL PROTECTED]> writes:

> Jim Chisholm wrote:
> > 
> > Just a thought.. I don't know what distribution you're using but the
> > mt-st tools in a stock RH5.2 distribution are (verifiably) whacked..
> > I rpm -e'd them and built and installed mt-st-0.4-5.src.rpm and
> > everything is working fine (Adaptec2940, HP SureStor).
> > The stock 5.2 mt-st (mt-st-0.5-1) bombs on fsf commands and possibly
> > others.
> 
> Might be what's biting me, then. I forgot to mention that I'm using
> RH5.2 (Macmillan distribution). So you back-leveled to 0.4? Have to go
> find out how to do that...

Either that or go to mt-0.5b which fixes the problem.  There should be a
version on contrib.redhat.com (or at least there used to be).

> I just mounted the 2nd RH5.2 CDROM with the source RPMs and am trying to
> figure out the sequence of steps to get from the mounted CD to "make
> install". I got the mt-st sources and patches into
> /usr/src/redhat/SOURCES and a file in /usr/src/redhat/SPECS. I figure
> I'm supposed to gunzip the source and patch it, but the stuff in the
> spec file looks like there's supposed to be some way to automate this.
> What's my next step?

Assuming you don't have to patch anything, etc. to go from src rpm to
installation, do:

        rpm --rebuild <source>.rpm
        rpm -Uvh /usr/src/redhat/RPMS/i386/<binary>.rpm
                                        ^
                                        |
                                        \-- might be noarch, ppc, etc.

Also, if you look in the rpm man page, it will tell you more about the various
build options.

-- 
Michael Meissner, Cygnus Solutions (Massachusetts office)
4th floor, 955 Massachusetts Avenue, Cambridge, MA 02139, USA
[EMAIL PROTECTED],    617-354-5416 (office),  617-354-7161 (fax)

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

From: Paul Nolan <[EMAIL PROTECTED]>
Subject: Windows95 <--> Linux : Telnet, but no ftp
Date: Fri, 05 Feb 1999 10:29:27 +0000

Windows 95, Redhat 5.0

Hi,

I have managed to set up a windows95 to linux ppp connection using a
null modem cable at home. Its great, I have an XServer running on
Windows 95 and its brilliant.

However, I cant ftp or use samba. If I try to ftp from windows to Linux,
up pops the Dial-up Networking gui as normal, it dials in, the ftp
process says its connected but then I get a disconnected message. Anyone
know whats wrong ?

With samba, I set up the smb.conf to make available resources e.g.
[mydirectory], [global], [public] etc..
When I try to map a drive in windows I put in \\123.1.1.2\<resource>, it
dials in, but I get disconnected. Kinda weird.

Anyone any suggestions ??

regards,

- Paul Nolan,
  Dublin, Ireland.

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


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