*BSD News Article 44782


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!spool.mu.edu!torn!news!news
From: mcdade@uwindsor.ca (Bryan McDade)
Subject: Re: newbie question: ifconfig
X-Nntp-Posting-Host: server.uwindsor.ca
Message-ID: <D9HI7o.1L6@news.uwindsor.ca>
Sender: news@news.uwindsor.ca (Usenet)
Organization: University of Windsor
X-Newsreader: WinVN 0.92.6+
References: <casyD9F694.9B6@netcom.com>
Date: Thu, 1 Jun 1995 07:59:48 GMT
Lines: 78

In article <casyD9F694.9B6@netcom.com>, casy@netcom.com says:
>
>I installed FreeBSD and most things went OK. I have one problem I have 
>not been able to hammer out, still:
>
>During the installation I was trying to load the files from anotehr NT 
>machine on the same net so the installation program guided me through 
>configuring the network interface card. I tried the first 2 options which 
>dealt with NE2000. I tried to use a private address (i'm sealed off from 
>the outside world). This address was 6.6.6.6 My subnet mask was 
>0xffff0000. When the install prog asked for ifconfig flags, I specified 
>none. I hit enter, and got an error saying the there was some SIOCGI... 
>something flag error and that en0 is unknown. I tried this a few time but 
>never worked. 
>
>So I rebooted and noticed when the system came up I saw the boot message 
>that 'TCP/IP' compatible interface found under lp0. SO I tried doing a 
>manual ifconfig after boot with 
>
>ifconfig lp0 inet 6.6.6.6 

I'm having the same trouble with two BSD machines (Im new at this thing too
but what i have found might help you)

Your trying to ifconfig the printer port (lp0) ...you can do TCP/IP over it if you 
want but the net card sounds better so you would want to "ifconfig ne0 inet 6.6.6.6" 
(ya i have ne2000 cards too...they aren't too well supported by 

Make sure you have the ne2000 cards on bootup...ah..i would come up after the
hard drive ..if not your going to have to set jumper or software.
>
>But I could not make my machine visibale to the NT machine on the same 
>eithernet. (For NT I specified 6.6.6.7 with a subnet mask 255.255.0.0)
>Ping worked when pinging from 6.6.6.6 to itself. It told me that my packets 
>were sent and made a 'roundtrip'. But I just still could not communicate 
>with the NT machine (6.6.6.7)
>

ya ..you can ping yourself cause it just uses a loopback for local ping/telnets
so you don't lose speed on the network...

here's some blind stuff to try.."ifconfig ne0 inet 6.6.6.6 6.6.6.7"
or arp -r 6.6.6.6 {ethernet card address of your NT server}
i'm working more on it tommorrow...by doing this stuff i have been able to 
"ping" the other box but telnet/ftp/rlogin cause of "permission denied" ..


>Then I tried 
>
>ifconfig lp0 inet 6.6.6.6 -netmask 0xffff0000
>
>I got a message that I used an invalid subnet mask. (I figured that the 
>subnet mask might have been wrong, and nt might interpret the address 
>differently using a different subnet, tha is why I tried to set it 
>explicitly)
>
>How in the world do I tell FreeBSD to use my NE2000 card and to configure 
>itself with 6.6.6.6 as its address and 255.255.0.0 as a subnet mask.
>
>My idea is to set up my mini-internet and learn all I can about it, first 
>using just numeric addresses, then getting into symbolic names, then name 
>servers, and so on. Eventually, when I'm ready I get an official address 
>and put myself on the net as a site. I figured I should be able to 
>confure FreeBSD with any address for now. The same philosphy worked for 
>NT. Please help me find out what am I doing wrong.
>
>I'm stuck. *FRUSTRATED SIGHS* :)
>casy@netcom.com
>

Ya me too ..if anyone has some real answer can you please post them??

            -b

+------------------------------------------------------------------+
| Sometimes I think I'd be better off dead. No, wait, not me, you. |  
|                                     - Jack Handy                 |
+------------------------------------------------------------------+