Local IP address - Windows XP/Linux
Discussion
zaktoo said:
Depending on your particular flavour of Linux, it may be as simple as finding the menu item for networking in the GUI, or you may have to dig around in /etc/sysconfig/network-scripts/ifcfg-<device name>.
HTH
Ciao
Zak
you can actually run "ifconfig /all" from a shell in linux to retrieve this information.
scared but happy said:
'Cos I is thick and forgot! What is the command to find my local IP address in windows XP.
And how do I set it in Linux from the command prompt thingy - (simple answer please unix people)
In a DOS window; ipconfig /all
In a (usually root) shell; ifconfig -a
(Note the "p" and the "f" - I'm always typing the wrong one.)
In XP, Control Panel -> Networking -> Interface Properties -> TCP/IP (from memory ...)
In Gnome, Prewferences -> System Preferences -> Network Settings -> Configuration Agent
ifconfig is one of those things that grew like Topsy, and is likely better done with
a GUI;
/sbin/ifconfig interface [address_family] [ address
[/prefix_length] [dest_address]] [ addif address
[/prefix_length]] [ removeif address [/prefix_length]]
[arp | -arp] [auth_algs authentication algorithm]
[encr_algs encryption algorithm]
[encr_auth_algs authentication algorithm] [auto-revarp] [
broadcast address] [deprecated | -deprecated] [preferred |
-preferred] [ destination dest_address] [ether [address]]
[ [failover] | [-failover]] [ group [ [name] | ""] ] [
index {if_index}] [ metric n] [modlist] [modinsert
mod_name@pos] [modremove mod_name@pos] [ mtu n] [ netmask
mask] [plumb] [unplumb] [private | -private] [nud | -nud]
[ set [address] [/netmask]] [ [standby] | [-standby]] [
subnet subnet_address] [ tdst tunnel_dest_address] [ token
address/prefix_length] [ tsrc tunnel_src_address]
[trailers | -trailers] [up] [down] [usesrc [ name | none]]
[xmit | -xmit] [encaplimit n | -encaplimit] [thoplimit n]
[router | -router] [zone zonename | -zone]
Yuck.
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff


