Router - TG582N - USB port: Difference between revisions
m (Authentication to the CIFS server) |
m (Need to remember the IP address for the CIFS server) |
||
Line 37: | Line 37: | ||
If one enables the CIFS server with |
If one enables the CIFS server with |
||
:contentsharing cifs config state=enabled |
:contentsharing cifs config state=enabled |
||
then it's possible to connect to the CIFS server in any of the usual CIFS ways. Note that the CIFS server uses old LANMAN authentication - so Samba users may need to add something like: |
then it's possible to connect to the CIFS server on the previously found IP address in any of the usual CIFS ways. Note that the CIFS server uses old LANMAN authentication - so Samba users may need to add something like: |
||
# Be able to connect to old servers (e.g. TG582n content sharing) |
# Be able to connect to old servers (e.g. TG582n content sharing) |
||
client lanman auth = yes |
client lanman auth = yes |
Revision as of 16:20, 20 Ocak 2015
The TG582n router has a USB port towards the back of the left-hand side. There are 3 different uses for this:
- plugging in a 3G mobile broadband dongle, which can add 3G connectivity
- plugging in a USB storage device, which can allow content sharing server(s) to share its contents
- plugging in a USB printer, which can allow a printer sharing server to share the printer
3G broadband
Content Sharing
The content sharing server uses a separate 'virtual' interface, which it grabs its IP via DHCP. It appears to use the first DHCP pool to obtain its address, it's possible to add an extra pool which just serves 10.0.0.137 (for example) for the content server.
View the IP which content sharing has on the web interface: - Home Network - Interfaces - Local Network:
To view the list of interfaces:
:eth bridge list
To remove this interface, and therefore to stop it grabbing an IP:
:eth bridge ifdetach intf virt brname bridge :eth bridge ifdelete intf virt brname bridge :saveall
If one wishes to use content sharing, the available servers are:
- CIFS server (aka SMB, Samba)
- UPNP AV server
- FTP server
The TG582n can use a USB storage device with a single partition formatted as FAT32. (Your author has not tried anything else yet)
CIFS server
The current config can be seen with
:contentsharing cifs list
If one enables the CIFS server with
:contentsharing cifs config state=enabled
then it's possible to connect to the CIFS server on the previously found IP address in any of the usual CIFS ways. Note that the CIFS server uses old LANMAN authentication - so Samba users may need to add something like:
# Be able to connect to old servers (e.g. TG582n content sharing) client lanman auth = yes client ntlmv2 auth = no
to smb.conf. It's then possible to authenticate with a router username/password - at least, the Administrator account credentials work OK.
Printer Sharing
Other pages regarding this router:
<ncl style=bullet maxdepth=5 headings=bullet headstart=2 showcats=1 showarts=1 showfirst=1>Category:Router TG582N</ncl>