02-09-2001
half solved
Well...it looks like i'm halfway there....here's what I learned (trial and error)
The lo0: interface (loopback) cannot be configured to DHCP, it must be a default system setting. However, by creating a file hostname.hme0 in the /etc directory (just a blank datafile) I was able to get the ifconfig command to initialize a useable interface. The following command got me a pingable connection out
ifconfig hme0 dhcp
thats the halfway part....I can ping numerical addresses 225.225.225.000 etc., but cannot resolve names such a
http://www.sun.com......any suggestions?
thanks
[Edited by frustrated on 02-09-2001 at 05:40 PM]
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
WEe have installed Intel version of Solaris 8 in a machine .we skipped the network configuration at the begning.we selected unnetworked.Now we need to connect the same machine to a network.
We configured the Card using ifconfig but its taking the ip address itself as the Default G/W.
I need help... (4 Replies)
Discussion started by: premkumar
4 Replies
2. HP-UX
Hi,
I have installed a HP-UX B.11.00 U 9000/800 Server in one of the domain. And I'm also able to telnet/ping into this server from systems in the same domain.
But I'm not able to telnet/ping into this server from a different domain.
So, what shoud need to do to achieve this... (6 Replies)
Discussion started by: S.Vishwanath
6 Replies
3. IP Networking
I have solaris 2.8 on an ultra 1 and just configured the following files:
defautrouter
resolv.conf
nsswitch.conf
netmasks
hosts
but when I reboot, my NIC still is not configured. Which file do I need to configure to keep the NIC configured after reboot? (3 Replies)
Discussion started by: DarkLord
3 Replies
4. Solaris
hi again...
i configured my network settings sometiime ago using the sys-unconfig command.the active link was rtls0.
there was some problem with the network so i changed the ISP. now when im trying to reconfigure the system wit sys-unconfig, it tries to configure the network on rtls1 (and shows... (1 Reply)
Discussion started by: strider
1 Replies
5. Solaris
I am seeking help from the gurus in this forum and hope that I can find answers soon. Anyone who provide the answers will be greatly appreciated.
I have a sparc box with Solaris 10 on it. We install Solaris with zone structure. One global zone and two other zone. I installed Oracle DB on global... (6 Replies)
Discussion started by: duke0001
6 Replies
6. SCO
I have a SCO 5.07 Server and I am trying to get it on my network. I have edited the /etc/hosts file and /etc/rc2.d/s99route . I has connectivity on the NIC card but not sure if I am forgetting another file. Thanks! (2 Replies)
Discussion started by: andrewd
2 Replies
7. UNIX for Dummies Questions & Answers
I am using solaris 10, my internet works alright but each time i reboot i keep loosing my connection. I will have to use the
ifconfig iprb0 192.168.1.xx netmask 255.255.255.0 up and
Route add default 192.168.1.xxx command to gain back my internet.
I know there is a better way of addressing... (1 Reply)
Discussion started by: seyiisq
1 Replies
8. Solaris
Hi
I have installed Solaris 5.10 on Intel x86 machine (standalone).
I want to access internet through solaris. How should I configure the network? Is static IP or DHCP advisable? (5 Replies)
Discussion started by: johnl
5 Replies
9. Solaris
Hi
How do I configure a network card in Solaris 10? using the command ifconfig, and also please advise me for persisting this ip address what are the files newly created and modify.
I am a new baby in solaris:) (4 Replies)
Discussion started by: vipinmurali
4 Replies
10. Solaris
Hi, I am new in Solaris 11. I can't even make the NIC work. Here is the issue:
Any help will be greatly appreciated. (6 Replies)
Discussion started by: aixlover
6 Replies
LEARN ABOUT DEBIAN
ifdata
ifdata(1) ifdata(1)
NAME
ifdata - get network interface info without parsing ifconfig output
SYNOPSIS
ifdata [options] {iface}
DESCRIPTION
ifdata can be used to check for the existence of a network interface, or to get information abut the interface, such as its IP address. Un-
like ifconfig or ip, ifdata has simple to parse output that is designed to be easily used by a shell script.
OPTIONS
-h Print out a help summary.
-e Test to see if the interface exists, exit nonzero if it does not.
-p Prints out the whole configuration of the interface.
-pe Prints "yes" or "no" if the interface exists or not.
-pa Prints the IPv4 address of the interface.
-pn Prints the netmask of the interface.
-pN Prints the network address of the interface.
-pb Prints the broadcast address of the interface.
-pm Prints the MTU of the interface.
Following options are Linux only.
-ph Prints the hardware address of the interface.
-pf Prints the flags of the interface.
-si Prints out all the input statistics of the interface.
-sip Prints the number of input packets.
-sib Prints the number of input bytes.
-sie Prints the number of input errors.
-sid Prints the number of dropped input packets.
-sif Prints the number of input fifo overruns.
-sic Print the number of compressed input packets.
-sim Prints the number of input multicast packets.
-so Prints out all the output statistics of the interface.
-sop Prints the number of output packets.
-sob Prints the number of output bytes.
-soe Prints the number of output errors.
-sod Prints the number of dropped output packets.
-sof Prints the number of output fifo overruns.
-sox Print the number of output collisions.
-soc Prints the number of output carrier losses.
-som Prints the number of output multicast packets.
-bips Prints the number of bytes of incoming traffic measured in one second.
-bops Prints the number of bytes of outgoing traffic measured in one second.
AUTHOR
Benjamin BAYART
2006-03-07 ifdata(1)