View previous topic :: View next topic |
Author |
Message |
mec Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/17656227753ef30d1f3d82b.gif)
Joined: 22 Apr 2003 Posts: 147 Location: Munich
|
Posted: Mon Jul 21, 2003 10:34 pm Post subject: Printserver einrichten |
|
|
Hallo,
ich möchte einen Printserver einrichten. Derzeit stehe ich vor der Herausvorderung
- A Freigabe für LINUX-clients
- B Freigabe für WIN-clients
CUPS ist eingrichtet und lpr funzt!!!
Da ich derzeit nur über KnowHow von Samba verfüge, habe ich mir gedacht fange ich mit B an.
Da kommt aber gleich ein Problem....SWAT 901 wird nicht in netsat und nmap angezeigt und einen Zugriff habe ich folglich auch nicht, weder auf Printer resource noch auch Fileshares.
WHAT can I do???? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rincewind Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/95f6c21a3dab53b9a616e.jpg)
Joined: 16 Aug 2002 Posts: 172 Location: Essen, Germany
|
Posted: Tue Jul 22, 2003 5:37 am Post subject: |
|
|
Hallihallo !
tja mit dem swat ist das schon ärgerlich, ich weiss wie lange ich nach der doku gesucht (und nicht gefunden habe)
1. Du musst in deiner /etc/services:
swat 901/tcp auskommentieren/anlegen
2. Script für Xinitd
# default: off
# description: SWAT is the Samba Web Admin Tool. Use swat \
# to configure your Samba server. To use SWAT, \
# connect to port 901 with your favorite web browser.
# $Header: /home/cvsroot/gentoo-x86/net-fs/samba/files/swat.xinetd,v 1.3 2002/05/06 19:57:08 woodchip Exp $
service swat
{
port = 901
socket_type = stream
wait = no
user = root
only_from = 127.0.0.1
server = /usr/sbin/swat
log_on_failure += USERID
disable = no
}
3. smbpasswd -a root
Dann sollte der swat mit dir reden
Hier noch ne Hammergeile Anleitung wie man einen Distiller server mit archiv aufsetzt:
http://mattias.schlenker-webdesign.de/mattias/index.rb?section=typesetting&subsection=pdf-service&style=screen
gruss rince |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mec Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/17656227753ef30d1f3d82b.gif)
Joined: 22 Apr 2003 Posts: 147 Location: Munich
|
Posted: Tue Jul 22, 2003 5:32 pm Post subject: |
|
|
....mmmh...an den xinit habe ich natürlich nicht gedacht peinlich.
werde es aber erst morgen ausprobieren können. bin heute nicht im lande.
aber schonmal thx
cu
michi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mec Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/17656227753ef30d1f3d82b.gif)
Joined: 22 Apr 2003 Posts: 147 Location: Munich
|
Posted: Wed Jul 23, 2003 10:18 pm Post subject: |
|
|
also am SWAT liegt es wohl auch nicht. das xinit-Skript liegt im /etc/xinit.d/ aber netstat zeigt immer noch nix an. folgich komme ich auch nicht drauf.
kann es am kernel liegen. eigentlich habe ich in den kernel SMB-Unterstützung einkompiliert. Was muss hierzu in dmsg stehen?
oder kann es noch wo anders hacken???
cu
mec |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rincewind Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/95f6c21a3dab53b9a616e.jpg)
Joined: 16 Aug 2002 Posts: 172 Location: Essen, Germany
|
Posted: Thu Jul 24, 2003 6:53 am Post subject: |
|
|
also wenn der port in etc services freigegeben ist, kannst du den swat ja mal von hand starten und schauen ob du dann drauf kommst. Dann weisst du das mit deinem xinet.d was nicht stimmt
gruss rince |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mec Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/17656227753ef30d1f3d82b.gif)
Joined: 22 Apr 2003 Posts: 147 Location: Munich
|
Posted: Fri Jul 25, 2003 6:39 am Post subject: |
|
|
ich kriege es einfach nicht gepacken...
Jetzt schreibe ich mal alles ganz genau auf....
- swat-file: /etc/xinit.d/swat vorhanden (habe nur disable auf no gesetzt)
Angaben wie o.a.
- services: /etc/services port 901 ist nicht auskommentiert
- smbpasswd -a funktioniert
- swat -s /etc/samba/smb.conf bzw. nur swat kommt keine antwort, kommt da überhaupt eine???
was habe ich geprüft:
- netstat -a dort steht nix von tcp/901
- nmap zeigt auch keinen 901 port
- ps -ef | grep samba --> keine Ausgabe
- /etc/init.d/samba restart funktioniert
- SAMBAinstallation ist die net-fs/samba-2.2.8a
cu
michi |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hopfe Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 22 Oct 2002 Posts: 456 Location: Frankfurt Main oder Aachen
|
Posted: Fri Jul 25, 2003 7:34 am Post subject: |
|
|
Bist du dir sicher das du den xinetd richtig installiert hast, default mässig wird dieser nämlich von Gentoo nicht installiert.
Ein emerge -pv xinetd müßte dir Auskunft geben. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mec Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/17656227753ef30d1f3d82b.gif)
Joined: 22 Apr 2003 Posts: 147 Location: Munich
|
Posted: Fri Jul 25, 2003 9:12 am Post subject: |
|
|
denke schon...
derzeit ist xinetd-2.3.11 installiert!
eine Konfig am xinetd habe ich nicht vorgenommen. muss man da was machen? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hopfe Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 22 Oct 2002 Posts: 456 Location: Frankfurt Main oder Aachen
|
Posted: Fri Jul 25, 2003 10:22 am Post subject: |
|
|
schreibt der xinetd beim starten irgendwelche Fehler raus? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mec Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/17656227753ef30d1f3d82b.gif)
Joined: 22 Apr 2003 Posts: 147 Location: Munich
|
Posted: Fri Jul 25, 2003 1:49 pm Post subject: |
|
|
leider weiss ich nicht wo der xinetd hin loggt. in den noramlen log-files /var/log/... finde ich keine fehler.
in den manuels geht auch nix hervor. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|