Linux-Networking Digest #133, Volume #11         Wed, 12 May 99 19:13:38 EDT

Contents:
  Re: Getting a dial-up ppp going (Robert Lynch)
  setting up ppp ("keith brown")
  Re: routing hell ("Scott M. Grim")
  Re: @home & Linux (K Lee)
  YPBINDPROC_DOMAIN: No bound server for domain ("Jamie Chamoulos  -- Internet.Now!")
  Re: dev/modem = dev/ttyS1 how? (Bill Unruh)
  Re: automount and nis yet again (Morgan Fruchtnicht)
  mystery (multicast-related?) packet (Mark Johnson)
  ipmasqadm trouble (Chris Szilagyi)
  Re: Help with Telnet ("Romeijn")
  TCP connections are reset all the time (Michael Hohner)
  My solution to the 'link via null modem(laplink) cable' problem (Graeme Wood)
  Firewall Antivirus Software ("Bob Bailey")
  question: detecting duplicate IPs (epadin)
  3c509 and IRQ conflicts (Jebediah)

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

Date: Wed, 12 May 1999 14:27:16 -0700
From: Robert Lynch <[EMAIL PROTECTED]>
Subject: Re: Getting a dial-up ppp going

J Knight wrote:
> 
> I'm trying to get a tcp/ip ppp dial-up connection going.  I've got my
> scripts working, but whenever I run them I first get a starting
> message and then I get this:
> pppd[281]: tcgetattr: Input/output error(5)
> pppd[281]: Exit
> 
> and nothing happens after that.  I never hear the modem start or
> anything.  I have used minicom to set the following parameters:
> local command echo on
> hardware flow control on
> software flow control off
> 
> I'm not sure what to do from here.  Can anyone help?
> ...Jason

Try man setserial.
-- 
Robert Lynch-Berkeley CA [EMAIL PROTECTED]
http://www.best.com/~rmlynch/

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

From: "keith brown" <[EMAIL PROTECTED]>
Subject: setting up ppp
Date: Wed, 12 May 1999 14:06:04 -0400

i am new to linux and am trying to setup ppp. i have redhat 6.0 and am
trying to dial out on a external USR modem

i have tried using minicom but everytime i try to dial out it says i am
already online, though i am not.

so if someone can help me setup the /etc/ppp folder or direct me to a FAQ
that can help i would really appreciate it.

thanks



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

From: "Scott M. Grim" <[EMAIL PROTECTED]>
Subject: Re: routing hell
Date: Wed, 12 May 1999 14:03:06 -0400

Looks like you don't have a true default route.  Your default route has a
netmask of 255.255.255.0.  A default route should be 0.0.0.0 with a netmask
of 0.0.0.0 otherwise you're not really routing anything outside of your
class C and your name server is on a different class C.

Try something like:
route add -net 0.0.0.0 netmask 0.0.0.0 gw 24.0.174.1

If you're using RedHat, this should be created automatically from the
/etc/sysconfig/network file which should look something like:
NETWORKING=yes
FORWARD_IPV4=false
HOSTNAME=hostname.your.domain
GATEWAY=24.0.174.1
GATEWAYDEV=eth0


--
Scott M. Grim
Director of Systems Engineering
Calltech Communications, Inc.


