BACKTRACK5-R3 Configuring Network Information

Source: Internet
Author: User
Tags nameserver

Set static IP
In BT terminal input:
IFCONFIG-A Press Enter//view all network cards
In BT terminal input:
Vi/etc/network/interfaces Press Enter//edit IP Address
Eth0 in the following code can view your network information to make changes
Auto Eth0
#iface eth0 inet DHCP
Iface eth0 inet Static
Address 192.168.1.28//(IP)
Netmask 255.255.255.0//(subnet mask)
Network 192.168.1.0//(Internet address)
Broadcast 192.168.1.255//(broadcast address)
Gateway 192.168.1.1//(gateways address)
VI Simple instructions:
Press the keyboard I key to modify, press the keyboard to delete the original code to delete all, the following code to be modified by the individual needs to add, after the completion of pressing the keyboard ESC, input method switch to the English capital, press the keyboard W key, press the keyboard Q key, then the input method switch to English lowercase input: Exit, save exit.
===========================
Auto Eth0
#iface eth0 inet DHCP
Iface eth0 inet Static
Address 192.168.1.28
Netmask 255.255.255.0
Network 192.168.1.0
Broadcast 192.168.1.255
Gateway 192.168.1.1
============================
In BT terminal input:
Vi/etc/resolv.conf Press ENTER
NameServer x.x.x.x//Edit dns:nameserver (Personal network DNS)
Follow the vi simple instructions above to edit the operation.
In BT terminal input:
/etc/init.d/networking Restart Press ENTER//restart NIC
In BT terminal input:
UPDATE-RC.D Networking Defaults Press ENTER//set to automatically enable NIC after system startup

At this point the basic network configuration is complete, no surprises can now access the network.

BACKTRACK5-R3 Configuring Network Information

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.