This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
pl:docs:udevfaq [2007-08-13 11:39] EunicePele |
pl:docs:udevfaq [2009-06-10 12:51] qwiat update |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | /* page was renamed from pl/UdevFAQ */ | ||
Line 23: | Line 24: | ||
- | ===== Chcę podłączyć mój aparat cyfrowy/skaner/inne urządzenie usb do komputera. Czy muszę mountować /proc/bus/us` z opowiednimi prawami? ===== | + | ===== Chcę podłączyć mój aparat cyfrowy/skaner/inne urządzenie usb do komputera. Czy muszę mountować /proc/bus/usb z opowiednimi prawami? ===== |
Absolutnie nie. Dopisz się do grupy usb i zainstaluj libusb w wersji co najmniej 0.1.10a. Jeśli chcesz zgrać zdjęcia z aparatu pomocnym może okazać się hal-gphoto. | Absolutnie nie. Dopisz się do grupy usb i zainstaluj libusb w wersji co najmniej 0.1.10a. Jeśli chcesz zgrać zdjęcia z aparatu pomocnym może okazać się hal-gphoto. | ||
Line 44: | Line 45: | ||
===== Mam kilka kart sieciowych w komputerze, udev jednak sam ustawia im nazwy! ===== | ===== Mam kilka kart sieciowych w komputerze, udev jednak sam ustawia im nazwy! ===== | ||
- | **tylko udevsynthesize** | + | W Ac tylko **udevsynthesize** |
- | Rozwiązaniem jest dodanie reguły o nazwie np. 09-network.rules | + | Rozwiązaniem jest dodanie reguły o nazwie np. 09-network.rules, w której możemy zmienić nazwy urządzeń za pomocą mac-adresu i identyfikatorze urządzenia |
<file> ACTION!="add", GOTO="local_end" | <file> ACTION!="add", GOTO="local_end" | ||
SUBSYSTEM!="net", GOTO="local_end" | SUBSYSTEM!="net", GOTO="local_end" | ||
- | DRIVER=="?*", SYSFS{address}=="00:11:22:33:44:55", \ | + | DRIVERS=="?*", ATTRS{address}=="00:11:22:33:45:45", ATTRS{device}=="0x0900", NAME="wireless" |
- | SYSFS{device}=="0x1111", NAME="wireless" | + | DRIVERS=="?*", ATTRS{address}=="aa:bb:aa:cc:aa:dd", ATTRS{device}=="0x0900", NAME="lan" |
- | DRIVER=="?*", SYSFS{address}=="00:01:02:03:04:05", \ | + | DRIVERS=="?*", ATTRS{address}=="00:aa:22:bb:33:dd", ATTRS{device}=="0x0900", NAME="firewire" |
- | SYSFS{device}=="0x2222", NAME="lan" | + | |
- | DRIVER=="?*", SYSFS{address}=="00:55:66:44:33:22:11:00", \ | + | |
- | SYSFS{device}=="0x3333", NAME="firewire" | + | |
LABEL="local_end" | LABEL="local_end" | ||
</file> | </file> | ||
- | SYSFS{device} uzyskamy za pomocą: | + | w przypadku urządzeń tego samego rodzaju (tu eth*) można identyfikować po samym mac-adresie: |
- | <file>udevinfo -q all -a -p /sys/class/net/nazwa_interface | + | |
+ | |||
+ | <file> ACTION!="add", GOTO="local_end" | ||
+ | SUBSYSTEM!="net", GOTO="local_end" | ||
+ | KERNEL!="eth*", GOTO="local_end" | ||
+ | |||
+ | DRIVERS=="?*", ATTR{address}=="00:05:5d:6d:1a:07", NAME="eth0" | ||
+ | DRIVERS=="?*", ATTR{address}=="00:50:04:3c:a6:6f", NAME="eth1" | ||
+ | DRIVERS=="?*", ATTR{address}=="00:a0:d2:1d:22:73", NAME="eth2" | ||
+ | |||
+ | LABEL="local_end" | ||
</file> | </file> | ||
- | lub poprzez ''lspci''. | + | ATTR{device} i ATTR{address} uzyskamy za pomocą: |
+ | |||
+ | <file># udevadm info -a -p /sys/class/net/eth0 | ||
+ | </file> | ||
+ | zaś sam mac-adres także za pomocą | ||
+ | |||
+ | <file># ip a | ||
+ | </file> | ||
+ | Aby sprawdzić czy regułki są prawidłowe musimy sprawdzić każdą kartę z osobna | ||
+ | |||
+ | <file># udevadm test /sys/class/net/eth0 | ||
+ | </file> | ||
+ | interesuje nas komunikat: //udev_rules_apply_to_event: NAME 'eth0' // | ||
Line 77: | Line 97: | ||
- | * [[http://headbutt.angelcities.com/52.html|vids vids mpeg]] | [[http://teemingly.9cy.com/15.html|ebony hardcore movies]] | [[http://spookiest.g0g.net/47.html|free gay watersports]] | [[http://spookiest.g0g.net/61.html|sisters wet clit]] | [[http://swooshes.150m.com/30.html|vaginal gaping]] | [[http://supercool.wtcsites.com/32.html|kinky granny blog]] | [[http://tossup.bravepages.com/40.html|the tranny trick]] | [[http://scrapped.freewebpages.org/23.html|donald blow job]] | [[http://licente.9cy.com/51.html|group fuck grannie]] | [[http://ohms.envy.nu/37.html|housewives vibrator]] | [[http://deckhand.freewebsitehosting.com/41.html|cg anime porn]] | [[http://chiapas.freewebsitehosting.com/42.html|college reality porn]] | [[http://ecrus.freewebsitehosting.com/14.html|cum loving wives]] | [[http://congruity.o-f.com/42.html|huge swollen clit]] | [[http://promises.1sweethost.com/74.html|nude blond slut]] | [[http://regards.kogaryu.com/25.html|horny hairy girl]] | [[http://bunks.g0g.net/70.html|fuck stories]] | [[http://lamplights.bravepages.com/54.html|hentai anime tentacles]] | [[http://ombudsman.wtcsites.com/10.html|gloryholes naples florida]] | [[http://fort.envy.nu/24.html|blond shemale galleries]] | [[http://repressive.1sweethost.com/56.html|squirting masturbations]] | [[http://whiteys.kogaryu.com/51.html|females squirt ejaculation]] | [[http://credibly.exactpages.com/1.html|adult short stories]] | [[http://eradicates.kogaryu.com/62.html|wet naked women]] | [[http://gleans.150m.com/8.html|big naked booties]] | [[http://fervently.00freehost.com/3.html|hirsute jpg]] | [[http://reunifies.exactpages.com/21.html|nude celeb database]] | [[http://portion.freecities.com/60.html|hight school butts]] | [[http://spookiest.g0g.net/24.html|lesbo toes soles]] | [[http://supercool.wtcsites.com/38.html|milf undress cam]] | [[http://reunifies.exactpages.com/95.html|girls using dildoes]] | [[http://pen.1sweethost.com/13.html|dildo masterbation]] | [[http://stratified.o-f.com/64.html|xxx anal linda]] | [[http://awarding.741.com/58.html|erotic body painting]] | [[http://promises.1sweethost.com/56.html|bukkake sperm]] | [[http://extirpate.envy.nu/43.html|big tit cock]] | [[http://stalely.freewebpages.org/48.html|huge tit milf]] | [[http://pbx.greatnow.com/73.html|shemale butt worship]] | [[http://morns.100freemb.com/34.html|teenage babes naked]] | [[http://snottier.bravepages.com/93.html|mouthfull housewife]] | [[http://fervently.00freehost.com/60.html|lesbo punk girls]] | [[http://denser.ibnsites.com/67.html|300 pound bbw pics]] | [[http://crosses.greatnow.com/27.html|young teacher fucking]] | + | [[:CategoryUpdateNeeded|CategoryUpdateNeeded]] |