On Wed, 2003-02-26 at 19:18, Greg Playle wrote:
> On 19 Feb 2003 13:11:07 -0800, Richard Doyle wrote in reply:
> 
> ----------- snip -------------------
> Post a log segment showing a complete sequence of chat and pppd entries.
> In general it is helpful to post unedited logs (but replace passwords
> with x's).
> 
> The summary you provided doesn't provide any evidence that your system
> is communicating with your modem. The unsummarized log may give us a
> clue.
> 
> My home network has two internal subnets and a dial-up connection to the
> Internet (currently via an internal modem, but in the past an external
> one), so your intended configuration is quite feasible. Your problem is
> probably not LEAF-specific--you might get more help by looking in the
> ppp howto (https://secure.linuxports.com/howto/ppp/), which is a bit
> old, and the linux-ppp mailing list
> (http://vger.kernel.org/majordomo-info.html).
> 
> -Richard
> 
> 
> ----------------- end snip ------------------------------
> 
> Richard:
>       I had no fear that what I wanted was achievable; I seem to have done 
> something incorrectly in setting it up.
> 
>       I've pulled various logs and configuration files and will post them below. 
>  Advice and comment is quite welcome.
> 
>       The machine is an older P75, no hard drive, two 3C905B NICs, and an 
> external Zoltrix 56k modem.  What I am trying to set up is a dual-homed 
> firewall, dial-up service, and an internal "store and forward" server in 
> the DMZ, to capture, filter, and hold e-mail and such until I can join the 
> net and pull them.  Getting Bering working is the first step in this.
> 
>       On to the logs:  each is identified by a line before and after.  Some 
> lines may wrap
> 
> ------------ snip  /var/log/messages  ------------------------
> Feb 26 19:56:48 firewall syslogd 1.3-3#31.slink1: restart.
> Feb 26 19:56:48 firewall kernel: klogd 1.3-3#31.slink1, log source = 
> /proc/kmsg started.
> Feb 26 19:56:48 firewall kernel: Loaded 21 symbols from 8 modules.
> Feb 26 19:56:48 firewall kernel: BIOS-provided physical RAM map:
> Feb 26 19:56:48 firewall kernel: 32MB LOWMEM available.
> Feb 26 19:56:48 firewall kernel: Initializing CPU#0
> Feb 26 19:56:48 firewall kernel: Memory: 30136k/32768k available (965k 
> kernel code, 2244k reserved, 252k data, 64k init, 0k highmem)
> Feb 26 19:56:48 firewall kernel: Dentry cache hash table entries: 4096 
> (order: 3, 32768 bytes)
> Feb 26 19:56:48 firewall kernel: Inode cache hash table entries: 2048 
> (order: 2, 16384 bytes)
> Feb 26 19:56:48 firewall kernel: Intel Pentium with F0 0F bug - workaround 
> enabled.
> Feb 26 19:56:48 firewall kernel: Checking 'hlt' instruction... OK.
> Feb 26 19:56:48 firewall kernel: PCI: PCI BIOS revision 2.10 entry at 
> 0xfcb71, last bus=0
> Feb 26 19:56:48 firewall kernel: PCI: Using configuration type 1
> Feb 26 19:56:48 firewall kernel: PCI: Probing PCI hardware
> Feb 26 19:56:48 firewall kernel: Limiting direct PCI/PCI transfers.
> Feb 26 19:56:48 firewall kernel: Linux NET4.0 for Linux 2.4
> Feb 26 19:56:48 firewall kernel: Based upon Swansea University Computer 
> Society NET3.039
> Feb 26 19:56:48 firewall kernel: Serial driver version 5.05c (2001-07-08) 
> with MANY_PORTS SHARE_IRQ DETECT_IRQ SERIAL_PCI enabled
> Feb 26 19:56:48 firewall kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A
> Feb 26 19:56:48 firewall kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A
> Feb 26 19:56:48 firewall kernel: Real Time Clock Driver v1.10e
> Feb 26 19:56:48 firewall kernel: Software Watchdog Timer: 0.05, timer 
> margin: 60 sec
> Feb 26 19:56:48 firewall kernel: Floppy drive(s): fd0 is 1.44M
> Feb 26 19:56:48 firewall kernel: FDC 0 is a National Semiconductor PC87306
> Feb 26 19:56:48 firewall kernel: NET4: Linux TCP/IP 1.0 for NET4.0
> Feb 26 19:56:48 firewall kernel: IP Protocols: ICMP, UDP, TCP, IGMP
> Feb 26 19:56:48 firewall kernel: IP: routing cache hash table of 512 
> buckets, 4Kbytes
> Feb 26 19:56:48 firewall kernel: TCP: Hash tables configured (established 
> 2048 bind 2048)
> Feb 26 19:56:48 firewall kernel: NET4: Unix domain sockets 1.0/SMP for 
> Linux NET4.0.
> Feb 26 19:56:48 firewall kernel: RAMDISK: Compressed image found at block 0 
> Feb 26 19:56:48 firewall kernel: Freeing initrd memory: 401k freed
> Feb 26 19:56:48 firewall kernel: Freeing unused kernel memory: 64k freed
> Feb 26 19:56:48 firewall kernel: 3c509.c:1.19 16Oct2002 [EMAIL PROTECTED]
> Feb 26 19:56:48 firewall chat[9516]: abort on (BUSY)
This is oddly wrong. Your system is attempting to run chat even before
the kernel loads the ppp modules, much less pppd. What does your
/etc/network/interfaces file contain? Have you followed
http://leaf.sourceforge.net/devel/jnilo/bumodem.html step-by-step?


> Feb 26 19:56:48 firewall chat[9516]: abort on (NO CARRIER)
> Feb 26 19:56:48 firewall chat[9516]: abort on (VOICE)
> Feb 26 19:56:48 firewall chat[9516]: abort on (NO DIALTONE)
> Feb 26 19:56:48 firewall chat[9516]: abort on (NO ANSWER)
> Feb 26 19:56:48 firewall chat[9516]: send (ATZ^M)
> Feb 26 19:56:48 firewall kernel: http://www.scyld.com/network/3c509.html
> Feb 26 19:56:48 firewall kernel: CSLIP: code copyright 1989 Regents of the 
> University of California
> Feb 26 19:56:48 firewall kernel: PPP generic driver version 2.4.2
> Feb 26 19:56:49 firewall chat[9516]: expect (OK)
> Feb 26 19:56:56 firewall root: Shorewall Started
> Feb 26 19:57:34 firewall chat[9516]: alarm
> Feb 26 19:57:34 firewall chat[9516]: Failed
> 
> --------------------------------- end snip --------------------------------
> 
> -------------------------- snip /var/log/modules --------------------
Eh? I'll assume its /etc/modules, as the file itself states:

> # /etc/modules: kernel modules to load at boot time.
> #
> # ISA ethernet cards
> 3c509
> #eepro io=0x300
> 
> # Modules needed for PPP connection
> slhc
> ppp_generic
> ppp_async
> # The three following modules are not always needed
> #zlib_inflate
> #zlib_deflate
> ppp_deflate
> 
> # Masquerading 'helper' modules
> # Other modules available in bering/modules/net/ipv4/netfilter
> ip_conntrack_ftp
> ip_conntrack_irc
> ip_nat_ftp
> ip_nat_irc
> 
Look OK

> 
> --------------------------------- end snip --------------------------------
> 
> -------------------------- snip /var/log/ppp.log --------------------
> Feb 26 19:56:48 firewall chat[9516]: abort on (BUSY)
> Feb 26 19:56:48 firewall chat[9516]: abort on (NO CARRIER)
> Feb 26 19:56:48 firewall chat[9516]: abort on (VOICE)
> Feb 26 19:56:48 firewall chat[9516]: abort on (NO DIALTONE)
> Feb 26 19:56:48 firewall chat[9516]: abort on (NO ANSWER)
> Feb 26 19:56:48 firewall chat[9516]: send (ATZ^M)
> Feb 26 19:56:49 firewall chat[9516]: expect (OK)
> Feb 26 19:57:34 firewall chat[9516]: alarm
> Feb 26 19:57:34 firewall chat[9516]: Failed
Your modem didn't respond to the ATZ command. Do the modem lights blink
in a satisfying way when your firewall starts?

> 
> --------------------------------- end snip --------------------------------
> 
> chat script invokes is below; I modified it to what I thought would work
> 
> -------------------------- snip /var/log/provider -------------------
This is presumably not in the /var/log directory; if it is an
/etc/chatscripts/provider file, it looks OK, but you haven't got
anywhere near chatting with an ISP.

> # ISP login script
> # For Earthlink
> SAY "Sending Aborts...\n"
> ABORT "BUSY"
> ABORT "NO CARRIER"
> ABORT "VOICE"
> ABORT "NO DIALTONE"
> ABORT "NO ANSWER"
> "" ATZ
> # ISP telephone number: 124567890
> OK ATDT2840020#
> CONNECT ''
> # Commented out since this is not for Compu$erve
> # Name: CIS
> #ID: [EMAIL PROTECTED]
> login: [EMAIL PROTECTED]
> Password: password
> 
> ------------------ end snip ----------------------------------------
> 
> -------------------------- snip /var/log/syslog -------------------
> Feb 26 19:56:48 firewall kernel: Cannot find map file.
> Feb 26 19:56:48 firewall kernel: Linux version 2.4.20 ([EMAIL PROTECTED]) (gcc 
> version 2.95.4 20011002 (Debian prerelease)) #1 Sat Feb 15 19:56:05 CET 
> 2003
> Feb 26 19:56:48 firewall kernel:  BIOS-e820: 0000000000000000 - 
> 000000000009fc00 (usable)
> Feb 26 19:56:48 firewall kernel:  BIOS-e820: 0000000000100000 - 
> 0000000002000000 (usable)
> Feb 26 19:56:48 firewall kernel:  BIOS-e820: 00000000fffc0000 - 
> 0000000100000000 (reserved)
> Feb 26 19:56:48 firewall kernel: On node 0 totalpages: 8192
> Feb 26 19:56:48 firewall kernel: zone(0): 4096 pages.
> Feb 26 19:56:48 firewall kernel: zone(1): 4096 pages.
> Feb 26 19:56:48 firewall kernel: zone(2): 0 pages.
> Feb 26 19:56:48 firewall kernel: Kernel command line: BOOT_IMAGE=linux 
> initrd=initrd.lrp init=/linuxrc rw root=/dev/ram0 boot=/dev/fd0u1680:msdos 
> PKGPATH=/dev/fd0u1680 
> LRP=root,etc,local,modules,ppp,iptables,shorwall,ulogd,dnscache,weblet
> Feb 26 19:56:48 firewall kernel: Detected 74.704 MHz processor.
> Feb 26 19:56:48 firewall kernel: Console: colour VGA+ 80x25
> Feb 26 19:56:48 firewall kernel: Calibrating delay loop... 148.68 BogoMIPS
> Feb 26 19:56:48 firewall kernel: Mount-cache hash table entries: 512 
> (order: 0, 4096 bytes)
> Feb 26 19:56:48 firewall kernel: Buffer-cache hash table entries: 1024 
> (order: 0, 4096 bytes)
> Feb 26 19:56:48 firewall kernel: Page-cache hash table entries: 8192 
> (order: 3, 32768 bytes)
> Feb 26 19:56:48 firewall kernel: CPU: Intel Pentium 75 - 200 stepping 05
> Feb 26 19:56:48 firewall kernel: POSIX conformance testing by UNIFIX
> Feb 26 19:56:48 firewall kernel: Initializing RT netlink socket
> Feb 26 19:56:48 firewall kernel: Starting kswapd
> Feb 26 19:56:48 firewall kernel: pty: 256 Unix98 ptys configured
> Feb 26 19:56:48 firewall kernel: RAMDISK driver initialized: 16 RAM disks 
> of 4096K size 1024 blocksize
> Feb 26 19:56:48 firewall kernel: ip_conntrack version 2.1 (256 buckets, 
> 2048 max) - 320 bytes per conntrack
> Feb 26 19:56:48 firewall kernel: ip_tables: (C) 2000-2002 Netfilter core 
> team
> Feb 26 19:56:48 firewall kernel: arp_tables: (C) 2002 David S. Miller
> Feb 26 19:56:48 firewall kernel: VFS: Mounted root (minix filesystem).
> Feb 26 19:56:48 firewall kernel: eth0: 3c5x9 at 0x300, 10baseT port, 
> address  00 20 af 9a 4d 42, IRQ 10.
> Feb 26 19:56:48 firewall kernel: eth0: Setting 3c5x9/3c5x9B half-duplex 
> mode if_port: 0, sw_info: 1311
> Feb 26 19:56:48 firewall kernel: eth0: Setting Rx mode to 1 addresses.
Either you snipped the section on your second NIC, or the kernel didn't
configure it. Did you run the DOS configuration utility to set these
NICs to different addresses and IRQs?

Please look at http://leaf.sourceforge.net/devel/jnilo/bumodem.html

-Richard





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to