forum.netbsd.se - NetBSD Sweden

You are not logged in.

#1 2004-05-20 00:33:14

jgb_jgb
Member
From: Sweden, Stockholm, Sollentuna
Registered: 2004-05-20
Posts: 9

new user with some q:s

hi
i just installed netbsd 1.6.2 and everything went well.

i did useradd myself but didnt specify any password , so i can´t log in. i tried the vipw with no succes.

does anybody know the default password ?


still learning with my Compaq Deskpro
¤300 Mhz ¤256 MB Ram  running NetBSD 1.6.2

Offline

 

#2 2004-05-20 04:01:01

viktor
Administrator
From: Sweden, Umeå
Registered: 2004-05-10
Posts: 69
Website

Re: new user with some q:s

Login as root and just type 'passwd <username>', then you can set your password.

Logout, and try to login with your own user.

Offline

 

#3 2004-05-20 14:05:01

jgb_jgb
Member
From: Sweden, Stockholm, Sollentuna
Registered: 2004-05-20
Posts: 9

Re: new user with some q:s

i tried it also , but it says like system busy and try again later.

i will make an fresch install today


still learning with my Compaq Deskpro
¤300 Mhz ¤256 MB Ram  running NetBSD 1.6.2

Offline

 

#4 2004-05-20 16:13:41

mikael
Member
From: Stockholm, Sweden
Registered: 2004-05-11
Posts: 101

Re: new user with some q:s

If you are new to NetBSD, you should read this guide carefully:
http://www.se.netbsd.org/guide/en/

Offline

 

#5 2004-05-21 05:28:34

jgb_jgb
Member
From: Sweden, Stockholm, Sollentuna
Registered: 2004-05-20
Posts: 9

Re: new user with some q:s

sure but, i did it with the intro guide and it didn´t help. but its a good startpoint. I found this page and it explains a little better.
http://bsdvault.net/sections.php?op=vie … p;artid=29

but this line is confusing me smile

Note that you might have to create the home directory using the -m switch or you can create it manually before performing this step.

I thought that the useradd command dit it automaticaly.

by the way I did a fresh install today and changed the kbd layout to sv, later I will make bash to my default shell ( I want autocomplete , like in Linux )

I´ll be back big_smile


still learning with my Compaq Deskpro
¤300 Mhz ¤256 MB Ram  running NetBSD 1.6.2

Offline

 

#6 2004-05-21 11:59:34

mikael
Member
From: Stockholm, Sweden
Registered: 2004-05-11
Posts: 101

Re: new user with some q:s

Until you install bash, you can use Korn Shell,
For history function and auto completation, type (in ksh):

set -o emacs
bind '^I'=complete-list

Now you should have the functionality you wanted.

Offline

 

#7 2004-05-21 15:09:58

jgb_jgb
Member
From: Sweden, Stockholm, Sollentuna
Registered: 2004-05-20
Posts: 9

Re: new user with some q:s

I tried a cmd (cant remember where I found it) that showed how to make autocomplete in CShell but it didnt work.

I think I´ll install bash anyway , because the autocomplete & history should be native , nothing you have to start after tweaking.

which http and ftp server do you recommend ?(apache is to big for me)

thanks in advance

btw, is there any netbsd buddies in STHLM who can meet and drink some coffe and xchange tips


still learning with my Compaq Deskpro
¤300 Mhz ¤256 MB Ram  running NetBSD 1.6.2

Offline

 

#8 2004-05-21 15:49:22

ceh
Member
Registered: 2004-05-10
Posts: 71

Re: new user with some q:s

jgb_jgb wrote:

which http and ftp server do you recommend ?(apache is to big for me)

There are several lightweight httpds in the pkgsrc collection, some alternatives are:

bozohttpd - http://pkgsrc.netbsd.se/?cat=search&pkg=32413
micro_httpd - http://pkgsrc.netbsd.se/?cat=search&pkg=37425
thttpd - http://pkgsrc.netbsd.se/?cat=search&pkg=35512

As for the ftpd, the native ftpd which is shipped with NetBSD will probably fit your needs, check out the manual pages (ftpd(8)).

jgb_jgb wrote:

btw, is there any netbsd buddies in STHLM who can meet and drink some coffe and xchange tips

Why don't you ask the people at the *BSD Users Sweden (BUS) mailinglist, there might be some folks interested in the same thing. :)

Offline

 

#9 2004-05-21 16:01:37

jgb_jgb
Member
From: Sweden, Stockholm, Sollentuna
Registered: 2004-05-20
Posts: 9

Re: new user with some q:s

thanks
ok, I will do some research , that thttpd looks interesting


still learning with my Compaq Deskpro
¤300 Mhz ¤256 MB Ram  running NetBSD 1.6.2

Offline

 

#10 2004-05-24 15:47:55

jgb_jgb
Member
From: Sweden, Stockholm, Sollentuna
Registered: 2004-05-20
Posts: 9

Re: new user with some q:s

hi, again
I got running thttpd running (but no homepage yet, dont know where to put the html files ), so as bash (but not default)  smile

so did i get an normal user ( but the netbsd man page´s tutorial isn´t  good). this man page is good
http://www.mclink.it/personal/MG2508/nb … ml#AEN1130
it´s written by the same guy Federico Lupi as the http://www.netbsd.org/guide/en/index.html  man page (not so good)

the X doenst work sad but I´ll learn the shell some more smile

I have a ATI ISA tv-card with BT848 chip , i want to use my system as surveillance and webcam for the curius friends.

is it possible and which packages do I need ?
one more q:
why doesn´t my arrow key work, so as p_up/down keys ?


still learning with my Compaq Deskpro
¤300 Mhz ¤256 MB Ram  running NetBSD 1.6.2

Offline

 

#11 2004-05-24 17:20:56

fredrik
Administrator
From: Göteborg, Sweden
Registered: 2004-05-10
Posts: 229
Website

Re: new user with some q:s

Your shell can you change with the cmd 'chsh' and if you dont like the 'vi' editor when the chsh commands comes up you can change it with either 'export EDITOR=preferd_editor' or 'setenv EDITOR preferd_editor' depending on your shell.

The place where you should put your html pages is probably in /usr/pkg/share somewhere tongue

You can find out if your graphic card is supported here: http://www.xfree.org/4.4.0/RELNOTES3.html#15

Offline

 

#12 2004-05-25 00:30:49

jgb_jgb
Member
From: Sweden, Stockholm, Sollentuna
Registered: 2004-05-20
Posts: 9

Re: new user with some q:s

thank´s for the link. I have a S3 Savage2000 who is supported. my q: was the ati tv-card with the bt848 chip (the most documented chip for analog video) is it supported native with Netbsd 1.6.2 ?
another question, sometime ago the licensing did change and some distro´s and *bsd´s was talking about (adapting) forking the X server.
I did a google and found the XFree86.org and Xfree.org and X.org and X11

which X and version did come with the 1.6.2 ?
and which should I stick with, the forked one or the old organisation ?

I wan´t to learn an environment I could use for the future ?


still learning with my Compaq Deskpro
¤300 Mhz ¤256 MB Ram  running NetBSD 1.6.2

Offline

 

#13 2004-05-25 01:22:23

fredrik
Administrator
From: Göteborg, Sweden
Registered: 2004-05-10
Posts: 229
Website

Re: new user with some q:s

I'm not running X on any netbsd system but i think they are going on the http://www.xfree.org distro.
1.6.2 comes with XFree86 4.3.0 check on http://www.xfree.org if your card is supported for that perticular release.

The Current XFree license sucks, thats why many opensource projects dont update to the latest XFree release. Why dont give X.org a try? you have to compile it from source (i think).

http://www.netbsd.org/Releases/formal-1 … 1.6.2.html

XFree or X.org is only the software used to hook your windowmanager to your graphic hardware, so it really dont matter it is allway possible to change/upgrade smile

Offline

 

#14 2004-05-25 04:01:26

jgb_jgb
Member
From: Sweden, Stockholm, Sollentuna
Registered: 2004-05-20
Posts: 9

Re: new user with some q:s

ok, thank´s

maybe I´ll wait for the x.org´s release called x11, when I learn how to compile.
the old X is very hard to make it work. I think thats why the people don´t migrate to other OS´s like *.bsd and Gnu/Linux.

I`ll try my NerBSD machine little more with commands, then configurate the X.

I´m asking to many q:s until I learn, so be patient (tålamod) with me


still learning with my Compaq Deskpro
¤300 Mhz ¤256 MB Ram  running NetBSD 1.6.2

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB