https://organicdesign.nz/wiki/index.php?title=Debian_legacy_issues&feed=atom&action=historyDebian legacy issues - Revision history2024-03-29T07:53:16ZRevision history for this page on the wikiMediaWiki 1.31.3https://organicdesign.nz/wiki/index.php?title=Debian_legacy_issues&diff=126431&oldid=prevNad at 00:22, 16 August 20192019-08-16T00:22:57Z<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 00:22, 16 August 2019</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{legacy}}</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{legacy}}</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> </div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">{{info|</ins>Here are some notes that have been useful for dealing with issues on older versions of [[Debian]] running [[Gnome]].<ins class="diffchange diffchange-inline">}}</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Here are some notes that have been useful for dealing with issues on older versions of [[Debian]] running [[Gnome]].</div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Distribution upgrades ==</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Distribution upgrades ==</div></td></tr>
</table>Nadhttps://organicdesign.nz/wiki/index.php?title=Debian_legacy_issues&diff=126430&oldid=prevNad: Move old Debian notes to here2019-08-16T00:22:00Z<p>Move old <a href="/Debian" title="Debian">Debian</a> notes to here</p>
<p><b>New page</b></p><div>{{legacy}}<br />
<br />
Here are some notes that have been useful for dealing with issues on older versions of [[Debian]] running [[Gnome]].<br />
<br />
== Distribution upgrades ==<br />
To upgrade Debian, first ensure that there are no conflicting or held back packages. If there are, these issues are best sorted out first.<br />
<source lang="bash"><br />
dpkg --audit<br />
dpkg --get-selections | grep hold<br />
</source><br />
Then run ''aptitude'' and press "g" and only carry on when you have the message "No packages are scheduled to be installed, removed or upgraded".<br />
<br />
Next change all your sources over in ''/etc/apt/sources.list'' from the old distro name such as ''squeeze'' to the new one such as ''wheezy''. And then do the upgrade in two steps, first upgrade the packages and then do the ''dist-upgrade'' as follows:<br />
<source lang="bash"><br />
apt-get update<br />
apt-get upgrade<br />
apt-get dist-upgrade<br />
</source><br />
<br />
It's best to use the package maintainer's version of any updated configuration files it mentions. You can have a second shell window open so you can check the changed parts of the configuration that have changed and back them up or copy them across to the freshly created version.<br />
<br />
== Centrino Wireless-N 1030 ==<br />
This driver is not included in the Debian installation or on-line repositories so has to be manually installed afterwards. See also [[Set up a wifi hotspot]]<br />
<source lang="bash"><br />
echo "deb http://http.debian.net/debian/ wheezy main contrib non-free" >> /etc/apt/sources.list<br />
apt-get update<br />
apt-get install firmware-iwlwifi<br />
modprobe -r iwlwifi ; modprobe iwlwifi<br />
</source><br />
<br />
== Bluetooth ==<br />
I found that I couldn't get any of my bluetooth devices to pair in the default install of Debian 7. The devices would show up in the detected list and the pairing process would initiate properly, but would then fail to complete. Using the ''bluez'' tools from the terminal worked though with the following procedure I found [http://www.ctheroux.com/2012/08/a-step-by-step-guide-to-setup-a-bluetooth-keyboard-and-mouse-on-the-raspberry-pi/ here]. Strangely, after I got the first thing (my mouse) working with this process, then my phone was able to pair from the GUI as normal even though it had failed prior to getting the mouse to work.<br />
<source lang="bash"><br />
hcitool scan<br />
</source><br />
This process gives you the MAC address of your device which you can then begin the pairing process with as follows. This will ask you for the pin which you type in to your device etc or use ''0000'' if it's a device like a mouse or headset.<br />
<source lang="bash"><br />
bluez-simple-agent hci0 12:34:56:78:9A:BC<br />
</source><br />
<br />
<br />
You then make the device trusted so that it can automatically connect in future:<br />
<source lang="bash"><br />
bluez-test-device trusted 12:34:56:78:9A:BC yes<br />
</source><br />
<br />
<br />
And then finally, connect to the device:<br />
<source lang="bash"><br />
bluez-test-input connect 12:34:56:78:9A:BC<br />
</source><br />
<br />
<br />
It should now be shown as normal in the bluetooth menus and settings window and should connect automatically when the session starts.<br />
<br />
== Dual Monitor issues ==<br />
One problem that often comes up with dual monitor setup in Ubuntu (persisting as of 11.04) is that there's nothing in the interface allowing the user to define which is the primary monitor having the panels with the launcher and notification icons etc.<br />
<br />
But the monitors applet is actually just a graphical interface over the powerful [[w:RandR|xrandr]] utility. This tool can also be used to set the resolution - even custom resolutions, as for example shown in [[HDMI to DVI problem]]. The changes made with ''xrandr'' occur in real-time without any need to log out or restart anything to see the effects.<br />
<br />
As an example, when I plugged a second monitor into my laptops HDMI port it automatically changed to an extended desktop setup, but the panels were all on the laptop screen. To move them across to the external monitor involves first querying ''xrandr'' to see what the current monitor names are:<br />
<source><br />
Screen 0: minimum 320 x 200, current 3286 x 1080, maximum 8192 x 8192<br />
LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 293mm x 165mm<br />
1366x768 60.0*+<br />
1360x768 59.8 60.0 <br />
1024x768 60.0 <br />
800x600 60.3 56.2 <br />
640x480 59.9 <br />
VGA1 disconnected (normal left inverted right x axis y axis)<br />
HDMI1 connected 1920x1080+1366+0 (normal left inverted right x axis y axis) 531mm x 299mm<br />
1920x1080 60.0*+<br />
1280x1024 75.0 60.0 <br />
1152x864 75.0 <br />
1024x768 75.1 60.0 <br />
800x600 75.0 60.3 <br />
640x480 75.0 60.0 <br />
720x400 70.1 <br />
DP1 disconnected (normal left inverted right x axis y axis)<br />
</source><br />
<br />
<br />
From this we see that the external monitor is named HDMI1, so we can now make it primary as follows:<br />
<source><br />
xrandr --output HDMI1 --primary<br />
</source><br />
<br />
<br />
And voila, straight away, the panels shift across to the other screen :-)<br />
<br />
== Working with small screens ==<br />
Something that used to worm on prior versions of Ubuntu and seems to have stopped working in version 12 is the desktop panning feature. This allows your desktop to be bigger than you physical screen size and to scroll when you move the mouse to the edges. You used to be able to do this by typing a simple ''xrandr'' command such as the following:<br />
<source lang="bash"><br />
xrandr --output LVDS1 --panning 1920x1080<br />
</source><br />
<br />
<br />
But this no longer works, which is a real pain if you have a tiny screen because you often have dialog boxes with the buttons off the bottom where they can't be seen! However it turns out there's a simple solution to this - {{h|you can hold down the ALT key and drag the window around to reveal the hidden parts!}}<br />
<br />
== Mobile broadband connection suddenly requires password ==<br />
One day when I tried to connect to the net using 3G on my USB stick it wouldn't connect and after removing and reinserting the SIM in the device I was asked for a password when trying to connect. I tried my chip's PIN and PUK codes, "1234", "12345" and "vivo" as well but all failed. But when I tried the chip in my phone and in Beth's laptop it connected without issue.<br />
<br />
I compared the ''/etc/NetworkManager/NetworkManager.conf'' configuration in Beth's computer to mine and found that mine had somehow gained en extra line:<br />
<source><br />
no-auto-default=18:03:91:8E:90:BC,<br />
</source><br />
The digits correspond to my ''eth0'' MAC address, and the trailing comma seems a little odd. I removed this line and found that after a full reboot everything worked again (I first tried just restarting the Network Manager but that didn't fix it). I'm not sure how this line got added, but it could have happened during a lot of plugging and unplugging of different routers and things when we had some connection problems earlier in the week.<br />
<br />
== See also ==<br />
*[[Debian]]<br />
*[[Gnome]]</div>Nad