rm /Users/Shared/.xg
rm /Users/Shared/.xgb
2012年3月3日星期六
2012年2月28日星期二
Create your own wowpc.iso under mac
this is the command.
under /bootmedia/usr/standalone/i386/
there are those files:
bdmesg,boot,boot0,boot0hfs,boot0md,boot1f32,boot1h,boot1he,boot1hp,cdboot,chain0,fdisk440,and readme.txt
sudo hdiutil makehybrid -o wowpc.iso bootmedia/ -iso -hfs -joliet -eltorito-boot bootmedia/usr/standalone/i386/cdboot -no-emul-boot -hfs-volume-name "Chameleon" -joliet-volume-name "Chameleo" -iso-volume-name "Chameleo"
![]() |
| This is the directory to create. |
under /bootmedia/usr/standalone/i386/
there are those files:
bdmesg,boot,boot0,boot0hfs,boot0md,boot1f32,boot1h,boot1he,boot1hp,cdboot,chain0,fdisk440,and readme.txt
2012年2月12日星期日
Optical Bay Hard Drive caddy not recgonized, system hanging/not booting
Replaced the optical drive of my laptop (Dell Inspiron 1464) with a hard drive caddy to extend the storage capacity, but the BIOS seems could not recognize it.
After some digging and checking, I noticed that the SATA port in the laptop for the optical drive is only 1st gen (150MB/s), and it does not support the SATA II type (300MB/s). So I changed the mode of the dard drive into SATA mode with copper wire (jumper settings, to change the working mode), and it works perfect.
After some digging and checking, I noticed that the SATA port in the laptop for the optical drive is only 1st gen (150MB/s), and it does not support the SATA II type (300MB/s). So I changed the mode of the dard drive into SATA mode with copper wire (jumper settings, to change the working mode), and it works perfect.
![]() |
| From Seagate.com |
2012年1月5日星期四
2012年1月2日星期一
2011年12月15日星期四
Network problem with VMware Fusion bridged autodetect mode
Vmware fusion 4.1.0 under OS X has a bug when using Bridged autodetect mode.
For example, suppose you have a cabled ethernet and also a WiFi connection. If you set the Guest OS to use ethernet as bridged with autodetect mode, it works fine at the beginning, but when you switch your Host internet connection from cable to WiFi, and switch back, the Host ethernet would not able to determine the status, let alone establish a connection.
The solution is easy, set the Guest OS to use ethernet as bridged but with a specific network adaptor and problem will fix immediately.
http://www.ianmcshane.org/2010/03/12/vmware-fusion-network-bridge-error-finally-solved/
For example, suppose you have a cabled ethernet and also a WiFi connection. If you set the Guest OS to use ethernet as bridged with autodetect mode, it works fine at the beginning, but when you switch your Host internet connection from cable to WiFi, and switch back, the Host ethernet would not able to determine the status, let alone establish a connection.
The solution is easy, set the Guest OS to use ethernet as bridged but with a specific network adaptor and problem will fix immediately.
http://www.ianmcshane.org/2010/03/12/vmware-fusion-network-bridge-error-finally-solved/
2011年12月8日星期四
OpenVPN configuration files
server (Ubuntu Server).
Client (MAC OS X)
local 10.xx.xx.xx
port PORT_NUMBER
proto udp
dev tun
ca /YOUR_CA_DIR/ca.crt
cert /YOUR_CA_DIR/key-server.crt
key /YOUR_CA_DIR/key-server.key
dh /YOUR_CA_DIR/dh1024.pem
cipher AES-128-CBC # AES is faster than BF
max-routes 3000
ifconfig-pool-persist ipp.txt
server 10.168.1.0 255.255.255.0
push "redirect-gateway"
push "dhcp-option DNS 208.67.220.220" # OpenDNS.
push "dhcp-option DNS 208.67.222.222"
client-to-client
duplicate-cn
keepalive 10 60
comp-lzo
max-clients 10
persist-key
persist-tun
status openvpn-status.log
log-append openvpn.log
verb 3
mute 20
port PORT_NUMBER
proto udp
dev tun
ca /YOUR_CA_DIR/ca.crt
cert /YOUR_CA_DIR/key-server.crt
key /YOUR_CA_DIR/key-server.key
dh /YOUR_CA_DIR/dh1024.pem
cipher AES-128-CBC # AES is faster than BF
max-routes 3000
ifconfig-pool-persist ipp.txt
server 10.168.1.0 255.255.255.0
push "redirect-gateway"
push "dhcp-option DNS 208.67.220.220" # OpenDNS.
push "dhcp-option DNS 208.67.222.222"
client-to-client
duplicate-cn
keepalive 10 60
comp-lzo
max-clients 10
persist-key
persist-tun
status openvpn-status.log
log-append openvpn.log
verb 3
mute 20
Client (MAC OS X)
remote SERVER_IP SERVER_PORT udp
persist-key
tls-client
pull
ca ca.crt
redirect-gateway def1
dev tun
persist-tun
cert cert.crt
comp-lzo no
nobind
key key.key
remote-cert-tls server
script-security 2
cipher AES-128-CBC
persist-key
tls-client
pull
ca ca.crt
redirect-gateway def1
dev tun
persist-tun
cert cert.crt
comp-lzo no
nobind
key key.key
remote-cert-tls server
script-security 2
cipher AES-128-CBC
订阅:
博文 (Atom)

