Kirjoittaja Aihe: suse 10.3 ja dhcp ongelma (ei kytke nettiin)  (Luettu 6110 kertaa)

0 jäsentä ja 1 Vieras katselee tätä aihetta.

lassi123

  • Vieras
suse 10.3 ja dhcp ongelma (ei kytke nettiin)
« : 23.11.2007 - klo:21:07 »
Mikähän mättää, kun suse ei enää kytke nettiin? Yritin saada QEMUlle samba jakoa, ja jotain taisi mennä siinä yhteydessä mönkään. Mistä vikaa kannattaisi jäljittää? Ainakin yhdessä lokissa (/var/log/messages) on DHCP herjoja.

Poissa harmie

  • Valvoja
  • *
  • Viestejä: 2791
  • Sukupuoli: Mies
Vs: suse 10.3 ja dhcp ongelma (ei kytke nettiin)
« Vastaus #1 : 23.11.2007 - klo:23:31 »
laitappa tänne hieman niitä herjoja niin tuumaillaan.

Voit myös koittaa Yasti:lla poistaa verkkokorttisi asetukset ja asentaa sen uusiksi
Yast --> Network devices --> Netwok Card
Valitse sieltä se delete ja tämän jälkeen voit luoda add painikkeella uudelleen

lassi123

  • Vieras
Vs: suse 10.3 ja dhcp ongelma (ei kytke nettiin)
« Vastaus #2 : 26.11.2007 - klo:17:56 »
Sori vaan, että kesti, mutta oltiin reisussa.

Poistin verkkokortin ja lisäsin takaisin -> ei auta. Tässä on em operaation jälkeen viestit käynnistettäessä.

