openSUSE Forums > Archives > SLS Archives > ARCHIVES - Linux Tweaks > ARCHIVES - HowTos Discussions » Configure A Windows Samba Share To Display At Linux Boot

Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - Linux Tweaks > ARCHIVES - HowTos Discussions
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - HowTos Discussions Have any questions about any HowTo found at the wiki? Post in here!

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-Mar-2006, 10:54
stoobers
Guest
 
Posts: n/a
Default

I was having extreme problems getting a smb drive on a windows server to appear on a linux computer at boot. I could make it go with mount -a but it just wouldn't go with mods to fs tab.

Here is what I did to make it go.

change the firewall settings to "internal" and enable samba.

as root, create /etc/samba/smb.auth and jam in the following:
username=windowsUserName
password=windowsPassword

be sure to chmod 600 so no one can see it.

then, make sure the following directory is present:/mnt/winPCname/winPCdirectory

then, as root, i made this change to /etc/fstab and used cifs instead of smbfs
//winPCname/winPCdirectory /mnt/winPCname/winPCdirectory cifs rw,credentials=/etc/samba/smb.auth 0 0

then test fstab: mount -a
to unmount: umount /mnt/winPCname/winPCdirectory

on one pc, i got it to reboot and show the network drive. but on another, it said "nope" and wouldn't display, so i got medieval on it and added the following line to /etc/init.d/boot.local
/etc/init.d/smbfs start

shazam! it worked on boot!
have a nice day. jesus saves.
 

Bookmarks

Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2