NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

RE: pkg_add and ls not working



Hello, 

 

I think I messed up the PATH myself when trying to install some programms.

Now Im trying to make DHCP working.

 

I did enter dhclient=YES in the /etc/rc.conf but I get a message that no 
broadcast adress is found.

So back to the manual.

 

Roelof



----------------------------------------
> Date: Wed, 11 Jul 2012 16:13:45 -0400
> Subject: RE: pkg_add and ls not working
> From: jmitchel%bigjar.com@localhost
> To: netbsd-users%netbsd.org@localhost
>
> The installer creates fstab for you. I'm wondering if your path got
> erased. Can you give us the output when you type the command "set"? The
> important line is the one that starts with PATH=. Mine looks like this:
>
> Letterman:/home/jmitchel$ set
>
> ...
>
> PATH=/home/jmitchel/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/us
>
> Jason M.
>
> >
> > Nope, I did a complete install.
> >
> >
> >
> > Does the install makes a fstab file or must I do it myself.
> >
> > I did not do any steps after installing.
> >
> >
> >
> > Roelof
> >
> >
> >
> > ----------------------------------------
> >> Date: Wed, 11 Jul 2012 21:40:19 +0200
> >> Subject: Re: pkg_add and ls not working
> >> From: m.ramakers%mircad.nl@localhost
> >> To: rwobben%hotmail.com@localhost
> >> CC: netbsd-users%netbsd.org@localhost
> >>
> >> Hi,
> >>
> >> > I did a clean install of 5.1 version of NetBSD.
> >> >
> >> > Everything went without any problem.
> >> >
> >> >
> >> >
> >> > But now when I do pkg_add or pkg-admin or ls I get a file not found.
> >> >
> >> > The only thing which is working is the pwd command.
> >>
> >> 'pwd' is a shell builtin, 'ls' is not. Could it be you unchecked a
> >> vital set during install? I think 'ls' is in base.tgz.
> >>
> >> Michai
>                                         


Home | Main Index | Thread Index | Old Index