C:
-
perl: warning: Setting locale failed.
-
perl: warning: Please check that your locale settings:
-
LANGUAGE = (unset),
-
LC_ALL = (unset),
-
LC_COLLATE = "C",
edit /etc/locale.gen (sample file) *and then* run locale-gen
Change Webmin user password
/opt/webmin/changepass.pl /etc/webmin <user> <pwd>
Allow connection from IP
vi /etc/webmin/miniserv.conf
CODE:
-
cd ~
-
vim .inputrc
-
-
copy / paste
-
-
"\e[5~": history-search-backward
-
"\e[6~": history-search-forward
http://www.electrictoolbox.com/history-search-auto-completion-bash-shell-ubuntu/
Install:
CODE:
-
rpm -ivh ettercap-ng-073-1mdv20070i586.rpm
ettercap 0.7.3
ettercap -G
Checking the route table in Linux
Adding and Removing a Network in Linux
CODE:
-
route add -net 10.10.10.0/24 gw 192.168.0.1
-
route del -net 10.10.10.0/24 gw 192.168.0.1
Adding and Removing a specific host in Linux
CODE:
-
route add -host 10.10.10.45 gw 192.168.0.1
-
route del -host 10.10.10.45 gw 192.168.0.1
Adding a Default GW in Linux
CODE:
-
route add default gw 192.168.0.1
-
route del default gw 192.168.0.1
Turn off the virtual machine;
Commit/remove all the snapshots first! (I forgot to mention this, thanks JimO)
Create a good backup of the files!;
Open a Command Prompt and go to:
C:\Program Files\VMWare\VMWare Server
Run this command to expand the virtual disk:
CODE:
-
vmware-vdiskmanager -x 12GB "My harddisk.vmdk"
Note: Because this only expands the disk and not the partition, you'll need to resize the partition table as well. This can be done by 3rd party tools like 'Partition Magic', but also with 'diskpart.exe', builtin into Windows. In my case, this disk is a boot disk, meaning it can't be done on the virtual machine itself. I used another my 2nd virtual machine, running Windows XP.
Add the increased hard disk to a second virtual machine (must be turned off first!).
http://www.leonmeijer.nl/archive/2007/05/07/25.aspx
CODE:
-
ifconfig eth0 192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255 up
Če
pri gateway nima vpisanega wireless gatewaya je potrebno ponovno nastaviti rute tabelo