Linux-Networking Digest #878, Volume #9          Thu, 14 Jan 99 13:13:44 EST

Contents:
  Connecting my l.an (G. G. Flatman)
  Re: dynamic dns system for free similiar to ml.org (Steve Vertigan)
  Re: Linux-Router hängt sich auf (Raymond Doetjes)
  Re: Exchangeserver on Linux? (Raymond Doetjes)
  IP / ICMP checksum calculation ("Sander Pilon")
  How do I reinstall Linux to a new file system from a running Linux system? (Mark 
Cooperstein)
  Re: http error 403 with ip masq ("Craig Chapman")
  Re: DHCPcd problem (Michael Borella)
  Re: Obtaining MAC address from remote computer ("Sander Pilon")
  Re: More-Almost PPP w/Redhat 5.2 (Clifford Kite)
  Re: Linux & Novell (Raymond Doetjes)
  Re: Linux and Win95 Networking ("Andrew Tatton")

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

From: [EMAIL PROTECTED] (G. G. Flatman)
Subject: Connecting my l.an
Date: Thu, 14 Jan 1999 14:00:25 GMT

Hello,
          I have 4 machines on my lan they are all networked thru my
hub Linux box hs the ppp connection to the Internet along with being
connected to my hub on the Lan i am presently reading the NET-3 how to
page but i am confuse at one part do i need to put the following in a
file and where is that file located or do i just type it in on the
command line.

root# route add -net 192.168.1.0 netmask 255.255.255.0 eth0
root# route add -net 192.168.2.0 netmask 255.255.255.0 eth1
root# route add -net 192.168.3.0 netmask 255.255.255.0 eth2
root# route add default ppp0    

or am i missing some thing here.        
--
George Flatman
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

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

From: Steve Vertigan <[EMAIL PROTECTED]>
Subject: Re: dynamic dns system for free similiar to ml.org
Date: Thu, 14 Jan 1999 14:45:37 GMT
Reply-To: [EMAIL PROTECTED]

[EMAIL PROTECTED] wrote thus:

>In article <[EMAIL PROTECTED]>,
>  "Dr. S. Robert Senay" <[EMAIL PROTECTED]> wrote:
>> ben wrote:
>>
>> >         hi folks, i've been running my linux box and the dyns system
>> > from ml.org so the machine can have a domain name.  well,
>> > unfortunately, ml.org went down and so i am looking for another
>> > simliar service.  they provided a good service while it lasted..
>> > anyone have suggestions for alternatives?
>>
>
>Try http://www.cybername.net , I think they provide the subdomain name
>redirect service. :)))

That's only a web page redirector!  Bleagh.  Try www.ddns.org for a free
dynamic dns service.  There's also www.dynip.com who charge you something
like $40 American a year but they have a free 30-day trial.  Also some of
the guys from Monolith are attempting to get a similair system off the
ground but it's still in development stage and they need funds.

Regards,
--Steve

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

From: Raymond Doetjes <[EMAIL PROTECTED]>
Crossposted-To: de.comp.os.linux,comp.os.linux.hardware
Subject: Re: Linux-Router hängt sich auf
Date: Thu, 14 Jan 1999 17:12:01 +0100

This is a multi-part message in MIME format.
==============735DF36BAD159CA6A39A46CA
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

This is a hradware problem with Compaqs. The new generation Deskpros does
the same. Th eproblem comes from the fact that it has a strange BIOS system.

NT and Novell even provide special drivers for Compaqs.

Raymond

Felix Schreiber wrote:

> Dabei hat alles auf Anhieb geklappt!
>
> Ich habe einen Compaq Prolinea mit 486/66, 24MB und SuSE Linux 5.3.
> Er dient als ISDN-Router für ein kleines Windows-NT Netzwerk. Die
> ISDN-Karte ist eine Creatix PnP.
>
> Eigentlich funktioniert alles. Ich kann von jedem Rechner aus den Router
>
> und Adressen im Internet anpingen. Ich kann auch auf jedem Client
> längere
> Zeit im Internet surfen und Daten runterladen.
>
> Nur leider stüzt Linux regelmäßig, wenn ich größere Dateien per FTP
> runterlade (so ab ca 3MB) ohne irgendeine Fehlermeldung ab. Das
> bedeutet,
> Linux reagiert nicht mehr auf die Maus, es reagiert nicht
> mehr auf die Tastatur und auf dem Bildschirm tut sich auch nichts mehr,
> außer daß der Cursor ganznormal weiterblinkt.Über das Netzwerk ist der
> Rechner dann auch nicht mehr zu erreichen. Das einzige was dann noch
> hilft,
> ist der Netz-Schalter.
> Leider kenne ich mich mit Linux noch nicht so gut aus und weiß
> deshalb nicht, in welchen Log-Dateien ich etwas über das Problem meines
> Routers finden könnte.
>
> Ich wäre dankbar für alle Ideen und Hinweise
> Felix



