Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (6) </ 1 2 3 4 [5] 6 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: How to modify Samba extension, use as a unc< Next Oldest | Next Newest >
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Dec. 29 2007,06:14 QUOTE

Quote (andrewb @ Aug. 02 2007,21:08)
RobertS:

Thanks for clearing that up. I suspected it was all just down to a limitation of the unionfs system.

Juanito:

If you load samba.unc at boot time & then edit smb.conf in /etc/samba using vi (the file is invisible but it edits ok - you need to be root - i.e. use 'sudo vi smb.conf'). Now add this file (etc/samba/smb.conf) to your filetool.lst so that it gets backed up. All will now work automatically on boot as Samba will be loaded first & then the restore script will put the edited smb.conf back where you want it (it still isn't visible under etc/samba, but is editable with vi - it is visible under ramdisk/etc/samba & can be edited there ok as root [run emelfm as root & edit from there]). You can run smbd & nmbd in bootlocal.sh to get the server started. I have used this for file-sharing with M$ clients & it works well.

Some reference to this mess should be written to the samba.unc info file; nothing like loading the unc and finding two unwrittable smb.conf files in three places with the fourth one you can actually edit hidden (I'd still love to have an explanation as to why it doesn't show up with a find or ls command).  

...talk about crazy making.,...followed by the hplip-cups disaster; suicide may preclude printing.
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Dec. 29 2007,14:28 QUOTE

Quote
...talk about crazy making.,...followed by the hplip-cups disaster; suicide may preclude printing.

- do you mean there's a problem with the hplip extension or a problem with hplip & cups in general?
Back to top
Profile PM 
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Dec. 30 2007,00:22 QUOTE

Quote (Juanito @ Dec. 29 2007,09:28)
Quote
...talk about crazy making.,...followed by the hplip-cups disaster; suicide may preclude printing.

- do you mean there's a problem with the hplip extension or a problem with hplip & cups in general?

I haven't really got past samba problems.  I've got two Dell latitude clones with basically all the same software on them, and identical smb.conf  files.  My XP computer sees one of them, no problem, but not the other.  I've about exhausted every possible variable with the same result (changing it's place on the network, etc., etc.)  

Also, loading samba.unc overwrites the edited /etc/samba/smb.conf files, and I haven't found a way to turn samba off and back on without rebooting. (there's no "smb restart", and it basically loads with the wrong smb.conf file.  

If  I get samba working, I'll try the drivers via networking. I had printing working, as I recall, only with a parallel port connection due to some problem recognizing the USB port.

Wouldn't it be nice to just plug your network printer into a router and have it immediately recognized?  (just joking.. :)
Back to top
Profile PM 
john.martzouco Offline





Group: Members
Posts: 253
Joined: Nov. 2007
Posted: Dec. 30 2007,03:22 QUOTE

Quote (jpeters @ Dec. 29 2007,19:22)
I haven't found a way to turn samba off and back on without rebooting.

killall -TERM smbd
killall -TERM nmbd
/usr/sbin/smbd -D
/usr/sbin/nmbd -D
Back to top
Profile PM 
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Dec. 30 2007,05:37 QUOTE

Quote (john.martzouco @ Dec. 29 2007,22:22)
Quote (jpeters @ Dec. 29 2007,19:22)
I haven't found a way to turn samba off and back on without rebooting.

killall -TERM smbd
killall -TERM nmbd
/usr/sbin/smbd -D
/usr/sbin/nmbd -D

Looks drastic!  Anyway, I got a "no process terminated" error.  
Timely post, however. I found the latter two commands on p. 307 of the Damn Small Linux book a  few hours ago, which enabled XP to see my computer (after I entered a search IP). I'm still working on trying to get it to accept a password, however. Maybe the smbpasswd file is corrupted.

Edit: the killall command works, although still no luck getting XP to accept the password. Very weird...  with the other laptop it had no problem taking a password (and didn't need the nmbd, smbd commands).   I'm getting a long list of errors using the /opt/bin/samba/usr/bin/smbpasswd command before it states that the usr name has been created.  I think I've wasted enough time shooting in the dark on this....
Back to top
Profile PM 
27 replies since Aug. 01 2007,11:43 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (6) </ 1 2 3 4 [5] 6 >/
reply to topic new topic new poll
Quick Reply: How to modify Samba extension

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code