Linux-Networking Digest #544, Volume #12 Fri, 10 Sep 99 20:13:39 EDT
Contents:
Re: NFS wrong fs type, bad option, bad superblock, etc ([EMAIL PROTECTED])
Re: Redirection Of Port to Internal Network ("Cowles, Steve")
NIS error message (Humphrey Zhang)
Re: Finding ppp0 IP (dynamic) in a C program (Leejay Wu)
Re: how to get all linked pages ? (Duncan Simpson)
Re: netstat question???? (Clifford Kite)
Re: PPPd and weird /var/log/messages (Bill Unruh)
Re: Tulip cards in production? (John Soltow)
ipchains & smb (mindas)
Routing between local subnets ([EMAIL PROTECTED])
Re: Can no one help me with interrupt problems? (J Muller)
ftpaccess file ? Cant find it! (Steve)
Re: Tulip cards in production? ("Adam Bartels")
Linux redir for port forwarding on redhat 6 ([EMAIL PROTECTED])
Linux redir for port forwarding on redhat 6 ([EMAIL PROTECTED])
Two NICs on one network, separating outgoing packets (Vince Busam)
Need some basic networking advise (Warren Bell)
Re: HELP! How to login and activate DSL???? (Hal Burgiss)
Re: Exchange for linux (Greg Leblanc)
Re: ipchains & smb (Thomas Chow)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Subject: Re: NFS wrong fs type, bad option, bad superblock, etc
Date: Fri, 10 Sep 1999 16:11:50 GMT
In article <7rbaeq$bc5$[EMAIL PROTECTED]>,
"John Eberhardt" <[EMAIL PROTECTED]> wrote:
> When I try to mount a TCPware VMS NFS export, I get this message:
> "mount: wrong fs type, bad option, bad superblock on
> server.domain.com:/mnt/mountpoint,
> or too many mounted file systems . "
> I have an NT box running Intergraph NFS that can successfully mount
this
> export.
> I can also mount the NT NFS export with the Caldera
> 2.2 Linux box using the same mount command syntax.
> Anyone get this message and get it to work?
>
> Thanks,
>
> John Eberhardt
> [EMAIL PROTECTED]
>
>
Don't know if this helps, but I had a similar problem mounting linux
exports on an SGI O2 (IRIX) about a year back. The problem turned out be
a misreported version mismatch, so you might want to try including
nfsversion or nfsver or vers or whatever the version option is called
nowadays = 2in your fstab.
Cheers
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: "Cowles, Steve" <[EMAIL PROTECTED]>
Subject: Re: Redirection Of Port to Internal Network
Date: Thu, 9 Sep 1999 20:12:27 -0500
The "stock" redhat supplied kernel already has ip_masq_portfw.o. I did not
have to recompile the kernel to get this feature working. You should look
for this module in directory /lib/modules/<kernel-rev>/ipv4. If you have
recompiled the kernel, then make sure you enable the following options...
(check /usr/src/linux/.config)
#
# Protocol-specific masquerading support will be built as modules.
#
CONFIG_IP_MASQUERADE_MOD=y
CONFIG_IP_MASQUERADE_IPAUTOFW=m
CONFIG_IP_MASQUERADE_IPPORTFW=m
CONFIG_IP_MASQUERADE_MFW=m
Then when you compile/install the modules, you should then see
ip_masq_portfw.o This module "must" be loaded prior to issueing any
ipmasqadm command. If your still having problems getting ipmasqadm working
and are anxious to get port forwarding working, consider downloading
"rinetd". It is alot easier to configure than ipmasqadm. The only difference
is it runs as a separate "deamon" on the process stack. Very small memory
utilization.
As for your other question regarding "restricting" port forwarding to a
source address or network address (like from a specific internet address),
you should take a look at the module documentation on ip_masq_mfw. Since I
travel and use ISP's all over the country, I elected NOT to use this method
of prot forwarding.
An example from the man pages on ipmasqadm using mfw instead of portfw...
note using the "mark" tag using ipchains.
Redirect all traffic from external clientA to internal
hostB, also show forward masq rule to allow this for hostB
only.
ipchains -I forward -d clientA/32 -s hostB/32
ipchains -I input -s clientA/32 -m 3
ipmasqadm mfw -I -m 3 -r hostB
Steve Cowles
SWCowles at gte dot net
<[EMAIL PROTECTED]> wrote in message news:7r8i1q$fnc$[EMAIL PROTECTED]...
> Thanks that clears some things up. So all redirection is based on
> external IP to internal machine? Doing it this way will all everyone
> to be redirected? Can I restrict it to a single Internet IP? Would
> that be accomplished via an IPChains Rule?
>
> Also, The /usr/sbin/modprobe ip_masq_portfw gives me :
> Can't Locate module ip_masq_portfw. I thought I had the kernel
> configured already according to the Readme.
>
> Thanks,
> Shawn
>
> In article <[EMAIL PROTECTED]>,
> "Cowles, Steve" <[EMAIL PROTECTED]> wrote:
> > EXT_IP is the "external" IP address of my Linux box. EXCH_IP is the
> Exchange
> > servers "internal" IP address.
> >
> > Steve Cowles
> > SWCowles at gte dot net
> >
> > <[EMAIL PROTECTED]> wrote in message
> news:7r5lev$b9l$[EMAIL PROTECTED]...
> > > Thanks for the info,
> > > I finally figured out I needed to get Ipmasqadm installed and
> finally
> > > found it and installed it.
> > > The $EXT_IP is the IP of the outside NIC on the firewall correct?
> Or is
> > > this a remote internet site?
> >
> >
>
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
------------------------------
From: Humphrey Zhang <[EMAIL PROTECTED]>
Subject: NIS error message
Date: Fri, 10 Sep 1999 13:58:17 -0400
This Mandrake 6.0 (kernel 2.2.10) has been set up as a NIS client. As
far as I can see,
it is working, except that each time the system shutdown, I have the
following message:
ypbind forgot to set AF_INET to sendmsg, fix it!
How can I fix it?
Jun
------------------------------
From: Leejay Wu <[EMAIL PROTECTED]>
Subject: Re: Finding ppp0 IP (dynamic) in a C program
Date: Fri, 10 Sep 1999 17:22:55 -0400
Excerpts from netnews.comp.os.linux.setup: 10-Sep-99 Re: Finding ppp0 IP
(dynami.. by Robie [EMAIL PROTECTED]
> On Wed, 8 Sep 1999 20:19:51 +0100, Colin Guthrie wrote:
[snip]
> >I want to write a program that can get the IP address of the device ppp0.
> >
> >This is only valid when I am online, but I want to use the value
> >in a program I am writing. I can write a shell script to get it,
> >but I can't work out how to find it programatically in C.
> >
> >Any help would be great.
Hmmmmm. Considering that ifconfig must be able to do this (since it
shows IP addresses on a per-interface basis), have you considered
getting the ifconfig source code (most likely in a 'netkit' package?)
and examining that?
Not sure how portable it is, 'tho, not having looked m'self.
--
| [EMAIL PROTECTED] | the silly student |
|--------------------------| he writes really bad haiku |
| #include <stddiscl.h> | readers all go mad |
------------------------------
Subject: Re: how to get all linked pages ?
From: [EMAIL PROTECTED] (Duncan Simpson)
Date: 10 Sep 1999 23:45:59 GMT
In <[EMAIL PROTECTED]> Mark Carey <[EMAIL PROTECTED]> writes:
>Bert Douglas wrote:
<stuff snipped>
>> I want to make some kind of fairly simple script that will get all the linked pages
>of a given URL.
>>
<stuff snipped>5
>When getting into Linux I wrote a small program in Visual Basic to do this.
wget will do this with the required few million options, support for
the robot exclusion stuff, only getting stuff that has changed since
you last downloaded it and a vast amount else besides. There are
several perl scripts that do www mirrroing too (the better ones also
have not getting things you have already that satyed the same).
--
Duncan (-:
"software industry, the: unique industry where selling substandard goods is
legal and you can charge extra for fixing the problems."
------------------------------
From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: netstat question????
Date: 10 Sep 1999 16:31:31 -0500
Bernd Eckenfels ([EMAIL PROTECTED]) wrote:
> Clifford Kite <kite@nospam.%inetport.com> wrote:
> > It's the default and is probably defined somewhere, maybe in
> > /etc/networks, drop the -n from the netstat command and see.
> actually it is hardcoded in the net-tools ... i always wondered if i shoudl
> change it... but it is not a real problem since 0.0.0.0/0 or 0.0.0.0:0.0.0.0
> is the corrent net/netmask for any address.
It fooled me, I though the "default" came from the default entry in my
/etc/network. But I can't see any good reason to change either.
--
Clifford Kite <kite@inet%port.com> Not a guru. (tm)
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: PPPd and weird /var/log/messages
Date: 10 Sep 1999 22:28:11 GMT
In <[EMAIL PROTECTED]> Habibi4me <[EMAIL PROTECTED]> writes:
> 26386), st
> Sep 10 09:05:46 toba pppd[26382]: sent [LCP EchoReq id=0x1
> magic=0xc734d022]
> Sep 10 09:05:46 toba pppd[26382]: rcvd [LCP EchoRep id=0x1
>magic=0x0]
> Sep 10 09:06:16 toba pppd[26382]: sent [LCP EchoReq id=0x2
> magic=0xc734d022]
> Sep 10 09:06:16 toba pppd[26382]: rcvd [LCP EchoRep id=0x2 magic=0x0]
> Sep 10 09:06:46 toba pppd[26382]: sent [LCP EchoReq id=0x3
> magic=0xc734d022]
> Sep 10 09:06:46 toba pppd[26382]: rcvd [LCP EchoRep id=0x3
>magic=0x0]
Actually I do not understand why your system is sending the EchoReq.? Is
there some option to pppd which requests this?
Do you have the lcp-echo-interval option defined in /etc/ppp/options?
You do not say how you connect. If you have it, why do you have it?
This is for keeping track as to whether or not the other end is still
alive, so you can shut down your end if they go away. It does not seem
to be very useful on a telephone connection since the phone line will
usually drop when the far side drops the connection.
I saw this when I connected to freeserve in the UK as they kept sending
EchoReq to me, polluting my log file. I could never figure out why, but
I guess they had their reasons (or like you simply had it for some
unknown reason).
------------------------------
From: John Soltow <[EMAIL PROTECTED]>
Subject: Re: Tulip cards in production?
Date: Fri, 10 Sep 1999 18:31:16 -0400
Tad wrote:
> Adam Bartels wrote in message <[EMAIL PROTECTED]>...
> >The tulip chip is a DEC product. I have had excellent results with Netgear
> >FA310TX 10/100 cards. They are cheap too, 25 - 30 USD retail.
>
> Didn't they stop using the Tulip chip on these?
I bought three a month ago and they had it.
------------------------------
Date: Sat, 11 Sep 1999 00:04:38 +0000
From: mindas <[EMAIL PROTECTED]>
Subject: ipchains & smb
Hi, all
Situation is as follows:
W95 <-> eth1/linux box/eth0 <-> smb network <-> gateway to internet
eth1 address: 10.0.100.1
eth0 address: 10.0.0.203
gateway is 10.0.0.1.
Problem: W95 computer cannot access smb network. Internet (on W95
computer) works o.k., ping/tracert/etc goes through, but smb packeds
does not reach W95 box. I've made my linux box as WINS server, and W95
is now able to see smb names (but not shares). When I try to access smb
share from W95 computer, error such as '\\computer_xxx is not accessible
<..>" occurs. Maybe my ipchains are incorrect? They look like so:
echo "1" >/proc/sys/net/ipv4/ip_forward
/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -j MASQ -p TCP -s 10.0.100.0/8 -d 0.0.0.0/0 -i
eth0
/sbin/ipchains -A forward -j MASQ -p UDP -s 10.0.100.0/8 -d 0.0.0.0/0 -i
eth0
echo "masquearding started"
Thank You for Your help (please, replay to my personal email also)
m.
------------------------------
From: [EMAIL PROTECTED]
Subject: Routing between local subnets
Date: Fri, 10 Sep 1999 22:50:03 GMT
I'm looking for a basic subnet routing setup for all items on the same
node. I have two subnets, 172.30.0.0 and 172.27.0.0. I want to use my
linux box to route between the two local subnets. I have configured
eth0 as 172.30.91.62 and eth0:0 as 172.27.222.222. I have added routes
to both networks. When I attempt to telnet to 172.27.14.1 from
172.30.91.63, I get the telnet login prompt for my linux box -
172.30.91.62 (no forwarding) what am I doing wrong? Do I need to setup
rules in ipchains? I am using RH 6.0 with the default Kernel config. I
haven't done any kernel updates. Any help would be appreciated. Thanks!
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: J Muller <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Can no one help me with interrupt problems?
Date: Fri, 10 Sep 1999 12:28:46 -0500
Robin Jackson wrote:
> I have posted this problem before.
>
> My Adaptec 1640 PC card SCSI controller and PC Card Ethernet controller are
> sharing the same interrupt.
>
> NOTHING I have tried will make them use different interrupts.
>
> I am sure I must be overlooking something.
>
> Regards
>
> Robin
I had a similar problem with a 3com 3c509 Ethernet card and an adaptec
SCSI card. I downloaded a program to change the interrupt from 3com's web
site. There may be a similar program for your network card or the adaptec
card.
good luck
Justin
------------------------------
From: Steve <[EMAIL PROTECTED]>
Subject: ftpaccess file ? Cant find it!
Date: Fri, 10 Sep 1999 22:41:27 GMT
Been mucking about experimenting with various aspects of Mandrake Linux
6.0. I got most all the things I want running except I can't FTP IN to
my system. I got telnet to work and even SWAT to work as a mini http
server.
I can't find the file refered to as ftpaccess anywhere on the disk.
What RPM package provides this file? The ftpd daemon is there and
functioning - it just won't allow any access. I can't even find where
to look in the documents.
Any pointers you can give will be apprecieted.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: "Adam Bartels" <[EMAIL PROTECTED]>
Subject: Re: Tulip cards in production?
Date: Fri, 10 Sep 1999 11:08:45 -0700
The tulip chip is a DEC product. I have had excellent results with Netgear
FA310TX 10/100 cards. They are cheap too, 25 - 30 USD retail.
-----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
http://www.newsfeeds.com The Largest Usenet Servers in the World!
======== Over 73,000 Newsgroups = Including Dedicated Binaries Servers =======
------------------------------
From: [EMAIL PROTECTED]
Subject: Linux redir for port forwarding on redhat 6
Date: Fri, 10 Sep 1999 18:49:59 GMT
Hi.
we're using redir and ipchains for our firewalls.
we're starting to have a problem where the redir
agents will expire after an unknown time.
we've put a while true ; do redir <blah> done so
that it respawns after expiration, but we end up
with: server: bind: Address already in use --
this sucks.
when we do a netstat, we end up with what looks
like the socket still being open, even though
redir is not in the process list.
We're using redir because we can't figure out how
else, when the traffic is redirected, it's source
appears to be the firewall which said traffic
passed through -- this is important because we
have two firewalls.
anyway, any help is wonderfull.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: [EMAIL PROTECTED]
Subject: Linux redir for port forwarding on redhat 6
Date: Fri, 10 Sep 1999 18:50:01 GMT
Hi.
we're using redir and ipchains for our firewalls.
we're starting to have a problem where the redir
agents will expire after an unknown time.
we've put a while true ; do redir <blah> done so
that it respawns after expiration, but we end up
with: server: bind: Address already in use --
this sucks.
when we do a netstat, we end up with what looks
like the socket still being open, even though
redir is not in the process list.
We're using redir because we can't figure out how
else, when the traffic is redirected, it's source
appears to be the firewall which said traffic
passed through -- this is important because we
have two firewalls.
anyway, any help is wonderfull.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: [EMAIL PROTECTED] (Vince Busam)
Subject: Two NICs on one network, separating outgoing packets
Date: 10 Sep 1999 23:25:28 GMT
I've got a computer set up with two NICs running on one network. With this
setup, all outgoing packets go through the first NIC (or whichever appears
first in the routing tables). Does anybody know a way to specify that reply
packets should be sent out on the NIC that the orginal packet came in on?
Thanks,
Vince
--
===================================
Vince Busam
[EMAIL PROTECTED]
http://www.cs.ucla.edu/~vince/
------------------------------
Date: Fri, 10 Sep 1999 19:04:37 +0000
From: Warren Bell <[EMAIL PROTECTED]>
Subject: Need some basic networking advise
I want to connect two linux boxes, network them together. What I want
to do is have machine1 connected to the net 24/7 with a modem. Then
machine2, with no modem, connected through machine1 to access the net.
Machine1 will be running a web server also.
I asked part of this question before and someone suggested IP
masquerading. Are there any step-by-step instructions on how to set
this up?
Also, I need to know what hardware. This will be a home network so I
don't need anything too fancy or expensive. Just somthing that will
work reliably. I don't know anything about networking and have heard of
10baseT, ethernet. What should I get. And do I need to set up any
special service on the machines to be started up at boot time?
I'm using Mandrake 6.0 on both machines.
Any help is appreciated,
Warren Bell
------------------------------
From: [EMAIL PROTECTED] (Hal Burgiss)
Crossposted-To: comp.os.linux.setup,comp.os.linux.misc
Subject: Re: HELP! How to login and activate DSL????
Reply-To: [EMAIL PROTECTED]
Date: 10 Sep 1999 19:22:54 -0500
On 10 Sep 1999 09:41:12 GMT, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>Hello,
> I've got DSL through US West, both the line and as my internet provider.
>Because my area is new to DSL, I was only able to sign up for something
>called the "select" program, meaning that I have to use Cisco Commander to
>login to my provider, which then gives me net access for 2 hours. After 2
>hours expire, I must reconnect if I wish to get back on the internet.
>Everything works well under Windows. Now I'd like to use Linux.
>Unfortunately there isn't a Linux version of Cisco Commander...
> Does anyone know of a way that I can login to US West under Linux? If I
>login via Windows and reboot to Linux, everything works fine for 2 hours,
>then I must reboot to windows, login again, then go back to linux. This is
>tedious and not a desirable solution because of the 2hr DSL time limit until
>I must login again.
> Inside my machine is a 3com 3C905 ethernet card. This plugs into my
>external Cisco 675 router.
>
>Any suggestions would be greatly appreciated.
>
I don't know about USWest, but I do this with BellSouth. Do you know the
protocol they use to assign IPs? Good chance its DHCP. Is there a static
IP instead? Which distro?
DHCP is pretty easy to setup. On RH6, all I had to do was start
'netcfg', select interface 'eth0', select protocol 'dhcp', and 'start on
boot', then hit 'activate' button. DHCP does all the negotiation based
on the MAC address of the NIC which they already have. If you use RH6,
get the 'pump' update first.
--
Hal B
[EMAIL PROTECTED]
--
Linux helps those who help themselves
------------------------------
From: Greg Leblanc <[EMAIL PROTECTED]>
Subject: Re: Exchange for linux
Date: Fri, 10 Sep 1999 23:00:45 GMT
What he probably means is an integrated groupware solution for linux.
As in something that can do scheduling (callendar), email, address book
(server side, like LDAP), and server side filtering. I'm sure I'm
missing a slew of features, but I can't think too well right now.
Greg
In article <[EMAIL PROTECTED]>,
Chris Mahmood <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] (Chris Anderson) writes:
>
> > Does anyone know of an exchange server that runs under linux..
> Do you mean sendmail, or qmail, or smail?
> -ckm
>
--
It's pronounced "sexy" not "scuzzy"!
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: Thomas Chow <[EMAIL PROTECTED]>
Subject: Re: ipchains & smb
Date: Sat, 11 Sep 1999 07:36:50 +0800
Reply-To: [EMAIL PROTECTED]
do you change window95 regedit?? samba only accept plan txt password. you
can find out in the win95cd resouce kit or follow my instruction:
use windows95 run regedit
select HKEY_LOCAL_MACHINE
system
currentcontrolset
services
vxd
vnetsup
add dword-- EnablePlainTextPassword to 1(Hex)
=================================
mindas wrote:
> Hi, all
> Situation is as follows:
> W95 <-> eth1/linux box/eth0 <-> smb network <-> gateway to internet
> eth1 address: 10.0.100.1
> eth0 address: 10.0.0.203
> gateway is 10.0.0.1.
>
> Problem: W95 computer cannot access smb network. Internet (on W95
> computer) works o.k., ping/tracert/etc goes through, but smb packeds
> does not reach W95 box. I've made my linux box as WINS server, and W95
> is now able to see smb names (but not shares). When I try to access smb
> share from W95 computer, error such as '\\computer_xxx is not accessible
> <..>" occurs. Maybe my ipchains are incorrect? They look like so:
>
> echo "1" >/proc/sys/net/ipv4/ip_forward
> /sbin/ipchains -P forward DENY
> /sbin/ipchains -A forward -j MASQ -p TCP -s 10.0.100.0/8 -d 0.0.0.0/0 -i
> eth0
> /sbin/ipchains -A forward -j MASQ -p UDP -s 10.0.100.0/8 -d 0.0.0.0/0 -i
> eth0
> echo "masquearding started"
>
> Thank You for Your help (please, replay to my personal email also)
>
> m.
------------------------------
** 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
******************************