Slackware Linux a pridanie sietovej karty ...

Sekcia: Ostatné 23.05.2005 | 11:17
Avatar JANY LINUX REDHAT 9  Používateľ
Mam nahodeny Slackware 9.1 na starej 486, vsetko ISA karty... Vlozil som novu sietovku ISA do PC a teraz potrebujem ju rozchodit.... 1. cez netconfig som nastavil siet, to je OK. 2. /dev/eth0 nemam eth0, ako nainstalujem podporu pre moju novu sietovu kartu v linuxe ? Ked dam ifconfig up mi hlasi ze nema dev/eth0 - logicky 3. cez lspci mi logicky nic nezisti, pretoze mam iba sloty ISA. Ako vlastne zistim na Slackware aky mam fyzicky hardware ? Ako mam postupovat vlastne pri nahodeni noveho hardwaru ? V redhate mi to pri starte kontroluje novy hardware .... Je take nieco aj v Slackware ? DIK ZA RADY....
    • Re: Slackware Linux a pridanie sietovej karty ... 20.05.2005 | 00:26
      peter golis   Návštevník
      odpoved je standardna nakolko sa jedna o isa kartu. vytiahnut, pozriet sa na nu a najst nieco podla coho sa da identifikovat. existuje este jeden sposob, ale to by musela byt ta katra aspon PNP. a v tom pripade by si ju videl v systeme.
      • Re: Re: Slackware Linux a pridanie sietovej karty 20.05.2005 | 10:31
        JANY   Návštevník
        OK, viem aka je ta karta, a potom co ? Nahodit nejaky zasuvny modul do jadra a ho aktivovat ?
        • Re: Re: Re: Slackware Linux a pridanie sietovej ka 20.05.2005 | 18:09
          Jany   Návštevník
        • Re: Re: Re: Slackware Linux a pridanie sietovej ka 20.05.2005 | 21:29
          peter golis   Návštevník
          ano, a aj so zodpovedajucimi parametrami (ioport, intterrupt, mozno aj dma).
          • Re: Re: Re: Re: Slackware Linux a pridanie sietove 21.05.2005 | 01:25
            JANY   Návštevník
            OK, cez modprobe 3c509 som natiahol kartu, modul do jadra, cez ifconfig som nastavil siet... OK Sietovka a eth0 je aktivna, mozem pingat sam na seba, ale na inu IP nie.... Je to stara ISA 3COM karta Combo. Skusil som TP aj Koax, a nic. Pingat mozem len sam na seba ... Na druhom PC win98 je realtek a ta ISA 3COM karta bola povodne v PC s win98 a tam to cez TP islo v pohode. Teraz som tu ISA 3COM kartu dal do starej 486 so slackware a neviem pingat ... V com je problem ???
            • Re: Re: Re: Re: Re: Slackware Linux a pridanie sie 21.05.2005 | 02:10
              peter golis   Návštevník
              smerovanie (route) a IP adresy su nastavene spravne? aby nahodou linux rovno nezahadzoval do kosa vsetku sietovu komunikaciu. alebo blikaju aspon ledky na karte (ak tam su)? PS.: tie parametre pre modul su nastavene spravne? co o tej karte pise jadro? prikaz poprosim vystup z prikazu dmesg a tak isto route a na tych windows route print.
              • Re: Re: Re: Re: Re: Re: Slackware Linux a pridanie 21.05.2005 | 10:14
                JANY   Návštevník
                Takze vyspupy: 1. DMESG: -------------------------- Linux version 2.4.22 (root@midas) (gcc version 3.2.3) #6 Tue Sep 2 17:43:01 PDT 2003 BIOS-provided physical RAM map: BIOS-88: 0000000000000000 - 000000000009f000 (usable) BIOS-88: 0000000000100000 - 0000000000c00000 (usable) 12MB LOWMEM available. On node 0 totalpages: 3072 zone(0): 3072 pages. zone(1): 0 pages. zone(2): 0 pages. DMI not present. Kernel command line: BOOT_IMAGE=Linux ro root=301 Initializing CPU#0 Console: colour VGA+ 80x25 Calibrating delay loop... 39.83 BogoMIPS Memory: 8940k/12288k available (1813k kernel code, 2960k reserved, 614k data, 116k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Dentry cache hash table entries: 2048 (order: 2, 16384 bytes) Inode cache hash table entries: 1024 (order: 1, 8192 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer cache hash table entries: 1024 (order: 0, 4096 bytes) Page-cache hash table entries: 4096 (order: 2, 16384 bytes) CPU: After generic, caps: 00000003 00000000 00000000 00000000 CPU: Common caps: 00000003 00000000 00000000 00000000 CPU: Intel 486 DX/2 stepping 05 Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX mtrr: v1.40 (20010327) Richard Gooch ( mtrr: detected mtrr type: none PCI: System does not support PCI Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd VFS: Disk quotas vdquot_6.5.1 Journalled Block Device driver loaded pty: 512 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled ttyS00 at 0x03f8 (irq = 4) is a 16450 ttyS01 at 0x02f8 (irq = 3) is a 16450 Real Time Clock Driver v1.10e Floppy drive(s): fd0 is 1.44M FDC 0 is an 8272A RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize loop: loaded (max 8 devices) Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4 ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx hda: Maxtor 7171 AT, ATA DISK drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hda: attached ide-disk driver. hda: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error } hda: task_no_data_intr: error=0x04 { DriveStatusError } hda: 337740 sectors (173 MB) w/64KiB Cache, CHS=866/15/26 Partition check: hda: hda1 hda2 SCSI subsystem driver Revision: 1.00 kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 md: linear personality registered as nr 1 md: raid0 personality registered as nr 2 md: raid1 personality registered as nr 3 md: raid5 personality registered as nr 4 raid5: measuring checksumming speed 8regs : 42.400 MB/sec 32regs : 24.400 MB/sec raid5: using function: 8regs (42.400 MB/sec) md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. LVM version 1.0.5+(22/07/2002) Initializing Cryptographic API NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 512 bind 1024) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Freeing unused kernel memory: 116k freed EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,1), internal journal usb.c: registered new driver usbdevfs usb.c: registered new driver hub uhci.c: USB Universal Host Controller Interface driver v1.1 usb-uhci.c: $Revision: 1.275 $ time 18:40:47 Sep 2 2003 usb-uhci.c: High bandwidth mode enabled usb-uhci.c: v1.275:USB Universal Host Controller Interface driver isapnp: Scanning for PnP cards... isapnp: Card '3Com 3C509B EtherLink III' isapnp: 1 Plug & Play card detected total eth0: 3c5x9 at 0x220, undefined port, address 80 60 97 1b f6 6c, IRQ 5. 3c509.c:1.19 16Oct2002 eth0: Setting Rx mode to 1 addresses. -------------------------- 2. IFCONFIG: -------------------------- eth0 Link encap:Ethernet HWaddr 80:60:97:1B:F6:6C inet addr: Bcast: Mask: UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:7395 frame:0 TX packets:7395 errors:0 dropped:0 overruns:0 carrier:22212 collisions:7395 txqueuelen:100 RX bytes:0 (0.0 b) TX bytes:378 (378.0 b) Interrupt:5 Base address:0x220 lo Link encap:Local Loopback inet addr: Mask: UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:7 errors:0 dropped:0 overruns:0 frame:0 TX packets:7 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:784 (784.0 b) TX bytes:784 (784.0 b) -------------------------- 3. LSMOD -------------------------- Module Size Used by Not tainted 3c509 10676 1 isa-pnp 30724 0 [3c509] usbcore 58400 1 -------------------------- 4. ROUTE ---------------------- Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface localnet * U 0 0 0 eth0 loopback * U 0 0 0 lo ---------------------- 5. PNPDUMP ------------------------ # $Id: pnpdump_main.c,v 1.27 2001/04/30 21:54:53 fox Exp $ # Release isapnptools-1.26 # # This is free software, see the sources for details. # This software has NO WARRANTY, use at your OWN RISK # # For details of the output file format, see isapnp.conf(5) # # For latest information and FAQ on isapnp and pnpdump see: # # # Compiler flags: -DREALTIME -DHAVE_PROC -DENABLE_PCI -DHAVE_SCHED_SETSCHEDULER -DHAVE_NANOSLEEP -DWANT_TO_VALIDATE # # Trying port address 0273 # Board 1 has serial identifier ca 97 1b 76 6c 98 50 6d 50 # (DEBUG) (READPORT 0x0273) (ISOLATE PRESERVE) (IDENTIFY *) (VERBOSITY 2) (CONFLICT (IO FATAL)(IRQ FATAL)(DMA FATAL)(MEM FATAL)) # or WARNING # Card 1: (serial identifier ca 97 1b 76 6c 98 50 6d 50) # Vendor Id TCM5098, Serial Number 2535159404, checksum 0xCA. # Version 1.0, Vendor version 1.0 # ANSI string -->3Com 3C509B EtherLink III<-- # # Logical device id TCM5098 # Device supports I/O range check register # Device supports vendor reserved register @ 0x39 # Device supports vendor reserved register @ 0x3b # Device supports vendor reserved register @ 0x3c # Device supports vendor reserved register @ 0x3d # Device supports vendor reserved register @ 0x3f # # Edit the entries below to uncomment out the configuration required. # Note that only the first value of any range is given, this may be changed if required # Don't forget to uncomment the activate (ACT Y) when happy (CONFIGURE TCM5098/2535159404 (LD 0 # Compatible device id PNP80f7 # IRQ 3, 5, 7, 9, 10, 11, 12 or 15. # High true, edge sensitive interrupt (by default) # (INT 0 (IRQ 3 (MODE +E))) # Logical device decodes 16 bit IO address lines # Minimum IO base address 0x0210 # Maximum IO base address 0x03e0 # IO base alignment 16 bytes # Number of IO addresses required: 16 # (IO 0 (SIZE 16) (BASE 0x0210) (CHECK)) (NAME "TCM5098/2535159404[0]{3Com 3C509B EtherLink III}") # (ACT Y) )) # End tag... Checksum 0x00 (OK) # Returns all cards to the "Wait for Key" state (WAITFORKEY) ------------------------ 6. PING ------------------ PING ( 56(84) bytes of data. From icmp_seq=1 Destination Host Unreachable From icmp_seq=2 Destination Host Unreachable From icmp_seq=3 Destination Host Unreachable From icmp_seq=4 Destination Host Unreachable From icmp_seq=5 Destination Host Unreachable From icmp_seq=6 Destination Host Unreachable From icmp_seq=7 Destination Host Unreachable From icmp_seq=8 Destination Host Unreachable From icmp_seq=9 Destination Host Unreachable --- ping statistics --- 10 packets transmitted, 0 received, +9 errors, 100% packet loss, time 9055ms , pipe 3 PING ( 56(84) bytes of data. 64 bytes from icmp_seq=1 ttl=64 time=1.09 ms 64 bytes from icmp_seq=2 ttl=64 time=0.631 ms 64 bytes from icmp_seq=3 ttl=64 time=0.490 ms 64 bytes from icmp_seq=4 ttl=64 time=0.489 ms 64 bytes from icmp_seq=5 ttl=64 time=0.616 ms 64 bytes from icmp_seq=6 ttl=64 time=0.508 ms 64 bytes from icmp_seq=7 ttl=64 time=0.560 ms 64 bytes from icmp_seq=8 ttl=64 time=0.491 ms 64 bytes from icmp_seq=9 ttl=64 time=0.490 ms --- ping statistics --- 9 packets transmitted, 9 received, 0% packet loss, time 8075ms rtt min/avg/max/mdev = 0.489/0.596/1.094/0.185 ms ------------------ WINDOWS 98 ----------------------- 1. ipconfig: ********** Konfigur cia protokolu IP syst‚mu Windows 98 0 Sieś typu Ethernet - adapt‚r : Adresa IP: . . . . . . Maska podsiete: . . . . Predvolen  br na: . . . 1 Sieś typu Ethernet - adapt‚r : Adresa IP: . . . . . . Maska podsiete: . . . . Predvolen  br na: . . . 2. route ******* Aktˇvne smerovania: Sieśov  adresa Maska podsiete Adresa br ny Rozhranie Metrika 1 1 1 1 1 1 1 1 1 1 1 ----------------------- DIK ZA RADY.
                • Re: Re: Re: Re: Re: Re: Re: Slackware Linux a prid 21.05.2005 | 10:50
                  mts   Návštevník
                  >eth0: 3c5x9 at 0x220, undefined port, address 80 60 97 1b f6 6c, IRQ 5. Zaujimave je to undefined port. Cize nejde ani cez TP, ani BNC. To sa da nastavit cez 3C5X9CFG.EXE alebo sa pozri na dokumentaciu k modulu jadra pre prislusny parameter.
            • Re: Re: Re: Re: Re: Slackware Linux a pridanie sie 21.05.2005 | 10:36
              mts   Návštevník
              Rovnaky problem som mal aj ja s 3c509. Vyriesil som to az nastavenim cez maly DOS-ovy program. Najdes ho tu: Je tusim na disku #2 - 3C5X9cfg.exe Najlepsie je ho dat na nejaku boot floppy s DOSom (napr. na sa da stiahnut - pokial sa tam program nevojde, staci nieco nepotrebne pre dany ucel vyhodit), lebo pod emulatorom (dosbox, dosemu) nemusi fungovat spravne. Po nastaveni mi uz fungovala v pohode. Pouzitim parametrov pre modul jadra by sa mali pouzit zadane hodnoty a nie nastavene na karte, co mi ale (neviem preco) nefungovalo na 1 pocitaci a vyriesil som to prave tymto programom.
              • Re: Re: Re: Re: Re: Re: Slackware Linux a pridanie 21.05.2005 | 11:08
                mts   Návštevník
                Este doplnim, ze disk #2 je lha sfx archiv, takze staci pouzit prikaz lha (v Slackware je v baliku bin) na rozbalenie.
                • Re: Re: Re: Re: Re: Re: Re: Slackware Linux a prid 21.05.2005 | 19:39
                  JANY   Návštevník
                  OK. Dik. Uz mi to ide.... Este dotaz ohladne rozchodenia sluzieb FTP a TELNET: V redhate mam prikaz service , v slackware nie ? Co je mioesto toho ? Ako v slackware zmanazujem sluzby ? Kde rucne nastavim a startnem sluzby ftp a telnet ?
                  • Re: Re: Re: Re: Re: Re: Re: Re: Slackware Linux a 22.05.2005 | 11:03
                    mts   Návštevník
                    pomocou inetd servera v /etc/rc.d/rc.inet2 odkomentuj inetd server potom uz len odkomentuj prislusne riadky v /etc/inetd.conf
                    • Re: Re: Re: Re: Re: Re: Re: Re: Re: Slackware Linu 23.05.2005 | 11:17
                      JANY   Návštevník
                      OK. Dik, uz mi to bezi.... ,aj OpenSSH ...