LinuxQuestions.org
Help answer threads with 0 replies.
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 07-27-2001, 04:16 AM   #1
bobbinbrisco
LQ Newbie
 
Registered: Apr 2001
Location: sydney
Posts: 18

Rep: Reputation: 0
Networking error tty


I downloaded and installed linneighbourhood. I used it and could browse the folders on my other windoze 2k computer, but when i try to mount ne of the shared folders i get an error mentioning "tty".

i will post if i can the exact message i got.
 
Old 07-28-2001, 12:44 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
The guest user account may be disabled on your win2k, which will not allow access to shared folders unless you are logged in as an approved user.

Right click on mycomputer on desktop, click manage.

Look in Local Users and Groups / Users. If the guest account has an x on then right click it and click on properties. uncheck account is disabled.

Make sure your share permissions are correct.


Hope this helps you out.
 
Old 07-28-2001, 02:11 AM   #3
bobbinbrisco
LQ Newbie
 
Registered: Apr 2001
Location: sydney
Posts: 18

Original Poster
Rep: Reputation: 0
with the win2k i was logged in as administrator when the error occured
 
Old 07-28-2001, 02:05 PM   #4
Steave
Member
 
Registered: Jul 2001
Location: Braunschweig, Germany
Distribution: Suse 7.2
Posts: 184

Rep: Reputation: 30
It is not about who you are on the Win2k machine, but how the linux-box tries to access the files.

By default it will try no password or the guest account. So you have to either activate the guest account or make your linux log on to the win2k machine with a username/password win2k knows. Don't know how that works, though.
 
Old 07-28-2001, 11:06 PM   #5
bobbinbrisco
LQ Newbie
 
Registered: Apr 2001
Location: sydney
Posts: 18

Original Poster
Rep: Reputation: 0
yeah i choose the option to scan the other computer as administrator using LinNeighbourhood and that was how i was able to actually see which files on the win2k were shared
 
Old 07-28-2001, 11:20 PM   #6
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Confusing, As stated Who you are logged in as on the win2k box is of no importance.

However the problem is most likely with Samba. Just remember the Guest account thing for troubleshooting later.

Are you using the smbmount package?

Linneighborhood is just a GUI for samba. Try getting it to work on the command line first, then use Linneighborhood.


For Windows clients to access shares on a win2k host you have to have the same network name and password as a user of the host machine with permission to the shares, or have the guest account enabled and have shares shared to everyone.

In linux you have to use samba.

Just share something read only like a temp folder with a file in it or something to everyone, and enable the guest account until you get something working. Then you can configure your shares and user permissions.


This is about smbmount...

http://us2.samba.org/samba/smbfs



This is how to logon, User name, Netbios, Workgroup, Password, etc...


http://us2.samba.org/samba/docs/man/smbclient.1.html

Last edited by DavidPhillips; 07-28-2001 at 11:54 PM.
 
Old 08-01-2001, 12:10 AM   #7
bobbinbrisco
LQ Newbie
 
Registered: Apr 2001
Location: sydney
Posts: 18

Original Poster
Rep: Reputation: 0
thanks ill give it a go and will post the result
 
Old 08-02-2001, 01:52 AM   #8
bobbinbrisco
LQ Newbie
 
Registered: Apr 2001
Location: sydney
Posts: 18

Original Poster
Rep: Reputation: 0
if i make changes to smb.conf do i need to "restart samba" so changes can take affect? if so how do i do that? can this just be done by rebooting linux? would this be the same for LILO, where if i make changes i need to "restart it" by typing /sbin/lilo?
 
Old 08-02-2001, 03:11 AM   #9
cinnix
Member
 
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Rep: Reputation: 30
I don't know which distrobution you ar using but you can most likele restart it like this...

/etc/init.d/samba restart

and yes yes you do need to run /sbin/lilo after making changes to lilo.conf or any changes to files in your /boot directory.
 
Old 08-02-2001, 05:47 AM   #10
Steave
Member
 
Registered: Jul 2001
Location: Braunschweig, Germany
Distribution: Suse 7.2
Posts: 184

Rep: Reputation: 30
Yes, you do need to restart Samba! Have alook at my my thread:

Restarting Samba

Those are probably all the ways of getting samba to reread the smb.conf file!

Have fun!
 
  


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
troff: fatal error: can't find macro file tty-char robinhood1995 Linux - Software 1 10-06-2021 08:16 AM
ubuntu 5.10 gives me tty error on restart aairez Ubuntu 0 11-08-2005 04:26 PM
stderr is not a tty - where are you? xsession error aus9 Slackware 1 09-25-2004 10:16 AM
change tty => system crashes (ati driver/tty resolution) mosca Debian 6 08-05-2004 07:37 AM
Getting tty error message running autostart script. paul.sheldon Linux - General 5 10-18-2003 03:43 PM

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

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