FAQ | Points | Add... | Recent posts | Search | Register | Log in


Instalacja i konfiguracja serwera pod systemem Linux


Post new topic  This topic is locked      Main Page -> Forum Index -> Network, Internet -> Instalacja i konfiguracja serwera pod systemem Linux
Author
Message
minister23
Poziom 3
Poziom 3


Joined: 15 Aug 2007
Posts: 7

Post#241 06 Oct 2007 11:54   

Re: Instalacja serwera na linux - instrukcja


gothye wrote:
wkompiluj na stałe w kernel oraz zaznacz SMC sieciówke ,czasem realtek wpuszcza karty oparte na tym chipie

pokaz po kompilacji jajka :

Code:
dsmeg



wiem , że już jestem uciążliwym forumowiczem, ale potrzebuje większej pomocy !

1) na stałe, czyli jak ??
2) w Linux Kernel Configuration, jest zaznaczone takie cuś
<M> SMC EtherPower II

to masz na myśli ??
Back to top
   
Google

Google Adsense


Post# 06 Oct 2007 11:54   





Back to top
   
gothye
Poziom 22
Poziom 22


Joined: 12 Dec 2003
Posts: 2390

Post#242 Post from the author of the topic 06 Oct 2007 11:59   

Re: Instalacja serwera na linux - instrukcja


<M> oznacza kompilacje jako moduł
<*> oznacza kompilacje na stałe w kernelu

mnie wiecej musi wyglądać tak :

Code:
                      [*] EISA, VLB, PCI and on board controllers                                                 
                        < >   AMD PCnet32 PCI support                                                               
                        < >   AMD 8111 (new PCI lance) support                                                       
                        < >   Adaptec Starfire/DuraLAN support                                                       
                        <*>   Broadcom 4400 ethernet support                                                         
                        <*>   nForce Ethernet support                                                               
                        [ ]     Use Rx and Tx Polling (NAPI) (EXPERIMENTAL)                                         
                        < >   Digi Intl. RightSwitch SE-X support                                                   
                        < >   EtherExpressPro/100 support (eepro100, original Becker driver)                         
                        <*>   Intel(R) PRO/100+ support                                                             
                        < >   Myson MTD-8xx PCI Ethernet support                                                     
                        < >   National Semiconductor DP8381x series PCI Ethernet support                             
                        < >   PCI NE2000 and clones support (see help)                                               
                        <*>   RealTek RTL-8139 C+ PCI Fast Ethernet Adapter support (EXPERIMENTAL)                   
                        <*>   RealTek RTL-8129/8130/8139 PCI Fast Ethernet Adapter support                           
                        [ ]     Use PIO instead of MMIO                                                             
                        [ ]     Support for uncommon RTL-8139 rev. K (automatic channel equalization)               
                        [ ]     Support for older RTL-8129/8130 boards                                               
                        [ ]     Use older RX-reset method                                                           
                        <*>   SiS 900/7016 PCI Fast Ethernet Adapter support                                         
                        <*>   SMC EtherPower II                                                                     
                        < >   Sundance Alta support                                                                 
                        < >   TI ThunderLAN support                                                                 
                        <*>   VIA Rhine support   

Back to top
   
minister23
Poziom 3
Poziom 3


Joined: 15 Aug 2007
Posts: 7

Post#243 06 Oct 2007 12:50   

Re: Instalacja serwera na linux - instrukcja


nie pomogło, znów to samo

i teraz też był motyw z tym że przy kompilacji jądra
było coś takiego :

drivers/net/8139 too. c / 1153 - value computed it not used

z pięć linijek, dokładnie przy kompilacji sterów do rtl 8139 !!

debiana mam 4.0 r5

jakieś pomysły, czy wymienić sieciówki ??

a cha, a komenda "dsmeg" - command not found !
Back to top
   
GAAD
Poziom 15
Poziom 15


Joined: 29 Mar 2002
Posts: 231

Post#244 06 Oct 2007 12:56   

Re: Instalacja serwera na linux - instrukcja


jest bląd literowy wpisz
dmesg

mnie udało sie uruchomić sagema teraz pytanie czy koniecznie muszę kompilować jądro?
czy można po uruchomieniu neostrady przejść do instalacji iptables, ipp2p, ...? nie wiem czy uda mi się skompilować kernela z obsługą sagema przez usb bez kompilacji serwer powinien działać prawda?

