 |
 |
 |
 |
| Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc. |

17th December 2011, 11:54 PM
|
|
Registered User
|
|
Join Date: Oct 2010
Posts: 57

|
|
|
F16 no smb no remote printing no samba
When I used Fedora 15 on this laptop (Dell Latitude D610) I could browse my windows xp shared files using Nautilus. I could print to the USB printer on the WinXP machine using Samba.
I moved up to Fedora 16, have done the latest updates, and added samba-client. Same laptop, same WindowsXP machine.
Went to add the networked printer, chose Printing, then Network, then Windows Samba; smb browser opened and showed the correct workgroup and xp computer name, clicked the triangle to show the printers - and smb browser crashed with Error 11.
Nautilus does not show SMB in the directory tree on the left panel. Nautllus "browse network" shows my neighbor's iBook (!) but not my upstairs WinXP machine.
smbtree shows the correct workgroup and the name of the windows machine.
Any suggestions for tracing the problems?
Edit: 19:14 EST. In system-config-printer, when I chose Network Printer, then browse SMB, root terminal shows " system-config-printer
no talloc stackframe around, leaking memory"
Thanks.
Tom in CT
Last edited by nutmegct; 18th December 2011 at 12:15 AM.
Reason: added terminal stackframe message
|

18th December 2011, 05:38 AM
|
|
Registered User
|
|
Join Date: Sep 2005
Location: Redneck Riviera
Posts: 333

|
|
|
Re: F16 no smb no remote printing no samba
My /var/log/messages (also) shows:
Code:
Dec 17 23:34:24 localhost kernel: [ 1723.987815] system-config-p[4344]: segfault at 0 ip 00007f60d7baf3f9 sp 00007fff80f53170 error 4 in libsmbclient.so.0[7f60d7b18000+591000]
|

18th December 2011, 01:54 PM
|
|
Registered User
|
|
Join Date: Oct 2010
Posts: 57

|
|
|
Re: F16 no smb no remote printing no samba
Thanks Cazo for your reply.
Are you having samba and/or printing problems?
Tom
|

19th December 2011, 02:43 AM
|
|
Registered User
|
|
Join Date: Sep 2005
Location: Redneck Riviera
Posts: 333

|
|
|
Re: F16 no smb no remote printing no samba
I was unable to add a remote printer by browsing, like you described. I was able to add it using it's URI like:
Code:
smb://WORKGROUP/COMPUTER/PRINTER
then, picking the make, model and/or PPD (I had already installed the driver, as well as enabled Samba & Samba Client in the firewall).
Otherwise, Samba browsing works fine (with Nautilus).
Last edited by cazo; 20th December 2011 at 02:18 AM.
|

19th December 2011, 08:42 PM
|
|
Registered User
|
|
Join Date: Oct 2010
Posts: 57

|
|
|
Re: F16 no smb no remote printing no samba
Actually I tried the same "add smb" technique myself. Did exactly what you did, chose the driver, etc. When I clicked "Print Test Page", the box shows "printing - 29%", then stops. New box opens saying "no communication - check printer connection".
It's the only way to get any "new printer" to show up - but it's obviously not connecting.
Still no smb in Nautilus.
Firewall allows ipp, smb, samba, etc.
Thanks for helping.
Tom in CT
---------- Post added at 03:42 PM ---------- Previous post was at 06:16 AM ----------
Update: I again tried installing remote printer. System-Config-Printer: Printing/Add/Network/Search.
I entered the IP of the host WinXP machine where the usb printer resides. Clicked Find, and after about three minutes, Printing (system-config-printer) crashed with:
Process usr/bin/python was killed by Signal 11 (SIGSEGV)
Any suggestions on solving the problem?
Thanks.
Tom in CT
|

21st December 2011, 04:37 PM
|
|
Registered User
|
|
Join Date: Oct 2010
Posts: 57

