LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 09-18-2004, 05:50 AM   #16
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30

I'm not a gnome guy, but gnome 2.6.2 is in the latest ports, /usr/ports/x11/gnomedesktop. The meta port is in /usr/ports/x11/gnome2. Read the pkg-descr for more info.

If you haven't already, you probably want to get the latest ports and perform a portupgrade -a. Be prepared for several hours of the upgrade process.

What are the startx errors? What's in your ~/.xinitrc?

I'm using samba-2.2.11 from the ports, but use cli. What exact problems do you have?
 
Old 09-18-2004, 09:36 AM   #17
Snerkel
Member
 
Registered: Jul 2004
Location: England
Distribution: 1 Gentoo 2005.0 system(desktop), 1 hardened-gentoo SeLinux stage1 server ;)
Posts: 262

Original Poster
Rep: Reputation: 30
well i cant connect to the smb share's from another comp. the shares appear but then when i try and enter the U/P it wont verify them and just keeps asking for the U/P again & again etc.

as for the ports do i have to d/l them first or do i run "portupgrade -a" and that downloads them ? also does it automaticly upgrade the installed packages with the new ones ? or do i have to do it manually after the process has finished ?

Code:
exec gnome-session
thats whats in "/home/me/.xinitrc" should i have checked that one or "/root/.xinitrc" ?

Do you use KDE then ? i really hate KDE but i love Gnome (personal prefrance) i find i cant do everything i want to with KDE thats the main reason i prefer Gnome. also i think Gnome looks better than KDE.

what do you mean the meta version ? (of Gnome)
 
Old 09-18-2004, 02:44 PM   #18
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
What version of samba are your using? Did you setup the users in samba and how?

http://www.freebsd.org/doc/en_US.ISO...ook/ports.html
You setup your supfiles to download them and then update your ports.
Search for this, there was lots of discussion the last week or two.

Meta port means it install all associated ports where you don't need to install gnome-this1, gnome-this2, gnome-this3, etc... separately.

Don't have an answer for your startx problem unless you can post some error msg.

Have you looked the Handbook?
http://www.freebsd.org/doc/en_US.ISO...ook/index.html

Last edited by -X-; 09-18-2004 at 02:46 PM.
 
Old 09-18-2004, 05:32 PM   #19
Snerkel
Member
 
Registered: Jul 2004
Location: England
Distribution: 1 Gentoo 2005.0 system(desktop), 1 hardened-gentoo SeLinux stage1 server ;)
Posts: 262

Original Poster
Rep: Reputation: 30
ok for starters i have sorted my login problems, i formatted my system with the new version of FreeBSD (5.2.1) im now going to everything again and see what happens.

Quote:
You setup your supfiles to download them and then update your ports.
Search for this, there was lots of discussion the last week or two.
i dont get what you mean can you explain in a bit more detail please ? the main bit that makes the whole thing confusing is supfiles what are these ?
 
Old 09-18-2004, 06:10 PM   #20
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
Updating ports via supfiles. Read this, it's all here.
http://www.freebsd.org/doc/en_US.ISO...rts-using.html
http://www.linuxquestions.org/questi...90#post1160490

You should go here http://www.freebsd.org/
and read the FAQ and look through the Handbook.
 
Old 09-18-2004, 06:23 PM   #21
Snerkel
Member
 
Registered: Jul 2004
Location: England
Distribution: 1 Gentoo 2005.0 system(desktop), 1 hardened-gentoo SeLinux stage1 server ;)
Posts: 262

Original Poster
Rep: Reputation: 30
im running samba 2.28, how do i correctly configure it using cli ?
 
Old 09-18-2004, 07:23 PM   #22
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
Look at the docs. Everything is there. Your version should also have these. Lots of blood/sweat/and tears went into writing these. They are free. Don't hurt their feelings and read them.
file:/usr/local/share/doc/samba
file:/usr/local/share/swat
file:/usr/local/share/swat/using_samba/index.html <good place to start>

As root;
Edit /usr/local/etc/smb.conf. Here's a simple one.
[global]
workgroup = WORKGROUP
server string = Samba Server
hosts allow = 192.168.1. 192.168.2. 127.
load printers = yes
printcap name = /etc/printcap
printcap name = cups
printing = cups
log file = /var/log/log.%m
max log size = 50
security = user
encrypt passwords = yes
socket options = TCP_NODELAY
dns proxy = no
[homes]
comment = Home Directories
browseable = no
writeable = yes
[Printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
# Set public = yes to allow user 'guest account' to print
guest ok = yes
writeable = yes
printable = yes
use client driver = yes
[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes

run testparm
fix errors - shouldn't have any if you read the docs.
after changes do;
/usr/local/etc/rc.d/samba.sh stop
/usr/local/etc/rc.d/samba.sh start

edit;
oops, almost forgot;
http://www.freebsd.org/doc/en_US.ISO...ork-samba.html

Last edited by -X-; 09-18-2004 at 07:26 PM.
 
Old 09-18-2004, 09:29 PM   #23
Snerkel
Member
 
Registered: Jul 2004
Location: England
Distribution: 1 Gentoo 2005.0 system(desktop), 1 hardened-gentoo SeLinux stage1 server ;)
Posts: 262

Original Poster
Rep: Reputation: 30
yeah i was reading that link earlyer, im not going to do anything tonight as it is 3.20am and i want to goto sleep! i will try all these things tommorow (YAY a day off!) and i will let you know how things work out.

So far so good, since i have switched to BSD5.2 i have found it much better (dont know why) just everything works (except "vi" or "vim" which still has dodgy commands or something!) i need to get samba working though because i need to transfer all my data back to my server so i can use it properly, so that is my first job for tommorow.

<------(looks more like a yawn than embarrasment)
i will let you know the results tomorow

thanks a load for the advice, Ben
 
Old 09-19-2004, 05:41 PM   #24
Snerkel
Member
 
Registered: Jul 2004
Location: England
Distribution: 1 Gentoo 2005.0 system(desktop), 1 hardened-gentoo SeLinux stage1 server ;)
Posts: 262

Original Poster
Rep: Reputation: 30
i still cant make samba work, i read all the user docs you posted!
 
Old 09-19-2004, 08:08 PM   #25
Snerkel
Member
 
Registered: Jul 2004
Location: England
Distribution: 1 Gentoo 2005.0 system(desktop), 1 hardened-gentoo SeLinux stage1 server ;)
Posts: 262

Original Poster
Rep: Reputation: 30
i think samba is the strangest thing to do with *nix, i count not make it work then suddenly i try it and it works fine! oh well at least it works, i would post what i did to fix it incase anyone else has the same problem but.... i really cant because i really dont know. I think it was just expermentation with the config. i have to admit i used webmin to do it. i normally use "menu > system settings > server settings > Samba" but it only comes with gnome 2.4 and it does not have that option. i think SWAT is pants personally, its not user friendly one bit and is just generly confusing!

my advice to anyone having problems with samba is to check "menu > system settings > security level" (in Gnome) and add you network card (probally eth0) as a trusted device (that was my problem when i first started using linux and tried to use samba, i spent weeks trying to work it!

anyway thanks to everyone who posted in this thread because every post that was made helped me loads
 
Old 09-19-2004, 08:13 PM   #26
Snerkel
Member
 
Registered: Jul 2004
Location: England
Distribution: 1 Gentoo 2005.0 system(desktop), 1 hardened-gentoo SeLinux stage1 server ;)
Posts: 262

Original Poster
Rep: Reputation: 30
for FUCK sake (sorry about the language) but i have fuked php up (the installation) and it doesnt work and now i have to format my server (AGAIN!!!) and spent days trying to make samba work (AGAIN!!!!) <----(doesnt look mad ) i dont know what i did to much up php, i ran "./configure" "make" then "make install" (which is what i have dont EVERY other time that i setup php and it always worked fine

before i format can anyone give me any advice on how to correct the situation ?

sorry to be a pain
 
Old 09-19-2004, 08:15 PM   #27
Stack
Member
 
Registered: Oct 2003
Distribution: FreeBSD
Posts: 325

Rep: Reputation: 30
Quote:
Originally posted by Snerkel
So far so good, since i have switched to BSD5.2 i have found it much better (dont know why) just everything works (except "vi" or "vim" which still has dodgy commands or something!) i need to get samba working though because i need to transfer all my data back to my server so i can use it properly, so that is my first job for tommorow.
Vi and Vim work fine it is just your not used to actually using them. A lot of linux distro's use symlinks to replace vi/vim with some other crazy editor of their choice.

Second why are you formatting your server? Why don't you try fixing the install or actually doing it right this time? You know there is such a thing as 'make deinstall clean'? For gods sake use the ports all the time and don't compile from source...

Last edited by Stack; 09-19-2004 at 08:17 PM.
 
Old 09-20-2004, 07:27 AM   #28
Snerkel
Member
 
Registered: Jul 2004
Location: England
Distribution: 1 Gentoo 2005.0 system(desktop), 1 hardened-gentoo SeLinux stage1 server ;)
Posts: 262

Original Poster
Rep: Reputation: 30
ok for starters, vi or vim do not work the same as on linux and i do know how to use them as that is the only editor i have used for a long time!
and i never knew about the "make deinstall clean" i have never known how to get something off the system propally after compiling from source so thanks. php isnt in the ports is it ?

edit;

i just tried "make deinstall clean" and it didnt work!

Code:
Oasis# make deinstall clean
make: don't know how to make deinstall. Stop
Oasis#

Last edited by Snerkel; 09-20-2004 at 07:31 AM.
 
Old 09-20-2004, 06:09 PM   #29
Stack
Member
 
Registered: Oct 2003
Distribution: FreeBSD
Posts: 325

Rep: Reputation: 30
locate php
Gives me about 5 pages worth of files in the ports folder...

You need to be a in a folder with a makefile to 'make deinstall clean'
eg: cd /usr/ports/multimedia/mplayer && make deinstall clean
would remove mplayer.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie: How is FreeBSD/PC-BSD? FraQture *BSD 17 12-06-2005 04:18 PM
Boldly going where no newbie should go ... Should I get BSD? Mr. Hill Linux - Newbie 4 02-15-2005 05:27 AM
free bsd newbie irish rebel *BSD 2 01-15-2005 02:49 PM
Possible BSD Newbie marz2 *BSD 4 03-25-2004 10:11 AM
BSD Newbie zetsui *BSD 15 01-06-2004 06:08 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 04:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration