RE: [Linux-ag] network erişimi sorunu

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Nurettin Bal (nbal@oytek.com.tr)
Date: Wed 10 May 2006 - 15:34:34 GMT


iptables -t filter -L
iptables -t nat -L

çıktılarını gönderebilirmisiniz?

Nurettin.

-----Original Message-----
From: Levent Aksu [mailto:levent@leventaksu.com]
Sent: Wednesday, May 10, 2006 4:31 PM
To: linux-ag@liste.linux.org.tr
Subject: Re: [Linux-ag] network erişimi sorunu

/etc/conf.d/net içinde

iface_eth0="10.0.0.60 broadcast 10.255.255.255 netmask 255.0.0.0"
gateway="eth0/10.0.0.2"

var ki bu doğru, yani 10.0.0.60'da, maskesi de 255.0.0.0 olmalı ve
adsl routerin dahili IP'si 10.0.0.2

dmesg çıktısı:
eth0: Davicom DM 9102/DM9102A rev 64 at de862000, 00:08:A1:7F:62:2D, IRQ 11
eth0: no IPv6 routers present

/var/log/messages içinden mümkün olduğunca bir sonuç
çıkartılabilecekleri ayıkladım:

May 10 16:18:32 taciz ACPI: PCI Root Bridge [PCI0] (00:00)
May 10 16:18:32 taciz PCI: Probing PCI hardware (bus 00)
May 10 16:18:32 taciz PCI: Via IRQ fixup
May 10 16:18:32 taciz PCI: Via IRQ fixup
May 10 16:18:32 taciz ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
May 10 16:18:32 taciz ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 6 7 *10
11 12)
May 10 16:18:32 taciz ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 6 7 10
*11 12)
May 10 16:18:32 taciz ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 6 7 10
11 12) *5
May 10 16:18:32 taciz ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 6 7 10
*11 12)
May 10 16:18:32 taciz ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 6 7 10
11 12) *0, disabled.
May 10 16:18:32 taciz ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 6 7 10
11 12) *0, disabled.
May 10 16:18:32 taciz ACPI: PCI Interrupt Link [LNK0] (IRQs 3 4 6 7 10
11 12) *0, disabled.
May 10 16:18:32 taciz ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 6 7 10
11 12) *0, disabled.
May 10 16:18:32 taciz ACPI: PCI Interrupt Link [ALKA] (IRQs *20), disabled.
May 10 16:18:32 taciz ACPI: PCI Interrupt Link [ALKB] (IRQs *21)
May 10 16:18:32 taciz ACPI: PCI Interrupt Link [ALKC] (IRQs *22)
May 10 16:18:32 taciz ACPI: PCI Interrupt Link [ALKD] (IRQs *23), disabled.
May 10 16:18:32 taciz Linux Plug and Play Support v0.97 (c) Adam Belay
May 10 16:18:32 taciz pnp: PnP ACPI init
May 10 16:18:32 taciz pnp: PnP ACPI: found 14 devices
May 10 16:18:32 taciz SCSI subsystem initialized
May 10 16:18:32 taciz PCI: Using ACPI for IRQ routing
May 10 16:18:32 taciz ** PCI interrupts are no longer routed
automatically. If this
May 10 16:18:32 taciz ** causes a device to stop working, it is probably
because the
May 10 16:18:32 taciz ** driver failed to call pci_enable_device(). As
a temporary
May 10 16:18:32 taciz ** workaround, the "pci=routeirq" argument
restores the old
May 10 16:18:32 taciz ** behavior. If this argument makes the device
work again,
May 10 16:18:32 taciz ** please email the output of "lspci" to
bjorn.helgaas@hp.com
May 10 16:18:32 taciz ** so I can fix the driver.
May 10 16:18:32 taciz pnp: 00:01: ioport range 0x400-0x47f could not be
reserved
May 10 16:18:32 taciz pnp: 00:01: ioport range 0x5000-0x500f has been
reserved
..
May 10 16:18:32 taciz NET: Registered protocol family 2
May 10 16:18:32 taciz IP: routing cache hash table of 4096 buckets, 32Kbytes
May 10 16:18:32 taciz TCP established hash table entries: 16384 (order:
5, 131072 bytes)
May 10 16:18:32 taciz TCP bind hash table entries: 16384 (order: 4,
65536 bytes)
May 10 16:18:32 taciz TCP: Hash tables configured (established 16384
bind 16384)
May 10 16:18:32 taciz NET: Registered protocol family 1
May 10 16:18:32 taciz NET: Registered protocol family 17
May 10 16:18:32 taciz NET: Registered protocol family 4

