Portál AbcLinuxu, 13. května 2025 21:57

Dotaz: service network status

17.2.2007 17:44 topenar
service network status
Přečteno: 494×
Odpovědět | Admin
Pří zadání výše uvededného příkazu dostanu tento výpis

[root@topenar etc]# service network status Configured devices: lo ath0 dummy0 eth0 wlan0 Currently active devices:

Výpis currently active devices je prázdný, ale všehna zařízení jsou nahoře a běží.

Nevíte jak tento problém řešit?

Přikládám dmesg:
[root@topenar log]# cat dmesg
Linux version 2.6.18-1.2257.fc5 (brewbuilder@hs20-bc1-5.build.redhat.com) (gcc version 4.1.1 20060525 (Red Hat 4.1.1-1)) #1 Fri Dec 15 16:04:33 EST 2006
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000004000000 (usable)
 BIOS-e820: 00000000fffe0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
64MB LOWMEM available.
Using x86 segment limits to approximate NX protection
On node 0 totalpages: 16384
  DMA zone: 4096 pages, LIFO batch:0
  Normal zone: 12288 pages, LIFO batch:3
DMI 2.3 present.
ACPI: Unable to locate RSDP
Allocating PCI resources starting at 10000000 (gap: 04000000:fbfe0000)
Detected 467.781 MHz processor.
Built 1 zonelists.  Total pages: 16384
Kernel command line: ro root=/dev/VolGroup00/LogVol00 rhgb quiet
Enabling fast FPU save and restore... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c0733000 soft=c0732000
PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 59164k/65536k available (1984k kernel code, 5924k reserved, 729k data, 200k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 935.99 BogoMIPS (lpj=467996)
Security Framework v1.0.0 initialized
SELinux:  Initializing.
SELinux:  Starting in permissive mode
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0183f9ff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 0183f9ff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 128K
CPU: After all inits, caps: 0183f1ff 00000000 00000000 00000040 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: Intel Celeron (Mendocino) stepping 05
Checking 'hlt' instruction... OK.
checking if image is initramfs... it is
Freeing initrd memory: 1659k freed
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfd9e8, last bus=1
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
Boot video device is 0000:01:00.0
PCI: Using ALI IRQ Router
PCI: Using IRQ router ALI [10b9/1533] at 0000:00:07.0
PCI: Hardcoded IRQ 14 for device 0000:00:0f.0
PCI: Bridge: 0000:00:01.0
  IO window: c000-cfff
  MEM window: d7e00000-dfefffff
  PREFETCH window: d7c00000-d7cfffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 3, 32768 bytes)
TCP bind hash table entries: 1024 (order: 2, 20480 bytes)
TCP: Hash tables configured (established 2048 bind 1024)
TCP reno registered
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
audit: initializing netlink socket (disabled)
audit(1171665782.167:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
SELinux:  Registering netfilter hooks
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key 3A56AF23971F7AF3
- User ID: Red Hat, Inc. (Kernel Module GPG key)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Activating ISA DMA hang workarounds.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12ac
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected ALi M???? chipset
agpgart: AGP aperture is 4M @ 0xe0000000
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ALI15X3: IDE controller at PCI slot 0000:00:0f.0
PCI: Hardcoded IRQ 14 for device 0000:00:0f.0
ALI15X3: chipset revision 193
ALI15X3: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:pio, hdb:pio
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: ST36422A, ATA DISK drive
hdb: WDC AC1170, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdd: 50X CD-ROM, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 12500460 sectors (6400 MB) w/512KiB Cache, CHS=13228/15/63, UDMA(33)
hda: cache flushes not supported
 hda: hda1 hda2
hdb: max request size: 128KiB
hdb: 333300 sectors (170 MB) w/63KiB Cache, CHS=1010/6/55
 hdb: hdb1
ide-floppy driver 0.99.newide
usbcore: registered new driver libusual
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
TCP bic registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
Time: tsc clocksource has been installed.
Freeing unused kernel memory: 200k freed
Write protecting the kernel read-only data: 352k
device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@redhat.com
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
SELinux:  Disabled at runtime.
SELinux:  Unregistering netfilter hooks
audit(1171665788.462:2): selinux=0 auid=4294967295
via-rhine.c:v1.10-LK1.4.1 July-24-2006 Written by Donald Becker
PCI: setting IRQ 9 as level-triggered
PCI: Found IRQ 9 for device 0000:00:12.0
eth0: VIA Rhine III at 0xdfffff00, 00:0e:2e:34:92:83, IRQ 9.
eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 45e1.
input: PC Speaker as /class/input/input0
hdd: ATAPI 40X CD-ROM drive, 128kB Cache, (U)DMA
Uniform CD-ROM driver Revision: 3.20
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
ieee80211_crypt: registered algorithm 'NULL'
wlan: 0.8.4.2 (svn r1794)
ath_rate_sample: 1.2 (svn r1794)
ath_pci: 0.9.4.5 (svn r1794)
PCI: setting IRQ 10 as level-triggered
PCI: Found IRQ 10 for device 0000:00:10.0
hostap_pci: 0.4.4-kernel (Jouni Malinen)
wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 5.9 phy 4.3 radio 3.6
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
wifi0: Atheros 5212: mem=0xdffe0000, irq=10
PCI: setting IRQ 11 as level-triggered
PCI: Found IRQ 11 for device 0000:00:0e.0
hostap_pci: Registered netdevice wifi1
wifi1: Original COR value: 0x0
prism2_hw_init: initialized in 200 ms
wifi1: NIC: id=0x8013 v1.0.0
wifi1: PRI: id=0x15 v1.1.1
wifi1: STA: id=0x1f v1.7.4
wifi1: Intersil Prism2.5 PCI: mem=0xd7dff000, irq=11
wifi1: registered netdevice wlan0
FDC 0 is a post-1991 82077
lp: driver loaded but no devices found
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
EXT3 FS on dm-0, internal journal
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 262136k swap on /dev/VolGroup00/LogVol01.  Priority:-1 extents:1 across:262136k
Přikládám lspci:
[root@topenar log]# lspci
00:00.0 Host bridge: ALi Corporation M1621 (rev 05)
00:01.0 PCI bridge: ALi Corporation PCI to AGP Controller (rev 01)
00:07.0 ISA bridge: ALi Corporation M1533/M1535 PCI to ISA Bridge [Aladdin IV/V/V+] (rev c3)
00:0e.0 Network controller: Intersil Corporation Prism 2.5 Wavelan chipset (rev 01)
00:0f.0 IDE interface: ALi Corporation M5229 IDE (rev c1)
00:10.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6105 [Rhine-III] (rev 8b)
01:00.0 VGA compatible controller: S3 Inc. 86c368 [Trio 3D/2X] (rev 02)
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

18.2.2007 00:10 topenar
Rozbalit Rozbalit vše Re: service network status
Odpovědět | | Sbalit | Link | Blokovat | Admin
Přišel jsem díky jinému uživately na toto řešení:

Tak jsem našel problém v /etc/init.d/network v sekci status. Původně tam bylo
/sbin/ip -o link show | awk -F ": " '/UP>/ { print $2 }' 
ale příkaz /sbin/ip -o link show vracel špatnou hodnotu v části UP. UP nekončí >, takže jsem upravil řádek na
/sbin/ip -o link show | awk -F ": " '/UP/ { print $2 }' 
a vše snad funguje jak má.
11.2.2008 18:56 karel
Rozbalit Rozbalit vše Re: service network status
Odpovědět | | Sbalit | Link | Blokovat | Admin
co je a znamena prikaz service?

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.