Linux-Networking Digest #161, Volume #11         Sat, 15 May 99 02:13:30 EDT

Contents:
  Re: Help with IP and PPP routing (mist)
  Re: newbie-to-lan: cannot ping other box (root)
  Problems with Kppp and connection... (Chris Lee)
  ppp runs in ram disk ([EMAIL PROTECTED])
  Re: D-Link 530TX - Installation problems ("D. C. & M. V. Sessions")
  connect RH with Macintosh? ("Chan Wai Kuen")
  getty -L doesn't work (Michael Torrie)
  Linux <--> Linux (Amir Malik)
  Re: can't locate module ppp-compress-21 (Wayne D. Hoxsie Jr.)
  Re: me urge conectar 2 =?iso-8859-1?Q?pc=B4s_en_red?= (Barbwired)
  Re: newbie-to-lan: cannot ping other box (hazzmat)
  Re: can't ping, ftp etc "Unable to connect, unknown host" (hazzmat)
  Re: Apache on Large Corporate Network ("Cameron Spitzer")
  Re: auto dial (John Hovell)
  Re: -----modem/ppp/'chat help? (.)
  Re: linux and 3com 905b at 100MB ([EMAIL PROTECTED])

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

From: mist <[EMAIL PROTECTED]>
Subject: Re: Help with IP and PPP routing
Date: Fri, 14 May 1999 14:31:59 +0100
Reply-To: mist <new$[EMAIL PROTECTED]>

rmc <[EMAIL PROTECTED]> scribed to us that -
>Dear Friends,
>
>I'm new in Linux, but I used to know a bit about UNIX.
>
>I'm going to try to explain my problem to see if some one can help me.
>
>HardWare:
>  NE2000 board configured and with IP 192.0.0.129/255.255.255.0
>  Modem USRobotics connected to /dev/ttyS0
>
>Software:
>  Linux Kernel 2.2.5
>  PPPD 2.3
>
>So my problem is...
>
>  I've a network with IP's from 192.0.0.1/255.255.255.0 to
>192.0.0.254/255.255.255.0 and I need to connect the computer with IP
>192.0.0.129 to internet via PPP and then share with the others.
>
>
>  All the other machines can PING all IP's in 192.0.0.xxx but can't connect
>to Internet IP's.
>

You need to enable IP Masquerading on the Linux box and make sure that
the other PeeCees on the network use the Linux Box as their default
gateway.  For the masquerading, you need something like -

#echo 1 > /proc/sys/net/ipv4/ip_forward
#/sbin/ipchains --flush forward
#/sbin/ipchains -P forward DENY
#/sbin/ipchains -A forward -j MASQ -s $LOCALNET -i $EXTERNAL_INTERFACE

Where localnet is the machines you want to masquerade for (IE
192.0.0.1/255.255.255.0) and EXTERNAL_INTERFACE is ppp0. (or whatever.)

HTH

-- 
Mist.

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

From: root <[EMAIL PROTECTED]>
Subject: Re: newbie-to-lan: cannot ping other box
Date: Sat, 15 May 1999 00:20:25 -0400

I am giving up on the card, but i thank you for your effort to help. Bought
etherexpress this afternoon. Blinks the hub when pinging out (but still no
response from other end.) I am confident though that things will sort out now.
hazzmat
Curt wrote:


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

From: Chris Lee <[EMAIL PROTECTED]>
Subject: Problems with Kppp and connection...
Date: Fri, 14 May 1999 20:11:41 -0700

