LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-28-2001, 12:26 PM   #1
dragonflyer
LQ Newbie
 
Registered: May 2001
Posts: 3

Rep: Reputation: 0

Hi there,

I am trying to create a local development area with specs just like a regular ISP.

This is what i got:
1 Linux --with apache, PHP and Mysql installed and running (this is my server/host)
2 Samba installed and it's working on the linux-pc
3 Two win98 and two winME pc's (these are the clients).
4 A working network enviroment, including the linux-pc (that is i can ping and i can browse with my client-pc's)

This is what i want:
1 To be able to use WS_FTP to transfer file to my server (and to the other clients), just like i would do with a ISP.
My problem
I can't ftp> nameLinuxPc Why is that?

2 To get Samba working on my clients.
My problem:
1 In dos-mode: net view \\mylinux-pc, i get something like "the given password is incorrect..." So how do i set the right password on my windows-pc?


Thanks in advanced,
Dragonflyer
 
Old 05-28-2001, 05:48 PM   #2
Breezwell
Member
 
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214

Rep: Reputation: 30
If you are FTPing into a machine, you must provide a username and password of an established user that is on the machine you are FTPping into. Otherwise, the server wont recognize you as a valid user. Also make sure the services are properly enabled in /etc/services.

For Samba, if you are trying to access a share on a Linux box from a Window$ machine, I have found that it is necessary to be logged into Windows with a username and password that is also present on the Linux machine under the smbpasswd file. Basically I did the following on the Linux box:

1. Create a general user and password account.
2. Create the share in Samba and give the shares access rights.
3. Make sure to enable encrypt passwords in the [global] section.
4. Add the name of the user and password you created to the smbpasswd file as follows:
./smbpasswd -a <username>
You will then be prompted for the corresponding password.
5. Make sure you restart inetd with following command:
killall -HUP inetd

You should now be able to connect to your Linux box.
Sometims I have found that it is necessary to do a complete reboot of both Linux and Windows systems to get this to work.

Hope this helps a little.
I have found the O'Reilly book "Using Samba" to be very well written and helpful.

Good luck....

 
Old 05-29-2001, 03:18 AM   #3
dragonflyer
LQ Newbie
 
Registered: May 2001
Posts: 3

Original Poster
Rep: Reputation: 0
Thx Breezwell,

I wil try your solution and let you know.

Thanks
 
  


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
Samba, FTP, HTTP, or what? TuxFreak Linux - Software 39 10-26-2004 08:09 PM
FTP/samba woes... plisken Linux - General 7 07-11-2003 02:10 PM
Going mad with FTP and Samba bananaman Linux - Newbie 13 04-24-2003 11:46 AM
Samba and FTP help tenn_eric Linux - Software 0 07-21-2002 09:31 PM
Upload problems using FTP and Samba kubokok Linux - Networking 0 01-18-2002 03:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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