jak w prosty sposób na szybko udostępnić połączenie internetowe z ppp0 na eth0 aby działał net na podłączonych kompach??

Wojtek
no to może nie do końca wg. intrukcji to poszło ale tymczasowo działa
ppp0 czyli sagem usb +jedna karta sieciowa eth0 uruchomiony sam firewall z debiana necik jest już w lanie i można eksperymentować dalej :D
Back to top
   
minister23
Poziom 3
Poziom 3


Joined: 15 Aug 2007
Posts: 7

Post#245 07 Oct 2007 13:33   

Re: Instalacja serwera na linux - instrukcja


kurcze, wywaliłem sieciówki rtl8139 i włozyłem sieciówki 3com905 które od 2 lat latają mi w innym serwie na debianie i znów kompilacja jądra - niby wszystko ok , ale po restarcie niemam neta "Network is unreachable" <- kompunikat przy próbie pinga czegokolwiek !~

przyznaje niewychodzi mi i pomału się znięchecam do próby stawiania samemu sobie serwera :/

wkleje jeszcze co pokazuje mi debian po komendzie "dmesg"
po kompilacji jądra

Code:
debian:/usr/src/linux# dmesg
Linux version 2.6.18-5-686 (Debian 2.6.18.dfsg.1-13) (dannf@debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 SMP Fri Jun 1 00:47:00 UTC 2007
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001fdf0000 (usable)
 BIOS-e820: 000000001fdf0000 - 000000001fdf3000 (ACPI NVS)
 BIOS-e820: 000000001fdf3000 - 000000001fe00000 (ACPI data)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
509MB LOWMEM available.
found SMP MP-table at 000f6430
On node 0 totalpages: 130544
  DMA zone: 4096 pages, LIFO batch:0
  Normal zone: 126448 pages, LIFO batch:31
DMI 2.2 present.
ACPI: RSDP (v000 VIA601                                ) @ 0x000f7d60
ACPI: RSDT (v001 VIA601 MSI ACPI 0x42302e31 AWRD 0x00000000) @ 0x1fdf3000
ACPI: FADT (v001 VIA601 MSI ACPI 0x42302e31 AWRD 0x00000000) @ 0x1fdf3040
ACPI: MADT (v001 VIA601 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x1fdf5e80
ACPI: DSDT (v001 VIA601 AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000
ACPI: PM-Timer IO Port: 0x4008
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 6:8 APIC version 17
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 dfl dfl)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 20000000 (gap: 1fe00000:e01f0000)
Detected 1002.399 MHz processor.
Built 1 zonelists.  Total pages: 130544
Kernel command line: auto BOOT_IMAGE=Linux ro root=301
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 8192 bytes)
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 510104k/522176k available (1541k kernel code, 11556k reserved, 576k data, 196k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 2006.78 BogoMIPS (lpj=4013570)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0383fbff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 0383fbff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 128K
CPU: After all inits, caps: 0383fbff 00000000 00000000 00000040 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 12k freed
ACPI: Core revision 20060707
CPU0: Intel Celeron (Coppermine) stepping 0a
Total of 1 processors activated (2006.78 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
Brought up 1 CPUs
migration_cost=0
checking if image is initramfs... it is
Freeing initrd memory: 4390k freed
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfb530, last bus=1
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
PCI quirk: region 6000-607f claimed by vt82c686 HW-mon
PCI quirk: region 5000-500f claimed by vt82c686 SMB
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 11 *12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 *5 6 7 10 11 12 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 12 devices
PnPBIOS: Disabled by ACPI PNP
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
PCI: Bridge: 0000:00:01.0
  IO window: disabled.
  MEM window: d0000000-d2ffffff
  PREFETCH window: 20000000-200fffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 8192)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1191742312.508:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
PCI: Enabling Via external APIC routing
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
PNP: PS/2 controller doesn't have AUX irq; using default 12
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
Time: tsc clocksource has been installed.
ACPI: (supports S0 S1 S4 S5)
Freeing unused kernel memory: 196k freed
input: AT Translated Set 2 keyboard as /class/input/input0
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:07.1
PCI: VIA IRQ fixup for 0000:00:07.1, from 255 to 0
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci0000:00:07.1
    ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
hda: WDC WD800JB-00ETA0, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: ATAPI CD-ROM DRIVE 40X MAXIMUM, ATAPI CD/DVD-ROM drive
hdc: Disabling (U)DMA for ATAPI CD-ROM DRIVE 40X MAXIMUM (blacklisted)
ide1 at 0x170-0x177,0x376 on irq 15
ACPI: PCI Interrupt 0000:00:09.0[A] -> GSI 17 (level, low) -> IRQ 169
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
0000:00:09.0: 3Com PCI 3c905B Cyclone 100baseTx at e0814000.
ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 18 (level, low) -> IRQ 177
0000:00:0a.0: 3Com PCI 3c905B Cyclone 100baseTx at e0822000.
hda: max request size: 512KiB
hda: Host Protected Area detected.
        current capacity is 156299375 sectors (80025 MB)
        native  capacity is 156301488 sectors (80026 MB)
hda: Host Protected Area disabled.
hda: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=16383/255/63, UDMA(100)
hda: cache flushes supported
 hda: hda1 hda2 < hda5 >
hdc: ATAPI 40X CD-ROM drive, 128kB Cache
Uniform CD-ROM driver Revision: 3.20
Attempting manual resume
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
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
input: PC Speaker as /class/input/input1
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected VIA Apollo ProMedia/PLE133Ta chipset
agpgart: AGP aperture is 4M @ 0xd4000000
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
Real Time Clock Driver v1.12ac
Adding 1502036k swap on /dev/hda5.  Priority:-1 extents:1 across:1502036k
EXT3 FS on hda1, internal journal
loop: loaded (max 8 devices)
device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel(malpa)redhat.com
eth0:  setting full-duplex.
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
ACPI: Sleep Button (CM) [SLPB]
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
eth0: no IPv6 routers present


jak ktoś ma jakies pomysły to niech ratuje !!

karty sieciowe to :

Ethernet controller: 3Com corporation 3c905B 100BaseTX [Cyclone]
to mi pokazuje
Code:
lspci

Back to top
   
GAAD
Poziom 15
Poziom 15


Joined: 29 Mar 2002
Posts: 231

Post#246 07 Oct 2007 17:17   

Re: Instalacja serwera na linux - instrukcja


to wklej jeszcze co zwraca
ifconfig
i
ifconfig -a


P.S. czy dostęp przez putty z zewnątrz należy gdzieś konkretnie włączyć? po lan-ie nie ma problemów z neta mi nie działa

Wojtek
Back to top
   
gothye
Poziom 22
Poziom 22


Joined: 12 Dec 2003
Posts: 2390

Post#247 Post from the author of the topic 07 Oct 2007 17:32   

Re: Instalacja serwera na linux - instrukcja


minister23
podaj konfiguracje sprzętową (karty sieciowe ,płyta ,chipset,proc)

GAAD

w kryptach ( /sbin/qos ) jest wpis :
Code:
    iptables -I INPUT -p tcp -i $WAN -m multiport --dport $PORTS -m state --state NEW -j ACCEPT


wystarczy usunąc z niego -i $WAN aby dostep był z kazdego interfeisu ( gdzies zrobiłeś zamieszanie w ustawieniach sieci )
Back to top
   
GAAD
Poziom 15
Poziom 15


Joined: 29 Mar 2002
Posts: 231

Post#248 07 Oct 2007 18:02   

Re: Instalacja serwera na linux - instrukcja


problem w tym, że w chwili obecnej ja mam gołego debiana z nieskompilowanym jądrem z modemem usb sagem fast800 i czytam co nieco o konfiguracji kernela bo wyczytałem, że w Twoim pliku konfiguracyjnym jest wyłączona obsługa ppp więc udostępniłem na szybko neta w sieci bez instalacji iptables iprute itd. chciałbym jednak już teraz mieć dostęp z zewnątrz.
Czy później już gdy serwer będzie w pełni funkcjonalny (mam nadzieję, że mi się to w końcu uda) jest jakiś skrypt, który np. powiadamiałby via email o reboocie lub o wznowieniu połączenia ppp0 i np. wysyłałby mi na maila aktualny IP serwera? Wiadomo na neo jest dynamiczne.
Wojtek
Back to top
   
gothye
Poziom 22
Poziom 22


Joined: 12 Dec 2003
Posts: 2390

Post#249 Post from the author of the topic 07 Oct 2007 20:27   

Re: Instalacja serwera na linux - instrukcja


przypisz neo do jakiego serwisu no-ip itp gdzie bedziesz miał stałą domene przypisaną do zmiennego adresu IP w neo

konfiguracja ppp jest banalnie prosta :

Code:
                     [*]   HIPPI driver support (EXPERIMENTAL)                                                   
                        < >     Essential RoadRunner HIPPI PCI adapter support (EXPERIMENTAL) (NEW)                 
                        <M>   PPP (point-to-point protocol) support                                                 
                        [*]     PPP multilink support (EXPERIMENTAL)                                                 
                        [*]     PPP filtering                                                                       
                        <M>     PPP support for async serial ports                                                   
                        <M>     PPP support for sync tty ports                                                       
                        <M>     PPP Deflate compression                                                             
                        <M>     PPP BSD-Compress compression                                                         
                        <M>     PPP MPPE compression (encryption) (EXPERIMENTAL)                                   
                        <M>     PPP over Ethernet (EXPERIMENTAL)   


czemu jeszcze nieskompilowałes kernela i iptables :?:

po kopilacji bedzie potrafił wiecej jak obecny
Back to top
   
GAAD
Poziom 15
Poziom 15


Joined: 29 Mar 2002
Posts: 231

Post#250 07 Oct 2007 22:23   

Re: Instalacja serwera na linux - instrukcja


no musiałem na weckend udostępnić neta to raz
dwa rodzina też domaga się swoich praw - ile nocy można siedzieć przy kompie?
a trzy czytam co nieco o samej konfiguracji kernela ale niestety w przypadku linuxa dużo trzeba goglować a ja owszem idę na skróty ale co nieco chciałbym robić ze zrozumieniem brak jest niestety przejrzystego przetłumaczonego na polski język opisu wszystkich opcji konfiguracji już dwa razy w sumie kompilowałem jądro raz pogmatwałem z kartami sieciowymi, za drugim razem poszło lepiej dmesg nie zwracał mi błędów ale podczas startu systemu widziałem że jest jakiś problem jakby konflikt wersji jądra z jakimś pakietem sam system działał ale wróciłem do opcji z modemem usb więc instalka na nowo. Teraz chcę jeszcze trochę poczytać o lilo bo startuje od razu z nowym jądrem ale jeśli to jądro nie działa to jak wejść w lilo do poprzedniego i spróbować skompilować jeszcze raz - czy w ogóle jest taka możliwość? jeśli tak to rozumiem że zaczynam od samej konfiguracji bo potrzebne pakiety są już zainstalowane a nowe jądro wypakowane więc starczy
make menuconfig


Wojtek
Back to top
   
gothye
Poziom 22
Poziom 22


Joined: 12 Dec 2003
Posts: 2390

Post#251 Post from the author of the topic 07 Oct 2007 22:26   

Re: Instalacja serwera na linux - instrukcja


lilo w taki przypadku powinno wyglądać tak :

# dopisz do /etc/lilo.conf


Code:
delay=20
vga=normal

prompt
timeout = 30
change-rules
reset

default=Linux-2.6.17

image=/boot/vmlinuz-systemowy kernel
        label = Linux-systemowy kernel
   read-only
   
image=/boot/vmlinuz-2.6.17
        label = Linux-2.6.17
   read-only
   


po starcie pojawi okno wyboru kernela i czeka 20s
Back to top
   
minister23
Poziom 3
Poziom 3


Joined: 15 Aug 2007
Posts: 7

Post#252 07 Oct 2007 23:57   

Re: Instalacja serwera na linux - instrukcja


Code:
minister23
podaj konfiguracje sprzętową (karty sieciowe ,płyta ,chipset,proc)



Code:
lspci


Code:
Host bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia] (rev.05)
PCI bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia AGP]
ISA bridge: VIA TEchnologies, Inc. VT82C686 [Apollo Super South] (rev 40)
IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B?VT823x/A/C PIPC Bus Master IDE (rev 40)
Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone]
Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 30)
VGA compatibile controller: Trident Microsystems CyberBlade/i1 (rev 6a)