I have Redhat 6.0 (just got it, looks quite sweet and I haven't been
having any problems except for this *small* one) and I was fooling
around w/ GNOME today and I noticed that you can use Kppp in GNOME. (I
hadn't really checked before and I know you could run it from a term,
but I didn't realize that they had a working menu-importing prog)
anyway, I tried using it to connect to my ISP as usual but it didn't
work. Now, I was running Mandrake 5.3, and it worked just fine with it
then.... the log window stops on the "Starting pppd...." message and
when I go to the error detail window it says that my connection time was
.5 minutes and that it connected, but the connection was terminated.
I've seen this problem before in here, and I remember reading the
answer- but what was it? I took the 'lock' option out of my
/etc/ppp/options file and it does actually connect, but it kills itself
after connecting. The distro and install are pretty stock- it's right
out of the box, with all of the "Networked workstation" and "Dialup
workstation" packages installed; pppd is supposed to work fine (it's the
version that's *supposed* to work with the kernel 2.2.5 (installed) but
so far it's only been giving me problems....) What's the answer? TIA for
the help, you guys are the best. (I mean that.)

QOTD:
"This computer runs Windoze98!" (salesman @ demonstration)
"Want me to fix that?" (me)


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

From: [EMAIL PROTECTED]
Subject: ppp runs in ram disk
Date: Sat, 15 May 1999 04:12:35 GMT

I am doing a project, whose top request is speed,
so I load a basic files in a ram disk then mount it to the root,
but the pppd can not work. my kernel can detect ttyS0 and support ppp
both pppd and chat can work, but when combining them together , I got no
result. does any one have some idea?


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

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

From: "D. C. & M. V. Sessions" <[EMAIL PROTECTED]>
Subject: Re: D-Link 530TX - Installation problems
Date: Fri, 14 May 1999 21:23:00 -0700

Christos Efstratiou wrote:
> 
> I have just installed a Linux Slackware but I have trouble setting up my
> network card.
> It is a D-Link 530TX PCI 10/100 Mbps.
> When I first installed Linux the original server that came with recognised
> the card as a D-Link 660 portable network card but it couldn�t find it on
> the appropriate I/O address.
> I tried recompiling the server using the tulip driver (since the
> documentation says that this driver should support all D-Link cards) but
> nothing happened (No message during boot about the network card). The same
> when I used the NE2000 PCI.
> 
> The problem is that I am new with Linux and I don�t know many things.
> I know that my card is PnP so the IRQ and the I/O address are not set with
> jumpers. I can find out about them through the Windows control panel but I
> am not sure if they will work with Linux since they are set up by the
> windows driver.

The 530TX doesn't use Tulip; it uses via-rhine.

Add

alias eth0 via-rhine

to your /etc/conf.modules

-- 
| Microsoft: "A reputation for releasing inferior software will make |
| it more difficult for a software vendor to induce customers to pay |
| for new products or new versions of existing products."            |
+---------- D. C. & M. V. Sessions <[EMAIL PROTECTED]> ----------+

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

From: "Chan Wai Kuen" <[EMAIL PROTECTED]>
Subject: connect RH with Macintosh?
Date: Thu, 13 May 1999 13:10:28 +0800

How to connect Red Hat 5.2 with Macintosh? Thanks!



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

From: Michael Torrie <[EMAIL PROTECTED]>
Subject: getty -L doesn't work
Date: Fri, 14 May 1999 22:11:44 +0000

I have RH 5.2 with getty 2.07j-4 installed.  Many docs I've read say I
can put getty -L ttyS0 9600 vt100 in inittab and then be able to login
thru a serial port using the minimum 3 wires.  (I'm eventually trying to
use my HP48 as an emergency terminal).  However, getty (and agetty for
that matter) complain that -L is invalid switch.  I need the
functionality -L provides.  What version of getty should I use and where
to get it?  If there is a way of connecting using only three wires, and
without the -L flag, what flags should I use?   Anyone's comments or
suggestions or descriptions of how they did it would be great.  Thanks.

cheers,
Michael Torrie


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

From: Amir Malik <[EMAIL PROTECTED]>
Subject: Linux <--> Linux
Date: 15 May 1999 04:30:54 GMT

I have one 486 running RedHat Linux 5.1 and another Intel Pentium 2 440MHz 
with MMX computer also running RedHat Linux 5.1. They are connected via a 
hub which is hooked up to the 486.

Both machines can recognize their network cards, but they cannot ping each 
other. Using ifconfig, should I set it to a Point-to-Point link or just 
give the Broadcast adderss? What do I have to set up in my routing table?

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

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

From: [EMAIL PROTECTED] (Wayne D. Hoxsie Jr.)
Crossposted-To: alt.os.linux.slackware
Subject: Re: can't locate module ppp-compress-21
Date: 15 May 1999 04:33:32 GMT
Reply-To: [EMAIL PROTECTED]

In article <SH%_2.17102$[EMAIL PROTECTED]>, Eriksson wrote:
>I'm having troubles with my PPP script again.
>
>This time it might be that "can't locate module ppp-compress-21"  error I
>get just before I'm assigned an IP address from my ISP.
>
>How can I fix that?
>
>Slackware 3.6
>Kernel 2.2.4
>
>Many thx!

Add a couple of lines to your /etc/conf.modules file:

alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate

and make sure that you have the modules above in your
/lib/modules/[ver]/net

-- 
Wayne D. Hoxsie Jr. KG9ME    | Small wheel turn by the fire and rod,
[EMAIL PROTECTED]        | Big wheel turn by the grace of God,
http://www.hoxnet.com        | Every time that wheel turn 'round,
PGP Key ID 138BCEE1          | Bound to cover just a little more ground.

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

From: barbwired@Amy. (Barbwired)
Crossposted-To: comp.os.linux.setup,es.comp.os.linux
Subject: Re: me urge conectar 2 =?iso-8859-1?Q?pc=B4s_en_red?=
Date: Sat, 15 May 1999 06:31:44 +0200
Reply-To: [EMAIL PROTECTED]

Mary, bonita...
comprendo la urgencia de tu problema, pero demuestras muy poco respeto para
con los que pretendes que te ayuden mandando el mismo mensaje cuarenta
veces. No estamos ciegos, vemos perfectamente y con una vez hubiera bastado.
Espero que no lo tomes por costumbre.
Un saludo (de buen rollo)
_______________________________________________________________________
Barbwired  - The TranslatriX - U.Complutense Madrid - Filolog�a Inglesa
Proudly using Debian GNU/Linux 2.2.8  Since Oct98   - PGP ID 0x03C87C81 
Web de aenima:                            http://come.to/aenima.madrid/
Linux & Laptops:                 http://www.angelfire.com/on/barbwired/
Web de Vigulinux:     http://www.ctv.es/USERS/vigu/linux/vigulinux.html
=======================================================================
X windows: Complex nonsolutions to simple nonproblems.

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

From: hazzmat <[EMAIL PROTECTED]>
Subject: Re: newbie-to-lan: cannot ping other box
Date: Sat, 15 May 1999 00:55:15 -0400

Hey here's some weirdness:
[root@BLINKY /root]# ping BABY
PING BABY.localdomain (192.168.1.2): 56 data bytes
64 bytes from 192.168.1.2: icmp_seq=0 ttl=255 time=1.5 ms
64 bytes from 192.168.1.2: icmp_seq=1 ttl=255 time=0.4 ms
64 bytes from 192.168.1.2: icmp_seq=2 ttl=255 time=0.4 ms
64 bytes from 192.168.1.2: icmp_seq=3 ttl=255 time=0.4 ms
64 bytes from 192.168.1.2: icmp_seq=4 ttl=255 time=0.4 ms
64 bytes from 192.168.1.2: icmp_seq=5 ttl=255 time=0.4 ms
64 bytes from 192.168.1.2: icmp_seq=6 ttl=255 time=0.5 ms
64 bytes from 192.168.1.2: icmp_seq=7 ttl=255 time=0.4 ms
64 bytes from 192.168.1.2: icmp_seq=8 ttl=255 time=0.4 ms
64 bytes from 192.168.1.2: icmp_seq=9 ttl=255 time=0.4 ms

--- BABY.localdomain ping statistics ---
10 packets transmitted, 10 packets received, 0% packet loss
round-trip min/avg/max = 0.4/0.5/1.5 ms
[root@BLINKY /root]# ping BABY
PING BABY.localdomain (192.168.1.2): 56 data bytes

--- BABY.localdomain ping statistics ---
14 packets transmitted, 0 packets received, 100% packet loss

the second, failed ping was seconds after the successful first -no change in
configuration in between. Is my 10baset hub now preventing consistent
communication?
hazzmat

Curt wrote:

> Only thing I can suggest now is to try some of the other ne2000 setup
> programs and see if they work
> for you card.  You might start at ftp://ftp.linksys.com/pub/network.
> ether16.exe  might work.
>
> hazzmat <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > > Hello again,  here is dmesg output. Changed irq to 11 --still no
> blinking on
> > > the hub. Thanks for all the thought you've been putting in toward this.
> I
> > > downloaded kernel 2.2.9 last night because I saw something that said it
> had
> > > better support for ne clones like mine, and I botched the install
> somehow.
> > > Anyway, there is a reference to irq's on ide1 in the body of this output
> but
> > > I have no idea what it means.
> > > Linux version 2.2.5-15 ([EMAIL PROTECTED]) (gcc version
> > > egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 Mon Apr 19 22:21:09
> EDT
> > > 1999
> > > Detected 350803218 Hz processor.
> > > Console: colour VGA+ 80x25
> > > Calibrating delay loop... 699.60 BogoMIPS
> > > Memory: 127972k/131008k available (996k kernel code, 412k reserved,
> 1568k
> > > data, 60k init)
> > > VFS: Diskquotas version dquot_6.4.0 initialized
> > > CPU: AMD AMD-K6(tm) 3D processor stepping 00
> > > Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
> > > Checking 'hlt' instruction... OK.
> > > POSIX conformance testing by UNIFIX
> > > PCI: PCI BIOS revision 2.10 entry at 0xfb2f0
> > > PCI: Using configuration type 1
> > > PCI: Probing PCI hardware
> > > PCI: 00:38 [1106/0586]: Work around ISA DMA hangs (00)
> > > Activating ISA DMA hang workarounds.
> > > Linux NET4.0 for Linux 2.2
> > > Based upon Swansea University Computer Society NET3.039
> > > NET4: Unix domain sockets 1.0 for Linux NET4.0.
> > > NET4: Linux TCP/IP 1.0 for NET4.0
> > > IP Protocols: ICMP, UDP, TCP, IGMP
> > > Initializing RT netlink socket
> > > Starting kswapd v 1.5
> > >
> > > Detected PS/2 Mouse Port.
> > > Serial driver version 4.27 with MANY_PORTS MULTIPORT SHARE_IRQ enabled
> > > ttyS02 at 0x03e8 (irq = 4) is a 16550A
> > > ttyS03 at 0x02e8 (irq = 3) is a 16550A
> > > pty: 256 Unix98 ptys configured
> > > apm: BIOS version 1.2 Flags 0x07 (Driver version 1.9)
> > > Real Time Clock Driver v1.09
> > > RAM disk driver initialized:  16 RAM disks of 4096K size
> > > VP_IDE: IDE controller on PCI bus 00 dev 39
> > > VP_IDE: not 100% native mode: will probe irqs later
> > >     ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:DMA, hdb:DMA
> > >     ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:DMA, hdd:DMA
> > > hda: WDC AC26400B, ATA DISK drive
> > > hdb: WDC AC35100L, ATA DISK drive
> > > hdc: ATAPI CD-ROM DRIVE 32X MAXIMUM, ATAPI CDROM drive
> > > hdd: IOMEGA ZIP 100 ATAPI Floppy, ATAPI FLOPPY drive
> > > ide2: ports already in use, skipping probe
> > > ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> > > ide1 at 0x170-0x177,0x376 on irq 15
> > > hda: WDC AC26400B, 6149MB w/512kB Cache, CHS=784/255/63
> > > hdb: WDC AC35100L, 4924MB w/256kB Cache, CHS=627/255/63
> > > hdc: ATAPI 27X CD-ROM drive, 120kB Cache
> > > Uniform CDROM driver Revision: 2.54
> > > Floppy drive(s): fd0 is 1.44M
> > >
> > > FDC 0 is a post-1991 82077
> > > md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12
> > > raid5: measuring checksumming speed
> > > raid5: using high-speed MMX checksum routine
> > >    pII_mmx   :   753.999 MB/sec
> > >    p5_mmx    :   673.989 MB/sec
> > >    8regs     :   515.493 MB/sec
> > >    32regs    :   369.189 MB/sec
> > > using fastest function: pII_mmx (753.999 MB/sec)
> > > scsi : 0 hosts.
> > > scsi : detected total.
> > > md.c: sizeof(mdp_super_t) = 4096
> > > Partition check:
> > >  hda: hda1 hda2 < hda5 hda6 hda7 >
> > >  hdb:
> > > autodetecting RAID arrays
> > > autorun ...
> > > ... autorun DONE.
> > > VFS: Mounted root (ext2 filesystem) readonly.
> > > Freeing unused kernel memory: 60k freed
> > > Adding Swap: 72256k swap-space (priority -1)
> > > Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
> > > SB 4.16 detected OK (220)
> > > <SoundBlaster EMU8000 (RAM512k)>
> > > ne.c:v1.10 9/23/94 Donald Becker ([EMAIL PROTECTED])
> > > NE*000 ethercard probe at 0x300: 00 40 95 76 f2 07
> > > eth0: NE2000 found at 0x300, using IRQ 11.
> > > Installing knfsd (copyright (C) 1996 [EMAIL PROTECTED]).
> > > nfsd_init: initialized fhcache, entries=256
> > > CSLIP: code copyright 1989 Regents of the University of California
> > > PPP: version 2.3.3 (demand dialling)
> > > PPP line discipline registered.
> > > registered device ppp0
> > > Try IRQ 11. Since it seems to be finding the card a 0x300, I assume that
> is
> > > correct.   But, you might take a look
> > > /proc/ioports to see if there is a possible overlap.  Also post output
> of
> > > dmesg if you can.
> > >
> > > hazzmat <[EMAIL PROTECTED]> wrote in message
> > > news:[EMAIL PROTECTED]...
> > > > Curt wrote:
> > > >
> > > > > Do you recall what IRQ it used under 5.1, mostly likely that will
> work
> > > > > again.
> > > > > I doubt if it was IRQ 9.  Try setting the following in
> /etc/conf.modules
> > > > >
> > > > > alias eth0 ne
> > > > > options ne io=0x300 irq=10
> > > > >
> > > >
> > > > Seems to be doing the same at irq10 and 7 as it was at 9.  I can ping
> > > > 192.168.1.1 --but nothing else.
> > > > INKY /root]# cat /proc/interrupts
> > > >            CPU0
> > > >   0:      77288          XT-PIC  timer
> > > >   1:        797          XT-PIC  keyboard
> > > >   2:          0          XT-PIC  cascade
> > > >   4:      32691          XT-PIC  serial
> > > >   5:      68539          XT-PIC  soundblaster
> > > >   7:          0          XT-PIC  NE2000
> > > >   8:          2          XT-PIC  rtc
> > > >  12:      27308          XT-PIC  PS/2 Mouse
> > > >  13:          1          XT-PIC  fpu
> > > >  14:     101342          XT-PIC  ide0
> > > >  15:         25          XT-PIC  ide1
> > > > NMI:          0
> > > > [root@BLINKY /root]# ping 192.168.1.2
> > > > PING 192.168.1.2 (192.168.1.2): 56 data bytes
> > > >
> > > > --- 192.168.1.2 ping statistics ---
> > > > 2 packets transmitted, 0 packets received, 100% packet loss
> > > >
> > > > I don't know what irq # it used to work at --it was about a year ago
> that
> > > it
> > > > was setup that way. 5.1 was installed to my box through the card at a
> > > Linux
> > > > friendly store. I never actually needed the card 'til now.
> > > >
> > > > I edited conf.modules like you suggested and I removed the
> pre-existing
> > > eth0
> > > > reference
> > > > so that it now looks like this:
> > > >
> > > > alias parport_lowlevel parport_pc
> > > > pre-install pcmcia_core /etc/rc.d/init.d/pcmcia start
> > > > alias sound sb
> > > > pre-install sound insmod sound dmabuf=1
> > > > options opl3 io=0x388
> > > > alias midi awe_wave
> > > > post-install awe_wave /bin/sfxload /etc/midi/GU11-ROM.SF2
> > > > options sb dma16=5 io=0x220 mpu_io=0x330 irq=5 dma=1
> > > > alias eth0 ne
> > > > options ne io=0x300 irq=7
> > > > (also tried irq10 first)
> > > >
> > > > I am rebooting between changes because I noticed that the address in
> > > > /proc/interrupts wasn't changing along with changes to conf.modules
> even
> > > though
> > > > I restarted the kernel daemon (hit the button for it) through
> kernelcfg.
> > > Also I
> > > > am checking to make sure these Irq's are not turned off in the BIOS
> (10
> > > was
> > > > disabled, but I turned it on to 'primary' before trying)
> > > > When I attempt to ping the G3 the LED on the hub should blink some
> right?
> > > Any
> > > > other configuration files that I need to know about --like routing
> stuff?
> > > >
> >


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

From: hazzmat <[EMAIL PROTECTED]>
Crossposted-To: alt.linux.slakware
Subject: Re: can't ping, ftp etc "Unable to connect, unknown host"
Date: Sat, 15 May 1999 01:36:56 -0400

Hi,
Beware advice from the very-newbie (like me)....
        Do you have a ethernet card? And if so, do you remember the point in
your installation when you set it up --there's a line in the setup screen, the
third i believe, that reads "default gateway". The redhat install program will
automatically put a 'reasonable' number in here for you if you simply enter a
IP for your nic on the first field. Unfortunately, this will screw-up your PPP
connection to Internet , if you make that connection directly from your Linux
box without going through a gateway host on your LAN. You would deliberately
have to zero out this field during initial setup to avoid having unusable PPP.

    If I have guessed your problem correctly, in the output of the route
command you will see some # like 192.168.1..254 flagged with the UG 'gateway'
tag in the output--but PPP.is also flagged as UG! This means that your box
dials up and authenticates itself to the ISP but all your TCP requests and
such are mis-routed to the eth interface.  Study the man page for route to
figure out how to delete this spurious gateway. Or reinstall and be sure to
avoid having the eth0 interface become a gateway device. Ask someone for help
with route, it's a complicated pain in the neck to use correctly.

I don't really know what I am doing --your situation sounds exactly like one I
had, though.
Eriksson wrote:

> it is me again.
>
> I'm having troubles with my PPP script. (who hasn't?)
>
> This is what happends.
>
> # pppd
> the modem dials the number and I connect to my ISP.
>
> When I check /var/log/messages I see that I've got an IP address.
>
> BUT Something is wrong with the host lookup things. I can't do anything!
> When I try to ftp it says. "Unknown host servername" or "Unable to connect,
> unknown host" etc..
>
> in /etc/resolv.conf I've got all the nameservers that my ISP provides.
>
> What have I missed?
>
> Thanx!
>
> /Martin


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

From: "Cameron Spitzer" <[EMAIL PROTECTED]>
Subject: Re: Apache on Large Corporate Network
Date: 15 May 1999 05:26:44 GMT

In article <7hicsr$fph$[EMAIL PROTECTED]>,
Chris Knapp <[EMAIL PROTECTED]> wrote:
>Hello,
>
>I recently installed redhat 5.2 on an older Pentium Pro at work. The install
>went flawlessly, I selected DHCP as the networking protocol, and when I
>rebooted, the machine logged me in as root on the PDC.

What's a PDC?


>Questions:  I want to use this machine as a temporary webserver on a
>300-node NT network- how do I get Apache to work?

The only hard problem will be telling the 300 NT machines where
you are.  DHCP is likely to give you a new IP number each time
you connect.  You have to arrange for somebody to serve that
number when one of the 300 NT machines asks for an address
for www.linux.yourcompany.com.  Hint: ask whoever is responsible
for the DHCP server.  Chances are they'll give you a static
IP number from their secret stash.


> A lot of the HowTo's
>explain how to use a Linux machine as the sole server, but we have fully
>functioning network and simply want to add a web-server.  Can someone point
>me to info on how to do this or give me some general tips?

Red Hat comes with Apache.  But if you're serious, go to
www.apache.org and follow the "Download!" and "Server Documentation"
links.  Apache is very well put together, and it will install and
run for you with no problems, despite its complexity
and zillions of installation options.  Just read the instructions.