May 10 16:18:32 taciz Linux Tulip driver version 1.1.13-NAPI (May 11, 2002)
May 10 16:18:32 taciz ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
May 10 16:18:32 taciz PCI: setting IRQ 11 as level-triggered
May 10 16:18:32 taciz ACPI: PCI interrupt 0000:00:09.0[A] -> GSI 11
(level, low) -> IRQ 11
May 10 16:18:32 taciz tulip0: MII transceiver #1 config 3100 status
7829 advertising 01e1.
May 10 16:18:32 taciz eth0: Davicom DM9102/DM9102A rev 64 at de862000,
00:08:A1:7F:62:2D, IRQ 11.
May 10 16:18:32 taciz USB Universal Host Controller Interface driver v2.2
May 10 16:18:32 taciz ACPI: PCI interrupt 0000:00:10.0[A] -> GSI 10
(level, low) -> IRQ 10
May 10 16:18:32 taciz uhci_hcd 0000:00:10.0: UHCI Host Controller
May 10 16:18:32 taciz uhci_hcd 0000:00:10.0: irq 10, io base 0xd400
May 10 16:18:32 taciz uhci_hcd 0000:00:10.0: new USB bus registered,
assigned bus number 1
May 10 16:18:32 taciz hub 1-0:1.0: USB hub found
May 10 16:18:32 taciz hub 1-0:1.0: 2 ports detected
May 10 16:18:32 taciz ACPI: PCI interrupt 0000:00:10.1[B] -> GSI 11
(level, low) -> IRQ 11
May 10 16:18:32 taciz uhci_hcd 0000:00:10.1: UHCI Host Controller
May 10 16:18:32 taciz uhci_hcd 0000:00:10.1: irq 11, io base 0xd800
May 10 16:18:32 taciz uhci_hcd 0000:00:10.1: new USB bus registered,
assigned bus number 2
May 10 16:18:32 taciz hub 2-0:1.0: USB hub found
May 10 16:18:32 taciz hub 2-0:1.0: 2 ports detected
May 10 16:18:32 taciz ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
May 10 16:18:32 taciz ACPI: PCI interrupt 0000:00:10.2[C] -> GSI 11
(level, low) -> IRQ 11
May 10 16:18:32 taciz uhci_hcd 0000:00:10.2: UHCI Host Controller
May 10 16:18:32 taciz uhci_hcd 0000:00:10.2: irq 11, io base 0xdc00
May 10 16:18:32 taciz uhci_hcd 0000:00:10.2: new USB bus registered,
assigned bus number 3
May 10 16:18:32 taciz hub 3-0:1.0: USB hub found
May 10 16:18:32 taciz hub 3-0:1.0: 2 ports detected
May 10 16:18:32 taciz usb 2-1: new full speed USB device using uhci_hcd
and address 2
May 10 16:18:32 taciz ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
May 10 16:18:32 taciz ACPI: PCI interrupt 0000:00:10.3[D] -> GSI 11
(level, low) -> IRQ 11
May 10 16:18:32 taciz ehci_hcd 0000:00:10.3: EHCI Host Controller
May 10 16:18:32 taciz ehci_hcd 0000:00:10.3: irq 11, pci mem 0xeb001000
May 10 16:18:32 taciz ehci_hcd 0000:00:10.3: new USB bus registered,
assigned bus number 4
May 10 16:18:32 taciz ehci_hcd 0000:00:10.3: USB 2.0 initialized, EHCI
1.00, driver 10 Dec 2004

May 10 16:18:38 taciz NET: Registered protocol family 10
May 10 16:18:38 taciz Disabled Privacy Extensions on device c039fd80(lo)
May 10 16:18:38 taciz IPv6 over IPv4 tunneling driver
May 10 16:18:38 taciz sshd[7172]: Server listening on :: port 22.
May 10 16:18:38 taciz sshd[7172]: error: Bind to port 22 on 0.0.0.0
failed: Address already in use.
May 10 16:18:38 taciz net.agent[7165]: add event not handled
May 10 16:18:41 taciz udevd-event[7112]: wait_for_sysfs: waiting for
'/sys/devices/pci0000:00/0000:00:10.1/usb2/2-1/2-1:1.0/bus' failed

May 10 16:18:48 taciz eth0: no IPv6 routers present

May 10 16:19:13 taciz cron[7653]: (CRON) STARTUP (V5.0)
May 10 16:19:14 taciz webmin[7692]: Webmin starting
May 10 16:19:15 taciz init: Activating demand-procedures for 'A'
May 10 16:19:15 taciz xinetd[7778]: Reading included configuration file:
/etc/xinetd.d/chargen-tcp [file=/etc/xinetd.conf] [line=17]
May 10 16:19:15 taciz xinetd[7778]: Reading included configuration file:
/etc/xinetd.d/chargen-udp [file=/etc/xinetd.d/chargen-udp] [line=13]
May 10 16:19:15 taciz xinetd[7778]: Reading included configuration file:
/etc/xinetd.d/cups-lpd [file=/etc/xinetd.d/cups-lpd] [line=14]
May 10 16:19:15 taciz xinetd[7778]: Reading included configuration file:
/etc/xinetd.d/cvspserver [file=/etc/xinetd.d/cvspserver] [line=13]
May 10 16:19:15 taciz xinetd[7778]: Reading included configuration file:
/etc/xinetd.d/daytime-tcp [file=/etc/xinetd.d/daytime-tcp] [line=14]
May 10 16:19:15 taciz xinetd[7778]: Reading included configuration file:
/etc/xinetd.d/daytime-udp [file=/etc/xinetd.d/daytime-udp] [line=13]
May 10 16:19:15 taciz xinetd[7778]: Reading included configuration file:
/etc/xinetd.d/echo-tcp [file=/etc/xinetd.d/echo-tcp] [line=14]
May 10 16:19:15 taciz xinetd[7778]: Reading included configuration file:
/etc/xinetd.d/echo-udp [file=/etc/xinetd.d/echo-udp] [line=13]
May 10 16:19:15 taciz xinetd[7778]: Reading included configuration file:
/etc/xinetd.d/swat [file=/etc/xinetd.d/swat] [line=14]
May 10 16:19:15 taciz xinetd[7778]: Reading included configuration file:
/etc/xinetd.d/time-tcp [file=/etc/xinetd.d/time-tcp] [line=17]
May 10 16:19:15 taciz xinetd[7778]: Reading included configuration file:
/etc/xinetd.d/time-udp [file=/etc/xinetd.d/time-udp] [line=13]
May 10 16:19:15 taciz xinetd[7778]: Reading included configuration file:
/etc/xinetd.d/vnc1024 [file=/etc/xinetd.d/vnc1024] [line=14]
May 10 16:19:15 taciz xinetd[7778]: Service vnc1024: missing '{'
[file=/etc/xinetd.d/vnc1024] [line=2]
May 10 16:19:15 taciz xinetd[7778]: Reading included configuration file:
/etc/xinetd.d/vnc800 [file=/etc/xinetd.d/vnc800] [line=9]
May 10 16:19:15 taciz xinetd[7778]: Reading included configuration file:
/etc/xinetd.d/xvncserver [file=/etc/xinetd.d/xvncserver] [line=10]

