Forum Home
Press F1
 
Thread ID: 37128 2003-08-29 05:04:00 Networking Linux to Windows jcr1 (893) Press F1
Post ID Timestamp Content User
171575 2003-08-30 11:33:00 > I never use a GUI tool for configuring servers. Often
> they over write the plain text file taking out all
> the useful hints about how to configure your server.
> Much better to learn to edit the configuration file
> directly.
I actually wondered if that might be the case, having got into computers late I'm a child of GUI's, so to speak, but maybe an effort of will to edit a configuration file directly is what I should be doing.
What's your favourite editor? I got so frustrated with vim.
jcr1 (893)
171576 2003-08-30 11:55:00 I use mcedit from the command prompt or just gedit in Xwindows. Redhat 9 is my only OS on my home machine so I have the GUI going most of the time - so gedit is the one!

As a network admin person it would be important to be able to use vi proficiently as there may be no easier text editior installed. For other people - choose an easier text editor!

John
JohnD (509)
171577 2003-08-30 13:32:00 vi is pretty easy for the most of it.

I'm glad that Kal showed me it and only it when I was starting.

Hit Insert to begin editing, and hit Esc to stop

then type a colon to bring up the commands (a lil line down the bottom)
you can then do:
w
for write file
q
for quit
w!filename
will write to a secondary filename
q! will quit without saving changes!

Give it a shot, its really easy when you get used to it! You'll thank yourself in the long term for not beign afraid of the CLI :-)

Good luck

Cheers


Chill.
Chilling_Silently (228)
171578 2003-08-31 01:47:00 Hitting ESC to stop. That's what eluded me!! I was trying all those other commands & wasn't getting anywhere, except major annoyance.
Now all I have to do is figure out how to get samba onto my machine; it'll probably be a day or two before Libranet support replies. But there might be some other things I could try.
jcr1 (893)
171579 2003-08-31 03:38:00 I finally got Samba installed, figured it out without Libranet support.
There were some unmet dependancies on unrelated programmes that had to be sorted before the install from the Libranet CD's would work.
I ran apt-get update, then got a message when I tried to run apt-get upgrade that these dependancies should be fixed & advised me to run -f install, which I did & it worked.
Now, all I need to do is set up Samba, next challenge.
jcr1 (893)
171580 2003-08-31 05:10:00 Try joe as an easy editor. Ctrl/H gives you help, Ctrl/C quits without saving, Ctrl/K/X exits with save. Graham L (2)
171581 2003-08-31 11:35:00 I might be making progress. Using vim (take note chill & John D) I set the global parameters and ran "testparm" which gave me a dump of service definitions. Then used command "/etc/init.d/samba start" to start the Samba daemons: nmbd smbd, which appeared to work (this is the debian command to start Samba).
Trouble is I don't know where to go next. How do I get to view those files on the XP machine?
jcr1 (893)
171582 2003-08-31 11:48:00 Make a samba user with smbadduser - make the same user and password as your Linux user. Restart samba. YOu should be able to login on the Windows PC with the same login and password and access the Linux samba server.

YOu may have to check the version of samba you are using - I have not used WinXP yet but have a feeling you might need to have one of the latest version to get it to work?

John
JohnD (509)
171583 2003-08-31 12:37:00 Networkkng with XP works fine with 2.x and/or 3 Beta!

Well.. So far 3 Beta seems fine for me ;-)
Chilling_Silently (228)
171584 2003-08-31 21:00:00 Thanks John D & Chill for keeping on my case.
I'm pretty sure my version is 2.2xx, but how would I check that?
Other thing is, where do I find smbadduser? I found smbpasswd, but that looked like it wasn't meant to be altered (by the likes of me anyway).
I feel as if I'm making progress but still have a way to go.
jcr1 (893)
1 2 3