Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

D-Link's Shareport USB Utility

1,645 views
Skip to first unread message

Merciadri Luca

unread,
Oct 9, 2009, 6:10:06 PM10/9/09
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I am using a D-Link router which D-Link's SharePort utility can be
used with. Unfortunately, this utility seems not to work at all
under Debian (Lenny). Shareport aims at allowing the OS to use the
router's USB port. Shareport is built for Windows, but Wine does not
want to install it correctly, as the installation ends prematurely.

I do not even know how Shareport works. Is there any solution out
there to allow Debian to look at my router's USB port?

Thanks.
- --
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAkrPrlsACgkQM0LLzLt8MhxcHACdF5u6yEfeTcDzgFcRAkXWG2Un
ChcAn3Q6bvLtY4H6NfYQtEmL8Rc6636+
=2ziY
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Stan Hoeppner

unread,
Oct 9, 2009, 6:20:06 PM10/9/09
to
Merciadri Luca put forth on 10/9/2009 4:42 PM:

> Hello,
>
> I am using a D-Link router which D-Link's SharePort utility can be
> used with. Unfortunately, this utility seems not to work at all
> under Debian (Lenny). Shareport aims at allowing the OS to use the
> router's USB port. Shareport is built for Windows, but Wine does not
> want to install it correctly, as the installation ends prematurely.
>
> I do not even know how Shareport works. Is there any solution out
> there to allow Debian to look at my router's USB port?

A better question is why aren't you using ethernet instead of USB? Use
the right tool for the job.

--
Stan

Osamu Aoki

unread,
Oct 10, 2009, 9:00:10 AM10/10/09
to
Hi,

Please note I am just guessing.

On Fri, Oct 09, 2009 at 11:42:52PM +0200, Merciadri Luca wrote:
> Hello,
>
> I am using a D-Link router which D-Link's SharePort utility can be
> used with. Unfortunately, this utility seems not to work at all
> under Debian (Lenny). Shareport aims at allowing the OS to use the
> router's USB port. Shareport is built for Windows, but Wine does not
> want to install it correctly, as the installation ends prematurely.
>
> I do not even know how Shareport works. Is there any solution out
> there to allow Debian to look at my router's USB port?

Basically, hardware configuration tools are quite platform specific. If
you expect it to work under wine, you may not be so lucky.

It is usually better to think about using device than using proprietary
configuration tools.

What do you want to do with that USB port. Attach HDD? Attach Printer?

Once you know how it communicates with clients, you may find tools to
access it. My bet is:

* CUPS for printer
* SAMBA for HDD

As I understand most of these routers, they can be accessed by HTTP for
their configuration via web page. Do you know your routers address.
Suppose it is 192.168.0.1 , point your browser to it. You may need to
read manual to find out password for it. My router uses:
http://web.setup/ .

Good luck,

Osamu

PS: My router has USB port which can be attached to HDD. I have not
tried it but it seems it provide files via SAMBA for Linux.

> Thanks.

Merciadri Luca

unread,
Oct 10, 2009, 9:10:05 AM10/10/09
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stan Hoeppner <st...@hardwarefreak.com> writes:

>
> A better question is why aren't you using ethernet instead of USB? Use
> the right tool for the job.

I think you misunderstood what I wanted. I have no Ethernet capability
on my HDDs and it is still too expensive to use this solution.


- --
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAkrQgZ4ACgkQM0LLzLt8MhypigCfUOAUpQVE3fLDtKO92sPL2nuW
yD0AnA0ynh9CYZEoTYY9cnrbtSWc0gqr
=liDD
-----END PGP SIGNATURE-----

Merciadri Luca

unread,
Oct 10, 2009, 9:20:04 AM10/10/09
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Osamu Aoki <os...@debian.org> writes:

Please find my answer here.

Paul E Condon <peco...@mesanetworks.net> writes:

