LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-31-2011, 01:43 PM   #1
sfxer
LQ Newbie
 
Registered: Dec 2011
Posts: 3

Rep: Reputation: Disabled
Debian as a server - cant access shares unless I login?


Hello,
I am using the latest version of debain on my proliant ml110 and am in need of a little help -

I have used ubuntu previously and I could access all the smb shares on the server when ubuntu was just sat at the login screen. (I use a desktop gui on my server for ease of use)

With debian I am unable to access anything untill I login locally? I'm pretty sure I was unable to ping the server either untill logged in.

Aside from configuring samba for my shares I have not changed anything else.

Any ideas?

Many thanks
 
Old 12-31-2011, 02:10 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
That seems odd. If you're not able to ping the machine then the remote shares won't work. Is it possible that the system is going to sleep when inactive? If so, you should be able to turn that off. Can you ssh to the server and make sure that smbd is running? If the machine has no network connectivity, though, then this will be a problem. Can you post the contents of /etc/network/interfaces so we can see how the network is supposed to be configured on boot?
 
Old 12-31-2011, 02:30 PM   #3
sfxer
LQ Newbie
 
Registered: Dec 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hello,
Thanks for the prompt reply.

The issue happens as soon as I boot so its not that the machine is going to sleep or anything.

I am currently copying a lot of data form the server but once complete I will log out and test the ping again.

here is my interfaces file -

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
#NetworkManager#iface eth0 inet dhcp

------

I did make a change earlier on which was in the gui for network connection 1, I ticked the box 'available to all users' I dont think that will have made any difference though would it? I was going to test and untick it after these file transfers have finished.

thanks again for the help, hope you have some more ideas for me!

Last edited by sfxer; 12-31-2011 at 02:33 PM.
 
Old 12-31-2011, 05:49 PM   #4
peonuser
Member
 
Registered: Mar 2008
Location: Where ever I am.
Distribution: Various
Posts: 177
Blog Entries: 169

Rep: Reputation: 21
the networking if properly setup should not affect access. You still have to have some kind of authentication no matter what. The only thing I can surmise is that credentials were established on the ubuntu box so you did not have to deal with logging in. I run debian squeeze and you do not have to deal with the main console to have access. It pretty much runs headless. But, then I have both openssh-server and ssh installed. Debian is allegedly a bit more secure than ubuntu. It might be interesting to see what your Debian box supports in terms of file access protocol and what the firewall setup is.
 
Old 12-31-2011, 09:23 PM   #5
sfxer
LQ Newbie
 
Registered: Dec 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
I re-did my network file with the proper static address and it seems to be ok now.

seems the gui for network manager didnt apply the settings until after login. (or something like that!)

I re-did it using gedit and now it seems I can connect to shares and ping while debian sits at the login screen.

thanks for the replys

Happy New year
 
Old 01-02-2012, 03:32 AM   #6
peonuser
Member
 
Registered: Mar 2008
Location: Where ever I am.
Distribution: Various
Posts: 177
Blog Entries: 169

Rep: Reputation: 21
Gui does not look at the "interfaces" file anymore under ubuntu. So much for the tradtional ascii files being the heart of linux. To me that is less than intelligent. XML is crap.
 
  


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
Debian - File Access Monitoring (Samba shares) WarKirby Linux - Server 4 09-17-2010 06:25 AM
Unable to see shares on samba server - no authentication access desired (open access) neoelf Linux - Networking 1 06-14-2009 03:18 PM
Create login script to access shares on windows servers from ubuntu 8.10 steeleweb Linux - Newbie 2 06-02-2009 11:46 AM
Using Active Directory Login on Ubuntu to access Windows Shares akafb Linux - Networking 1 12-18-2008 07:53 PM
Debian proxy server: can't access shares across gateways Mr. Phukkitt Linux - Networking 0 01-21-2004 01:36 PM


All times are GMT -5. The time now is 07:26 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