Extend Windows 2003 Boot Partition

I have extended the C: drive on Windows 2003 without needing a reboot or by having to boot from a bootdisk by

1) downloading the Windows 2000 DiskPart_setup.exe and extracting the contents to be able to run diskpart.exe

http://support.microsoft.com/kb/927229

2) downloading the MS utility fsextend.exe

http://goo.gl/glScd

 

3) run the Windows 2000 diskpart.exe, select the C: partition and issue the command extend.  it will appear to hang, do a CTRL-C to terminate.
The partition will now display the new size in diskpart, but the filesystem was not updated to the new size

 

4) run fsextend.exe c:

This will extend the filesystem to the new size

whois Unable to connect to remote host

[you@yourserver]# whois google.com
[Interrogando whois.verisign-grs.com]
[Collegamento all'host remoto impossibile] / [Unable to connect to remote host]

If you got tihs kind of error message performing whois, solutions are:

–   check resolv.conf / DNS configuration
–   check if Firewallis blocking port 43 TCP
–   check if requests are going through IPv6 protocol instead of IPv4 (disable IPv6)

top: CHECK SYSTEM PROCESSES LOAD

At least once in lifetime everybody asked to himself :”Which is the machine load in this moment and…who is loading it?”

The answer is given from the Linux top command

Basicly top shows this field

PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND

but there is some usefull trick in this command: try to hit

“1” – to get single CPU load and other memory statistic (again hit 1 to rollback)

“f” – to get a list of fields showed on the screen when “top” is executed: the asterisk simbol on the left expresses the active columns while the blank space on the left expresses unactivated fileds. To activate/deactivate, hit the corresponding letter and confirm with <ENTER>

ex: f + j +<ENTER> (shows the Las used cpu on SMP systems)

PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+   P COMMAND

CONFIGURE PPPoA

Here snippet code to configure PPPoA on Cisco 8XX / SOHOXX Series Routers

Enter global configuration mode

interface ATM0
 no ip address
 no atm ilmi-keepalive
 dsl operating-mode auto
!
interface ATM0.1 point-to-point
 no ip redirects
 no ip unreachables
 pvc 8/35
  oam-pvc manage 0
  encapsulation aal5mux ppp dialer
  dialer pool-member 1
 !
!
interface Dialer0
 ip address negotiated
 no ip redirects
 ip virtual-reassembly
 encapsulation ppp
 dialer pool 1
 dialer-group 1
 ppp chap hostname <username>
 ppp chap password <password>
 ppp pap sent-username <username> password <password>
!

MTU, IP MTU, TCP MSS

Interface MTU defines maximum packet size supported by an interface

IP MTU is used to set MTU size of IP PACKET.

TCP-MSS defines the maximum packet for a TCP trasmission

ex:

1. ETH MTU = 1500 
2. PPPoE = 1492 (1500 - 8)
3. MSS: 1452 (1492 - 20 IP - 20 TCP)

 

Basically everytime you discover the MTU you will low the TCP MSS to MTU (or IP MTU id defined) – 40