> Date: Fri, 9 Oct 2009 20:43:24 -0600
> From: Paul E Condon <peco...@mesanetworks.net>
> To: debia...@lists.debian.org
> Subject: Re: D-Link's Shareport USB Utility
> User-Agent: Mutt/1.5.18 (2008-05-17)


>
> On 2009-10-09_17:17:26, Stan Hoeppner wrote:
>> Merciadri Luca put forth on 10/9/2009 4:42 PM:

>> > Hello,
>> >
>> > I am using a D-Link router which D-Link's SharePort utility can be
>> > used with. Unfortunately, this utility seems not to work at all
>> > under Debian (Lenny). Shareport aims at allowing the OS to use the
>> > router's USB port. Shareport is built for Windows, but Wine does not
>> > want to install it correctly, as the installation ends prematurely.
>> >
>> > I do not even know how Shareport works. Is there any solution out
>> > there to allow Debian to look at my router's USB port?
>>

>> A better question is why aren't you using ethernet instead of USB? Use
>> the right tool for the job.
>>
>

> I have several D-Link routers. I have always configured them using firefox
> and, more recently, iceweasel. I think any browser will do.
>
> Point your browser at the default D-Link url, which is 192.168.0.1
> The router has a tiny local web server inside. The log-in dialog expects
> username, admin , and NO password. The documentation makes a big point of
> setting a password -- Don't set a password, if you do set a password make
> sure it is one that is totally obvious and impossible for you to forget,
> like your given name. Note that the url is in the private network url space.
> You can change it to something else, but doing so just makes your life more
> difficult. Don't change it.
>
> If you do set a password or change the url, you can recover from your
> error by using a paper-clip to press a reset switch that hides inside
> a little hole near the power jack.
>
> HTH
> --
> Paul E Condon
> peco...@mesanetworks.net


>
> --
> To UNSUBSCRIBE, email to debian-us...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Thanks for your help, but I know these things: I have already
configured everything on my router, but I do know *how* to access its
USB port without the D-Link Shareport utility: is there a port on,
say, 192.168.0.1 (the local IP of my LAN DHCP server, i.e. my router),
where I can reach its USB port?

Osamu Aoki <os...@debian.org> writes:

> Hi,
>
> Please note I am just guessing.

>> On Fri, Oct 09, 2009 at 11:42:52PM +0200, Merciadri Luca wrote:
>> Hello,
>>
>> I am using a D-Link router which D-Link's SharePort utility can be
>> used with. Unfortunately, this utility seems not to work at all
>> under Debian (Lenny). Shareport aims at allowing the OS to use the
>> router's USB port. Shareport is built for Windows, but Wine does not
>> want to install it correctly, as the installation ends prematurely.
>>
>> I do not even know how Shareport works. Is there any solution out
>> there to allow Debian to look at my router's USB port?
>
> Basically, hardware configuration tools are quite platform specific. If
> you expect it to work under wine, you may not be so lucky.
>
> It is usually better to think about using device than using proprietary
> configuration tools.

I know.


>
> What do you want to do with that USB port. Attach HDD? Attach
> Printer?

I would like to attach HDD.


>
> Once you know how it communicates with clients, you may find tools to
> access it. My bet is:
>
> * CUPS for printer
> * SAMBA for HDD

To use such clients, my router needs to use a Linux distro, doesn't
it? But how do I know which OS it is shipped with?


>
> As I understand most of these routers, they can be accessed by HTTP for
> their configuration via web page. Do you know your routers address.

Yes.


> Suppose it is 192.168.0.1 , point your browser to it. You may need to
> read manual to find out password for it. My router uses:
> http://web.setup/ .

No problem, I have already installed everything which is linked to my
router, using its web interface. But, as I said at the top of this
message, I do know how to *reach* its USB port.

A solution?


>
> Good luck,
>
> Osamu
>
> PS: My router has USB port which can be attached to HDD. I have not
> tried it but it seems it provide files via SAMBA for Linux.

Which is model is your router?

Thanks.

- --

I use PGP. If there is an incompatibility problem with your mail
client, please contact me.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAkrQhM0ACgkQM0LLzLt8MhwKRgCcCNzJxflEBfsxt7KCMjx6GvvE
lHMAoK7juK8KBJnQAPZKTTaRBNTMfVoL
=YLrw
-----END PGP SIGNATURE-----

Eduardo M KALINOWSKI

unread,
Oct 10, 2009, 1:20:06 PM10/10/09
to
Merciadri Luca wrote:
> No problem, I have already installed everything which is linked to my
> router, using its web interface. But, as I said at the top of this
> message, I do know how to *reach* its USB port.

I'd suppose the hard-drive is shared via CIFS (the Windows protocol for
sharing drivers, printers, etc), so it's accessible via SAMBA under Linux.

Try smbclient -L 192.168.0.1 to see a list of shares. Then you can mount
it with mount.cifs //192.168.0.1/share_name /some/local/directory

There are other tools for browsing and accessing SAMBA shares too, but I
don't know them well so I can't really recommend one.

--
Sometime when you least expect it, Love will tap you on the shoulder...
and ask you to move out of the way because it still isn't your turn.
-- N. V. Plyter

Eduardo M KALINOWSKI
edu...@kalinowski.com.br

Merciadri Luca

unread,
Oct 10, 2009, 2:10:05 PM10/10/09
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eduardo M KALINOWSKI <edu...@kalinowski.com.br> writes:

> Merciadri Luca wrote:
>> No problem, I have already installed everything which is linked to my
>> router, using its web interface. But, as I said at the top of this
>> message, I do know how to *reach* its USB port.
>
> I'd suppose the hard-drive is shared via CIFS (the Windows protocol for
> sharing drivers, printers, etc), so it's accessible via SAMBA under
> Linux.

Note that without D-Link's utility, it is not recognized by Microsoft
Windows. I am thus doubtful about the fact that it would be shared using CIFS.


>
> Try smbclient -L 192.168.0.1 to see a list of shares. Then you can mount
> it with mount.cifs //192.168.0.1/share_name /some/local/directory

Thanks for this trick. Unfortunately,
# smbclient 192.168.0.1 password -U Admin

192.168.0.1: Not enough '\' characters in service

# smbclient -U Admin -L 192.168.0.1
Connection to 192.168.0.1 failed (Error NT_STATUS_CONNECTION_REFUSED)

I have seen in smbclient's manpages that a password can be
given. Where do I have to put it? I tried everywhere in
# smbclient -U Admin -L 192.168.0.1
but I always read
192.168.0.1: Not enough '\' characters in service

Any idea?


>
> There are other tools for browsing and accessing SAMBA shares too, but I
> don't know them well so I can't really recommend one.

You use the fact that the share is CIFS-based, but I am not sure that
it is. I read the whole (trivial) manual, and various messages on the
Internet, but I never found any standard specification about the
sharing protocol D-Link uses. Thanks for any idea.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAkrQyIUACgkQM0LLzLt8MhwnQACghEZrsqNfAstqmcnezIClNbh4
WIAAoKbzszWgmLCOO9DiBjL9JjNbdVFb
=hGRJ
-----END PGP SIGNATURE-----

Eduardo M KALINOWSKI

unread,
Oct 10, 2009, 2:50:06 PM10/10/09
to
Merciadri Luca wrote:
> Thanks for this trick. Unfortunately,
> # smbclient 192.168.0.1 password -U Admin
>
> 192.168.0.1: Not enough '\' characters in service
>
> # smbclient -U Admin -L 192.168.0.1
> Connection to 192.168.0.1 failed (Error NT_STATUS_CONNECTION_REFUSED)
>
> I have seen in smbclient's manpages that a password can be
> given. Where do I have to put it? I tried everywhere in
> # smbclient -U Admin -L 192.168.0.1
> but I always read
> 192.168.0.1: Not enough '\' characters in service
>
> Any idea?

OK, it should be smbclient -L //192.168.0.1 (or whatever IP is used)

> You use the fact that the share is CIFS-based, but I am not sure that
> it is. I read the whole (trivial) manual, and various messages on the
> Internet, but I never found any standard specification about the
> sharing protocol D-Link uses. Thanks for any idea.

In this case, it might not be possible to access the driver under Linux.
If they use some proprietary protocol, someone has to write Linux
support for it. And if it's not published anywhere, it becomes quite
difficult for someone else to implement the protocol.


--
Do not meddle in the affairs of wizards, for they become soggy and hard to
light.

Eduardo M KALINOWSKI
edu...@kalinowski.com.br

Merciadri Luca

unread,
Oct 10, 2009, 4:10:04 PM10/10/09
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Merciadri Luca <Luca.Me...@student.ulg.ac.be> writes:

I receive the same answer with
#smbclient -L //192.168.0.1

The problem with non-noname devices is that their internal config is
often misunderstood, or simply unknown...

- --
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAkrQ4y8ACgkQM0LLzLt8MhzX7wCfYsiFVCf0IB6qU2GdQPkMJxsa
Y04AoIkwqFpjGkbZu3PUQyKvbkUr/VsB
=ocBQ

Stan Hoeppner

unread,
Oct 10, 2009, 7:20:07 PM10/10/09
to
Merciadri Luca put forth on 10/10/2009 7:44 AM:

> Stan Hoeppner <st...@hardwarefreak.com> writes:
>
>> A better question is why aren't you using ethernet instead of USB? Use
>> the right tool for the job.
> I think you misunderstood what I wanted. I have no Ethernet capability
> on my HDDs and it is still too expensive to use this solution.

Obviously I misunderstood. Maybe you can give us a quick explanation of
exactly what "DLink SharePort" is/does; what it is for. I was under the
impression you were merely trying to connect (network) your Debian box
to the router via USB instead of via ethernet. There was no mention of
a hard disk drive in your original post. I think you assumed everyone
here knows what DLink's "SharePort" is--but we don't.

So, now we've gone from "Win Problem" to "can't connect to my HDD". Two
very different issues.

--
Stan

Stan Hoeppner

unread,
Oct 10, 2009, 7:50:06 PM10/10/09
to
Merciadri Luca put forth on 10/10/2009 2:40 PM:

> Merciadri Luca <Luca.Me...@student.ulg.ac.be> writes:
>
> I receive the same answer with
> #smbclient -L //192.168.0.1
>
> The problem with non-noname devices is that their internal config is
> often misunderstood, or simply unknown...

Would you please backup to the very beginning and tell us what you're
trying to accomplish? Here's what I'm reading:

You're trying to hook up a USB HDD correct? Most laptops and desktops
have a gazillion USB ports on them these days. Why are you hell bent on
connecting the HDD to the el cheapo DLink router instead of directly to
your Debian PC? ESPECIALLY given the fact that DLink obviously doesn't
offer Linux support for your particular router.

--
Stan

Merciadri Luca

unread,
Oct 11, 2009, 9:39:18 PM10/11/09
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stan Hoeppner <st...@hardwarefreak.com> writes:

Please see my other answer, as the server was lagging.


- --
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAkrR37UACgkQM0LLzLt8MhylmgCdFOD0wliXxSqmIshksWkZDzZw
3gcAoJhDufy6rOeuHnW79egqi+Yzaesi
=nWJS
-----END PGP SIGNATURE-----

Merciadri Luca

unread,
Oct 11, 2009, 9:39:18 PM10/11/09
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stan Hoeppner <st...@hardwarefreak.com> writes:

> Merciadri Luca put forth on 10/10/2009 2:40 PM:
>> Merciadri Luca <Luca.Me...@student.ulg.ac.be> writes:
>>
>> I receive the same answer with
>> #smbclient -L //192.168.0.1
>>
>> The problem with non-noname devices is that their internal config is
>> often misunderstood, or simply unknown...
>
> Would you please backup to the very beginning and tell us what you're
> trying to accomplish?

