Linux-Networking Digest #981, Volume #10         Wed, 28 Apr 99 20:13:33 EDT

Contents:
  Re: WIn98 logon (Yan Seiner)
  Re: Gateway problem? ("Curt")
  rpc.lockd : Where can I get it ("David Travers")
  Sendmail vs. MS-Exchange ("Oliver Kroener")
  Re: smbmount on 2.0.36 kernel? (Mark Krischer)
  Re: How to compile using g++ and necessary libraries? (frederic pont)
  Re: Translate (i)pppd hex output to ascii (Erik Corry)
  Re: hide-password ("Clifton T. Sharp Jr.")
  Re: Gateway problem? ("Curt")
  Configuring qmail ("Brian Bakker")
  howto idea? (urgrue)
  Re: Linux as a firewall : performances issues ("Curt")
  Re: Can't stop autodialing ! ("Curt")
  help with setting up .US domain (Pablo Veramendi)
  Re: TCP/IP config headaches ("Curt")
  snmp get and set (John Martin)
  Socks Proxy and Masqing.... (Venpex)
  Re: Samba Server (Joseph White)
  Re: NT faster than Linux? (Mr T)
  Re: Set up DNS to resolve hostname to hostname:port? (VanderBilt)

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

From: Yan Seiner <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup
Subject: Re: WIn98 logon
Date: Wed, 28 Apr 1999 13:11:59 -0400

Possibly because W98 uses encrypted passwords?  I bet you don't have SP4
installed on NT either...

Do a search of the MS KB and disable encrypted passwds in the W98
registry.

Yan

john xu wrote:
> 
> All:
> Need help for win98 log on to linux.
> I have Redhat linux 5.2 installed on PII 400. I am trying to telnet and
> ftp to this linux server from a machine which OS is win98. But it
> failed. The message from linux is "Incorrect user name" or "Password" is
> not correct. Even
> anonymous ftp can not log on to linux from this machine. The fact is
> that, any
> other machines in my network (WIN NT, WIN95 and linux) have no problem
> logon to this linux machine using the same username and password which
> failed
> log on from that WIN98.
> 
> Anybody has some clue or can give me some seggustion what's wrong?
> 
> Thank you very much
> Please reply to [EMAIL PROTECTED] so I won't miss you.
> 
> --
> ----------------------------------------------
> John

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

From: "Curt" <[EMAIL PROTECTED]>
Subject: Re: Gateway problem?
Date: Wed, 28 Apr 1999 12:59:41 -0500

Are you getting any timeout errors in /var/log/messages on the eth0?
Look at ifconfig eth0.  Any errors?   Any successful Tx or Rx?

It's possible the irq is set wrong and have the same things happen.  Usually
best to use the DOS program that came with your card to set the irq and io
address.  Turn off PnP so your system doesn't change it after you set it.


Marcel Janda wrote in message <[EMAIL PROTECTED]>...
>I've installed Redhat with a network card and I can ping my own ip address
>and localhost but I'm not able to ping another computer on the same subnet.
>It's the same when I try to ping my ip address from another computer. When
I
>used the network configurator to set up the interface, the network address
>was calculated automatically but it does not match the gateway ip given to
>me by my network admin.
>Here is the result of netstat -nr:
>Kernel IP routing table
>Destination     Gateway         Genmask         Flags   MSS Window  irtt
>Iface
>147.32.124.128  0.0.0.0         255.255.255.224 U      1500 0          0
>eth0
>127.0.0.0       0.0.0.0         255.0.0.0       U      3584 0          0 lo
>0.0.0.0         147.32.124.129  0.0.0.0         UG     1500 0          0
>eth0
>
>The 147.32.124.128 is the value automatically calculated by the network
>config. and 147...129 is the one given to me by my net admin.
>Any ideas?
>Thanks
>-Sheryl
>
>
>
>
>
>



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

From: "David Travers" <[EMAIL PROTECTED]>
Crossposted-To: comp.mail.sendmail
Subject: rpc.lockd : Where can I get it
Date: Wed, 28 Apr 1999 22:29:22 +0100