May 10 16:19:15 taciz xinetd[7778]: Port not specified and can't find
service: vnc800 with getservbyname
May 10 16:19:15 taciz xinetd[7778]: Port not specified and can't find
service: vnc-640x480x8 with getservbyname
May 10 16:19:15 taciz xinetd[7778]: Port not specified and can't find
service: vnc-800x600x8 with getservbyname
May 10 16:19:15 taciz xinetd[7778]: Port not specified and can't find
service: vnc-1024x768x8 with getservbyname
May 10 16:19:15 taciz xinetd[7778]: Port not specified and can't find
service: vnc-1280x1024x8 with getservbyname
May 10 16:19:15 taciz xinetd[7778]: Port not specified and can't find
service: vnc-1600x1200x8 with getservbyname
May 10 16:19:15 taciz xinetd[7778]: Port not specified and can't find
service: vnc-640x480x16 with getservbyname
May 10 16:19:15 taciz xinetd[7778]: Port not specified and can't find
service: vnc-800x600x16 with getservbyname
May 10 16:19:15 taciz xinetd[7778]: Port not specified and can't find
service: vnc-1024x768x16 with getservbyname
May 10 16:19:15 taciz xinetd[7778]: Port not specified and can't find
service: vnc-1280x1024x16 with getservbyname
May 10 16:19:15 taciz xinetd[7778]: Port not specified and can't find
service: vnc-1600x1200x16 with getservbyname
May 10 16:19:15 taciz xinetd[7778]: Port not specified and can't find
service: vnc-640x480x24 with getservbyname
May 10 16:19:15 taciz xinetd[7778]: Port not specified and can't find
service: vnc-800x600x24 with getservbyname
May 10 16:19:15 taciz xinetd[7778]: Port not specified and can't find
service: vnc-1024x768x24 with getservbyname
May 10 16:19:15 taciz xinetd[7778]: Port not specified and can't find
service: vnc-1280x1024x24 with getservbyname
May 10 16:19:15 taciz xinetd[7778]: Port not specified and can't find
service: vnc-1600x1200x24 with getservbyname
May 10 16:19:15 taciz xinetd[7778]: Port not specified and can't find
service: vnc-640x480x32 with getservbyname
May 10 16:19:15 taciz xinetd[7778]: Port not specified and can't find
service: vnc-800x600x32 with getservbyname
May 10 16:19:15 taciz xinetd[7778]: Port not specified and can't find
service: vnc-1024x768x32 with getservbyname
May 10 16:19:15 taciz xinetd[7778]: Port not specified and can't find
service: vnc-1280x1024x32 with getservbyname
May 10 16:19:15 taciz xinetd[7778]: Port not specified and can't find
service: vnc-1600x1200x32 with getservbyname
May 10 16:19:15 taciz xinetd[7778]: bind failed (Address already in use
(errno = 98)). service = cvspserver
May 10 16:19:15 taciz xinetd[7778]: Service cvspserver failed to start
and is deactivated.
May 10 16:19:15 taciz xinetd[7778]: xinetd Version 2.3.13 started with
libwrap loadavg options compiled in.
May 10 16:19:15 taciz xinetd[7778]: Started working: 0 available services
May 10 16:20:01 taciz cron[7952]: (root) CMD (test -x
/usr/sbin/run-crons && /usr/sbin/run-crons )

May 10 16:21:44 taciz login(pam_unix)[7800]: session opened for user
root by (uid=0)
May 10 16:25:48 taciz gdm[8128]: PAM unable to
dlopen(/lib/security/pam_console.so)
May 10 16:25:48 taciz gdm[8128]: PAM [dlerror:
/lib/security/pam_console.so: cannot open shared object file: No such
file or directory]
May 10 16:25:48 taciz gdm[8128]: PAM adding faulty module:
/lib/security/pam_console.so
May 10 16:25:48 taciz gdm[8130]: gdm_xdmcp_init: Could not bind to XDMCP
socket!
May 10 16:25:49 taciz gdm[8131]: Display :0 is busy. There is another X
server running already.
May 10 16:25:52 taciz gdm[8131]: Display :0 is busy. There is another X
server running already.
May 10 16:25:57 taciz gdm[8131]: gdm_server_start: Display :0 busy.
Trying another display number.
May 10 16:26:05 taciz gdm[8131]: PAM unable to
dlopen(/lib/security/pam_console.so)
May 10 16:26:05 taciz gdm[8131]: PAM [dlerror:
/lib/security/pam_console.so: cannot open shared object file: No such
file or directory]
May 10 16:26:05 taciz gdm[8131]: PAM adding faulty module:
/lib/security/pam_console.so
May 10 16:26:11 taciz gdm(pam_unix)[8131]: session opened for user root
by (uid=0)
May 10 16:26:26 taciz (root-8428): starting (version 2.10.0), pid 8428
user 'root'
May 10 16:26:26 taciz (root-8428): Resolved address
"xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only
configuration source at position 0
May 10 16:26:26 taciz (root-8428): Resolved address
"xml:readwrite:/root/.gconf" to a writable configuration source at
position 1
May 10 16:26:26 taciz (root-8428): Resolved address
"xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only
configuration source at position 2
May 10 16:26:35 taciz sSMTP[8389]: Unable to locate mail
May 10 16:26:35 taciz sSMTP[8389]: Cannot open mail:25
May 10 16:30:01 taciz cron[8629]: (root) CMD (test -x
/usr/sbin/run-crons && /usr/sbin/run-crons )
May 10 16:32:35 taciz sSMTP[8711]: Unable to locate mail
May 10 16:32:35 taciz sSMTP[8711]: Cannot open mail:25
May 10 16:38:38 taciz sSMTP[8906]: Unable to locate mail
May 10 16:38:38 taciz sSMTP[8906]: Cannot open mail:25
May 10 16:40:01 taciz cron[8932]: (root) CMD (test -x
/usr/sbin/run-crons && /usr/sbin/run-crons )
May 10 16:41:02 taciz usb 3-1: new full speed USB device using uhci_hcd
and address 2
May 10 16:41:06 taciz udevd-event[8980]: wait_for_sysfs: waiting for
'/sys/devices/pci0000:00/0000:00:10.2/usb3/3-1/bus' failed
May 10 16:41:09 taciz udevd-event[8993]: wait_for_sysfs: waiting for
'/sys/devices/pci0000:00/0000:00:10.2/usb3/3-1/3-1:1.0/bus' failed

