Tag: Linux
NVIDIA and display cloning
by Felix Kaechele on Jul.07, 2009, under Fedora Planet, Linux
I always wondered why there is no easy way to clone my display to the VGA output of my ThinkPad T61p. I thought I found the solution in the fact that NVIDIA just sucks on Linux (well, they break my suspend/resume every other update). However a few weeks ago I found a script that simplifies the whole process. It is called Disper and can be downloaded here. In conjunction with the Thinkpad Screen script I can finally just Fn-F7 and use my Projector/DFP-Screen.
I also made a RPM of disper for the lazy:
Tethering in Fedora – Using your mobile phone with NetworkManager to surf the web
by Felix Kaechele on Jul.04, 2009, under Fedora Planet, Internet, Linux
Recently I tried to use my Nokia 5800 XpressMusic phone to access the web via it’s 3G modem that is available over Bluetooth. I wanted it to work together with NetworkManager nicely so that other programs (such as Pidgin) receive the online status and also to ease the connection/disconnection process. However NM and also gnome-bluetooth are not ready for the job yet (Blueman alledgedly is).
I found a blog entry by Harald Hoyer that offers a Python script to simplify the whole process of adding the phone as a modem. However that script isn’t up to date anymore. Unfortunately NM doesn’t trust HAL to determine the capabilities of the phone anymore (thus allowing this nice Python hack-script) but rather additionally asks udev for it’s opinion. This will result in the following error message in the debug log of NM:
NetworkManager: <info> (rfcomm0): found serial port (udev: hal:GSM)
NetworkManager: <info> (rfcomm0): ignoring due to lack of probed mobile broadband capabilties
I worked around this by setting all rfcomm* ports to be “probed” modems via an udev rule. I know that this probably is not the nicest way to do this but hey, it works. Furthermore I updated the script to the new Python 2.6 popen functions.
Here is what I came up with:
dialup-bluetooth.py
90-rfcomm-nm.rules
The udev rule belongs in /etc/udev/rules.d. The python script can be put anywhere you want but keep in mind that it must be run as root.
Have fun browsing the web on the go!