Interface names get swapped, but udev rules don't work
I'm using the (apparently nightmarish) broadcom_wl module.
This:
https://wiki.archlinux.org/index.php/Br … every_time
and this:
https://wiki.archlinux.org/index.php/Co … es_varying
don't work. the 10-network.rules file I create is just completely ignored.
Any ideas?
Arch is my distro of choice for my desktop, but it is turning out to be an enormous PITA on my laptop.
hmmm,
NAME
The name, a network interface should be renamed to. Or as a
temporary workaraound, the name a device node should be named.
Usually the kernel provides the defined node name, or even creates
and removes the node before udev even receives any event. Changing
the node name from the kernel's default creates inconsistencies and
is not supported. If the kernel and NAME specify different names,
an error will be logged. Udev is only expected to handle device
node permissions and to create additional symlinks, not to change
kernel-provided device node names. Instead of renaming a device
node, SYMLINK should be used. Symlink names must never conflict
with device node names, it will result in unpredictable behavior.
try creating symlinks instead.
Similar Messages
-
I am on my laptop, where I am trying to write some udev rules.
Firstly, as a test I tried to make a symlink when connecting my ext hd.
$ udevadm info /dev/sdb
E: ID_PART_TABLE_UUID=ea04843c-526e-45bf-9d45-beba1b180285
$ cat /etc/udev/rules.d/61-rules.rules
ENV{ID_PART_TABLE}=="ea04843c-526e-45bf-9d45-beba1b180285" NAME="lilalum"
And well, nothing happens (there is no lilalum in /dev) when I plug in my ext hd.
Secondly, my low bat rule doesn't work.
$ cat /etc/udev/rules.d/99-lowbat.rules
SUBSYSTEM=="power_supply", ATTR{status}=="Discharging", ATTR{capacity}=="10", RUN+="/usr/bin/systemctl suspend"
SUBSYSTEM=="power_supply", ATTR{status}=="Discharging", ATTR{capacity}=="9", RUN+="/usr/bin/systemctl suspend"
SUBSYSTEM=="power_supply", ATTR{status}=="Discharging", ATTR{capacity}=="8", RUN+="/usr/bin/systemctl suspend"
It just doesn't do anything when the battery gets that low, and no the battery did not skip both 10, 9 and 8 percent.
Last edited by Ploppz (2014-05-03 12:41:02)Ah... thanks, it works now!
One more small issue... I tried writing a test to detect when the charger of my laptop gets plugged in or out, I put it in 61-rules.rules
SUBSYSTEM=="power_supply", RUN+="/usr/bin/touch /home/ploppz/charger"
The battery does send signals to udev:
$ udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
# Plugging out:
KERNEL[944.333548] change /devices/platform/ACPI0003:00/power_supply/AC (power_supply)
UDEV [944.340228] change /devices/platform/ACPI0003:00/power_supply/AC (power_supply)
KERNEL[944.426599] change /devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [944.428599] change /devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
KERNEL[944.470830] change /devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [944.472781] change /devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
# Plugging in:
KERNEL[950.317263] change /devices/platform/ACPI0003:00/power_supply/AC (power_supply)
KERNEL[950.331752] change /devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [950.332023] change /devices/platform/ACPI0003:00/power_supply/AC (power_supply)
KERNEL[950.332576] change /devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [950.333609] change /devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
UDEV [950.334891] change /devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
I also tried putting it in 99-lowbat.rules, stilll no luck. I'm also wondering whether udev reads all the rules every time an event happens, or if it caches them such that when I write a rule, I'll have to either wait a bit or do some action to update the rules cache? -
I had my Ipod nano 7th Gen factory restored. Nano touch works smooth without any song in-it but after i have any of the songs shifted from itunes, touch buttons get messed up. They don't work. Help me in over coming this issue.
Hello Rohantm,
Thank you for the details of the issue you are experiencing with your iPod nano (7th generation) touch screen. I recommend the following steps for the issue you described (you can skip the steps you have already tried):
Touch screen does not accept input
Clean the screen with a microfiber polishing cloth.
Do not wear gloves while using the touchscreen. Do not use the touchscreen with wet hands or immediately after applying hand lotion. Moisture affects touchscreen behavior in the same manner as it affects a trackpad.
If you have a protective plastic sheet or film on the touchscreen, try removing it, because it may be preventing the touchscreen from working properly.
The current application may be unresponsive; try resetting iPod by pressing and holding the Sleep/Wake button and the Home buttons simultaneously for a least six seconds, until the Apple logo appears.
Sync with iTunes and restore the iPod.
Issue not resolved
If the issue is still not resolved, please read this information on servicing your iPod.
Find the full article here:
iPod nano (7th generation): Hardware troubleshooting
http://support.apple.com/kb/TS4433
Thank you for using Apple Support Communities.
Best,
Sheila M. -
I have unlocked my iPhone 3G with Vodafone via iTunes, but now the downloaded apps crash immediately when opened. I've tried a Restore, but this didn't help. I've also tried removing all apps and re-installing them, but they still don't work. Any ideas? Thanks.
yep, unfortunately can't reset without the passcode either.
With regards to doing a restore, do you mean:
open itunes on my computer
click on my device on the left
go to the device summary
click restore
it then asks if i want to back up before i restore (to which i say no)
then it asks me if i'm sure I want to restore to factory settings and that all of me media and data will be erased and replaced with the newest version ( to which I say yes)
then it takes about 90 mins to do this but when I look at my phone, everything is exactly the same.
Am I missing something? Obviously I'm technologically challenged, but I HAVE to get to the bottom of this! -
I buy new iPhone5s befor 11day but. Now don't work I tried restore but same result I went to the nearest repairer and replace the battery and the charging port and the monitor but same result, I failed, said mother Bord (Raja solution)
If you bought the iPhone from an authorized store/vendor, you should have taken the iPhone to them or any other Apple Store for evaluation under warranty.
Once it has been opened by non-Apple entity, Apple will not do anything for this. -
Ipad gets hot and then touch don't work..
ipad gets hot and then touch don't work..
Reset iPad
Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
Note: Data will not be affected. -
I bought illustrator with an anual plan, but it just don't work
I start paying for an anual plan of illustrator 2 months ago, but it just don't work since I started paying, everytime I open it, a window shows up saying ''A problem caused the program to stop working correctly. Windows will close the program and notify if a solution is available.'' I already uninstalled and installed again like 20 times and it still the same...
reset your preferences -
acrobat: http://help.adobe.com/en_US/acrobat/X/pro/using/WS58a04a822e3e50102bd615109794195ff-7feb.w .html
adobe media encoder: https://forums.adobe.com/thread/1713540
after effects: http://helpx.adobe.com/after-effects/using/preferences.html
dreamweaver: https://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver-cs6-cc.html
flash: http://helpx.adobe.com/flash/kb/re-create-preferences-flash-professional.html
illustrator: http://helpx.adobe.com/illustrator/using/setting-preferences.html
indesign: https://forums.adobe.com/thread/526990
lightroom: https://helpx.adobe.com/lightroom/help/setting-preferences-lightroom.html
muse (mac): https://forums.adobe.com/thread/1246022?tstart=0
photoshop: https://forums.adobe.com/thread/375776
photoshop elements: https://helpx.adobe.com/photoshop-elements/kb/preference-file-locations-photoshop-elements .html, http://www.photokaboom.com/photography/learn/Photoshop_Elements/troubleshooting/1_delete_p references_file.htm
premiere elements: https://helpx.adobe.com/photoshop-elements/kb/preference-file-locations-photoshop-elements .html
premiere pro: http://www.mediacollege.com/adobe/premiere/pro/troubleshooter/trash-preferences.html
if that fails, uninstall, clean (http://www.adobe.com/support/contact/cscleanertool.html) and reinstall -
Exchange 2013: Inbox rules don't work on Journal Mailbox
Hello,
I've Exchange 2013 server with 2 databases:
* First database has all user mailboxes & is journaled to second database
* Second database has only 1 mailbox: Journal which collects all messages send / received from / to first database.
I made Inbox Rules on Journal Mailbox to delete unnecessary messages e.g. :
* HealthMailbox messages with Subject: Client submission probe
* [email protected] messages with Subject: Inbound proxy probe.
I noticed that these rules don't work. Why ?
best regards Janusz SuchHi,
How do you create these Inbox Rules on journal Mailbox? Please share the detailed rule content here and we can check whether the rule was created correctly or not.
Instead of journaling all mailboxes residing on a mailbox database, I suggest we can configure journal rules to match your organization's needs by journaling individual recipients or members of distribution groups. For more information about
journal rules, please refer to:
https://technet.microsoft.com/en-us/library/jj651670%28v=exchg.150%29.aspx?f=255&MSPPError=-2147217396
Regards,
Winnie Liang
TechNet Community Support -
[SOLVED]My udev rules don't automount usb device
Hi,
I'm using this .rules file for automounting usb devices:
# start at sdc to ignore the system hard drive
KERNEL!="sd[c-z]*", GOTO="my_media_automount_end" #sda and sdb are internal hard drives
ACTION=="add", PROGRAM!="/sbin/blkid %N", GOTO="my_media_automount_end"
# import some useful filesystem info as variables
IMPORT{program}="/sbin/blkid -o udev -p %N"
# get the label if present, otherwise assign one based on device/partition
ENV{ID_FS_LABEL}!="", ENV{dir_name}="%E{ID_FS_LABEL}"
ENV{ID_FS_LABEL}=="", ENV{dir_name}="%k"
# create the dir in /media and symlink it to /mnt
ACTION=="add", RUN+="/bin/mkdir -p '/media/%E{dir_name}'"
# global mount options
ACTION=="add", ENV{mount_options}="relatime"
# filesystem-specific mount options (777/666 dir/file perms for ntfs/vfat)
ACTION=="add", ENV{ID_FS_TYPE}=="vfat|ntfs", ENV{mount_options}="$env{mount_options},gid=100,dmask=000,fmask=111,utf8"
# automount ntfs filesystems using ntfs-3g driver
ACTION=="add", ENV{ID_FS_TYPE}=="ntfs", RUN+="/bin/mount -t ntfs-3g -o %E{mount_options} /dev/%k '/media/%E{dir_name}'"
# automount all other filesystems
ACTION=="add", ENV{ID_FS_TYPE}!="ntfs", RUN+="/bin/mount -t auto -o %E{mount_options} /dev/%k '/media/%E{dir_name}'"
# clean up after device removal
ACTION=="remove", ENV{dir_name}!="", RUN+="/bin/umount -l '/media/%E{dir_name}'", RUN+="/bin/rmdir '/media/%E{dir_name}'"
# exit
LABEL="my_media_automount_end"
The folders in /media are created successfully but no mounting takes place. The folders are empty and when I do
umount /media/device
, it returns:
umount: device/: not mounted
But when I try to remove the folder, it sometimes returns:
rmdir: failed to remove 'device/': Device or resource busy
When I unplug the device, the folders are deleted successfully.
When I manually mount the device with the code for ntfs from the rules-file, it works fine. I have also verified that the device is at /dev/sdc.
Through searching I didn't find any post with a problem like that. My guess was that somehow this test fails:
ACTION=="add", ENV{ID_FS_TYPE}=="ntfs"
I already tried removing the second condition, but the result stays the same. So I am left rather clueless, I hope, you guys can help me
Last edited by toffi-fee (2014-05-04 22:47:38)Thanks for the reply! So now I changed the rules to:
KERNEL!="sd[c-z]*", GOTO="my_media_automount_end"
ACTION=="add", PROGRAM!="/sbin/blkid %N", GOTO="my_media_automount_end"
# import some useful filesystem info as variables
IMPORT{program}="/sbin/blkid -o udev -p %N"
ACTION=="add", RUN+="/bin/udisksctl mount -b /dev/%k"
# clean up after device removal
ACTION=="remove", RUN+="/bin/udisksctl unmount -b '/dev/%k'"
# exit
LABEL="my_media_automount_end"
But now nothing seems to happen when I plug in, also no folder creation at /run/media/user/, hmmm..
Last edited by toffi-fee (2014-05-04 19:27:53) -
[SOLVED] udev rule no longer working
I have a udev rule set up to automatically mount an ext4 filesystem when I plug a certain thumb drive in. It was working fine until yesterday (probably due to updates). Here is the rule, in file /etc/udev/rules.d/99-gfk.rules:
KERNEL=="sd?2", SUBSYSTEM=="block", ATTRS{idVendor}=="0930", ATTRS{idProduct}=="6545", ATTRS{serial}=="1C6F654E4041ED601910053F", SYMLINK+="gfshare"
ACTION=="add", KERNEL=="sd?2", SUBSYSTEM=="block", ATTRS{idVendor}=="0930", ATTRS{idProduct}=="6545", ATTRS{serial}=="1C6F654E4041ED601910053F", RUN+="/bin/mkdir /media/gfshare"
ACTION=="add", KERNEL=="sd?2", SUBSYSTEM=="block", ATTRS{idVendor}=="0930", ATTRS{idProduct}=="6545", ATTRS{serial}=="1C6F654E4041ED601910053F", RUN+="/bin/mount -t ext4 -o ro,nosuid,nodev,noexec,noatime /dev/gfshare /media/gfshare"
The symlink and the mkdir command are both working fine, but the mount command is not being run for some reason. If I manually run the mount command it works fine. Some possibly helpful output:
# pacman -Qo $(which udevadm)
/usr/bin/udevadm is owned by systemd 212-1
# dmesg |tail -16
[26458.120628] usb 7-1.3: new high-speed USB device number 7 using ehci-pci
[26458.223059] usb-storage 7-1.3:1.0: USB Mass Storage device detected
[26458.223825] scsi10 : usb-storage 7-1.3:1.0
[26459.311607] scsi 10:0:0:0: Direct-Access Kingston DataTraveler 2.0 PMAP PQ: 0 ANSI: 4
[26460.834081] sd 10:0:0:0: [sdd] 15240576 512-byte logical blocks: (7.80 GB/7.26 GiB)
[26460.834931] sd 10:0:0:0: [sdd] Write Protect is off
[26460.834935] sd 10:0:0:0: [sdd] Mode Sense: 23 00 00 00
[26460.835617] sd 10:0:0:0: [sdd] No Caching mode page found
[26460.835621] sd 10:0:0:0: [sdd] Assuming drive cache: write through
[26460.839455] sd 10:0:0:0: [sdd] No Caching mode page found
[26460.839460] sd 10:0:0:0: [sdd] Assuming drive cache: write through
[26460.860579] sdd: sdd1 sdd2
[26460.867111] sd 10:0:0:0: [sdd] No Caching mode page found
[26460.867115] sd 10:0:0:0: [sdd] Assuming drive cache: write through
[26460.867118] sd 10:0:0:0: [sdd] Attached SCSI removable disk
[26461.041982] EXT4-fs (sdd2): mounted filesystem with ordered data mode. Opts: (null)
# udevadm test /sys/bus/usb/devices/7-1.3
calling: test
version 212
This program is for debugging only, it does not run any program
specified by a RUN key. It may show incorrect results, because
some values may be different, or not available at a simulation run.
load module index
timestamp of '/etc/systemd/network' changed
timestamp of '/usr/lib/systemd/network' changed
Parsed configuration file /usr/lib/systemd/network/99-default.link
Created link configuration context
timestamp of '/etc/udev/rules.d' changed
Skipping overridden file: /usr/lib/udev/rules.d/80-net-setup-link.rules.
read rules file: /usr/lib/udev/rules.d/10-dm.rules
read rules file: /usr/lib/udev/rules.d/11-dm-lvm.rules
read rules file: /etc/udev/rules.d/12-android.rules
read rules file: /usr/lib/udev/rules.d/13-dm-disk.rules
read rules file: /usr/lib/udev/rules.d/40-hpet-permissions.rules
read rules file: /usr/lib/udev/rules.d/40-usb-media-players.rules
read rules file: /usr/lib/udev/rules.d/42-usb-hid-pm.rules
read rules file: /usr/lib/udev/rules.d/50-firmware.rules
read rules file: /usr/lib/udev/rules.d/50-udev-default.rules
read rules file: /usr/lib/udev/rules.d/51-android.rules
read rules file: /usr/lib/udev/rules.d/60-cdrom_id.rules
read rules file: /usr/lib/udev/rules.d/60-drm.rules
read rules file: /usr/lib/udev/rules.d/60-keyboard.rules
read rules file: /usr/lib/udev/rules.d/60-pcmcia.rules
read rules file: /usr/lib/udev/rules.d/60-persistent-alsa.rules
read rules file: /usr/lib/udev/rules.d/60-persistent-input.rules
read rules file: /usr/lib/udev/rules.d/60-persistent-serial.rules
read rules file: /usr/lib/udev/rules.d/60-persistent-storage-tape.rules
read rules file: /usr/lib/udev/rules.d/60-persistent-storage.rules
read rules file: /usr/lib/udev/rules.d/60-persistent-v4l.rules
read rules file: /usr/lib/udev/rules.d/60-vboxdrv.rules
read rules file: /usr/lib/udev/rules.d/61-accelerometer.rules
read rules file: /usr/lib/udev/rules.d/63-md-raid-arrays.rules
read rules file: /usr/lib/udev/rules.d/64-btrfs.rules
read rules file: /usr/lib/udev/rules.d/64-md-raid-assembly.rules
read rules file: /usr/lib/udev/rules.d/69-cd-sensors.rules
read rules file: /usr/lib/udev/rules.d/69-dm-lvm-metad.rules
read rules file: /usr/lib/udev/rules.d/69-libmtp.rules
read rules file: /usr/lib/udev/rules.d/70-infrared.rules
read rules file: /usr/lib/udev/rules.d/70-power-switch.rules
read rules file: /usr/lib/udev/rules.d/70-uaccess.rules
read rules file: /usr/lib/udev/rules.d/71-seat.rules
read rules file: /usr/lib/udev/rules.d/73-seat-late.rules
read rules file: /usr/lib/udev/rules.d/75-net-description.rules
read rules file: /usr/lib/udev/rules.d/75-probe_mtd.rules
read rules file: /usr/lib/udev/rules.d/75-tty-description.rules
read rules file: /usr/lib/udev/rules.d/78-sound-card.rules
read rules file: /usr/lib/udev/rules.d/80-drivers.rules
read rules file: /etc/udev/rules.d/80-net-setup-link.rules
read rules file: /usr/lib/udev/rules.d/80-udisks.rules
read rules file: /usr/lib/udev/rules.d/80-udisks2.rules
read rules file: /usr/lib/udev/rules.d/85-usbmuxd.rules
read rules file: /usr/lib/udev/rules.d/90-alsa-restore.rules
read rules file: /usr/lib/udev/rules.d/95-cd-devices.rules
read rules file: /usr/lib/udev/rules.d/95-dm-notify.rules
read rules file: /usr/lib/udev/rules.d/95-udev-late.rules
read rules file: /usr/lib/udev/rules.d/95-upower-battery-recall-dell.rules
read rules file: /usr/lib/udev/rules.d/95-upower-battery-recall-fujitsu.rules
read rules file: /usr/lib/udev/rules.d/95-upower-battery-recall-gateway.rules
read rules file: /usr/lib/udev/rules.d/95-upower-battery-recall-ibm.rules
read rules file: /usr/lib/udev/rules.d/95-upower-battery-recall-lenovo.rules
read rules file: /usr/lib/udev/rules.d/95-upower-battery-recall-toshiba.rules
read rules file: /usr/lib/udev/rules.d/95-upower-csr.rules
read rules file: /usr/lib/udev/rules.d/95-upower-hid.rules
read rules file: /usr/lib/udev/rules.d/95-upower-wup.rules
read rules file: /etc/udev/rules.d/99-gfk.rules
read rules file: /usr/lib/udev/rules.d/99-systemd.rules
read rules file: /usr/lib/udev/rules.d/kino.rules
rules contain 98304 bytes tokens (8192 * 12 bytes), 22360 bytes strings
10092 strings (88570 bytes), 8317 de-duplicated (67986 bytes), 1776 trie nodes used
IMPORT builtin 'usb_id' /usr/lib/udev/rules.d/50-udev-default.rules:9
IMPORT builtin 'hwdb' /usr/lib/udev/rules.d/50-udev-default.rules:9
MODE 0664 /usr/lib/udev/rules.d/50-udev-default.rules:37
GROUP 1002 /usr/lib/udev/rules.d/51-android.rules:387
MODE 0660 /usr/lib/udev/rules.d/51-android.rules:387
RUN '/usr/share/virtualbox/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers' /usr/lib/udev/rules.d/60-vboxdrv.rules:6
PROGRAM '/usr/lib/udev/mtp-probe /sys/devices/pci0000:00/0000:00:1a.7/usb7/7-1/7-1.3 7 7' /usr/lib/udev/rules.d/69-libmtp.rules:1204
starting '/usr/lib/udev/mtp-probe /sys/devices/pci0000:00/0000:00:1a.7/usb7/7-1/7-1.3 7 7'
'/usr/lib/udev/mtp-probe /sys/devices/pci0000:00/0000:00:1a.7/usb7/7-1/7-1.3 7 7'(out) '0'
'/usr/lib/udev/mtp-probe /sys/devices/pci0000:00/0000:00:1a.7/usb7/7-1/7-1.3 7 7' [24644] exit with return code 0
IMPORT builtin 'path_id' /usr/lib/udev/rules.d/71-seat.rules:43
RUN 'uaccess' /usr/lib/udev/rules.d/73-seat-late.rules:15
handling device node '/dev/bus/usb/007/007', devnum=c189:774, mode=0660, uid=0, gid=1002
preserve permissions /dev/bus/usb/007/007, 020660, uid=0, gid=1002
preserve already existing symlink '/dev/char/189:774' to '../bus/usb/007/007'
ACTION=add
BUSNUM=007
DEVNAME=/dev/bus/usb/007/007
DEVNUM=007
DEVPATH=/devices/pci0000:00/0000:00:1a.7/usb7/7-1/7-1.3
DEVTYPE=usb_device
DRIVER=usb
ID_BUS=usb
ID_DRIVE_THUMB=1
ID_FOR_SEAT=usb-pci-0000_00_1a_7-usb-0_1_3
ID_MODEL=DataTraveler_2.0
ID_MODEL_ENC=DataTraveler\x202.0
ID_MODEL_FROM_DATABASE=Kingston DataTraveler 102 Flash Drive / HEMA Flash Drive 2 GB / PNY Attache 4GB Stick
ID_MODEL_ID=6545
ID_PATH=pci-0000:00:1a.7-usb-0:1.3
ID_PATH_TAG=pci-0000_00_1a_7-usb-0_1_3
ID_REVISION=0100
ID_SERIAL=Kingston_DataTraveler_2.0_1C6F654E4041ED601910053F
ID_SERIAL_SHORT=1C6F654E4041ED601910053F
ID_USB_INTERFACES=:080650:
ID_VENDOR=Kingston
ID_VENDOR_ENC=Kingston
ID_VENDOR_FROM_DATABASE=Toshiba Corp.
ID_VENDOR_ID=0930
MAJOR=189
MINOR=774
PRODUCT=930/6545/100
SUBSYSTEM=usb
TAGS=:seat:uaccess:
TYPE=0/0/0
USEC_INITIALIZED=26452326568
adb_user=yes
run: '/usr/share/virtualbox/VBoxCreateUSBNode.sh 189 774 00 vboxusers'
run: 'uaccess'
unload module index
Unloaded link configuration context
# udevadm test /sys/bus/usb/devices/7-1.3:1.0
calling: test
version 212
This program is for debugging only, it does not run any program
specified by a RUN key. It may show incorrect results, because
some values may be different, or not available at a simulation run.
load module index
timestamp of '/etc/systemd/network' changed
timestamp of '/usr/lib/systemd/network' changed
Parsed configuration file /usr/lib/systemd/network/99-default.link
Created link configuration context
timestamp of '/etc/udev/rules.d' changed
Skipping overridden file: /usr/lib/udev/rules.d/80-net-setup-link.rules.
read rules file: /usr/lib/udev/rules.d/10-dm.rules
read rules file: /usr/lib/udev/rules.d/11-dm-lvm.rules
read rules file: /etc/udev/rules.d/12-android.rules
read rules file: /usr/lib/udev/rules.d/13-dm-disk.rules
read rules file: /usr/lib/udev/rules.d/40-hpet-permissions.rules
read rules file: /usr/lib/udev/rules.d/40-usb-media-players.rules
read rules file: /usr/lib/udev/rules.d/42-usb-hid-pm.rules
read rules file: /usr/lib/udev/rules.d/50-firmware.rules
read rules file: /usr/lib/udev/rules.d/50-udev-default.rules
read rules file: /usr/lib/udev/rules.d/51-android.rules
read rules file: /usr/lib/udev/rules.d/60-cdrom_id.rules
read rules file: /usr/lib/udev/rules.d/60-drm.rules
read rules file: /usr/lib/udev/rules.d/60-keyboard.rules
read rules file: /usr/lib/udev/rules.d/60-pcmcia.rules
read rules file: /usr/lib/udev/rules.d/60-persistent-alsa.rules
read rules file: /usr/lib/udev/rules.d/60-persistent-input.rules
read rules file: /usr/lib/udev/rules.d/60-persistent-serial.rules
read rules file: /usr/lib/udev/rules.d/60-persistent-storage-tape.rules
read rules file: /usr/lib/udev/rules.d/60-persistent-storage.rules
read rules file: /usr/lib/udev/rules.d/60-persistent-v4l.rules
read rules file: /usr/lib/udev/rules.d/60-vboxdrv.rules
read rules file: /usr/lib/udev/rules.d/61-accelerometer.rules
read rules file: /usr/lib/udev/rules.d/63-md-raid-arrays.rules
read rules file: /usr/lib/udev/rules.d/64-btrfs.rules
read rules file: /usr/lib/udev/rules.d/64-md-raid-assembly.rules
read rules file: /usr/lib/udev/rules.d/69-cd-sensors.rules
read rules file: /usr/lib/udev/rules.d/69-dm-lvm-metad.rules
read rules file: /usr/lib/udev/rules.d/69-libmtp.rules
read rules file: /usr/lib/udev/rules.d/70-infrared.rules
read rules file: /usr/lib/udev/rules.d/70-power-switch.rules
read rules file: /usr/lib/udev/rules.d/70-uaccess.rules
read rules file: /usr/lib/udev/rules.d/71-seat.rules
read rules file: /usr/lib/udev/rules.d/73-seat-late.rules
read rules file: /usr/lib/udev/rules.d/75-net-description.rules
read rules file: /usr/lib/udev/rules.d/75-probe_mtd.rules
read rules file: /usr/lib/udev/rules.d/75-tty-description.rules
read rules file: /usr/lib/udev/rules.d/78-sound-card.rules
read rules file: /usr/lib/udev/rules.d/80-drivers.rules
read rules file: /etc/udev/rules.d/80-net-setup-link.rules
read rules file: /usr/lib/udev/rules.d/80-udisks.rules
read rules file: /usr/lib/udev/rules.d/80-udisks2.rules
read rules file: /usr/lib/udev/rules.d/85-usbmuxd.rules
read rules file: /usr/lib/udev/rules.d/90-alsa-restore.rules
read rules file: /usr/lib/udev/rules.d/95-cd-devices.rules
read rules file: /usr/lib/udev/rules.d/95-dm-notify.rules
read rules file: /usr/lib/udev/rules.d/95-udev-late.rules
read rules file: /usr/lib/udev/rules.d/95-upower-battery-recall-dell.rules
read rules file: /usr/lib/udev/rules.d/95-upower-battery-recall-fujitsu.rules
read rules file: /usr/lib/udev/rules.d/95-upower-battery-recall-gateway.rules
read rules file: /usr/lib/udev/rules.d/95-upower-battery-recall-ibm.rules
read rules file: /usr/lib/udev/rules.d/95-upower-battery-recall-lenovo.rules
read rules file: /usr/lib/udev/rules.d/95-upower-battery-recall-toshiba.rules
read rules file: /usr/lib/udev/rules.d/95-upower-csr.rules
read rules file: /usr/lib/udev/rules.d/95-upower-hid.rules
read rules file: /usr/lib/udev/rules.d/95-upower-wup.rules
read rules file: /etc/udev/rules.d/99-gfk.rules
read rules file: /usr/lib/udev/rules.d/99-systemd.rules
read rules file: /usr/lib/udev/rules.d/kino.rules
rules contain 98304 bytes tokens (8192 * 12 bytes), 22360 bytes strings
10092 strings (88570 bytes), 8317 de-duplicated (67986 bytes), 1776 trie nodes used
IMPORT builtin 'hwdb' /usr/lib/udev/rules.d/50-udev-default.rules:11
RUN 'kmod load $env{MODALIAS}' /usr/lib/udev/rules.d/80-drivers.rules:5
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1a.7/usb7/7-1/7-1.3/7-1.3:1.0
DEVTYPE=usb_interface
DRIVER=usb-storage
ID_MODEL_FROM_DATABASE=Kingston DataTraveler 102 Flash Drive / HEMA Flash Drive 2 GB / PNY Attache 4GB Stick
ID_VENDOR_FROM_DATABASE=Toshiba Corp.
INTERFACE=8/6/80
MODALIAS=usb:v0930p6545d0100dc00dsc00dp00ic08isc06ip50in00
PRODUCT=930/6545/100
SUBSYSTEM=usb
TYPE=0/0/0
USEC_INITIALIZED=452326811
run: 'kmod load usb:v0930p6545d0100dc00dsc00dp00ic08isc06ip50in00'
unload module index
Unloaded link configuration context
Last edited by bentglasstube (2014-04-03 20:51:36)I see. That is somewhat aggravating but I will find another way to achieve what I wanted I suppose.
Thank you. Should I mark this is solved or unsolvable or something? Sorry, I'm new to posting on these forums.
Edit: I was able to achieve what I wanted with udevil as recommended by the wiki.
Last edited by bentglasstube (2014-04-03 20:55:45) -
RV180W - Access Rules Don't Work
Hi,
We have a RV180W and the Access Rules will not work. I'm trying to block HTTP and HTTPS services for a specific workstation on our LAN, but the access rules don't seem to be working. I've also tried blocking different services as well as ANY service, but it's not working. I've tried rebooting the router after adjusting settings; I've tried adjusting services from the Port Forwarding menu first; and a couple weeks ago, I upgraded the firmware to version 1.0.2.6 and repeated all the previous steps. Nothing seems to be working. So far the only solution I could come up with is to block the workstation's MAC address altogether, but I don't want that because I still need it to hit the internet for other services.
Thank you,
RyanThese are the Access Rules I've tried (firmware v1.0.2.6):
Outbound:
Inbound along with the auto added Port Forwarding setting: -
Got 2.0 to work now, but the apps don't work i download from store
Howdy All
Managed to get 2.0 working now, constant clicking got me there, but now the apps i have downloaded from the store just don't work like Aim, Paypal etcok so finally got through to an apple care rep. he was very helpful...
Thanx Mark!!!! -
Own udev rule doesn't work at all
Hi,
I've trouble to write my own udev rule. I tried the following but it doesn't work at all.
I created the following file /etc/udev/rules.d/90-monitor-hotplug.rules with the following content:
# test
SUBSYSTEMS="usb", RUN+="/bin/sh -c '/bin/echo mon >> /tmp/monitor.log'"
run
> udevadm control --reload
Now I assumed with every usb event, e.g plugin of an usb memory stick it should spam something in /tmp/monitor.log
But nothing happens.
Can anybody tell me what I'm doing wrong. I guess it's something really stupid.
Thanks
JakobYou haven't used an equality operator in your first line (2x "="). Other than that, it looks fine to me.
So try:
# test
SUBSYSTEMS=="usb", RUN+="/bin/sh -c '/bin/echo mon >> /tmp/monitor.log'"
run
> udevadm control --reload -
Mail Rules don't work in Mavericks
It seems with the update to 10.9 Mavericks Mail rules no longer work. My email address was harvested by spamers and I have been using rules to weed throught the 100's of emails that I receive each day.
Russian Brides, Vigra, Learn a new language get moved into the trash when delievered. Now nothing happens.
I just tried to write a new rule and when I clicked the Prefs pannel I got the spinning cursor. After waiting for some time I did a force quit only to find that Mail was not responding.
Anyone have any ideas? I did not see any major changes with Mail and Mavericks so I'm not sure why it's been effected.
MDYou might condider using an Applescript with Mail Rules.
Here's one that I use (Use whitelist to not move to spam):
(Just edit to your junk or whitelist)
Note: The Applescripit must be saved to: ~/Library/Application Scripts/com.apple.mail/
The rule:
The AppleScript:
using terms from application "Mail"
on perform mail action with messages theMessages
tell application "Mail"
repeat with theMessage in theMessages
set theSender to (sender of theMessage)
set theReplyto to (reply to of theMessage)
set theSubject to (subject of theMessage)
set theHeader to (all headers of theMessage)
set theContent to (source of theMessage as string)
set theAccount to (account of mailbox of theMessage)
if my blacklist(theSender, theReplyto, theSubject, theHeader, theContent) ¬
and not my whitelist(theSender, theHeader) then
my moveToJunkFolder(theMessage, theAccount)
end if
end repeat
end tell
end perform mail action with messages
end using terms from
on blacklist(f, r, s, h, c)
if h contains "X-YahooFilteredBulk" or ¬
h contains "Received-SPF: fail" or ¬
h contains "Received-SPF: softfail" or ¬
h contains "Received-SPF: error" or ¬
h contains "Received-SPF: permerror" or ¬
h contains "Received-SPF: temperror" or ¬
h contains "streamsendbouncer@" or ¬
s contains "[Bulk]" or ¬
f contains "Vigra.candianmeds.com" or ¬
f contains "[email protected]" or ¬
f contains ".cz" or ¬
r contains ".ma" then
return true
end if
end blacklist
on whitelist(f, h)
if f contains "aicpa" or ¬
f contains "eWeek.com" or ¬
h contains "from macbook-air.local" then
return true
else
return false
end if
end whitelist
on moveToJunkFolder(m, a)
tell application "Mail"
try
set the read status of m to true
set the junk mail status of m to true
set theAccount to (account of mailbox of m)
set mailbox of m to (mailbox "Junk" of a) -- Move to "Junk"
end try
end tell
end moveToJunkFolder -
I'm trying to lean my ipad of data back to original status but my passwords don't work
I'm trying to clean my ipad of data back to original status but my passwords don't work
What exactly are you attempting to accomplish?
It sounds like you want to restore your iPad to factory settings.
You'll need your Apple ID and password associated with the data on the iPad to do any restores.
Maybe you are looking for
-
Using the 'route print' Command in Windows 7 - Detailed Screen Captures
The 'route print' Command from an Administrative Command Prompt in Windows 7 provides a variety of useful information. Let's take a look at the output of a 'route print' Command to examine how the output data is grouped and to understand its logic.
-
Email Signatures With Pictures on iOS
Has anyone found a permanent solution to the issue of pasted images in Email Signatures on iOS turning into blank boxes? I'm able to successfully paste my email signature into the settings in iOS but after a few minutes, they turn into blank boxes.
-
Run full screen video with GarageBand
Good evening. I have a question about using GaraBand with full screen video. I'm creating a movie using Final Cut Pro (which's new for me) and creating a music track in Garageband. I will like to have GarageBand to play the music in one track, using
-
I have Qosmio G20 notebook, I got error message that my WinXP lost some system file and didn't boot. I tried to boot from new WinXP (I lost rescue disk), but my installation program hunged up after 1 minute. I tried several other bootable disks inclu
-
Aperture Slide Shows vs iPhoto?
Is their a difference between the two slide shows...iphoto vs Aperture?