selamlar
nicin DHCP kullaniyorsunuz gerek yok ki?
asagidaki satirlarda router daemon'u aktif etmissiniz buna gerek yok!
/etc/rc.conf'da dc0 icin ve ag ayarlari icin asagidaki bilgiler olsun yeterli
ifconfig_dc0="inet 10.0.0.5  netmask 255.255.255.0"
defaultrouter="10.0.0.2"
hostname="www.kaostr.org"

asagidaki satirlari kaldirin
 ifconfig_dc0="DHCP"
 router_flags="-q"
 router="/sbin/routed"
 router_enable="YES"

On Tue, Apr 06, 2004 at 07:16:14PM +0300, hay wrote:
> ?imdi yapt?klar?m? ad?m ad?m anlatay?m....
> 
> /etc/rc.conf dosyasinin icerigi sekildeki gibi olunca
> #ifconfig_dc0="inet 10.0.0.5  netmask 255.255.255.0"
> ifconfig_dc0="DHCP"
> router_flags="-q"
> router="/sbin/routed"
> router_enable="YES"
> gateway_enable="YES"
> defaultrouter="10.0.0.2"
> inetd_enable="YES"
> hostname="www.kaostr.org"
> linux_enable="YES"
> moused_enable="YES"
> #moused_flags="-3"
> usbd_enable="YES"
> 
> ifconfig komutunun sonucu
> dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet6 fe80::2e0:4cff:fea0:b15d%dc0 prefixlen 64 scopeid 0x1
>         inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
>         ether 00:e0:4c:a0:b1:5d
>         media: Ethernet autoselect (100baseTX <full-duplex>)
>         status: active
> plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>         inet6 ::1 prefixlen 128
>         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
>         inet 127.0.0.1 netmask 0xff000000
> 
> Simdi bu haldeyken
> www# route add default 10.0.0.2
> route: writing to routing socket: Network is unreachable
> add net default: gateway 10.0.0.2: Network is unreachable
> sonucunu vermektedir.
> www# ifconfig dc0 10.0.0.5 deyip
> ard??ndan
> www# ifconfig dc0 dedigimde
> dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet6 fe80::2e0:4cff:fea0:b15d%dc0 prefixlen 64 scopeid 0x1
>         inet 10.0.0.5 netmask 0xff000000 broadcast 10.255.255.255
>         ether 00:e0:4c:a0:b1:5d
>         media: Ethernet autoselect (100baseTX <full-duplex>)
>         status: active
> 
> durum bu oluyor ve ardindan
> 
> www# route add default 10.0.0.2 dedigimde sonuc bu oluyor
> add net default: gateway 10.0.0.2
> ve
> www# sh netstart -rn dedigimde ise
> hw.bus.devctl_disable: 1 -> 1
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>         inet6 ::1 prefixlen 128
>         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
>         inet 127.0.0.1 netmask 0xff000000
> dhclient already running? (pid=213).
> routed already running? (pid=249).
> 
> oluyor.
> 
> ayrica ek'te bilgi vermesi bakimindan dmesg ??kt?s?n? ekliyorum.
> 
> Sevgi ve saygilarimla...
> 
> ----- Original Message -----
> From: "Serhat Umar" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, April 06, 2004 6:05 PM
> Subject: Re: [freebsd] internete eri?im sorunu...
> 
> 
> > ok..
> > screenshot da route eklemeye calistiginiz fakat daha ?nceden default route
> > oldugu icin ekleyemediginizi g?r?yorum
> >
> > netstat -rn  ile default route nedir bir bakarmisiniz...
> > ayrica default route yanlis ise route add ile degilde route change ile
> > degistirin..
> >
> > # route change default 10.0.0.2
> >
> > daha sonra 10.0.0.2 ip adresini pinglemeye calisin, sonucu bekliyoruz.
> >
> >
> >
> > Selamlar
> > Serhat
> >
> >
> > > dostum,
> > >
> > > sysinstall ile sisteme route ?zelli?ini ekledikten sonra istedi?im local
> > > ip'yi atayabiliyorum. fikir vermesi bak?m?ndan ek'te ?z?r dileyerek
> ekran
> > > ??kt?s?n? g?nderiyorum.
> > > ve hala internet eri?imi yok, bunlar ba?lang?? asl?nda sorunlar?m i?in,
> > > internet eri?imini sa?lda??mda di?er sorunlar ile s?k? bir cebel i?ine
> > > girece?im de ?u an elim kolum ba?l?.
> > >
> > > not:macronix i?in .c v .h dosyalar?n? bulup kerneli yeniden derledim ama
> > > sonu? yine nafile. mx0 yerine dc0 g?rmeye devam ediyor.
> > >
> > > ----- Original Message -----
> > > From: "Serhat Umar" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Tuesday, April 06, 2004 11:01 AM
> > > Subject: Re: [freebsd] internete eri?im sorunu...
> > >
> > >
> > > > dc0 dhcp den ip almamis g?r?n?yor, iceriyi pingliyorum derken
> > 10.0.0.0/24
> > > > network?n? kastediyorsaniz ilginc c?nk? dhcpden ip adresi
> > alamamisiniz...
> > > >
> > > > dc0: watchdog timeout hatasi icin man page inceledigimizde
> > > >
> > > > # man 4 dc
> > > >
> > > >     dc%d: watchdog timeout  A packet was queued for transmission and a
> > > > trans-
> > > >      mit command was issued, but the device failed to acknowledge the
> > > trans-
> > > >      mission before a timeout expired.  This can happen if the device
> is
> > > >      unable to deliver interrupts for some reason, of if there is a
> > > problem
> > > >      with the network connection (cable or network equipment) that
> > results
> > > > in
> > > >      a loss of link.
> > > >
> > > > bir problemden dolayi transmission hatasi aliyorsunuz, network
> kablosunu
> > > > kontrol edin, hub/switch de farkli portlara baglayarak deneyin.
> > > >
> > > > Serhat
> > > >
> > > >
> > > >
> > > > > alta ve ?st dairelerde iki xp y?kl? makinaya adsl ba?lant?s?n?
> > > > > payla?t?r?yorum. modemin router ?zelli?inden dolay?. modem ge?it
> > olarak
> > > > > 10.0.0.2'yi kullan?yor. biz de 10.0.0.4 ve 10.0.0.5'i kullan?yoruz.
> ve
> > > > > dinamik ip atan?yor nete ba?land???m?zda.
> > > > >
> > > > > ayn? i?lemleri yaln?zca bir tek makina i?in freebsd ?zerinde
> deneyip,
> > > > > kulland???m makinay? internete eri?tireyim istedim. kurulumda
> ipv6'yi
> > no
> > > > > deyip dhcp'yi etkin k?l dedi?imde, modemin ???klar? ?al???r
> vaziyete,
> > > > xp'de
> > > > > ki hale geldi. ama gelgelelim, i?eriye locale ping atabilmeme ra?men
> > > > > d??ar?ya ping atam?yorum.
> > > > >
> > > > > ve bir de boot-a??l??ta- dc0:watchdog timeout deyip duruyor. a?a??ya
> > > baz?
> > > > > bilgileri yaz?yorum. sizce sorun nedir? ethernet kart? macronix
> > mx98715.
> > > > >
> > > > >
> > > > > www# ifconfig
> > > > > dc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> > > > >         inet6 fe80::2e0:4cff:fea0:b15d%dc0 prefixlen 64 scopeid 0x1
> > > > >         inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
> > > > >         ether 00:e0:4c:a0:b1:5d
> > > > >         media: Ethernet autoselect (100baseTX <full-duplex>)
> > > > >         status: active
> > > > > plip0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
> > > > > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
> > > > >         inet6 ::1 prefixlen 128
> > > > >         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
> > > > >         inet 127.0.0.1 netmask 0xff000000
> > > > > www# route add default 10.0.0.2
> > > > > route: writing to routing socket: Network is unreachable
> > > > > add net default: gateway 10.0.0.2: Network is unreachable
> > > > > www# ping www.freebsd.org
> > > > > ping: cannot resolve www.freebsd.org: Host name lookup failure
> > > > >
> > > > > /etc/resolve.conf i?eri?i
> > > > > nameserver 212.156.4.6
> > > > > nameserver 212.156.4.7
> > > > >
> > > > >
> > > > > cevaplar?n?z i?in ?imdiden te?ekk?r ederim...
> > >
> >
> >
> > --------------------------------------------------------------------------
> --
> > ----
> >
> >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > Liste arsivi: http://lists.enderunix.org ve
> > > http://www.mail-archive.com/[EMAIL PROTECTED]
> > > http://ipucu.EnderUNIX.org  - ihtiyac duyacaginiz kisa bilgiler bu
> sitede!
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > Liste arsivi: http://lists.enderunix.org ve
> > http://www.mail-archive.com/[EMAIL PROTECTED]
> > http://ipucu.EnderUNIX.org  - ihtiyac duyacaginiz kisa bilgiler bu sitede!
> >
> >
> >
> >

> Copyright (c) 1992-2004 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>       The Regents of the University of California. All rights reserved.
> FreeBSD 5.2-RELEASE #0: Tue Apr  6 13:49:36 EEST 2004
>     [EMAIL PROTECTED]:/usr/src/sys/i386/compile/HAY
> Preloaded elf kernel "/boot/kernel/kernel" at 0xc08a6000.
> Preloaded elf module "/boot/kernel/acpi.ko" at 0xc08a621c.
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: AMD Athlon(tm) Processor (1210.79-MHz 686-class CPU)
>   Origin = "AuthenticAMD"  Id = 0x642  Stepping = 2
>   
> Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
>   AMD Features=0xc0440000<RSVD,AMIE,DSP,3DNow!>
> real memory  = 268353536 (255 MB)
> avail memory = 251039744 (239 MB)
> Pentium Pro MTRR support enabled
> npx0: [FAST]
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> acpi0: <ASUS   A7V-133 > on motherboard
> pcibios: BIOS version 2.10
> Using $PIR table, 9 entries at 0xc00f1750
> acpi0: Power Button (fixed)
> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
> acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
> acpi_cpu0: <CPU> on acpi0
> acpi_button0: <Power Button> on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> pci0: <ACPI PCI bus> on pcib0
> pcib0: slot 4 INTD is routed to irq 9
> pcib0: slot 4 INTD is routed to irq 9
> pcib0: slot 12 INTA is routed to irq 11
> agp0: <VIA 82C8363 (Apollo KT133A) host to PCI bridge> mem 0xe6000000-0xe7ffffff at 
> device 0.0 on pci0
> pcib1: <PCI-PCI bridge> at device 1.0 on pci0
> pci1: <PCI bus> on pcib1
> isab0: <PCI-ISA bridge> at device 4.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <VIA 82C686B UDMA100 controller> port 0xd800-0xd80f at device 4.1 on pci0
> ata0: at 0x1f0 irq 14 on atapci0
> ata0: [MPSAFE]
> ata1: at 0x170 irq 15 on atapci0
> ata1: [MPSAFE]
> uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 9 at device 4.2 on pci0
> usb0: <VIA 83C572 USB controller> on uhci0
> usb0: USB revision 1.0
> uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> uhci1: <VIA 83C572 USB controller> port 0xd000-0xd01f irq 9 at device 4.3 on pci0
> usb1: <VIA 83C572 USB controller> on uhci1
> usb1: USB revision 1.0
> uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> pci0: <bridge, PCI-unknown> at device 4.4 (no driver attached)
> pcm0: <AudioPCI ES1373-B> port 0xa400-0xa43f at device 9.0 on pci0
> pcm0: <SigmaTel STAC9721/23 AC97 Codec>
> pcib0: slot 9 INTA is routed to irq 9
> pci0: <simple comms> at device 10.0 (no driver attached)
> dc0: <Macronix 98715AEC-C 10/100BaseTX> port 0x9800-0x98ff mem 0xe5000000-0xe50000ff 
> at device 11.0 on pci0
> pcib0: slot 11 INTA is routed to irq 10
> dc0: Ethernet address: 00:e0:4c:a0:b1:5d
> miibus0: <MII bus> on dc0
> dcphy0: <Intel 21143 NWAY media interface> on miibus0
> dcphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> pci0: <display, VGA> at device 12.0 (no driver attached)
> fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f2-0x3f5 
> irq 6 drq 2 on acpi0
> fdc0: FIFO enabled, 8 bytes threshold
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
> ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
> ppc0: FIFO with 16/16/8 bytes threshold
> ppbus0: <Parallel port bus> on ppc0
> plip0: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus0
> sio0 port 0x3f8-0x3ff irq 4 on acpi0
> sio0: type 16550A
> sio1 port 0x2f8-0x2ff irq 3 on acpi0
> sio1: type 16550A
> atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
> atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> psm0: model IntelliMouse, device ID 3
> orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
> pmtimer0 on isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> Timecounter "TSC" frequency 1210791134 Hz quality 800
> Timecounters tick every 10.000 msec
> acpi_cpu: throttling enabled, 16 steps (100% to 6.2%), currently 100.0%
> ad0: FAILURE - SET_MULTI status=51<READY,DSC,ERROR> error=4<ABORTED>
> GEOM: create disk ad0 dp=0xc2df2260
> ad0: 19470MB <QUANTUM FIREBALLlct20 20> [39560/16/63] at ata0-master UDMA100
> GEOM: create disk ad1 dp=0xc2d92e60
> ad1: 76319MB <ST380011A> [155061/16/63] at ata0-slave UDMA100
> acd0: CDROM <ASUS CD-S500/A> at ata1-slave PIO4
> Mounting root from ufs:/dev/ad1s2a
> dc0: watchdog timeout
> dc0: watchdog timeout
> dc0: watchdog timeout
> dc0: watchdog timeout
> dc0: watchdog timeout
> dc0: watchdog timeout

> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> Liste arsivi: http://lists.enderunix.org ve 
> http://www.mail-archive.com/[EMAIL PROTECTED]
> http://ipucu.EnderUNIX.org  - ihtiyac duyacaginiz kisa bilgiler bu sitede!


-- 

Ismail YENIGUL
http://www.acikkod.com - Acikkod Yayinlari
http://www.EnderUNIX.org
GnuPG Key: http://yenigul.net/ismail.gpg

Authorization for a project will be granted only when
none of the authorizers can be blamed if the project
fails but when all of the authorizers can claim credit
if it succeeds.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org ve 
http://www.mail-archive.com/[EMAIL PROTECTED]
http://ipucu.EnderUNIX.org  - ihtiyac duyacaginiz kisa bilgiler bu sitede!


Cevap