I require a copy of the latest version of the rpc.lockd (NFS lock daemon)
for linux.

I am running Redhat 5.2 with linux kernel 2.2.6.

System is SMP Dual Pentium 2 350Mhz processor, 128MB ram, U2W scsi hard
disk.

I have compiled an old version but I am getting compile errors that I didn't
get before I activated SMP in the kernel. I reuire this for file locking
over the network as we have a distributed file system.

Does the rpc.lockd work with SMP?.

Could you please reply to my e-mail address if possible

Thanks in advance



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

From: "Oliver Kroener" <[EMAIL PROTECTED]>
Subject: Sendmail vs. MS-Exchange
Date: Wed, 28 Apr 1999 23:02:00 +0200

Hallo!

we intend to use linux as firewall and mail server. we have a dial up
network and we want sendmail to check within defined step for new mail and
deliver this mail to specific pop3 account on this linux machine where the
local client can fetch this new mail.

is sendmail able to do that and if true, how? with ms-exchange this works,
but we would prefer linux!

oliver




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

Date: Wed, 28 Apr 1999 13:40:52 -0400
From: Mark Krischer <[EMAIL PROTECTED]>
Subject: Re: smbmount on 2.0.36 kernel?

Pedro Garrett wrote:
> 
> I can't seem to find an smbfs (with smbmount) patch for my 2.0.36 kernel
> (i686).  Am I supposed to be doing something else?  If not, could
> someone direct me to the correct patch?

if recall correctly, smbfs is part of the kernel compile menu--under
filesystems.  i think i compiled it as a module.  smbmount i think came
with the samba distribution.

hope that helps.

--mk


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

From: frederic pont <[EMAIL PROTECTED]>
Subject: Re: How to compile using g++ and necessary libraries?
Date: Wed, 28 Apr 1999 17:59:43 GMT

you don't need -lsocket for linux. What error message do you get ?

In article <[EMAIL PROTECTED]>,
  Carolyn Vo <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to run a program written in C++ on the RS6000 (AIX) machines,
> on a machine with Solaris, and on a machine running RedHat Linux.  On
> the command line on the RS6000 machines, I type "g++ -lnsl -lsocket
> proj1.C" and it works just fine. But when I type the same thing on
> either the machine running Solaris or the machine running Linux, it
> doesn't work.  What do I do to make it work? What libraries do I need to
> include?
>
> Thanks so much,
> Carolyn Vo
> [EMAIL PROTECTED]
>

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

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

From: Erik Corry <[EMAIL PROTECTED]>
Crossposted-To: comp.protocols.ppp,xs4all.isdn,nl.comp.isdn,de.alt.comm.isdn4linux
Subject: Re: Translate (i)pppd hex output to ascii
Date: 28 Apr 1999 21:45:23 GMT

In <de.alt.comm.isdn4linux> "Gerrit Hiddink" <7g6dcc$23r$[EMAIL PROTECTED]> 
wrote:

> Hi,

> some (all?) versions of (i)pppd print important messages only in hex
> characters. These messages sometimes contain clues as to why setting up
> a connection fails, so it is very important to be able to read these
> messages. They look like this:

> Apr 26 22:16:51 localhost pppd[888]: rcvd [PAP AuthNak id=0x0 49 6e 76 61 6c
> 69 64 20 4c 6f 67 69 6e 3a 20 55 6e 6b 6e 6f 77 6e 20 75 73 65 72 6e 61 6d
> 65 2e 0d 0a]

> I've written a tiny program to translate it into ascii. It could have been

If you can program in C it would be an even better solution if you
would look at the ipppd source code and find out why it is using
hex in the first place.  It must be a bug.  My version here doesn't
do it, it looks like the following:

Apr 11 08:28:37 ec ipppd[26225]: rcvd [0][PAP AuthNak id=0xamsg="Invalid Login"]

which is much more useful.  The bug must have crept in since I
got my version (can't remember unfortunately).

-- 
We believe that God is on our side. --Netscape chief executive James Barksdale
--
Erik Corry [EMAIL PROTECTED]           Ceterum censeo, Microsoftem esse delendam!

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

From: "Clifton T. Sharp Jr." <[EMAIL PROTECTED]>
Subject: Re: hide-password
Date: Wed, 28 Apr 1999 17:20:41 -0500

Clifford Kite wrote:
> Clifton T. Sharp Jr. ([EMAIL PROTECTED]) wrote:
> : Is it me, or does it look like the PPP 'hide-password' option in 2.3.7 is
> : only very slightly started and not really implemented?
> 
> Here's a message from Paul Mackerras on the ppp-linux list in response
> to a query about this:
> 
> ---
> Oops, sorry, here's a patch to fix the problem, to be applied to
> pppd/upap.c.

Great! Thanks.

-- 
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
|   Cliff Sharp   |  Take the Boulder Pledge!                                 |
|      WA9PDM     | http://www.zdnet.com/yil/content/mag/9612/ebert9612.html  |
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

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

From: "Curt" <[EMAIL PROTECTED]>
Subject: Re: Gateway problem?
Date: Wed, 28 Apr 1999 17:25:19 -0500

Well all your packets are being dropped on eth0.

I don't see anything wrong with your routing table, given the netmask and
IPs.  The OS is probably correcting for an error in your
/etc/sysconfig/network-scripts/ifcfg-eth0 file.  You might want to check it.
It should look something like:

DEVICE=eth0
USERCTL=no
ONBOOT=yes
BOOTPROTO=none
BROADCAST=147.32.124.159
NETWORK=147.32.124.128
NETMASK=255.255.255.224
IPADDR=147.32.124.136

You proably don't want to use IRQ 9 for your network card, it is used to
direct the interrupts from the 2nd interrupt controller to the 1st, on IRQ
2.
It is best to use 5, 10, or 11, for your network card.   Take a look at
/proc/interrupts to see what is currently being used.  Also take a look at
/proc/ioports, just to be sure there is no overlap (although there doesn't
seem to be a problem here).

Marcel Janda wrote in message <[EMAIL PROTECTED]>...
>Hello again,
>I have some more information about my problem with the network.
>Thanks for the ideas but I don't see any timeout errors in the log. Here is
>my ifconfig:
>
>lo        Link encap:Local Loopback
>          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
>          UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
>          RX packets:72 errors:0 dropped:0 overruns:0
>          TX packets:72 errors:0 dropped:0 overruns:0
>
>eth0      Link encap:Ethernet  HWaddr 00:00:E8:57:08:95
>          inet addr:147.32.124.136  Bcast:147.32.124.159
>Mask:255.255.255.224
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:0 errors:0 dropped:123 overruns:0
>          TX packets:0 errors:0 dropped:0 overruns:0
>          Interrupt:9 Base address:0x360
>
>I'm also getting an error message at bootup:
>route: netmask doesn't match route address
>
>I'm really at a loss here, so any help is greatly appreciated.
>Thanks again,
>Sheryl
>
>Curt wrote in message ...
>>Are you getting any timeout errors in /var/log/messages on the eth0?
>>Look at ifconfig eth0.  Any errors?   Any successful Tx or Rx?
>>
>>It's possible the irq is set wrong and have the same things happen.
>Usually
>>best to use the DOS program that came with your card to set the irq and io
>>address.  Turn off PnP so your system doesn't change it after you set it.
>>
>>
>>Marcel Janda wrote in message <[EMAIL PROTECTED]>...
>>>I've installed Redhat with a network card and I can ping my own ip
address
>>>and localhost but I'm not able to ping another computer on the same
>subnet.
>>>It's the same when I try to ping my ip address from another computer.
When
>>I
>>>used the network configurator to set up the interface, the network
address
>>>was calculated automatically but it does not match the gateway ip given
to
>>>me by my network admin.
>>>Here is the result of netstat -nr:
>>>Kernel IP routing table
>>>Destination     Gateway         Genmask         Flags   MSS Window  irtt
>>>Iface
>>>147.32.124.128  0.0.0.0         255.255.255.224 U      1500 0          0
>>>eth0
>>>127.0.0.0       0.0.0.0         255.0.0.0       U      3584 0          0
>lo
>>>0.0.0.0         147.32.124.129  0.0.0.0         UG     1500 0          0
>>>eth0
>>>
>>>The 147.32.124.128 is the value automatically calculated by the network
>>>config. and 147...129 is the one given to me by my net admin.
>
>
>



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

From: "Brian Bakker" <[EMAIL PROTECTED]>
Subject: Configuring qmail
Date: Wed, 28 Apr 1999 19:16:59 +0100

I basically just installed qmail on a Redhat Linux 5.2 Intel box from the
www.qmail.org site, but I still need to configure it.  I need to configure
the following

1.  qmail to forward outward-bound mail from the domain to an ISP on a
leased line through a Firewall

2. qmail to check ISP once every half hour for inward-bound mail and forward
to an Exchange Server through a firewall again

I am not sure whether qmail can do all of the above.  Anyone have any help
or pointers to setting up the above.  It would be much appreciated.

Brian Bakker




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

From: [EMAIL PROTECTED] (urgrue)
Subject: howto idea?
Date: 28 Apr 1999 21:22:21 GMT
Reply-To: [EMAIL PROTECTED]

As a small-time/beginner system/network admin, I keep coming across the same 
sorts of questions. Basically, I often (due to lack of experience) don't know 
what sort of machine would best suit a given situation. I was wondering if 
anyone has ever written an article or something giving some basic rules of 
thumb.
For example, right now I'm facing a situation where I need to configure ipfwadm 
for three networks of various sizes. I have no idea how powerful a machine I 
would need, or if I should spread it out over several machines, etc. So far 
I've just been using a machine until I notice it choking up, then adding more 
hardware or spreading its task onto several computers. I dont think this is the 
best way to go about this, and i certainly think the customers would prefer if 
they weren't my guinea pigs.
I think it would be useful to have a document that went through the most common 
networking/sys admin related programs and explained what resources they were 
heavy on, how many users one could expect it to handle on a given machine, etc.

So can anyone point me to this sort of document?

thanks
freddie


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

From: "Curt" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions
Subject: Re: Linux as a firewall : performances issues
Date: Wed, 28 Apr 1999 17:41:00 -0500


Here is a good article on making linux fault tolerant:
http://metalab.unc.edu/pub/Linux/ALPHA/linux-ha/High-Availability-HOWTO.html

With links to commercial implementations.  I haven't tried any of this.
I'd be interested in hearing how it goes.

Charles-Edouard Ruault wrote in message <[EMAIL PROTECTED]>...
>Hi everybody,
>
>i've already used Linux as a firewall on my company network and it runs
>very well and now i'm considering using it on a much more critical
>network.
>i'm setting up a new internet service and i'm considering using a Linux
>box for a firewall but i'm not sure about the performances and capacity
>so i'd like to check before making any mistake.
>Does anybody knows how many simultaneous connections a Linux box can
>handle ( i would say the theoritical max is 65535 ) but what
>hardware/memory do i need to handle that ?
>What throuput would i then be able to provide to the users ? ( let's say
>both internal & external interfaces are 100Mb/s ethernet ).
>
>Also does anybody knows of an architecture that would allow to build a
>fault tolerant firewall ( one active machine and one  stanby machine
>that would take over if the active fails )
>
>Of course i would be really happy to use my favorite OS instead of
>spending a lot of $$ to buy products that would give the same
>performances or less ....
>
>Thanks for your advices & help.
>
>--
>Charles-Edouard Ruault
>
>
>



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

From: "Curt" <[EMAIL PROTECTED]>
Subject: Re: Can't stop autodialing !
Date: Wed, 28 Apr 1999 17:45:20 -0500

You may need to filter out netbios traffic.

Jim Bailey wrote in message <7g4teg$n5>
>which is great , but, when I disconnect, a minute or so later it begins
>dialing the phone again !



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

From: [EMAIL PROTECTED] (Pablo Veramendi)
Subject: help with setting up .US domain
Date: Wed, 28 Apr 1999 17:31:09 GMT

        Ok, here is the situation, we have 2 DNS servers in our
office. One is running Linux (2.0.0 I believe) and the other is
running SGI IRIX 5.3. I edited the (reverse IP)IN-ADDR.ARPA
file on the SGI and added


45      IN      PTR     twp.wheeling.il.us.

then did a:

killall -HUP named

works fine. When I ping the IP it resolves twp.wheeling.il.us.

So I then went to the Linux box, and edited the same file (the linux
is our primary DNS) and added the same entry, and killed the named
process. But it does not resolve the domain name. Is there something
special that I have to do? Something that I am missing? All the other
domains that I deal with are www.domain.com.. but never a government
one like this. Anything done differently?

-Pablo Veramendi
Systems Engineer
CompuSolve Corp.

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

From: "Curt" <[EMAIL PROTECTED]>
Subject: Re: TCP/IP config headaches
Date: Wed, 28 Apr 1999 17:31:27 -0500

You probably don't have a route to your local network.

route add -net 206.228.139.32 netmask 255.255.255.224 eth0

If that doesn't work, post the results of 'netstat -nr' and  'ifconfig
eth0'.

Once you get your ppp connection working you'll want to make that your
default route.

Eric Mueller wrote in message <[EMAIL PROTECTED]>...
>I have 3 networked systems at home (private network).  One of the
>Thanks in advance!
>
>



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

From: John Martin <[EMAIL PROTECTED]>
Subject: snmp get and set
Date: 27 Apr 1999 19:17:56 +0100

When I do:-
snmpget localhost public .iso.org.dod.internet.mgmt.mib-2.system.sysContact.0
I get:-
system.sysContact.0 = OCTET STRING: "Big Joe"

When I do:-
snmpset localhost public .iso.org.dod.internet.mgmt.
mib-2.system.sysContact.0 s "Wee Jill"     <==  Line break for example only
I get:-
Error in packet.
Reason: There is no such variable name in this MIB.
This name doesn't exist: system.sysContact.0

If i can 'get' the variable why can't I 'set' the variable?
TIA
-- 
John


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

From: [EMAIL PROTECTED] (Venpex)
Subject: Socks Proxy and Masqing....
Date: Wed, 28 Apr 1999 23:19:00 GMT

I currently have a Linux box set up and Masqing my home network just dandy. 
The issue I have is trying to by pass a filter at work so that I can use ICQ. 
It seems that they have blocked out the UDP that I need to use - So I was 
hoping to set up a Socks server on my Linux box to accept my ICQ from work on 
the alternate port and output to the normal ICQ servers on the correct Port.

I am questioning if Socks5 is what I want. Will it interfere with my currently 
configured IPMasqing? Is there anyway to do what I want without setting up 
Socks5?

Any information would be VERY useful. Thanks


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

From: Joseph White <[EMAIL PROTECTED]>
Subject: Re: Samba Server
Date: Wed, 28 Apr 1999 19:32:21 +0000

You may also want to try

http://eunuchs.org/linux

http://eunuchs.org/linux/samba/samba_content.html




Richard Torkar wrote:
> 
> jwhite wrote:
> >
> > http://www.samba.org/
> >
> > Mark Fry wrote:
> > >
> > > After using linux for a while on a standalone desktop, we are having great
> > > difficulties configuring samba for our server.  Can anybody point me to a
> > > step by step web page.
> > > Thankyou
> > > Mark
> > >
> > > [EMAIL PROTECTED]
> >
> > --
> >
> > *********************************************************
> >                           Joseph White
> >                          [EMAIL PROTECTED]
> >                       [EMAIL PROTECTED]
> >
> >  *********************************************************
> 
> http://jgo.local.net/LinuxGuide/
> Has a very good info on how to kickstart your smbserver :)
> Try it out and be happy :)
> BTW in my signature there is a link to LinNeighborhood. A nice piece of
> software to use when you're browsing the LAN :)
> 
> Richard Torkar
> --
> http://milkyway.thn.htu.se/~ds98rito/
> Hoping the problem magically goes away
> by ignoring it is the "microsoft approach to programming"
> and should never be allowed.
>                 (Linus Torvalds)
> ------------------------------------------------------------
> PGP Key ID / PGP Key Fingerprint:
> D40BA0AD   / C7 5D A3 B7 1A 28 7E CE  E6 41 82 AE E6 EC 20

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

From: Mr T <[EMAIL PROTECTED]>
Crossposted-To: linux.samba,uk.comp.os.linux
Subject: Re: NT faster than Linux?
Date: Thu, 29 Apr 1999 00:38:53 +0100

Presto ,

The stupid Mind-Craft have been flamed so much that they are now prepared to
retake the shambles of a test.

they have not invited any Linuxite to observe their tricky deeds.

Expect Linux to thrash the bloated Win2k problem child !


Stan Hewitt wrote:

> Well the bozos that run the test spent a hell of a lot of energy tuning thier
> NT system
> and ZIP tuning to linux box.
>
> Please note they had linux doing reverse DNS lookups for EACH hit.........
> and IIS doesnt do that, it just logs the ip# like they could have had thier
> linux box do too. If they had bothered to read the doc that CAME WITH
> apache, theyd know that. Morons.
>
> It seems to me it was a race between NT and thier DNS.... not linux.
> Plus on the PS list I dont see and httpd running which means they had
> it running from thier inetd.
>
> With that in mind I was extremely impressed linux preformed as it did.
> I hope someone does a test like this and cares for thier linux box as they
> did thier NT box. Its just ridiculous. Leave it to Microsoft to pull a stunt
> like that


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

From: [EMAIL PROTECTED] (VanderBilt)
Subject: Re: Set up DNS to resolve hostname to hostname:port?
Date: Wed, 28 Apr 1999 19:48:02 GMT

Hiya,

I've setup a (Novell GroupWise) mail system inside my private network and have
struggled with about the same questions: How do I redirect port 25 (the ISP is
sending the mail to that port of my linux box of course) to port 25 on IP
number 192.168.0.5, my internal mailserver. The answer was relatively simple
(when I found it of course): Use "redir". This little piece of software allows
you to redirect ports straight into your private network. 

When you have a kernel 2.0.33 (not sure here) or higher the NAT capacities are
built in out of the box of any distribution. All you have to do is configure
it. I'm using ipfwadm and (recently) redir for that. If you want, I can mail
you the specifics, but I've found this solution looking on dejanews,
powersearching for like "linux port redirect".

Cheers.

VanderB.


On Wed, 28 Apr 1999 00:12:26 GMT, [EMAIL PROTECTED] wrote:

>In article <7g5foc$n3o$[EMAIL PROTECTED]>,
>  [EMAIL PROTECTED] wrote:
>
>> > 1) Set up a 2-way NAT on your LAN's gateway, for the webserver, and point to
>> > that IP address.
>
>> I'm not entirely certain how to do that.  The machine that I want to be the
>> server doesn't have a "real" IP address... only a local 192.168.1.80 address.
>> If I wanted external hosts to be able to access port 80 on that machine
>> without having to specify a port like I do now?
>
>The big issue is whether or not you have any public [routable] IP addresses
>available from your service provider.  I assume you have at least one, since
>presumably your LAN is hooked up to the internet.  Check out `natd` [man
>natd], and that will give you an idea of how [N]etwork [A]ddress
>[T]ranslation works.

===========*****===================
A waste is a terrible thing to mind

btw, sorry for the double anti-spam measures, real people
     will know what to do.....

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


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