Linux-Networking Digest #908, Volume #10 Sun, 18 Apr 99 18:13:39 EDT
Contents:
Web Mail Server for Linux? ("Gray McCord")
Newbie has Communications Problems (Paul Barr)
Re: Configuring Linux As Gateway to Internet: Help (Benjamin Smith)
Re: Configure NE2000 compatible ethernet NIC ([EMAIL PROTECTED])
Re: Getting Linux to go through Wingate (Martin Cleaver)
Re: 3c509B and 3c905B in same box (Don Baccus)
Re: Tulip - Linksys LNE100TX - Etherfast 10/100 LAN Card ("Mike Rayborn")
Re: Can't See Samba Server on network (JustinC)
Re: @home ("David R. Christianson")
minicom - users cannot create lock files ("Peggy")
Trafic meassuring ("Christian Bjerre")
Re: Realtel RTL 8029 Ethernet For Linux (Patrick Pachur)
Ip Masq problem (Andrea Chiesa)
Re: 3c509B and 3c905B in same box (Thomas Zajic)
Re: Help: Configuring DNS ("Jan Johansson")
Re: Realtel RTL 8029 Ethernet For Linux (Rainer Brosi)
----------------------------------------------------------------------------
From: "Gray McCord" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Web Mail Server for Linux?
Date: Sun, 18 Apr 1999 09:59:28 -0500
I run sendmail and Apache on my 2.0.35 Linux server and was wondering if
anyone knew of a solution to permit viewing users' email via a web
connection to the Apache server. For those that have seen it, I'm looking
for something similar to the MS Exchange Server facility that lets users
access their Exchange mail via IE instead of using the Outlook client.
Thanks,
Gray
------------------------------
From: Paul Barr <[EMAIL PROTECTED]>
Subject: Newbie has Communications Problems
Date: Sun, 18 Apr 1999 21:41:03 +0100
I am a newcomer to Linux and have the following problem.
I have just installed SuSE 6 on my PC, and have managed to successfully
connect to my ISP. But the problem I have is that when I ping known IP
addresses i.e.
www.demon.net I get a return of 120+ Ms from linux but only 40 to 50 Ms
from
Winblows 98!!.
I am connecting to the same phone number in both OS's and have tried
others.
I cannot see WHY my connection is slower under Linux when both OS's
report a connection speed of 64000k with a com port setting of 115200
set serial to vhi.
I have an External Hayes Accurra ISDN TA which is configured as a modem
and a 16550A serial port. Settings are COM1/ttyS0 irq 4 address 3f8 in
both w98 and linux.
My kernel = 2.0.36 and I have Eide drives 2 off
I have tried a Util called irqtune but to no avail :((
I WOULD DESPERATELY APPRECIATE SOME HELP PLEASE!!!!
Just remove REMOVEME. from e-mail address for reply
--
Paul Barr
------------------------------
Date: Sun, 18 Apr 1999 13:36:17 -0400
From: Benjamin Smith <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.setup,comp.protocols.ppp
Subject: Re: Configuring Linux As Gateway to Internet: Help
pcheco wrote:
> Scott Stone wrote in message <[EMAIL PROTECTED]>...
> >pcheco wrote:
> >>
> >> Jim Harper wrote in message <[EMAIL PROTECTED]>...
> >> >pcheco wrote:
> >> >>
> >> >> Jim Harper wrote in message <[EMAIL PROTECTED]>...
> >> >> >pcheco wrote:
> >> >> >
> >> >> >> I am configuring my Linux 2.0.35 (RedHat pkg) as a gateway to the
> >> >> Internet
> >> >> >> for NT Workstations (NT 4.0 build 1381, pack 3). So far, I have not
> >> been
> >> >> >> able to succeed. In brief, the NT workstation knows to use the
> Linux
> >> >> system
> >> >> >> for DNS services, but a ping (ftp or telnet) to an Internet address
> >> fails
> >> >> >> with a Request Time Out error.
> >> >> >
> >> >> >Do you have masquerading set up?
> >> >>
> >> >> No. I turned that feature off on my kernell as well as firewalling.
> I'm
> >> >> trying to configure a plain and simple gateway (IP Forwarder between
> >> >> interfaces ppp0 and eth0). I am aware of the risks (I think I am), but
> I
> >> >> have to get something simple to work first.
> >> >
> >> >Do the NT boxes have real routable IP's? If not, then why not use IP
> >> >Masquerading? It takes all of about five minutes to set up.
> >> >
> >> My understanding of IP Masquerading is limited. It's exciting to hear
> that
> >> it takes so little time to set up, but I rather move into that at a later
> >> stage. Right now, I need to know that my NT boxes can see the Internet
> via
> >> the Linux box and they are not.
> >>
> >> >If they do have real Inet addresses, are they on a different subnet? If
> so,
> >>
> >> No, they don't have real Inet addresses (it's a B network with
> non-Internet
> >> addresses: 172.16.2.1 .2 and .3).
> >>
> >
> >If they don't have real inet addresses, you *must* use IP masquerading.
> >That's what IP masq is for :).
>
> >
> >--
> >--------------------------
> >Scott M. Stone <[EMAIL PROTECTED]>
> >UNIX Systems/Network Admin (Consultant)
> >Taos Mountain Software
> >
>
> Thanks for clarifying this!
>
> I made a mistake in overlooking the fact that a private network IP
> address such as the one for my NT box, 192.168.1.2, can NEVER have a
> TCP/IP connection to a valid Internet address (such as
> www.netscape.com) via a Linux box that is connected to the Internet and
> implements gatewaying w/o masquerading. It was naive of me not to
> realize this sooner!
>
> I understand now why Jim Harper kept talking about IP Masquerading as
> a solution to my problem. Thanks again for clarifying that.
>
> THE PROBLEM: I am still not able to see the Internet after following
> the HOWTO on ipmask. (Read further for details regarding my setup).
>
> HELP: I am looking for any hints/suggestions. In particular, any
> suggestions on debugging tools. I have reasons to believe that the
> packets make it to the Linux box, but are not routed from there, but I
> can't be certain of this. /var/log/messages and /var/log/ppp.log (my
> pppd log file) tell me nothing. Can any one suggest a way to trace the
> packets to the Linux system?
>
> Here is what I've done:
>
> 1. I compiled my kernel as per the instructions in
> [http://24.0.127.204/howto/masquerade] and that's the
> kernel I am now using.
> 2. For simplicity, I changed my IP numbers to those in the HOWTO (class
> C network 192.168.1.0, with Linux gateway at 192.168.1.1).
> 3. The NT 4.0 systems w/o Inet addresses know the 192.168.1.1 (Linux
> gateway with ipmasq on) to be their default gateway and they HAVE
> ACCESS to that system. ipconfig produces:
>
> Windows NT IP Configuration
>
> Ethernet adapter El90x4:
>
> IP Address. . . . . . . . . : 192.168.1.2
> Subnet Mask . . . . . . . . : 255.255.255.0
> Default Gateway . . . . . . : 192.168.1.1
>
> 4. After running pppd, ifconfig produces this output from the Linux
> system:
>
> 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:18 errors:0 dropped:0 overruns:0
> TX packets:18 errors:0 dropped:0 overruns:0
>
> eth0 Link encap:Ethernet HWaddr 00:50:04:21:83:B1
> inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:2590 errors:1 dropped:0 overruns:0
> TX packets:1538 errors:0 dropped:0 overruns:0
> Interrupt:11 Base address:0xec80
>
> ppp0 Link encap:Point-to-Point Protocol
> inet addr:209.179.13.245 P-t-P:209.178.1.88 Mask:255.255.255.0
> UP POINTOPOINT RUNNING MTU:552 Metric:1
> RX packets:8 errors:0 dropped:0 overruns:0
> TX packets:8 errors:0 dropped:0 overruns:0
>
> route -n produces this:
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 209.178.1.88 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 5 eth0
> 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 1 lo
> 0.0.0.0 209.178.1.88 0.0.0.0 UG 0 0 0 ppp0
>
> 5. The following modules were loaded manually and I saw no errors in
> /var/log/messages:
> /sbin/depmod -a
> /sbin/modprobe ip_masq_ftp
> /sbin/modprobe ip_masq_raudio
> /sbin/modprobe ip_masq_irc
>
> 6. I manually ran the commands for setting up ipfwadm:
>
> ipfwadm -F -p deny
> ipfwadm -F -a m -S 192.168.1.2/32 -D 0.0.0.0/0
>
> After this I confirm that my commands were accepted by running
> ipfwadm -F -l -n and getting:
>
> IP firewall forward rules, default policy: deny
> type prot source destination ports
> acc/m all 192.168.1.2 0.0.0.0 n/a
>
> 7. After this, I try to telnet to 166.84.1.67 from the NT box 192.168.1.2,
> but this fails. The same command succeeds from the Linux box, 192.168.1.1
>
> Any help will be appreciated.
Try using the Linux Newbie Administrator's FAQ. Using this, it took under an
hour to set up an arrangement like what you are trying to achieve...
http://www.magma.ca/~bklimas/FAQ.htm#masquerading
I tried the IP_Masq howto, and got thoroughly lost. I never was able to
successfully re-compile the kernel and all that, and the instructions (to
newbie me) where chicken scratch.
However, using the instructions at the website I give had me masquerading
almost instantly, and I had setup the security measures (default policy is
deny, etc) less than an hour later.
It has worked rather well, though ICQ doesn't work correctly inside the local
network. (But everything else does)
Hope this helps.
Benjamin Smith
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Configure NE2000 compatible ethernet NIC
Date: Sun, 18 Apr 1999 20:00:40 GMT
Jayasuthan,
Thank you for your response.
A few people have recommended compiling my own kernel with the NE2000 driver,
but why go to such an extreme simply to install an ethernet card? There must
be a better way.
Derek
In article <371a2685.0@wantest>,
Jayasuthan [VorHacker] <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
>
> Don't crack you head with modules... compile you own kernel with
> ne2000 ease everything. You won't be needing /etc/conf.modules
> to load ne2000 driver then.
>
> : What steps must I take to have RedHat Linux recognize my NE2000 compatible
> : ethernet adapter? The adapter settings are irq=7, io=0x320, base=0xC800.
>
> : Here is my /etc/conf.modules:
>
> : alias sound cs4232
> : alias midi opl3
> : options opl3 io=0x388
> : options cs4232 dma=3,0 io=0x530 mpu_irq=9 irq=5 mpu_base=0x330
> : alias eth0 ne
> : options ne io=0x320 irq=7
>
> : To activate eth0, I invoke:
>
> : ifconfig eth0 10.0.0.1 netmask 255.0.0.0 up
>
> : but ifconfig reports:
>
> : SIOCSIFADDR: Operation not supported by device
> : eth0: unknown interface.
> : SIOCSIFNETMASK: Operation not supported by device
> : eth0: unknown interface.
>
> : What must I do to correct this error?
>
> : Derek
>
> : Please cc: your response to [EMAIL PROTECTED]
>
> : -----------== Posted via Deja News, The Discussion Network ==----------
> : http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
>
> --
> ----------
> Jayasuthan
> [Internal Linux System]
> http://eplx01/suthan/
> smtp%"[EMAIL PROTECTED]"
> [External]
> http://still.working.on
> smtp%"[EMAIL PROTECTED]"
>
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: Martin Cleaver <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,alt.linux,linux.config,linux.redhat,comp.os.linux.setup
Subject: Re: Getting Linux to go through Wingate
Date: Sun, 18 Apr 1999 17:03:37 +0000
Brian DesArmo wrote:
> I currently have Wingate running and am trying to get Linux to utilize
> the proxy, and have been running into some problems. I think it is a
> route problem, not sure though, here are my settings:
No settings needed... just in /etc/hosts a line
192.168.0.1 wingate
and wingate all over the place in Netscape (instead of pop and smtp
servers and as html/ftp/socks prozy)
Rgds
Martin
(who wants to get things working the other way round asap: Linux proxy
for the windows boxes...)
------------------------------
Subject: Re: 3c509B and 3c905B in same box
From: [EMAIL PROTECTED] (Don Baccus)
Date: 18 Apr 1999 10:28:35 PST
In article <[EMAIL PROTECTED]>,
Thomas Zajic <[EMAIL PROTECTED]> wrote:
>Well, I know that you can do this with 3c5x9cfg.exe (the setup program
>for the 3c5x9 cards) using the /nopnp switch, but that doesn�t seem to
>work with 3c90xcfg.exe (the one for the 3c90x cards). Could I maybe
>somehow convince 3c5x9cfg.exe to work with my 3c900 card?
Oops, since you have both a 3c509b and 3c905b I got confused as
to which one was causing you problems! In other words, I thought
your problem was with the 3c509b, not the other one.
Is 3Com trying to turn us all into virtual dyslexics with this
numbering scheme? :)
--
- Don Baccus, Portland OR <[EMAIL PROTECTED]>
Nature photos, on-line guides, at http://donb.photo.net
------------------------------
From: "Mike Rayborn" <[EMAIL PROTECTED]>
Subject: Re: Tulip - Linksys LNE100TX - Etherfast 10/100 LAN Card
Date: Sun, 18 Apr 1999 12:45:34 -0400
I'll probably will just get another card with the hope that someday the
driver for this "new" card will work reliably. I have used the same card on
my Win95 machines with no problems so I think it's just a driver problem.
For those interested...The Linksys LNE100TX (Etherfast 10/100 LAN Card) use
to have a DEC chip but has switched to Lite-on LC82C169 chip which is like
the DEC except that it doesn't work reliably with the current tulip driver
(V0.91 4-14-99). I'm sure in time this will be fixed.
Mike Rayborn
Action wrote in message ...
>its not just a linux problem, I tried using the same card on both, a linux
>machine and a win98 machine. the card, simply put, sucks. linksys made
its
>name by producing 16-bit cards for win 3.1 and has rested on its haunches
>since. My advice would be get rid of the card, and spring for the $30-40
>(unless you go 3com) on a new 100baseT card.
>
>-Action.
>
------------------------------
From: JustinC <[EMAIL PROTECTED]>
Crossposted-To: comp.protocols.smb
Subject: Re: Can't See Samba Server on network
Date: Sun, 18 Apr 1999 22:17:58 +0100
In article <[EMAIL PROTECTED]>, Erka Koivunen
<[EMAIL PROTECTED]> writes
> Shell should be /dev/null.
>
This is from your previous post:
* My /etc/passwd said (this was copied from a working machine):
samba:*:406:103:samba:/dev/null:
According to my Running Linux book the variable where you have /dev/null
is the home directory, the shell is the one after the last :
Please clarify this, should the *home directory* be /dev/null or should
I stick another : in before it to make it the shell ?
Thanks for the tips so far.
--
Justin C by the sea. mailto:[EMAIL PROTECTED]
------------------------------
From: "David R. Christianson" <[EMAIL PROTECTED]>
Subject: Re: @home
Date: Sat, 10 Apr 1999 00:34:15 GMT
I have @Home via TCI. They do allow (for the moment) a maximum of 3
assigned addresses. I got mine when it was still a beta offering, but
now you have to pay approx. $5 for each of the two additional IP
addresses. If you are also connecting a WindowsXX box you can use their
proprietary software to connect to their Member Services page and select
the Home Network option and see what it says. Of course, if you have
more than 3 machines or don't want to pay extra, just use a proxy or
masquerading. After all, you don't want others to think you're pro-M$,
do you?
--Dave C.
------------------------------
From: "Peggy" <[EMAIL PROTECTED]>
Subject: minicom - users cannot create lock files
Date: Mon, 19 Apr 1999 00:51:52 +0800
Hi,
Have a problem on my hands hope you've come across it b4:
I'm running RH5.1 w/o Xwindows
I can start minicom w root and dial out.
I can't start minicom as a user, the error i rcv is "cannot create lock
files"
the user have access to /dev/ttyS0-1 and the mode is correct.
i have also set the minirc.dfl files to be in the same group containing the
users and the mode seem right
-rw-rx-r--
Would appreciate it you could help.
Thanks
------------------------------
From: "Christian Bjerre" <[EMAIL PROTECTED]>
Subject: Trafic meassuring
Date: Sun, 18 Apr 1999 23:38:02 +0200
Problem: paying extra for foreign trafic and want to be able to measure
which IPs that use our linux router and by how much AND be able to tell the
difference between foreign and in this case danish trafic.
Have been looking at MRTG, but I'm not sure that the solution, or haven't
spent enough time infront of the computer ;)
Chris
------------------------------
From: Patrick Pachur <[EMAIL PROTECTED]>
Subject: Re: Realtel RTL 8029 Ethernet For Linux
Date: 18 Apr 1999 21:38:14 GMT
[EMAIL PROTECTED] wrote:
>
> Hello,
> I've been trying to install this card on my Linux..
> I have Slackware 3.6, and I didn't find any good How-to file to help me
> install it in the system, I'd appericiate any help.
> Yours truly,
> Yossi.
yust add ne2000 support to your kernel! the RLT8129 doesn't fit.
this worked fine here.
hth,
patrick
--
PGP-key (id: 0xEAD195EF) on keyservers.
<< ICQ#: 22739921 >>
------------------------------
From: Andrea Chiesa <[EMAIL PROTECTED]>
Subject: Ip Masq problem
Date: Sun, 18 Apr 1999 18:54:49 +0100
This is a multi-part message in MIME format.
==============289F0CDD6EEDA16637ED4BF3
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I have two questions:
For my home:
I have a RedHat 5.2 installed. I have compiled my kernel with all
support for Ip masq, forwarding, firewalling ... (I haven't understand
what they all are) and I have tried to go to Internet from my NT4 behind
my Linux Box.
Of course I can't get out!! I can ping my Linux eth0 and also my ppp0
but can't ping anything outside.
I'm interested in using Ip masq and have heard of the Ipchains program.
Is that better than Ipfwadm?
For my job:
There is a way to permit or deny not only a workstation but olsa a user
to go through the firewall?
I have more than one private net with a Linux box as gateway to the
router.
I need a system that will let me grant access to the router from my
internal networks deciding on ip# and user of machine. All internal nets
are Win Nt or 98.
Thanks a lot
Andrea
==============289F0CDD6EEDA16637ED4BF3
Content-Type: text/x-vcard; charset=us-ascii;
name="achiesa.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Andrea Chiesa
Content-Disposition: attachment;
filename="achiesa.vcf"
begin:vcard
n:Chiesa;Andrea
x-mozilla-html:FALSE
adr:;;via Valeria, 39;Villa di Serio;Bergamo;24020;Italy
version:2.1
email;internet:[EMAIL PROTECTED]
title:Consulente in informatica
tel;fax:035/661395
tel;home:035/661395
tel;work:0347/7306805
x-mozilla-cpt:;0
fn:Andrea Chiesa
end:vcard
==============289F0CDD6EEDA16637ED4BF3==
------------------------------
From: Thomas Zajic <[EMAIL PROTECTED]>
Subject: Re: 3c509B and 3c905B in same box
Date: Sun, 18 Apr 1999 16:52:21 GMT
Don Baccus wrote:
> In article <[EMAIL PROTECTED]>,
> Thomas Zajic <[EMAIL PROTECTED]> wrote:
> >Is there a way to disable PnP on a 3Com EtherLink XL PCI 3C900-TPO?
> >When I try to change the IRQ with the 3C90XCFG.EXE that came with
> >the card, it complains that "This is a lookup value only, assigned
> >by the PCI-BIOS!" or something to that effect.
> There's a separate PnP enable/disable you have to toggle at
> some point, and IIRC you might have to save the value and
> restart to have it take effect (it's been awhile since I've
> done this, so don't quote me!)
Well, I know that you can do this with 3c5x9cfg.exe (the setup program
for the 3c5x9 cards) using the /nopnp switch, but that doesn�t seem to
work with 3c90xcfg.exe (the one for the 3c90x cards). Could I maybe
somehow convince 3c5x9cfg.exe to work with my 3c900 card?
Hints, anyone?
Thomas
--
=---------------------------------------------------------------------=
- Thomas Zajic aka ZlatkO ThE GoDFatheR, Vienna/Austria -
- Spam-proof e-mail: thomas(DOT)zajic(AT)teleweb(DOT)at -
=---------------------------------------------------------------------=
------------------------------
From: "Jan Johansson" <[EMAIL PROTECTED]>
Subject: Re: Help: Configuring DNS
Date: Tue, 13 Apr 1999 09:44:31 +0200
edit /etc/resolv.conf and make sure it points to a valid nameserver.
[EMAIL PROTECTED] wrote in message
<7eurpd$cg6$[EMAIL PROTECTED]>...
>Please help !!!
>I want to configure my own DNS (local) but nslookup always give a message:
>
>*** Can't find server name for address 128.1.12.128: Server failed
>*** Default servers are not available
>
>My Linux box ip address is 128.1.12.128
>
>
>TIA
>
>-----------== Posted via Deja News, The Discussion Network ==----------
>http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: [EMAIL PROTECTED] (Rainer Brosi)
Subject: Re: Realtel RTL 8029 Ethernet For Linux
Date: Sun, 18 Apr 1999 21:29:38 GMT
On Sun, 18 Apr 1999 23:47:19 +0200, [EMAIL PROTECTED] wrote:
Hello Yossi,
The Realtek 8029 chip is an NE2000 compatible chip.
I think your card is an PCI card, so you should take the NE2K-PCI
driver, if you dont have this driver availliable, you can use the
standard NE2000 driver, but you need to give the Adress and the IRQ
as commandline Parameter.
You can find them if you use the card under WIN95 in Device Manager
I don't use slackware, but i think they have a loadable module for
ne2kpci with their distribution.
Best Regards,
Rainer Brosi
EMail: [EMAIL PROTECTED]
Germany
>Hello,
>I've been trying to install this card on my Linux..
>I have Slackware 3.6, and I didn't find any good How-to file to help me
>install it in the system, I'd appericiate any help.
>Yours truly,
>Yossi.
>
------------------------------
** 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
******************************