co`i blog

just another trash

Entries in the Category “newbie”

Tạo group cho MacOSX

written by co`i , on 2/23/09 2:15 PM.

Thiệt tình cứ tưởng nix ngồi groupadd là xong. Nhưng muh không phải vậy.

Số là tự nhiên em vui tính cài The Sims 2 for Mac vào chơi. Khổ là mấy cái cờ rắc nó đòi hỏi linh tinh.
1. Đi download iPatch để lụm iPatcher mới.
2. Tạo group cùng username.

Thế là thế này:
dscl . create /groups/GroupName
dscl . create /groups/GroupName name GroupName
dscl . create /groups/GroupName passwd "*"
dscl . create /groups/GroupName gid "PUT HERE PrimaryGroupID of group staff"
dscl . create /groups/GroupName users "Your user name here"

Kiểm tra lại:
dscl . read /groups/GroupName

Ngắn gọn nhé.

Learning IPv6

written by co`i , on 8/20/07 12:32 PM.

IPv6 is not new to me but .. i didnt remember anything about it. So i should re-learn it every day to help my mind remember it.

Here is my notes:
  • Local address: fecX/fedX/feeX/fefX
  • Unicast Address:  fdXX/fcXX (This is new defination)
  • Global Unicast: 2XXX/3XXX
  • 6bone: 3ffe
  • 6to4: 2002
  • ISP: 2001
  • Multicast: ffXY
  • ffx1: node-local, packets never leave the node.
  • ffx2: link-local, packets are never forwarded by routers, so they never leave the specified link.
  • ffx5: site-local, packets never leave the site.
  • ffx8: organization-local, packets never leave the organization (not so easy to implement, must be covered by routing protocol).
  • ffxe: global scope.

others are reserved