Peter Blomgren
San Diego State University
headshot
 
Boom! Push button for help
Fixed Problems

Here are fixes to some (not so random problems)...


Problem: Cannot connect to eduroam wireless network using Fedora (25)

Keywords: fedora 25 eduroam wireless authentication

Solution:
  • Open the "Network Connections" (not "Network") application
  • Add -> Wi-Fi -> Create
  • (** Wi-Fi tab **)
    • SSID = eduroam
    • Mode == Client
    • Device == (select wireless interface)
    • MTU == automatic
  • (** Wi-Fi Security tab **)
    • Security == WPA & WPA2 Enterprise
    • Authentication == Protected EAP (PEAP)
    • Anonymous Identity == [[blank]]
    • [x] No CA certificate is required
    • PEAP version == Automatic
    • Inner authentication == MSCHAPv2
    • Username == [[sdsuID]]
    • Password -== [[sdsuID-PASSWORD]]
  • ... and Bob's your uncle!


Problem: On a system with multiple GPU cards (one for display, others for CUDA computations), xstart / xinit will sometimes pick the wrong (first one on the list) card for the display.

Keywords: fedora 25 select GPU device nvidia driver

Solution:
  • run nvidia-settings to generate /etc/X11/xorg.conf
  • lspci | egrep -i VGA to get the BusID of the card, e.g.

    04:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 970] (rev a1)

  • Add the line: BusID "PCI:4:0:0"

    to Section "Device" of /etc/X11/xorg.conf
Wrinkle: this stopped working sometime in the summer of 2017...


Problem: Legacy postscript fonts cause warnings and strange output from LaTeX processed with dvips, dvipdf, and/or pdflatex.

Keywords: LaTeX fonts legacy Helvetica pdflatex

Error Message:
/usr/bin/dvips: Font Helvetica-Bold used in file Figures/basis_q1.eps is not in the mapping file.
/usr/bin/dvips: Font Helvetica used in file Figures/basis_q1.eps is not in the mapping file.


Solution:
  • Add the line: p +pdftex35.map

    to /usr/share/texlive/texmf-dist/dvips/config/config.ps


Problem: Plotting in Matlab R2016b fails under Fedora 25.

Error Message:
Error using gca
While setting property 'Parent' of class ''Axes'':
Can't load '/opt/MATLAB/R2016b/bin/glnxa64/libmwosgserver.so':
/opt/MATLAB/R2016b/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib64/libGLU.so.1)
Error in newplot (line 73)
ax = gca(fig);


Solution:
  • Force matlab to load the system version of libstdc++ by creating the alias

  • alias matlab='LD_PRELOAD=/usr/lib64/libstdc++.so.6 /opt/MATLAB/R2016b/bin/matlab'
Alternative (alleged):
  • Copy/edit .matlab7rc.sh — uncomment

    LDPATH_PREFIX='$MATLAB/sys/opengl/lib/$ARCH'
to always use the OpenGL libraries shipped with MATLAB.