Some odd problems with Linux and some potential solutions for them. Grouped by category for your protection.

Problem: Copy and paste doesn't seem to work properly in vim on Slackware 13.

ID: slack13_vim

I know that this is my fault for continuing to use Slackware, but old habits die hard. It appears the Pat (or whoever his lacky is this month) decided to build vim without X support for some stupid reason (Yes, I can think of 3 or 4 reasons and they're all stupid). As a result vim breaks horribly when it comes to copying and pasting when you're in an xterm or alike.

Your two options are: 1. Use Pat's gvim instead of vim (if you can stand it); or 2. rebuild vim using the --with-x option for configure.

If you would prefer option #2, but don't want to go to the effort of rebuilding it, you're in luck, I have rebuilt it and made a Slackware package for you and you can download it here. You can install it using pkgtool. I also highly recommend that you uninstall Pat's vim and gvim packages BEFORE you install this one.


Problem: During ping I get the message 'sendto: Operation not permitted'

ID: fwips_01 / Kernel: 2.4.27

Looking around the Internet, I've learned that this type of problem is most likely caused by a NAT misconfiguration. But not where you would expect it. I tried changing the NAT rules back and forth and sideways, but the fix turned out to be to unload all of the NAT modules and reload them. When I reloaded them, it worked like there was never anything wrong. Weird.

The real long-term solution however is to figure out which IP-tables modules you are using and build them directly into the kernel.

Howto:
 # rmmod ip_nat_tftp ip_nat_snmp_basic ip_nat_irc ip_nat_ftp
 # rmmod iptable_nat

 # for i in ip_nat_tftp ip_nat_snmp_basic ip_nat_irc ip_nat_ftp; do modprobe $i; done


Copyright ©1997 - 2021, Bulent Yilmaz