LinuxQuestions.org
Visit Jeremy's Blog.
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 12-10-2014, 03:50 PM   #46
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,938

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520

Not necessarily, Are you using the same IP address? They must be unique.
samba may or may not be running so can not say if the crash was due to non unique net bios names.
 
Old 12-10-2014, 04:12 PM   #47
nuttyteacher
LQ Newbie
 
Registered: Dec 2014
Location: georgia
Distribution: ubuntu, mint
Posts: 27

Original Poster
Rep: Reputation: Disabled
Oh my goodness!!!Oh my goodness!Oh my goodness!Oh my goodness!Oh my goodness!Oh my goodness!Oh my goodness!Oh my goodness!Oh my goodness!Oh my goodness!Oh my goodness!Oh my goodness!Oh my goodness!Oh my goodness!Oh my goodness!Oh my goodness!Oh my goodness!Oh my goodness!Oh my goodness!Oh my goodness!Oh my goodness!Oh my goodness!Oh my goodness!Oh my goodness!

I can see my win98 computers on the network!!!!

Awesome!!!!

I played around with the IPV4 thing. What is that anyway?
 
Old 12-10-2014, 04:15 PM   #48
nuttyteacher
LQ Newbie
 
Registered: Dec 2014
Location: georgia
Distribution: ubuntu, mint
Posts: 27

Original Poster
Rep: Reputation: Disabled
Also, i can see win98 computers from linux, what do i need to do to see the share folders from windows
 
Old 12-10-2014, 04:19 PM   #49
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,027

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
no matter what os you are using, you would need a samba-client to connect to a samba-server.
also,
you need to configure a samba-server in order for samba-clients to be able to connect to it.

edit: i misunderstood your question above... someone who knows windows will need to answer.

ipv4 is just a basic ip-address. tcp/ip networking depends on these routing addresses. before your server had no address therefore none of the clients were able to route to it.

Last edited by schneidz; 12-10-2014 at 04:28 PM.
 
Old 12-10-2014, 04:40 PM   #50
nuttyteacher
LQ Newbie
 
Registered: Dec 2014
Location: georgia
Distribution: ubuntu, mint
Posts: 27

Original Poster
Rep: Reputation: Disabled
rtmistler, you wrote

Quote:
[global]
log file = /home/users/share/logs/smb-log.%m
max log size = 1000

[common]
path = /home/users/share/common
available = yes
read only = no
browsable = yes
writable = yes
guest ok = yes
create mask = 0644


What does

"create mask=0644"
The command browsable above, what does this do exactly?
 
Old 12-10-2014, 04:49 PM   #51
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,938

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
I assume you are using the file browser (nautilus) to see the W98 computers. It has a built in SMB/CIFS client. Setting up the server so the W98 computers see the linux box takes a bit more work. I believe that you already installed samba.

As suggest earlier add a share to your /etc/samba/smb.conf file
Quote:
[f]
path = /mnt/f-drive
browseable = yes
read only = no
writable = yes
guest ok = yes
create mask = 0644
As stated the netbios names can not be the same so you might want to add
netbios name = main-1 (or whatever to de-conflict with the w98 main box in the global section of the smb.conf file)

Create the /mnt/f-drive directory and to make things a bit easier:
sudo mkdir /mnt/f-drive
sudo chmod 777 /mnt/f-drive

Browseable just makes the share visible in network neighbourhood.

Also make sure the workgroup name is the same as your W98 boxes.
Restart samba.

Last edited by michaelk; 12-10-2014 at 05:02 PM. Reason: PS
 
Old 12-10-2014, 07:50 PM   #52
nuttyteacher
LQ Newbie
 
Registered: Dec 2014
Location: georgia
Distribution: ubuntu, mint
Posts: 27

Original Poster
Rep: Reputation: Disabled
ok thanks for all the help. Just to clarify, i reinstalled linux mint over the ubuntu becaue one of the senior advisors said it might be easier for me to understand. i will try all the suggestions on friday as tomorrow i will be tending to a sick baby. I think i might install linux mint on my new laptop just to get more accustomed to linux,
 
Old 12-10-2014, 08:07 PM   #53
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,938

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
mint is based upon Ubuntu so there should not be a lot of difference under the desktop so to speak. It is also #1 on the distrowatch.com list which probably does not mean much to you at the moment. mint is touted as a desktop distribution although you can easily install samba which is all you really need at the moment.

Report back when you get it installed.
 
Old 12-10-2014, 11:39 PM   #54
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 671

Rep: Reputation: 46
Tldr

My suggestion though is to install the graphical version of ubuntu or one of its derivatives. Then just create a windows share using the gui. I believe this is very straight forward.
 
Old 12-11-2014, 12:26 AM   #55
Soapm
Member
 
Registered: Dec 2012
Posts: 180

Rep: Reputation: Disabled
Quote:
Originally Posted by nuttyteacher View Post
ok thanks for all the help. Just to clarify, i reinstalled linux mint over the ubuntu becaue one of the senior advisors said it might be easier for me to understand. i will try all the suggestions on friday as tomorrow i will be tending to a sick baby. I think i might install linux mint on my new laptop just to get more accustomed to linux,
That's called HOOKED!!! Welcome to the Linux family of users...

For a guy still using Win98, you're going to love Linux cut it'll run until the machine dies...
 
Old 12-11-2014, 07:29 AM   #56
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 4,096
Blog Entries: 10

