Nowe posty

xx Dystrybucja pod HP Omen (6)
Wczoraj o 23:30:08
xx [Poradnik] Wyszukiwanie Sterowników (2)
Wczoraj o 21:08:23
lamp Problem z Linux Lite po instalacji (0)
Wczoraj o 19:50:30
xx Ile pingwinów? (1)
Wczoraj o 08:59:24
xx konfiguracja pale moon (0)
2024-03-24, 21:53:42
xx Plasma 6 w Neonie ssie trochę mniej ... (10)
2024-03-23, 02:38:11
xx problem z instalacja sterowników do karty sieciowej (3)
2024-03-18, 18:10:16
xx Plik abc.001 (1)
2024-03-17, 17:48:27
xx Zlecę dopracowanie programu w MatLab (0)
2024-03-13, 15:28:40
xx Linux Mint 21.3 XFCE brak dźwieku po paru minutach (karta muzyczna zintegrowana) (5)
2024-03-12, 23:07:01

Autor Wątek: Adres karty mac  (Przeczytany 4590 razy)

Al-muallim

  • Gość
Adres karty mac
« dnia: 2009-05-03, 11:01:48 »
Witam!

Mam taki dziwny problem. Otóż, za każdym razem kiedy uruchomię mojego  ubuntu muszę zawsze ręcznie wpisywać adres karty mac.

sudo modprobe ath5k
sudo ifconfig wlan0 down
sudo ifconfig wlan0 hw ether 00:08:a1:81:05:c8
sudo ifconfig wlan0 up
Co można zrobić aby nie trzeba było wpisywać po każdym uruchomieni adres mac? By był on zapamiętany na stałe.

  • Gość
Adres karty mac
« Odpowiedź #1 dnia: 2009-05-03, 13:30:58 »
a co wyświetla ci polecenie ifconfig zanim jeszcze zmienisz MAC (czyli tuż po uruchomieniu systemu)?

oprócz tego wklej tu zawartość pliku /etc/network/interfaces

arctgx

  • Gość
Adres karty mac
« Odpowiedź #2 dnia: 2009-05-03, 14:32:38 »
Prócz tego co podpowiada tomek-k, proponowałbym spojrzeć do dmesg - może tam pokazane jest, jaki adres został ustawiony na etapie ładowania sterownika. Zobaczyłbym też (modinfo ath5k) czy moduł ten posiada opcję ustawiającą adres podczas jego ładowania. Potem sprawdziłbym za pomocą grepa (łańcuch "address") czy czasem nie istnieje reguła podsystemu UDEV, która coś namieszała.

Al-muallim

  • Gość
Adres karty mac
« Odpowiedź #3 dnia: 2009-05-04, 08:47:27 »
auto lo
iface lo inet loopback


italiano@ubuntu:~$ ifconfig
[    0.616775] pci 0000:00:1c.0: PME# disabled

[    0.616861] pci 0000:00:1c.2: PME# supported from D0 D3hot D3cold

[    0.616867] pci 0000:00:1c.2: PME# disabled

[    0.616951] pci 0000:00:1c.3: PME# supported from D0 D3hot D3cold

[    0.616957] pci 0000:00:1c.3: PME# disabled

[    0.617017] PCI: 0000:00:1d.0 reg 20 io port: [1860, 187f]

[    0.617093] PCI: 0000:00:1d.1 reg 20 io port: [1880, 189f]

[    0.617168] PCI: 0000:00:1d.2 reg 20 io port: [18a0, 18bf]

[    0.617250] PCI: 0000:00:1d.7 reg 10 32bit mmio: [fc404c00, fc404fff]

[    0.617317] pci 0000:00:1d.7: PME# supported from D0 D3hot D3cold

[    0.617324] pci 0000:00:1d.7: PME# disabled

[    0.617510] pci 0000:00:1f.0: quirk: region 1000-107f claimed by ICH6 ACPI/GPIO/TCO

[    0.617516] pci 0000:00:1f.0: quirk: region 1180-11bf claimed by ICH6 GPIO

[    0.617551] PCI: 0000:00:1f.1 reg 10 io port: [0, 7]

[    0.617560] PCI: 0000:00:1f.1 reg 14 io port: [0, 3]

[    0.617570] PCI: 0000:00:1f.1 reg 18 io port: [0, 7]

[    0.617579] PCI: 0000:00:1f.1 reg 1c io port: [0, 3]

[    0.617589] PCI: 0000:00:1f.1 reg 20 io port: [1810, 181f]

[    0.617676] PCI: 0000:00:1f.2 reg 10 io port: [1c00, 1c07]

[    0.617685] PCI: 0000:00:1f.2 reg 14 io port: [18d4, 18d7]

[    0.617695] PCI: 0000:00:1f.2 reg 18 io port: [18d8, 18df]

[    0.617704] PCI: 0000:00:1f.2 reg 1c io port: [18d0, 18d3]

[    0.617714] PCI: 0000:00:1f.2 reg 20 io port: [18e0, 18ff]

[    0.617723] PCI: 0000:00:1f.2 reg 24 32bit mmio: [fc404000, fc4047ff]

[    0.617763] pci 0000:00:1f.2: PME# supported from D3hot

[    0.617769] pci 0000:00:1f.2: PME# disabled

[    0.617794] PCI: 0000:00:1f.3 reg 10 32bit mmio: [0, ff]