zamiast tych siecówek 3Com-a moge użyć tych RTL8139 na których już próbowałem poprzednio !


Code:
Procesor: Celeron(R) 1 Ghz (Coppermine)
Płyta: MicroStar MS-6368 rev.5
Ram: 512 MB SDRam 133 (2 x 256 MB)
HDD: 80 GB WDC WD800BJ-00ETA0 (5400 obr/min) (2 MB Cashe)
Grafika: RivaTNT 2

Back to top
   
GAAD
Poziom 15
Poziom 15


Joined: 29 Mar 2002
Posts: 231

Post#253 08 Oct 2007 10:09   

Re: Instalacja serwera na linux - instrukcja


jeszcze jedno pytanie
w tej chwili mam kernela 2.6.18
uname -a
Linux debian 2.6.18-5-686 #1 SMP Fri Jun 1 00:47:00 UTC 2007 i686 GNU/Linux

kernel, który będę kompilował jest niższy
wget http://gothye.elektroda.eu/linux/system-source-2.6.14.tar.gz
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.14.tar.bz2

czzy nie będzzie żadnych konfliktów jeśli będę kompilowal kernela do niższej wersji?
Back to top
   
gothye
Poziom 22
Poziom 22


Joined: 12 Dec 2003
Posts: 2390

Post#254 Post from the author of the topic 08 Oct 2007 10:48   

