Subject: Re: Unable to get network up
To: Dr. Bill Studenmund <wrstuden@loki.stanford.edu>
From: None <cruller@unicom.net>
List: port-mac68k
Date: 06/19/1998 14:32:37
> Mark Andres wrote:
> > Hi,
> > 
> > As a test, try this command as root:
> > 
> >   ifconfig inet 192.168.0.1 netmask 255.255.255.0
> 
> ummm....make that:
> 
>         ifconfig ae0 inet 192.168.0.1 netmask 255.255.255.0
> 
> ;-)
>  
> > This should be doing the same thing as the rc script on startup.  Aftr
> > this command run
> 
> Later.
> 
> -- 
> Colin Wood 


After loging in as root & I run

ifconfig ae0 inet 192.168.0.1 netmask 255.255.255.0

the network worked, but in netstat -i one of the ae0 line only had the
first two 8-bit numbers of the address.(192.168)  So I reconfigured
everything so my net would be of the 192.168.10.x variety. I rebooted
and the net wouldn't come up at boot so I did:

ifconfig ae0 inet 192.168.10.1 netmask 255.255.255.0

and the net came up fine.  netstat -i on one of the ae0 lines gave me
192.168.10

My next goal was to get the net up at boot. so I looked in ifconfig.ae0
and all was well.  It read:

inet 192.168.10.1 netmask 255.255.255.0

which is correct, I then put a space in front of inet and a return after
255.255.255.0 now the net comes up at boot.  I can ping local host &
192.168.10.1 from the NetBSD BOX. & I can ping the NetBSD box from
another mac on the net, BetterTelnet into the box, login, su to root,
start ppp, ftp, etc...and when I'm done shutdown the NetBSD computer
from a mac on the network.....Coooooooooool.

So I've got the network up, ppp working, and now I'm trying to get
IP-Nat to work.  I've followed the ip-nat howto and I'll work on it a
while befor I beg for help,  I know I can figure it out.

Thanks for the networking help.

One question for Bill.

I got your ppp kit (works great by the by) and decided to use Pauls
ppp-up, ppp-down ( the one that doesn't move resolv.conf around)  so I
deleted your files renamed paul's to ppp-up, ppp-down but now they are
no longer executable.  They are owned by root and in the group staff.  I
can get them to fire up by typing '#:sh /etc/ppp/ppp-up'.  Why did it
get messed up & how can I change file permissions to read -rwxr--r--?  A
file manager (tkdesk?) I have on MkLinux allows you to click buttons to
assign new file permisions but I couldn't find a command line
equivalent,  I tried to 'man' an answer out of the system & my 1500 page
unix book is at home so I didn't know what to 'man' for.

Thanks,

Gerald