Cameron
(still baffled by suEXEC though.)


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

From: John Hovell <[EMAIL PROTECTED]>
Crossposted-To: linux.help,linux.redhat.ppp,linux.redhat.misc
Subject: Re: auto dial
Date: Sat, 15 May 1999 05:24:42 GMT

this isn't tough at all...
add/change the line in /etc/sysconfig/network-scripts/ifcfg-ppp0 where ppp0
is the right device to ONBOOT=yes.

James Smith wrote:

> now that i have all my scripts working, how do i set it up to dial when
> linux starts up? im using redhat 6.


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

From: . <[EMAIL PROTECTED]>
Subject: Re: -----modem/ppp/'chat help?
Date: 14 May 1999 21:12:41 -0700

All I get is script failed.

In article <[EMAIL PROTECTED]>, gus says...
>
>You say your modem dials in minicom ...
>what did you type to do that?
>
>Take what you typed in minicom, and copy it in to a file, say
>/etc/ppp/chat.script
>This will probably look something like this:
>ATDTxxxxxxx
>yourloginname
>yourpassword
>
>This is not enough. The modem has to be initialised. minicom does this,
>and it will appear on the minicom screen as a string something like:
>AT&F1 S0=0 &E1 .....
>OK
>copy this line and make it the first line in the new
>/etc/ppp/chat.script.
>
>This is a oneway communication so far. These are all the things which
>you send *to* the modem.
>
>chat works on a prompt-response mechanism. it expects to see something,
>and when it does, it responds with something.
>
>*nearly* every line in a chat script should have two items. The prompt,
>and response. The /etc/ppp/chat.script now has only the responses. We
>need to add the prompt.
>
>First we want to initialise the modem, but there will be no prompt for
>that. we use empty quotes to represent that (because the response has
>spaces, we need to put it in quotes ....):
>'' "AT&F1 S0=0 &E1 &H1 ...."
>The modem should respond with "OK" which will be the prompt for the next
>chat command:
>OK ATDTxxxxxxx
>
>This will do a lot of things, but at some point it will probably say
>CONNECT, and then later something like "login:" or "username:" This
>should be the prompt for the next response... often only the last part
>of the prompt is used because there may be some character mangling ...
>;-)
>
>ogin: yourusername
>
>the next prompt will be a password:
>
>ssword: yourpassword
>
>Many ISP's will use the above mechanism. Some will use PAP (Which I have
>no clue with .. ;-)
>
>My ISP also has a prompt "Protocol" which I have to respond to with
>"PPP".
>
>Then, there are control flow "things" as well, which show chat when to
>abort with an error.
>
>My chat.script looks something like this:
>
>ABORT "NO CARRIER"
>ABORT "BUSY"
>'' "AT &F1 &H1 S0=0 &E1"
>OK ATDT012345678
>ogin: gus
>ssword: gusspassword
>otocol: PPP
>
>To use this from pppd, I use the following:
>
>pppd /dev/ttyS1 115200 debug modem lock defaultroute \
>     connect 'chat -v -file /etc/ppp/chat.script'
>
>read the ISP-hookup HOWTO, the PPP-HOWTO, and the chat and pppd man
>pages.
>
>pppd connect 'chat -v ' crstcts -detach debug modem
>
>which is what you use is simply not enough. It does not even dial the
>modem ... ;-)
>
>gus
>
>
>
>. wrote:
>> 
>> I am using a fresh install of RH5.2 with XFree upgrades and
>>enlightenment/panel/e-conf and the minicom upgrade. I have tried the method in
>>RH5.2 unleashed (pppd/chatscripts) I have tried every version at those sites in
>>the other post. I really am SOL ain't I? My modem will dial in minicom but not
>> any other way I have tried.
>> 
>>I set my loopback (pinged it, ok), I modemtooled cua1 and modem. I used netcfg
>>and added my nameserver, and thats pretty much it other than adding pap secret
>>stuff (that is the only thing most sites agree on, did you know there are over 8
>> versions/opinions?).
>> 
>>/var/log/messages pretty much says the same thing - config request timeout (or
>> somthing similar)
>> 
>> In article <[EMAIL PROTECTED]>, Stan says...
>> >
>> >"." wrote:
>> >>
>>>>I am trying still (almost 2 weeks now) to get the internet up and running and
>> >> this is what my log says. WHat does it mean?
>> >>
>> >> When I type this: pppd connect 'chat -v ' crstcts -detach debug modem
>>>>defaultroute /dev/cua1 115200 I get this with most command combinations, it is
>> >> quick until I hit the sent part and I didn't hear any dialing:
>> >> May 10 18:07:45 localhost pppd[381]: pppd 2.3.5 started by root, uid 0
>> >> May 10 18:07:46 localhost pppd[381]: Serial connection established.
>> >> May 10 18:07:47 localhost pppd[381]: Using interface ppp0
>> >> May 10 18:07:47 localhost pppd[381]: Connect: ppp0 <--> /dev/cua1
>>>>May 10 18:07:47 localhost pppd[381]: sent [LCP ConfReq id=0x1 <magic
>>0xc17e2b28>
>> >> <pcomp> <accomp>]
>> >> May 10 18:08:14 localhost last message repeated 9 times
>> >> May 10 18:08:17 localhost pppd[381]: LCP: timeout sending Config-Requests
>> >> May 10 18:08:17 localhost pppd[381]: Connection terminated.
>> >>
>>>>As long as I am writing, If I wanted to disable most security problems (would
>>>>inetd bypass this? if so, how do I kill it too?). Would this work to cancel
>>all
>> >> incoming requests for connections?
>> >> -hosts.allow-
>> >> ALL: 127.0.0.1
>> >> ALL: 0.0.0.0
>> >> -hosts.deny-
>> >> ALL: ALL
>> >
>> >I replied to your earlier post before I saw this one.  I will be glad to try
>>>and help, but I need to start with getting a little more info about exactly how
>> >you are trying to accomplish this and what you have tried so far.  Please go
>> >back and read my other post to your earlier message.  Also what distribution
>> >are you using?
>> >--
>> >Stan
>> >
>> >This message was sent to you from a machine powered by Linux...
>> >(...for those who need to do more than peek through windows)
>> >
>> >Suse 6.0 with Kernel 2.2.8


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

From: [EMAIL PROTECTED]
Subject: Re: linux and 3com 905b at 100MB
Date: Sun, 09 May 1999 09:14:06 GMT

In article <7fleu2$rdk$[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
> Hi
>
> I want to get my 3com 905b work with 100MB When the kernel starts my hub
> signals that the 3com switches from 100 to 10MB must I compile my
> networkdriver as a module to use parameters and what are these or is there
> any other way to switch the mode to 100MB?
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own
>
I had the same problem with the 3c59x v0.99H driver at RedHat 5.2
with the Kernel 2.0.36 (Two P2 233 boxes with identical 905B-TX NICs
directly connected by crosswired TP cable). Each time 3c59x driver
initialize the NIC falls down to 10bps. Even the following settings
in the conf.modules

alias eth0 3c59x
options 3c59x options=20 full_duplex=1

changed nothing. Eventually I was able to resolve the trouble
by increasing some timing parameter in the driver as follows

477c477
<   { "100baseTX", Media_Lnk, 0x02, XCVR_100baseFx, (40*HZ)/10},
---
>   { "100baseTX", Media_Lnk, 0x02, XCVR_100baseFx, (14*HZ)/10},

Now networks works fine at 100bps. Maybe such "surgery" results
in some performance penalty, but have nothing to compare...

Vadim V. Zhytnikov

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

Reply via email to