ok...
I would like to mount my samba share from my Ubuntu laptop so that I could access my shared files like the rest of my Windows computers.Read the manuals, looked at the millions of options and did a series of steps to no avail. I have tried to make this clear and will make it clearer if suggested, any updates or information needed I will edit this post accordingly. Any help would be greatly appreciated. Thanking in advance.
After this sentence the series of significant steps I took follow:
The first thing I did was to check if samba could find my share
Code:
findsmb
Can't load /etc/samba/smb.conf - run testparm to debug it
*=DMB
+=LMB
IP ADDR NETBIOS NAME WORKGROUP/OS/VERSION
---------------------------------------------------------------------
Can't load /etc/samba/smb.conf - run testparm to debug it
1xx.xxx.1.xx THE-HERON +[WORKGROUP] [Unix] [Samba 3.0.28a]
bash-3.1$
second thing was to attempt to mount the drive
Anyone knows this enough well to do it please help me here dont exactly know what i am doing
So I went to
http://www.justlinux.com/nhf/Filesys...rmanently.html
I learnt:
or more like just tried to subsitute
Code:
mount -t smbfs //servername/sharename /mountdirectory -o username=mywindowsusername,password=mywindowspassword
so then I tried:
Code:
bash-3.1# mount -t smbfs //THE-HERON/stuff /mnt/mongoose -o username=mongoose,password=thatpassword
I resulted in:
Code:
bash-3.1# mount -t smbfs //THE-HERON
/stuff /mnt/mongoose -o username=mongoose,password=thatpassword
params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/smb.conf":
No such file or directory
Can't load /etc/samba/smb.conf - run testparm to debug it
3729: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed
In windows and probably from another ubuntu installation(didnt try), I would require no password but I just had it in there just incase.
Indeed, if I didnt need any password I would do:
Code:
bash-3.1# mount -t smbfs //THE-HERON/stuff /mnt/mongoose -o username=guest
resulted in:
Code:
bash-3.1# mount -t smbfs //THE-HERON/stuff /mnt/mongoose -o username=guest
params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/smb.conf":
No such file or directory
Can't load /etc/samba/smb.conf - run testparm to debug it
Password:
3732: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name)
SMB connection failed
bash-3.1#
So, according to this result, I needed a password, a password that I don't know of.
So I assumed, that if I had a Graphical User Interface for browsing all the Samba shares. I would be able to access it like my Windows and Ubuntu computers.
I downloaded xSMBrowser
I dug through its directory and found three files
Code:
bash-3.1# cd xsmbrowser-3.4.0
bash-3.1# ls
INSTALL pixmaps xsmbrowser
bash-3.1#
the INSTALL file stated
Quote:
Before you read the rest of this, just try executing "xsmbrowser" to see
if it works. Since xsmbrowser is an expectk script, there is nothing to
compile. If you run into any problems, read on ...
|
So I did run the xsmbrowser
clicked on Samba Config, pulled all the bells and whistles. I couldn't find any shares.
So I referred to the INSTALL.
Quote:
If you have Redhat or another respectable distribution of Unix, then Samba
may already be setup. One way to check is to issue "ps -A" (as root), and
if the programs "smbd" and "nmbd" are running, then you're okay.
|
So I ran ps -A
Code:
1 ? 00:00:01 init
2 ? 00:00:00 kthreadd
3 ? 00:00:00 migration/0
4 ? 00:00:00 ksoftirqd/0
5 ? 00:00:00 migration/1
6 ? 00:00:00 ksoftirqd/1
7 ? 00:00:00 events/0
8 ? 00:00:00 events/1
9 ? 00:00:00 khelper
102 ? 00:00:00 kblockd/0
103 ? 00:00:00 kblockd/1
106 ? 00:00:00 kacpid
107 ? 00:00:00 kacpi_notify
198 ? 00:00:00 ata/0
199 ? 00:00:00 ata/1
200 ? 00:00:00 ata_aux
201 ? 00:00:00 ksuspend_usbd
207 ? 00:00:00 khubd
210 ? 00:00:00 kseriod
252 ? 00:00:00 pdflush
253 ? 00:00:00 pdflush
254 ? 00:00:00 kswapd0
294 ? 00:00:00 aio/0
295 ? 00:00:00 aio/1
317 ? 00:00:00 jfsIO
318 ? 00:00:00 jfsCommit
319 ? 00:00:00 jfsCommit
320 ? 00:00:00 jfsSync
322 ? 00:00:00 xfslogd/0
323 ? 00:00:00 xfslogd/1
324 ? 00:00:00 xfsdatad/0
325 ? 00:00:00 xfsdatad/1
329 ? 00:00:00 xfs_mru_cache
334 ? 00:00:02 gfs2_scand
335 ? 00:00:00 glock_workqueue
336 ? 00:00:00 glock_workqueue
1018 ? 00:00:00 scsi_tgtd/0
1019 ? 00:00:00 scsi_tgtd/1
1078 ? 00:00:00 scsi_eh_2
1080 ? 00:00:00 scsi_eh_3
1084 ? 00:00:00 scsi_eh_4
1086 ? 00:00:00 scsi_eh_5
1096 ? 00:00:00 scsi_eh_6
1098 ? 00:00:00 scsi_eh_7
1116 ? 00:00:00 exec-osm/0
1117 ? 00:00:00 exec-osm/1
1123 ? 00:00:00 block-osm/0
1124 ? 00:00:00 block-osm/1
1131 ? 00:00:00 khpsbpkt
1142 ? 00:00:00 knodemgrd_0
1217 ? 00:00:00 ksnapd
1225 ? 00:00:00 rpciod/0
1226 ? 00:00:00 rpciod/1
1228 ? 00:00:00 kjournald
1282 ? 00:00:00 udevd
2524 ? 00:00:00 mount.ntfs-3g
2672 ? 00:00:00 syslogd
2676 ? 00:00:00 klogd
2824 ? 00:00:00 inetd
2834 ? 00:00:00 sshd
2841 ? 00:00:00 acpid
2853 ? 00:00:00 dbus-daemon
2859 ? 00:00:00 hald
2860 ? 00:00:00 hald-runner
2866 ? 00:00:00 hald-addon-inpu
2870 ? 00:00:00 hald-addon-acpi
2872 ? 00:00:01 hald-addon-stor
2883 ? 00:00:00 crond
2885 ? 00:00:00 atd
2930 ? 00:00:00 gpm
2932 tty1 00:00:00 bash
2933 tty2 00:00:00 agetty
2934 tty3 00:00:00 agetty
2935 tty4 00:00:00 agetty
2936 tty5 00:00:00 agetty
2937 tty6 00:00:00 agetty
2961 tty1 00:00:00 startx
2977 tty1 00:00:00 xinit
2978 tty7 00:06:30 X
2987 tty1 00:00:00 xinitrc
2992 tty1 00:00:01 xscreensaver
2995 ? 00:00:00 ssh-agent
3000 tty1 00:00:00 dbus-launch
3002 ? 00:00:00 dbus-daemon
3004 tty1 00:00:01 xfce4-session
3007 ? 00:00:01 xfce-mcs-manage
3008 tty1 00:00:00 Thunar
3010 ? 00:00:00 gam_server
3011 tty1 00:00:02 xfdesktop
3013 ? 00:00:01 Thunar
3022 tty1 00:00:10 xfce4-panel
3024 ? 00:00:00 fusion-icon
3028 tty1 00:00:05 Terminal
3030 tty1 00:00:11 ccsm
3033 tty1 00:00:03 orageclock
3034 tty1 00:00:00 thunar-tpa
3035 tty1 00:00:01 xfce4-mixer-plu
3036 tty1 00:00:00 gnome-pty-helpe
3037 pts/0 00:00:00 bash
3070 ? 00:09:03 compiz
3071 ? 00:00:06 emerald
3074 ? 00:00:06 pidgin
3107 ? 00:00:00 firefox
3119 ? 00:00:00 run-mozilla.sh
3124 ? 00:08:10 firefox-bin
3128 ? 00:00:00 gconfd-2
3341 ? 00:02:45 audacious
3408 pts/1 00:00:00 bash
3418 pts/1 00:00:00 man
3421 pts/1 00:00:00 sh
3422 pts/1 00:00:00 sh
3428 pts/1 00:00:00 less
3435 pts/2 00:00:00 bash
3587 ? 00:00:01 mousepad
3632 pts/3 00:00:00 bash
3716 pts/3 00:00:00 bash
3755 pts/3 00:00:00 xsmbrowser
3767 pts/2 00:00:00 ps
Couldn't find smbd nor nmbd.
I have actually done more research and investigation over the past 4 hours. I believe they aren't significant.
Side Question:
At first it was named my share so I thought calling it my\ share would be awkward and go against my probability of accessing my samba share.I renamed it from nautilus on my Ubuntu laptop. I didn't mount the share back on. I didnt try to rename the mounted share. Does that change anything? Would it still be called 'my\ share' and the samba is just merely asking for a password because it has to execute it no matter what?
Once again, any help would be appreciated.