reload kernel ethernet card module

I don’t know if this works for all modules.

I have a problem with my ethernet card module r8169 for

04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)

It seems to stall or crash. So I do (as root)

rmmod r8169
modprobe r8169

And subsequently restart my network. In Slackware that is (as root)

/etc/rc.d/inet1 restart

Network up again. For now. What’s wrong with the driver/module? I tried a more recent one, same problem. Sigh.

openbox in slackware 15 or current

It seems I need this in .xinitrc:

Reinvoke within a dbus session:

if [ -z "$DBUS_SESSION_BUS_ADDRESS" ] && [ -x /usr/bin/dbus-run-session ]; then
   exec dbus-run-session -- $0 "$@"
fi

https://www.linuxquestions.org/questions/slackware-14/current-notify-send-with-fvwm-or-any-wm-4175706394/

libgtk-3.so: error adding symbols: File in wrong format

I wanted to install Glade (GTK+3 User Interface Builder). However, I’ve got a multilib environment (sort of). Compiling Glade I got this error:

libgtk-3.so: error adding symbols: File in wrong format

This problem has a solution on this page: Glade compile error, could not read symbols: File in wrong format.

The solution from Keith Hedger being:

I have noticed that the odd .pc file or generated configure/makefiles seem to ignore the libdir variable and use /usr/lib ( the usual default ) instead of /usr/lib64, as a quick and dirty workaround you can try

sudo mv /usr/lib /usr/lib.BAK

compile your code and then do

sudo mv /usr/lib.BAK /usr/lib

You shouldn't have to do this very often its just because of some sloppy written makefiles. This works with the glad3 slackbuild by the way.

Worked for me as well.