LinuxQuestions.org
Review your favorite Linux distribution.
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 07-26-2014, 04:15 AM   #1
alinghi
LQ Newbie
 
Registered: Jul 2014
Posts: 4

Rep: Reputation: Disabled
Question Problem with network share


Hello, first of all sorry about my bad english.

Ok, long time windows user (15 years), and decided to try learn linux.

Got and old pc with 2 HD's and setup Debian Squeeze (as per friend recomendation). I know it's not the newest.

I've been playin with it for the last two days, but i'm stuck.

I plan run an ftp on it.

so, as i was saying, it's an old pc. All onboard, with an 500 GB and a 4TB on it.

I did a fresh install of debian using debian-6.0.9-amd64-netinst.iso.

Ive not touched any option during the setup, mostly default option, gui installed, no extra options like SSH or file server installed.

My network works this way:

ISP modem > Airport Extreme router > switch > desktop (win7) > Debian

note: Airport gives ip's to the machines using their MAC ADRESS per rules set on it.

Debian get the ip fine and i have connection to internet.

As im newbie, i don't wanna setup most of the stuff now, i really wanna learn to do stuff.

So, i go to Places > Network and i can't see my windows share there. I have a windows Network there, but i click it and nothing there.

If i try alt + f2 to connect using samba (smb://mydesktopip) i got this:

Could not open location 'smb://mydesktopip/'

Failed to retrieve share list from server.


During Debian install, ive setup the workgroup to WORKGROUP, with is the same of my desktop machine.

I can see debian machine from Windows network.

I can ping desktop ip from debian, and it pings fine.

So i've started to "google" around. There's a lot of talk about samba, it's installed, but i don't think that what i'm looking for.

All i want is access the windows share from debian, so i can start move to the big HD.

I've tried this command:

/usr/bin/smbclient -L host

and got this error:

Connection to host failed (Error NT_STATUS_BAD_NETWORK_NAME)

And here i'm. I'm stuck, i can't see my widnows HD on debian, nor can't connect to it via SMB://

Is there a way i can fix it ?

I believe i'm doing something wrong here, can u guys plz help me ?
 
Old 07-27-2014, 09:08 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 11,677
Blog Entries: 12

Rep: Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901
You've really given us very little concrete information. I am assuming the computers are not in a Windows domain structure.

Samba is a Linux program that enables Linux shares to be visible to Windows machines. To make it work, you must
  • configure your smb.conf file, which governs Samba's behavior,
  • mark the directory(ies) to be shared as "shared" in the directory permissions,
  • configure the smbpasswd file , and
  • start the Samba server process (smbd).

This may help: Samba by Example.
 
  


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
Wireless network share mount problem blues2use Linux - Networking 2 07-20-2009 09:09 PM
Network Share problem, please help! columbo1977 Linux - Networking 6 05-24-2008 07:57 AM
Problem mounting network share leupi Ubuntu 4 10-31-2006 02:28 PM


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