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
 

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

reply to topic new topic new poll
Topic: recall smbclient command< Next Oldest | Next Newest >
tempestuous Offline





Group: Members
Posts: 259
Joined: Aug. 2004
Posted: Oct. 22 2004,11:06 QUOTE

DSL's smbtree and smbclient are great ... but I can never remember the correct command string -
smbclient //machinename/sharefolder -U windowsusername -W windowsdomain
... so I refer to written notes each time.
I could make an icon or menu entry to run the command, but my laptop needs to join different networks, and it would be annoying to have to change the icon setting or menu setting each time.

Is there some way of loading a command string (like the one above) in an xterminal ready to be modified before executing it?
Or is there another more elegant and sensible solution?
Anyone know?
Craig S
Back to top
Profile PM 
AwPhuch Offline





Group: Members
Posts: 1404
Joined: April 2004
Posted: Oct. 22 2004,17:20 QUOTE

Quote (tempestuous @ Oct. 22 2004,07:06)
DSL's smbtree and smbclient are great ... but I can never remember the correct command string -
smbclient //machinename/sharefolder -U windowsusername -W windowsdomain
... so I refer to written notes each time.
I could make an icon or menu entry to run the command, but my laptop needs to join different networks, and it would be annoying to have to change the icon setting or menu setting each time.

Is there some way of loading a command string (like the one above) in an xterminal ready to be modified before executing it?
Or is there another more elegant and sensible solution?
Anyone know?
Craig S

whitebox.dsl : which makes it easy to configure fluxbox

You could always write a shell script to ask you the sharename/password this way it will log you in after you enter the correct info

Brian
AwPhuch


--------------
http://www.frappr.com/dsl <-- Where do you use DSL?
http://www.smoothwall.org <-- Ultimate firewall for the world!
http://boinc.mundayweb.com/one/stats.php/userID:6107 <--My BOINC stats!
./S99LinuxRevolution start
Back to top
Profile PM WEB 
tempestuous Offline





Group: Members
Posts: 259
Joined: Aug. 2004
Posted: Oct. 25 2004,05:13 QUOTE

Thanks Brian.
I knew that a bash script would be a solution, but I don't really have the skills to tackle this myself, and I was hoping that there was a "ready-made" solution that I had overlooked.  I had already experimented with various gui's - gnomba, komba, jags, tksmb, xsmbrowser, and linneighborhood.  All had dependency problems after installing from debs.
Meanwhile, Rob has indicated that he may automate the smbclient config process in the next release of DSL.
Craig
Back to top
Profile PM 
Nanobot Offline





Group: Members
Posts: 17
Joined: May 2004
Posted: Nov. 03 2004,14:07 QUOTE

I might be a bit off...but you know about the samba.dsl package that brings you a working linneighborhood right?
Back to top
Profile PM 
AwPhuch Offline





Group: Members
Posts: 1404
Joined: April 2004
Posted: Nov. 03 2004,15:41 QUOTE

Quote (Nanobot @ Nov. 03 2004,09:07)
I might be a bit off...but you know about the samba.dsl package that brings you a working linneighborhood right?

I think he wants "boot up and mounted"
Not have to go clicky, clicky, click to be ready

If you have a HD install all you have to do is add
Quote
smbclient //machinename/sharefolder -U windowsusername -W windowsdomain
or whatever your notes say to the /opt/bootlocal.sh file and it will automatically mount at boot

P.S.  /opt/bootlocal.sh is just like /etc/rc.d/rc.local file in RH

Brian
AwPhuch


--------------
http://www.frappr.com/dsl <-- Where do you use DSL?
http://www.smoothwall.org <-- Ultimate firewall for the world!
http://boinc.mundayweb.com/one/stats.php/userID:6107 <--My BOINC stats!
./S99LinuxRevolution start
Back to top
Profile PM WEB 
4 replies since Oct. 22 2004,11:06 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: recall smbclient command

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