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
LO(4) BSD Kernel Interfaces Manual LO(4)
NAME
lo -- software loopback network interface
SYNOPSIS
pseudo-device loop
DESCRIPTION
The loop interface is a software loopback mechanism which may be used for performance analysis, software testing, and/or local communication.
As with other network interfaces, the loopback interface must have network addresses assigned for each address family with which it is to be
used. These addresses may be set or changed with the SIOCSIFADDR ioctl(2). The loopback interface should be the last interface configured,
as protocols may use the order of configuration as an indication of priority. The loopback should never be configured first unless no hard-
ware interfaces exist.
The loopback interface lo0 is created at boottime, it always exists and cannot be destroyed with ifconfig(8). Additional loopback interfaces
can be created by using the ifconfig(8) create command.
DIAGNOSTICS
lo%d: can't handle af%d . The interface was handed a message with addresses formatted in an unsuitable address family; the packet was
dropped.
SEE ALSO
inet(4), intro(4), ifconfig(8)
HISTORY
The lo device appeared in 4.2BSD.
BUGS
Previous versions of the system enabled the loopback interface automatically, using a nonstandard Internet address (127.1). Use of that
address is now discouraged; a reserved host address for the local network should be used instead.
BSD
September 3, 2006 BSD