[    0.617824] PCI: 0000:00:1f.3 reg 20 io port: [1c20, 1c3f]

[    0.620044] PCI: bridge 0000:00:1c.0 io port: [2000, 2fff]

[    0.620050] PCI: bridge 0000:00:1c.0 32bit mmio: [f6000000, f7ffffff]

[    0.620060] PCI: bridge 0000:00:1c.0 64bit mmio pref: [f0000000, f1ffffff]

[    0.620145] PCI: 0000:04:00.0 reg 10 64bit mmio: [f8000000, f800ffff]

[    0.620296] PCI: bridge 0000:00:1c.2 io port: [3000, 3fff]

[    0.620302] PCI: bridge 0000:00:1c.2 32bit mmio: [f8000000, f9ffffff]

[    0.620312] PCI: bridge 0000:00:1c.2 64bit mmio pref: [f2000000, f3ffffff]

[    0.620399] PCI: 0000:06:00.0 reg 10 io port: [4000, 40ff]

[    0.620433] PCI: 0000:06:00.0 reg 18 64bit mmio: [fa000000, fa000fff]

[    0.620467] PCI: 0000:06:00.0 reg 30 32bit mmio: [0, 1ffff]

[    0.620498] pci 0000:06:00.0: supports D1

[    0.620501] pci 0000:06:00.0: supports D2

[    0.620503] pci 0000:06:00.0: PME# supported from D1 D2 D3hot D3cold

[    0.620511] pci 0000:06:00.0: PME# disabled

[    0.620574] PCI: bridge 0000:00:1c.3 io port: [4000, 4fff]

[    0.620580] PCI: bridge 0000:00:1c.3 32bit mmio: [fa000000, fbffffff]

[    0.620590] PCI: bridge 0000:00:1c.3 64bit mmio pref: [f4000000, f5ffffff]

[    0.620669] pci 0000:00:1e.0: transparent bridge

[    0.620717] bus 00 -> node 0

[    0.620726] ACPI: PCI Interrupt Routing Table [\\_SB_.PCI0._PRT]

[    0.621326] ACPI: PCI Interrupt Routing Table [\\_SB_.PCI0.RP01._PRT]

[    0.621517] ACPI: PCI Interrupt Routing Table [\\_SB_.PCI0.RP03._PRT]

[    0.621705] ACPI: PCI Interrupt Routing Table [\\_SB_.PCI0.RP04._PRT]

[    0.621917] ACPI: PCI Interrupt Routing Table [\\_SB_.PCI0.PCIB._PRT]

[    0.636808] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 *5 6 7 10 12 14 15)

[    0.636808] ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 11 12 14 15) *10

[    0.636808] ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 *7 10 12 14 15)

[    0.636808] ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 11 12 14 15) *10

[    0.636808] ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled.

[    0.636948] ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 7 *11 12 14 15)

[    0.637100] ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 5 6 7 10 12 14 15) *11

[    0.637251] ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 4 5 6 7 11 12 14 15) *10

[    0.637346] Linux Plug and Play Support v0.97 (c) Adam Belay

[    0.637346] pnp: PnP ACPI init

[    0.637346] ACPI: bus type pnp registered

[    0.640259] pnp 00:01: mem resource (0xf0401000-0xf0401fff) overlaps 0000:00:1c.0 BAR 9 (0xf0000000-0xf1ffffff), disabling

[    0.641125] pnp: PnP ACPI: found 10 devices

[    0.641128] ACPI: ACPI bus type pnp unregistered

[    0.641134] PnPBIOS: Disabled by ACPI PNP

[    0.641577] PCI: Using ACPI for IRQ routing

[    0.644072] NET: Registered protocol family 8

[    0.644076] NET: Registered protocol family 20

[    0.644106] NetLabel: Initializing

[    0.644106] NetLabel:  domain hash size = 128

[    0.644106] NetLabel:  protocols = UNLABELED CIPSOv4

[    0.644106] NetLabel:  unlabeled traffic allowed by default

[    0.644106] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0

[    0.644106] hpet0: 3 64-bit timers, 14318180 Hz

[    0.645666] tracer: 772 pages allocated for 65536 entries of 48 bytes

[    0.645670]    actual entries 65620

[    0.645791] AppArmor: AppArmor Filesystem Enabled

[    0.648043] Switched to high resolution mode on CPU 0

[    0.648468] Switched to high resolution mode on CPU 1

[    0.648494] system 00:01: iomem range 0xfed1c000-0xfed1ffff could not be reserved

[    0.648498] system 00:01: iomem range 0xfed14000-0xfed17fff could not be reserved

[    0.648502] system 00:01: iomem range 0xfed18000-0xfed18fff could not be reserved

[    0.648506] system 00:01: iomem range 0xfed19000-0xfed19fff could not be reserved

[    0.648510] system 00:01: iomem range 0xe0000000-0xefffffff could not be reserved

[    0.648514] system 00:01: iomem range 0xfed20000-0xfed3ffff could not be reserved

[    0.648518] system 00:01: iomem range 0xfed40000-0xfed44fff could not be reserved

[    0.648522] system 00:01: iomem range 0xfed45000-0xfed8ffff could not be reserved

[    0.648532] system 00:04: iomem range 0xfed00000-0xfed003ff could not be reserved

[    0.648542] system 00:06: ioport range 0x200-0x20f has been reserved

[    0.648545] system 00:06: ioport range 0x260-0x26f has been reserved

[    0.648549] system 00:06: ioport range 0x300-0x30f has been reserved

[    0.648552] system 00:06: ioport range 0x378-0x387 has been reserved

[    0.648556] system 00:06: ioport range 0x3f0-0x3ff could not be reserved

[    0.648560] system 00:06: ioport range 0x680-0x69f has been reserved

[    0.648563] system 00:06: ioport range 0x800-0x80f has been reserved

[    0.648567] system 00:06: ioport range 0x1000-0x107f has been reserved

[    0.648570] system 00:06: ioport range 0x1180-0x11bf has been reserved

[    0.648574] system 00:06: ioport range 0x1640-0x164f has been reserved

[    0.648578] system 00:06: ioport range 0xfe00-0xfe00 has been reserved

[    0.683820] pci 0000:00:1c.0: PCI bridge, secondary bus 0000:02

[    0.683825] pci 0000:00:1c.0:   IO window: 0x2000-0x2fff

[    0.683833] pci 0000:00:1c.0:   MEM window: 0xf6000000-0xf7ffffff

[    0.683839] pci 0000:00:1c.0:   PREFETCH window: 0x000000f0000000-0x000000f1ffffff

[    0.683850] pci 0000:00:1c.2: PCI bridge, secondary bus 0000:04

[    0.683855] pci 0000:00:1c.2:   IO window: 0x3000-0x3fff

[    0.683863] pci 0000:00:1c.2:   MEM window: 0xf8000000-0xf9ffffff

[    0.683869] pci 0000:00:1c.2:   PREFETCH window: 0x000000f2000000-0x000000f3ffffff

[    0.683880] pci 0000:00:1c.3: PCI bridge, secondary bus 0000:06

[    0.683884] pci 0000:00:1c.3:   IO window: 0x4000-0x4fff

[    0.683892] pci 0000:00:1c.3:   MEM window: 0xfa000000-0xfbffffff

[    0.683899] pci 0000:00:1c.3:   PREFETCH window: 0x000000f4000000-0x000000f5ffffff

[    0.683909] pci 0000:00:1e.0: PCI bridge, secondary bus 0000:08

[    0.683911] pci 0000:00:1e.0:   IO window: disabled

[    0.683919] pci 0000:00:1e.0:   MEM window: disabled

[    0.683924] pci 0000:00:1e.0:   PREFETCH window: disabled

[    0.683950] pci 0000:00:1c.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17

[    0.683958] pci 0000:00:1c.0: setting latency timer to 64

[    0.683970] pci 0000:00:1c.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18

[    0.683976] pci 0000:00:1c.2: setting latency timer to 64

[    0.683989] pci 0000:00:1c.3: PCI INT D -> GSI 19 (level, low) -> IRQ 19

[    0.683996] pci 0000:00:1c.3: setting latency timer to 64

[    0.684006] pci 0000:00:1e.0: setting latency timer to 64

[    0.684011] bus: 00 index 0 io port: [0, ffff]

[    0.684014] bus: 00 index 1 mmio: [0, ffffffff]

[    0.684017] bus: 02 index 0 io port: [2000, 2fff]

[    0.684020] bus: 02 index 1 mmio: [f6000000, f7ffffff]

[    0.684022] bus: 02 index 2 mmio: [f0000000, f1ffffff]

[    0.684025] bus: 02 index 3 mmio: [0, 0]

[    0.684027] bus: 04 index 0 io port: [3000, 3fff]

[    0.684030] bus: 04 index 1 mmio: [f8000000, f9ffffff]

[    0.684033] bus: 04 index 2 mmio: [f2000000, f3ffffff]

[    0.684035] bus: 04 index 3 mmio: [0, 0]

[    0.684038] bus: 06 index 0 io port: [4000, 4fff]

[    0.684040] bus: 06 index 1 mmio: [fa000000, fbffffff]

[    0.684043] bus: 06 index 2 mmio: [f4000000, f5ffffff]

[    0.684046] bus: 06 index 3 mmio: [0, 0]

[    0.684048] bus: 08 index 0 mmio: [0, 0]

[    0.684050] bus: 08 index 1 mmio: [0, 0]

[    0.684053] bus: 08 index 2 mmio: [0, 0]

[    0.684055] bus: 08 index 3 io port: [0, ffff]

[    0.684057] bus: 08 index 4 mmio: [0, ffffffff]

[    0.684069] NET: Registered protocol family 2

[    0.697066] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)

[    0.697372] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)

[    0.697894] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)

[    0.698278] TCP: Hash tables configured (established 131072 bind 65536)

[    0.698283] TCP reno registered

[    0.701135] NET: Registered protocol family 1

[    0.701284] checking if image is initramfs... it is

[    1.598145] Freeing initrd memory: 8254k freed

[    1.599472] audit: initializing netlink socket (disabled)

[    1.599492] type=2000 audit(1241426203.596:1): initialized

[    1.605695] highmem bounce pool size: 64 pages

[    1.605703] HugeTLB registered 4 MB page size, pre-allocated 0 pages

[    1.608447] VFS: Disk quotas dquot_6.5.1

[    1.608557] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

[    1.608680] msgmni has been set to 1743

[    1.608828] io scheduler noop registered