==============735DF36BAD159CA6A39A46CA
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Raymond Doetjes
Content-Disposition: attachment; filename="vcard.vcf"

begin:          vcard
fn:             Raymond Doetjes
n:              Doetjes;Raymond
org:            SYNAPSES IT
adr:            Overijsselhaven 47;;;Nieuwegein;Utrecht;3433 PH;The Netherlands
email;internet: [EMAIL PROTECTED]
title:          programmeur VAB
tel;work:       030 6066411
tel;fax:        030 6067871
x-mozilla-cpt:  ;0
x-mozilla-html: FALSE
version:        2.1
end:            vcard


==============735DF36BAD159CA6A39A46CA==


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

From: Raymond Doetjes <[EMAIL PROTECTED]>
Subject: Re: Exchangeserver on Linux?
Date: Thu, 14 Jan 1999 17:10:18 +0100

This is a multi-part message in MIME format.
==============4E68A3F60F881492F1C0E46C
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

It depends on what you use in Exchange, if you want Linux to run as a SMTP
server with POP3 and IMAP4 client protocolls, than it can be done.
But a X400 connector isn't there yet (well probably is on another unix
platform so you might port it). SMTP/ESMTP is a standard that came out of
the unix world just like POP3 and IMAP

Raymond

Dirk Estenfeld wrote:

> Hello,
>
> is there any possibility to simulate an exchange-server on a linux-box?
>
> Greetings,
> Dirk
>
> ---
>
> Hallo,
>
> gibt es eine Möglichkeit, einen MS-Exchange-Server auf Linux zu
> simulieren?
>
> Viele Grüße
> Dirk



==============4E68A3F60F881492F1C0E46C
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Raymond Doetjes
Content-Disposition: attachment; filename="vcard.vcf"

begin:          vcard
fn:             Raymond Doetjes
n:              Doetjes;Raymond
org:            SYNAPSES IT
adr:            Overijsselhaven 47;;;Nieuwegein;Utrecht;3433 PH;The Netherlands
email;internet: [EMAIL PROTECTED]
title:          programmeur VAB
tel;work:       030 6066411
tel;fax:        030 6067871
x-mozilla-cpt:  ;0
x-mozilla-html: FALSE
version:        2.1
end:            vcard


==============4E68A3F60F881492F1C0E46C==


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

From: "Sander Pilon" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system
Subject: IP / ICMP checksum calculation
Date: Wed, 13 Jan 1999 19:26:52 +0100

I'm looking for *C* sourcecode (for Linux) that RE-calculates
the IP and ICMP packet checksums after  modification.
(NAT)

Anyone?

Thanks,

Sander
[EMAIL PROTECTED]



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

Crossposted-To: linux.redhat.misc
From: [EMAIL PROTECTED] (Mark Cooperstein)
Subject: How do I reinstall Linux to a new file system from a running Linux system?
Date: Thu, 14 Jan 1999 16:21:48 GMT

I already have Linux up and running on /dev/hda4.  My swap is /dev/hda3 and 
previously I had Windows NT server on /dev/hda2.  /dev/hda1 is my OS2 boot 
loader.  So I love Linux, it does everything (and better) then NT server did 
(nanny nanny poo poo Billy boy) so I nuked the NT server partition and made 
another ext2 Linux partition on /hda2.  I would like to be able to make /hda2 
my new Linux system and use /hda4 for user files, games, etc. (non Linux 
system stuff).  Right now, /hda2 is empty.  So, how do I get Linux over to 
/hda2??

