ssh-keygen -t rsa create a directory ~/.ssh as user x on B cat .ssh/id_rsa.pub | ssh x@B 'cat >> .ssh/authorized_keys http://www.eng.cam.ac.uk/help/jpmg/ssh/authorized_keys_howto.html
list installed files: rpm -ql gnome-applet-sshmenu
ssh-keygen -t rsa create a directory ~/.ssh as user x on B cat .ssh/id_rsa.pub | ssh x@B 'cat >> .ssh/authorized_keys http://www.eng.cam.ac.uk/help/jpmg/ssh/authorized_keys_howto.html
make sure your nic is able to wake up the pc: check it with the command ethtool eth0
broadcasting magic packets over wireless sometimes gives problems.
I changed the ping program so it can send a long patern(the magic packet) and gave it the short name plp (ping long patern)
how to use: plp -s 204 -p <magic packet> <ip address>
magic packet: 6xFFfollowed by 16xthe mac address (use ether-wake -bD to see an example of the magic packet)
todo: …. create magic packet from mac address
download & save the plp.ppt & rename it back to plp
plp
make sure you have an entry in your arp cache (ip-address mac) other wise it will send an arp who-has broadcast to a non responding pc (use arp -s <ip> <mac> to add one, or arp -f /etc/ethers,….)
Suppose you have an nvidia
1) download latest nvidia driver from nvidia website
2) disable nouveau
3) reboot
rm /var/lib/vmware/“Virtual\ Servers\*{vmem,vmdk}.lck/*lck
1) boot from dvd -> repair -> command prompt: bootrec.exe /FixBoot
3) edit grub.conf with possible boot partitions
wget http://mirror2.openwrt.org/sources/broadcom-wl-4.150.10.5.tar.bz2
tar -xvf broadcom-wl-4.150.10.5.tar.bz2
b43-fwcutter -w /lib/firmware wl_apsta_mimo.o
service restart NetworkManager,
start->configuration->index options
service: windows search
indexing outlook 2007: tools -> options -> preferences
problems with locked files: http://ccollomb.free.fr/unlocker/
- copy config van switch A -> pc met tftp
- op switch A: copy running-config tftp -> pc
- edit config file
- on switch B: copy xmodem runnig-config
- in hyperterminal: trasfer -> send file
manueel aanpassingen doen op switch B:
- hostname
- int vlan xxx ip address 10.10.10.10 255.255.255.0
- int ra fa0/1-45
-> duplex auto
-> speed auto
nieuwe running-config laden via http:
- conf t
- copy http://a.b.c.d/new_config running-config
- write
- reload warm
range commando’s
-interface range fastethernet0/1 – 4 , fastethernet0/10 – 15
shortcuts part 1 (cu=cursor)
1. ctrl+a=home : move your cursor to the beginning of the line
2. ctrl+e=end : move your cursor to the end of the line
3. ctrl+k : delete any characters from your cursor to the end of the line
4. ctrl+u : delete any characters from your cursor to the beginning of the line
5. ctrl+w : delete previous word
6. ctrl+t : transpose two previous characters
7. ctrl+y : yank/recover the last deletion
8. ctrl+d=del : delete one character at the cursor position
9. ctrl+h=backspace : delete one character before the cursor
10. ctrl+f=cu-ri : move forward
11. ctrl+b=cu-le : move backward
12. ctrl+r : find character sequence in history (completion mode)
13. ctrl+g : escape from completion mode
14. ctrl+v : Literal next (LNEXT)
15. ctrl+p=cu-up : browse history
16. ctrl+n=cu-do : browse history
17 ctrl+r=history reverse search
shortcuts part 2
1. esc+d : delete from the cursor position to the end of the word
1. esc+backspace : delete word left from the cursor position
2. esc+f : move forward a word
3. esc+b : move backward a word
4. esc+t : transpose two adjacent words
5. esc+U : word capital letters
6. esc+L : word small letters
7. esc+ : repeat last word of previous input
8. esc+n : repeat word n of previous input (nr can be pos or neg)
9. esc :
shortcuts part 3: VI
- List the Logical Volume Groups
lvscan
- List the Physical Volumes
pvscan
- Rename the Logical Volume Group if nessecary
Rename the logical volume group of the external drive from VolGroupxx to VolGroupyy (or other unique name):
vgchange -ay VolGroup01
- Mount the Drive
Next, mount the data partition of the external drive:
mount (-t ext3) /dev/VolGroup01/LogVol01 /mnt/external