May 10 16:43:25 taciz gdm(pam_unix)[8131]: session closed for user root
May 10 16:43:25 taciz (root-8428): Received signal 15, shutting down cleanly
May 10 16:43:25 taciz (root-8428): Exiting
May 10 16:43:35 taciz gdm[8131]: PAM unable to
dlopen(/lib/security/pam_console.so)
May 10 16:43:35 taciz gdm[8131]: PAM [dlerror:
/lib/security/pam_console.so: cannot open shared object file: No such
file or directory]
May 10 16:43:35 taciz gdm[8131]: PAM adding faulty module:
/lib/security/pam_console.so
May 10 16:43:37 taciz shutdown[9192]: shutting down for system reboot
May 10 16:43:37 taciz init: Switching to runlevel: 6
May 10 16:43:50 taciz sshd[7172]: Received signal 15; terminating.
May 10 16:43:51 taciz syslog-ng[6472]: syslog-ng version 1.6.9 going down

Saygılar,
Levent Aksu

Umut D. wrote:
> Sunucu statik ip'li ise artik /etc/conf.d/net betiklerini
> degistirmeniz gerekir.
>
> Siz olmasini istediginiz ayarlari (ethernet kartinin adi eth0, ip
> adresi su olsun falan gibi) soyleyin, bir de altina /etc/conf.d/net
> dosyasini ekleyin.
>
> Bu arada acilista ve sistem kayitlarindaki hatalara bakmakta fayda
> var. Onlardan da ag ile ilgili hatalari gonderirseniz bir sey soyleme
> imkanimiz olur.
>
> Bir de su komutun ciktisi:
>
> dmesg | grep eth
>
> Saygilar
>
> On 5/10/06, *Levent Aksu* <levent@leventaksu.com
> <mailto:levent@leventaksu.com>> wrote:
>
> Selamlar,
> 2005'in 2. yarısı kurmuş olduğum Gentoo serverimizin geçen gün
> yaptığım
> güncellemesinden sonra ağ erişiminde sorun yaşıyorum.
> konfigürasyon ile
> ilgili bir sorun yok ve hiç bir hata mesajı almıyorum. ancak içeri
> veya
> dışarıya ping yapamıyorum. aynı makinayı Knoppix veya Ubuntu Live ile
> açtığımda da sorunsuz çalışmaya devam ediyor. Güncelleme öncesi de
> sorunsuz çalışıyordu, dolayısıyla donanım ile ilgisi olmadığını
> düşünüyorum. Gentoo forumlarına bir mesaj attım ve fakat konu fazla
> ileriye gitmedi. İlgili topic adresi:
> http://forums.gentoo.org/viewtopic.php?p=3305657#3305657
> Her şey yerli yerinde görünüyor iken daha nasıl bir yöntem ile
> sorunun
> kaynağına inilebilir bilemiyorum.
> Kolay gelsin,
> Levent Aksu
>
>
> _______________________________________________
> Linux-ag mailing list
> Linux-ag@liste.linux.org.tr <mailto:Linux-ag@liste.linux.org.tr>
> http://liste.linux.org.tr/mailman/listinfo/linux-ag
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Linux-ag mailing list
> Linux-ag@liste.linux.org.tr
> http://liste.linux.org.tr/mailman/listinfo/linux-ag
>

_______________________________________________
Linux-ag mailing list
Linux-ag@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-ag

____________________________________________________________________________________________________________________________
Bu e-mail'in tüm icerigi gönderenin kisisel tasarrufu ile olusturulmus ve gönderilmistir. Oyak Teknoloji Bilisim ve Kart Hizmetleri A.S. bu e-mail icerigi hakkinda sorumluluk kabul etmez.

This e-mail has been sent by the sender under his/her own individual discreation. Oyak Teknoloji Bilisim ve Kart Hizmetleri A.S. accepts no responsibility.
_______________________________________________
Linux-ag mailing list
Linux-ag@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-ag


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.