I looked into cp, but the problem is that it doesn't seem to copy files that 
have hard/symbolic links to them properly.  At least it didn't seem to work 
when I tried to.  Also, it barfs when trying to copy /dev over and I assume it 
probably will have a heart attack with /proc.  Anyway, I thought I could 
simply copy all the Linux system directories over to  /hda2, reconfigure lilo 
to point to it, and then boot.  Doesn't look like I can easily do this.  
Another option I was thinking about, is doing a network install if this is 
possible?  I currently have Linux setup with an ISDN high speed Internet 
connection (using pppd).  My flavour of Linus is Red Hat 5.2 using kernel 
2.1.130 (needed some support in this kernel not available 2.0.36).  Is there a 
way I can run the same Red Hat install program that I originally did and ftp 
all the files from sunsite over to /hda2 from my running system? I can't 
reboot from the floppy install disks to do this, because the ISDN support 
isn't there unless my current Linux system is running (I originally did this 
by installing the ISDN in a Windoze machine and using ftp through a proxy, but 
I don't want to disconnect the device and do this again).

There has to be an easier way?  

Also, I use partition magic (installed in /dev/hdb1 - second IDE drive) to set 
this stuff up originally.  It works great and allows me to boot any OS.  It 
also allows me to resize partitions - safely.  Is there any advantage to 
having my swap partition as /hda3, or should I try to move it physically to 
some other part of the disk? ie: move /hda4 to where /hda3 is and 
visa-versa putting the swap partition at the end of the disk 
partition space. Probably, I should just leave it as it is...

Mark

**  Remove ".nospam" when replying or email will bounce back to you...

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

From: "Craig Chapman" <[EMAIL PROTECTED]>
Subject: Re: http error 403 with ip masq
Date: Thu, 14 Jan 1999 08:13:00 -0800

Aaron Baugher wrote in message ...
>Do you mean you've configured a proxy in NS?  Don't do that.  IP Masq


That was it! Thanks for the education.

-c
[EMAIL PROTECTED]




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

From: [EMAIL PROTECTED] (Michael Borella)
Subject: Re: DHCPcd problem
Date: 14 Jan 1999 15:24:28 GMT

On Tue, 12 Jan 1999 21:37:16 GMT, Matthew Hately <[EMAIL PROTECTED]> wrote:
>I've seen this problem posted before but have never seen a solution:
>
>We have a mixed NT/Linux network -- the domain controller (NT) serves as
>our WINS, and DHCP server behind a Linux firewall and gateway, and
>almost everyone has an NT workstation and a Linux workstation at their
>desks.
>
>If I configure a Linux client (Redhat 5.2) to get its IP via DHCP, it
>gets a valid IP and can route to the local network, but three things go
>wrong:
>
>-it doesn't write a resolv.conf file in /etc/dhcpcd/ with the DNS info
>it should be getting from the DHCP server
>-it doesn't set up the default gateway
>-it can't resolve it's own hostname, so Samba can't start.
>
>Everything works great when I use Static IPs for the Linux boxes, and
>DHCP is working fine on the NT boxes.
>
>Help!
>
>--
>Matthew Hately, Web Developer & IT Specialist  -  [EMAIL PROTECTED]
>
>Macadamian Technologies Inc.  -  http://www.macadamian.com
>
>Personal Email: [EMAIL PROTECTED]
>WebSite: http://www.ccai.com/matthewh/
>

I'm pretty sure NT SP4's DHCP server is broken.
It don't talk to dhcpcd clients, though SP3 did.
Check the SP # of your server.

-Mike

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

From: "Sander Pilon" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system
Subject: Re: Obtaining MAC address from remote computer
Date: Thu, 14 Jan 1999 17:23:36 +0100

>Sander Pilon wrote:
>
>[ ... ]
>
>> A packet arrived on eth0, I'm going to forward it to eth1 and I have to
>> insert a new MAC
>> address.
>
>Where do you want to do this?
>In userland, you don't have to do it, since the MAC layer is
>inaccessable to the user. You use IP addresses.
>
>In kernel, you use the arp module to resolve IP addresses.


Userland, with packet sockets.

With packet sockets the MAC layer *IS* accessible. I wrote a program
that puts raw ethernet packets on the wire, with random MAC addresses
and it works perfect. Now, I want to do this with "real" mac addresses...

I "found" a solution though, but it's far from perfect. Look in
/proc/net/arp, there
you will find the ARP cache for the kernel. Combined with a cache in the C
program this will have to do.

Sander



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