Re: Instalacja serwera na linux - instrukcja


GAAD wrote:

czzy nie będzzie żadnych konfliktów jeśli będę kompilowal kernela do niższej wersji?


nie bedzie :!:
Back to top
   
GAAD
Poziom 15
Poziom 15


Joined: 29 Mar 2002
Posts: 231

Post#255 08 Oct 2007 12:44   

Re: Instalacja serwera na linux - instrukcja


ok. plik w lilo pozmieniałem trochę inaczej i w końcu mam okienko botowania domyślnie kernel po kompilacji
niestety po kompilacji kernela nie wszystko jest ok
wtrakcie staru systemu wywala cos takiego:
udev requires kernell...
oraz na końcu oczywiście
kernel doesn't support ppp - generic - needed for PPPaATM

czy jesli zacznę kompilowac jądro po raz kolejny to poprzednia kopilacja zostanie nadpisana i nie muszę już zmianiać lilo.conf czy powstanie kolejna wersja jądra?
Back to top
   
gothye
Poziom 22
Poziom 22


Joined: 12 Dec 2003
Posts: 2390

Post#256 Post from the author of the topic 08 Oct 2007 17:12   

Re: Instalacja serwera na linux - instrukcja


Code:
wchodzisz w zródła kernela :
/usr/src/linux
konfigurujesz ;
make menuconfig
czyscisz :
make clean
kompilujesz
make && make modules_install
kopiujesz kernel :
cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.14 ;cp System.map /boot/System.map-2.6.14
instalujesz w lilo :
lilo -v

Back to top
   
minister23
Poziom 3
Poziom 3


Joined: 15 Aug 2007
Posts: 7

Post#257 08 Oct 2007 17:29   

Re: Instalacja serwera na linux - instrukcja


Code:
gothye


a mi pomożesz ??

co sądzisz o tej koniguracji...
Back to top
   
Google

Google Adsense


Post# 08 Oct 2007 17:29   





Back to top
   
gothye
Poziom 22
Poziom 22


Joined: 12 Dec 2003
Posts: 2390

Post#258 Post from the author of the topic 08 Oct 2007 17:31   

Re: Instalacja serwera na linux - instrukcja


wkompiluj wszystkie karty 3com 100mb/10mb na stałe w kernel i sprawdz ,nie mam pomysłu dlaczego tak się u Ciebie dzieje ,przygotuj wejscie na serwer z zewnątrz i podeslij mi dane na priv
Back to top
   
GAAD
Poziom 15
Poziom 15


Joined: 29 Mar 2002
Posts: 231

Post#259 08 Oct 2007 18:21   

Re: Instalacja serwera na linux - instrukcja


powiedz mi jeszcze czy mogę zamiast źródeł i kernela z Twojego opisu

wget http://gothye.elektroda.eu/linux/system-source-2.6.14.tar.gz
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.14.tar.bz2
l
pobrać wyższe, np. takie jak mam obecnie np.
wget http://www.eu.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.5.tar.gz
wget http://www.eu.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.5.tar.bz2

albo jeszcze nowsze? czy nie będzie problemów z patchem? mam nadzieję, że wtedy znikną mi te problemy z udev i ppp
Back to top
   
gothye
Poziom 22
Poziom 22


Joined: 12 Dec 2003
Posts: 2390

Post#260 Post from the author of the topic 08 Oct 2007 18:26   

Re: Instalacja serwera na linux - instrukcja


patche są przygotowane tylko na kernel 2.6.14 ,problem z ppp :?: chyba zartujesz , ten kernel jest jednym z bardzo stabilnych z których kozystam i na nim stoi mój koncentrator ppp dla sieci <800 ludzi
Back to top
   
GAAD
Poziom 15
Poziom 15


Joined: 29 Mar 2002
Posts: 231

Post#261 08 Oct 2007 18:34   

Re: Instalacja serwera na linux - instrukcja


ok jutro kolejne podejście do kompilacji wygląda na to, że po kompilacji będę musiał na nowo zainstalować neostradę z sagemem, błąd udev z pewnością wystąpi ale w niczym nie przeszkadza aby nie występował jądro musi być w wersji 2.615 lub wyżej jak zdążyłem wyczytać
czyli gdy kompiluję nowe jądro to z tego na którym aktualnie pracuję system nie pobiera zupełnie niczego i stąd brak neo.
sądziłem, że kompilacja to poprawki do jądra na którym pracuję, które jest zainstalowane

no i niestety pakiet udev jednak jest wymagany do instalacji modemu sagem a wjądrze 2.6.14 go nie ma więc nie zainstaluję po kompilacji modem.
jądro w sumie skompilowalem i nie ma błędów sieciówka działa tyle że brak pakietu udev więc narazie nie instalowałem sagema czy jest możliwość zainstalowania go podczas kompilacji??
Back to top
   
buska3
Poziom 10
Poziom 10


Joined: 19 Mar 2006
Posts: 55
Location: Aleksandrów Kujawski

Post#262 11 Oct 2007 09:54   

Re: Instalacja serwera na linux - instrukcja


Nie będę zakładał nowego posta i zapytam się tutaj.
Mam dwie sprawy.

