Linux-Networking Digest #48, Volume #12          Thu, 29 Jul 99 16:13:48 EDT

Contents:
  time limit on pppd (Ahmet Gokalp Ergec)
  Re: Newbie Ethetnet Problem. ("Laurence WK LAU")
  Automatic reconnection using pppd (Guillaume BRIALON)
  Re: NFS Problem (Harald Grosse Hokamp)
  can't see network (Bruce Linton)
  DNS name with primary and secondary IP (nD)
  Re: Problem launching CGI scripts with Apache (Chip Transisto)
  Re: NFS Problem (Peter Slade)
  Re: changing user ftp directory ("YouDontKnowWho")
  Re: mail programs, Lotus Notes R5 (David Dickson)
  Samba and AS/400 ([EMAIL PROTECTED])
  Connecting two remote offices with Linux? ("Brad Bates")
  Re: time limit on pppd (Abdullah Ramazanoglu)
  cannot telnet to redhat 6.0 box (Joey Morris)
  RPC programming (Surya P Kommareddy)
  Re: SuSE 6.0 Networking DNS Problem (Henry Meyerding)

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

From: Ahmet Gokalp Ergec <[EMAIL PROTECTED]>
Subject: time limit on pppd
Date: Thu, 29 Jul 1999 20:07:31 +0300

Hi
I  configured our machine as a pppd server at last. Now I want to learn
how can I apply time limit for users who logged on server by pppd. ( 10
minutes is OK).
Regards
Gokalp


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

From: "Laurence WK LAU" <[EMAIL PROTECTED]>
Subject: Re: Newbie Ethetnet Problem.
Date: Fri, 23 Jul 1999 02:09:31 +0800

Are the netmask, ip addresses and gateway addresses correct?

Markus Jahn wrote in message <[EMAIL PROTECTED]>...
>Hi all.
>I am trying now for several weeks to connect a linux box to a windows 95
>box. I have them connected through a crossover cable. I am using a 100mbit
>no name ethernet card. The card is recognized ok by the linux box.
>
>The problem is that I can't ping the other mashine except I am running
>tcpdump. Can someone help me please?
>
>Thanx
>            Markus
>
>



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

From: Guillaume BRIALON <[EMAIL PROTECTED]>
Subject: Automatic reconnection using pppd
Date: Thu, 29 Jul 1999 19:42:39 +0200

Hi,
I haven't found any pppd version implementing the -demand, -persist, and
-idle options.
These are very usefull for automatic reconnection.
Does someone knows a pppd version enabling these options?
Else, how do you enable automatic reconnection without these?

Thanx.

Guilaume Brialon.
[EMAIL PROTECTED]



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

From: Harald Grosse Hokamp <[EMAIL PROTECTED]>
Subject: Re: NFS Problem
Date: Thu, 29 Jul 1999 20:51:28 +0200



Peter Slade schrieb:

> Hi,
>
> I am running Red Hat Linux 6.0 and trying to share a directory on one of
>
> our computers.
>
> In trying to set it up (I am attempting to provide access to all
> machines
> until I can get it working correctly and will then restrict it to
> certain hosts) I configured the exports file to look like:
>
> # Exports file
> /users (rw)
>
> I then ran exportfs.
>
> When I go onto another machine (log in as root) and type showmount -e
> <othermachine> I see the response
> Export list for 192.168.0.53:
> /users (everyone)
>
> I then attempt (on the same machine (as root))
> mount 192.168.0.53:/users /users
>
> which responds with:
> mount 192.168.0.53:/users failed, reason given by server: Permission
> denied.
>
> Has anyone come across this problem before? - I have read in various
> places
> that the permission denied problem is related to the exports file. But I
>
> have tried many combinations of settings and would not expect to get the
>
> response I am getting from showmount if there was a problem.
>
> Any help with this would be greatly appreciated.
>
> Pete.

Hi,

try mount -t nfs 192.168.0.53:/users /users.

Please tell me if it worked.

Harald



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

From: Bruce Linton <[EMAIL PROTECTED]>
Subject: can't see network
Date: Thu, 29 Jul 1999 11:27:50 -0700

Hello all,

I've inserted a linux box into an existing NT network (public subnet) as
a firewall, and, no matter what I try, can't see either the network or
the internet from the firewall. I have had this same linux box
successfully set up to masquerade my ppp internet access on a different
win95 private network, and have tested both nics so I know they work.

If someone can point me in a direction to debug this I would surely
appreciate it. I've been banging my head for three weeks now...

The subnet is 209.xxx.xxx.160/255.255.255.240 Broadcast=209.xxx.xxx.160

The network has cable modem internet access with address
209.xxx.xxx.174. Everything works great until I plug in the firewall.
The firewall has 2 - 3c515 cards which show activity when I ping, but no
response. I can ping the modem (174) and firewall interfaces (172 & 173)
but nothing else.

eth1 (external interface) is set as 209.xxx.xxx.173 with gateway 174.
eth0 (internal interface) is set as 209.xxx.xxx.172 (no gateway - adding
a gateway here just seems to screw up my routing table).
The network clients have addresses between 161 & 166, with gateway =
172.

I have flushed the ipchains rules - they are wide open.

I'm running Redhat 5.2, kernel 2.2.5-15.
======================================================================
Kernel IP routing table
Destination      Gateway          Genmask          Flags  Metric  Ref
Use  Iface
209.xxx.xxx.172  0.0.0.0          255.255.255.255  UH     0
0        0  eth0
209.xxx.xxx.173  0.0.0.0          255.255.255.255  UH     0
0        0  eth1
127.0.0.1        0.0.0.0          255.255.255.255  UH     0
0        0  lo
209.xxx.xxx.160  0.0.0.0          255.255.255.240  U      0
0        0  eth0
209.xxx.xxx.160  0.0.0.0          255.255.255.240  U      0
0        0  eth1
0.0.0.0          209.xxx.xxx.174  0.0.0.0          UG     1
0        0  eth1
======================================================================
/ifcfg-eth0:

DEVICE=eth0
IPADDR=209.xxx.xxx.172
NETWORK=209.xxx.xxx.160
NETMASK=255.255.255.240
BROADCAST=209.xxx.xxx.160
GATEWAY=
ONBOOT=yes
======================================================================
/ifcfg-eth1:

DEVICE=eth1
IPADDR=209.xxx.xxx.173
NETWORK=209.xxx.xxx.160
NETMASK=255.255.255.240
BROADCAST=209.xxx.xxx.160
GATEWAY=209.xxx.xxx.174
ONBOOT=yes
======================================================================
/network:

NETWORKING=yes
FORWARD_IPV4=true
HOSTNAME=Linux-FW
DOMAINNAME=
GATEWAY=0.0.0.0 (it doesn't seemed to matter what I set gateway or
gatewaydev to)
GATEWAYDEV=eth1
======================================================================
I even configured smb.conf for this network and started nmbd and smbd to
see if that would help locating the internal network connections. I
can't seem to set the correct broadcast address in Samba, but this is
not my main difficulty.

Results of nmblookup -d 2 '*':

Added interface ip=209.xxx.xxx.172 bcast=209.xxx.xxx.175
nmask=255.255.255.240
Sending queries to 209.xxx.xxx.175
name_query failed to find name *
*-------------------------------------------------------
eth0      Link encap:Ethernet  HWaddr 00:10:4B:D9:49:9B
          inet addr:209.xxx.xxx.172  Bcast:209.xxx.xxx.160
Mask:255.255.255.240
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:8
          collisions:0 txqueuelen:100
          Interrupt:9 Base address:0x280 DMA chan:6

eth1      Link encap:Ethernet  HWaddr 00:10:4B:D9:44:B9
          inet addr:209.xxx.xxx.173  Bcast:209.xxx.xxx.160
Mask:255.255.255.240
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17 errors:0 dropped:0 overruns:0 carrier:17
          collisions:0 txqueuelen:100
          Interrupt:10 Base address:0x300 DMA chan:7

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
*-------------------------------------------------------
Here's from dmesg:

Linux version 2.2.5-15 (root@Linux-FW) (gcc version 2.7.2.3) #1 Fri Jul
2 20:25:19 EDT 1999
Console: colour VGA+ 80x25
Calibrating delay loop... 33.18 BogoMIPS
Memory: 14516k/16384k available (1024k kernel code, 408k reserved, 396k
data, 40k init)
Checking if this processor honours the WP bit even in supervisor mode...
Ok.
CPU: Intel 486 DX/2 stepping 05
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.

Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
PCI: PCI BIOS revision 2.00 entry at 0xfc9c3
PCI: Using configuration type 2
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IPv4 over IPv4 tunneling driver
early initialization of device tunl0 is deferred
GRE over IPv4 tunneling driver
early initialization of device gre0 is deferred
IPv6 v0.8 for NET4.0
IPv6 over IPv4 tunneling driver
early initialization of device sit0 is deferred
NET4: Linux IPX 0.38 for NET4.0
IPX Portions Copyright (c) 1995 Caldera, Inc.
Initializing RT netlink socket
Starting kswapd v 1.5
parport0: PC-style at 0x378 [SPP]
Detected PS/2 Mouse Port.
Serial driver version 4.27 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
hda: WDC AC2540H, ATA DISK drive
hdb: NEC CD-ROM DRIVE:260, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: WDC AC2540H, 515MB w/128kB Cache, CHS=524/32/63
Uniform CDROM driver Revision: 2.54
Floppy drive(s): fd0 is 1.44M, fd1 is 1.2M
FDC 0 is a post-1991 82077
PPP: version 2.3.3 (demand dialling)
TCP compression code copyright 1989 Regents of the University of
California
PPP line discipline registered.
0 3c515 cards found.
0 3c515 cards found.
0 3c515 cards found.
Partition check:
 hda: hda1 hda2 < hda5 hda6 >
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 40k freed
Adding Swap: 33228k swap-space (priority -1)
3c515.c:v0.99 4/7/98 [EMAIL PROTECTED]
3c515 Resource configuraiton register 0x0089, DCR 1486.
eth0: 3Com 3c515 at 0x280, 00:10:4b:d9:49:9b, DMA 6, IRQ 9
  64K word-wide RAM 1:1 Rx:Tx split, autoselect/10baseT interface.
3c515 Resource configuraiton register 0x010a, DCR 0487.
eth1: 3Com 3c515 at 0x300, 00:10:4b:d9:44:b9, DMA 7, IRQ 10
  64K word-wide RAM 1:1 Rx:Tx split, autoselect/10baseT interface.
2 3c515 cards found.
lp0: using parport0 (polling).
eth0: no IPv6 routers present
eth1: no IPv6 routers present
VFS: Disk change detected on device fd(2,0)
*-------------------------------------------------------


















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

From: nD <[EMAIL PROTECTED]>
Subject: DNS name with primary and secondary IP
Date: Thu, 29 Jul 1999 17:05:42 GMT

Is it possible to set up a DNS name that has a primary and secondary IP
address? If so, can DNS detect that a primary is down and therefore
switch to the secondary?

TIA.

--
Conversation would be vastly improved by the constant use of four
simple words: I do not know. -Andr Maurois


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

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

From: [EMAIL PROTECTED] (Chip Transisto)
Subject: Re: Problem launching CGI scripts with Apache
Date: Thu, 29 Jul 1999 19:26:13 GMT
Reply-To: Chip Transisto

Make sure your first line in the CGI script points to your perl
program.

On Thu, 29 Jul 1999 16:17:00 GMT, [EMAIL PROTECTED] wrote:

>Hi
>I encoure problems launching CGI scripts from a
>html page:
>
>The html source is in the /home/httpd/www
>directory and calls a CGI script in the
>/home/httpd/cgi-bin directory (action='/cgi-
>bin/prog.cgi'). But Netscape doesn't fint the
>script.
>
>Have u any response to this problem ?
>
>Thx
>
>
>Sent via Deja.com http://www.deja.com/
>Share what you know. Learn what you don't.


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

From: Peter Slade <[EMAIL PROTECTED]>
Subject: Re: NFS Problem
Date: Thu, 29 Jul 1999 12:49:15 -0600


My hosts.deny and hosts.allow files are empty.
I can telnet into the exporting machine from the 'mount' machine with no
problems.

The machine that I am attempting 'mount' from does not have a DNS entry.
I tried adding its IP address into the exports file to see if that made
any difference but it still did not work.

Pete.

YouDontKnowWho wrote:

> How are your hosts.deny and hosts.allow files setup?  Also, the
> machine you are trying to mount from (i.e., the machine that wants to
> use the other machine's exported resource), does it have a DNS entry
> somewhere?
>
> --
> Principle of Minimum Access: "That which is not explicitly permitted
> is denied."
>
> ANNOUNCER: And now we return to our regularly scheduled, uncommonly
> entertaining thread...
>
> Peter Slade wrote in message <[EMAIL PROTECTED]>...
> >Hi,
> >
> >I am running Red Hat Linux 6.0 and trying to share a directory on one
> of
> >
> >our computers.
> >
> >In trying to set it up (I am attempting to provide access to all
> >machines
> >until I can get it working correctly and will then restrict it to
> >certain hosts) I configured the exports file to look like:
> >
> ># Exports file
> >/users (rw)
> >
> >I then ran exportfs.
> >
> >When I go onto another machine (log in as root) and type showmount -e
> ><othermachine> I see the response
> >Export list for 192.168.0.53:
> >/users (everyone)
> >
> >I then attempt (on the same machine (as root))
> >mount 192.168.0.53:/users /users
> >
> >which responds with:
> >mount 192.168.0.53:/users failed, reason given by server: Permission
> >denied.
> >
> >Has anyone come across this problem before? - I have read in various
> >places
> >that the permission denied problem is related to the exports file.
> But I
> >
> >have tried many combinations of settings and would not expect to get
> the
> >
> >response I am getting from showmount if there was a problem.
> >
> >Any help with this would be greatly appreciated.
> >
> >Pete.
> >
> >
> >
> >


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

From: "YouDontKnowWho" <[EMAIL PROTECTED]>
Subject: Re: changing user ftp directory
Date: Thu, 29 Jul 1999 17:34:37 GMT

You might want to check out the security "language" features of
hosts.deny and hosts.allow.  I don't know for sure, but you might be
able to execute a chroot command from one of those files.

--
Principle of Minimum Access: "That which is not explicitly permitted
is denied."

ANNOUNCER: And now we return to our regularly scheduled, uncommonly
entertaining thread...

leese wrote in message <7npd8d$brh$[EMAIL PROTECTED]>...
>Hi, I'm using wu ftp.
>When my user connects to ftp I want them to
>goto "/home/ftp" directory instead of their home
>directory like "/home/id".
>Can you help?
>
>
>


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

From: David Dickson <[EMAIL PROTECTED]>
Crossposted-To: vmware.guest.windows-nt,vmware.guest.misc
Subject: Re: mail programs, Lotus Notes R5
Date: Thu, 29 Jul 1999 17:33:44 +0000

I am currently running Notes R5 under both vmware  and another standalone
NT4.0/SP5.0 -> linux RH6.0/2.2/Masq
and everything works fine.  I have previously run it as R4.5&.6 NT4.0/SP3.0
-> linux RH5.2/2.0/Masq and it
also worked.  I connect to IBM servers since I am with IGS.
Tom Young wrote:

> Just to let you know.. the lotus notes R5 is still kinda like a beta. At
> least it won't work with IBM. Only the older version will.
> Josh Miller <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Hi,
> >
> > I've got a beefed up RedHat 5.2 box with vmware 1.0.3 and NT 4 sp3
> > running as a guest. I've also got Masquerading working, and I can get to
> > all my local interfaces, and anywhere on the net from the virtual NT box
> > that runs in linux.
> >
> > We run Lotus notes 4.6.3 at work.... so I downloaded the latest notes
> > client for NT (R5) and set it up. It connected, worked great and all,
> > yay!
> >     ...but the next time I tried getting my mail, it decided not to
> > work.
> >
> > I can't pin down the problem. I'm guessing it's either a notes issue, or
> > a masquerading issue... but it could be an NT issue, or vmware-net
> > issue, or any number of other odd little things.
> >
> > Anyone have any experiance connecting a Masq'd notes client to a Domino
> > server on the net?
> > Do I have to set up anything special with the ipchains? or port
> > forwarding? or anything?
> >
> > I'm hoping someone can give me a hint here, cause I haven't delved into
> > maquerading much just yet, and I don't care much for playing with NT.
> >
> > Thanks in advance,
> >
> > Josh I.
> >


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

From: [EMAIL PROTECTED]
Subject: Samba and AS/400
Date: 29 Jul 1999 18:23:45 GMT
Reply-To: [EMAIL PROTECTED]

I have NetBIOS over TCP/IP (Netserver) running on the as/400. I can connect to
shared drives using WINS in WinNT. When I use Samba on Slack4 I can connect to
the shares but only see the first letter of every file/dir on the drive.

Any ideas?


"Miserable Glitches!"
    -- Shockwave
       [EMAIL PROTECTED]


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

From: "Brad Bates" <[EMAIL PROTECTED]>
Subject: Connecting two remote offices with Linux?
Date: Thu, 29 Jul 1999 11:48:41 -0700

We have two offices that each have a DSL connection.  I would need to 
connect them together over the internet.  I would like to do this using
Linux.  The two offices need to use the same database (Ms Access), there
will only be about ten people, at most using the database at one time.

I am very new to Linux and would appreciate any help.
Thanks,
Brad

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

From: Abdullah Ramazanoglu <[EMAIL PROTECTED]>
Subject: Re: time limit on pppd
Date: Thu, 29 Jul 1999 22:01:51 +0300

Ahmet Gokalp Ergec wrote:
> 
> Hi
> I  configured our machine as a pppd server at last. Now I want to learn
> how can I apply time limit for users who logged on server by pppd. ( 10
> minutes is OK).
> Regards
> Gokalp

Merhaba G�kalp,

I assume you mean "time limit for *idle* users.

For a timout based on line activity 'man pppd' says :

       idle n Specifies that pppd should disconnect if the link is  idle
              for  n  seconds.   The  link  is idle when no data packets
              (i.e. IP packets) are being sent or received.  Note: it is
              not  advisable  to use this option with the persist option
              without the demand option.  If the active-filter option is
              given,  data  packets  which are rejected by the specified
              activity filter also count as the link being idle.

You can put it on command line (overrides everything),
/etc/ppp/options.ttyS? (overrides all except command line options),
~/.ppprc file (overrides only options file), or /etc/ppp/options
(defaults) from highest priority to lowest priority.

So, by putting different time out values into different dial-in tty
groups (options.yyS?) you can define timeouts based on line activity.

For a timeout based on userid, you can put this option into user's
~/.ppprc file. But in this case you cannot use getty to invoke pppd
directly for a chatscript-less dial-in. Instead, you must define a user
account (you will do that anyway if you also plan giving telnet access
to users) and invoke pppd from within ~/.bashrc file. So user must enter
his/her userid and password in chatscript (or manually), which may not
be what you really want.
Other than that, I seem to remember a utility somewhere to force-logout
an idle user. Just search it in metelab, or http://www.linuxapps.com/ 
or  http://linuxberg.ankara.edu.tr/

Kolay gelsin,
-- 
Abdullah Ramazanoglu    [ aramazanoglu AT demirbank DOT com DOT tr ]

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

From: Joey Morris <[EMAIL PROTECTED]>
Crossposted-To: redhat.networking.general
Subject: cannot telnet to redhat 6.0 box
Date: Thu, 29 Jul 1999 14:54:36 -0400

I recently installed Redhat 6.0, and for some reason I cannot telnet to the
machine. Any attempts to do so are met with:

Trying 152.7.8.26...
Connected to afc-008-026.rh.ncsu.edu.
Escape character is '^]'.
Connection closed by foreign host.

I get similar results when I telnet to localhost from the machine itself.

As best as I can remember, I have not changed any of the config files from their
default state with the exception of /etc/issue.net. The /etc/hosts.* files are
empty.

I can ftp to this machine using wu-ftpd with no problems at all, and I can
telnet out with no problems at all. Can anyone provide some clues about what
might be wrong?

Thanks,
Joey

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

From: Surya P Kommareddy <[EMAIL PROTECTED]>
Subject: RPC programming
Date: Thu, 29 Jul 1999 12:05:42 -0700

Hi,
    I am interested in RPC programming under Linux. Can some one suggest some
pointers on the net or some books for study. Also I would like to know if it is
possible for me to implement the Client-Server programs on cross platforms like
NT and Linux, I mean Server being the Linux machine and the Client on the NT
machine.

Thanks in anticipation.

Surya.



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

From: Henry Meyerding <[EMAIL PROTECTED]>
Subject: Re: SuSE 6.0 Networking DNS Problem
Date: Thu, 29 Jul 1999 18:56:08 GMT

The Linux server works fine.  It is just the client who has problems. If
you put in a URL from the client when the server is not online, the
server connects to the ISP and then the client tells you it cannot
resolve the name.

I don't know if anything is correct anymore.  Could I send you some
files and have you look at them?

Thanks

Henry

Matthias Blohm wrote:
> 
> Hello Henry,
> 
> Do you can resolv the URL's on your Linuxserver ?
> What says nslookup to you ?
> Do you have looked for the files resolv.conf and host.conf and know that the
> Lines are correct in it.
> Do you have put in an DNSServerentry on the Client ?
> 
> Look for some of these Problems
> 
> Matthias
> 
> Henry Meyerding schrieb in Nachricht <[EMAIL PROTECTED]>...
> >I am currently running two Linux boxes on a hub.  One acts as the server
> >and has a dialup to my ISP.  The other is the client.  I can telnet
> >between these two boxes, ftp, nfs, etc.,...  but I have not DNS on the
> >client.  When I pick a URL in a browser, I get the message "cannot
> >resolve remote host."
> >
> >Is there anyone out there who would be willing to:
> >
> > 1) tell me which files would need to be reviewed
> > 2) review them and tell me where I am messed up
> >
> >I've tried all kinds of things, but nothing to date has been effective.
> >
> >Thanks
> >
> >Henry Meyerding

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


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