Derek Smith <[EMAIL PROTECTED]> wrote in message
news:i13_2.11152$[EMAIL PROTECTED]...
> The linux box was working great for a while, but I think I changed
something
> and now it won't access the internet. When I try to ping my nameserver
> (24.0.3.33) I get the message:
> ping: sendto: Network is unreachable
> I'm almost positive that the error is in the routing. I appended the
outputs
> of route, ifconf, and dmesg. I'm using cox@home with a static IP address.
>
> Thanks,
>
> Derek Smith
> Sound Technology Consultants
> www.sound-technology.com
>
>
> route output:
>
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 24.0.174.0      *               255.255.255.0   U     0      0        3
eth0
> 192.168.0.0     *               255.255.255.0   U     0      0        6
eth1
> default         24.0.174.1      255.255.255.0   UG    0      0        0
eth0
> 127.0.0.0       *               255.0.0.0       U     0      0        5 lo
>
>
> ifconfig output:
>
> 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:56 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:56 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0
>
> eth0      Link encap:Ethernet  HWaddr 00:10:5A:9C:56:8E
>           inet addr:24.0.174.72  Bcast:24.0.174.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:32 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:41 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0
>           Interrupt:11 Base address:0x280
>
> eth1      Link encap:Ethernet  HWaddr 00:10:5A:9C:58:47
>           inet addr:192.168.0.10  Bcast:192.168.0.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:73 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0
>           Interrupt:5 Base address:0x300
>
>
>
> dmesg output:
>
> Memory: sized by int13 088h
> Console: 16 point font, 400 scans
> Console: colour VGA+ 80x25, 1 virtual console (max 63)
> pcibios_init : BIOS32 Service Directory structure at 0x000fc1f0
> pcibios_init : BIOS32 Service Directory entry at 0xfc5a0
> pcibios_init : PCI BIOS revision 2.00 entry at 0xfc5d0
> Probing PCI hardware.
> Calibrating delay loop.. ok - 39.73 BogoMIPS
> Memory: 14664k/16384k available (748k kernel code, 384k reserved, 588k
data)
> Swansea University Computer Society NET3.035 for Linux 2.0
> NET3: Unix domain sockets 0.13 for Linux NET3.035.
> Swansea University Computer Society TCP/IP for NET3.034
> IP Protocols: IGMP, ICMP, UDP, TCP
> Linux IP multicast router 0.07.
> VFS: Diskquotas version dquot_5.6.0 initialized
> Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
> Checking 'hlt' instruction... Ok.
> Intel Pentium with F0 0F bug - workaround enabled.
> alias mapping IDT readonly ...  ... done
> Linux version 2.0.36 ([EMAIL PROTECTED]) (gcc version 2.7.2.3) #1 Tue
> Oct 13 22:17:11 EDT 1998
> Starting kswapd v 1.4.2.2
> Serial driver version 4.13 with no serial options enabled
> tty00 at 0x03f8 (irq = 4) is a 16450
> Real Time Clock Driver v1.09
> Ramdisk driver initialized : 16 ramdisks of 4096K size
> hda: SAMSUNG SHD-30560A (APRO-5) SSI, 535MB w/126kB Cache, CHS=1087/16/63
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> Floppy drive(s): fd0 is 1.44M
> FDC 0 is an 8272A
> md driver 0.36.3 MAX_MD_DEV=4, MAX_REAL=8
> scsi : 0 hosts.
> scsi : detected total.
> Partition check:
>  hda: hda1 hda2 < hda5 hda6 hda7 >
> VFS: Mounted root (ext2 filesystem) readonly.
> Adding Swap: 33228k swap-space (priority -1)
> Swansea University Computer Society IPX 0.34 for NET3.035
> IPX Portions Copyright (c) 1995 Caldera, Inc.
> Appletalk 0.17 for Linux NET3.035
> eth0: 3c509 at 0x280 tag 1, 10baseT port, address  00 10 5a 9c 56 8e, IRQ
> 11.
> 3c509.c:1.16 2/3/98 [EMAIL PROTECTED]
> eth1: 3c509 at 0x300 tag 2, 10baseT port, address  00 10 5a 9c 58 47, IRQ
5.
> 3c509.c:1.16 2/3/98 [EMAIL PROTECTED]
> eth0: Setting Rx mode to 1 addresses.
> eth1: Setting Rx mode to 0 addresses.
> eth1: Setting Rx mode to 1 addresses.
> sysctl: ip forwarding off
> sysctl: ip forwarding enabled
> VFS: Disk change detected on device 02:00
> EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
> Swansea University Computer Society IPX 0.34 for NET3.035
> IPX Portions Copyright (c) 1995 Caldera, Inc.
> Appletalk 0.17 for Linux NET3.035
> VFS: Disk change detected on device 02:00
> VFS: Mounted device 02:00 - tssk, tssk
> VFS: inode busy on removed device 02:00
> VFS: Disk change detected on device 02:00
> VFS: Can't find an ext2 filesystem on dev 02:00.
>
>
>



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

From: K Lee <[EMAIL PROTECTED]>
Subject: Re: @home & Linux
Date: 12 May 1999 21:31:20 GMT

Alan Sims <[EMAIL PROTECTED]> wrote:
:     Hi. I'm a Linux newbie, so please take that into account. I'm trying to
: get Linux set up to work with my cable modem (@home). I know this is
: possible, but i can't seem to get it working. I've been trying to set it up
: with a static IP, but to no avail. I want to try DHCP, but when I try to
: enable it through KDE interface it won't save it. dhcpcd (client) is
: installed. I'm using the Caldera version with the 2.2.5 kernel. Could
: someone pleeeease help?! Or at least point me to where I can get detailed
: info. on this. Thanks in advance :-). oh yeah, I have a 3Com Etherlink III
: 3c509b card, and Linux does detect it.



-- 
With Best,

Steve   *calloc(1,sizeof(geek))

======================================================================
       void main (void) { if (windows=="useful") hell=frozen }
**********************************************************************

[EMAIL PROTECTED]
[EMAIL PROTECTED]

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

From: "Jamie Chamoulos  -- Internet.Now!" <[EMAIL PROTECTED]>
Subject: YPBINDPROC_DOMAIN: No bound server for domain
Date: Wed, 12 May 1999 11:02:19 -0700

Im getting this message, Im trying to setup a DNS server, which is new to
me, aparently, i need NIS, and ypbind working. I did read several howto's
(networking howto, NIS-howto(ugh!), ...) Im really unclear on some things
:(
Ive set my /etc/defaultdomain, but the instructions said it should not be
related to my server? what should it be? does it matter? should this be
set to the nearest working NIS or DNS server?
        so, im setting up a fresh new server (well... old hardware, fresh
install of linux). Im using slakware 3.6 (kernel 2.0.36, which i will
likely upgrade to 2.2.7)). It looks like all the programs are there,
however they are ofcourse not configured, and netconfig(slakwares network
configuration tool, doesnt cover NIS, yp, ...  Im not sure what my problem
is really... other than the error message:
"YPBINDPROC_DOMAIN: No bound server for domain"
some sort of bind problem right? or is it a networking config error?
arg... 

So, What i want is to get DNS(authoritive) setup so i can setup
domains(virtual hosts really). I have do have a static ip with my Domain
routing to it, My ISP (grr...) doenst want to hassle with adding more (as
i get them) to thier DNS server, so... thats up to me, which im assuming
means i need to run a dns server. My plan is to have 2 machines acting
(among other things) as a Master DNS, and the second machine as a slave
DNS. I like slackware, but am familiar with other Linuxs(like slak,suse,
OL,  dont like RH). 

TIA,
Jamie 

         *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
        Love's Drug

My love is like an iron wand 
        That conks me on the head,
My love is like the valium 
        That I take before me bed,
My love is like the pint of scotch 
        That I drink when i be dry;
And I shall love thee still my dear,
        Until my wife is wise.
Generated by /usr/games/fortune

Jamie Chamoulos
Internet.Now!
[EMAIL PROTECTED]
http://www.efn.org/~jamie
         *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


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

From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: dev/modem = dev/ttyS1 how?
Date: 12 May 1999 21:19:41 GMT

In <7hb6q7$[EMAIL PROTECTED]> "donnell" <[EMAIL PROTECTED]> writes:

>What file can I manually edit to set /dev/modem = /dev/ttyS1. I have my


rm /dev/modem
ln -s /dev/ttyS1 /dev/modem


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

Date: Wed, 12 May 1999 17:14:24 -0500
From: Morgan Fruchtnicht <[EMAIL PROTECTED]>
Subject: Re: automount and nis yet again

Nope.  
Morgan


Larry Williamson wrote:
> 
> Morgan Fruchtnicht <[EMAIL PROTECTED]> writes:
> > I know this is a common question, but I can't find an answer! :(
> > I'm trying to get automount to work with an nis map.
> > nis servers and solaris and the clients are all aix and linux.
> > Nis works great, all the maps are available, but the problem for
> > me and apparently everyone else is that automount doesn't work
> > with the nis provided map.  I have gotten linux automounter to
> > sieze control of /home (lost my home dir in the process.  doh!)
> > but it still doesn't mount the directories!  Any help anyone
> > can give would be greatly appreciated.
> 
> Most likely is you still have "/home /etc/auto.home listed in your
> /etc/auto.master file.  Comment this out.

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

From: Mark Johnson <markj*no*spam*@gilanet.com>
Crossposted-To: comp.protocols.ppp,comp.security.firewalls,linux.redhat.ppp
Subject: mystery (multicast-related?) packet
Date: Wed, 12 May 1999 15:43:50 -0600
Reply-To: [EMAIL PROTECTED]

I have a ppp connection between my linux box and an ISP. It works fine
without a firewall.

I've been working to set up a firewall with ipfwadm; having tried
several suggested rulesets, none of which work. Eg, if I establish a
connection and point a browser to a well-known site, it hangs for a
while and then tells me it can't find the site or the nameserver.

>From my firewall message log, it appears that the problem occurs because
the ipfwadm rules filter out an incoming packet whose source address is
the ppp connection's P-t-P address (207.66.20.23), and whose destination
is 224.0.0.10 (IGRP-ROUTERS.MCAST.NET).

When I add the rule:
/sbin/ipfwadm -I -a accept -W ppp0 -S 207.66.20.23/32 -D 224.0.0.10/32
-o
everything works fine.

What is this packet, and "who" generates it?

Thank you!


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

From: Chris Szilagyi <[EMAIL PROTECTED]>
Subject: ipmasqadm trouble
Date: Wed, 12 May 1999 17:42:40 -0400
Reply-To: [EMAIL PROTECTED]

I'm going crazy trying to figure out how to use ipmasqadm
portfw and ipchains.  Basically, all i am trying to do is
set up a filtering firewall, that will filter incoming
requests (only allow connections from my local network) on
port 143 (imap) and send them through to the mail server (on
the inside of my firewall at address 192.168.2.2).  I have a
2.2.5 kernel (red hat 6.0), I have ip forwarding on, the
module ip_masq_portfw.o inserted, and i have ip masquerading
working going out to the internet from the internal network,
using:

ipchains -A forward -j MASQ -s 192.168.2.0/24 -d 0/0

This works like a charm.

Now when i try to use ipmasqadm portfw to direct incoming
connections to port 143 of my mail server (ip 192.168.2.2),
the connection to the port times out. I tried the entry:

ipmasqadm portfw -a -P tcp -L {outside firewall address} 143
-R 192.168.2.2 143

but when i try to connect to the firewall at port 143, it
does nothing and sits, like it can't go through.

I've read all over the place and i can't find any info on
how to use the ipmasqadm portfw and ipchains utilities
together to do this.  If anybody can shed a little light on
how to use them, or point me in the right direction, or show
me which rules i need to do the above, i'd appreciate it!

Thanks,
Chris


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

From: "Romeijn" <[EMAIL PROTECTED]>
Subject: Re: Help with Telnet
Date: Wed, 12 May 1999 23:52:01 +0200

I had the same problem: telnet did connect after a very long time and FTP
would timeout before a connection could be established. I ran NETCONFIG and
removed the information in gateway and dns fields.
After reboot I got instant connection establishment in telnet and FTP.

Georg Cantor heeft geschreven in bericht
<7haat3$g4i$[EMAIL PROTECTED]>...
>I have recently installed RH 5.2 linux linked to Win 98 clients.
>
>Whenever I run telnet from the Win98 clients, I get a blank screen. Nothing
>actually happens, the cursor just stays in the corner.
>
>I have checked the inetd.conf file and telnet is enabled. Running telnet on
>the server itself seems to work, although I am not familiar with manual
>telnet commands.
>
>Is there some way telnet is disabled from accepting incoming connections or
>what?
>
>I need some info on setting up a working telnet configuration. Where do I
>start?
>
>



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

From: [EMAIL PROTECTED] (Michael Hohner)
Subject: TCP connections are reset all the time
Date: 12 May 1999 14:09:01 GMT
Reply-To: [EMAIL PROTECTED]

Hello!

I'm currently experiencing a strange problem. Whenever there is a 
longer TCP connection, it's almost always reset prematurely. This 
happens when users download large files from our web server or when I 
upload large files to other servers with FTP. When I'm lucky I can 
transfer 1 MB, but not more.

This happens only with our ISDN interface, not with the local Ethernet
interface.

The system is:

Linux 2.0.32
I4L 1.44/1.41/1.27/1.28 (compiled as module)
IPPPD 2.2.9 (compiled as module)
AVM Fritz ISA card

Are there any known problem with TCP of this system? Would an upgrade 
to a later kernel version help?


Michael Hohner (m dot hohner at kaneff dot de)
Ing.-Buero Dr. Kaneff
Nuernberg, Germany


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

From: [EMAIL PROTECTED] (Graeme Wood)
Subject: My solution to the 'link via null modem(laplink) cable' problem
Date: Wed, 12 May 1999 18:59:49 GMT

 Hi list, 
          I just thought I'd post my solution to the above statement as the 
 ppp-howto poved to be useless in my case.
 
 The following is to set up a machine 143.60.60.145 to talk to machine 
 143.60.60.146.

On the machine of ip=143.60.60.145 type in the following set of     
 commands :
                      
  1. pppd -crtscts local passive silent /dev/ttyS0 38400 &
      
      This command brings the ppp0 interface into being. The local option
      tells the link not to use the modem control lines. The passive option
      tells the link to not answer any ad-hoc packets coming in and the silent 
      option  tells the link not to send any ad-hoc packets out. 
      When doing this the silent and passive options were vital as the link
       seemed to crash after a short time period.
      Note also /dev/ttyS0 is com1 and ttyS1 is com2. You can use either..

 2 Type in             ifconfig -a
    
      This queries your interfaces eth0, eth1 ppp0 etc.
      It essentially finds out what interfaces are there on your system.
      At this point do not worry if your ppp0 interface does not show up 
      here..It doesn't mean it hasn't been created.It just ain't shown yet !!
      I haven't a clue why this happens but proceed to the next step...   
     
  3 Type in

 ifconfig ppp0 143.60.60.145 pointopoint 143.60.60.146 netmask 255.255.255.255

      If you're feeling adventurous at this point type in   ifconfig -a  and 
      if  your ppp0 interface didn't show up in step 2 ,it should now...
      
  4. Type in     ifconfig ppp0 up

      This should bring the interface up at this point. This is vital.
       At step 2 after typing in   ifconfig -a   the interface would not have 
       been up,,, now it is. Not it will say UP somewhere on the ppp0 
       interface output garble from ifconfig -a. From what I can remember it 
       doesn't say DOWN when  it is down,,,most confusing..       

  5. Type in   route add -host 143.60.60.146
      
  We will now go to the other machine 143.60.60.146 and repeat steps 1 to 5.
  for the other end of the connection........

 6 type in    pppd -crtscts local passive silent /dev/ttyS0 38400 &

 7. type in   ifconfig -a
                  
                  Note that ppp0 may not appear here....yet.

 8. type in  

 ifconfig ppp0 143.60.60.146 pointopoint 143.60.60.145 netmask 255.255.255.255 
  
 Note here how the ip no's are different for the opposite end of the link..
 
 9. type in    ifconfig ppp0 up

   Again type in ifconfig -a at this point to see what is what.

 10 type in 

     route add -host 143.60.60.145 

     Note here how the ip no is different from the route command made on the 
     other end of the link....

 11 And finally ping away  ......ecstasy.... 

     For newbies  - on machine 143.60.60.145 type in

     ping 143.60.60.146    

     It does form quite a stable link although ftp bombs out on fairly
     heavy loads.. I don't know why this is. You can plug and unplug
     the laplink cable while  a ping is going and it will just recover
     and keep on pinging...I suppose tcp/ip really is that robust...
    
 I hope this helps a few people out.It took me ages to do. I note that you 
 have to deal with 3 seperate things - ppp itself,  the ppp0 interface which 
 you really treat like an eth0 interface and finally the route to the other 
 machine...
 Would appreciate any feedback on successes, failure etc

 Cheers

 G. 


 

        


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

From: "Bob Bailey" <[EMAIL PROTECTED]>
Subject: Firewall Antivirus Software
Date: Wed, 12 May 1999 15:48:51 -0600

Hi,

We have a linux box that we use as or firewall and we are looking for an
antivirus software package that will scan all traffic passing through it.
Would like to hear any suggestions, or concerns about any antivirus
software.

Thank You
Bob



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

From: epadin <[EMAIL PROTECTED]>
Subject: question: detecting duplicate IPs
Date: Wed, 12 May 1999 22:10:37 GMT

I've noticed that on windoze machines there is a way to detect a
duplicate IP (on startup). I guess it must use ARP to do this. Is there
a facility to do this in Linux?

I'm running a configuration where two machines back eachother up in a
fault tolerant config. Each will adopt a specific IP address if the
other goes down. I want to assure that they will not both inhabit the
same IP address simultaneously.


thanks,


--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---

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

From: Jebediah <[EMAIL PROTECTED]>
Subject: 3c509 and IRQ conflicts
Date: 12 May 1999 22:32:39 GMT

I just installed the Red Hat 6.0 a few nites ago.  I was hoping it would 
fix the problem with my 3Com 3c509 ethernet card, but this was not the 
case.  I have narrowed the prob down to an IRQ conflict, mainly due to my 
SoundBlaster AWE 64 card residing on IRQ 5.  The ethernet card seems to 
like residing on this IRQ as well.  I used the 3c5x9.exe that came on the 
floppies with my card.  I changed the IRQ to my empty location of 9 and 
tried it in Linux again.  Still no luck.  I would try another IRQ but all 
of them are taken and the SoundBlaster is pretty well set on 5 due to other 
devices.  I would also try IRQ 12 where my mouse resides, but I can not put 
it into USB mode for Linux yet.  Finally in desperation I put the ethernet 
on IRQ 10 and IO 0x300... This at least made my card fail a lot faster, so 
it is recognized.  My question is how do I make the card work or am I 
screwed up a tree?

==================  Posted via SearchLinux  ==================
                  http://www.searchlinux.com

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


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