Quick fix:
$sudo yum install hunspell-en
Further reading:
Francis Pereira's blog
Quick fix:
$sudo yum install hunspell-en
Further reading:
dhclient overwrites custom network configuration (read routes) with the defaults provided from the dhcp server. dhclient-script can be used to set custom rules for dhclient. It provides a way to hook into dhclient before and after updating network configuration.
Application specific DHCP options can be handled by creating a script with two functions and placing it in /etc/dhcp/dhclient.d
The script must follow a specific form:
The scripts execute in the same environment as dhclient-script. That means all of the functions and variables available to it are available to your NAME.sh script.
Things of note:
Took me a while to find this documentation. No more surprises from now on when dhclient updates the lease
With ‘chroot_local_users=YES’ vsftpd locks a user to his/her home directory, but every now and then you have a few users who need access to more that one user’s home for some reason or other
For the record “ls -s /home/user1 /home/user2″ does not work. chroot will not allow you to get out
Starting for kernel 2.4.Something a filesystem could be mounted on multiple mount points using the –bind option. hence:
$sudo mount --bind /home/user1/ /home/user2/user1
That’s it, log in as user2 and you should be able to see user1’s home. Add it to rc.local so that its mounted on reboot
phpBB3 [version 3.0.3] by default cannot set the display name in the headers of outgoing emails. You could try all you want from the administration control panel but a look under the hood in the source code will tell you its almost impossible.
Fixing it is pretty easy.
open file phpBB3_root_path/includes/functions_messenger.php find: $headers[] = 'From: ' . $this->;from; replace with: $headers[] = 'From: Display Name ' . $this->;from; find: $headers[] = 'Reply-To: ' . $this->;replyto; replace with: headers[] = 'Reply-To: Display Name ' . $this->;replyto; find: $headers[] = 'Return-Path: <' . $config['board_email'] . '>;'; replace with: $headers[] = 'Return-Path: Display Name <' . $config['board_email'] . '>;'; find: $headers[] = 'Sender: <' . $config['board_email'] . '>;'; replace with: $headers[] = 'Sender: Display Name <' . $config['board_email'] . '>;';
That should do the trick. Did it work for you ?
Looking at syslog from my load balancing server that runs Linux LVS I noticed something that I had never seen before:
server2 kernel: [43206369.830000] ip_conntrack: table full, dropping packet.
It appears that my server has hit the maximum number of concurrent connections that can be tracked
The maximum number of connections tracked can be found by:
$sudo cat /proc/sys/net/ipv4/netfilter/ip_conntrack_max 65536
Time to double to number of connections that the table can track:
$sudo nano /etc/sysctl.conf
and add the line
net.ipv4.netfilter.ip_conntrack_max = 131072
reload the sysctl.conf
$sudo sysctl -p
Its been an incredible weekend! I installed Debian Lenny on the eeePc. Its fast and stable running GNOME, using only 149 of 512 MB RAM available on the device. I love this little notebook now. It just the way I like it
For academic purposed a.k.a just for the kicks. Jokes apart, because:
I can’t get enough of this little thing. The little piece of hardware can do almost everything I can do on my desktop. IMHO this is a perfect companion for road warriors who are always on the move and need access to a browser, mail and a productivity suite
There appears to be a bug in Ubuntu 8.04’s bluetooth packages, because of which when someone trying to connect to the serial port of the computer from the mobile phone running Python receives an error message saying “No Serial ports found”. This article provides a quick fix for connecting Python Bluetooth console to a computer running Ubuntu
The bug only exist in Ubuntu 8.04’s bluetooth packages. Two packages (bluez-utils and libbluetooth2) have to be updated from debian sid’s repository
In a terminal as normal user:
$ hciconfig reset
$ hcitool dev
$ sdptool add --channel=2 SP
$ rfcomm listen rfcomm2 2
In your phone, make sure bluetooth is on, then go to the Python application and then select the Bluetooth Console. Select from the list of available devices your computer’s bluetooth adapter (you might need to select search even if you think you have already defined the pairing). If the operation is successful, you should see something similar to the following on your computer’s shell:
Waiting for connection on channel 2 Connection from 00:1D:FD:EE:86:38 to /dev/rfcomm2 Press CTRL-C for hangup
Now open a new shell terminal and execute:
$ cu -l /dev/rfcomm2
You’re now in control of your mobile’s python console.
Happy hacking !