Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.