Ubuntu Forums > The Ubuntu Forum Community > Main Support Categories > Networking & Wireless

Networking & Wireless
Having problems getting connected to the internet or getting your wireless card to work? Ask here.

 
Thread Tools Display Modes
2 Weeks Ago   #1
A Carafe of Ubuntu
 
Join Date: Jan 2008
Location: Mumbai, India
Posts: 88
Thanks: 3
Thanked 0 Times in 0 Posts
[SOLVED] In 8.04, Samba not working for Win 98 shares

I have a network of XP/Win98 computer and used a Ubuntu 7.10 computer to backup the shares through Samba. I recently transferred the 7.10 to another computer and upgraded to 8.04. It works but I am having problems in accessing the network.
1) I can see all the XP/98 computers
2) When I click on XP computer it does not ask for authentication, only opens blank folder, no shares. If I enter the path of the share in Nautilus then I am asked for authentication and I can browse the share. No problem, but in 7.10 it was easier.
3) Now the problem. When I click on Win 98 computer, I can see the shares all right. But some of the shares are password protected. When I click on one such, I get the authentication screen but I am just not able to authenticate. I was able to do this on 7.10 easily. If I click on a folder which is not password protected, it mounts the folder. Why does it do this, I only want to open it? In 7.10, it only opened, did not mount.

Can anyone help please, because without resolving this issue, I am stuck up as I have a number of Win98 computer with password protected shares. All was working well in 7.10.
__________________
Ubuntu 8.04 Desktop. P4, 1400 MHz, 512 RAM
80Gb HDD with 2 partitions, 15GB (/root) and balance (/home). Extra 250Gb HDD also installed
for backups. Mainly using to backup networked windows shares automatically.

Last edited by jesrani; 1 Week Ago at 09:50 AM.
 
2 Weeks Ago   #2
A Carafe of Ubuntu
 
Join Date: Jan 2008
Location: Mumbai, India
Posts: 88
Thanks: 3
Thanked 0 Times in 0 Posts
Re: In 8.04, Samba not working for Win 98 shares

Just as a followup, I tried the command :
sudo mount -t cifs //netbiosname/sharename /media/sharename -o username=winusername,password=winpassword,iocharse t=utf8
for accessing a password protected share on Windows 98 but I got error 2 = no such file or directory. Tried smbfs option and got error 112 = host is down.
On my Win98 computer I have Windows logon setup with username=user and no password. The share is shared with password=pass with readonly access. From 7.10 Ubuntu I could mount this share with user=user and password=pass, but not able to do this on 8.04.
__________________
Ubuntu 8.04 Desktop. P4, 1400 MHz, 512 RAM
80Gb HDD with 2 partitions, 15GB (/root) and balance (/home). Extra 250Gb HDD also installed
for backups. Mainly using to backup networked windows shares automatically.
 
2 Weeks Ago   #3
Quad Shot of Ubuntu
 
Join Date: May 2007
Posts: 400
Thanks: 5
Thanked 12 Times in 12 Posts
Re: In 8.04, Samba not working for Win 98 shares

replace netbiosname by the ip address of the machine. CIFS does not resolve names.

PC
 
2 Weeks Ago   #4
Tall Caf� Ubuntu
 
 
Join Date: Mar 2006
Location: Hamamatsu Japan
Posts: 2,678
Thanks: 12
Thanked 49 Times in 49 Posts
Re: In 8.04, Samba not working for Win 98 shares

please post the output of:
Code:
smbtree
 
2 Weeks Ago   #5
A Carafe of Ubuntu
 
Join Date: Jan 2008
Location: Mumbai, India
Posts: 88
Thanks: 3
Thanked 0 Times in 0 Posts
Re: In 8.04, Samba not working for Win 98 shares

Quote:
Originally Posted by Peter09
replace netbiosname by the ip address of the machine. CIFS does not resolve names.

PC
I have installed winbind and put the wins option in nsswitch.conf file. however i tried with ip address and getting the error no 112 for cifs now and same for smbfs as well.
__________________
Ubuntu 8.04 Desktop. P4, 1400 MHz, 512 RAM
80Gb HDD with 2 partitions, 15GB (/root) and balance (/home). Extra 250Gb HDD also installed
for backups. Mainly using to backup networked windows shares automatically.
 
2 Weeks Ago   #6
A Carafe of Ubuntu
 
Join Date: Jan 2008
Location: Mumbai, India
Posts: 88
Thanks: 3
Thanked 0 Times in 0 Posts
Re: In 8.04, Samba not working for Win 98 shares

Quote:
Originally Posted by dmizer
please post the output of:
Code:
smbtree
Here it is, shows the folders / printers I have shared on Ubuntu box. It is surprisingly showing one of my XP computers, don't know why. FYI, I automount my XP and 98 shares but I have removed the 98 shares after upgrading to 98 as it is giving empty folder.

ASTRO
\\UBUNTU Ubuntu_P4_1.4GHz-512Mb-80Gb
\\UBUNTU\LaserJet_3030 LaserJet_3030
\\UBUNTU\PDF_file_generator PDF_file_generator
\\UBUNTU\IPC$ IPC Service (Ubuntu_P4_1.4GHz-512Mb-80Gb)
\\UBUNTU\Ketan
\\UBUNTU\Source
\\UBUNTU\Rajkumar
\\UBUNTU\Music
\\UBUNTU\print$ Printer Drivers
\\TESTLAB CD1.6GHz-500Mb-80Gb-IP8
__________________
Ubuntu 8.04 Desktop. P4, 1400 MHz, 512 RAM
80Gb HDD with 2 partitions, 15GB (/root) and balance (/home). Extra 250Gb HDD also installed
for backups. Mainly using to backup networked windows shares automatically.
 
2 Weeks Ago   #7
Tall Caf� Ubuntu
 
 
Join Date: Mar 2006
Location: Hamamatsu Japan
Posts: 2,678
Thanks: 12
Thanked 49 Times in 49 Posts
Re: In 8.04, Samba not working for Win 98 shares

the win 98 computers are not showing up in your scan because your ubuntu computer and the win 98 computers are not in the same workgroup. either updated the 98 computers so they are a part of the ASTRO workgroup (preferable) or update ubuntu so it is in the same workgroup as the win 98 computers.

this is critical if you want to connect to your shares.
 
2 Weeks Ago   #8
A Carafe of Ubuntu
 
Join Date: Jan 2008
Location: Mumbai, India
Posts: 88
Thanks: 3
Thanked 0 Times in 0 Posts
Re: In 8.04, Samba not working for Win 98 shares

Quote:
Originally Posted by dmizer
the win 98 computers are not showing up in your scan because your ubuntu computer and the win 98 computers are not in the same workgroup. either updated the 98 computers so they are a part of the ASTRO workgroup (preferable) or update ubuntu so it is in the same workgroup as the win 98 computers.

this is critical if you want to connect to your shares.
All the computers are in the same workgroup called "Astro". I can see the win98 computers when I go to Places -> Network.
__________________
Ubuntu 8.04 Desktop. P4, 1400 MHz, 512 RAM
80Gb HDD with 2 partitions, 15GB (/root) and balance (/home). Extra 250Gb HDD also installed
for backups. Mainly using to backup networked windows shares automatically.
 
2 Weeks Ago   #9
Quad Shot of Ubuntu
 
Join Date: May 2007
Posts: 400
Thanks: 5
Thanked 12 Times in 12 Posts
Re: In 8.04, Samba not working for Win 98 shares

can you ping the machine by ip address

ping <ip address>
 
2 Weeks Ago   #10
A Carafe of Ubuntu
 
Join Date: Jan 2008
Location: Mumbai, India
Posts: 88
Thanks: 3
Thanked 0 Times in 0 Posts
Re: In 8.04, Samba not working for Win 98 shares

Quote:
Originally Posted by Peter09
can you ping the machine by ip address

ping <ip address>
Yes, it pings fine. I am able to see the shares from Network but cant authenticate the password protected shares as I used to be able to do on 7.10. owever XP shares are working and getting authenticated.
__________________
Ubuntu 8.04 Desktop. P4, 1400 MHz, 512 RAM
80Gb HDD with 2 partitions, 15GB (/root) and balance (/home). Extra 250Gb HDD also installed
for backups. Mainly using to backup networked windows shares automatically.
 

Thread Tools
Display Modes

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 On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 04:00 PM.


vBulletin 3.7.1 �2000 - 2008, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical � Canonical Ltd. Tango Icons � Tango Desktop Project.