From: [EMAIL PROTECTED] (Clifford Kite)
Subject: Re: More-Almost PPP w/Redhat 5.2
Date: 13 Jan 1999 22:03:14 -0600

George Lampke ([EMAIL PROTECTED]) wrote:

: Running Redhat 5.2 and using "ppp-on" and "ppp-on-dialer" to make PPP
: connection to my ISP. THe modem dials, connects, and receives my login
: and password. It establishes a connection but shuts down almost
: immediately. 

: The last lines in /var/log/messages are:
: ----------------------------------------
: Jan 11 14:31:52 localhost pppd[835]: Serial connection established.
: Jan 11 14:31:53 localhost pppd[835]: Using interface ppp0
: Jan 11 14:31:53 localhost pppd[835]: Connect: ppp0 <--> /dev/cua2
: Jan 11 14:31:56 localhost pppd[835]: Serial line is looped back.
: Jan 11 14:31:56 localhost pppd[835]: Connection terminated.
: Jan 11 14:31:57 localhost pppd[835]: Exit.
: Jan 11 14:33:29 localhost kernel: PPP: ppp line discipline successfully
: unregistered

: Output of /var/log/debug file

There's a lot missing here.  If it's the same as below, then it's OK
to omit it.  But it would have been more comforting if you had started
from the beginning and then chopped it off when it was clear that pppd
was doing a monologue.

: -----------------------------
: Jan 12 14:25:15 localhost pppd[312]: rcvd [LCP ConfNak id=0x8 <magic
: 0xa1b75c12>]
: Jan 12 14:25:15 localhost pppd[312]: sent [LCP ConfReq id=0x9 <mru 552>
: <asyncmap 0x20a0000> <magic 0xe019697f> <pcomp> <accomp>]
: Jan 12 14:25:15 localhost pppd[312]: rcvd [LCP ConfReq id=0x9 <mru 552>
: <asyncmap 0x20a0000> <magic 0xe019697f> <pcomp> <accomp>]

Pppd is talking to itself again at this point regardless of what happened
previously.  It does this sometimes when the connection scripts fail
and it can't talk to the ISP.

: Listing of ppp-on
: ------------------
: #!/bin/sh
: #
: # These are the parameters. Change as needed.
: TELEPHONE=416-0801    # The telephone number for the connection
: ACCOUNT=glampke               # The account name for logon
: PASSWORD=******               # The password for this account
: LOCAL_IP=0.0.0.0      # Local IP address if known. Dynamic = 0.0.0.0
: REMOTE_IP=0.0.0.0     # Remote IP address if desired. Normally 0.0.0.0
: NETMASK=255.255.255.0 # The proper netmask if needed
: HOST=ppp              # Enter the type of protocol
: #
: DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
: #
: exec /usr/sbin/pppd debug lock modem crtscts /dev/cua2 38400 \
:       asyncmap 20A0000 escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
:       noipdefault netmask  $NETMASK defaultroute connect $DIALER_SCRIPT

Simpler is better:

exec /usr/sbin/pppd debug lock modem crtscts /dev/ttyS2 115200 \
     asyncmap 00000000 noipdefault defaultroute connect $DIALER_SCRIPT

I would drop the <escape FF> regardless, it actually causes trouble
with some ISP ppp implementations.  The asyncmap 0 provides the best
throughput but sometimes, again depending on the ISP implementation,
you have to use something else, a0000 or 20a0000 being the most common.

: LIsting of ppp-on-dialer
: -------------------------
: #!/bin/sh
: #
: exec chat -v                                          \
:       TIMEOUT         3                               \
:       ABORT           '\nBUSY\r'                      \
:       ABORT           '\nNO ANSWER\r'                 \
:       ABORT           '\nRINGING\r\n\r\nRINGING\r'    \
:       ''              \rAT                            \
:       'OK-+++\c-OK'   ATH0                            \
:       TIMEOUT         30                              \
:       OK              ATDT$TELEPHONE                  \
:       CONNECT         ''                              \
:       TIMEOUT         30                              \
:       host:           $HOST                           \
:       TIMEOUT         5                               \
:       ogin:           $ACCOUNT                        \
:       TIMEOUT         5                               \
:       assword:        $PASSWORD                       

Try this:

exec /usr/sbin/chat -v                                  \
        TIMEOUT         3                               \
        ABORT           BUSY                            \
        ABORT           'NO ANSWER'                     \
        ''              'AT&F&C1&D2'                    \
        'OK-+++\c-OK'   ATH0                            \
        TIMEOUT         30                              \
        OK              ATDT$TELEPHONE                  \
        CONNECT         '\c'                            \
        host:           $HOST                           \
        ogin:--ogin:    $ACCOUNT                        \
        assword:        $PASSWORD

In order for this script to work the expect send login sequence must
be correct and the ISP cannot be expecting PAP or CHAP authentication.
Since each ISP has it's own peculiarities this script may fail also,
but I believe it has a good chance of succeeding.

If you really don't want to try this then at least try replacing
<CONNECT ''> with <CONNECT '\c'> .

--
Clifford Kite <[EMAIL PROTECTED]>                       Not a guru. (tm)
/* 97.3% of all statistics are made up. */

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

From: Raymond Doetjes <[EMAIL PROTECTED]>
Subject: Re: Linux & Novell
Date: Thu, 14 Jan 1999 17:53:24 +0100

This is a multi-part message in MIME format.
==============2764C031E83F736860E28351
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

There is also a special netware client made available from www.caldera.com
(You still need to install ipx in kernel etc).

Raymond

Brian J King wrote:

> Well I just got this set up over ppp, and its basically the same over
> ethernet, although it actually seems a bit easier. First you'll need the
> ipx module loaded and have ipxutils installed along with ncpfs. There
> is also an ncpfs module you'll have to load. They are
> both available on RedHat's site in rpms. Then do an ipx_configure
> --auto_interface=on --auto_primary=on. I had to run ipxd, which is in
> ipxripd. Then you can take a look at /proc/net/ipx_interface and
> /proc/net/ipx_route and see if anything is there. If so then you just need
> to use ncpmount -S SERVER_NAME -U novellusername.context /mountpoint.
> Take a look at the IPX HOWTO also; it was quite helpful to me in getting
> my system set up.
>
> -Brian King
>
> [EMAIL PROTECTED] wrote:
> : Hi guy's, I'm a quite green to Linux, but I'v managed to setup Redhat 5 with
> : IP, Apache web server and can get to my NT servers and AS400. Now how the
> : hell do I log into a Novell server. I'm running to Novell servers, on with IP
> : and one with IPX.  Any pointers ? Ren
>
> : -----------== Posted via Deja News, The Discussion Network ==----------
> : http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own



==============2764C031E83F736860E28351
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Raymond Doetjes
Content-Disposition: attachment; filename="vcard.vcf"

begin:          vcard
fn:             Raymond Doetjes
n:              Doetjes;Raymond
org:            SYNAPSES IT
adr:            Overijsselhaven 47;;;Nieuwegein;Utrecht;3433 PH;The Netherlands
email;internet: [EMAIL PROTECTED]
title:          programmeur VAB
tel;work:       030 6066411
tel;fax:        030 6067871
x-mozilla-cpt:  ;0
x-mozilla-html: FALSE
version:        2.1
end:            vcard


==============2764C031E83F736860E28351==


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

From: "Andrew Tatton" <[EMAIL PROTECTED]>
Subject: Re: Linux and Win95 Networking
Date: Thu, 14 Jan 1999 17:27:12 -0000
Reply-To: "Andrew Tatton" <[EMAIL PROTECTED]>

have a look at http://www.irt.org and look in the articles section under
Linux.
There is a full article on how to set up samba

Andy Tatton
Robert H. Thompson wrote in message <[EMAIL PROTECTED]>...
>Hello everyone,
>
>After checking out this newsgroup for a bit I have decided to take the
>plunge a try networking at home. I have a Linux server running Red Hat
>5.2 and a Win95 machine. Both machine have Newcom modems and KTI NE2000
>clone NIC along with a 5 port 10BaseT ethernet hub. I have also
>purchased the Linux Networking Toolkit book from IDG books.
>
>The Linux server setup went along very smoothly but the Win95 machine
>does not recognize the Linux machine as a server. I believe that Samba
>might be the problem. If anyone has any insight on this I would greatly
>appreciate it.
>
>Yours Truly
>
>Rob Thompson
>
>Please send replies to the following:
>work: [EMAIL PROTECTED] (8 am to 5 pm EST M - F)
>home: [EMAIL PROTECTED] (after 5 pm EST and weekends)
>
>Thanks ever so much
>Peace



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


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