faqts : Computers : Operating Systems : Linux : Networking

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

9 of 10 people (90%) answered Yes
Recently 9 of 10 people (90%) answered Yes

Entry

Operating system: Linux:Network: Set: How to set network configuration from command line? [hardware]

Jan 1st, 2004 00:06
Bilbo Baggins, Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 22 November 2003 - 09:12 pm -------------------

Operating system: Linux:Network: Set: How to set network configuration 
from command line? [hardware]

---

Method: Overview:

---

Login as root.

---

1. check files

   '/etc/hosts' -
    a list of known hosts

   '/etc/resolv.conf' -
    a list of your name servers

   '/etc/lmhosts' -
    a list of smb servers for netbios identification

   '/etc/sysconfig/network-scripts/ifcfg-eth0' -
     information for your first ethernet card

   '/etc/sysconfig/network' -
     info on your network configuration and hostname

---

Note:

By directly editing this files you can also change
the settings.

---

2. use the command '/bin/linuxconf'

   (works in Linux Mandrake only,
    and older Linux Red Hat versions (e.g. 6.x and earlier))

---

3. type the command 'netcfg'

   (works in Linux Turbolinux only)

---

4. type the command 'kudzu'

   (works in Linux Red Hat
         and Linux Turbolinux)

---

5. type the command 'setup'

   (works in only Red Hat)

---

6. type the command '/usr/bin/neat'

   (works only in Linux Red Hat)

---

7. type the command 'drakconnect'

   (works only in Linux Mandrake)

---

8. type the command 'drakconf'

   (works only in Linux Mandrake)

---

9. type the command 'yast'

   (works only in Linux SuSE)

---
---

Internet: see also:

---

Operating system: Linux: Network: Setting: View: How to view the 
network configuration?
http://www.faqts.com/knowledge_base/view.phtml/aid/26806/fid/427

---

Linux: IP address: Set: How to set your IP address + gateway + DNS 
(from the console command line)?
http://www.faqts.com/knowledge_base/view.phtml/aid/23675/fid/107

---

Linux: Log on: User: Operation: Userid: Change: Root: How to change 
your userid to 'root'? [su]
http://www.faqts.com/knowledge_base/view.phtml/aid/24542/fid/107

---

QED Quick Config of Your NIC!
http://www.informit.com/isapi/guide~linux/seq_id~63/guide/content.asp
http://www.informit.com/isapi/guide~linux/seq_id~64/guide/content.asp

---

[Internet: source: http://www.google.com search for 'how to change 
network settings command line linux': 
http://k12linux.org/netadmin/network.html]

---

[Internet: source: http://www.google.com search for 'how to change 
network settings command line linux': 
http://www.linuxheadquarters.com/howto/networking/netcfg_ethernet.shtml
] gets a 404 I think it should be
http://www.linuxheadquarters.com/howto/networking/networkconfig.shtml

----------------------------------------------------------------------