Thursday, August 20, 2009

Solution to: File ended while scanning use of \@writefile

Recently came across this error in latex. This shows up every
time I try to compile the code after I first saw this error and
restarting my system or the latex editor did not help-

> Runaway argument?
> ! File ended while scanning use of \@writefile.
>
> \par
> l.110 \begin{document}

This error is seen typically because of an incomplete
entry in the aux file and can be removed by
deleting the file with .aux extension in the latex source.
To re-generate these aux files "latex" needs to be run.
Note - you have to run latex and not texify or any
other tool.

Good luck.

Tuesday, August 18, 2009

ping: sendmsg: No buffer space available (Madwifi/Atheros)

I set up a STA-AP network
Interface fails after approx 2 minutes.
ifconfig/ifdown/ifup does not bring the interface back up.

Pings show-
...
64 bytes from 192.168.10.1: icmp_seq=12 ttl=64 time=0.819 ms
64 bytes from 192.168.10.1: icmp_seq=13 ttl=64 time=0.673 ms
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available

Increasing the queue size by using the following command helped-
echo 83886080 > /proc/sys/net/core/wmem_max
Do let me know how it works for you.

Monday, August 17, 2009

Latex Error - something's missing maybe a \item

Encountered an error in late while compiling references
using Bibtex. Typical error seen was-
something's missing maybe a \item
The solution to this problem is by running "Latex"
before running Bibtex since it helps to generate
the necessary .aux files.