LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-11-2004, 02:47 PM   #1
crosswire
LQ Newbie
 
Registered: Jul 2004
Posts: 5

Rep: Reputation: 0
n00B...DOIN OK SAMBA, HTTP,


Hello, This is my first post, i just got fedora core 2 installed on a p3 600, i've been using linux for about a month, i have reinstalled twice now just cause i play with stuff and end up messing the whole thing up. So far i have been able to play mp3's using snackamp, that was kind of an accident. I dont think i even installed it. I just unpacked it and ran the "snackamp" file. If anyone could fill me in on that one it would be apreciated.

(my network= sys1 is Athlon 2100 running xp pro, sys 2 is the p3 600 with fc2, sys3 is a Duron 1300 running win 98, they are on a dlink 604 and a dlink 8port switch. the xp machine has a Xerox workcentre 390 on it.)

So.. I have got samba up and running I can see the linux shares on both ms machines but i have trouble accessing from the 98 machine... i have yet to investigate that. accessing from xp is ok now. and i can see and access the other machines from the fedora box with out problem (well now i can).

the problem im having now is the printer, I tried adding a printer on the fedora box, i can see it but no drivers. my question is not how to.... but where could i find drivers if any, I looked on the xerox website and i dont think they support it but maybe i just didnt find them. can anyone recommend anywhere i could find some good reading on the subject. I havent searched this site yet, i just ran into the problem lastnight but i will be looking when i get back to my systems.

the other stone im trying to trough is getting a http server up. I belive the one that is installed with fc2 is apache? correct me if im wrong. I have NO experience with this and im slowly learing that it takes more then a smile which is ok for me, i just need something to read. Ive been to apache.org and read some stuff from this site some has help but i think i have done more damage then good. I was reading a sort of how to and i tried to centralize all of the direcoties that are need but now im not sure what is from where and what i need and there are a few that i dont have like "cgi-src" cant find that one.

Im pretty sure thats it for now any guidence would be apreciated.
and everything that i have talked about here has been googled.

And id just like to thank everyone that posts here I wouldnt have been able to do what i have done so far without this forum, and i probably would have droped the idea of linux all to gether.

So THANKS.

cRoss wiRe
 
Old 08-11-2004, 05:15 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Re: n00B...DOIN OK SAMBA, HTTP,

Quote:
Originally posted by crosswire
So far i have been able to play mp3's using snackamp, that was kind of an accident. I dont think i even installed it. I just unpacked it and ran the "snackamp" file. If anyone could fill me in on that one it would be apreciated.
If you downloaded it in binary form, it's OK. I don't know that program, however. The most popular MP3 player is XMMS. It's installed by default in many distros, so checkif you have it. If not, it's on your instalation cds.

Quote:
So.. I have got samba up and running I can see the linux shares on both ms machines but i have trouble accessing from the 98 machine... i have yet to investigate that. accessing from xp is ok now. and i can see and access the other machines from the fedora box with out problem (well now i can).
Could you please post contents of your /etc/smb/smb.conf or /etc/smb.conf or /etc/samba/smb.conf (don't know where it is in your distribution)?

Quote:
the problem im having now is the printer, I tried adding a printer on the fedora box, i can see it but no drivers. my question is not how to.... but where could i find drivers if any, I looked on the xerox website and i dont think they support it but maybe i just didnt find them. can anyone recommend anywhere i could find some good reading on the subject. I havent searched this site yet, i just ran into the problem lastnight but i will be looking when i get back to my systems.
http://www.linuxprinting.org/printer_list.cgi Just choose your model and you'll know where to get the driver from (there are certain models win no drivers, so it is possible that you have one, if you're unlucky).

Quote:
the other stone im trying to trough is getting a http server up. I belive the one that is installed with fc2 is apache?
HTTPD or Apache, two names for the same.
Quote:
I have NO experience with this and im slowly learing that it takes more then a smile which is ok for me, i just need something to read. Ive been to apache.org and read some stuff from this site some has help but i think i have done more damage then good. I was reading a sort of how to and i tried to centralize all of the direcoties that are need but now im not sure what is from where and what i need and there are a few that i dont have like "cgi-src" cant find that one.

You need to look into the configuration file. Search for httpd.conf (probably /etc/httpd/httpd.conf). The optins are heavily commented so you should find the basics easily. Your cgi-bin is probably /var/www/cgi-bin/ (in ScriptAlias in httpd.conf), the directory for HTML files /var/www/html/ (DocumentRoot in httpd.conf).
 
Old 08-11-2004, 08:30 PM   #3
crosswire
LQ Newbie
 
Registered: Jul 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Hello thanks for the reply

I just did a search and found a bunch of files with"xmms" so im asuming i have it, i ll have to see if its even installed. its not in the menu though, does that mean its not installed? I like snackamp though, not much to look at but works fairly well and has no trouble getting the mp3s from the xp box. creates a library like windows media player. I tried installing xine and a front end and that went really bad

here is my smb.conf
sorry about the mess of it

one problem with samba that i for got to mention is everytime i start it , it sets the authentication mode to share, but it seems to only work when it is on user. Im not to sure where i can change that



#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors.
#
#======================= Global Settings =====================================
[global]
workgroup = mshome
server string = linus
netbios name = linux

; hosts allow = 192.168.1. 192.168.2. 127.

printcap name = /etc/printcap
load printers = yes

; printing = bsd

# Uncomment this if you want a guest account, you must add this to /etc/passwd
# otherwise the user "nobody" is used



log file = /var/log/samba/%m.log



max log size = 50


; password server = <NT-Server-Name>
; password level = 8
; username level = 8
smb passwd file = /etc/samba/smbpasswd
; unix password sync = Yes
; passwd program = /usr/bin/passwd %u
; passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*

; username map = /etc/samba/smbusers

; include = /etc/samba/smb.conf.%m


socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192


; interfaces = 192.168.12.2/24 192.168.13.2/24

; remote browse sync = 192.168.3.25 192.168.5.255

; remote announce = 192.168.1.255 192.168.2.44

; local master = no

; os level = 33

; domain master = yes

; preferred master = yes

; domain logons = yes

; logon script = %m.bat

; logon script = %U.bat

; logon path = \\%L\Profiles\%U


# DNS or NIS depending on the settings of /etc/host.config, /etc/nsswitch.conf
; name resolve order = wins lmhosts bcast

; wins support = yes

; wins server = w.x.y.z


; wins proxy = yes


dns proxy = no


; preserve case = no
; short preserve case = no

; default case = lower

; case sensitive = no

#============================ Share Definitions ==============================
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
password server = None
guest ok = yes
username map = /etc/samba/smbusers
winbind use default domain = no
;[homes]
; comment = Home Directories
; browseable = yes
; writeable = yes


; [netlogon]
; comment = Network Logon Service
; path = /home/netlogon
; guest ok = yes
; writable = no
; share modes = no


;[Profiles]
; path = /home/profiles
; browseable = no
; guest ok = yes


[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
printable = yes

# This one is useful for people to share files
;[tmp]
; comment = Temporary file space
; path = /tmp
; read only = no
; public = yes

;[public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; read only = yes
; write list = @staff

;[fredsprn]
; comment = Fred's Printer
; valid users = fred
; path = /homes/fred
; printer = freds_printer
; public = no
; writable = no
; printable = yes

;[fredsdir]
; comment = Fred's Service
; path = /usr/somewhere/private
; valid users = fred
; public = no
; writable = yes
; printable = no

;[pchome]
; comment = PC Directories
; path = /usr/pc/%m
; public = no
; writable = yes


;[public]
; path = /usr/somewhere/else/public
; public = yes
; only guest = yes
; writable = yes
; printable = no


;[myshare]
; comment = Mary's and Fred's stuff
; path = /usr/somewhere/shared
; valid users = mary fred
; public = no
; writable = yes
; printable = no
; create mask = 0765

[pics]
path = /home/xwire/pics
writeable = yes
valid users = tomcat, xwire



i guess i am one of the unlucky ones with no drivers for my printer. But fortunatly i also have and epson stylus(crap) c60, and a brother hl1240 and they will work so ill set up one of those up and give it another try, maybe read some more stuff first


thanks for clearing up that apache and httpd were the same thing i thought it might have been different programs. i think i have found those files and directory the problem im having is i moved all of that to one location (/httpd/then all of the directories are here)i created that folder, now i cant remember where i took them all from but i guess i can just retrace my steps with the "how to" . I have "index.html" in /var/www/html/ I dont know how to test it. Likei said i bearly have a clue of what im doing. im just kinda spunging info. I just found out that a guy i work with, worked for a local isp and has experience with apache. woot!

thanks for the info

CrosS WirE
 
Old 08-13-2004, 05:49 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
I think the problem with Samba is related to
valid users = tomcat, xwire
W98, if I remember correctly, doesn't use logins by default, so it probably sends something incorrect and is not allowed to access the files. There's probably a way to do it somehow. You can also make the share public, if it's possible in your case.
 
  


Reply



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
HD issues - what am I doin wrong? tkman Linux - Hardware 2 05-14-2005 03:01 PM
Samba, FTP, HTTP, or what? TuxFreak Linux - Software 39 10-26-2004 08:09 PM
Reinstallation: Doin' it right! mattp Linux - Newbie 40 03-08-2004 10:20 PM
Samba n00b, please help. raid517 Linux - Software 3 10-23-2003 10:17 AM
simple samba n00b question gn000we Linux - Networking 1 03-19-2003 01:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:36 PM.

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