Strona 1 z 1

[+] Karta sieciowa Asus NX1001

: 16 lipca 2009, 14:47
autor: i500
Posiadam kartę sieciową Asus NX1001 która służy mi głównie do komunikacji wewnątrz domowej sieci (udostępniam nią połączenie). Posiadam jądro w wersji 2.6.26-2-amd64, architektura amd64.

Kod: Zaznacz cały

lspci -k

Kod: Zaznacz cały

00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 10)                                                                                   
        Subsystem: Giga-byte Technology Device 5000                                   
        Kernel modules: intel-agp                                                     
00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port (rev 10)                                                                              
        Kernel driver in use: pcieport-driver                                         
        Kernel modules: shpchp                                                        
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)                                                                      
        Subsystem: Giga-byte Technology Device a002                                   
        Kernel driver in use: HDA Intel                                               
        Kernel modules: snd-hda-intel                                                 
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
        Kernel driver in use: pcieport-driver                                         
        Kernel modules: shpchp                                                        
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
        Kernel driver in use: pcieport-driver                                         
        Kernel modules: shpchp                                                        
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01)                                                                              
        Subsystem: Giga-byte Technology Device 5004                                   
        Kernel driver in use: uhci_hcd                                                
        Kernel modules: uhci-hcd                                                      
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01)                                                                              
        Subsystem: Giga-byte Technology Device 5004                                   
        Kernel driver in use: uhci_hcd                                                
        Kernel modules: uhci-hcd                                                      
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01)                                                                              
        Subsystem: Giga-byte Technology Device 5004                                   
        Kernel driver in use: uhci_hcd                                                
        Kernel modules: uhci-hcd                                                      
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01)                                                                              
        Subsystem: Giga-byte Technology Device 5004                                   
        Kernel driver in use: uhci_hcd                                                
        Kernel modules: uhci-hcd
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
        Subsystem: Giga-byte Technology Device 5006
        Kernel driver in use: ehci_hcd
        Kernel modules: ehci-hcd
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
        Subsystem: Giga-byte Technology Device 5001
        Kernel modules: intel-rng, iTCO_wdt
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
        Subsystem: Giga-byte Technology Device b001
        Kernel driver in use: PIIX_IDE
        Kernel modules: piix, ide-pci-generic, ata_generic
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01)
        Subsystem: Giga-byte Technology Device b002
        Kernel driver in use: ata_piix
        Kernel modules: ide-pci-generic, ata_piix, ata_generic
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
        Subsystem: Giga-byte Technology GA-8I945PG-RH Mainboard
        Kernel driver in use: i801_smbus
        Kernel modules: i2c-i801
01:00.0 VGA compatible controller: nVidia Corporation G84 [GeForce 8600 GT] (rev a1)
        Kernel driver in use: nvidia
        Kernel modules: nvidiafb
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
        Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
        Kernel driver in use: r8169
        Kernel modules: r8169
04:01.0 Ethernet controller: Sundance Technology Inc / IC Plus Corp IC Plus IP100A Integrated 10/100 Ethernet MAC + PHY (rev 31)
        Subsystem: ASUSTeK Computer Inc. NX1001
        Kernel driver in use: sundance
        Kernel modules: sundance
Po wydaniu polecenia ifconfig pokazuje jedynie interfejsy lo oraz eth0.

Kod: Zaznacz cały

ifconfig

Kod: Zaznacz cały

eth0      Link encap:Ethernet  HWaddr 00:1f:d0:da:6e:0f
          inet addr:78.28.44.129  Bcast:78.28.44.255  Mask:255.255.255.128
          inet6 addr: fe80::21f:d0ff:feda:6e0f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4349 errors:0 dropped:158160459139 overruns:0 frame:0
          TX packets:2877 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2285399 (2.1 MiB)  TX bytes:705212 (688.6 KiB)
          Interrupt:252 Base address:0x2000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:168 errors:0 dropped:0 overruns:0 frame:0
          TX packets:168 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:10480 (10.2 KiB)  TX bytes:10480 (10.2 KiB)

Kod: Zaznacz cały

ifconfig eth1

Kod: Zaznacz cały

eth1      Link encap:Ethernet  HWaddr 00:1f:c6:34:d6:79
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:19 Base address:0xd000

Kod: Zaznacz cały

/etc/network/interfaces

Kod: Zaznacz cały

auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
#LAN - Asus NX1001
allow-hotplug eth1
iface eth1 inet static
        adress 10.0.0.1
        netmask 255.255.255.0
        dns-nameservers 10.0.0.1
Więc dlaczego nie jest ona pokazywana po wydaniu polecenia ifconfig? Mniemam iż jest nieaktywna. Dziękuję za pomoc.

Edycja:
Okazało się że popełniłem jedną literówkę, zamiast address napisałem adress, jak mówi Google nie tylko ja miałem z tym problem.

Kod: Zaznacz cały

/etc/network/interfaces

Kod: Zaznacz cały

auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
#LAN - Asus NX1001
allow-hotplug eth1
iface eth1 inet static
        address 10.0.0.1
        netmask 255.255.255.0
        dns-nameservers 10.0.0.1