For sure.


> Here's what I'm reading:
>
> You're trying to hook up a USB HDD correct?

Yes, with my router.


> Most laptops and desktops
> have a gazillion USB ports on them these days. Why are you hell bent on
> connecting the HDD to the el cheapo DLink router instead of directly to
> your Debian PC? ESPECIALLY given the fact that DLink obviously doesn't
> offer Linux support for your particular router.

For many different reasons, the principal one being that I use lots of computers, and I need to access to this HDD with each
computer without having to make sync's.

So, to backup to the very beginning: I need to use a HDD on different
computers. To make this easy with the different OSes and other config
problems, it would be a nice alternative to share it on my network. To
achieve this, I need to connect it to my router, as I cannot have another
dedicated server for practical reasons.

I discovered then the D-Link's SharePort utility. It was nice, as my
router is a D-Link DIR-635. I thought you knew some things about
SharePort. As it seems not to be the case, just have a look at, for
example:
http://www.techfresh.net/d-link-shareport-technology/
It is still not raw information as I want it to be (specs., etc.), but
the only pieces of info I can find about SharePort are general ones.

So, I do not know how I could manage to connect my PCs to my D-Link's
USB port. I have plugged a HDD drive into it, and it should
work. However, it does not work under Debian Lenny. I tried various
things with smbclient, but the connexion is always qualified as
`REFUSED.'' I do not know why, because it also happens when I supply a
password and an username (even though they are correct). I do not
actually even know if I can use smbclient with it, as it can use
another implementation than CIFS.

Is there a solution about this? Hope I was clear.


- --
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAkrRtCEACgkQM0LLzLt8MhxDRgCfa7EryGRCWQu7U1CtWPPhb5sK
/r0An2ij5I4ZUhUXMZjO3u/MaXC7M73q
=H68n
-----END PGP SIGNATURE-----

Merciadri Luca

unread,
Oct 11, 2009, 9:39:18 PM10/11/09
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eduardo M KALINOWSKI <edu...@kalinowski.com.br> writes:

Please see my other answer, as the server was lagging.

- --
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAkrR36sACgkQM0LLzLt8MhwSfwCfbHSWYW2geIL/xMMwfPGaF00Y
CXoAn1thiKPZqJENmIa0z3/9AAhTKlm0
=a8yi
-----END PGP SIGNATURE-----

Stan Hoeppner

unread,
Oct 11, 2009, 9:39:22 PM10/11/09
to
Merciadri Luca put forth on 10/11/2009 5:32 AM:

> Is there a solution about this? Hope I was clear.

Like many consumer gadgets, this one was designed for the Winders world,
and uses proprietary closed source drivers. Any hope of getting this
working with a Linux PC will depend on D-Link's support staff. You need
to contact them directly, if you haven't already. Ask them for a Linux
version of the SharePort utility. (Then listen for the sound of muffled
laughter in the background).

In short, I believe you're simply screwed.

--
Stan

Merciadri Luca

unread,
Oct 12, 2009, 11:20:01 AM10/12/09
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stan Hoeppner <st...@hardwarefreak.com> writes:

> Merciadri Luca put forth on 10/11/2009 5:32 AM:
>
>> Is there a solution about this? Hope I was clear.
>
> Like many consumer gadgets, this one was designed for the Winders world,
> and uses proprietary closed source drivers. Any hope of getting this
> working with a Linux PC will depend on D-Link's support staff. You need
> to contact them directly, if you haven't already. Ask them for a Linux
> version of the SharePort utility. (Then listen for the sound of muffled
> laughter in the background).

I will do this as soon as it will be possible, as their form is still
not finished yet!


>
> In short, I believe you're simply screwed.

You are right.


- --
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAkrTQQ8ACgkQM0LLzLt8MhxTmACgnPtoCK9hdtn6OEVurfyu+buo
8NQAn0bix5gjpGxPq0uus40otDmNVFd1
=6H6M
-----END PGP SIGNATURE-----

0 new messages