Search This Blog

Wednesday, 13 March 2013

How to configure in ip address

1) Click Start


2) Click Control Panel

3) Double Click Network Connections

4) Under LAN or High-Speed Internet Doubleclick the enabled device (the Local Area Connection or the Wireless Network Connestion)

5) On the Status Box Window that opens Click the Properties button

6) Drag the Properties window beside the Status window

7) Click the SUpport tab on the Status window

8) Click the Details button--this window provides the information you will need to manually configure your IP

9) In the Properties window that you have open beside the Status windows scroll down through the devices until you get to Internet Protocol TCP/IP

10} Select Internet Protocol TCP/IP and click the properties button



11) In the Properties window that opens select "Use the following IP address"

12) If you have a number of machines begin by setting the IP address to 192.168.1.100 then go to 192.168.1.101 and so forth giving each machine a unique IP

on the network

13) The subnet mask has a default value of 255.255.255.0 in most cases

14) Copy the Default Gateway from the Network Connection Details window information (192.168.1.1 is common)

15) Copy the DNS Server info from the Details window--there will likely be two adresses to copy.

16) Close all the windows and test your internet connection

17) Repeat the process on all the machines on the network giving each a unique IP address.


     in these following steps are given in basically configure in ip address




Thursday, 7 March 2013

Setting of speed and duplex in networks

On some networks, autonegotiation is not possible. If you must set your interface's speed and duplex by hand, then some trial and error may be required. Here are the basic steps:
  • Install the ethtool and net-tools packages, so that you have the ethtool and mii-tool programs. One or both of these might work for your interface.
  • Make sure you have a way to login to the system in case the network interface becomes nonfunctional. An ssh connection could be disrupted, so you should have a fallback strategy.
  • Identify the interface in question (it will often be eth0). Adjust the remainder of these instructions accordingly.
  • Try to determine what its current speed and duplex settings are. This is where it gets fun:
    • As root, try ethtool eth0 first, and see whether the "Speed:" and "Duplex:" lines look valid. If not, the ethtool may not be supported by your device.
    • As root, try mii-tool -v eth0 and see whether its output looks correct. If not, them mii-tool may not be supported by your device.
    • If neither one is supported, you may have to set parameters directly on the kernel driver module. Identify which driver module you're using by reading the output of dmesg and lsmod. You can then try modinfo MODULENAME to see what parameters it accepts, if any. (You can use modinfo even on modules that are not loaded, for comparison.) ToDo: where does one set kernel module parameters?
  • Next, try to change the settings of the interface while it's operating. You'll need to be root, of course. Either:
    • ethtool -s eth0 autoneg off speed 100 duplex full (assuming 100 Mbps and full duplex)
    • mii-tool -F 100baseTx-FD eth0 (same assumption)
    In each case, re-check to see whether the interface settings actually changed, and then try sending some data in and out of the system to see whether the NIC is operating correctly.
  • If one of these commands successfully set your NIC, then you can put it into /etc/network/interfaces so it runs when you bring the interface up (e.g. at boot time). However, before you do that, you should understand that some drivers and devices behave differently than others. When the driver module is loaded, the NIC may begin autonegotiation without any way to stop it (particularly with drivers that do not accept parameters). The settings from interfaces are applied at some point after that, which may be right in the middle of the negotiation. So, some people find it necessary to delay the ethtool or mii-tool command by a few seconds. Thus:
     iface eth0 inet static
            address ...
            netmask ...
            gateway ...
            up sleep 5; ethtool -s eth0 ...
    Or the analogous mii-tool command.
  • Reboot the machine to make sure it comes up correctly, and be prepared to intervene manually (e.g. Ctrl-Alt-Del and then boot into single-user mode from GRUB or LILO) if things don't work.

How to create or setup an ethernet interface

The majority of network setup can be done via the interfaces configuration file at /etc/network/interfaces. Here, you can give your network card an IP address (or use dhcp), set up routing information, configure IP masquerading, set default routes and much more.
Remember to add interfaces that you want brought up at boot time to the 'auto' line.


Using DHCP to automatically configure the interface:

If you're just using DHCP then all you need is something like

 
auto eth0
    allow-hotplug eth0
    iface eth0 inet dhcp
 

Configuring the interface manually:

  If you're configuring it manually then something like this will set the default gateway (network, broadcast and gateway are optional)

  

auto eth0
    iface eth0 inet static
        address 192.168.0.7
        netmask 255.255.255.0
        gateway 192.168.0.254
 
If you want to add an IPv6 address, too, append something like :  

  iface eth0 inet6 static
        address 2001:db8::c0ca:1eaf
        netmask 64
        gateway 2001:db8::1ead:ed:beef

Monday, 4 March 2013

Nokia mobile phones in newest

It's always good to see a decent compo to emerge from new technology and Nokia have hit the spot with this one. Like a standard photo competition all you need to do is take a pic on your mobile phone and submit it via the website. Obviously it will help if you've got a particularly snazzy camera phone that hasn't lived for too long in a trouser pocket effectively sealing the lens in a light-proof layer of pocket lint.
Five winners from each of 4 different regions (China, India, Europe and America) will be picked by a panel of expert judges; the winner gets to go and have some real life commercial photo shoot experience, runners up get free plane tickets and all have the chance to get their pic put in a line up of new phone backgrounds.