Linux-Networking Digest #891, Volume #11 Wed, 14 Jul 99 07:13:27 EDT
Contents:
trouble with ppp connection over null-modem cable (David)
static NAT (Lederhaas Horst)
Re: Per user: Restricting Telnet but allowing FTP (randy)
Re: Mac and Linux on TCP/IP (David)
Re: RH6.0 remote printing set up (Stefan Boresch)
Re: Network in a box? ("bill jackson")
Re: Kernel 2.2.x, ifconfig, and bootpc (Karsten)
NFS problem ("Kent Nilsen")
Re: cable modem and network hub.. (Patrick Chipman)
Re: News readers ("T.E.Dickey")
Re: REMOTEHOST variable (James Knott)
Re: REMOTEHOST variable (James Knott)
Re: Problems installing Tulip driver ("Nabu")
Postfix (Christian Czech)
Solution for Content Filtering ("FlashGun")
Re: I don't understand working on subnets (M. Buchenrieder)
Re: NFS mount with DHCP client (Christoph Passon)
----------------------------------------------------------------------------
From: David <[EMAIL PROTECTED]>
Crossposted-To: comp.protocols.ppp,comp.sys.mac.comm
Subject: trouble with ppp connection over null-modem cable
Date: Tue, 13 Jul 1999 20:29:16 +0200
I have partially succeeded in connecting a PowerPC and a Linux box with
a crossover cable using PPP. However I am not able to receive files from
the server.
I have started pppd on Linux with this command:
# pppd -detach crtscts 128.0.0.0:128.0.0.1 /dev/ttyS1 38400 &
It seems to work when I launch a FreePPP connection on the Macintosh
since I can read the IP adresses in the "FreePPP Information" window.
Besides, when I type the "netstat -r" command, I get something like
this:
Destination Gateway Genmask Flags MSS Window
irtt Iface
128.0.0.1 * 255.255.255.255 UH 1500 0
0 ppp0
127.0.0.0 * 255.0.0.0 U 3584 0
0 lo
Though, when I ping the Mac from the shell, it always return something
like "n packets transmitted", "0 packets received" and "100% packet
loss".
Once, I also surprisingly had the ping working, though the telnet and
http protocol from the Mac were still not working.
Another strange thing is that I can open a FreePPP session from the Mac
whithout having to fill the "user name" and "password" sections.
I wonder whether the problem comes from a misconfiguration in Linux, the
Mac or the null-modem cable ?
Any hint or help would be of a great help,
Thanks
David H.
------------------------------
From: Lederhaas Horst <[EMAIL PROTECTED]>
Subject: static NAT
Date: Wed, 14 Jul 1999 08:34:44 +0200
for our sap connection i need a static nat.
i must translate our sapserver ip adresses for example:
sapserver 1: 192.168.0.10
sapserver 2: 192.168.0.11
and it should this ip`s to
sapserver 1:193.155.155.10
sapserver 2:193.155.155.11
how can i translate ip adresses, so i can connect them from the inet?
horst
------------------------------
Date: Wed, 14 Jul 1999 01:48:31 -0500
From: randy <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: Per user: Restricting Telnet but allowing FTP
I'm not sure, that might be OS specific. Maybe someone else will follow
this thread and answer it
--rjm--
Brian Kuschak wrote:
>
> Thanks!
> I had tried adding this to the /etc/passwd file before, but I didn't
> know about the /etc/shells file.
>
> Is the /etc/security/access.conf file not used, then?
>
> Brian
>
> randy wrote:
> >
> > make an entry in /etc/passwd for that user after the last colon ':'
> > something like '/bin/false'
> > then in /etc/shells add the line '/bin/false'
> >
> > Brian Kuschak wrote:
> > >
> > > Hello,
> > >
> > > I'd like to be able to allow certain users or groups to have access to
> > > FTP, but not allow them to login via telnet.
> > >
> > > I've tried disallowing access in /etc/security/access.conf like this
> > > -:username:ALL (It is the first in the list)
> > >
> > > But this seems to have no effect. Why?
> > >
> > > Would a restricted shell be the way to go, just restrict everything?
> > > Or is there another file that I should use, something like /etc/ftpusers
> > > but for telnet.
> > >
> > > Any help would be appreciated.
> > > Thanks,
> > > Brian
> > > [EMAIL PROTECTED]
> > > PS using RH 5.2
------------------------------
From: David <[EMAIL PROTECTED]>
Crossposted-To: comp.sys.mac.comm
Subject: Re: Mac and Linux on TCP/IP
Date: Tue, 13 Jul 1999 20:42:33 +0200
Jim wrote:
> However, even if you get this going, you will still be restricted to
> using Telnet, FTP amd Web Browsers to use your Linux box, which is ok
> but sort of restrictive. Why is it that you don't want to install
> Appletalk on you Linux machine (just out of curiosity) ?
Thanks for replying my messages. I am aware of the limitations of the
serial connection protocol, though my home network is just temporary,
then I am not sure if it is worth investing in 2 network cards.
David.
------------------------------
From: Stefan Boresch <[EMAIL PROTECTED]>
Subject: Re: RH6.0 remote printing set up
Date: 14 Jul 1999 08:48:09 +0200
Thanks for the reply! Here the answers to your questions.
> hello!
> two remarks:
> 1) what says
> ls -l /var/spool/lpd
[root@psserver /etc]# ls -l /var/spool/lpd
total 3
drwxr-xr-x 2 root lp 1024 Jul 13 19:03 lp0
-rw-r--r-- 1 root root 4 Jul 13 18:01 lpd.lock
drwxr-xr-x 2 root lp 1024 Jul 2 12:37 phaser
> 2) lpd scans /etc/hosts.allow and hosts.deny too.
> cu andreas
Both files are empty. I don't believe that this is the problem.
The printjobs get sent off the requested machine and are spooled
on psserver, but then don't get sent to the printer...
Stefan
--
Institute for Theoretical Chemistry phone: -43-1-427752715
University of Vienna FAX: -43-1-427752790
Waehringerstr. 17 -43-1-4028525
A-1090 Vienna, Austria
------------------------------
From: "bill jackson" <[EMAIL PROTECTED]>
Crossposted-To: alt.comp.hardware.pc-homebuilt,comp.os.ms-windows.networking
Subject: Re: Network in a box?
Date: Wed, 14 Jul 1999 02:04:31 -0400
I have the SMC package. Works great in 98/NT, still trying to get it to
work in Linux.
------------------------------
From: Karsten <[EMAIL PROTECTED]>
Subject: Re: Kernel 2.2.x, ifconfig, and bootpc
Date: Wed, 14 Jul 1999 09:07:46 GMT
Hi,
I had the same problem:
Running SuSE 6.0 with Kernel 2.0.36 and everything was fine.
Upgrading to Kernel 2.2.10 and I get problems with my network
card that look just like yours:
In article <7lvjh6$c2j$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> I've built kernel 2.2.7 on a machine that uses bootp to get its ip
> address and hostname. During startup, just before sending the boootp
> request, the startup script /etc/sysconfig/network-scripts/ifup tries
to
> execute the following lines:
>
> ifconfig eth0 down
> ifconfig eth0 0.0.0.0 broadcast 255.255.255.255 netmask 0.0.0.0
>
> The first line works and the second line fails with the response:
> SIOCSIFBRDADDR: Cannot assign requested address
> SIOCSIFNETMASK: Cannot assign requested address
> Does anyone know how to fix this problem?
I modified my bootp script by commenting out the two lines that
you mentioned earlier.
I also included some other lines for the configuration of the network
card:
#
# Close device
#
ifconfig lo down
ifconfig dummy0 down
ifconfig $DEVICE down
#
# Set up network
#
ifconfig lo 127.0.0.1
ifconfig dummy0 $IPADDR
ifconfig $DEVICE $IPADDR netmask $NETMASK
route add -net $BROADCAST netmask $NETMASK $DEVICE
It's probably a dirty hack (I'm not a Linux/network-expert)
but it worked for me.
I think it has something to do with the fact that with kernel
2.2
"- You don't need to do "route add aaa.bbb.ccc... eth0" anymore,
it is done automatically."
(from http://www.kernelnotes.org/doc22/networking/routing.txt )
Don't ask me why I still have the route thing included.
Anyway, my bootp script always bailed out after these first two
lines that you mentioned earlier on and never finished the
initialization.
If you want my bootp-script, send me an e-mail.
Good luck,
Kuzzel
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: "Kent Nilsen" <[EMAIL PROTECTED]>
Subject: NFS problem
Date: Wed, 14 Jul 1999 08:36:31 GMT
Hello, trying to get NFS to work from 2.2.9-19MDK (Mandrake) kernel on a
Mandrake 6.0 system. It works fine between Linux boxes, but I cannot mount
disks on the Linux server from Sun... I've not recompiled the kernel.
Any help welcome!
Kent R. Nilsen
------------------------------
From: Patrick Chipman <[EMAIL PROTECTED]>
Subject: Re: cable modem and network hub..
Date: 14 Jul 1999 07:31:00 GMT
Bad Mojo wrote:
> Now the cable modem is hooked to my nic, it currently is not plugged into
> my network hub. Now I was wondering, what would happen, if anything if I
> were to take the network cable that is running out of the modem and into
> the nic card and plugged that into my hub, and take a nic cable from the
> hub and plug it into the nic?
>
> Would this work? Would anything happen?
>
> BTW - my network is just 2 computers. 1 is linux, other is ms windows.
Well, what would happen is a lost cable modem connection if you don't
plug the cable modem into the uplink port of the hub (if you don't have an
uplink port, you'll need to get a crossover cable to make the connection).
At least, this is what I've heard and it sounds reasonable (the cable modem
emulates a hub?).
Once the cable modem is talking to the hub, each machine will need to be
able to log into the cable modem service. This shouldn't be a problem for
the Windows box, but for the Linux box you'll either need another static IP
address and the relevant servers (so the story with @Home goes) or a copy
of rrlogind, dhcpcd, and a new IP address lease if you use Roadrunner. Of
course, if your Linux machine was running the service before, you already
know how to set it up and so will merely need the relevant Windows software
(if any).
After the software is installed, it should simply be a matter of placing
the appropriate IP addresses in the computers or configuring the DHCP
client.
Be aware, however, that a cable modem setup over a hub is extremely
insecure and suffers from some major disadvantages, especially over
Roadrunner. The better (and safer!) solution would be to set up two NICs in
the Linux box and run it as an IP Masquerade router for your network.
================== Posted via SearchLinux ==================
http://www.searchlinux.com
------------------------------
From: "T.E.Dickey" <[EMAIL PROTECTED]>
Subject: Re: News readers
Date: Wed, 14 Jul 1999 09:41:03 GMT
Taylor Collins <[EMAIL PROTECTED]> wrote:
> Because I can not find a good news reader in X Windows that does
> multiple file uu/xxdecoding I'm in the process of writing one... I'm
> looking to do a full featured news reader...now that I have the
> initiative. It will probably done using ncurses first.
Before writing a 'good' news reader, you may consider looking at the
ones that are already written (and perhaps point out where they are
inadequate).
A more suitable newsgroup:
news.software.readers
(I use uudeview for most of that sort of thing, along with tin)
--
Thomas E. Dickey
[EMAIL PROTECTED]
http://www.clark.net/pub/dickey
------------------------------
From: [EMAIL PROTECTED] (James Knott)
Subject: Re: REMOTEHOST variable
Date: Tue, 13 Jul 1999 20:01:54 -0400
Reply-To: James Knott <[EMAIL PROTECTED]>
In article <7m7pnj$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Clifford Kite) wrote:
>James Knott ([EMAIL PROTECTED]) wrote:
>
>: Slackware v2.0.35 has an environment variable called REMOTEHOST, which
>: does not seem to be in Redhat. It contains the host name or IP
>: address of the remote system that has opened a telnet session. Does
>: anyone know how/where this variable is created?
>
>/etc/rc.d/rc.inet1:HOSTNAME=`cat /etc/HOSTNAME`
That will give me the host name of whichever computer I enter the
command on. What I need is something that's returned as a varialbe,
so that when starting X, I can automatically set the DISPLAY variable
to the correct remote system. I.e export DISPLAY=$REMOTEHOST:0.0.
This will work on a Slackware host, but not Redhad / Mandrake
--
E-mail [EMAIL PROTECTED]
_________________________________________________________________________
The above opinions are my own and not those of ISM Corp., a subsidiary of
IBM Canada Ltd.
------------------------------
From: [EMAIL PROTECTED] (James Knott)
Subject: Re: REMOTEHOST variable
Date: Tue, 13 Jul 1999 20:08:35 -0400
Reply-To: James Knott <[EMAIL PROTECTED]>
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
>In <[EMAIL PROTECTED]> [EMAIL PROTECTED] (James Knott) writes:
>
>
>>Slackware v2.0.35 has an environment variable called REMOTEHOST, which
>>does not seem to be in Redhat. It contains the host name or IP
>>address of the remote system that has opened a telnet session. Does
>>anyone know how/where this variable is created?
>
>Yupp. It's not slackwares variable, it's a feature of the tcsh:
>
> REMOTEHOST (+)
> The host from which the user has logged in
> remotely, if this is the case and the shell is
> able to determine it. Set only if the shell was so
> compiled; see the version shell variable.
>
>Use tcsh as login shell and you'll get it back ;-)
I use bash on all systems, both Slackware & Redhad / Mandrake. The
variable appears in Slackware but not Redhat or Mandrake.
--
E-mail [EMAIL PROTECTED]
_________________________________________________________________________
The above opinions are my own and not those of ISM Corp., a subsidiary of
IBM Canada Ltd.
------------------------------
From: "Nabu" <[EMAIL PROTECTED]>
Subject: Re: Problems installing Tulip driver
Date: Tue, 13 Jul 1999 20:32:33 -0800
Thank you both,
It worked. No, errors. I now a new problem. I can not see out the network
card.
Nabu <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]...
> I am using Red Hat 5.2, FX310TX card, and I have complied tulip.c. As far
> as I can tell no error. I copy the tulip.o to
> "/lib/modules/2.0.35-0.7/net/" and run "/sbin/depmod -a" I get a symbol
not
> found.
>
> Any ideas?
>
>
>
------------------------------
Date: Wed, 14 Jul 1999 11:45:13 +0200
From: Christian Czech <"christian.czech "@ovb.net>
Crossposted-To: alt.os.linux,comp.mail.sendmail,comp.os.linux.setup
Subject: Postfix
Hello,
i've suse linux 6.1 and will install an mailserver on this system.
I've realised this with postfix. local all happens fine. I can send and
receive messages.
Also i can send emails to the internet and this works also fine.
I will receive my messages from my provider with fetchmail, and i can
receive this mail to the
local user. But it doesn't work with the postoffices of my mailusers.
The Header from the mails are okay!! What can I do, to forward this
mails (receive with fetchmail) in the postoffice of the mailusers?
Thanks a lot!!
Christian
------------------------------
From: "FlashGun" <[EMAIL PROTECTED]>
Subject: Solution for Content Filtering
Date: Wed, 14 Jul 1999 18:25:02 +0800
I'm looking for a solution to filter some of the website (like sex) through
the Linux server. Anyone has idea how to do it?
Thank You
------------------------------
From: [EMAIL PROTECTED] (M. Buchenrieder)
Subject: Re: I don't understand working on subnets
Date: Wed, 14 Jul 1999 06:02:57 GMT
"Ricky J. Sethi" <[EMAIL PROTECTED]> writes:
[...]
>One weird point of contention might be if you're using private IP's... I
>couldn't get my samba to work at all until I switched from private IP's to
>public IPs.
[...]
You'll have to tell the router to forward IP addresses out of the
reserved address range into the other subnets.
Michael
--
Michael Buchenrieder * [EMAIL PROTECTED] * http://www.muc.de/~mibu
Lumber Cartel Unit #456 (TINLC) & Official Netscum
Note: If you want me to send you email, don't munge your address.
------------------------------
From: Christoph Passon <[EMAIL PROTECTED]>
Subject: Re: NFS mount with DHCP client
Date: Wed, 14 Jul 1999 12:45:06 +0200
==============6C788F4C67C6B7EC8BFD7140
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
mike wrote:
> In article <[EMAIL PROTECTED]>, Christoph Passon
><[EMAIL PROTECTED]> wrote:
> >
> >--------------BB7C7E5906514CBF0AB331C7
> >Content-Type: text/plain; charset=us-ascii
> >Content-Transfer-Encoding: 7bit
> >
> >In addition to my question:
> >
> >In the /var/log/messages file on the server the mountd complains
> >
> > mountd[452]: mount request from unknown host 1.2.3.4 (replaced
> >real address with 1.2.3.4 here :)
> >
> >So to be more specific, how can mountd be told to give permission to
> >unknown hosts?
> >
> >
> >Bye,
> >
> >Chris
> >
>
> Are you talking about PC-UNIX, or UNIX-UNIX?
Its a mount from a penguin to penguin :)
Bye,
Chris
--
.--.
|o_o |
Christoph Passon__________________________________________ |:_/ |
realTech GmbH [EMAIL PROTECTED] // \ \
z.Zt SAP AG [EMAIL PROTECTED] (| | )
Linux LAB /'\_ _/`\
+49 (6227) 7-62052 \___)=(___/
==============6C788F4C67C6B7EC8BFD7140
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
mike wrote:
<blockquote TYPE=CITE>In article <[EMAIL PROTECTED]>, Christoph
Passon <[EMAIL PROTECTED]> wrote:
<br>>
<br>>--------------BB7C7E5906514CBF0AB331C7
<br>>Content-Type: text/plain; charset=us-ascii
<br>>Content-Transfer-Encoding: 7bit
<br>>
<br>>In addition to my question:
<br>>
<br>>In the /var/log/messages file on the server the mountd complains
<br>>
<br>> mountd[452]: mount request from unknown host
1.2.3.4
(replaced
<br>>real address with 1.2.3.4 here :)
<br>>
<br>>So to be more specific, how can mountd be told to give permission
to
<br>>unknown hosts?
<br>>
<br>>
<br>>Bye,
<br>>
<br>>Chris
<br>>
<p>Are you talking about PC-UNIX, or UNIX-UNIX?</blockquote>
<p><br>Its a mount from a penguin to penguin :)
<p>Bye,
<p>Chris
<br>
<pre>--
.--.
|o_o |
Christoph Passon__________________________________________ |:_/ |
realTech
GmbH
[EMAIL PROTECTED] // \ \
z.Zt SAP
AG
[EMAIL PROTECTED] (| | )
Linux
LAB
/'\_ _/`\
+49 (6227)
+7-62052
+ \___)=(___/</pre>
</html>
==============6C788F4C67C6B7EC8BFD7140==
------------------------------
** 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
******************************