LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-31-2014, 05:42 PM   #1
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Distribution: POP!_OS
Posts: 795

Rep: Reputation: 216Reputation: 216Reputation: 216
Cannot Connect to Seagate Central NAS


I have Slackware64 14.1 installed. I have a Seagate Central NAS. When I would run Ubuntu the file manager would just pick it up under its network settings, I could click, enter the password and all set.

I could also connect using this line in terminal

Code:
sftp john@Seagate-3f46d4.local
and then enter the password and I could use get and such to pull files from the server.

When I try it in Slackware (full install, XFCE as desktop) it just times out after a wait period. I have tried the local ip it has and that does not work either. I tried pinging it and nothing.

I am not so good with network things so I am lost as to what I could try next. I did try smb which works for my Bookworld unit but not the Seagate. It is definitely up and running as I can access it from the windows side. It is not critical to do as I am dual booting on this box anyway, just a quest now, one I need to solve to learn

Last edited by jkirchner; 10-31-2014 at 06:07 PM.
 
Old 10-31-2014, 07:52 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,034

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
Are you using a setup as per page 4 of this guide? (i.e. NAS connected to router with a wired ethernet cable) http://www.seagate.com/files/www-con...r-guide-us.pdf

Do you use your router as a DHCP server?

Does your Slackware setup use DHCP to get an IP address from the router? (i.e. there is an entry 'USE_DHCP[0]="yes"' in /etc/rc.d/rc.inet1.conf)

Last edited by allend; 10-31-2014 at 08:01 PM.
 
Old 10-31-2014, 08:21 PM   #3
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Distribution: POP!_OS
Posts: 795

Original Poster
Rep: Reputation: 216Reputation: 216Reputation: 216
Quote:
Originally Posted by allend View Post
Are you using a setup as per page 4 of this guide? (i.e. NAS connected to router with a wired ethernet cable) http://www.seagate.com/files/www-con...r-guide-us.pdf

Do you use your router as a DHCP server?

Does your Slackware setup use DHCP to get an IP address from the router? (i.e. there is an entry 'USE_DHCP[0]="yes"' in /etc/rc.d/rc.inet1.conf)
Yes, it is set up the way it shows in the manual, yes, I use DHCP from the router and yes Slackware uses DHCP also.

My PC is using wireless to connect to the router. Like I was saying, I was able to connect with Windows and also with Ubuntu (and Mint but it is essentially Ubuntu under the hood). I was able to use it graphically via the file manager with Ubuntu. I do not mind having to ftp or such, just odd to me (I am novice at networking stuff) that it just did not work Everything else just worked with Slackware it seemed.

Last edited by jkirchner; 10-31-2014 at 08:22 PM.
 
Old 10-31-2014, 08:33 PM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,034

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
Thanks for the details of your setup.

Can you access a web based administration page on your router from a browser in Slackware, and if so, does the NAS show as a connected device?
 
Old 10-31-2014, 08:40 PM   #5
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Distribution: POP!_OS
Posts: 795

Original Poster
Rep: Reputation: 216Reputation: 216Reputation: 216
I have not tried that as it does have an IP and all. I did (running now) toss a LinuxMint live cd in, connected to wireless, opened terminal and voila:

Code:
mint@mint ~ $ sftp john@seagate-3f46d4.local
The authenticity of host 'seagate-3f46d4.local (192.168.1.143)' can't be established.
RSA key fingerprint is ec:61:f7:b2:a0:ba:3a:4a:1f:80:f1:87:2d:5b:d2:b7.
Are you sure you want to continue connecting (yes/no)? y
Please type 'yes' or 'no': yes
Warning: Permanently added 'seagate-3f46d4.local,192.168.1.143' (RSA) to the list of known hosts.
john@seagate-3f46d4.local's password: 
Connected to seagate-3f46d4.local.
sftp>
So, it all works, just not with Slackware (yet)

I can use it and all using sftp

Code:
sftp> ls
AGK                                                                             
CourseWork                                                                      
DW Chrome Mod 1.1.zip                                                           
DW Extended Universe 1.0.zip                                                    
DistantWorldsUniverse-SetupRelease-v1950.exe                                    
DrumsOfWar-SetupRelease-100.exe                                                 
Freeciv-2.4.2-win32-sdl-setup.exe                                               
Fusion25_(En-Fr).exe                                                            
Linux                                                                           
PJ Tracks                                                                       
PandoraFC-MultiOS                                                               
Pelles                                                                          
Stardock                                                                        
TurboTax                                                                        
factorio_alpha_x64_0.9.8.tar.gz                                                 
t-engine4-linux64-1.2.3.tar.bz2                                                 
tome-235-win.zip                                                                
sftp>
****UPDATE***
Back in Slackware. I can connect using dotted quad but not the name. Here is the Slackware connection:

Code:
john@starbird:~$ sftp john@192.168.1.143
The authenticity of host '192.168.1.143 (192.168.1.143)' can't be established.
RSA key fingerprint is ec:61:f7:b2:a0:ba:3a:4a:1f:80:f1:87:2d:5b:d2:b7.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.143' (RSA) to the list of known hosts.
john@192.168.1.143's password: 
Connected to 192.168.1.143.
sftp>
I noticed earlier today when I tried it tossed a "resolver" error. Could there be a file I need to fix?

Last edited by jkirchner; 10-31-2014 at 08:48 PM.
 
