LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-22-2020, 07:21 AM   #1
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
Thumbs up USB Network Server - setup help please


I have an NJ01JZ 4 Port USB Gigabit Network Server, bought from Maplins many years ago.

I've never managed to install it despite DuckDuckGoing for a solution, so I'd welcome some tips on how to do this on a Linux Mint 19.1 machine
Attached Thumbnails
Click image for larger version

Name:	IMG_4111.JPG
Views:	27
Size:	86.3 KB
ID:	33479   Click image for larger version

Name:	IMG_4112.JPG
Views:	31
Size:	83.6 KB
ID:	33480   Click image for larger version

Name:	IMG_4113.JPG
Views:	27
Size:	85.5 KB
ID:	33481   Click image for larger version

Name:	IMG_4114.JPG
Views:	25
Size:	87.3 KB
ID:	33482   Click image for larger version

Name:	IMG_4115.JPG
Views:	27
Size:	108.7 KB
ID:	33483  

 
Old 06-22-2020, 08:54 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,153

Rep: Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265
What happens when you try to install the deb?
 
Old 06-22-2020, 09:17 AM   #3
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026

Original Poster
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by smallpond View Post
What happens when you try to install the deb?
Well that's the problem, I don't know what to install, the device did not come with a disk or any instructions for Linux, and a web search hasn't helped.

I have no idea what the devices IP address is or whether it has one. Or a MAC address even.
 
Old 06-22-2020, 11:29 PM   #4
obobskivich
Member
 
Registered: Jun 2020
Posts: 596

Rep: Reputation: Disabled
When you add it to your network, what does your DHCP server say? (hoping your network doesn't have a lot of devices so it should be easy to spot the 'new addition') That may at least be a start to figuring out its IP - maybe it has a web UI if you try to navigate to that IP in a browser.
 
1 members found this post helpful.
Old 06-24-2020, 12:49 PM   #5
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026

Original Poster
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by obobskivich View Post
When you add it to your network, what does your DHCP server say? (hoping your network doesn't have a lot of devices so it should be easy to spot the 'new addition') That may at least be a start to figuring out its IP - maybe it has a web UI if you try to navigate to that IP in a browser.
I'll give that go and let you know
 
Old 12-06-2020, 09:42 AM   #6
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026

Original Poster
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
Six months on I finally got around to doing something on this USB Network server.

It's IP address is 192.168.1.98 so opening that in a web browser showed this - see attachments

So how can I use it - I would like to use it as a NAS and as a print server

I would like to attach my HP Deskjet 930c via it's usb port and attach a usb external drive.

BNot sure where to go next despite a quick ddg session
Attached Thumbnails
Click image for larger version

Name:	USB1.png
Views:	12
Size:	98.1 KB
ID:	34774   Click image for larger version

Name:	USB2.png
Views:	13
Size:	89.7 KB
ID:	34775  
 
Old 12-06-2020, 09:44 AM   #7
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026

Original Poster
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
*** update ****

I plugged a usb stick into the server, and I can see it - it's device 2 - how do I access it - samba?
Attached Thumbnails
Click image for larger version

Name:	USB3.png
Views:	10
Size:	101.8 KB
ID:	34776  
 
Old 12-06-2020, 10:21 AM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,763

Rep: Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931
Either the device requires drivers and if so using it with linux is probably not going to happen or it doesn't.

I would try plugging in a USB drive, either formatted as FAT32 or NTFS and see what happens. Which you have already accomplished. I would think the drive would be recognized and displayed on the web page. Use nmap to see what common ports are open if any particularly SMB/CIFS. If so you can check with smbclient to see the share names, it might be somewhat usable although it probably uses SMB version 1 which has been deprecated and removed in recent versions of samba.

The same would be true of the printer. Check ports like 9100 which you could set directly with cups or the print wizard.

Last edited by michaelk; 12-06-2020 at 10:22 AM.
 
1 members found this post helpful.
Old 12-06-2020, 11:53 AM   #9
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026

Original Poster
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by michaelk View Post
Either the device requires drivers and if so using it with linux is probably not going to happen or it doesn't.

I would try plugging in a USB drive, either formatted as FAT32 or NTFS and see what happens. Which you have already accomplished. I would think the drive would be recognized and displayed on the web page. Use nmap to see what common ports are open if any particularly SMB/CIFS. If so you can check with smbclient to see the share names, it might be somewhat usable although it probably uses SMB version 1 which has been deprecated and removed in recent versions of samba.

The same would be true of the printer. Check ports like 9100 which you could set directly with cups or the print wizard.
Good start
Code:
 sudo nmap 192.168.1.98
Starting Nmap 7.80 ( https://nmap.org ) at 2020-12-06 17:20 GMT
Nmap scan report for Unknown-00-0a-eb-f3-7d-b3.home (192.168.1.98)
Host is up (0.00021s latency).
Not shown: 998 filtered ports
PORT    STATE SERVICE
80/tcp  open  http
515/tcp open  printer
MAC Address: 00:0A:EB:F3:7D:B3 (Tp-link Technologies)

Nmap done: 1 IP address (1 host up) scanned in 4.36 seconds
jonke@charlie:~$
So I could configure cups to use port 515 I think - these are the commonly used ports:
Code:
  • 21 – FTP
  • 22 – SSH
  • 25 – SMTP (sending email)
  • 53 – DNS (domain name service)
  • 80 – HTTP (web server)
  • 110 – POP3 (email inbox)
  • 123 – NTP (Network Time Protocol)
  • 143 – IMAP (email inbox)
  • 443 – HTTPS (secure web server)
  • 465 – SMTPS (send secure email)
  • 631 – CUPS (print server)
  • 993 – IMAPS (secure email inbox)
  • 995 – POP3 (secure email inbox)
631 is the usual cups port


I've also added my printer(see attached image) and I've installed hplip hplip-gui:
Code:
~$ sudo apt install hplip hplip-gui
Reading package lists... Done
Building dependency tree       
Reading state information... Done
hplip is already the newest version (3.20.3+dfsg0-2).
The following additional packages will be installed:
  python3-dbus.mainloop.pyqt5 python3-notify2
The following NEW packages will be installed
  hplip-gui python3-dbus.mainloop.pyqt5 python3-notify2
0 to upgrade, 3 to newly install, 0 to remove and 111 not to upgrade.
Need to get 46.9 kB of archives.
After this operation, 261 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://archive.ubuntu.com/ubuntu focal/universe amd64 python3-dbus.mainloop.pyqt5 amd64 5.14.1+dfsg-3build1 [16.8 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal/universe amd64 hplip-gui all 3.20.3+dfsg0-2 [19.1 kB]
Get:3 http://archive.ubuntu.com/ubuntu focal/universe amd64 python3-notify2 all 0.3-4 [11.0 kB]
Fetched 46.9 kB in 0s (403 kB/s)           
Selecting previously unselected package python3-dbus.mainloop.pyqt5.
(Reading database ... 395798 files and directories currently installed.)
Preparing to unpack .../python3-dbus.mainloop.pyqt5_5.14.1+dfsg-3build1_amd64.deb ..
.
Unpacking python3-dbus.mainloop.pyqt5 (5.14.1+dfsg-3build1) ...
Selecting previously unselected package hplip-gui.
Preparing to unpack .../hplip-gui_3.20.3+dfsg0-2_all.deb ...
Unpacking hplip-gui (3.20.3+dfsg0-2) ...
Selecting previously unselected package python3-notify2.
Preparing to unpack .../python3-notify2_0.3-4_all.deb ...
Unpacking python3-notify2 (0.3-4) ...
Setting up python3-dbus.mainloop.pyqt5 (5.14.1+dfsg-3build1) ...
Setting up hplip-gui (3.20.3+dfsg0-2) ...
Setting up python3-notify2 (0.3-4) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for desktop-file-utils (0.24+linuxmint1) ...
jonke@charlie:~$
All good so far now to find the network printer
Code:
hp-setup 192.168.1.98

HP Linux Imaging and Printing System (ver. 3.20.3)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

qt5ct: using qt5ct plugin
Searching for device...
error:  Device not found.   Please make sure your printer is properly connected and powered-on.
This might be a firewall problem
Code:
$ sudo ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip
jonke@charlie:~$
Don't I need to open the printer port ?
Attached Thumbnails
Click image for larger version

Name:	Network-printer1.png
Views:	9
Size:	154.2 KB
ID:	34777  
 
Old 12-06-2020, 12:34 PM   #10
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026

Original Poster
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
Wink

I went through the setup wizard and waited for it to discover the network printer - last time I didn't wait long enough and cancelled it, this time it discovered it and I followed through the next next options, selecting desklet 930c on the way and it's online now.

Next step - install it on my other machines, any tips on what I could copy file wise to speed up installing it or do I just go through the wizard each time. Luckily I only have four machines, but what if I had a hundred? I know there must be a way to push this out to all.

Also I plan to hang this off the router so it should just work shouldn't it?

I'll wait for few replies and then mark as solved.
Attached Thumbnails
Click image for larger version

Name:	Network-printer3.png
Views:	10
Size:	22.9 KB
ID:	34778  
 
Old 12-06-2020, 12:52 PM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,763

Rep: Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931
Check the URL generated and you can manually add it on the others.

Since 515 port is the old lpd printer protocol it worked. Since the samba ports did not show up not sure unless the is some additional config setup on the device.

Last edited by michaelk; 12-06-2020 at 12:58 PM.
 
Old 12-06-2020, 01:18 PM   #12
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026

Original Poster
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
Update, just ran through the Add Printer wizard

Find Network Printer
(this takes quite a few minutes)
Probe
LPD/LPR Queue 'PASSTHRU'
Forward
Search for drivers
HP
Forward
Deskjet 930c (yes I know it's old but it works)
Forward
Print test page


Job done
Simples
 
Old 12-06-2020, 03:43 PM   #13
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026

Original Poster
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by michaelk View Post
Check the URL generated and you can manually add it on the others.

Since 515 port is the old lpd printer protocol it worked. Since the samba ports did not show up not sure unless the is some additional config setup on the device.
There is no s/w to configure the device, not that I've found yet
 
Old 12-07-2020, 06:53 AM   #14
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026

Original Poster
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
I was going to buy a print server like this one - saved myself £63!!!
Attached Thumbnails
Click image for larger version

Name:	PrinServer.png
Views:	7
Size:	198.3 KB
ID:	34790  
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] server not working anymore with local network... please, please HELP! masavini Linux - Networking 17 07-12-2014 02:37 PM
Help on setup of fedora 20 as a router from nic setup to firewalld setup Brian1 Linux - Networking 4 07-02-2014 08:53 PM
setup for official Laptop. (Admin setup in server and user account setup in lap) vignesh4sh Linux - Server 3 11-26-2012 07:03 AM
Samba Help Please!!!! Please !!!! Please!!! Snake007uk Linux - Networking 18 07-10-2002 01:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration