Linux-Networking Digest #27, Volume #10          Thu, 28 Jan 99 01:13:44 EST

Contents:
  RPC: Timed out, in 2.2.0 only (Darrell Tangman)
  No FTP, No Telnet, No Samba ("David Francis")
  Re: Cookies, Smashing them, How-to? (Jim Richardson)
  Re: SAMBA -> Gethostbyaddr failed for 90.0.0.3 (David Efflandt)
  Re: Bridging two LANS (Jan H. Schrewe)
  Re: What could "modprobe: can't locate module net-pf-17" be? 
([EMAIL PROTECTED])
  Re: ipfwadm - SUID root? (David Efflandt)
  HELP!  Linux Compatible Modems? ("Ramanlal Mistry")
  LINUX PPP on a SPARC10 ("Chenard, Sylvain [CAR:VS13:EXCH]")
  DialD Problem (Budman)
  Re: fetchmail (Emmanuel CARJAT)
  IPFWADM Problem (Budman)
  Re: PPP Setup for Uswest.net Dial in (Mike Horwath)
  New to routing Need Help (Dark Knight)
  Re: NIS server setup not "make"ing ([EMAIL PROTECTED])
  Re: Linux in a Token Ring network (Gordon Haverland)
  Re: PPP dial-up connection with RH5.2 (Bill Unruh)

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

From: Darrell Tangman <[EMAIL PROTECTED]>
Subject: RPC: Timed out, in 2.2.0 only
Date: 27 Jan 1999 16:50:17 GMT

I'm trying to run a 486/33 as an X terminal, running XFree86 3.3.3
on Linux 2.2.0.  One of the systems on our network is a Motorola
88100 running SystemV/88; when I try to NFS-mount a file system from
the Motorola box I get an "RPC timed out" message and the mount
fails.  When I try to rlogin to the Motorola box the session hangs
immediately and eventually dies with a message about "address already
in use".  When I try to telnet to the Motorola box I get the "Login:"
prompt but no response to the keyboard; the session eventually times
out.  I can, however, rlogin from the Motorola box to the 2.2.0 Linux
box, and I can run an xterm on the Motorola box and display it on the
Linux box.  This problem also occurred with 2.2.0-final, but not with
any of the 2.0.x kernels through 2.0.35.

The Motorola box is the only one displaying this problem; the 2.2.0
box communicates successfully with boxes running Digital UNIX, AIX,
SCO, ISC, DG/UX, and Solaris.  Anyone have suggestions on where I can
start looking for the cause of this problem?

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

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

From: "David Francis" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup
Subject: No FTP, No Telnet, No Samba
Date: Wed, 27 Jan 1999 11:50:48 -0500

Hello...

I've just setup a small home LAN with private IP addresses.

RH5.2 = 192.168.0.1
Win98 = 192.168.0.2

I *can* ping from each box to each box. I *can* get RH5.2 HTTP services from
Win 98 using http://192.168.0.1

My problem is, I can't telnet or FTP... in both operations it seems to find
the machine, but no login prompts are ever issued.

Any suggestions?

Thanks in advance...David



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

From: [EMAIL PROTECTED] (Jim Richardson)
Subject: Re: Cookies, Smashing them, How-to?
Date: 28 Jan 1999 03:54:11 GMT
Reply-To: [EMAIL PROTECTED]

On Mon, 25 Jan 1999 21:50:53 -0800, 
 Raymond Lillard, in the persona of <[EMAIL PROTECTED]>,
 brought forth the following words...:

>Jim Richardson wrote:
>[ ... ]
>> To stop the insidious spread of cookies. Simply make a softlink to the
>> bitbucket /dev/null from the cookie file. 'frinstance. in your netscape home
>> dir (probably $HOME/.netscape) type
>> 
>> ln -s /dev/null /a
>> 
>> This will mean that any cookie written to the cookies file, will be redirected
>> to the bit bucket. You don't have to deal with clicking no on a bunch of
>> requestors, or being refused access because you refuse to accept cookies.
>
>don't you mean:
>   ln -s /dev/null cookies
>
>Works for me.
>
>Ray

