Linux-Networking Digest #948, Volume #10 Fri, 23 Apr 99 11:13:39 EDT
Contents:
Re: Proxy recommendations & Squid configuration info wanted ("Jan Johansson")
Re: Networking Internet ("Andras Kende")
Kernel 2.2.6 netwoking bug? (Randy Sandberg)
Re: Playing BATTLE.NET and Age of Empires behind IP Masquerade (Volker Widor)
Re: Kernel 2.2.6 netwoking bug? (Paul Black)
Re: PPP Default Route Problem ("James Mandy")
Samba network getting Error 1311 ("donnell")
Re: Sendmail and Virtual domains (Afrasiab Ahmad)
linux as terminal server (Ray Patterson)
SIOCADDRT ("Jeffrey P. van Doorn")
Two network cards (Zoltan Pittner)
remote printer for other unix...lpd, host.lpd, etc (Luc Lalonde)
Re: firewall rules startup & DNS (Kevin Ferguson)
I have a router/hub HWO do I setup Linux for it?? (Robin Jackson)
Re: ftape-4.02 and Iomega Ditto Max ([EMAIL PROTECTED])
----------------------------------------------------------------------------
From: "Jan Johansson" <[EMAIL PROTECTED]>
Subject: Re: Proxy recommendations & Squid configuration info wanted
Date: Fri, 23 Apr 1999 09:14:02 +0200
read that again, i said it did FTP / HTTP, he wanted telnet etc etc etc.
------------------------------
From: "Andras Kende" <[EMAIL PROTECTED]>
Subject: Re: Networking Internet
Date: Fri, 23 Apr 1999 00:33:13 -0700
This way was worked fine for me....:)
windows:ip address 192.168.1.2
netmask 255.255.255.0
gateway: 192.168.1.1 (linux box ip address)
enable dns (linux box hostname + linux box domainname) ip 192.168.1.1
internet explorer + mail = access through LAN
linux box:
new kernel with masquearding + ip forwarding enabledip address 192.168.1.1
no default route
/etc/hosts.allow 192.168.1.2 ???
Check that ipmasquerading is running (cd to /proc/sys/net/ipv4/ ;
cat ip_forward should return a 1)
if not then enter: echo '1' > ip_forward and put this command in
/etc/rc.d/rc.local.
Set up the masquerading rules, e.g.:
ipfwadm -I -f
ipfwadm -O -f
ipfwadm -F -f
ipfwadm -F deny
ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0./0
To allow ftp, audio, video, chat through the firewall you have to
install the modules ip_masq_ftp.o, ip_masq_raudio.o, etc. that are in
/lib/modules/2.0.34-0.6/ipv4 (insmod ....).
checks:ifconfig
ping from the gateway to the Internet and from
the workstation to the gateway and the Internet
check routing table (netstat -rn or route -n)
to watch what is going on use tail -f /var/log/messages
v4cal wrote in message <7fnv4e$2g5$[EMAIL PROTECTED]>...
>I want have linux to dail up the internet and have my windows computer to
>browes the net when linux is conected to the net
>
>haw do i do this
>
>
------------------------------
From: Randy Sandberg <[EMAIL PROTECTED]>
Subject: Kernel 2.2.6 netwoking bug?
Date: Fri, 23 Apr 1999 00:50:13 -0700
Please also cc me at: <[EMAIL PROTECTED]>
Hello,
First, I must say... I'm a newbie. That said, now hopefully you won't
flame me too much. Okay, here is the question:
After building a new kernel last night (i.e., 2.2.6) on my RedHat 5.2
Pentium Pro 180MHz box, did a "route -n" and got the following results:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
sdn-ar-002casfr * 255.255.255.255 UH 0 0 0
ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0
eth0
192.168.1.0 * 255.255.255.0 U 0 0 0
eth0
127.0.0.0 * 255.0.0.0 U 0 0 0
lo
default sdn-ar-002casfr 0.0.0.0 UG 0 0 0
ppp0
Why 2 eth0 lines? I have updated all suggested apps as per RedHats site
(i.e., both the standard updated 5.2 apps as well as the special ones
for the 2.2.x kernel update).
HELP!!! I'm going nuts here trying to figure this out...
Being a newbie at this stuff really sucks sometimes...
But, of course, it's still a lot of fun ;-)
P.S. If I regress back to kernel 2.0.36-3 all is fine. The "bug?" only
seems to occur with kernel 2.2.6. Moreover, so far even though I've got
the double listed eth0 lines all is well (i.e., networking to local
network as well as through my ppp connection works like a charm).
--
Randy Sandberg [EMAIL PROTECTED]
I have a problem with a revolution in that if you have a
revolution, then afterwards you become the establishment.
We should not try to dominate. --Linus Torvalds
------------------------------
From: Volker Widor <[EMAIL PROTECTED]>
Subject: Re: Playing BATTLE.NET and Age of Empires behind IP Masquerade
Date: 23 Apr 1999 11:43:09 GMT
Nick Farley <[EMAIL PROTECTED]> wrote:
: Did you ever fingure it out? I have the same problem but with diablo.
: It seems like there is a solution at:
: http://users.nais.com/~nevo/masq/games.html the only problem is that I
: can't find the ipautofw program on my linux box. I'm running Mandrake
: Linux 5.3 (Red Hat 5.2). I've been trying to figure this out for about
: a month. Please help if you can.
: colin
if you have the 2.0.x-kernel you may install a proxy on your server
i used "socks5" and it worked well (serch on the net for it)
(you also have to set the proxy-server in win)
in the kernel 2.2.x the udp-forwarding works fine whisout an proxy
: Robert Hurst wrote:
:> I am successfully using IP Masquerading from Win'98 PC through my
:> Linux server... however, I cannot seem to use multi-player games such
:> as Diablo II on Battle.net or Microsoft Age of Empires. I heard of
:> similar problems like this that occur when programs use UDP on a
:> specific TCP port. Question: How would I configure such a policy to
:> allow UDP packets out a specific port #? Is there a way I can
:> "sniff-out" a program's use of a port #? Has anyone done this before
:> with the above-mentioned games? Help!!
volker
------------------------------
From: Paul Black <[EMAIL PROTECTED]>
Subject: Re: Kernel 2.2.6 netwoking bug?
Date: Fri, 23 Apr 1999 09:14:54 +0100
Randy Sandberg <[EMAIL PROTECTED]> wrote:
> First, I must say... I'm a newbie. That said, now hopefully you won't
> flame me too much. Okay, here is the question:
Honest questions are never silly.
>
> After building a new kernel last night (i.e., 2.2.6) on my RedHat 5.2
> Pentium Pro 180MHz box, did a "route -n" and got the following results:
>
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> sdn-ar-002casfr * 255.255.255.255 UH 0 0 0
> ppp0
> 192.168.1.0 * 255.255.255.0 U 0 0 0
> eth0
> 192.168.1.0 * 255.255.255.0 U 0 0 0
> eth0
> 127.0.0.0 * 255.0.0.0 U 0 0 0
> lo
> default sdn-ar-002casfr 0.0.0.0 UG 0 0 0
> ppp0
>
> Why 2 eth0 lines? I have updated all suggested apps as per RedHats site
> (i.e., both the standard updated 5.2 apps as well as the special ones
> for the 2.2.x kernel update).
I had the same. When if-up is run, ifconfig adds a route. The next couple
of lines on from ifconfig add a route. Therefore two routes. I took out the
extra lines and only one route was created. When I rebooted, I found that
there was no route for localhost! It didn't appear to prevent routeing to
localhost. I haven't bothered to change it back yet. I also haven't been
bothered to check if there is an ifconfig option to not add a route. It's
not really a problem even if it does look silly.
Paul
------------------------------
From: "James Mandy" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.admin,comp.os.linux.help,comp.os.linux.questions,comp.os.linux.setup
Subject: Re: PPP Default Route Problem
Date: Fri, 23 Apr 1999 16:21:38 +0800
"route del -net 0.0.0.0 netmask 0.0.0.0 dev eth0"
then
"route add -net 0.0.0.0 netmask 0.0.0.0 dev ppp0"
Remove the gateway and gateway device lines from /etc/sysconfig/network
Add to /etc/ppp/options "defaultroute"
Cheers, James.
> I can successfully log in to my ISP using RH5.2 minicom and can ping the
> server. When I run route -n, I see only 1 ppp0 connection I see 2 eth0
> lines). The PPP howto says I should see 2 ppp connections, and that my
> 'default route' is set incorrectly. The howto mentions a configuration
> file, but not 'which' file. I think I'm supposed to change a line in this
> file to 'add default net'. Does anyone know the name of this file.
>
> I read similar problem that said it was solved by adding 'route add
default
> ppp0' to their ppp-on file. Would this work for me?
>
> So close, yet so far. :-)
>
> --
>
> Bill Vandiver
> Business Management Systems
> 502-782-1690
> [EMAIL PROTECTED]
> --------------------------------------------------------------
> I hear the long lowly wail of a forlorn fish a'callin me Cap'n,
> I think it's Moby Bass.
> --------------------------------------------------------------
> Grab the harpoons and lower the long boats mateys, we're going
> after 'im.
> --------------------------------------------------------------
>
>
>
>
>
>
------------------------------
From: "donnell" <[EMAIL PROTECTED]>
Subject: Samba network getting Error 1311
Date: Fri, 23 Apr 1999 00:57:45 -0700
new to linux
I'm setting up a linux redhat 5.2 kernel 2.0.36 to win 98 network. I had the
network up and running with security = share, after I started reading "Linux
Network Toolkit" by Sery I tried setting up the network to security = user.
Now I can't access the shares on the windows box ( but I can access the
shares on the linux box from windows
from windows DOS prompt running net view \\windowsHostname I get:
C:\>net view \\192.168.1.1
Error 1311: There are currently no logon servers available to service the
logon request.
in linux running smbclient -L windowshostname I get:
smbclient -L windowshostname
Added interface ip=192.168.1.254 bcast=192.168.1.255 nmask=255.255.255.0
SMBnegprot failed. myname=LINU destname=CERI - ERRSRV - 1311
can anyone help me out on this one?
------------------------------
From: Afrasiab Ahmad <[EMAIL PROTECTED]>
Subject: Re: Sendmail and Virtual domains
Date: Fri, 23 Apr 1999 04:58:59 -0400
Wow, just the answer I was looking for! I was using linuxconf to do all
this for me, but it messed things up for us and caused the server to
crash, which included many clients web pages!
I have some questions down below, that I would appreciate if anyone could
kindly answer..I am a beginner in all this....
//> Can someone please tell me how to setup virtual domains on sendmail ?
//
//1- Add to your .mc file:
// FEATURE(virtusertable)
// FEATURE(use_cw_file)
//2- Rebuild the sendmail.cf file with m4.
// If you don't know .mc files:
//http://personal1.iddeo.es/ret005lc/diald-win-e.html#sendmail and look
//for the cf/README file of sendmail.
//
//3- Put the domain names into /etc/sendmail.cw , for instance:
// fcc.net
// rtfm.net
// and add MX records for these domains to your DNS server.
How are MX records added? Which files are edited on the main server? Isn't
/etc/hosts enough?
//4- Create a /etc/virtusertable file containing:
// [EMAIL PROTECTED] nathan1
// [EMAIL PROTECTED] nathan2
This is where I am confused...If I wanted fcc.net clients to get email
just at fcc.net, would it be necessary to write a virtusertable?
For example, if I wanted:
[EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED] [EMAIL PROTECTED]
(also, about 100 + users)....
should I still create the virtusertable?
So if I send mail to
[EMAIL PROTECTED] and nathan checked his POP account (say, with netscape), he
would get it with no problems, right?
Also, everytime I added a user, where would their mail directory be
located? Or do I have to create the user within my own server? I do not
understand how all this works....If each user could get a directory like:
/virtual_mail/company.com/home/user and so on....this would be much
better...
I run sendmail 8.8.7 with redhat linux 5.2 - kernel 2.2.6 ...
Thanks
Afra
------------------------------
From: Ray Patterson <[EMAIL PROTECTED]>
Subject: linux as terminal server
Date: Thu, 22 Apr 1999 10:46:56 -0600
I'm trying to replace a terminal server with a Linux box with a
multi-port card. What I'm trying to find, is how can you set it up so
that when they hit the return key on a particulat port they get a login
prompt on a specific server.
-Ray
--
Ray Patterson ... mailto:[EMAIL PROTECTED]
http://w3.trib.com/~ray
------------------------------
From: "Jeffrey P. van Doorn" <[EMAIL PROTECTED]>
Subject: SIOCADDRT
Date: Fri, 23 Apr 1999 11:19:38 +0200
hi everybody,
I've got this problem:
"When i boot up my linux and the system almost goes trough the network card
he gives the next sentence : SIOCADDRT : Invalid argument.
After that he recognizes the networkcardand the next sentence is the same
problem.
Does anyone know what this can be.
I have to ad mit that i'm a kind of a newbie in linux.
Could that be the problem. :-)
Thanks for your thinking
greetz
JeFF
Yeah, I do like RedHat LINUX 5.2 so far ! ! !
------------------------------
From: Zoltan Pittner <[EMAIL PROTECTED]>
Subject: Two network cards
Date: Fri, 23 Apr 1999 09:41:50 -0400
I successfully (is this the right spelling??) installed two network
cards in my Redhat 5.2 Linux system. Everything works fine, if the two
network cards ar on a different subnet. Now here is my question:
If I want to put both of the network cards on the same network, in order
to increase the server's throughput toward the network, what do I need
to do?
I tried tho give them different static IP addresses on the same subnet,
but only one of them was able to work. I realized why, Just I do not
know how to make them work. So the reason why this is happening resides
in the routing. In the above configuration (if the subnet is
200.200.200.0 and the ip's are 200.200.200.1 and 2 with the same netmask
255.255.255.0) the routin table shows the following:
200.200.200.0 * 255.255.255.0 U eth1
200.200.200.0 * 255.255.255.0 U eth0
127.0.0.0 * 255.255.255.255 lp
in this case the eth0 will never work. If I change the order of routing
by adding a line:
route add -net 200.200.200.0 netmask 255.255.255.0 eth0
then the order will change and the eth0 will work, but the eth1 no. So
what is the solution to get both of them work?
Thanks, Zoltan Pittner
------------------------------
From: Luc Lalonde <[EMAIL PROTECTED]>
Subject: remote printer for other unix...lpd, host.lpd, etc
Date: Fri, 23 Apr 1999 12:42:22 +0000
Hello,
I'm trying to setup a Linux box as a remote printer server for other
UNIX boxes such as Solaris. I can print to the linux box from the
remote hosts if the user exists on both the local machine and the remote
machine. However, I'd like to be able to print to the Linux box without
having to add users to the Linux box.
I've added all the machines that will access the printer into the
/etc/hosts.lpd file and here is a copy of the pertinent entry in my
/etc/printcap file:
hplaser:\
:sd=/var/spool/lpd/lp:\
:mx#0:\
:sh:\
:lp=/dev/lp0:\
:rs=false:\
:sc:\
:if=/var/spool/lpd/lp/filter:
Thanks for any help you might be able to offer!
Cheers, Luc.
P.S. Please also reply to the following address:
[EMAIL PROTECTED]
------------------------------
Date: Fri, 23 Apr 1999 08:52:59 -0500
From: Kevin Ferguson <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: firewall rules startup & DNS
"David K. Means" wrote:
>
> Kevin Ferguson <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Hi all,
> >
> > I have been experiencing some weird behavior with my Linux
> > firewall that I am hoping someone can explain.
> >
> > The particulars:
> > Slackware 3.6 w/ 2.0.36 kernel
> > MediaOne Express cable modem access
> > dhcpcd 0.70
> > Bob Ziegler's script ifdhcpc-done (script parameter to dhcpcd)
> > http://rlz.ne.mediaone.net/ftp/firewall/ifdhcpc-done
> > Bob Ziegler's ipfwadm firewall ruleset (modified)
> > http://rlz.ne.mediaone.net/ftp/firewall/rc.firewall.ipfwadm
> > No local DNS - ISP DNS server IP's returned by dhcpcd
> >
> > dhcpcd retrieves the dynamic IP in fine fashion. The ifdhcpc-done
> > script rewrites /etc/resolv.conf based on /etc/dhcp/resolv.conf
> > I am at a loss to explain this variant behavior. Can anyone?
>
> Is it possible that DNS isn't actually up and running by the time
> that your ipfwadm rule script is executed? A little experimentation
> (inserting sleep 5 just after starting up named, and before allowing
> the firewall script to run) might shed some light on this.
I am not running named. The ISP's DNS servers are listed in my
/etc/resolv.conf. See above.
Thanks anyway.
Kevin
------------------------------
From: [EMAIL PROTECTED] (Robin Jackson)
Subject: I have a router/hub HWO do I setup Linux for it??
Date: Fri, 23 Apr 1999 15:44:06 +0100
Hi
I have a Router/hub.
My PC's and Macs know how to use this by putting a gateway address in the
TCP/IP config panels.
BUT I don't seem to be able to make Linux understand that I want it to use
it?
Any ideas.
Its address is 192.168.1.1 and it does IP masqerading to the internet for
me (can also act as a DHCP server but I am not using that at present).
All help appreciated.
Robin
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: ftape-4.02 and Iomega Ditto Max
Date: Fri, 23 Apr 1999 14:42:00 GMT
I had meant to post this is comp.os.linux.misc.. my apologies. However, if
someone knows the answer, don't be shy! :-)
In article <7fobf7$fa5$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> I am trying to get a Ditto Max to work under Linux. The tape drive is
> connected to the iomega 4Mb/S PNP tape controller (PnP device). For some
> reason I cannot get ftape to work with the device. Here is how I setup my
> isapnp to support the tape controller:
>
> /etc/isapnp.conf:
>
> (CONFIGURE IOM0040/-1 (LD 0
> (IO 0 (BASE 0x0210))
> (INT 0 (IRQ 6 (MODE +E)))
> (DMA 0 (CHANNEL 0))
> (ACT Y)
> ))
>
> I am unsure how to edit ftape-4.02/MCONFIG under the tape hardware section.
> It does not mention the tape controller that comes with the Ditto Max. I
> tried both setting FDC_DEV=1 and then I tried 82078_DEV=1, making sure the
> addresses/irq's matched. Here is my output upon running ./modules/. insert:
>
> Initialization of ftape-internal failed
> Can't locate module parport
> Initialization of trakker failed
> Initialization of bpck-fdc failed
>
> and here is the output of lsmod after I run the script:
> [root@backup modules]# lsmod
> Module: #pages: Used by:
> zft-compressor 4 0
> zftape 20 [zft-compressor] 0
> ftape 34 [zft-compressor zftape] 0
> nkfs 3 2
>
> If I run listtape:
>
> [root@backup ftape-4.02]# /usr/local/bin/listtape
> ftmt: /dev/ntape: No such file or directory
> No cartridge present.
>
> What the heck should I do? I am totally confused. ftape obviously supports
> the hardware (it even came with a sample isapnp.conf for the 4mb controller
> card), but I can't figure out how to configure it via MCONFIG. Perhaps I am
> missing something entirely? Any help would be greatly apprecitated.
>
> ---
> Dustin Puryear
> [EMAIL PROTECTED]
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
>
--
---
Dustin Puryear
[EMAIL PROTECTED]
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
** 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
******************************