|
|
|
Re: F16 no smb no remote printing no samba
Update on 12/21/11:
I removed system-config-printer and all samba apps. Rebooted. Then yum installed same apps and rebooted again.
Started system-config-printer. Choose Add, Network, Windows Samba. Clicked Search, and immediately got the smb browser showing my workgroup and winxp machine. Didn't show printer. I clicked the black triangle next to the workgroup/machinename, and system-config-immediately crashed. Terminal showed:
no talloc stackframe around, leaking memory
Segmentation fault (core dumped)
Any suggestions?
Thanks.
Tom in CT
|

22nd December 2011, 08:27 AM
|
|
Registered User
|
|
Join Date: Sep 2005
Location: Redneck Riviera
Posts: 333

|
|
|
Re: F16 no smb no remote printing no samba
Sorry I haven't responded sooner (busy with other things).
I noticed there were updates for samba (including libsmbclient) - to 3.6.1-77.fc16.x86_64, which seems to have taken care of the problem (with browsing 'Windows Printer via SAMBA').
Is that the version you have? When running system-config-printer from the terminal, I still get the "no talloc stackframe around, leaking memory" error, but it no longer crashes. I also have smb and nmb running (I only changed my workgroup name in /etc/samba/smb.conf). I can browse my WindowsXP shares (using nautilus) ok. I also deleted my network printer & reinstalled it.
By the way, I had trouble accessing my shares (on my WindowsXP desktop) from my laptop a few days ago. For some reason (MS or McAfee updates), the McAfee firewall was now blocking file/printer sharing. Do you have another machine (or a F15 LiveCD or LiveUSB) you can check it from?
I don't know what else to suggest.
|

22nd December 2011, 01:24 PM
|
|
Registered User
|
|
Join Date: Oct 2010
Posts: 57

|
|
|
Re: F16 no smb no remote printing no samba
Thanks Cazo. Your details got me to thinking again. As I could see my WinXP workgroup and server in the Print Setup SMB browser, but would always get an error or crash when I tried connecting to print a test page, I wondered about the username and password I'd been entering. Was WinXP expecting upper/lower case or something? Went to the WinXP machine to check the username, password, and Sharing properties.
User/password were correct. But lo and behold, WinXP showed "sharing disabled for security reasons". For over three years I'd been using my F15 on the downstairs laptop to print and share files on the upstairs WinXP box. In the week or so when I switched from F15 to F16, by total coincidence, WinXP cancelled all sharing. So I reconfigured sharing on the WinXP box, and now can print from the Linux laptop to the upstairs WinXP printer.
I then tried Nautilus again, and chose Location: smb://
Nautilus said "Nautilus cannot browse smb".
Did some googling, and found a similar problem which was solved by "yum install gvfs-smb".
Did that, and now Nautilus browses the shared folder on the WinXP box.
Man, talk about frustrating. At the same time I moved from F15 to F16, one of the gazillion WinXP updates had for some reason turned off all sharing. And I had no clue that Nautilus needed that gvfs-smb install. Sometimes this is absolutely shooting in the dark.
<grumble grumble>
But now the remote printing and smb browsing works.
Thanks again for hangin' in there.
Tom in CT
Last edited by nutmegct; 23rd December 2011 at 01:16 PM.
|

23rd December 2011, 05:04 AM
|
|
Registered User
|
|
Join Date: Sep 2005
Location: Redneck Riviera
Posts: 333

|
|
|
Re: F16 no smb no remote printing no samba
Glad to see you got that solved.
When it works, it works great. When it doesn't work, it can be a real pain to track down. More so when Microsoft is working against you.
P.S. Is "Tom in CT" for Connecticut (just curious)?
|

23rd December 2011, 01:13 PM
|
|
Registered User
|
|
Join Date: Oct 2010
Posts: 57

|
|
|
Re: F16 no smb no remote printing no samba
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 08:26 (Sunday, 26-05-2013)
|
|
 |
 |
 |
 |
|
|