[    1.608831] io scheduler anticipatory registered

[    1.608835] io scheduler deadline registered

[    1.608849] io scheduler cfq registered (default)

[    1.608866] pci 0000:00:02.0: Boot video device

[    1.609161] pcieport-driver 0000:00:1c.0: setting latency timer to 64

[    1.609221] pcieport-driver 0000:00:1c.0: found MSI capability

[    1.609281] pci_express 0000:00:1c.0:pcie00: allocate port service

[    1.609334] pci_express 0000:00:1c.0:pcie02: allocate port service

[    1.609381] pci_express 0000:00:1c.0:pcie03: allocate port service

[    1.609513] pcieport-driver 0000:00:1c.2: setting latency timer to 64

[    1.609571] pcieport-driver 0000:00:1c.2: found MSI capability

[    1.609628] pci_express 0000:00:1c.2:pcie00: allocate port service

[    1.609680] pci_express 0000:00:1c.2:pcie02: allocate port service

[    1.609729] pci_express 0000:00:1c.2:pcie03: allocate port service

[    1.609860] pcieport-driver 0000:00:1c.3: setting latency timer to 64

[    1.609918] pcieport-driver 0000:00:1c.3: found MSI capability

[    1.609975] pci_express 0000:00:1c.3:pcie00: allocate port service

[    1.610024] pci_express 0000:00:1c.3:pcie02: allocate port service

[    1.610074] pci_express 0000:00:1c.3:pcie03: allocate port service

[    1.610477] isapnp: Scanning for PnP cards...

[    1.964728] isapnp: No Plug & Play device found

[    2.003862] hpet_resources: 0xfed00000 is busy

[    2.003947] Serial: 8250/16550 driver4 ports, IRQ sharing enabled

[    2.006583] brd: module loaded

[    2.006666] input: Macintosh mouse button emulation as /devices/virtual/input/input0

[    2.006816] PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12

[    2.011427] i8042.c: Detected active multiplexing controller, rev 1.1.

[    2.013959] serio: i8042 KBD port at 0x60,0x64 irq 1

[    2.013966] serio: i8042 AUX0 port at 0x60,0x64 irq 12

[    2.013969] serio: i8042 AUX1 port at 0x60,0x64 irq 12

[    2.013973] serio: i8042 AUX2 port at 0x60,0x64 irq 12

[    2.013976] serio: i8042 AUX3 port at 0x60,0x64 irq 12

[    2.014399] mice: PS/2 mouse device common for all mice

[    2.014557] rtc_cmos 00:07: rtc core: registered rtc_cmos as rtc0

[    2.014592] rtc0: alarms up to one month, y3k, hpet irqs

[    2.014739] EISA: Probing bus 0 at eisa.0

[    2.014748] Cannot allocate resource for EISA slot 1

[    2.014752] Cannot allocate resource for EISA slot 2

[    2.014755] Cannot allocate resource for EISA slot 3

[    2.014758] Cannot allocate resource for EISA slot 4

[    2.014780] EISA: Detected 0 cards.

[    2.014783] cpuidle: using governor ladder

[    2.014787] cpuidle: using governor menu

[    2.015420] TCP cubic registered

[    2.015454] Using IPI No-Shortcut mode

[    2.015673] registered taskstats version 1

[    2.015819]   Magic number: 9:719:623

[    2.015970] rtc_cmos 00:07: setting system clock to 2009-05-04 08:36:45 UTC (1241426205)

[    2.015974] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found

[    2.015976] EDD information not available.

[    2.016249] Freeing unused kernel memory: 424k freed

[    2.016296] Write protecting the kernel text: 2580k

[    2.016329] Write protecting the kernel read-only data: 940k

[    2.051157] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1

[    2.209088] fuse init (API version 7.9)

[    2.252661] ACPI: SSDT 7F6D5A55, 0238 (r1  PmRef  Cpu0Ist     3000 INTL 20050624)

[    2.256345] ACPI: SSDT 7F6D54FD, 04D3 (r1  PmRef  Cpu0Cst     3001 INTL 20050624)

[    2.259361] Monitor-Mwait will be used to enter C-1 state

[    2.259365] Monitor-Mwait will be used to enter C-2 state

[    2.259555] ACPI: CPU0 (power states: C1[C1] C2[C2])

[    2.259624] processor ACPI0007:00: registered as cooling_device0

[    2.259629] ACPI: Processor [CPU0] (supports 8 throttling states)

[    2.260099] ACPI: SSDT 7F6D5C8D, 00C8 (r1  PmRef  Cpu1Ist     3000 INTL 20050624)

[    2.260555] ACPI: SSDT 7F6D59D0, 0085 (r1  PmRef  Cpu1Cst     3000 INTL 20050624)

[    2.268004] Marking TSC unstable due to TSC halts in idle

[    2.284167] ACPI: CPU1 (power states: C1[C1] C2[C2])

[    2.284225] processor ACPI0007:01: registered as cooling_device1

[    2.284231] ACPI: Processor [CPU1] (supports 8 throttling states)

[    2.287985] thermal LNXTHERM:01: registered as thermal_zone0

[    2.289509] ACPI: Thermal Zone [THRM] (58 C)

[    2.685005] usbcore: registered new interface driver usbfs

[    2.685038] usbcore: registered new interface driver hub

[    2.685093] usbcore: registered new device driver usb

[    2.687863] USB Universal Host Controller Interface driver v3.0

[    2.687918] uhci_hcd 0000:00:1a.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16

[    2.687929] uhci_hcd 0000:00:1a.0: setting latency timer to 64

[    2.687934] uhci_hcd 0000:00:1a.0: UHCI Host Controller

[    2.687986] uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 1

[    2.688050] uhci_hcd 0000:00:1a.0: irq 16, io base 0x00001820

[    2.688208] usb usb1: configuration #1 chosen from 1 choice

[    2.688244] hub 1-0:1.0: USB hub found

[    2.688252] hub 1-0:1.0: 2 ports detected

[    2.691604] Warning! ehci_hcd should always be loaded before uhci_hcd and ohci_hcd, not after

[    2.785276] No dock devices found.

[    2.792378] uhci_hcd 0000:00:1a.1: PCI INT B -> GSI 21 (level, low) -> IRQ 21

[    2.792391] uhci_hcd 0000:00:1a.1: setting latency timer to 64

[    2.792396] uhci_hcd 0000:00:1a.1: UHCI Host Controller

[    2.792426] uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 2

[    2.792469] uhci_hcd 0000:00:1a.1: irq 21, io base 0x00001840

[    2.792595] usb usb2: configuration #1 chosen from 1 choice

[    2.792630] hub 2-0:1.0: USB hub found

[    2.792638] hub 2-0:1.0: 2 ports detected

[    2.833324] SCSI subsystem initialized

[    2.855418] libata version 3.00 loaded.

[    2.896385] ehci_hcd 0000:00:1a.7: PCI INT C -> GSI 18 (level, low) -> IRQ 18

[    2.896405] ehci_hcd 0000:00:1a.7: setting latency timer to 64

[    2.896410] ehci_hcd 0000:00:1a.7: EHCI Host Controller

[    2.896445] ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 3

[    2.900348] ehci_hcd 0000:00:1a.7: debug port 1

[    2.900356] ehci_hcd 0000:00:1a.7: cache line size of 32 is not supported

[    2.900375] ehci_hcd 0000:00:1a.7: irq 18, io mem 0xfc404800

[    2.916029] ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004

[    2.916200] usb usb3: configuration #1 chosen from 1 choice

[    2.916236] hub 3-0:1.0: USB hub found

[    2.916246] hub 3-0:1.0: 4 ports detected

[    3.020387] uhci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23

[    3.020400] uhci_hcd 0000:00:1d.0: setting latency timer to 64

[    3.020405] uhci_hcd 0000:00:1d.0: UHCI Host Controller

[    3.020437] uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 4

[    3.020479] uhci_hcd 0000:00:1d.0: irq 23, io base 0x00001860

[    3.020602] usb usb4: configuration #1 chosen from 1 choice

[    3.020635] hub 4-0:1.0: USB hub found

[    3.020645] hub 4-0:1.0: 2 ports detected

[    3.124359] uhci_hcd 0000:00:1d.1: PCI INT B -> GSI 19 (level, low) -> IRQ 19

[    3.124374] uhci_hcd 0000:00:1d.1: setting latency timer to 64

[    3.124380] uhci_hcd 0000:00:1d.1: UHCI Host Controller

[    3.124421] uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 5

[    3.124467] uhci_hcd 0000:00:1d.1: irq 19, io base 0x00001880

[    3.124615] usb usb5: configuration #1 chosen from 1 choice

[    3.124649] hub 5-0:1.0: USB hub found

[    3.124659] hub 5-0:1.0: 2 ports detected

[    3.229349] uhci_hcd 0000:00:1d.2: PCI INT C -> GSI 18 (level, low) -> IRQ 18

[    3.229362] uhci_hcd 0000:00:1d.2: setting latency timer to 64

[    3.229367] uhci_hcd 0000:00:1d.2: UHCI Host Controller

[    3.229403] uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 6

[    3.229441] uhci_hcd 0000:00:1d.2: irq 18, io base 0x000018a0

[    3.229585] usb usb6: configuration #1 chosen from 1 choice

[    3.229621] hub 6-0:1.0: USB hub found

[    3.229630] hub 6-0:1.0: 2 ports detected

[    3.332451] ehci_hcd 0000:00:1d.7: PCI INT A -> GSI 23 (level, low) -> IRQ 23

[    3.332471] ehci_hcd 0000:00:1d.7: setting latency timer to 64

[    3.332475] ehci_hcd 0000:00:1d.7: EHCI Host Controller

[    3.332513] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 7

[    3.336419] ehci_hcd 0000:00:1d.7: debug port 1

[    3.336427] ehci_hcd 0000:00:1d.7: cache line size of 32 is not supported

[    3.336437] ehci_hcd 0000:00:1d.7: irq 23, io mem 0xfc404c00

[    3.348039] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004

[    3.348156] usb usb7: configuration #1 chosen from 1 choice

[    3.348195] hub 7-0:1.0: USB hub found

[    3.348203] hub 7-0:1.0: 6 ports detected

[    3.454746] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded

[    3.454752] ahci 0000:00:1f.2: version 3.0

[    3.454781] ahci 0000:00:1f.2: PCI INT B -> GSI 19 (level, low) -> IRQ 19

[    3.454783] r8169 0000:06:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19

[    3.454806] r8169 0000:06:00.0: setting latency timer to 64

[    3.454998] ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 3 ports 3 Gbps 0x7 impl SATA mode

[    3.455002] ahci 0000:00:1f.2: flags: 64bit ncq sntf pm led clo pio slum part

[    3.455009] ahci 0000:00:1f.2: setting latency timer to 64

[    3.455343] eth0: RTL8101e at 0xf88b4000, 00:03:0d:88:63:1f, XID 34200000 IRQ 219

[    3.455409] scsi0 : ahci

[    3.455528] scsi1 : ahci

[    3.455599] scsi2 : ahci

[    3.455734] ata1: SATA max UDMA/133 abar m2048@0xfc404000 port 0xfc404100 irq 220

[    3.455738] ata2: SATA max UDMA/133 abar m2048@0xfc404000 port 0xfc404180 irq 220

[    3.455742] ata3: SATA max UDMA/133 abar m2048@0xfc404000 port 0xfc404200 irq 220

[    3.772058] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)

[    3.772790] ata1.00: _GTF unexpected object type 0x1

[    3.819097] ata1.00: ATA-8: WDC WD2500BEVS-22UST0, 01.01A01, max UDMA/133

[    3.819101] ata1.00: 488397168 sectors, multi 16: LBA48 NCQ (depth 31/32)

[    3.820048] ata1.00: _GTF unexpected object type 0x1

[    3.820192] ata1.00: configured for UDMA/133

[    4.156054] ata2: SATA link down (SStatus 0 SControl 300)

[    4.492053] ata3: SATA link down (SStatus 0 SControl 300)

[    4.508159] scsi 0:0:0:0: Direct-Access     ATA      WDC WD2500BEVS-2 01.0 PQ: 0 ANSI: 5

[    4.512201] pata_acpi 0000:00:1f.1: PCI INT A -> GSI 19 (level, low) -> IRQ 19

[    4.512243] pata_acpi 0000:00:1f.1: setting latency timer to 64

[    4.512260] pata_acpi 0000:00:1f.1: PCI INT A disabled

[    4.517427] ata_piix 0000:00:1f.1: version 2.12

[    4.517444] ata_piix 0000:00:1f.1: PCI INT A -> GSI 19 (level, low) -> IRQ 19

[    4.517492] ata_piix 0000:00:1f.1: setting latency timer to 64

[    4.517574] scsi3 : ata_piix

[    4.517667] scsi4 : ata_piix

[    4.518546] ata4: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0x1810 irq 14

[    4.518551] ata5: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0x1818 irq 15

[    4.521911] scsi 0:0:0:0: Attached scsi generic sg0 type 0

[    4.537714] Driver 'sd' needs updating - please use bus_type methods

[    4.537847] sd 0:0:0:0: [sda] 488397168 512-byte hardware sectors (250059 MB)

[    4.537868] sd 0:0:0:0: [sda] Write Protect is off

[    4.537872] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00

[    4.537903] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

[    4.537991] sd 0:0:0:0: [sda] 488397168 512-byte hardware sectors (250059 MB)

[    4.538010] sd 0:0:0:0: [sda] Write Protect is off

[    4.538013] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00

[    4.538043] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

[    4.538047]  sda: sda1 sda2 sda3

[    4.586446] sd 0:0:0:0: [sda] Attached SCSI disk

[    4.696543] ata4.00: ATAPI: TSSTcorp CDDVDW TS-L632H, fs03, max UDMA/33

[    4.728456] ata4.00: configured for UDMA/33

[    4.897490] scsi 3:0:0:0: CD-ROM            TSSTcorp CDDVDW TS-L632H  fs03 PQ: 0 ANSI: 5

[    4.897679] scsi 3:0:0:0: Attached scsi generic sg1 type 5

[    4.917774] Driver 'sr' needs updating - please use bus_type methods

[    4.933266] sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray

[    4.933272] Uniform CD-ROM driver Revision: 3.20

[    4.933398] sr 3:0:0:0: Attached scsi CD-ROM sr0

[    5.443970] loop: module loaded

[    5.490099] kjournald starting.  Commit interval 5 seconds

[    5.490122] EXT3-fs: mounted filesystem with ordered data mode.

[   11.980748] udevd version 124 started

[   12.729200] pci_hotplug: PCI Hot Plug PCI Core version: 0.5

[   13.005217] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4

[   13.085257] input: Power Button (FF) as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2

[   13.117029] ACPI: Power Button (FF) [PWRF]

[   13.117191] input: Power Button (CM) as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input3

[   13.149034] ACPI: Power Button (CM) [PWRB]

[   13.149205] input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input4

[   13.149290] ACPI: Lid Switch [LID]

[   13.149374] input: Sleep Button (CM) as /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input5

[   13.149588] input: PC Speaker as /devices/platform/pcspkr/input/input6

[   13.181041] ACPI: Sleep Button (CM) [SLPB]

[   13.219051] ACPI: AC Adapter [AC0] (off-line)

[   13.313336] iTCO_vendor_support: vendor-support=0

[   13.343095] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.03 (30-Apr-2008)

[   13.343944] iTCO_wdt: Found a ICH8M TCO device (Version=2, TCOBASE=0x1060)

[   13.344090] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)

[   13.503554] Linux agpgart interface v0.103

[   13.563293] ACPI Error (utobject-0508): Unsupported Reference opcode=88 in object f789a708 [20080609]

[   13.564718] acpi device:05: registered as cooling_device2

[   13.565411] Monitor-Mwait will be used to enter C-2 state

[   13.623731] agpgart-intel 0000:00:00.0: Intel 965GM Chipset

[   13.624116] agpgart-intel 0000:00:00.0: detected 7676K stolen memory

[   13.665350] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:03/input/input7

[   13.685755] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000

[   13.755641] udev: renamed network interface eth0 to eth1

[   13.828386] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)

[   13.875465] ACPI: Battery Slot [BAT0] (battery present)

[   14.073617] Synaptics Touchpad, model: 1, fw: 6.2, id: 0x1a0b1, caps: 0xa04713/0x200000

[   14.113340] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio4/input/input8

[   14.193130] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22

[   14.193165] HDA Intel 0000:00:1b.0: setting latency timer to 64

[   16.012385] lp: driver loaded but no devices found

[   16.220378] EXT3 FS on loop0, internal journal

[   31.718243] Adding 976552k swap on /host/ubuntu/disks/swap.disk.  Priority:-1 extents:1 across:976552k

[   32.172845] type=1505 audit(1241419035.343:2): operation="profile_load" name="/usr/share/gdm/guest-session/Xsession" name2="default" pid=4086

[   32.380860] type=1505 audit(1241419035.551:3): operation="profile_load" name="/usr/lib/cups/backend/cups-pdf" name2="default" pid=4091

[   32.381147] type=1505 audit(1241419035.555:4): operation="profile_load" name="/usr/sbin/cupsd" name2="default" pid=4091

[   32.582383] ip_tables: (C) 2000-2006 Netfilter Core Team

[   33.117246] ACPI: WMI: Mapper loaded

[   34.165756] warning: `avahi-daemon' uses 32-bit capabilities (legacy support in use)

[   34.232155] apm: BIOS not found.

[   34.379912] ppdev: user-space parallel port driver

[   38.765141] Bluetooth: Core ver 2.13

[   38.765369] NET: Registered protocol family 31

[   38.765376] Bluetooth: HCI device and connection manager initialized

[   38.765384] Bluetooth: HCI socket layer initialized

[   38.793290] Bluetooth: L2CAP ver 2.11

[   38.793303] Bluetooth: L2CAP socket layer initialized

[   38.836318] Bluetooth: SCO (Voice Link) ver 0.6

[   38.836325] Bluetooth: SCO socket layer initialized

[   38.848170] Bluetooth: BNEP (Ethernet Emulation) ver 1.3

[   38.848178] Bluetooth: BNEP filters: protocol multicast

[   38.876094] Bridge firewalling registered

[   39.028678] Bluetooth: RFCOMM socket layer initialized

[   39.028706] Bluetooth: RFCOMM TTY layer initialized

[   39.028712] Bluetooth: RFCOMM ver 1.10

[   40.332658] ACPI Error (utobject-0508): Unsupported Reference opcode=88 in object f7852c80 [20080609]

[   40.351219] ACPI Error (utobject-0508): Unsupported Reference opcode=88 in object f7852c30 [20080609]

[   40.527487] ACPI Error (utobject-0508): Unsupported Reference opcode=88 in object f7852528 [20080609]

[   42.000841] [drm] Initialized drm 1.1.0 20060810

[   42.007344] pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16

[   42.007359] pci 0000:00:02.0: setting latency timer to 64

[   42.007574] [drm] Initialized i915 1.6.0 20060119 on minor 0

[   42.238091] ACPI Error (utobject-0508): Unsupported Reference opcode=88 in object f075d6e0 [20080609]

[   42.323038] ACPI Error (utobject-0508): Unsupported Reference opcode=88 in object f7852c80 [20080609]

[   43.036575] ACPI Error (utobject-0508): Unsupported Reference opcode=88 in object f7852c58 [20080609]

[   43.038584] ACPI Error (utobject-0508): Unsupported Reference opcode=88 in object f7852cd0 [20080609]

[   43.172199] r8169: eth1: link down

[   44.898367] ACPI Error (utobject-0508): Unsupported Reference opcode=88 in object f075d708 [20080609]

[   74.300920] CPU0 attaching NULL sched-domain.

[   74.300939] CPU1 attaching NULL sched-domain.

[   74.305740] CPU0 attaching sched-domain:

[   74.305752]  domain 0: span 0-1 level MC

[   74.305759]   groups: 0 1

[   74.305770]   domain 1: span 0-1 level CPU

[   74.305776]    groups: 0-1

[   74.305787] CPU1 attaching sched-domain:

[   74.305792]  domain 0: span 0-1 level MC

[   74.305798]   groups: 1 0

[   74.305807]   domain 1: span 0-1 level CPU

[   74.305813]    groups: 0-1
italiano@ubuntu:~$ modinfo ath5k
filename:       /lib/modules/2.6.27-11-generic/updates/ath5k.ko

version:        0.6.0 (EXPERIMENTAL)

license:        Dual BSD/GPL

description:    Support for 5xxx series of Atheros 802.11 wireless LAN cards.

author:         Nick Kossifidis

author:         Jiri Slaby

srcversion:     63AB81E347E73116593DDE8

alias:          pci:v0000168Cd0000001Dsv*sd*bc*sc*i*

alias:          pci:v0000168Cd0000001Csv*sd*bc*sc*i*

alias:          pci:v0000168Cd0000001Bsv*sd*bc*sc*i*

alias:          pci:v0000168Cd0000001Asv*sd*bc*sc*i*

alias:          pci:v0000168Cd00000019sv*sd*bc*sc*i*

alias:          pci:v0000168Cd00000018sv*sd*bc*sc*i*

alias:          pci:v0000168Cd00000017sv*sd*bc*sc*i*

alias:          pci:v0000168Cd00000016sv*sd*bc*sc*i*

alias:          pci:v0000168Cd00000015sv*sd*bc*sc*i*

alias:          pci:v0000168Cd00000014sv*sd*bc*sc*i*

alias:          pci:v0000168Cd00001014sv*sd*bc*sc*i*

alias:          pci:v000010B7d00000013sv*sd*bc*sc*i*

alias:          pci:v0000A727d00000013sv*sd*bc*sc*i*

alias:          pci:v0000168Cd00000013sv*sd*bc*sc*i*

alias:          pci:v0000168Cd00000012sv*sd*bc*sc*i*

alias:          pci:v0000168Cd00000011sv*sd*bc*sc*i*

alias:          pci:v0000168Cd00000007sv*sd*bc*sc*i*

alias:          pci:v0000168Cd00000207sv*sd*bc*sc*i*

depends:        led-class,lbm_cw-mac80211,lbm_cw-cfg80211

vermagic:       2.6.27-11-generic SMP mod_unload modversions 586

parm:           nohwcrypt:Disable hardware encryption. (int)
grep --address -->>Jak tak wpisywałem w konsoli to mi nie poszło. Może jakoś inaczej się piszę?
To wszystko jest sprawdzone przed zmianą adresu mac.


Edit ChmOOrecK: ujęcie wyjścia komend w znaczniki code, proszę o stosowanie w przyszłości

chmooreck

  • Gość
Adres karty mac
« Odpowiedź #4 dnia: 2009-05-04, 09:01:01 »
"spojrzeć" nie jest tożsame z "wkleić"

nie podałeś wyjścia ifconfig, zamiast tego wkleiłeś wyjście dmesg...

  • Gość
Adres karty mac
« Odpowiedź #5 dnia: 2009-05-04, 13:35:15 »
z zawartości /etc/network/interfaces wynika, że interfejs wlan0 nie jest skonfigurowany "na sztywno" w systemie (i może dla tego musisz go konfigurować ręcznie za każdym razem po uruchomieniu systemu). Może w Ubuntu jest jakiś automatyczny wykrywaczo-konfigurator kart wifi, więc może dla tego nie masz wlan0 w pliku konfiguracyjnym. Jednak jeśli chcesz zmienić adres MAC karty w taki sposób, żeby nie trzeba było tego robić ręcznie po uruchomieniu systemu, to robi się to właśnie w pliku /etc/network/interfaces.

Poza tym, z pierwszego postu wynika, że musisz ręcznie ładować moduł karty (ath5k) - czy na pewno nie jest on załadowany tuż po starcie systemu (polecenie lsmod | grep ath5k tuż po starcie systemu - jeśli polecenie nie zwróci żadnego wyniki, to znaczy że moduł nie jest ładowany)? Jeśli moduł nie jest ładowany, to można go dopisać do pliku /etc/modules (dopisz na końcu pliku, w nowej linii, nazwę modułu) - wtedy będzie ładowany automatycznie.

Jak napisał chmooreck, nie podałeś wyniku polecenia ifconfig, a przyda się żeby sprawdzić, czy od razu po odpaleniu systemu interfejs wlan0 jest skonfigurowany czy nie (pomimo braku wpisu w /etc/network/interfaces).

arctgx

  • Gość
Adres karty mac
« Odpowiedź #6 dnia: 2009-05-04, 14:39:06 »
Być może odpaliłeś dmesg przed załadowaniem ath5k, bo nie udało mi się znaleźć w nim informacji na ten temat. Tylko adres interfejsu eth0 (00:03:0d:88:63:1f) widać, ale to poza tematem. Skoro nic nie widać, to po załadowaniu ath5k możesz wyświetlić tylko ogon dmesga wystarczającej długości (powiedzmy, dmesg | tail -n 40).

"address" to przecież wyszukiwany ciąg znaków, a nie opcja grepa, by poprzedzać ją podwójnym minusem. Przy tego rodzaju problemach warto zajrzeć do man grep albo przykładów jego użycia w sieci. U Ciebie miało to wyglądać mniej więcej tak:
grep address /etc/udev/rules.d/*
(w nowszych wersjach UDEV domyślne reguły siedzą w /lib/udev/rules.d, ale Ty masz jeszcze wersję 124 sprzed ponad pół roku).

Najprawdopodobniej jednak nie musisz przejmować się adresami nadawanymi na poziomie ładowania sterowników czy podsystemu UDEV i wystarczy jeśli w interfaces narzucisz sprzętowy adres. Wtedy jednak polecenie "ifconfig wlan0 up" nie skorzysta z niego - interfaces jest konfigiem dla poleceń ifup i ifdown (ifup wlan0). Z ifupa korzysta w Debianie usługa startowa networking, zatem bardzo możliwe że i w Ubuntu tak jest.