Ah, you see, the keyboard I was using at the time was configured for a unique
7 byte alphabet, where c o o k i e s comes out /a all fixed now :)


-- 
Jim Richardson
        Anarchist, pagan and proud of it
WWW.eskimo.com/~warlock
        Linux, because life's too short for a buggy OS.


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

From: David Efflandt <[EMAIL PROTECTED]>
Subject: Re: SAMBA -> Gethostbyaddr failed for 90.0.0.3
Date: Thu, 28 Jan 1999 04:35:43 GMT
Reply-To: [EMAIL PROTECTED]

On 1/24/99, 4:51:13 PM, [EMAIL PROTECTED] wrote regarding SAMBA ->=
=20
Gethostbyaddr failed for 90.0.0.3:

> Hi All,

> I am having a problem with samba
> Here is the log for the only machine trying to connect:

> Gethostbyaddr failed for 90.0.0.3
> Gethostbyaddr failed for 90.0.0.3
> 1999/01/23 01:06:26 sparches (90.0.0.3) connect to service tmp
> as user
> ann (uid=3D501,gid=3D100) (pid 3983)
> 1999/01/23 01:06:26 sparches (90.0.0.3) closed connection to
> service tmp

> Gethostbyaddr failed for 90.0.0.3
> Gethostbyaddr failed for 90.0.0.3

This would appear to mean what it says.  Do you have a name for that=20
IP in /etc/hosts or /etc/lmhosts?

> this is a win98 machine.
> The win98 machine can see the linux box.
> The  linux machine lists it as one of the computer on the net
> using
> nmblookup.
> smbclient and testparm works great.
> please help!!!
> [EMAIL PROTECTED]





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

From: [EMAIL PROTECTED] (Jan H. Schrewe)
Subject: Re: Bridging two LANS
Date: Mon, 25 Jan 1999 21:51:55 +0100

Gary Lake wrote:
> 
> I have two LANS both phycially connected to the same ethernet hub(s).
> Actually the first one is real and the second is in development....to
> eventually replace the first.  Maybe I'm going about this the hard way,
> but I want to use a different IP addressing scheme for my new LAN.
> Right now, the existing LAN in running ip's 129.47.0.xxx (all static
> ip's) and I hope to make the new LAN use 192.168.0.xxx. (and use DHCP)
> 
> The idea is that I need a way (if possible) to make the existing
> workstations (129.47.0.xxx) see hosts in the new developing net (i.e.
> 192.168.0.xxx)  that way I can build replacement pieces and phase them
> in over time, and eliminate existing pieces of the current LAN one at a
> time.
> 
> Can I do this with a linux (or another way)

I think you can.

> if so, do I need multiple ethernet cards, special kernel options not
> enabled by default.
You will need IP aliasing, and routing in the kernel(just enable
anything ;-)

> Can I do it with oine ethernet card and masqerading or aliasing ?
one computer has to act as a router. You will need a second interface
named eth0:0 
or something like that, which is configured for the 192.168.0.xxx net.
All the clients must have a routing entry which says that the router is
the gateway for 
the 192.168.0.xxx net.
never tried it but it shuold work.
> I've read HOWTO's on firewalling and Bridging, but I'm not getting
> anywhere.
> 
> TIA for any help offered

bye

jschrewe

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

From: [EMAIL PROTECTED]
Subject: Re: What could "modprobe: can't locate module net-pf-17" be?
Date: 27 Jan 1999 16:22:01 GMT

Villy Kruse <[EMAIL PROTECTED]> wrote:

> This should be the complete list.  Don't think there is a module for
> pf-17

> #define AF_UNSPEC     0
> #define AF_UNIX               1       /* Unix domain sockets          */


where is this list located?

Simeon

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

From: David Efflandt <[EMAIL PROTECTED]>
Subject: Re: ipfwadm - SUID root?
Date: Thu, 28 Jan 1999 04:44:04 GMT
Reply-To: [EMAIL PROTECTED]

On 1/24/99, 4:14:17 PM, Jon Stanley <[EMAIL PROTECTED]> wrote=20
regarding ipfwadm - SUID root?:


> I have a network at home.  My brother is not that famailar with Linux.=

> Basically, I need to setup masquerading from an account that has no
> password. Right now, the login runs a shell script that sets it up,=20
and
> the account has a real UID of 0.  I'm terribly afraid of a root=20
compromise
> with this setup, because of the possibility of escaping  to the shell
> that is running.  My question is, is it safe to set ipfwadm (or=20
ipchains
> once I upgrade my kernel) SUID root?  That way the shell is running
> unpriviliged, and the individaul commands run as root.  I dont really
> care if normal users run them.

If you are talking about pppd, I don't think there is any way to jump=20
out of that into the shell.  It can safely run suid root.

I do ipfwadm and enable/disable ip-forward from ip-up(.local) or=20
ip-down(.local) based on remote IP range (same modem used for dialin=20
and dialout).  You can either do that or do settings from=20
/etc/rc.d/rc.local on startup.




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

From: "Ramanlal Mistry" <[EMAIL PROTECTED]>
Subject: HELP!  Linux Compatible Modems?
Date: 28 Jan 1999 04:43:05 GMT

Does anyone have a list (or at least know a few) of internal 56K modems that
are compatible with Linux 5.0?  Or, does anyone know of a Linux driver to
support a U.S. Robotics 56K PCI Winmodem?  Please give very specific product
information.

I appreciate your help.

Raj



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

From: "Chenard, Sylvain [CAR:VS13:EXCH]" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.setup,comp.os.linux.misc,comp.os.linux.hardware,alt.os.linux,comp.protocols.ppp,linux.redhat.install
Subject: LINUX PPP on a SPARC10
Date: Wed, 27 Jan 1999 12:01:20 -0500

Hi,

 Though I'm using a Sparc10 with RH 5.1, the ppp setup should be trivial
 under linux. I getting a "LCP: timeout sending" problem.
 =

 I've tried 2 modems (microcom 28.8p, microcom 56k), changed serial
 cable, disabled the eth0 interface while connecting PPP and I'm still
 getting the same problem. =


 I suspecting a netmask problem or interrupts problem but I need help
 to validate (or invalidate) these hypothesises.
 =

 BTW: To connect to my ISP, I'm using a DIP script. When ppp is started
      on my SPARC I can see the modem SD led glowing (sending a lot of
      stuff to the ISP port) and small burst FROM the ISP port.
 =

 The following is a sample of my configuration and my logs
(/var/log/messages).
 =

-> Here's the log:
 =

 Jan 18 21:28:46 oliver6 pppd[1479]: pppd 2.3.3 started by root, uid 0
 Jan 18 21:28:46 oliver6 pppd[1479]: Removed stale lock on modem (pid
1479)
 Jan 18 21:28:46 oliver6 pppd[1479]: Using interface ppp0
 Jan 18 21:28:46 oliver6 pppd[1479]: Connect: ppp0 <--> /dev/modem
 Jan 18 21:29:05 oliver6 kernel: Swansea University Computer Society IPX
0.34 for NET3.035
 Jan 18 21:29:05 oliver6 kernel: IPX Portions Copyright (c) 1995
Caldera, Inc.
 Jan 18 21:29:05 oliver6 kernel: Appletalk 0.17 for Linux NET3.035
 Jan 18 21:29:16 oliver6 pppd[1479]: LCP: timeout sending
Config-Requests
 Jan 18 21:29:16 oliver6 pppd[1479]: Connection terminated.
 Jan 18 21:29:16 oliver6 pppd[1479]: Receive serial link is not 8-bit
clean:
 Jan 18 21:29:16 oliver6 pppd[1479]: Problem: all had bit 7 set to 0
 Jan 18 21:30:15 oliver6 pppd[1479]: Exit.

 Even if I put the debug option in "options" file, I got nothing more...

 I verified the configuration of my /dev/modem with stty
 =

-> Here's the echo:

 stty -a < /dev/modem

 speed 38400 baud; rows 0; columns 0; line =3D 0;
 intr =3D <undef>; quit =3D <undef>; erase =3D <undef>; kill =3D <undef>;=

 eol2 =3D <undef>; start =3D <undef>; stop =3D <undef>; susp =3D <undef>;=

 dsusp =3D <undef>; rprnt =3D <undef>; werase =3D <undef>; lnext =3D <und=
ef>;
 flush =3D <undef>; min =3D 1; time =3D 0;
 -parenb -parodd cs8 hupcl -cstopb cread -clocal crtscts
 ignbrk -brkint ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon
-ixoff
 -iuclc -ixany -imaxbel
 -opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0
bs0 vt0
 ff0
 -isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase
-tostop
 -echoprt -echoctl -echoke

 You can easily see that the port is 8-N-1 (cs8,-parenb,-cstopb)

-> Here's a sample of my DIP script (succesfull path only)

 netmask 255.255.240.0
 port /dev/modem
 speed 38400
 databits 8
 parity N
 stopbits 1
 reset
 send ATZ%C3%E2\r
 wait OK 5
 send ATQ0V1E1X4\r
 wait OK 5
 dial T*70,,*67,,555-1212 #As an example
 sleep 1
 send \r
 send \r
 wait Userid: 15
 send e(myunixID)\r
 wait Password? 15
 password
 send \n\
 wait succeeds. 15
 sleep 5
 send \r
 send \r
 send \r
 wait Norte_prompt> 60
 send ppp \r
 print PPP CONNECTED $locip --> $rmtip
 mode ppp
 goto exit

-> Here's my options file from /usr/ppp directory :

 /dev/modem # serial port
 57600
 crtscts
 asyncmap 0
 defaultroute
 modem
 lock
 noipdefault # for dynamic IPs

 NOTE: I don't use "connect" since I'm using DIP

-> And when I manually connect to ISP port, I got the following:

 ISP_prompt>ppp
 Exiting shell, starting PPP
 ~=DD}#=B8!}!}!} %}!}$}%=A4}"}&} }*} } }%}&m=F7}^(}(}"}1}$}%=A4}2}"}3})}#=
}
~@=B5qJ}}>~~=DD}#=B8!}!}"} %}!}$}%=A4}"}&} }*} }
}%}&m=F7}^(}(}"}1}$}%=A4}2}"}3})}#}~@=B5qJ} d=A1~

 The Sparc uses both different UART and irq than PC. The following shows
you what I got:

-> From /var/log/messages:
 =

 snip...
 =

Jan 20 18:40:52 oliver6 kernel: Sparc Zilog8530 serial driver version
1.18.2.15
Jan 20 18:40:52 oliver6 kernel: tty00 at 0xffede004 (irq =3D 44) is a
Zilog8530
Jan 20 18:40:52 oliver6 kernel: tty01 at 0xffede000 (irq =3D 44) is a
Zilog8530
Jan 20 18:40:52 oliver6 kernel: tty02 at 0xffedb004 (irq =3D 44) is a
Zilog8530
Jan 20 18:40:52 oliver6 kernel: tty03 at 0xffedb000 (irq =3D 44) is a
Zilog8530

 snip..

-> And from "setserial":

 [root@oliver6 ~]# setserial -a /dev/modem
 /dev/modem, Line 0, UART: unknown, Port: 0xffede004, IRQ: 44
         Baud_base: 0, close_delay: 50, divisor: 16
         closing_wait: 3000, closing_wait2: infinte
         Flags: spd_normal

 I'm using my HP425 with a SLIP connection (using ppl) for many years
 now and I never had problems.

 Is there any way to use manual SLIP connection within LINUX (no =

 automatic script)

 Any suggestion are welcomes

 Thanks in advance

 ----------------------------------------------------------------------
 Sylvain Chenard F/W Designer
 PO Box 3511, Station C
 Ottawa, Ontario
 CANADA  K1Y 4H7
 Tel. (613) 763 5289
 EMAIL: [EMAIL PROTECTED]
 -----------------------------------------------------------------------

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

