Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Miałem kiedyś tą kartę zainstalowaną później jej nie potrzebowałem. Teraz znów ja potrzebuje instaluje ręcznie madwifi wsio idzie ok robię modprobe ath_pci i nic. Zainstalowałem więc poprzez module-assistant i dalej brak karty ;/ help googlowałem i nic nie znalazłem ;/
dmseg
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 TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 17 NET: Registered protocol family 8 NET: Registered protocol family 20 Using IPI No-Shortcut mode ACPI: (supports S0 S1 S4 S5) Freeing unused kernel memory: 196k freed Time: tsc clocksource has been installed. ACPI: Fan [FAN] (on) ACPI: CPU0 (power states: C1[C1] C2[C2]) ACPI: Processor [CPU0] (supports 2 throttling states) ACPI: Thermal Zone [THRM] (32 C) usbcore: registered new driver usbfs usbcore: registered new driver hub USB Universal Host Controller Interface driver v3.0 ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 5 PCI: setting IRQ 5 as level-triggered ACPI: PCI Interrupt 0000:00:11.2[D] -> Link [LNKD] -> GSI 5 (level, low) -> IRQ 5 uhci_hcd 0000:00:11.2: UHCI Host Controller uhci_hcd 0000:00:11.2: new USB bus registered, assigned bus number 1 uhci_hcd 0000:00:11.2: irq 5, io base 0x0000d400 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected ACPI: PCI Interrupt 0000:00:11.3[D] -> Link [LNKD] -> GSI 5 (level, low) -> IRQ 5 uhci_hcd 0000:00:11.3: UHCI Host Controller uhci_hcd 0000:00:11.3: new USB bus registered, assigned bus number 2 uhci_hcd 0000:00:11.3: irq 5, io base 0x0000d800 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx via-rhine.c:v1.10-LK1.4.1 July-24-2006 Written by Donald Becker ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11 PCI: setting IRQ 11 as level-triggered ACPI: PCI Interrupt 0000:00:12.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11 eth0: VIA Rhine II at 0x1e800, 00:40:63:cc:02:d5, IRQ 11. eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 0021. VP_IDE: IDE controller at PCI slot 0000:00:11.1 PCI: VIA IRQ fixup for 0000:00:11.1, from 255 to 0 VP_IDE: chipset revision 6 VP_IDE: not 100% native mode: will probe irqs later VP_IDE: VIA vt8231 (rev 10) IDE UDMA100 controller on pci0000:00:11.1 ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:pio, hdb:DMA Probing IDE interface ide0... Time: acpi_pm clocksource has been installed. hdb: SAMSUNG SP0411N, ATA DISK drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hdb: max request size: 512KiB hdb: 78242976 sectors (40060 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA(100) hdb: cache flushes supported hdb: hdb1 hdb2 < hdb5 hdb6 > Attempting manual resume kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. pci_hotplug: PCI Hot Plug PCI Core version: 0.5 shpchp: Standard Hot Plug PCI Controller Driver version: 0.4 parport_pc: VIA 686A/8231 detected parport_pc: probing current configuration parport_pc: Current parallel port base: 0x378 parport0: PC-style at 0x378, irq 7 [PCSPP,EPP] parport_pc: VIA parallel port: io=0x378, irq=7 irda_init() NET: Registered protocol family 23 Linux agpgart interface v0.101 (c) Dave Jones agpgart: Detected VIA Apollo ProMedia/PLE133Ta chipset agpgart: AGP aperture is 128M @ 0xe0000000 input: PC Speaker as /class/input/input0 Via 686a/8233/8235 audio driver 1.9.1-ac4-2.5 ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 12 PCI: setting IRQ 12 as level-triggered ACPI: PCI Interrupt 0000:00:11.5[C] -> Link [LNKC] -> GSI 12 (level, low) -> IRQ 12 PCI: Setting latency timer of device 0000:00:11.5 to 64 ac97_codec: AC97 Audio codec, id: VIA97 (Unknown) via82cxxx: board #1 at 0xDC00, IRQ 12 FDC 0 is a post-1991 82077 Real Time Clock Driver v1.12ac Adding 939760k swap on /dev/hdb5. Priority:-1 extents:1 across:939760k EXT3 FS on hdb1, internal journal loop: loaded (max 8 devices) ath_hal: module license 'Proprietary' taints kernel. ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) wlan: 0.8.4.2 (0.9.3) ath_rate_sample: 1.2 (0.9.3) ath_pci: 0.9.4.5 (0.9.3) device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@redhat.com kjournald starting. Commit interval 5 seconds EXT3 FS on hdb6, internal journal EXT3-fs: mounted filesystem with ordered data mode. eth0: link up, 10Mbps, half-duplex, lpa 0x0021 NET: Registered protocol family 10 lo: Disabled Privacy Extensions IPv6 over IPv4 tunneling driver
lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia] (rev 05) 00:01.0 PCI bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia AGP] 00:11.0 ISA bridge: VIA Technologies, Inc. VT8231 [PCI-to-ISA Bridge] (rev 10) 00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) 00:11.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1e) 00:11.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1e) 00:11.4 Bridge: VIA Technologies, Inc. VT8235 ACPI (rev 10) 00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 40) 00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 51) 00:14.0 Ethernet controller: Atheros Communications, Inc. Unknown device ff16 (rev 01) 00:14.1 Serial controller: Atheros Communications, Inc. Unknown device ff96 (rev 01) 01:00.0 VGA compatible controller: Trident Microsystems CyberBlade/i1 (rev 6a)
lsmod | grep ath
ath_pci 83008 0 ath_rate_sample 12992 1 ath_pci wlan 173820 2 ath_pci,ath_rate_sample ath_hal 191664 2 ath_pci,ath_rate_sample
Offline
iwconfig jej nie widzi ?
Offline
Ups zapomniałem dać wynik iwconfig ;) nie nie widzi pokazuje tylko eth0 i lo
Offline
Zrób sobie na początek [b]update-pciids[/b] aby lspci prawidlowo pokazalo kartę.
Offline
lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia] (rev 05) 00:01.0 PCI bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia AGP] 00:11.0 ISA bridge: VIA Technologies, Inc. VT8231 [PCI-to-ISA Bridge] (rev 10) 00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) 00:11.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1e) 00:11.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1e) 00:11.4 Bridge: VIA Technologies, Inc. VT8235 ACPI (rev 10) 00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 40) 00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 51) 00:14.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01) 01:00.0 VGA compatible controller: Trident Microsystems CyberBlade/i1 (rev 6a)
Spróbuję jeszcze na lennyego się przerzucić może to coś dać??
Offline
Upek na lennego dał radę ;) i działa
Dobra karta działa ale chce z niego ap zrobić więc zrobiłem taki skrypt:
serwer_start się nazywa:
#!/bin/bash wlanconfig ath0 destroy wlanconfig ath0 create wlandev wifi0 wlanmode ap iwconfig ath0 essid testowy iwconfig ath0 channel 8 ifconfig ath0 192.168.10.1 netmask 255.255.255.0 up iwpriv ath0 maccmd 3 iwpriv ath0 maccmd 1 iwpriv ath0 addmac 00:12:79:40:3E:F9 /etc/init.d/dhcp3-server restart
skopiowałem do /etc/init.d/ potem
update-rc.d serwer_start defaults 20
iiii..... DUPA ;) nie działa a jak robię po uruchomieniu sęcznie sh serwer_start to pokazuje:
ath0 Stopping DHCP server: dhcpd3 failed! Starting DHCP server: dhcpd3.
Czyli dhcp wcześniej nie wystartowało a jest dodane do rc ;/
I teraz pytanie ;) dlaczego nie startuje??
Ostatnio edytowany przez giegiel (2008-11-29 18:26:27)
Offline
Jestes pewien ze ten skrypt jest prawidłowy.
Spróbuj go z terminala odpalic to zobaczysz czy zadziała może jakieś wskazówki wypluje.
Offline
No jak odpalę ręcznie to działa.
Offline
Spróbuj go odpalić z opóźnieniem.
opcja sleep ilość sekund
Offline
Dziwna sprawa. Zniknął interfejs ath0!! Nic prócz tego skryptu serwer_start nie robiłem a jakiś czas chodziło to wszystko chodziło (pomijam automatyczne startowanie skryptów).
Wywaliłem więc ten skrypt serwer_start z /etc/init.d/
jajko dystrybucyjne (to samo co było jak działało)
Linux debian 2.6.26-1-686 #1 SMP Sat Nov 8 19:00:26 UTC 2008 i686 GNU/Linux
lsmod | grep ath_pci
ath_pci 202136 0 wlan 193040 1 ath_pci ath_hal 300672 1 ath_pci
lcpci (tutaj dane na temat tej karty wifi się zmieniły!! nie wiem dlaczego robiłem update-pciids ale wyskakuje nadal to samo)
00:00.0 Host bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia] (rev 05) 00:01.0 PCI bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia AGP] 00:11.0 ISA bridge: VIA Technologies, Inc. VT8231 [PCI-to-ISA Bridge] (rev 10) 00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) 00:11.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1e) 00:11.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1e) 00:11.4 Bridge: VIA Technologies, Inc. VT8235 ACPI (rev 10) 00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 40) 00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 51) 00:14.0 Ethernet controller: Atheros Communications Inc. Device ff16 (rev 01) 00:14.1 Multiport serial controller: Atheros Communications Inc. Device ff96 (rev 01) 01:00.0 VGA compatible controller: Trident Microsystems CyberBlade/i1 (rev 6a)
iwconfig
lo no wireless extensions. eth0 no wireless extensions.
dmesg
[ 3.069667] ACPI: Processor [CPU0] (supports 2 throttling states) [ 3.076257] ACPI: LNXTHERM:01 is registered as thermal_zone0 [ 3.076759] ACPI: Thermal Zone [THRM] (32 C) [ 4.244138] No dock devices found. [ 4.560874] SCSI subsystem initialized [ 4.584584] usbcore: registered new interface driver usbfs [ 4.585833] usbcore: registered new interface driver hub [ 4.586004] usbcore: registered new device driver usb [ 4.590850] USB Universal Host Controller Interface driver v3.0 [ 4.591998] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 5 [ 4.592137] PCI: setting IRQ 5 as level-triggered [ 4.592148] ACPI: PCI Interrupt 0000:00:11.2[D] -> Link [LNKD] -> GSI 5 (level, low) -> IRQ 5 [ 4.592320] uhci_hcd 0000:00:11.2: UHCI Host Controller [ 4.592715] uhci_hcd 0000:00:11.2: new USB bus registered, assigned bus number 1 [ 4.592850] uhci_hcd 0000:00:11.2: irq 5, io base 0x0000d400 [ 4.593264] usb usb1: configuration #1 chosen from 1 choice [ 4.593434] hub 1-0:1.0: USB hub found [ 4.593518] hub 1-0:1.0: 2 ports detected [ 4.696606] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001 [ 4.696702] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.696787] usb usb1: Product: UHCI Host Controller [ 4.696849] usb usb1: Manufacturer: Linux 2.6.26-1-686 uhci_hcd [ 4.696915] usb usb1: SerialNumber: 0000:00:11.2 [ 4.697097] ACPI: PCI Interrupt 0000:00:11.3[D] -> Link [LNKD] -> GSI 5 (level, low) -> IRQ 5 [ 4.697272] uhci_hcd 0000:00:11.3: UHCI Host Controller [ 4.697412] uhci_hcd 0000:00:11.3: new USB bus registered, assigned bus number 2 [ 4.697550] uhci_hcd 0000:00:11.3: irq 5, io base 0x0000d800 [ 4.697992] usb usb2: configuration #1 chosen from 1 choice [ 4.698155] hub 2-0:1.0: USB hub found [ 4.698253] hub 2-0:1.0: 2 ports detected [ 4.800558] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001 [ 4.800654] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.800742] usb usb2: Product: UHCI Host Controller [ 4.800805] usb usb2: Manufacturer: Linux 2.6.26-1-686 uhci_hcd [ 4.800870] usb usb2: SerialNumber: 0000:00:11.3 [ 4.960127] via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker [ 4.960224] via-rhine: Broken BIOS detected, avoid_D3 enabled. [ 4.961519] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11 [ 4.961600] PCI: setting IRQ 11 as level-triggered [ 4.961610] ACPI: PCI Interrupt 0000:00:12.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11 [ 4.966620] eth0: VIA Rhine II at 0x1e800, 00:40:63:cc:02:d5, IRQ 11. [ 4.967406] eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 0021. [ 4.970502] libata version 3.00 loaded. [ 5.149964] Uniform Multi-Platform E-IDE driver [ 5.150062] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx [ 5.168570] VP_IDE: IDE controller (0x1106:0x0571 rev 0x06) at PCI slot 0000:00:11.1 [ 5.168729] VP_IDE: not 100% native mode: will probe irqs later [ 5.168836] VP_IDE: VIA vt8231 (rev 10) IDE UDMA100 controller on pci0000:00:11.1 [ 5.168927] VP_IDE: IDE port disabled [ 5.169000] ide0: BM-DMA at 0xd000-0xd007 [ 5.169080] Probing IDE interface ide0... [ 5.612697] FDC 0 is a post-1991 82077 [ 5.812300] hdb: SAMSUNG SP0411N, ATA DISK drive [ 5.868370] hdb: host max PIO5 wanted PIO255(auto-tune) selected PIO4 [ 5.868499] hdb: UDMA/100 mode selected [ 5.868698] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 [ 6.012557] hdb: max request size: 512KiB [ 6.015564] hdb: 78242976 sectors (40060 MB) w/2048KiB Cache, CHS=16383/255/63 [ 6.016223] hdb: cache flushes supported [ 6.016456] hdb: hdb1 hdb2 <Marking TSC unstable due to: TSC halts in idle. [ 6.033287] hdb5 hdb6 > [ 6.537882] PM: Starting manual resume from disk [ 6.605382] kjournald starting. Commit interval 5 seconds [ 6.605382] EXT3-fs: mounted filesystem with ordered data mode. [ 9.622732] udevd version 125 started [ 12.453604] input: PC Speaker as /class/input/input0 [ 13.525486] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 [ 13.609719] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4 [ 14.009894] parport_pc: VIA 686A/8231 detected [ 14.009910] parport_pc: probing current configuration [ 14.009937] parport_pc: Current parallel port base: 0x378 [ 14.009999] parport0: PC-style at 0x378, irq 7 [PCSPP,EPP] [ 14.030418] Linux agpgart interface v0.103 [ 14.047153] agpgart: Detected VIA Apollo ProMedia/PLE133Ta chipset [ 14.056370] agpgart: AGP aperture is 128M @ 0xe0000000 [ 14.106926] parport_pc: VIA parallel port: io=0x378, irq=7 [ 15.003766] NET: Registered protocol family 23 [ 15.812547] Error: Driver 'pcspkr' is already registered, aborting... [ 15.906483] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 12 [ 15.906578] PCI: setting IRQ 12 as level-triggered [ 15.906589] ACPI: PCI Interrupt 0000:00:11.5[C] -> Link [LNKC] -> GSI 12 (level, low) -> IRQ 12 [ 15.906900] PCI: Setting latency timer of device 0000:00:11.5 to 64 [ 16.716502] input: Power Button (FF) as /class/input/input1 [ 16.732123] ACPI: Power Button (FF) [PWRF] [ 16.732466] input: Power Button (CM) as /class/input/input2 [ 16.746807] ACPI: Power Button (CM) [PWRB] [ 21.155782] Adding 939760k swap on /dev/hdb5. Priority:-1 extents:1 across:939760k [ 21.931307] EXT3 FS on hdb1, internal journal [ 22.534836] loop: module loaded [ 22.713843] ath_hal: module license 'Proprietary' taints kernel. [ 22.719098] AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, RF2417) [ 23.150721] device-mapper: uevent: version 1.0.3 [ 23.154225] device-mapper: ioctl: 4.13.0-ioctl (2007-10-18) initialised: dm-devel@redhat.com [ 24.337649] kjournald starting. Commit interval 5 seconds [ 24.337689] EXT3 FS on hdb6, internal journal [ 24.337689] EXT3-fs: mounted filesystem with ordered data mode. [ 25.550447] eth0: link up, 10Mbps, half-duplex, lpa 0x0021 [ 26.779258] NET: Registered protocol family 10 [ 26.780956] lo: Disabled Privacy Extensions
Offline
Zobacz do pliku /etc/udev/rules.d/70-persistent-net.rules
Czy tam coś nie nakiełbasiło się.
No i sprawdz czy ta karta dobrze w slocie siedzi może przeczysc bo to też może być przyczyna takich anomalii.
Ostatnio edytowany przez ilin (2008-11-30 14:56:29)
Offline
Coś takiego:
# This file was automatically generated by the /lib/udev/write_net_rules # program, probably run by the persistent-net-generator.rules rules file. # # You can modify it, as long as you keep each rule on a single line. # MAC addresses must be written in lowercase. # PCI device 0x1106:0x3065 (via-rhine) SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:40:63:cc:02:d5", NAME="eth0" # PCI device 0x168c:0x0013 (ath_pci) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:14:78:8f:5f:cb", ATTR{type}=="1", KERNEL=="ath*", NAME="ath0"
dziwne że się samo wysypuje to nie jest windows ;P
Offline
W tym pliku jest ok.
Ja tu przypuszczam sprawy hardware.
Offline
Co tak ot się spier****?? No co za badziew
Offline
Wyjmij kartę ze slotu przeczyść spirytusem styki i włóż ponownie.
Możesz tez spróbować jakiegoś livecd czy na nim będzie widoczna.
Offline
Dobra spróbuje ale w lspci pokazuje ją. No i lspci raz pokazuje dobrze raz źle ;) teraz mam taki wynik:
00:00.0 Host bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia] (rev 05) 00:01.0 PCI bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia AGP] 00:11.0 ISA bridge: VIA Technologies, Inc. VT8231 [PCI-to-ISA Bridge] (rev 10) 00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) 00:11.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1e) 00:11.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1e) 00:11.4 Bridge: VIA Technologies, Inc. VT8235 ACPI (rev 10) 00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 40) 00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 51) 00:14.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01) 01:00.0 VGA compatible controller: Trident Microsystems CyberBlade/i1 (rev 6a)
Offline
Dobra karta zadziałała ;) ale te skrypty nie wstają przy starcie systemu zrobiłem sleep 30 i nic nie wstają same ;/ help
Offline
Zobacz gdzieś w logach dlaczego nie chce wstać.
Offline
A w których logach?? W syslog nic nie ma na ten temat
Offline
Moze cos w dmesg
Specjalistą od sprzętu sieciowego nie jestem ale patrząc na ten skrypt to większość rzeczy powinna być w /etc/network/interfaces
Być moze to w jakis sposób koliduje z innymi skryptami startowymi.
Spróbuj ustawic opóźnienie na taki czas aby ruszyło dopiero po całkowitym starcie systemu.
Offline
W dsmeg też nic nie ma ;/ Opóźnienie mam na 50 sekund ;) więc na pewno zdąży zastartować ;P spróbuję dopisać te linijki do interfaces w takim razie zobaczę co się stanie.
EDIT:
Dodałem i nie działa w dalszym ciągu. Ma ktoś pomysł jak to zrobić??
Ostatnio edytowany przez giegiel (2008-12-06 23:28:43)
Offline
Ja tu mimo wszystko wietrzę jakiś błąd w sztuce.
Wsadź sobie ten skrypt np do katalogu root.
Do /etc/rc.local dopisz sobie
sleep 50 && /root/nazwa_skryptu
Zobacz czy zadziała.
Offline
Achhh ale byka zrobiłem... źle dodałem do interfaces ;) teraz wpisałem up nazwa_sktyptu i działa ;) jejej ilin wielkie dzięki ;) ale pojawił się kolejny problem. Juz nie będe zakładał nowego wątku w tej sprawie ;/ iptables przestało działać!! wpisuje iptables -L po jakimś czasie wypluwa
/usr/bin/iptables: fork: Zasoby chwilowo niedostępne
i zawiecha kompa ;/ żadne z poleceń iptables nie działa ;/
Ostatnio edytowany przez giegiel (2008-12-07 01:41:37)
Offline
Time (s) | Query |
---|---|
0.00016 | SET CHARSET latin2 |
0.00007 | SET NAMES latin2 |
0.00120 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='52.14.121.12' WHERE u.id=1 |
0.00101 | UPDATE punbb_online SET logged=1738504066 WHERE ident='52.14.121.12' |
0.00088 | SELECT * FROM punbb_online WHERE logged<1738503766 |
0.00104 | DELETE FROM punbb_online WHERE ident='3.230.224.6' |
0.00103 | DELETE FROM punbb_online WHERE ident='44.196.118.6' |
0.00046 | SELECT topic_id FROM punbb_posts WHERE id=105414 |
0.00164 | SELECT id FROM punbb_posts WHERE topic_id=12857 ORDER BY posted |
0.00090 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=12857 AND t.moved_to IS NULL |
0.00006 | SELECT search_for, replace_with FROM punbb_censoring |
0.00139 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=12857 ORDER BY p.id LIMIT 0,25 |
0.00132 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=12857 |
Total query time: 0.01116 s |