1. Jak zainstalować na debianie etch BeWAN ADSL PCI ST Modem ADSL interne na kernelach 2.6.18 i wyżej. ( http://www.bewan.fr/bewan/produits/modems/adslpcist.php )
2. Chciałby się dowiedzieć gdzie można znaleźć , albo czy ktoś ma ma tak zwane panele www do dzielenia łącza, (przyznawanie transferu, blokowanie p2p, itp.)
Back to top
   
gothye
Poziom 22
Poziom 22


Joined: 12 Dec 2003
Posts: 2390

Post#263 Post from the author of the topic 11 Oct 2007 15:56   

Re: Instalacja serwera na linux - instrukcja


1.zainstaluj kernel <2.6.18
2.nie
Back to top
   
buska3
Poziom 10
Poziom 10


Joined: 19 Mar 2006
Posts: 55
Location: Aleksandrów Kujawski

Post#264 11 Oct 2007 21:04   

Re: Instalacja serwera na linux - instrukcja


mam rozumieć że na wyższym kernelu nie pójdzie ten modem???
Mam aktualnie jajo 2.6.20 czy po zmianie jajka wszystko będzie w porządku, system przystosowany do dzielenia łącza jest.
Back to top
   
Renegat_pol
Poziom 16
Poziom 16


Joined: 23 Jun 2003
Posts: 304
Location: Augustów

Post#265 12 Oct 2007 11:58   

Re: Instalacja serwera na linux - instrukcja


gothye

Zauważyłem braki niektórych plików na twoim serwerze. Naniesiesz poprawki?
Back to top
   
gothye
Poziom 22
Poziom 22


Joined: 12 Dec 2003
Posts: 2390

Post#266 Post from the author of the topic 12 Oct 2007 18:18   

Re: Instalacja serwera na linux - instrukcja


Renegat_pol wrote:
gothye

Zauważyłem braki niektórych plików na twoim serwerze. Naniesiesz poprawki?



napisz których brakuje bedzie mi latwiej uzupełnić - Brak czasu :(
Back to top
   
luppy
Poziom 2
Poziom 2


Joined: 03 Mar 2007
Posts: 2
Location: Turek

Post#267 13 Oct 2007 09:08   

Re: Instalacja serwera na linux - instrukcja


wget http://gothye.elektroda.eu/l7-protocols-2006-09-10.tar.gz
wget http://gothye.elektorda.eu/linux/boa.conf
wget http://gothye.elektroda.eu/linux/rrdtool-1.0.48.tar.gz
wget http://gothye.elektroda.eu/linux/lstat-2.3-BETA.tar.gz
wget http://gothye.elektroda.eu/linux/staty

To są brakujące pliki
Back to top
   
Google

Google Adsense


Post# 13 Oct 2007 09:08   





Back to top
   
Renegat_pol
Poziom 16
Poziom 16


Joined: 23 Jun 2003
Posts: 304
Location: Augustów

Post#268 13 Oct 2007 20:08   

Re: Instalacja serwera na linux - instrukcja


Jeszcze:

wget http://gothye.elektroda.eu/linux/proftpd.conf
wget http://gothye.elektroda.eu/linux/squid.conf
Back to top
   
OSCAR123
Poziom 6
Poziom 6


Joined: 07 Sep 2006
Posts: 17

Post#269 14 Oct 2007 17:08   

Re: Instalacja serwera na linux - instrukcja


Mam pytanie do autora postu - gothye:
Konfiguruję serwer według tego opisu co jest na samym początku tematu i po wpisaniu komendy "make dep && make clean && make bzImage && make modules && make modules_install" system coś się kompiluje, ale w pewnym momencie wyskakuje:

In file included from /usr/src/linux-2.4.31/include/linux/prefetch.h:13,
from /usr/src/linux-2.4.31/include/linux/list.h:6,
from /usr/src/linux-2.4.31/include/linux/wait.h:14,
from /usr/src/linux-2.4.31/include/linux/fs.h:12,
from /usr/src/linux-2.4.31/include/linux/capability.h:17,
from /usr/src/linux-2.4.31/include/linux/binfmts.h:5,
from /usr/src/linux-2.4.31/include/linux/sched.h:9,
from /usr/src/linux-2.4.31/include/linux/mm.h:4,
from /usr/src/linux-2.4.31/include/linux/slab.h:14,
from /usr/src/linux-2.4.31/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux-2.4.31/include/asm/processor.h:75: error: array type has incomple te element type
In file included from /usr/src/linux-2.4.31/include/linux/fs.h:322,
from /usr/src/linux-2.4.31/include/linux/capability.h:17,
from /usr/src/linux-2.4.31/include/linux/binfmts.h:5,
from /usr/src/linux-2.4.31/include/linux/sched.h:9,
from /usr/src/linux-2.4.31/include/linux/mm.h:4,
from /usr/src/linux-2.4.31/include/linux/slab.h:14,
from /usr/src/linux-2.4.31/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux-2.4.31/include/linux/ncp_fs_i.h:26: warning: 'packed' attribute i gnored for field of type '__u8'
/usr/src/linux-2.4.31/include/linux/ncp_fs_i.h:27: warning: 'packed' attribute i gnored for field of type '__u8[6]'
In file included from /usr/src/linux-2.4.31/include/linux/ncp_mount.h:12,
from /usr/src/linux-2.4.31/include/linux/ncp_fs_sb.h:12,
from /usr/src/linux-2.4.31/include/linux/fs.h:733,
from /usr/src/linux-2.4.31/include/linux/capability.h:17,
from /usr/src/linux-2.4.31/include/linux/binfmts.h:5,
from /usr/src/linux-2.4.31/include/linux/sched.h:9,
from /usr/src/linux-2.4.31/include/linux/mm.h:4,
from /usr/src/linux-2.4.31/include/linux/slab.h:14,
from /usr/src/linux-2.4.31/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux-2.4.31/include/linux/ncp.h:24: warning: 'packed' attribute ignore d for field of type '__u8'
/usr/src/linux-2.4.31/include/linux/ncp.h:25: warning: 'packed' attribute ignore d for field of type '__u8'
/usr/src/linux-2.4.31/include/linux/ncp.h:26: warning: 'packed' attribute ignore d for field of type '__u8'
/usr/src/linux-2.4.31/include/linux/ncp.h:27: warning: 'packed' attribute ignore d for field of type '__u8'
/usr/src/linux-2.4.31/include/linux/ncp.h:28: warning: 'packed' attribute ignore d for field of type '__u8'
/usr/src/linux-2.4.31/include/linux/ncp.h:29: warning: 'packed' attribute ignore d for field of type '__u8[]'
/usr/src/linux-2.4.31/include/linux/ncp.h:37: warning: 'packed' attribute ignore d for field of type '__u8'
/usr/src/linux-2.4.31/include/linux/ncp.h:38: warning: 'packed' attribute ignore d for field of type '__u8'
/usr/src/linux-2.4.31/include/linux/ncp.h:39: warning: 'packed' attribute ignore d for field of type '__u8'
/usr/src/linux-2.4.31/include/linux/ncp.h:40: warning: 'packed' attribute ignore d for field of type '__u8'
/usr/src/linux-2.4.31/include/linux/ncp.h:41: warning: 'packed' attribute ignore d for field of type '__u8'
/usr/src/linux-2.4.31/include/linux/ncp.h:42: warning: 'packed' attribute ignore d for field of type '__u8'
/usr/src/linux-2.4.31/include/linux/ncp.h:43: warning: 'packed' attribute ignore d for field of type '__u8[]'
/usr/src/linux-2.4.31/include/linux/ncp.h:137: warning: 'packed' attribute ignor ed for field of type '__u8'
/usr/src/linux-2.4.31/include/linux/ncp.h:138: warning: 'packed' attribute ignor ed for field of type '__u8[256]'
/usr/src/linux-2.4.31/include/linux/ncp.h:174: warning: 'packed' attribute ignor ed for field of type '__u8'
In file included from /usr/src/linux-2.4.31/include/asm/smp.h:17,
from /usr/src/linux-2.4.31/include/linux/smp.h:14,
from /usr/src/linux-2.4.31/include/linux/sched.h:23,
from /usr/src/linux-2.4.31/include/linux/mm.h:4,
from /usr/src/linux-2.4.31/include/linux/slab.h:14,
from /usr/src/linux-2.4.31/include/linux/proc_fs.h:5,
from init/main.c:15:
/usr/src/linux-2.4.31/include/asm/mpspec.h:87: warning: 'packed' attribute ignor ed for field of type 'unsigned char[6]'
In file included from init/main.c:20:
/usr/src/linux-2.4.31/include/linux/delay.h: In function 'msleep':
/usr/src/linux-2.4.31/include/linux/delay.h:59: warning: value computed is not u sed
/usr/src/linux-2.4.31/include/linux/delay.h: In function 'ssleep':
/usr/src/linux-2.4.31/include/linux/delay.h:65: warning: value computed is not u sed
make: *** [init/main.o] Błąd 1


Proszę o pomoc co jest nie tak. Wszystko robię według opisu i za każdym razem jest to samo.
Back to top
   
gothye
Poziom 22
Poziom 22


Joined: 12 Dec 2003
Posts: 2390

Post#270 Post from the author of the topic 14 Oct 2007 17:28   

Re: Instalacja serwera na linux - instrukcja


1. - nie zaistalujesz kernela 2.4.xx na etch :!:
2.Powoli dochodzę do wniosku ze zemieszczenie tego artykułu było powaznym błedem ,prosiłem aby niezalewać mnie pytaniami na priv :!:
Back to top
   
Post new topic  This topic is locked      Main Page -> Forum Index -> Network, Internet -> Instalacja i konfiguracja serwera pod systemem Linux
Page 9 of 10 Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Similar topics
Konfiguracja serwera SQL i klienta pod aplikację (4)
[LINUX] Instalacja i konfiguracja firebirda (28)
Konfiguracja serwera pod hosting www (13)
Konfiguracja serwera pod hosting. (8)
Jak zainstalować neostrade tp pod systemem Linux Aurox 10.1 (4)
Kopiarka BizHUB 162 pod systemem linux. (4)
Instalacja Linux z serwera PXE (4)
Instalacja i konfiguracja serwera Tomcat pod Linuxem (1)
Linux NND, instalacja i konfiguracja bridge (20)
LINUX - instalacja, konfiguracja, najczęstsze problemy - FAQ (5)

Page generation time: 0.352 seconds


FAQ || Administrator || Moderators || Widgets and banners || Contact
elektroda.pl topic RSS feed