Rep: Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522
Quote:
Originally Posted by nuttyteacher View Post
I think we are on to something! My win98 server just crashed when i changed the ipv4 setting. the old blue screen of death. I think it did this because the name of my linux machine is "main" and my server is also "main".
No .... this is normal Windows behavior. I have to admit, they seemed to get rid of the BSOD in Windows7; instead they just put the whole system to sleep for about 15 minutes before it decides to work again.
From reading the other posts beyond this one. Great, you got the network working, and are now configuring sharing via SAMBA. And have been answered about browseable.

As far as MINT vs Ubuntu, it's already been said that they are the same (internally) just different UI's mostly. But try to stick with what you have for now and once you solve your network problem, you could then dual boot and choose whichever one you prefer better. Between Ubuntu and MINT, this problem is resolve-able and also little different between the two as far as how it gets solved. Therefore keep one distro now to get to the point you wish to be, and then vary in the future. And yes, also install the full UI version, which is the most normal case, for most of the distros you'd have to do extra to limit them to be command line. MINT and Ubuntu natively install as full UI desktops.

Curious if the class is technical, computer science, or instead you just use the files for examples/other and they really need to stay in the Windows convention. For instance, say the class is all about how to use Microsoft Word/Excel/Powerpoint. Then yeah ... Windows on all those other machines needs to stay. If the class is about web access, browsing and how to know stuff about HTML pages, or if the class is about programming, you might want to consider moving the remote stations also to Linux. Or it may be that you have a highly specific W98 application which runs the shared files, like scientific software or CAD, again that would restrict things. Still, might be worth staging possible upgrade scenarios, because I'm thinking that over time some of those old workstations may end up failing too.

Last edited by rtmistler; 12-11-2014 at 07:31 AM.
 
Old 12-12-2014, 09:51 AM   #57
nuttyteacher
LQ Newbie
 
Registered: Dec 2014
Location: georgia
Distribution: ubuntu, mint
Posts: 27

Original Poster
Rep: Reputation: Disabled
Awesome!!! It's working!!It's working!!It's working!!
Now I can see the share from my win98 computers!! I thought I would have to have an actual drive partition of F: because this is how I have it set up on my current system. But i don't even have to have a partitioned drive.

It works! I'm not really sure how it works, but it works!

I started seeing the linux share on my win98 computers when I did what michaelK suggested:

Quote:
Originally Posted by michaelk View Post
I assume you are using the file browser (nautilus) to see the W98 computers. It has a built in SMB/CIFS client. Setting up the server so the W98 computers see the linux box takes a bit more work. I believe that you already installed samba.

As suggest earlier add a share to your /etc/samba/smb.conf file


As stated the netbios names can not be the same so you might want to add
netbios name = main-1 (or whatever to de-conflict with the w98 main box in the global section of the smb.conf file)

Create the /mnt/f-drive directory and to make things a bit easier:
sudo mkdir /mnt/f-drive
sudo chmod 777 /mnt/f-drive

Browseable just makes the share visible in network neighbourhood.

Also make sure the workgroup name is the same as your W98 boxes.
Restart samba.
 
Old 12-12-2014, 09:56 AM   #58
nuttyteacher
LQ Newbie
 
Registered: Dec 2014
Location: georgia
Distribution: ubuntu, mint
Posts: 27

Original Poster
Rep: Reputation: Disabled
Well, i feel like my question/problem was answered and solved. What do I do now? Do I close this thread out as answered? I still have a ton of other questions.
Thanks to all the ideas/suggestions. Fantastic! I can finally have a linux server! A real server on my system! Thank you so much!

Now, who and how do I pay for this advice?
 
Old 12-12-2014, 10:03 AM   #59
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 4,096
Blog Entries: 10

Rep: Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522
Quote:
Originally Posted by nuttyteacher View Post
Well, i feel like my question/problem was answered and solved. What do I do now? Do I close this thread out as answered? I still have a ton of other questions.
Thanks to all the ideas/suggestions. Fantastic! I can finally have a linux server! A real server on my system! Thank you so much!

Now, who and how do I pay for this advice?
You should see a "Thread Tools" button where you can mark the thread as Solved.

LQ is volunteer, people don't advise for pay, you can click to say you found someone's posting as helpful to you, that's the farthest you really can or should go.

The other questions you have, create new threads for them. And whether or not you've read the LQ Rules and guidelines on posting and how to ask questions; you've done very well. Polite, interogative, and done follow-through. Well, a teacher should understand that stuff.

Glad you got it set up and working.

Last edited by rtmistler; 12-12-2014 at 10:04 AM.
 
Old 12-12-2014, 10:06 AM   #60
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,027

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
your welcome. go to 'thread tools' at the top of the page and select 'mark thread as solved'.
create a new thread with specific questions in the appropriate sub-forum.
for all posts that you found helpful, click 'yes' under those posts.

edit: rtmistler - jinx.

Last edited by schneidz; 12-12-2014 at 10:07 AM.
 
  


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
Help on setting up linux server Daft Punk Linux - Server 10 04-26-2012 08:48 AM
[SOLVED] Setting up new(old) linux server Robbinhood70 Linux - Newbie 5 06-26-2011 05:02 PM
Setting up Linux Server rkilcrease Linux - General 8 10-29-2006 02:55 AM


All times are GMT -5. The time now is 08:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration