Linux-Networking Digest #392, Volume #11 Thu, 3 Jun 99 18:13:43 EDT
Contents:
Re: Networking the Internet (Brian Rectanus)
Re: Before I screw up the internet.... (Christopher R. Barry)
Re: Desktop (Brian Rectanus)
Re: Help with Masquerading. (James Peterson)
basic network question (Fabian =?iso-8859-1?Q?M=FCller?=)
Forwarding of broadcasts possible? (Levent G�ndogdu)
Re: New User: Need direction in tcpip programming in C ("Tom Emerson")
Recieving too many packets (Phil Cowans)
Linux as IPX Router ("Matt Graham")
Re: linux pppd version 2.2pl0 and chap md5 ? (James Carlson)
Linux 2.2.x ppp / BSD-compress broken? (Paul D. Smith)
ncpmount in rc.local not working ([EMAIL PROTECTED])
Re: Mars_Nwe & real netware servers (Alexei Kakhno)
Re: sendmail (James Youngman)
Sendmail and header rewriting [EMAIL PROTECTED] to [EMAIL PROTECTED] (Herman
Willekens)
Re: Best Free X Windows Server for Win95/98 Box on Samba/Linux Network? ("Laurent
Aries-Poinssot")
DHCP client problem with 2.2.x ([EMAIL PROTECTED])
----------------------------------------------------------------------------
From: Brian Rectanus <[EMAIL PROTECTED]>
Subject: Re: Networking the Internet
Date: Thu, 03 Jun 1999 16:08:56 -0400
Basically, you want a linux machine with IP Masquerading. This must be
compiled into the kernel (or a module). Then, you want to set up a
dial-on-demand system on the linux box (for this I use diald). I would
also reccommend that the linux box run a caching name server (DNS) and
samba as a WINS server. There is plenty of info around on this (even a
few HOW-TOs). Just do a net search for 'IP Masq' and 'diald' and
'samba'. Most distributions make this setup fairly easy, so look at the
docs for your dist as well.
For the windows boxes, just point them at the Linux box for the gateway
and DNS (if you have one on the Linux box) and WINS.
v4cal wrote:
>
> I want to know haw to have my linux system to be the internet server on my
> local network
>
> i would like a step by step help on haw to get all my window systems to get
> on the net threw linux
>
> i would also like to know haw to do it also threw a dail up connection if
> that can be done
>
> norbert
------------------------------
Subject: Re: Before I screw up the internet....
From: [EMAIL PROTECTED] (Christopher R. Barry)
Date: Thu, 03 Jun 1999 20:46:30 GMT
"George Georgakis" <linuxstart.com@geegee> writes:
> OK, you've got the wrong idea :)
>
> Most likely people didn't respond to your query because it has been
> answered thousands of times in the past. Doing some simple reading would
> have got you the answer anyway.
Before I posted here, I fetched 4000 articles for this site off of my
news server. There was no FAQ among them. There was no answer to my
question among them. I can't find anything in dejanews about this. If
it's been answered thousands of times in the past, please give me one
article ID that points to the answer. As for "simple reading"; what
documents do you recommend? Everything I've seen says something like
This document is for you if:
1. You are connecting your machine to an existing IP network.
2. You are creating a stand-alone network, never to be connected to
the internet.
This isn't my situation (which I think is a common one; this shouldn't
be so difficult).
> Simply put: Your ppp0 link uses a different network address to your eth0
> interface. It's your eth0 which has the 192.168.0.1 address. When you
> connect to your ISP, they "force" a specific internet-useable address to
> your machine at the end of the _ppp0_ link.
>
> Check it out - when you're connected to your ISP, type "ifconfig" to see
> your interface configurations. Then try ifconfig again with ppp not
> connected.
They both look exactly the same, except when I'm connected the ppp0
device is listed, and when I'm not only the lo and eth0 devices are
listed. Now what is wrong with this? I can ping the 192.168.0.2
machine from my Linux box (192.168.0.1), and use the internet from my
Linux box at the same time.
My /etc/init.d/network looks like
#! /bin/sh
ifconfig lo 127.0.0.1
route add -net 127.0.0.0
ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up
route add -net 192.168.0.0 netmask 255.255.255.0 eth0
route add default gw dev ppp0
As far as I can tell from reading the NET-3 HOWTO and Linux Network
Administrator's Guide, I've done everything right.
Christopher
------------------------------
From: Brian Rectanus <[EMAIL PROTECTED]>
Subject: Re: Desktop
Date: Thu, 03 Jun 1999 16:10:58 -0400
Well, I think you want to have your /home filesystem the same accross
all machines. You can do this via NFS.
-Brian
v4cal wrote:
>
> i want to know if there is a way that i can have my desktop on windows
> follow me using linux
>
> like if i log on to a system on my network i get my desktop and if i go to a
> differnt system on my net work it will show up when i log on
------------------------------
From: James Peterson <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux,comp.os.linux.admin,comp.os.linux.help,comp.os.linux.misc,comp.os.linux.questions
Subject: Re: Help with Masquerading.
Date: Mon, 31 May 1999 15:56:39 -0500
or you could have just loaded them in your rc.local if you are running
slackware or rehat... and if you have them compiled n you kernal with
debian they will load automatically.
--
************************************
James Peterson
Network Administerator
Roman Meal Milling Company, Inc.
[EMAIL PROTECTED]
************************************
------------------------------
From: Fabian =?iso-8859-1?Q?M=FCller?= <[EMAIL PROTECTED]>
Subject: basic network question
Date: Thu, 03 Jun 1999 22:49:22 +0200
Hi!
I am not able to ping another host in the same house with my computer.
My IP address: 192.168.10.51
Netmask 255.255.255.0
The other IP address: 192.168.10.52 Netmask
255.255.255.0
If I try to set the route on my Computer as follows:
route add 192.168.10.52 netmask 255.255.255.0 eth0
I get the message: route: netmask 000000ff does not make sense with
host route
I do not understand this although I have read a lot!
I have also tried to set the route like this:
route add -net 192.168.10.0 netmask 255.255.255.0 eth0
The Computer accepts this
But if I try to ping the other host with: ping 192.168.10.52
I have 100% packet loss
With telnet 192.168.10.52: no route to host
How do I have to set the route in the right way?
The two hosts have an entry in /etc/hosts
ping localhost works correct (on both machines)
ping 192.168.10.51 works correct (on both machines > shows that the
network card and the cable is properly installed?)
ping 192.168.10.52 does not work
I have tried everything on both machines and I have controlled the
connections and the cables.
Sorry that I have such an easy question for you but I cannot find the
solution. Please help me.
Thanx: Fabian
------------------------------
From: Levent G�ndogdu <[EMAIL PROTECTED]>
Subject: Forwarding of broadcasts possible?
Date: 3 Jun 1999 09:31:12 GMT
Dear community.
I have set up a linux box to connect two intranet subnets with
the ip ranges 192.168.0.* and 192.168.1.*, each with a netmask of
255.255.255.0. The routing between those subnets works fine.
I am running services on the computers on the subnets that try to find
other services via issuing a broadcast on a specific udp port. Everything
works fine within a subnet but the broadcast is never seen on the other
subnet. Is there a possibility to forward broadcasts on a specific port
to the other subnet?
I know that routing broadcasts could be dangerous to network performance
in general, but in this specific case it would be very useful.
Thank you for any hint.
Bye,
Levent.
================== Posted via SearchLinux ==================
http://www.searchlinux.com
------------------------------
From: "Tom Emerson" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,linux.dev.c-programming
Subject: Re: New User: Need direction in tcpip programming in C
Date: Thu, 3 Jun 1999 13:59:05 -0700
barrem wrote in message <7j613i$13c$[EMAIL PROTECTED]>...
>I am a new Linux programmer (after years away from any programming) and
need
>some pointers on writing C programs that open TCPIP sockets... (i.e.
>programs that can make a call to a CGI script on another server). Can
>anyone point me to web page info or a good book? I've checked out the
Linux
>Programmers Guide, but it only lists this as "not included here."
"Beginning Linux Programming" [Wrox press] has a reasonably good chapter on
socket programming. It could be better, but it sufficed enough for me to
create something "that works" on our system(s) around here.
>
>Many thanks..
>Mike Barre
>
>
------------------------------
From: [EMAIL PROTECTED] (Phil Cowans)
Subject: Recieving too many packets
Date: 3 Jun 1999 09:53:22 GMT
I've just upgraded to kernel v.2.2.9, but I'm finding that 'ifconfig' is
reporting a very large rate of packet receipt (10,000,000 per hour or so)
even if I'm not doing anything that involves networking, whereas with my
old kernel I didn;t get the problem.
I have a generic NE2000 ISA network card. In upgrading I compiled out
loopback support, but compiled in IPX and NCP filesystem support.
Does anyone have any idea what might be the problem?
------------------------------
From: "Matt Graham" <[EMAIL PROTECTED]>
Subject: Linux as IPX Router
Date: Thu, 3 Jun 1999 16:35:41 -0400
I have 2 Novell Network LAN sites that I need to connect via a T-1 WAN. I
installed a Linux box at each end with an ethernet card and a Sangome WAN
card. Configured TCP/IP on both interfaces of both boxes and I am routing OK
between sites.
Problem: Can't route IPX traffic
Workstations on one side don't see servers on the other side. One side has
servers and workstations, the other, workstations only.
Attempted commands...
Box1
=======
ipx_interface add eth0 802.3 000CC001
ipx_interface add wan0 802.3 000CC999
ipxd
Box2
=======
ipx_interface add eth0 802.3 000CC002
ipx_interface add wan0 802.3 000CC999
ipxd
This Linux box local to the Novell servers can see and ncpmount the Servers,
but nothing on the other side. Using the log option in ipxd, I can see the
SAP and RIP traffic on the Server side with (ignored) a the end of the
packet log. THIS MAY BE THE PROBLEM.
I can;t find any good information about ipxd or this probelm specifically
on-line. It seems as though the Kernal is not forwarding the IPX traffic and
I can't find a parameter of configuration for this anywhere.
SOMEONE PLEASE HELP!!!
Thanks.
------------------------------
From: James Carlson <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.protocols.ppp
Subject: Re: linux pppd version 2.2pl0 and chap md5 ?
Date: 03 Jun 1999 06:55:50 -0400
Fabien Mounier <[EMAIL PROTECTED]> writes:
> Jun 2 20:45:54 arwen pppd[1137]: rcvd [LCP ConfReq id=0x2 <mru 1522><asyncmap
>0xa0000> <auth chap md5> <magic 0xd761f728> <accomp>]
He asks you to do standard CHAP to identify yourself.
> Jun 2 20:45:54 arwen pppd[1137]: sent [LCP ConfRej id=0x2 <auth chap md5>]
You refuse to identify yourself.
> I think that I am not very far from a working connection, but something
> still seems to go terribly wrong and your help is truly appreciated ; I
> will post a summary to comp.os.linux.networking when I get this one going.
Set up your /etc/ppp/chap-secrets file correctly, and the problem
should go away.
--
James Carlson, Software Architect <[EMAIL PROTECTED]>
IronBridge Networks / 55 Hayden Avenue 71.246W Vox: +1 781 372 8132
Lexington MA 02421-7996 / USA 42.423N Fax: +1 781 372 8090
"PPP Design and Debugging" --- http://people.ne.mediaone.net/carlson/ppp
------------------------------
From: [EMAIL PROTECTED] (Paul D. Smith)
Subject: Linux 2.2.x ppp / BSD-compress broken?
Date: 03 Jun 1999 17:02:26 -0400
Reply-To: [EMAIL PROTECTED]
OK, here's the story...
I was using PPP to dial up to work and it was completely solid with
2.0.36 (and still is, if I boot back to that kernel).
I upgraded to 2.2.{0,1,2,3,4,5,6,7,8,9}, and installed all the needed
packages according to the notes at linuxhq etc.: ppp 2.3.7, etc.
What happens with any 2.2.x kernel is _sometimes_, after I've been
connected for a while (and the length of time varies), my system will
get into this strange state where any large-ish transmission of data
will cause that session to hang.
For example, it'll be working fine and I'll have a few xterms running
that are telnet'd or rlogin'd to work, etc. I can do lots of stuff that
causes large bursts of traffic like tail -f or less or whatever, and it
works fine. Then all of a sudden, one of them will freeze right in the
middle. If I let it sit after about 3 minutes or so it gets a
"connection timed out" error. From the moment one freezes on, all other
sessions will freeze if I do anything that causes lots of data to go
over the link. I can create an xterm and rlogin in, and type my
password, and do an uptime, or something else "short", but if I try to
tail -f or anything else, that session will completely hang, too.
Another odd thing if I ping when the link is operating normally I get
100% of my packets back at all different packet sizes.
After the link goes screwey, if I ping with normal size packets I get
them all back. If I ping -s500, every packet is dropped on the floor; I
get none back. If I ping -s700 or -s900, every _other_ packet is
dropped, pretty consistently. If I ping -s300, every third packet is
dropped. Very, very strange.
To fix it I have to hang up and re-dial (I don't have to reboot).
I saw a note about VJ compression causing problems, so I turned it off,
but that didn't seem to help.
Now yesterday I paid more attention and noticed that on the vulnerable
sessions, BSD-compress is enabled (at least on that sample). So, I
turned that off and at first blush it seemed to work better but again,
it's intermittent so I'll need more use to be sure.
But I'm wondering if anyone else has seen problems with this, and
whether it's an issue with my ISP or with the Linux 2.2 BSD-compress
implementation. It works with 2.0.36; did the 2.0.36 ppp module support
BSD-compress?
Thx...
--
===============================================================================
Paul D. Smith <[EMAIL PROTECTED]> Network Management Development
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
===============================================================================
These are my opinions---Nortel Networks takes no responsibility for them.
------------------------------
From: [EMAIL PROTECTED]
Subject: ncpmount in rc.local not working
Reply-To: [EMAIL PROTECTED]
Date: Thu, 03 Jun 1999 20:29:06 GMT
Could anyone please give me some ideas as to why
the ncpmount command in my rc.local file does not
mount he specified drive at boot time?
The very same ncpmount command issued manually
works fine. Also immediately after boot, the slist
command shows MCCSERVER so it appears that the
ipx-configure command in rc.local *did* work. Why
is the ncpmount command failing in rc.local?
I have read the IPX HowTo 3-4 times before even
starting this adventure. I have come up dry on
Dejanews. (I hate their "new look", BTW).
The relavent snippet of my rc.local file follows.
TIA for your help,
Dan
# Start the ncp filesystem
/sbin/insmod /lib/modules/2.0.36-0.7/fs/ncpfs.o
# configure the IPX network
/sbin/ipx_configure --auto_interface=on --auto_primary=on
# login to the MCCSERVER fileserver
/usr/bin/ncpmount -S MCCSERVER -V data /mnt/mccserver -U SOFTWARE -n
#
------------------------------
From: [EMAIL PROTECTED] (Alexei Kakhno)
Subject: Re: Mars_Nwe & real netware servers
Date: Thu, 03 Jun 1999 10:26:04 GMT
On Wed, 2 Jun 1999 14:28:08 +0100, "Pete Stoves"
<[EMAIL PROTECTED]> wrote:
>Is it possible or has anybody been successful in running Mars alongside a
>genuine NetWare server ?
>
>I have set-up IPX & can connect to the existing NetWare server.
>I have set-up (I think) Mars and it shows on the slist on the linux box.
>
>I cannot see the mars server from any other workstation.
>
>Can anybody point me in the right direction ?
>
>Your help would be appreciated
>
>
if you see NetWare server from a workstation then try to use ATTACH
to connect to MarsNWE and login.
IMHO should be help. TRY!!!
Alexei
------------------------------
From: James Youngman <[EMAIL PROTECTED]>
Subject: Re: sendmail
Date: 01 Jun 1999 22:28:32 +0100
"Jeff" <[EMAIL PROTECTED]> writes:
> This there any good documentation on setting up sendmail as a mail
> server(pop3)
You don't do it that way. You use a pop-3 server as a pop-3 server.
You don't use a Mail Transport Agent like Sendmail, it's not its job
:-)
Install the imapd package.
> I have just installed RH6.0 and want to set it up as our web/mail
> server but cant find any good books or docs on setting it up.
Mark Sobell's "A Practical Guide to Linux" is often reccomended. It's
published by Addison-Wesley.
--
ACTUALLY reachable as @free-lunch.demon.(whitehouse)co.uk:james+actually
------------------------------
From: [EMAIL PROTECTED] (Herman Willekens)
Subject: Sendmail and header rewriting [EMAIL PROTECTED] to [EMAIL PROTECTED]
Date: Thu, 03 Jun 1999 21:33:36 GMT
Hi folks !
What's the quickest hack for rewriting outgoing headers (sendmail
running on linux-server) from [EMAIL PROTECTED] to [EMAIL PROTECTED] ,
as relaying through the ISP smtp server is not allowed for
mail.domain.com
what's the entry in sendmail.cf ?
Thanx,
Herb
------------------------------
From: "Laurent Aries-Poinssot" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,alt.os.linux,comp.os.linux.misc
Subject: Re: Best Free X Windows Server for Win95/98 Box on Samba/Linux Network?
Date: Thu, 3 Jun 1999 13:17:46 +0200
HI,
I was looking for a X11 server running under MS Windows,
to connect to my Linux machine.
I had two problems:
- first my Server was in a private network (behind a firewall) so I was not
able to use it to display my Linux sessions
- second I wanted to be able to disconnect, leting running my applications
on Linux,
and reconnect after, and having again control of my applications.
After reading your mails I decided to download VNC and try it.
It's really a great solution for me.
Thank you for this.
/Laurent
Jeff Grossman a �crit dans le message ...
> > The URL is http://www.uk.research.att.com/vnc/ . Let me know what you
think...
>Okay, thanks. I downloaded the Windows side, but I guess I need to go get
>the Linux side and load it up.
>
>Thanks,
>Jeff
>
>--
>Jeff Grossman ([EMAIL PROTECTED])
>
>
>Ted Staberow <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]...
>> Hi Jeff,
>>
>> You can use VNC or an X server for Windows. Check out download.com
>for
>> some free / shareware X servers for Windows.
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup
Subject: DHCP client problem with 2.2.x
Date: Wed, 02 Jun 1999 04:16:17 GMT
Reply-To: [EMAIL PROTECTED]
I'm having problems with getting my cable modem to work with
the newer 2.2.x kernels. I'm currently using a 2.0.36 kernel with
dhcpcd 0.65 just fine to get an IP address from my provider. Apparently
the dhcp server is a cisco, of which I know no more. Anyways I've just
tried kernel 2.2.8 with all of the updated packages including
dhcpcd-1.3.17pl2 which I got as a source rpm and rebuilt with the new
2.2.8 kernel. I get the following error in my /var/log/messages
connection timed out waiting for a valid dhcp server response.
I haven't had any problems with dhcp using the 2.0.x kernels.
Any clues as to a way to get this to work would be greatly appreciated.
Thanks,
Brian Seppanen
[EMAIL PROTECTED]
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
** 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
******************************