04-08-2002
ifconfig and netstat
IF you have a TCP/IP book by O'Reilly that would be great because it explains it in great detail in Chapter 6. OR do a man on ifconfig as well.
This below is straight from the above-mentioned book.
First, do a dmesg and look for the lan card in there.
Next, do a netstat -in. This will show you the current setup.
If you see an asterisk (*) then it is not setup.
If you need to configure the loopback, do something like this.
# ifconfig lo0 127.0.0.1
If you know your lan card device, you can do this.
# ifconfig (lancard) to see your card's config.
To actually setup the card, do this.
# ifconfig <lancard> <ipaddress> netmask <Subnetmask> broadcast <broadcast IP>
On some systems like HPUX, there is a config file called /etc/rc.config.d/netconf that you will have to modify to put the Subnetmask in as well as editing /etc/hosts.
If you already know the name of the card just do the last step and the loopback command as well. Then do a netstat -in or netstat -rn.
Hope this helps.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I've just installed Unix SCO OpenServer System v in an Intel PC and Everithing ok, except just one thing, in the begining of the installation the wizard asked me about the mouse , i have a generic 3 buttons mouse and i took a logitech and did not work
i need to change the mouse configuration, ... (2 Replies)
Discussion started by: jimmyvaldes
2 Replies
2. UNIX for Dummies Questions & Answers
hello!
when i try to make my system dual boot with both win98 & sco open server 5.5 it doesn't work at all.neither win98 take start nor sco open server boots.what should i do ?
kindly help me
thanks (1 Reply)
Discussion started by: buntty
1 Replies
3. UNIX for Advanced & Expert Users
I am doing some work for a customer that is running SCO 5.0.2 openserver and they have lost their cd. Is there anyplace I can download it? I have a replacement being shipped but it will not be here for two days and they are down. Any ideals? (3 Replies)
Discussion started by: SCOoT
3 Replies
4. SCO
I need to know wath patches I must install for my OS, and from where I must download it. Since it was installed (August 2001), never was updated.
The server only runs as printing, data and applications server.
Thanks. (1 Reply)
Discussion started by: diegoe
1 Replies
5. UNIX for Dummies Questions & Answers
Hi there guys.
I just got this new SCO version and i'm having some problem printing from shell,
This is what i'm typing at the # sign : lp -dHP /etc/hosts and it prints no problem but when i use any other user at the $ sign it gives me this error.
/dev/fd/7: /usr/lib/lp/sysv/7: not found.
... (1 Reply)
Discussion started by: josramon
1 Replies
6. UNIX for Dummies Questions & Answers
Hi guys,
I just got this new 6.0 version and i'm trying to setup a remote office to telnet to this server running sco 6.0, in previous version all i have to do is add this file under /etc/rc2.d call S99route and put the gate in that file and that was it, for some reason in 6.0 it does not... (1 Reply)
Discussion started by: josramon
1 Replies
7. SCO
Dear members
when i installed dual processor patch in openserver 5.0.7 in hp ML370 G4 server it hangs in sco at G_hd_config.
i tried MP4, EFS 5.64,5.70A but not solved the problem.. (0 Replies)
Discussion started by: M_farooqui
0 Replies
8. SCO
I need SCO Openserver 4.2. Please, give me distributive of that version SCO:eek: (0 Replies)
Discussion started by: caine
0 Replies
9. SCO
We are running an Openserver 6 machine and I am trying to locate a more current compiled version of Samba (> Samba 3.3). We print to Windows PCs that need to be upgraded from XP to 7. Everything works great in XP but I can't seem to get around the known bug in Samba 3.0.3 when accessing shares on a... (3 Replies)
Discussion started by: Jim546
3 Replies
10. SCO
Hello all,
First off- great forum! I have learned a lot just by reading some of the questions and answers. Good to see there are good people out there still willing to help!
Here is my dilemma- I have a fairly new server running an Activant product on it, which runs SCO openserver 5.0.5... (9 Replies)
Discussion started by: crt001
9 Replies
LEARN ABOUT MINIX
ifconfig
IFCONFIG(8) System Manager's Manual IFCONFIG(8)
NAME
ifconfig - configure a TCP/IP device
SYNOPSIS
ifconfig [-I ip-device] [-h ipaddr] [-n netmask] [-iv]
DESCRIPTION
Ifconfig initializes a TCP/IP device setting the IP address and/or netmask. It will report the address and netmask set. This command may
be used if the system has not been configured properly yet. It is only used at boot time to set a fixed address for a system without a
physical ethernet. Normally the inet task will find it out by itself from the RARP server.
OPTIONS
-h The decimal TCP/IP address to set.
-n The netmask to set.
-i Don't set the IP address or netmask if already set. This way ifconfig cannot interfere if the numbers have been found out by RARP.
-v Report IP address and netmask. This is the default action if there are no other options.
SEE ALSO
hostaddr(1), rarpd(8), set_net_default(8), boot(8).
AUTHOR
Kees J. Bot (kjb@cs.vu.nl)
IFCONFIG(8)