Fedora Linux Support Community & Resources Center
  #1  
Old 3rd December 2007, 09:32 PM
jczr2 Offline
Registered User
 
Join Date: Dec 2007
Posts: 2
networking with windows

I have a simple network of a linksys router with dsl. I have 3 windows machines connectet to the router and one fedora 8. My two printers are connected to the one XP PRO SP2 machine. One is a brother HL2040 laser printer and the other is a lexmark x3430. Both the fedora and XP pro machines are wired to the router. I set up samba to set up the printers and it does see them in the config printer, but doesn't print. It should not need a password for it, but even if i put in the admin password of the xp box it says it cannot verify. Also my xp box can see the fedora machine but also can never log in successfully. Is there a simple solution? Also i did disable all firewalls and antivirus on the xp box.

thanks
Reply With Quote
  #2  
Old 4th December 2007, 12:57 AM
Anniedog Offline
Registered User
 
Join Date: Aug 2006
Location: UK
Posts: 653
I run a HL5040 on a vista machine in my network. I did have some issues with this. I understand you are using samba to network, but there are so many different network types that it may not be possible to say if it is simple. I run a simple network setup . If you would care to post the second result of in the terminal I will be able to see if I can help.
su -
password
testparm ( this will give you an option to list your samba.conf file in a more manageable way after the first part of the command has completed)
__________________
Dual Boot F14 x86 64 and Vista DeskTop
(intel dual, 2GB, Nvida 7300LE(nivida drivers))
F13 x86_64 Desktop ( AMD64, 3GB,Nvidia 7300LE)
Home Network Edimax AR7284 Wna wireless router
Wired
Above plus
1 XP Desktop and a Zyxel DMA1000
Wireless:
2 windows laptops (vista and win7),
2 desktops (win7 & XP/F16 dual boot(intelpro PCI 2915)),
1 FC16 laptop

Unwashed and some what slightly dazed.
Reply With Quote
  #3  
Old 4th December 2007, 01:10 AM
jczr2 Offline
Registered User
 
Join Date: Dec 2007
Posts: 2
this is what i got. I have not used linux in about 5 years, and the little i knew i forgot. I usually use the bible, but the last one i have is linux 8




root@mshome ~]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[Pictures]"
Processing section "[root]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
workgroup = MYGROUP
server string = Samba Server Version %v
passdb backend = tdbsam
username map = /etc/samba/smbusers
log file = /var/log/samba/log.%m
max log size = 50
cups options = raw

[homes]
comment = Home Directories
read only = No
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[Pictures]
comment = pics
path = /home/joe/Pictures
read only = No
guest ok = Yes

[root]
path = /root
guest ok = Yes
browseable = No
Reply With Quote
  #4  
Old 4th December 2007, 01:30 AM
Anniedog Offline
Registered User
 
Join Date: Aug 2006
Location: UK
Posts: 653
Right this is mine which is working
global]
workgroup = MARTINHOME
server string = Samba Server Version %v
security = SHARE
encrypt passwords = No
passdb backend = tdbsam
guest account = martin
log file = /var/log/samba/log.%m
max log size = 50
wins server = 192.168.0.1
guest ok = Yes
printing = cups
cups options = raw
print command =
lpq command = %p
lprm command =

[homes]
comment = Home Directories
read only = No
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[All_Music]
path = /music/All_Music
read only = No

[All_Photo]
path = /photo/All_Photo
read only = No

[Mpeg4]
path = /video/Mpeg4
read only = No
etc.
I note that you do not seem in the global section to have any security set up and if you look I have a guest account set up . I have set my router 192,168.0.1 as the device to get wins info from as samba is running as a client. You may need to add wins to the line in /etc/nsswitch.conf
#hosts: db files nisplus nis dns
hosts: files wins dns
In system>administration>Services, make sure you have smb, nmb and wins running and checked. I have never had a problem with firewalls on any of the windows machines. But make sure you have samba ticked ok in the f8 firewall and I have set my eth0 as a trusted device.
__________________
Dual Boot F14 x86 64 and Vista DeskTop
(intel dual, 2GB, Nvida 7300LE(nivida drivers))
F13 x86_64 Desktop ( AMD64, 3GB,Nvidia 7300LE)
Home Network Edimax AR7284 Wna wireless router
Wired
Above plus
1 XP Desktop and a Zyxel DMA1000
Wireless:
2 windows laptops (vista and win7),
2 desktops (win7 & XP/F16 dual boot(intelpro PCI 2915)),
1 FC16 laptop

Unwashed and some what slightly dazed.
Reply With Quote
  #5  
Old 4th December 2007, 01:36 AM
Anniedog Offline
Registered User
 
Join Date: Aug 2006
Location: UK
Posts: 653
Will not make edit.
Important

Be sure to restart your machine after you make changes. So many times in the past I had failed to do this only to find out that when I restarted the networking problem was solved. Even if I had stopped and restarted smb,nmb and wins services and logged in and out again.

EDIT
You can edit the samba.conf directly file using su - password then the command gedit from the terminal. This will open up the text editor. Save the original as smb.bk or something so if you run into trouble you can always go back.

Location is /etc/samba/smb.conf

EDIT 2

I had problems with selinux on the permissions of the shared folders the smb.conf file tells you how to set this. sorry just remembered that bit.

EDIT 3

I remember what the problem was with the printer. It was nothing to do with my f8 set up directly system>administration>printing and choosing the samba/ cups option. It was solved when I did a restart on the Vista machine that the brother is connected to. I like you had problems and no matter what I seemed to do could not get the printer working. Then for a completely non connected reason I had to do a restart on this machine. When I later returned to sort out the printing on the f8 (just tried to print out a test page) it was working fine.
__________________
Dual Boot F14 x86 64 and Vista DeskTop
(intel dual, 2GB, Nvida 7300LE(nivida drivers))
F13 x86_64 Desktop ( AMD64, 3GB,Nvidia 7300LE)
Home Network Edimax AR7284 Wna wireless router
Wired
Above plus
1 XP Desktop and a Zyxel DMA1000
Wireless:
2 windows laptops (vista and win7),
2 desktops (win7 & XP/F16 dual boot(intelpro PCI 2915)),
1 FC16 laptop

Unwashed and some what slightly dazed.

Last edited by Anniedog; 4th December 2007 at 02:10 AM. Reason: Extra info again and again
Reply With Quote
Reply

Tags
networking, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Networking with Windows njackson256 Servers & Networking 3 26th November 2006 01:01 AM
Networking With Windows themagician Using Fedora 1 1st August 2006 04:13 AM
Windows Networking In FC4 donkeyend Guides & Solutions (No Questions) 6 8th March 2006 10:55 PM


Current GMT-time: 15:13 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat