Date: Thu, 2 Sep 1999 21:39:37 +0300 From: =?iso-8859-9?B?RXJ0YW4gS/zn/Gtv8Gx1?= <ertank@softhome.net> To: <freebsd-newbies@FreeBSD.ORG> Subject: ppp setup (2) Message-ID: <001e01bef574$f7be2e00$aa93fcd4@Ertan> References: <020101bef269$9fa48600$857e03cb@jdy>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_0008_01BEF58B.A78DCD20 Content-Type: text/plain; charset="iso-8859-9" Content-Transfer-Encoding: 7bit Hello everbody, First of all I thank you for all your helps. At last I manage to setup my ppp connection files. But now have another problem. I can not use my modem to dial-up. I tried my best to setup my ppp connection but as usual I stuck. (Do not forget I am a newbie to FreeBSD.) I think the problem is because of my modem. It uses COM4 and IRQ 3 under DOS. But there is something diffrent in MYKERNEL file (I think). I have no idea how to setup or use parameters on this part of this configuration file. But I do not want to direct you wrong. I *think* the problem is this. I am *not* sure. I include my kernel configuration file and my ppp connection files attached. (Sorry I have Winzip under windows and do not know if gzip can handle files zipped with winzip so I attached files uncompressed.) I also include the result of "ppp -alias interactive" command. I have "interactive" part in my ppp.conf file. If you ask why I insist using "cuaa3" I have my own reasons. But if it is impossible to use then I try to use "cuaa0" or "cuaa1", but do not give up before trying. :-) I hope I do not forget to give any information required. Regards, Ertan Kucukoglu ertank@softhome.net ------=_NextPart_000_0008_01BEF58B.A78DCD20 Content-Type: application/octet-stream; name="Mykernel" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="Mykernel" #=0A= # GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks=0A= #=0A= # For more information read the handbook part System Administration -> =0A= # Configuring the FreeBSD Kernel -> The Configuration File. =0A= # The handbook is available in /usr/share/doc/handbook or online as=0A= # latest version from the FreeBSD World Wide Web server =0A= # <URL:http://www.FreeBSD.ORG/>=0A= #=0A= # An exhaustive list of options and more detailed explanations of the =0A= # device lines is present in the ./LINT configuration file. If you are =0A= # in doubt as to the purpose or necessity of a line, check first in LINT.=0A= #=0A= # $Id: GENERIC,v 1.143.2.12 1999/05/14 15:12:26 jkh Exp $=0A= =0A= machine "i386"=0A= #cpu "I386_CPU"=0A= #cpu "I486_CPU"=0A= cpu "I586_CPU"=0A= cpu "I686_CPU"=0A= ident MYKERNEL=0A= maxusers 32=0A= =0A= options MATH_EMULATE #Support for x87 emulation=0A= options INET #InterNETworking=0A= options FFS #Berkeley Fast Filesystem=0A= options FFS_ROOT #FFS usable as root device [keep this!]=0A= options MFS #Memory Filesystem=0A= options MFS_ROOT #MFS usable as root device, "MFS" req'ed=0A= options NFS #Network Filesystem=0A= options NFS_ROOT #NFS usable as root device, "NFS" req'ed=0A= options MSDOSFS #MSDOS Filesystem=0A= options "CD9660" #ISO 9660 Filesystem=0A= options "CD9660_ROOT" #CD-ROM usable as root. "CD9660" req'ed=0A= options PROCFS #Process filesystem=0A= options "COMPAT_43" #Compatible with BSD 4.3 [KEEP THIS!]=0A= options SCSI_DELAY=3D15000 #Be pessimistic about Joe SCSI device=0A= options UCONSOLE #Allow users to grab the console=0A= options FAILSAFE #Be conservative=0A= options USERCONFIG #boot -c editor=0A= options VISUAL_USERCONFIG #visual boot -c editor=0A= =0A= config kernel root on wd0=0A= =0A= # To make an SMP kernel, the next two are needed=0A= #options SMP # Symmetric MultiProcessor Kernel=0A= #options APIC_IO # Symmetric (APIC) I/O=0A= # Optionally these may need tweaked, (defaults shown):=0A= #options NCPU=3D2 # number of CPUs=0A= #options NBUS=3D4 # number of busses=0A= #options NAPIC=3D1 # number of IO APICs=0A= #options NINTR=3D24 # number of INTs=0A= =0A= controller isa0=0A= controller pnp0=0A= controller eisa0=0A= controller pci0=0A= =0A= controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2=0A= disk fd0 at fdc0 drive 0=0A= disk fd1 at fdc0 drive 1=0A= =0A= options "CMD640" # work around CMD640 chip deficiency=0A= controller wdc0 at isa? port "IO_WD1" bio irq 14=0A= disk wd0 at wdc0 drive 0=0A= disk wd1 at wdc0 drive 1=0A= =0A= controller wdc1 at isa? port "IO_WD2" bio irq 15=0A= disk wd2 at wdc1 drive 0=0A= disk wd3 at wdc1 drive 1=0A= =0A= options ATAPI #Enable ATAPI support for IDE bus=0A= options ATAPI_STATIC #Don't do it as an LKM=0A= device acd0 #IDE CD-ROM=0A= #device wfd0 #IDE Floppy (e.g. LS-120)=0A= =0A= # A single entry for any of these controllers (ncr, ahb, ahc) is=0A= # sufficient for any number of installed devices.=0A= #controller ncr0=0A= controller ahb0=0A= controller ahc0=0A= controller isp0=0A= =0A= # This controller offers a number of configuration options, too many to=0A= # document here - see the LINT file in this directory and look up the=0A= # dpt0 entry there for much fuller documentation on this.=0A= controller dpt0=0A= =0A= #controller adv0 at isa? port ? cam irq ?=0A= controller adw0=0A= #controller bt0 at isa? port ? cam irq ?=0A= #controller aha0 at isa? port ? cam irq ?=0A= =0A= controller scbus0=0A= =0A= device da0=0A= =0A= device sa0=0A= =0A= device pass0=0A= =0A= device cd0 #Only need one of these, the code dynamically grows=0A= =0A= device wt0 at isa? port 0x300 bio irq 5 drq 1=0A= #device mcd0 at isa? port 0x300 bio irq 10=0A= =0A= #controller matcd0 at isa? port 0x230 bio=0A= =0A= #device scd0 at isa? port 0x230 bio=0A= =0A= # atkbdc0 controlls both the keyboard and the PS/2 mouse=0A= controller atkbdc0 at isa? port IO_KBD tty=0A= device atkbd0 at isa? tty irq 1=0A= device psm0 at isa? tty irq 12=0A= =0A= device vga0 at isa? port ? conflicts=0A= =0A= # splash screen/screen saver=0A= pseudo-device splash=0A= =0A= # syscons is the default console driver, resembling an SCO console=0A= device sc0 at isa? tty=0A= # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver=0A= #device vt0 at isa? tty=0A= #options XSERVER # support for X server=0A= #options FAT_CURSOR # start with block cursor=0A= # If you have a ThinkPAD, uncomment this along with the rest of the PCVT = lines=0A= #options PCVT_SCANSET=3D2 # IBM keyboards are non-std=0A= =0A= device npx0 at isa? port IO_NPX irq 13=0A= =0A= #=0A= # Laptop support (see LINT for more options)=0A= #=0A= device apm0 at isa? disable flags 0x31 # Advanced Power Management=0A= =0A= # PCCARD (PCMCIA) support=0A= #controller card0=0A= #device pcic0 at card?=0A= #device pcic1 at card?=0A= =0A= device sio0 at isa? port "IO_COM1" flags 0x10 tty irq 4=0A= device sio1 at isa? port "IO_COM2" tty irq 3=0A= device sio2 at isa? port "IO_COM3" tty irq 5=0A= device sio3 at isa? port "IO_COM4" tty irq 9=0A= =0A= # Parallel port=0A= device ppc0 at isa? port? flags 0x40 net irq 7=0A= controller ppbus0=0A= device lpt0 at ppbus?=0A= device plip0 at ppbus?=0A= device ppi0 at ppbus?=0A= #controller vpo0 at ppbus?=0A= =0A= #=0A= # The following Ethernet NICs are all PCI devices.=0A= #=0A= #device ax0 # ASIX AX88140A=0A= #device de0 # DEC/Intel DC21x4x (``Tulip'')=0A= #device fxp0 # Intel EtherExpress PRO/100B (82557, 82558)=0A= #device mx0 # Macronix 98713/98715/98725 (``PMAC'')=0A= #device pn0 # Lite-On 82c168/82c169 (``PNIC'')=0A= #device rl0 # RealTek 8129/8139=0A= #device tl0 # Texas Instruments ThunderLAN=0A= #device tx0 # SMC 9432TX (83c170 ``EPIC'')=0A= device vr0 # VIA Rhine, Rhine II=0A= #device vx0 # 3Com 3c590, 3c595 (``Vortex'')=0A= #device wb0 # Winbond W89C840F=0A= device xl0 # 3Com 3c90x (``Boomerang'', ``Cyclone'')=0A= =0A= # Order is important here due to intrusive probes, do *not* alphabetize=0A= # this list of network interfaces until the probes have been fixed.=0A= # Right now it appears that the ie0 must be probed before ep0. See=0A= # revision 1.20 of this file.=0A= =0A= device ed0 at isa? port 0x300 net irq 3 iomem 0xd8000=0A= #device ie0 at isa? port 0x300 net irq 3 iomem 0xd0000=0A= #device ep0 at isa? port 0x300 net irq 10=0A= device ex0 at isa? port? net irq?=0A= #device fe0 at isa? port 0x300 net irq ?=0A= #device le0 at isa? port 0x300 net irq 5 iomem 0xd0000=0A= #device lnc0 at isa? port 0x280 net irq 10 drq 0=0A= #device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000=0A= #device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000=0A= #device cs0 at isa? port 0x300 net irq ?=0A= =0A= pseudo-device loop=0A= pseudo-device ether=0A= pseudo-device sl 1=0A= pseudo-device ppp 1=0A= pseudo-device tun 1=0A= pseudo-device pty 16=0A= pseudo-device gzip # Exec gzipped a.out's=0A= =0A= # KTRACE enables the system-call tracing facility ktrace(2).=0A= # This adds 4 KB bloat to your kernel, and slightly increases=0A= # the costs of each syscall.=0A= options KTRACE #kernel tracing=0A= =0A= # This provides support for System V shared memory and message queues.=0A= #=0A= options SYSVSHM=0A= options SYSVMSG=0A= options SYSVSEM=0A= =0A= # The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be=0A= # aware of the legal and administrative consequences of enabling this=0A= # option. The number of devices determines the maximum number of=0A= # simultaneous BPF clients programs runnable.=0A= #pseudo-device bpfilter 4 #Berkeley packet filter=0A= =0A= =0A= ------=_NextPart_000_0008_01BEF58B.A78DCD20 Content-Type: application/octet-stream; name="ppp.conf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="ppp.conf" ################################################################=0A= # PPP Configuration File ('/etc/ppp/ppp.conf')=0A= #=0A= # Default settings; These are always executed always when PPP=0A= # is invoked and apply to all system configurations.=0A= ################################################################=0A= default:=0A= set device /dev/cuaa3=0A= set speed 57600=0A= disable pred1=0A= deny pred1=0A= disable lqr=0A= deny lqr=0A= set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0M0 = OK-AT-OK\\dATDT\\T TIMEOUT 40 CONNECT"=0A= set redial 3 10=0A= #=0A= #=0A= ################################################################=0A= #=0A= # For interactive mode use this configuration:=0A= #=0A= # Invoke with `ppp -alias interactive`=0A= #=0A= ################################################################=0A= interactive:=0A= set authname MY_AUTHNAME=0A= set authkey MY_AUTHKEY=0A= set phone 0,8222116004=0A= set timeout 300=0A= set openmode active=0A= accept chap=0A= #=0A= ################################################################=0A= #=0A= # For demand-dial (automatic) mode we'll use this configuration:=0A= #=0A= # Invoke with: 'ppp -auto -alias demand'=0A= #=0A= ################################################################=0A= demand:=0A= set authname ozlerplastik=0A= set authkey masterkey=0A= set phone 0,8222116004=0A= set timeout 300=0A= set openmode active=0A= accept chap=0A= set ifaddr 127.1.1.1/0 127.2.2.2/0 255.255.255.0=0A= add 0 0 127.2.2.2=0A= ################################################################=0A= # End of /etc/ppp/ppp.conf=0A= ------=_NextPart_000_0008_01BEF58B.A78DCD20 Content-Type: application/octet-stream; name="ppp.linkup" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="ppp.linkup" #########################################################################=0A= # PPP Link Up File ('/etc/ppp/ppp.linkup')=0A= #=0A= # This file is checked after PPP establishes a network connection.=0A= #=0A= # This file is searched in the following order.=0A= #=0A= # 1) First, the IP address assigned to us is searched and=0A= # the associated command(s) are executed.=0A= #=0A= # 2) If the IP Address is not found, then the label name=0A= # pecified at PPP startup time is searched and the associated=0A= # command(s) are executed.=0A= #=0A= # 3) If neither of the above are found then commands under=0A= # the label 'MYADDR:' are executed.=0A= #=0A= #########################################################################=0A= #=0A= # This section is used for the "demand" configuration in=0A= # /etc/ppp/ppp.conf:=0A= demand:=0A= delete ALL=0A= add 0 0 HISADDR=0A= #=0A= # All other configurations in /etc/ppp/ppp.conf use this:=0A= #=0A= MYADDR:=0A= add 0 0 HISADDR=0A= ########################################################################=0A= # End of /etc/ppp/ppp.linkup=0A= ------=_NextPart_000_0008_01BEF58B.A78DCD20 Content-Type: application/octet-stream; name="result_of_ppp" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="result_of_ppp" Working in interactive mode=0A= Using interface: tun0=0A= ppp ON darkstar> ------=_NextPart_000_0008_01BEF58B.A78DCD20-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001e01bef574$f7be2e00$aa93fcd4>