Nov 26 17:21:40 linux syslog-ng[2130]: syslog-ng version 1.6.12 starting
Nov 26 17:21:45 linux kernel: klogd 1.4.1, log source = /proc/kmsg started.
Nov 26 17:21:45 linux kernel: powernow-k8: Found 1 AMD Athlon(tm) 64 Processor 2800+ processors (version 2.00.00)
Nov 26 17:21:45 linux kernel: powernow-k8:    0 : fid 0xa (1800 MHz), vid 0x2
Nov 26 17:21:45 linux kernel: powernow-k8:    1 : fid 0x2 (1000 MHz), vid 0xa
Nov 26 17:21:45 linux kernel: Marking TSC unstable due to cpufreq changes
Nov 26 17:21:45 linux kernel: Time: acpi_pm clocksource has been installed.
Nov 26 17:21:46 linux ifup:     lo       
Nov 26 17:21:46 linux ifup:     lo       
Nov 26 17:21:46 linux ifup: IP address: 127.0.0.1/8 
Nov 26 17:21:46 linux ifup: 
Nov 26 17:21:47 linux kernel: [drm] Initialized drm 1.1.0 20060810
Nov 26 17:21:47 linux ntpdate[2529]: can't find host fi.pool.ntp.org
Nov 26 17:21:47 linux ntpdate[2529]: no servers can be used, exiting
Nov 26 17:21:47 linux kernel: ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
Nov 26 17:21:47 linux kernel: [drm] Initialized radeon 1.27.0 20060524 on minor 0
Nov 26 17:21:47 linux ifup:     eth0      device: ALi Corporation ULi 1689,1573 integrated ethernet. (rev 40)
Nov 26 17:21:47 linux ifup-dhcp:     eth0      (DHCP)
Nov 26 17:21:47 linux ifup-dhcp: .
Nov 26 17:21:47 linux kernel: NET: Registered protocol family 17
Nov 26 17:21:48 linux kernel: agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
Nov 26 17:21:48 linux kernel: agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
Nov 26 17:21:48 linux kernel: agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
Nov 26 17:21:48 linux kernel: [drm] Setting GART location based on new memory map
Nov 26 17:21:48 linux kernel: [drm] Loading R200 Microcode
Nov 26 17:21:48 linux kernel: [drm] writeback test succeeded in 1 usecs
Nov 26 17:21:48 linux ifup-dhcp: .
Nov 26 17:21:48 linux ifup-dhcp: .
Nov 26 17:21:50 linux kernel: uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
Nov 26 17:21:50 linux ifup-dhcp: .
Nov 26 17:21:50 linux ifup-dhcp: .
Nov 26 17:21:52 linux ifup-dhcp: no IP address yet... backgrounding.
Nov 26 17:22:08 linux nmbd[3347]: [2007/11/26 17:22:08, 0] nmbd/nmbd_subnetdb.c:create_subnets(190)
Nov 26 17:22:08 linux nmbd[3347]:   create_subnets: No local interfaces !
Nov 26 17:22:08 linux nmbd[3347]: [2007/11/26 17:22:08, 0] nmbd/nmbd_subnetdb.c:create_subnets(191)
Nov 26 17:22:08 linux nmbd[3347]:   create_subnets: Waiting for an interface to appear ...
Nov 26 17:22:20 linux auditd[3693]: Started dispatcher: /sbin/audispd pid: 3695
Nov 26 17:22:20 linux audispd[3695]: listening on /var/run/audit_events
Nov 26 17:22:20 linux kernel: audit(1196090540.904:3): audit_pid=3693 old=0 by auid=4294967295
Nov 26 17:22:20 linux auditd[3693]: Init complete, auditd 1.5.5 listening for events
Nov 26 17:22:22 linux avahi-daemon[3718]: Found user 'avahi' (UID 108) and group 'avahi' (GID 110).
Nov 26 17:22:22 linux avahi-daemon[3718]: Successfully dropped root privileges.
Nov 26 17:22:22 linux avahi-daemon[3718]: avahi-daemon 0.6.20 starting up.
Nov 26 17:22:22 linux avahi-daemon[3718]: Loading service file /etc/avahi/services/sftp-ssh.service.
Nov 26 17:22:22 linux avahi-daemon[3718]: Loading service file /etc/avahi/services/ssh.service.
Nov 26 17:22:22 linux avahi-daemon[3718]: Network interface enumeration completed.
Nov 26 17:22:22 linux avahi-daemon[3718]: Registering HINFO record with values 'X86_64'/'LINUX'.
Nov 26 17:22:22 linux avahi-daemon[3718]: Server startup complete. Host name is linux.local. Local service cookie is 1511548205.
Nov 26 17:22:22 linux avahi-daemon[3718]: Service "linux" (/etc/avahi/services/ssh.service) successfully established.
Nov 26 17:22:22 linux avahi-daemon[3718]: Service "SFTP File Transfer on linux" (/etc/avahi/services/sftp-ssh.service) successfully established.
Nov 26 17:22:22 linux avahi-dnsconfd[3729]: Successfully connected to Avahi daemon.
Nov 26 17:22:22 linux ntpdate[3750]: can't find host fi.pool.ntp.org
Nov 26 17:22:22 linux ntpdate[3750]: no servers can be used, exiting
Nov 26 17:22:22 linux ntpd[3759]: ntpd 4.2.4p3@1.1502-o Fri Sep 21 21:36:25 UTC 2007 (1)
Nov 26 17:22:22 linux ntpd[3760]: precision = 1.000 usec
Nov 26 17:22:22 linux ntpd[3760]: ntp_io: estimated max descriptors: 1024, initial socket boundary: 16
Nov 26 17:22:22 linux ntpd[3760]: Listening on interface #0 wildcard, 0.0.0.0#123 Disabled
Nov 26 17:22:22 linux ntpd[3760]: Listening on interface #1 lo, 127.0.0.1#123 Enabled
Nov 26 17:22:22 linux ntpd[3760]: kernel time sync status 0040
Nov 26 17:22:23 linux ntpd[3760]: frequency initialized -43.988 PPM from /var/lib/ntp/drift/ntp.drift
Nov 26 17:22:26 linux rmmod: ERROR: Module lp does not exist in /proc/modules
Nov 26 17:22:26 linux rmmod: ERROR: Module parport_pc is in use
Nov 26 17:22:26 linux rmmod: ERROR: Module ppdev does not exist in /proc/modules
Nov 26 17:22:26 linux rmmod: ERROR: Module parport is in use by parport_pc
Nov 26 17:22:28 linux /usr/sbin/cron[3980]: (CRON) STARTUP (V5.0)
Nov 26 17:22:28 linux smartd[3987]: smartd version 5.37 [x86_64-suse-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Nov 26 17:22:28 linux smartd[3987]: Home page is http://smartmontools.sourceforge.net/
Nov 26 17:22:28 linux smartd[3987]: Opened configuration file /etc/smartd.conf
Nov 26 17:22:28 linux smartd[3987]: Drive: DEVICESCAN, implied '-a' Directive on line 27 of file /etc/smartd.conf
Nov 26 17:22:28 linux smartd[3987]: Configuration file /etc/smartd.conf was parsed, found DEVICESCAN, scanning devices
Nov 26 17:22:28 linux smartd[3987]: Problem creating device name scan list
Nov 26 17:22:28 linux smartd[3987]: Device: /dev/sda, opened
Nov 26 17:22:28 linux smartd[3987]: Device /dev/sda: ATA disk detected behind SAT layer
Nov 26 17:22:28 linux smartd[3987]:   Try adding '-d sat' to the device line in the smartd.conf file.
Nov 26 17:22:28 linux smartd[3987]:   For example: '/dev/sda -a -d sat'
Nov 26 17:22:28 linux smartd[3987]: Device: /dev/sda, opened
Nov 26 17:22:28 linux smartd[3987]: Device: /dev/sda, found in smartd database.
Nov 26 17:22:29 linux smartd[3987]: Device: /dev/sda, is SMART capable. Adding to "monitor" list.
Nov 26 17:22:29 linux smartd[3987]: Monitoring 1 ATA and 0 SCSI devices
Nov 26 17:22:29 linux smartd[4020]: smartd has fork()ed into background mode. New PID=4020.
Nov 26 17:22:29 linux sshd[4035]: Server listening on 0.0.0.0 port 22.
Nov 26 17:22:30 linux kernel: bootsplash: status on console 0 changed to on
Nov 26 17:23:49 linux kernel: uli526x: eth0 NIC Link is Down
Nov 26 17:23:51 linux kernel: uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
Nov 26 17:27:21 linux sudo:    lassi : TTY=pts/3 ; PWD=/home/lassi ; USER=root ; COMMAND=/opt/kde3/bin/kdesu_stub -
Nov 26 17:27:21 linux sudo:    lassi : TTY=pts/3 ; PWD=/home/lassi ; USER=root ; COMMAND=/opt/kde3/bin/kdesu_stub -

Poissa harmie

  • Valvoja
  • *
  • Viestejä: 2791
  • Sukupuoli: Mies
Vs: suse 10.3 ja dhcp ongelma (ei kytke nettiin)
« Vastaus #3 : 26.11.2007 - klo:18:12 »
Annappas vielä roottina seuraavia kometoja

/etc/init.d/network restart

dmesg | grep -i eth


Mitä asetuksia muuttelit kun laitoit sen samban pystyyn?

lassi123

  • Vieras
Vs: suse 10.3 ja dhcp ongelma (ei kytke nettiin)
« Vastaus #4 : 26.11.2007 - klo:19:34 »
No nyt pätkii ELISAn verkkokin toisessa koneessa.

Sain tällaiset vastaukset.
 Samba confiia ainakin puukotin, ei tullut otetttua muistiin kun netissä oli olevinaan hyvät ohjeet  :-\
linux:/home/lassi # /etc/init.d/network restart
Shutting down network interfaces:
    eth0      device: ALi Corporation ULi 1689,1573 integrated ethernet. (rev 40)                                                                    done
Shutting down service network  .  .  .  .  .  .  .  .  .  .  .  .  . done.
Hint: you may set mandatory devices in /etc/sysconfig/network/config
Setting up network interfaces:
    lo
    lo        IP address: 127.0.0.1/8
Checking for network time protocol daemon (NTPD):                    doneing
    eth0      device: ALi Corporation ULi 1689,1573 integrated ethernet. (rev 40)
    eth0      (DHCP) . . . . . no IP address yet... backgrounding.   waiting
Setting up service network  .  .  .  .  .  .  .  .  .  .  .  .  .  . done.
linux:/home/lassi # dmesg | grep -i eth
Parsing all Control Methods:
Table [DSDT](id 0001) - 481 Objects with 47 Devices 152 Methods 10 Regions
Initializing Device/Processor/Thermal objects by executing _INI methods:.
Executed 1 _INI methods requiring 0 _STA executions (examined 51 objects)
eth0: ULi M5263 at pci0000:00:0d.0, 00:13:8f:24:98:e6, irq 17.
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Down
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
uli526x: eth0 NIC Link is Up 100 Mbps Full duplex
linux:/home/lassi #


Poissa harmie

  • Valvoja
  • *
  • Viestejä: 2791
  • Sukupuoli: Mies
Vs: suse 10.3 ja dhcp ongelma (ei kytke nettiin)
« Vastaus #5 : 26.11.2007 - klo:21:41 »
Tässä pari temppua jota voit koittaa
anna komento (sieltä tulee pitkä listaus mutta etsilla olevat kohdat)

harmie@pluto:~> /usr/sbin/hwinfo --netcard
  Driver: "forcedeth"
  Driver Modules: "forcedeth"
  Device File: eth0
    Driver Status: forcedeth is active
    Driver Activation Cmd: "modprobe forcedeth"


Sitten kun näet mikä ajuri kernelistä pitäisi olla ladattu kokeile alla olevalla esimerkillä onko se ladattuna
harmie@pluto:~> lsmod | grep -i forcedeth
forcedeth              49672  0


Sitten voit myös kokeilla seuraavaa
su -
/sbin/ifdown eth0
/sbin/dhclient eth0


lassi123

  • Vieras
Vs: suse 10.3 ja dhcp ongelma (ei kytke nettiin)
« Vastaus #6 : 27.11.2007 - klo:19:27 »
OK, nyt sain tehtyä temput. /usr/sbin/hwinfo --netcard antaa kuetn sullakin, mutta forcedeth->uli526x

lsmod | grep -i uli526x antaa
uli526x                    34196     0

ja /sbin/ifdown eth0
eth0            device: ALi corporation ULi etc..

lopuksi /sbin/dhclient eth0

linux:/home/lassi # /sbin/dhclient eth0
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:13:8f:24:98:e6
Sending on   LPF/eth0/00:13:8f:24:98:e6
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 19
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
linux:/home/lassi #


Nyt taitaa olla muuten niin, että vikaa on (myös) ELISAn päässä tai sitten ADSL motukka sökö. Eilen pätki pahasti, ja nyt XP-koneella ei saanut enää ollenkaan yhteyttä; piti turvautua kännykkä dataan, jotta sain tämän lähetettyä. Olisiko SUSE (pöytäkone) ollut herkempi reagoimaan huonoon yhteyteen, kun oireili jo ennen XPn (läppäri) lopullista irtisanoutumista.

Parin päivän päästä pitäisi tulla uusi modeemi, lupasivat ELISAlla (kokeiltavaksi).

lassi123

  • Vieras
Vs: suse 10.3 ja dhcp ongelma (ei kytke nettiin)
« Vastaus #7 : 30.11.2007 - klo:19:30 »
No nyt se uusi ADSL-purkki tuli, ja heti alkoi pelittää. Kiitoksia harmielle vaivannäöstä. Täytyy selvitellä sitä QEMU/Samba juttua myöhemmin.