Available languages= Italiano,

Test with latest trunk builds (karmic or later)

Get Debug Logs

Important: please do not pack (tar, zip, etc.) or compress the log files before uploading to launchpad. Just attach them as they are produced - this makes it easier for developers and triagers.

# stop NetworkManager ( < karmic)
sudo killall NetworkManager

# stop NetworkManager ( >= karmic - aka upstart)
sudo stop network-manager

# restart modemmanager with --debug and put output in /tmp/modem.log.txt
sudo killall modem-manager; sudo modem-manager --debug 2>&1 | tee /tmp/modem.log.txt

# enable PPP debugging too:
export NM_PPP_DEBUG=1

# start networkmanager and put log in /tmp/nm.log.txt
sudo NetworkManager --no-daemon 2>&1 | tee /tmp/nm.log.txt


# get the latest from git

# and run (with modem-manager running)
python ./

attach the output a bug.

Testing a patch

Sometimes a developer might ask you to test a quick patch he came up with. Below an example how to do that for modemmanager. If your bug is for some other package, just replace the package name

# get build dependencies
sudo apt-get install build-essential fakeroot devscripts
sudo apt-get build-dep modemmanager

# get sources
sudo apt-get source modemmanager

# cd into the source directory
cd modemmanager-*/

# apply the patch (note that -p1 could also be -p0 if the patch was created without an extra prefix in the diff path)
patch -p1 < /tmp/yourdownloadedpatch.diff

# build binaries only without signing
debuild -b -uc

# packages are produced in parent directory
cd ../

# install all nm packages
sudo dpkg -i modemmanager*.deb

Note that you didnt change the version of the package. so to get back to the "official" current version you need to do something like:

  sudo apt-get install --reinstall modemmanager

if you installed other packages from the build, do the same for them.


DebuggingModemmanager (last edited 2014-08-11 00:05:25 by es20490446e)