netsh winsock reset catalognetsh int ipv4 reset reset.log |
Reference Link: https://kudzia.eu/b/2015/10/waiting-for-tuntap-interface-to-come-up-in-openvpn-logs-under-windows-10/
netsh winsock reset catalognetsh int ipv4 reset reset.log |
Reference Link: https://kudzia.eu/b/2015/10/waiting-for-tuntap-interface-to-come-up-in-openvpn-logs-under-windows-10/
sudo nano /etc/network/interfaces
up sleep 5; ethtool -s eth0 autoneg off speed 100 duplex full
OR
In Debian (also Raspberry pi) this is the way to do it as per document
/usr/share/doc/ethtool/README.Debian
iface eth0 inet dhcp
link-speed 100
link-duplex full
ethernet-autoneg off
works like a charm
Reference: https://www.raspberrypi.org/forums/viewtopic.php?f=27&t=19067
Reference http://howtoubuntu.org/how-to-repair-restore-reinstall-grub-2-with-a-ubuntu-live-cd
Mount the partition your Ubuntu Installation is on. If you are not sure which it is, launch GParted(included in the Live CD) and find out. It is usually a EXT4 Partition. Replace the XY with the drive letter, and partition number, for example: sudo mount /dev/sda1 /mnt.
sudo mount /dev/sdXY /mnt
Now bind the directories that grub needs access to to detect other operating systems, like so.
Now we jump into that using chroot.
Now install, check, and update grub.
This time you only need to add the drive letter (usually a) to replace X, for example: grub-install/dev/sda, grub-install –recheck /dev/sda.
grub-install /dev/sdXgrub-install --recheck /dev/sdX
Now grub is back, all that is left is to exit the chrooted system and unmount everything.
Shut down and turn your computer back on, and you will be met with the default Grub2 screen.
You may want to update grub or re-install burg however you like it.
curl –socks5 127.0.0.1:1080 -o /dev/null http://mirror.hk.leaseweb.net/speedtest/100mb.bin
sudo /bin/rm /var/log/squid/*
sudo /bin/rm /var/log/syslog*
sudo /bin/rm /var/log/auth.log*
sudo /bin/rm /var/log/daemon.log*
sudo /bin/rm /usr/local/squid/var/logs/*
sudo /bin/rm -rf /usr/local/vpnserver/security_log/*
sudo /bin/rm -rf /usr/local/vpnserver/packet_log/*
sudo /bin/rm -rf /usr/local/vpnserver/server_log/*
A friend found a solution.
in grub.cfg
****
terminal_output gfxterm
if [ “${recordfail}” = 1 ]; then
set timeout=-1
****
-1 should be 0 .It works.
Now the only problem is that in case of kernel update, it will execute update-grub I think, which will overwrite this change. It is not that big problem.
sudo update-alternatives –config editor