From: [EMAIL PROTECTED] (Budman)
Subject: DialD Problem
Date: Sun, 24 Jan 1999 23:51:25 GMT

Hi, I came across a problem with DIALD... not sure if this is normal or not.  
DialD works great, but there is one problem I have found.  After a session has 
no activity, it disconnects. Fine.  Now the problem, sometimes DialD just 
stops repsonding to network requests while in the waiting state.  I endup 
sending a HUP to reset DialD and this usually works.  Is there something I may 
have overlooked that may resolve this.

Thanks.

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

From: Emmanuel CARJAT <[EMAIL PROTECTED]>
Subject: Re: fetchmail
Date: 24 Jan 1999 17:25:38 -0500

"minstrel" <none> writes:

> Now for the real kicker: I already have sendmail up and running.  This isn't
> the problem.  I don't quite know what the problem is.  Everyone has said
> "sendmail," but it is there and running.  Any other ideas?  I'm beginning to
> think I'm out of luck.
> 
Ok, i didn't knew you had sendmail.
First of all try telneting into it to know if it's allowing you to
send mails. type something like

$telnet 127.0.0.1 25
you should have something like

220 ppp246-221.vif.com ESMTP Sendmail 8.8.7/8.8.7/Emmanuel CARJAT
26/09/98; Sun, 24 Jan 1999 17:22:31 -0500

if not try to loosen the security via the /etc/hosts.allow and
/etc/hosts.deny

If it still doesn't work, well i have no clue but if you're not a
purist you might have a look at the fetchmail mda command.

Manu.
-- 
As long as there are ill-defined goals, bizarre bugs, and unrealistic 
schedules, there will be Real Programmers willing to jump in and Solve 
The Problem, saving the documentation for later.

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

From: [EMAIL PROTECTED] (Budman)
Subject: IPFWADM Problem
Date: Sun, 24 Jan 1999 23:54:19 GMT

I've been using IPFWADM for quite awhile.  Are there any good books or docs on 
IP rules?  

I try using the -o switch, and it does not work. Is there a config setting I 
have missed?  Also, where do these packets get sent to which output log? I 
can't seem to locate which file does contain the logged packets.

Thanks.

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

From: [EMAIL PROTECTED] (Mike Horwath)
Subject: Re: PPP Setup for Uswest.net Dial in
Crossposted-To: mn.online-service
Date: Thu, 28 Jan 1999 04:51:21 GMT

In mn.online-service J. Scott Berg <[EMAIL PROTECTED]> wrote:
: I'll give you the whole story and you can see what you think.

Excellent.

: I couldn't send out a mail message (I had sent one before).  I gave
: their mail server a ping, no response.  This went on for a while, so I
: gave them a call.  "Mail servers working fine.  Why can't I ping them?
: We don't support Linux."

Did you make sure you had van-jacobson header compression on?

: The guy then repeated this latter mantra
: 'til I gave up on him.  A bit of playing around on my part found that
: I could send short emails.  Never could ping the mail servers--it
: would be nice if the guy would have just told me that their servers
: don't respond to pings.  Even Win98 has ping.

Just because their servers won't respond doesn't mean their servers
don't have ping.

It could be blocked at the router (many places do this).

: The solution?  Their system indicates in the LCP negotiation it can
: handle an mru of 1524.  Since I hadn't indicated an mtu, pppd set it
: to 1524.  Well, the fact is that a packet that size doesn't make it.
: The real mtu seems to be 1500.  Guessed this by looking at tcpdump
: output.  Sending a large enough message caused a sufficiently large
: packet to be sent.  If someone knows what's going on, I'd love to hear
: it (and why does it work on Win98?).

Could it be the implementation of the TCP stack under Linux?

Would not be the first bug found...won't be the last.

MRU of 1524 should be fine, works all over the place, and is quite
standard for PPP negotiation.

MRU - Maximum Receive Unit
MTU - Maximum Transmit Unit