Old 10-31-2014, 08:56 PM   #6
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,034

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
You are wanting to know what is different between Slackware and Windows/Ubuntu/LinuxMint.
Part of the reason of the question in post#4 was to check connectivity from your PC to the router.

In Slackware, as root, do you see your network devices with 'nmap -sn 192.168.1.1/24' ?
 
Old 10-31-2014, 09:00 PM   #7
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,034

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
Quote:
****UPDATE***
Back in Slackware. I can connect using dotted quad but not the name. Here is the Slackware connection:
..
I noticed earlier today when I tried it tossed a "resolver" error. Could there be a file I need to fix?
Perhaps there is a problem with /etc/resolv.conf. Mine looks like this
Code:
# Generated by dhcpcd from eth0
# /etc/resolv.conf.head can replace this line
domain gateway.2wire.net
nameserver 10.1.1.22
# /etc/resolv.conf.tail can replace this line
 
Old 10-31-2014, 09:02 PM   #8
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Distribution: POP!_OS
Posts: 795

Original Poster
Rep: Reputation: 216Reputation: 216Reputation: 216
Here is the nmap data:

Code:
root@starbird:/home/john# nmap -sn 192.168.1.1/24

Starting Nmap 6.40 ( http://nmap.org ) at 2014-10-31 20:59 EDT
Nmap scan report for 192.168.1.1
Host is up (0.010s latency).
MAC Address: C8:D7:19:7D:CE:E6 (Cisco Consumer Products)
Nmap scan report for 192.168.1.110
Host is up (0.086s latency).
MAC Address: 3C:77:E6:16:6F:D1 (Hon Hai Precision Ind. Co.)
Nmap scan report for 192.168.1.142
Host is up (0.065s latency).
MAC Address: 00:90:A9:82:8C:32 (Western Digital)
Nmap scan report for 192.168.1.143
Host is up (0.074s latency).
MAC Address: 00:10:75:3F:46:D4 (Maxtor)
Nmap scan report for 192.168.1.147
Host is up (0.074s latency).
MAC Address: C4:46:19:34:79:25 (Hon Hai Precision Ind. Co.)
Nmap scan report for 192.168.1.121
Host is up.
Nmap done: 256 IP addresses (6 hosts up) scanned in 3.57 seconds
My resolv.conf

Code:
# Generated by dhcpcd from wlan0
# /etc/resolv.conf.head can replace this line
nameserver 208.180.42.68
nameserver 208.180.42.100
nameserver 192.168.1.1
# /etc/resolv.conf.tail can replace this line

Last edited by jkirchner; 10-31-2014 at 09:03 PM.
 
Old 10-31-2014, 09:07 PM   #9
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,034

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
Good! All the basic networking stuff is working. It appears to be a name resolution problem. This should be done by your router if /etc/resolv.conf has been setup correctly by DHCP.
 
Old 10-31-2014, 09:15 PM   #10
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Distribution: POP!_OS
Posts: 795

Original Poster
Rep: Reputation: 216Reputation: 216Reputation: 216
I see in my resolv.conf I have three nameservers. One is obviously my router but what are the other 2? I have cable box which my router is connected to but not sure why I would show three... something is amiss though, but I can connect using the IP which is better than nothing at this point.
 
Old 10-31-2014, 09:23 PM   #11
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,034

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
Those other entries are probably the nameservers at your ISP.
You could try adding an entry to /etc/hosts so that you can use the device name.
Code:
192.168.1.143 john@seagate-3f46d4.local
 
Old 10-31-2014, 09:31 PM   #12
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Distribution: POP!_OS
Posts: 795

Original Poster
Rep: Reputation: 216Reputation: 216Reputation: 216
That did the trick, thanks

And....that also made it recognized in Thunar

Thank you so much for all your help. The whole thing taught me some basic sftp too so I cannot complain. Love to learn

Last edited by jkirchner; 10-31-2014 at 09:33 PM.
 
Old 10-31-2014, 09:45 PM   #13
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,034

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
The downside to the entry in /etc/hosts is that it will need to be updated if your NAS is assigned a new IP address.
Anyway, glad you got it working to your satisfaction.
 
Old 10-31-2014, 09:54 PM   #14
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Distribution: POP!_OS
Posts: 795

Original Poster
Rep: Reputation: 216Reputation: 216Reputation: 216
Quote:
Originally Posted by allend View Post
The downside to the entry in /etc/hosts is that it will need to be updated if your NAS is assigned a new IP address.
Anyway, glad you got it working to your satisfaction.
I thought about that too, that the NAS could get a new IP address. I am not learned enough to work it through yet why the NAS was not visible using its name as it was done in the live cd of Mint and my prior Ubuntu install. I tried Arch too and it did not see it straight off either.

To be honest, I'd rather work at it a bit than go back to using Ubuntu. It was slow compared to Slackware. I actually enjoy the way the software is managed in Slackware better too. Just simple and straightforward. Anyway, I am meandering, thanks again!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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] Reading Data from Seagate hard drive extracted from Seagate Central acct_nael Linux - Newbie 18 09-20-2018 09:20 PM
Fedora Core 14 and Seagate Central DLNA drive g4cli Linux - Newbie 6 11-10-2013 02:57 PM
Seagate BlackArmor 110 used as NAS rsheikh Linux - Server 6 01-15-2012 03:56 PM
setup home network with nas and central server holroyd Linux - Networking 4 07-17-2011 04:13 AM
[SOLVED] Can't write to Seagate Blackarmor NAS thru CIFS mount Ezplan Linux - Server 2 07-15-2010 03:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:28 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration