Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 15th, 2003, 12:45 PM
Kerry-Jane Kerry-Jane is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 2 Kerry-Jane User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to Kerry-Jane
Unhappy Can Anyone Help Me Please?????

I've been given an impossible task by my boss at work
I have been asked to learn Perl. I am not incredibly brilliant with computers so it's proving to be a bit of a struggle.

I have a base unit from work with Mandrake 9 installed which I have connected to my router. I need to be able to access the base unit through my own PC which is Windows XP Pro.

The problem I am having is that I cannot connect to the base unit to my PC. They both see one another via pinging but XP keeps asking me for a user name and password when I'm trying to connect through network places. The username and password on the base unit or root password don't work

Can anybody give me any help here pleeeeeeeeeaaaaaaaassssssssseeeeeeeeee?

I know it's cheeky to ask but if anyone would possibly be prepared to help a desperate girl out I'd really appreciate it.

Reply With Quote
  #2  
Old March 15th, 2003, 12:49 PM
a.koepke's Avatar
a.koepke a.koepke is offline
Second highest poster :p
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Jul 2001
Posts: 7,323 a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 8 h 8 m 45 sec
Reputation Power: 27
I guess you have setup Samba to do the Windows networking.... have you got the latest version? The Windows XP SMB Protocol is different to the other versions of windows so you need to ensure it has correct support for it. Also make sure that encrypted passwords are on in samba. You also need to create a user and password for samba seperately to your unix login.

Reply With Quote
  #3  
Old March 15th, 2003, 12:55 PM
Kerry-Jane Kerry-Jane is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 2 Kerry-Jane User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to Kerry-Jane
Thanks for your very speedy reply.
To be honest with you, the base unit was set up for me installed with Linux, and I was basically packed off for the weekend to learn Perl! ARGH! I have been out and bought Linux for dummies and Linux unleashed books but Im' not sure how to set up Samba

I could do with someone who could perhaps chat with me on line via MSN or Yahoo? Would you be willing to do that?

KJ

Reply With Quote
  #4  
Old March 15th, 2003, 01:08 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
Sounds like Samba is already setup. (it would not prompt for a password else)
You have to login to the linux server as root (via telnet, ssh or on the local console). then you can use:

smbpasswd -a <username> <password>

to set the password for samba. they can be different from the unix logins (!).

Learning perl over the weekend is IMHO impossible. Unless you are *very* *very* experienced in C or PHP and unix (sed/awk/grep would help).
You can get your hands on it in that time, but probably not much more...

for further setup of samba, edit /etc/inetd.conf and activate the line with "swat" and restart inetd (killall -HUP inetd). then you can access the configuration program in your browser via "http://linuxserver:901". There you can make Shares for your cgi-bin directory for easy access. And there you can change passwords too...

M.
__________________
--
Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more.

Reply With Quote
  #5  
Old March 15th, 2003, 01:34 PM
dwise1_aol's Avatar
dwise1_aol dwise1_aol is offline
Contributing User
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jan 2003
Location: USA
Posts: 3,836 dwise1_aol User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)dwise1_aol User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)dwise1_aol User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)dwise1_aol User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)dwise1_aol User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)dwise1_aol User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)dwise1_aol User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)dwise1_aol User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)dwise1_aol User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)dwise1_aol User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)dwise1_aol User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 7 h 28 sec
Reputation Power: 446
PMFJI, but it looks like you have a Linux system set up at work and you need to use your XP at home as a workstation to connect to it.

Using Samba would only allow you to access your own Linux user directories on the Linux server, but only using the software on your XP machine. It would not allow you to run the perl on the Linux machine on your XP.

For that, you would need to telnet or ssh into the Linux system using your user name and password. Please note that you are not allowed to telnet in as root, though I think you can ssh in as root.

However, if the objective is for you to learn Perl (sorry, I do not believe that one weekend is enough), then you should be able to write perl scripts and run them as a mere user, so changing to root (su - command) would not be needed. But be aware that telnet will only get you to a command-line shell (similar-to but much more powerful than DOS, though a bit less user-friendly to the uninitiated), so you would also need to use a text-based editor like vi. (I just heard a lot of people cringing) Personally, I like vi and often use it in DOS as well, but again it can seem daunting to the unitiated.

For that matter, if the only objective is to learn Perl, then you should be able to work with the Win32 port of Perl that ActiveState distributes for free. I've been using it on Win98/WinME/Win2000 for a few years and I am not aware of any problems the latest version has with XP. The advantage of this approach is that you could use the editors on your XP that you are already comfortable with and then run the script in a DOS window.

You say that you are "not incredibly brilliant with computers". Have you programmed before? A lot of Perl syntax comes from C, which is also true of Java and Javascript. Perl also incorporated a lot from Unix shell programming, especially in the special uses for the different kinds of quotes (" vs ' vs `), such as the idea of inserting the value for a variable where it is used in a double-quoted string. Other than that, getting used to scalars ($something) vs lists (@list_o_things) vs hashes (%named_pairs) is the major conceptual hurdle. Besides the special variables (eg, $_, $?, etc) and the use of default variables ($_ and @_).

I do like Perl and find it very useful for writing utility scripts to process through ASCII data files (such as we generate during equipment tests).

Good luck with your assignment.

Reply With Quote
  #6  
Old March 15th, 2003, 03:54 PM
StealthElephant's Avatar
StealthElephant StealthElephant is offline
Shes dancing (obviously)
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2002
Location: the far side
Posts: 526 StealthElephant User rank is Corporal (100 - 500 Reputation Level)StealthElephant User rank is Corporal (100 - 500 Reputation Level)StealthElephant User rank is Corporal (100 - 500 Reputation Level)StealthElephant User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 h 14 m 22 sec
Reputation Power: 8
please read the rulz b4 u post here.
RULES
__________________

microsofts butterfly is their way off telling u their systems have a **** load of buggs
Advocating Linux Guide
Lesbian Linux
Great & Practical Computer Books

like the links?

Reply With Quote
  #7  
Old March 15th, 2003, 04:01 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
Thank you, I was already waiting for that...
Impossible that three guys respond nicely just because she said in her first post that she is a "girl in desperate need of help"...

funny, ainīt it?

Reply With Quote
  #8  
Old March 16th, 2003, 12:23 AM
a.koepke's Avatar
a.koepke a.koepke is offline
Second highest poster :p
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Jul 2001
Posts: 7,323 a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level)a.koepke User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 8 h 8 m 45 sec
Reputation Power: 27
Well those rules are from the PHP forum. Not everyone goes to the PHP forum so that is why i didnt mention it. You cant really flame someone for not reading the rules if they cant see them. In the PHP forum they are at the top of the forum and hard to miss, (yet easy to ignore ). I think those rules need to be edited so they are a bit less PHP specific and posted as a sticky in each forum, including Troll Land aka Beginners Forum

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > Can Anyone Help Me Please?????


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway