Translate

Image of Modern Operating Systems (3rd Edition)
Image of Android Wireless Application Development
Image of Advanced Programming in the UNIX Environment, Second Edition (Addison-Wesley Professional Computing Series)
Image of Beginning Google Maps API 3

Fedora 15 or 16: New NIC Names

Recently I installed Fedora 15 on a standalone system to do some testing. This system has ASUS motherboard with a single integrated Atheros 8131 Gigabit Ethernet NIC. Here is the relevant output from ipconfig -a: p33p1 Link encap:Ethernet HWaddr E0:CB:4E:1A:F6:D5 inet addr:192.168.0.114 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::e2cb:4eff:fe1a:f6d5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:62680 errors:0 dropped:0 overruns:0 frame:0 TX packets:37533 errors:0 dropped:0 overruns:0 carrier:1 collisions:0 txqueuelen:1000 RX bytes:94004479 (89.6 MiB) TX bytes:2446588 (2.3 MiB) Interrupt:44 I expected to see eth0; instead the NIC was named p33p1. The lsmod utility showed that the correct kernel module, i.e. atl1c.ko, was

Introduction to Udisks

Udisks (formerly called DeviceKit-disks) is a replacement for part of the functionality which used be provided by the now deprecated HAL (Hardware Abstraction Layer). Essentially it is an abstraction for enumerating disk and storage devices and performing operations on them. Udisks provides: A daemon (udisks-daemon) that implements well-defined D-Bus interfaces that can be used to query and manipulate disk and storage devices. A command-line tool (udisks), that can be used to query and use the daemon. Actions that a user can perform using udisks can be restricted using PolicyKit. Udisks relies on the kernel and udev where possible but does

Disable Device Automounting using Udisks

Udisks and udev are related. Normally, as you can see from the above examples, when a new USB stick or DVD inserted, it is automatically mounted and the file manager is displayed. Suppose, instead, that you want that USB stick or DVD to be ignored and not mounted. How would you configure your system to do this? While researching how to disable the automatic mounting of devices for a Linux kiosk project I was working on, I spent a number of hours on the Internet reading purported solutions to the problem. The majority of the solutions (probably 99%) simply did