From owner-freebsd-questions Fri Jun 14 09:26:52 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id JAA25980 for questions-outgoing; Fri, 14 Jun 1996 09:26:52 -0700 (PDT) Received: from netcom6.netcom.com (hawk2@netcom6.netcom.com [192.100.81.114]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id JAA25974 for ; Fri, 14 Jun 1996 09:26:50 -0700 (PDT) Received: (from hawk2@localhost) by netcom6.netcom.com (8.6.13/Netcom) id JAA27007; Fri, 14 Jun 1996 09:26:48 -0700 Date: Fri, 14 Jun 1996 09:26:48 -0700 (PDT) From: hawky/Hawksmom Subject: I am still having modem problems To: questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I was able to use the modme viauser ppp's 'term' feature. but after getting my local ethernet working, my modem was no longer useable. It was being used on /dev/cuaa0. now dmesg shows it being found on sio1. When I tired setting everything to cuaa1 term lets me connect, to the modem (when set to cuaa0 it says failed to connect to modem), but I can't type anything to it. I have tried everything I can possibly think of. Below is any file I think could be of any use to solving this, also since I am new to freebsd if you see anything else that doesn't seem right below let me know ;) I am thinking maybe my modem just went bad or something. Thanks in advance. Geoff /usr/src/sys/i386/conf/KERNEL2 machine "i386" cpu "I586_CPU" ident "KERNEL2" maxusers 10 options INET #InterNETworking options FFS #Berkeley Fast Filesystem options NFS #Network Filesystem options MSDOSFS #MSDOS Filesystem options "CD9660" #ISO 9660 Filesystem options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 # options "SCSI_DELAY=15" #Be pessimistic about Joe SCSI device # options BOUNCE_BUFFERS #include support for DMA bounce buffers options UCONSOLE #Allow users to grab the console options SYSVSHM options SYSVSEM options SYSVMSG config kernel root on wd0 controller isa0 controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr disk wd0 at wdc0 drive 0 # disk wd1 at wdc0 drive 1 options ATAPI #Enable ATAPI support for IDE bus device wcd0 #IDE CD-ROM # syscons is the default console driver, resembling an SCO console device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver #device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint options "PCVT_FREEBSD=210" # pcvt running on FreeBSD 2.1 options XSERVER # include code for XFree86 device npx0 at isa? port "IO_NPX" irq 13 vector npxintr device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr #device sio2 at isa? port "IO_COM3" tty irq 5 vector siointr #device sio3 at isa? port "IO_COM4" tty irq 9 vector siointr device lpt0 at isa? port? tty irq 11 vector lptintr # This is support for a ps/2 mouse pulled from LINT device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr device ep0 at isa? port 0x300 net irq 10 vector epintr # These are sound blaster defines pulled from LINT controller snd0 device sb0 at isa? port 0x220 irq 7 conflicts drq 1 vector sbintr device sbxvi0 at isa? drq 5 # This doesn't seemed to be found so I am taking it out for a smaller kernel # putting it back in so the thing compiles... device sbmidi0 at isa? port 0x330 pseudo-device loop pseudo-device ether pseudo-device log #pseudo-device sl 1 # ijppp uses tun instead of ppp device #pseudo-device ppp 1 pseudo-device tun 3 pseudo-device pty 32 pseudo-device gzip # Exec gzipped a.out's /etc/sysconfig: #!/bin/sh # ######################### Start Of Syscons Section ####################### # Choose keyboard map from /usr/share/syscons/keymaps/* or NO if default. keymap="us.iso" # Set keyboard rate to: slow, normal, fast or NO if default. keyrate="fast" # Change function keys default values (or no change if NO) # Syntax: " [ ]..." keychange=NO # Desired cursor type {normal|blink|destructive}, NO if no change cursor=NO # Choose screen map from /usr/share/syscons/scrnmaps/* (or NO for none) scrnmap=NO # Choose font 8x16 from /usr/share/syscons/fonts/* (or NO for default) font8x16=NO # Choose font 8x14 from /usr/share/syscons/fonts/* (or NO for default) font8x14=NO # Choose font 8x8 from /usr/share/syscons/fonts/* (or NO for default) font8x8=NO # Set blank time (in seconds) or "off" to turn it off (or NO for default) blanktime="900" # Set to screen saver desired: blank, green, snake, star (or NO for none) saver="blank" ######################### End Of Syscons Section ####################### ######################### Start Of Netconfig Section ####################### # Set to the name of your host - this is pretty important! hostname="nobody" # Set to the NIS domainname of your host, or NO if none defaultdomainname=NO # # Some broken implementations can't handle the RFC 1323 and RFC 1644 # TCP options. If TCP connections randomly hang, try disabling this, # and bug the vendor of the losing equipment. # tcp_extensions=YES # # Set to the list of network devices on this host. You must have an # ifconfig_${network_interface} line for each interface listed here. # for example: # network_interfaces="lo0 ep0" ifconfig_lo0="inet localhost" ifconfig_ep0="inet 204.212.160.181 netmask 255.255.255.0" # ifconfig_cuaa0="inet 192.215.166.87 netmask 255.255.255.0" # # Set to the list of route add lines for this host. You must have a # route_${static_routes} line for each static route listed here. # # static_routes="multicast loopback ethernet" static_routes="loopback ethernet" # route_multicast="224.0.0.0 -netmask 0xf0000000 -interface ${hostname}" route_loopback="${hostname} localhost" route_ethernet="204.212.160.0 -netmask 255.255.255.0 -interface 204.212.160.181" # Set to the host you'd like set as your default router, or NO for none. defaultrouter="127.0.0.1" # These are the flags you'd like to start the routing daemon with routedflags="-q" # timed flags, or NO if you don't want to start the time daemon timedflags=NO # xntpd flags, or NO if you don't want to start the xntpd daemon xntpdflags="NO" # this is inoperative unless xntpd is enabled; NO to disable tickadjflags="-Aq" # Set to the site you'd like to syncronize your clock from (gatekeeper.dec.com, # for example) or NO for no such site. ntpdate="NO" # Set to YES if you want to run rwhod rwhod=YES # Default sendmail flags. -bd is pretty mandatory, -qm sets the queue scan # time in minutes. If set to NO, don't start sendmail at all. sendmail_flags="-bd -q30m" # Set to appropriate flags if you want to use AMD amdflags="NO" # Set to YES if this machine will be an NFS client nfs_client="NO" # Set to YES if this machine will be an NFS server nfs_server="NO" # Set to appropriate flags if you want to start NIS for a client nis_clientflags="NO" # Set to host to ypset to if you need to do that nis_ypsetflags="NO" # Set to appropriate flags if you want to start NIS for a server nis_serverflags="NO" # Set to appropriate flags for yppasswdd, if you wish to run it. # Typical flags might be "-m /var/yp/master.passwd -s -f" yppasswddflags="NO" # Set to appropriate flags for named, if you have a full-time # connection to the Internet. # For most hosts, flags should be "-b /etc/namedb/named.boot" namedflags="NO" # Set to YES if you run PC-NFSD (see /usr/ports/net/pcnfsd) for # sharing filesystems with DOS/Windows PCs. pcnfsd=NO # Set to YES if you have the Apache WEB server (see /usr/ports/net/apache) # installed and want to run it at system startup time (this is better than # running it from inetd if you're running a dedicated WWW server). apache_httpd="YES" # Set to YES if you want to run the X-10 power controller daemon xtend=NO # Set to the name of the device for kernel crashdumps, or `off' to # disable any statically configured dumpdev, or NO for no change. # The device should normally be one of the swap devices specified # in /etc/fstab. dumpdev=NO # Set to YES if you want kernel crashdumps to be saved for debugging savecore=NO # Set to YES if you want to run Kerberos authentication kerberos_server=NO # If you want this host to be a gateway, set to YES. gateway="YES" # Set to YES if you want to run gated gated=NO # Set to YES if you wish to check quotas. NOTE: For now this probably # doesn't work and should be left disabled. check_quotas=NO # Set to YES to turn on accounting. NOTE: For now this probably # doesn't work and should be left disabled. accounting=NO ######################### End Of Netconfig Section ####################### ######################### Start Of Misc Section ####################### # Set to YES if you want ibcs2 (SCO) emulation loaded at startup ibcs2=NO dmesg: FreeBSD 2.1.0-RELEASE #0: Wed Jun 12 22:50:33 PDT 1996 root@nobody:/usr/src/sys/compile/KERNEL2 CPU: 133-MHz Pentium 735\\90 or 815\\100 (Pentium-class CPU) Origin = "GenuineIntel" Id = 0x52b Stepping=11 Features=0x1bf real memory = 16777216 (16384K bytes) avail memory = 14979072 (14628K bytes) Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> sio0 not found at 0x3f8 sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A lpt0 at 0x378-0x37f irq 11 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface psm0 at 0x60-0x63 irq 12 on motherboard fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 1554MB (3183264 sectors), 3158 cyls, 16 heads, 63 S/T, 512 B/S wdc0: unit 1 (atapi): <655A/5.1D>, removable, iordy atapi0.1: unknown phase 1 3C5x9 board(s) on ISA found at 0x300 ep0 at 0x300-0x30f irq 10 on isa ep0: aui/bnc[*BNC*] address 00:a0:24:0a:67:fa irq 10 npx0 on motherboard npx0: INT 16 interface sb0 at 0x220 irq 7 drq 1 on isa sb0: sbxvi0 at 0x0 drq 5 on isa sbxvo0: sbmidi0 not found at 0x330 Probing for devices on the PCI bus: pci0:0: vendor=0x10b9, device=0x1451, class=bridge (host) [no driver assigned] pci0:2: vendor=0x10b9, device=0x1449, class=old (misc) [no driver assigned] pci0:3: CMD, device=0x0640, class=storage (ide) [no driver assigned] vga0 rev 71 on pci0:4 /etc/ppp/ppp.conf: # Default setup. Executed always when PPP is invoked. # default: set device /dev/cuaa0 set speed 38400 disable lqr deny lqr set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT" # # LAUSD: set phone [phone number here] set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp" set timeout 120 # # If peer reqires to use CHAP, don't forget to supply authname and authkey. # # If you'd like to use CHAP to authentificate peer, comment out the line # ``enable chap'' below. You also need to prepare /etc/ppp.secret. # # If remote system sends its system name within CHAP packet and it is # found in /etc/ppp.secret, then secret key is taken from the file and # value of authkey is ignored. # chapsite: set phone 12345678 set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp" deny pap accept chap # enable chap set authname MySystemName set authkey OurSecretKey # # To speak PAP is just smilar to CHAP # papsite: set phone 12345678 set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp" deny chap accept pap # enable pap set authname MyUserName set authkey MyPassword # # On demand dialup example # Here, we assume that local side use 192.244.185.226 and # remote side use 192.244.176.44 as their IP address. # You must supply -auto option to invoke PPP. # ondemand: set phone 1234567 set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp" set timeout 120 set ifaddr 192.244.185.226 192.244.176.44 add 0 255.255.255.0 192.244.176.44 # # Another on demand example # If peer assign some IP address for us, and we can't predict it # until we make a connection, use 0 as local side address. # pmdemend: set phone 1234567 set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp" set timeout 120 set ifaddr 0 192.244.176.44 add 0 255.255.255.0 192.244.176.44 # # Example to validate incoming user with CHAP # Invod as ``ppp -direct users'' from login script. User's system name # and secret-key must be registered into /etc/ppp.secret. # IP address assigned to peer is registered in ppp.secret, then that # value is used and value in ``ifaddr'' command has no effect. # users: disable pap enable chap enable proxy set authname ppp-server set ifaddr 192.244.176.44 292.244.184.31 # # Example of Callback Request # # Here, we assume that peer will hangup the line and initiates a callback # after successful authentification. We simply use chat script capabiluty # and wait for a "NO CARRIRER" response from our modem. # # % ppp callback # callback: set phone 0312345678 set login "ABORT NO\\sCARRIER TIMEOUT 5 login:-\\r-login: MyName word: MySecret TIMEOUT 20 DUMMY" set debug phase chat dial quit # # Example for PPP/TELNET and PPP/TCP. Read doc for further details # ppptelnet: set escape 0xff ppptcp: set device 192.244.191.33:2400 /etc/remote: # Systems definitions netcom|Netcom Unix Access:\ :pn=@:tc=unix1200: omen|Omen BBS:\ :pn=@:tc=dos1200: # UNIX system definitions unix1200|1200 Baud dial-out to a UNIX system:\ :el=^U^C^R^O^D^S^Q:ie=%$:oe=^D:tc=dial1200: unix300|300 Baud dial-out to a UNIX system:\ :el=^U^C^R^O^D^S^Q:ie=%$:oe=^D:tc=dial300: # DOS system definitions dos1200|1200 Baud dial-out to a DOS system:\ :el=^U^C^R^O^D^S^Q:ie=%$:oe=^Z:pa=none:tc=dial1200: dial2400|2400 Baud Hayes attributes:\ :dv=/dev/cuaa0:br#2400:cu=/dev/cuaa0:at=hayes:du: dial1200|1200 Baud Hayes attributes:\ :dv=/dev/cuaa0:br#1200:cu=/dev/cuaa0:at=hayes:du: # Hardwired line cuaa0a|cua0a:dv=/dev/cuaa0:br#28800 cuaa0b|cua0b:dv=/dev/cuaa0:br#2400 cuaa0c|cua0c:dv=/dev/cuaa0:br#9600