Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Accessing samba shares via dolphin in KDE
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
thender
n00b
n00b


Joined: 26 Aug 2013
Posts: 28

PostPosted: Fri Sep 13, 2013 2:22 am    Post subject: Accessing samba shares via dolphin in KDE Reply with quote

In Windows, if I click network, it finds all my networked machines/drives. Linux Samba shares, Android devices running Samba server, or windows shares, just fine.

In Dolphin, if I click Network, I have a samba shares option. Clicking it I get Network, and Samha Shares. Network leads nowhere. Samba Shares leads to Workgroup, which leads to nothing.

If I run

Code:
nmblookup -S '*'


It will show me the IP addresses of all the active shares along with their names. After I get the IP of a share, I can type \\192.168.1.103 into dolphin and access the share.

Is there a way to make this work in the GUI like Dolphin? I'd like to be able to find network shares without opening a terminal.

Thanks!
Back to top
View user's profile Send private message
creaker
Guru
Guru


Joined: 14 Jul 2012
Posts: 480

PostPosted: Fri Sep 13, 2013 7:28 am    Post subject: Reply with quote

you can add an entry for your share into /etc/fstab. It will mount share automatically at boot.
If you do not want to have it automounted (like me), you can write small script like this:
Code:
echo "0" | sudo -S mount -t cifs //192.168.1.5/share /mnt/share -o nosuid,nodev,sec=ntlm,workgroup=WORKGROUP,ip=192.168.1.5

make it executable (chmod +x) and add entry for this script into KMenu or to panel or wherever you like it will be located.
Running the script will add samba share to the Dolphin's left pane.
P.S.
"0" in script above is a password
_________________
Intel Core i3-2120 / 4Gb RAM / 250Gb HDD / NVidia GeForce-550Ti
Back to top
View user's profile Send private message
thender
n00b
n00b


Joined: 26 Aug 2013
Posts: 28

PostPosted: Fri Sep 13, 2013 8:15 am    Post subject: Reply with quote

Hi,

This is actually for an Android tablet. its IP will be different each time depending on whether it is being connected to my office network, home network, parent's house, etc. At home it's 192.168.0.55, at the office it's 192.168.2.60, etc.

Is there anyway to have the windows-like functionality of clicking network and seeing all available network shares? Or is this impossible?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum