NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › What is the linux command for ipconfig?
New Posts  All Forums:Forum Nav:

What is the linux command for ipconfig?

post #1 of 8
Thread Starter 
Im having problems with my campus's wireless network again, and need to know what the linux (under Ubuntu) commands are for ipconfig /release, /renew and ipconfig /flushdns?

I finally figured out that i didnt have traceroute installed, so i got that module and it works fine, but just wondering what those commands might be.

Thanks!
post #2 of 8
Hi there,

Try using the man pages for ifconfig

just type "man ifconfig" without the exclamation marks.

Also just a reminder, in Ubuntu the NIC is, by default, disabled you have to enable it first.

I hope that this helps.

All the best regards

Rich
post #3 of 8
ifconfig to list your nics

ifconfig ath0 up (brings up ath0...replace as needed for your device name)
iwconfig ath0 essid myessidhere key myhexkeyhere (configures essid and wep)
dhclient ath0 (connects via dhcp)
post #4 of 8
Check out this article on using the Linux ifconfig command without being root.
post #5 of 8
ifconfig -a will list all nics and ips in Redhat and Suse. I believe it is also true in Ubuntu.
post #6 of 8
Quote:
Originally Posted by spotdog14 View Post
Im having problems with my campus's wireless network again, and need to know what the linux (under Ubuntu) commands are for ipconfig /release, /renew and ipconfig /flushdns? I finally figured out that i didnt have traceroute installed, so i got that module and it works fine, but just wondering what those commands might be. Thanks!
ipconfig /release and /renew actually have more to do with getting an IP address from the DHCP server. If I remember correctly, this is what dhclient does. ifconfig is mainly for ethernet connections as well - for wireless interface management you'd use iwconfig.
post #7 of 8
route -f will flush the routing cache.
dhcpcd or dhclient
For dhclient info:
http://linux.die.net/man/8/dhclient
For dhcpcd info:
http://www.phystech.com/download/dhcpcd_man.html

Alex
post #8 of 8
Its the thread that just won't die!

Seablade
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux & Other OS's
NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › What is the linux command for ipconfig?