Don't forget the overhead in the packets! :)

: Why do I bother with them?  The have "POP's" where I need them.
: Frankly, nobody I've found has the kind of coverage that they do, not
: even close.

They use UUNET dialups, and many ISPs use them.

Ya never know who might be next to use them as well...

-- 
Mike Horwath  Admin & Manager @ VISI.com   WORK: [EMAIL PROTECTED]
IRC: Drechsau     http://www.visi.com/     HOME: [EMAIL PROTECTED]
The only Minnesota ISP with public statistics: http://noc.visi.com/
         Garbage In -- Gospel Out. - berkeley fortune(6)

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

From: [EMAIL PROTECTED] (Dark Knight)
Subject: New to routing Need Help
Date: Thu, 28 Jan 1999 03:50:53 GMT
Reply-To: [EMAIL PROTECTED]



I have a problem.

I am using Redhat 5.2

On my linux box I have 2 adapters eth0 & eth1.

Netstat reports that they are both operational and up.

eth0 is assigned a "real" class "c" address 111.111.111.110 netmask
255.255.255.0

eth1 is assigned a internal ip address 192.168.2.1 netmask
255.255.255.0

our gateway is 111.111.111.1

all i want to do is allow several computers on the 192 net use the
Linux box as a gateway to reach the internet.

BTW I can ping the internet gateway 111.111.111.1 from the Linux Box
but on the W95 box connected to the 192 segment I cannot ping anything
outside the 192 area code. What gives ?

I Played with the routing tables and it seems like the Linux box
cannot send packets from 192 to the 111. 

I did a traceroute on the linux box using the eth1 interface and it
timed out trying to get to the gateway.

I have went through several FAQ's but to no avail.

I am testing this to provide access to the internet for a classroom in
our school if it works we will probaly dump NT as our core internet
servers. (HTTP on linux  is much faster than on NT)


Please help if you can.


Thanks, Dark Knight

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

From: [EMAIL PROTECTED]
Subject: Re: NIS server setup not "make"ing
Date: Wed, 27 Jan 1999 12:34:46 -0500

[EMAIL PROTECTED] wrote:

> i am running redhat 5.1 and trying to install NIS 1.3.4-1. When i goto the
> /var/yp directory and type make this is the error i get repeat scrolling on
> the screen: makedbm: warning: malformed input data (ignored)
>
> any thoughts??
>
> thanks for your help!
>
> ryan@atension dot com
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own

Send me a copy of your make file.


[EMAIL PROTECTED]


ps. I assume that you intend for this to be a NIS server on a network.


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

From: Gordon Haverland <[EMAIL PROTECTED]>
Subject: Re: Linux in a Token Ring network
Date: Wed, 27 Jan 1999 10:44:59 -0700

[EMAIL PROTECTED] wrote:
> 
> Is there anybody who installed a Linux machine in Token Ring network?
> Which network card do you use and how did you install the drivers?

I have an Olicom OC-3137 card.  Olicom has a driver for it.
Haven't done much with it, other than get it working.  Other
matters have put final implementation back.  But the card
works, ping works, ...

Gordon Haverland
haverlan @ agric.gov.ab.ca

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

From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To: comp.os.linux.networking,comp.os.linux.misc,comp.os.linux.help
Subject: Re: PPP dial-up connection with RH5.2
Date: 28 Jan 1999 05:52:59 GMT

In <[EMAIL PROTECTED]> Gregory Propf <[EMAIL PROTECTED]> writes:
>> 
>> First, where is the log file so I can look at it.(Debug is enabled)

/var/log/messages

>> Second, my ISP says (I don't think they really know for sure) they don't
>> use PAP and alas I have tried it with PAP and without to the same end.

They then use a logon. So look for ogon: or ame: in your chat script and
assword:
>> Please help, it's getting a little frustrating and I'm about to give up.
>> I tired of trying to decipher the endless trail of FAQ's and HOWTO's and
>> mini-HOWTO's and man pages.

I'll send you another one (shorter and to the point I hope)



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


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