See windows files

What do i need to enable for suse to see windows files on my other partition and accross the network?

Typically, on your other partitions, if the other partition is not encrypted, you should see them under /windows/C or /windows/D.

If you do not see them there (in your other partitions) then we need to know more about your PC. In which case please copy and paste the following one line at a time into a konsole / gnome-terminal and post the output here:
df -h
su -c 'fdisk -l’

Also, what SuSE version are you using? And what desktop are you running? KDE4? KDE3.5.x ? Gnome? other ?

In KDE-3.5.x one can access Windows on another PC (on the same LAN) by opening konqueror browser and in the location bar typing:
smb://ip-of-other-pc
where “ip-of-other-pc” is the IP address of the other PC. This is also assuming the firewall in the windows PC is setup to allow your Linux PC access, and also that network sharing is enabled in the windows PC. For example to access my wife’s PC I can type:
smb://192.168.2.104
where 192.168.2.104 is her PCs IP address.

gordon@linux-4olk:~> su -c ‘fdisk -l’
Password:

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd42257f9

Device Boot Start End Blocks Id System
/dev/sda1 * 1 14528 116688127 7 HPFS/NTFS
/dev/sda2 14528 30401 127506881+ f W95 Ext’d (LBA)
/dev/sda5 14528 14790 2103491+ 82 Linux swap / Solaris
/dev/sda6 14790 17400 20972826 83 Linux
/dev/sda7 17401 30401 104430501 83 Linux
gordon@linux-4olk:~>

gordon@linux-4olk:~> df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda6 20G 2.9G 16G 16% /
udev 1.5G 88K 1.5G 1% /dev
/dev/sda7 99G 208M 93G 1% /home
/dev/sda1 109G 51G 59G 47% /windows/C

OK, so you have an NTFS drive on sda1.

OK, and your NTFS windows drive on /dev/sda1 is mounted as /windows/C.

Open up your file manager, and navigate to /windows/C. You should be able to READ those files with no problem.

You may not be able to write to /windows/C. In order to do that you may have to modify your /etc/fstab file. There is guidance for doing that here:
NTFS - openSUSE

But note if you modify your /etc/fstab file, and make a mistake, you could destroy your capability to boot your PC (not a pleasant thing). So I recommend you post the content of /etc/fstab here, and also advise as to your intended edit, so one of the knowledgeable users here on this forum can give your planned edit a quality check. To obtain your /etc/fstab for a quick copy and paste here, type:
cat /etc/fstab
and post here the output.

I can see the windows files. I have used several versions of linux and nonw of them configured my file system like this one. In the other version windows stuff showed as a seperate hd in places.

Anyway Thanks
Now I need to be able to see windows files across a network.
firewall is disabled, it causes to many problems.

here are the results you asked for just incase they are still needed.

linux-4olk:/home/gordon # cat /etc/fstab
/dev/disk/by-id/scsi-SATA_WDC_WD2500BEVS-_WD-WXE807G54577-part5 swap swap defaults 0 0
/dev/disk/by-id/scsi-SATA_WDC_WD2500BEVS-_WD-WXE807G54577-part6 / ext3 acl,user_xattr 1 1
/dev/disk/by-id/scsi-SATA_WDC_WD2500BEVS-_WD-WXE807G54577-part7 /home ext3 acl,user_xattr 1 2
/dev/disk/by-id/scsi-SATA_WDC_WD2500BEVS-_WD-WXE807G54577-part1 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
proc /proc proc defaults 00
sysfs /sys sysfs noauto 00
debugfs /sys/kernel/debug debugfs noauto 00
usbfs /proc/bus/usb usbfs noauto 00
devpts /dev/pts devpts mode=0620,gid=5 00
linux-4olk:/home/gordon #

If you can write successfully to /windows/C from Linux, then I do not need to see any more.

Disabling the firewall is never a good idea (IMHO). I hope you have a router that has a firewall protecting your windows PCs from the internet. Else by now they are likely very badly compromised.

As for accessing your windows PC from your Linux PC , did you try what I posted above? ie this: (or are you a gnome user? ).

I have no idea if windows is set up to let a linux machine in.

I dont really want to have to keep track of ip addresses. I need access to like 50 computers and several network shares across multiple networks.

In ubuntu and fedora I simple went to network places / windows networks/ the computer / and I was in.

in suse network has samba and network services but no windows network?

when I type in the exact ip address it times out, however I can access my router.

As for disabling the firewall, yes I am behind a router and I did not disable the windows firewalls. Windows machines are well protected. I just turned of the one on this linux machine

If you had posted you wanted to setup a 50pc lan I would not have bothered replying. Any other facts you wish to add?

As for keeping track of 50 PCs, after you properly setup you don’t have to … I just gave you the basics to prove a simple access for one PC and you can build from that.

Great! Good for them. I have good friends who use Ubuntu and like it (although they have problems I don’t have). My collegues at work mostly use Fedora (or MacIntosh) at home, … and they seem to like it. Why are you here then on openSUSE?

If these 50 PCs are all Windows PCs, then setup Samba. I can’t help you there as I do not use samba.

Then your Windows PCs firewall is likely blocking the Linux PC. And IMHO there is no need to turn OFF your Linux PC firewall.

Anyway, I’ll bow out of this thread. Our views are too far apart (firewall down, don’t want to setup initially using IP-Addresses ,… etc … ) for me to be of much use to you. Maybe one of our network experts will help.

oldcpu wrote:

>
> frenchsquared;1864880 Wrote:
>> I dont really want to have to keep track of ip addresses. I need access
>> to like 50 computers and several network shares across multiple
>> networks. If you had posted you wanted to setup a 50pc lan I would not have
> bothered replying. Any other facts you wish to add?
>
> As for keeping track of 50 PCs, after you properly setup you don’t have
> to … I just gave you the basics to prove a simple access for one PC
> and you can build from that.
>
> frenchsquared;1864880 Wrote:
>> In ubuntu and fedora I simple went to network places / windows networks/
>> the computer / and I was in.Great! Good for them. I have good friends who
>> use Ubuntu and like it
> (although they have problems I don’t have). My collegues at work mostly
> use Fedora (or MacIntosh) at home, … and they seem to like it. Why
> are you here then on openSUSE?
>
> frenchsquared;1864880 Wrote:
>> in suse network has samba and network services but no windows network? If
>> these 50 PCs are all Windows PCs, then setup Samba. I can’t help you
> there as I do not use samba.
>
> frenchsquared;1864880 Wrote:
>> when I type in the exact ip address it times out, however I can access
>> my router.
>>
>> As for disabling the firewall, yes I am behind a router and I did not
>> disable the windows firewalls. Windows machines are well protected. I
>> just turned of the one on this linux machineThen your Windows PCs firewall is
>> likely blocking the Linux PC. And
> IMHO there is no need to turn OFF your Linux PC firewall.
>
> Anyway, I’ll bow out of this thread. Our views are too far apart
> (firewall down, don’t want to setup initially using IP-Addresses ,…
> etc … ) for me to be of much use to you. Maybe one of our network
> experts will help.
>
>
frenchsquared;

For help setting up Windows networking with Samba on OpenSuse, follow the advice
here:

http://www.swerdna.net.au/linux.html

If you have a problem after that, please post a detailed question. When Samba
is working, you do not need IP’s only netbios names.

For what it’s worth, to the best of my knowledge, all the flavors of Unix and
Linux use Samba for Windows networking. They differ only in the release they
use and default configuration. Samba is Samba regardless of the distro, and
can can be configured to meet most any need. If you find a distro with Windows
networking that does not use Samba, I, for one, would like to hear about it.

P. V.
Cogito cogito ergo cogito sum.

Thanks, I will let you know when I get through the instructions.

To the other guy file sharing is the same for one computer as for 50, when it is set up correct. I am a windows IT guy for a small company. The comapny wants me to learn linux so that I can start maintaning servers. So that is what i am trying to do. - Thanks for tying

I dont know how to save a root file after I edit it.
I dont have root privlages.
Can you tell me how to open a file with root so that I can save it.

I am on the correct network now.
I can access my server. One of the MS machines is a server.

dolphin / network

says could not conect to host for smb://smb-network/

Freaking Yes

I change my router to use TKIP
and then change the network settings to match and I am typing this wirelessly,

Thank You

So does that mean that I will always need to use terminal to scan for networks. Since I cannot see a list of avalible networks?

**** sorry wong post.

I still cannot see ant windows machines.

frenchsquared wrote:

>
> dolphin / network
>
> says could not conect to host for smb://smb-network/
>
>
For your earlier post, I use KDE, the easy way there is to use “File Manager
Super User Mode”. Do you see anything like that in Gnome?

The article I referred you to, covers basic workgroup configuration, you should
try to get that going first. Are you trying to connect to an AD or NT Domain?
(If so which?)

Additional reading that might help is John Terpstra,“Samba-3 by example”. If
you loaded the Samba docs you should find it here:
/usr/share/doc/packages/samba
It is also available in print form. Check your local library and/or book store
( Amazon has it also). “The Official Samba-3 How-To and Reference Manual”,
(also found in the above places) is a valuable reference.

Is “smb-network” a server, workgroup or domain? Try smb://<server> ?


P. V.
Cogito cogito ergo cogito sum.

P.S. I tried to reply somewhat sooner, but the power went off. No storms in the
area so who knows, maybe the fates do not want this sent.

I dont understand all that.

Windows is a wired network configured using dhcp ip rang is 192.168.5.0

I had upgraded to KDE4 and that seemed to be large part of the problem. I reverted to KDE3 and I redid everything in the instructions. I can now see the windows machines however I can not see the files in them.

I can see the windows files on the other partition.

KDE4 is an experimental software. It should not be on a computer for serious work. Perhaps in 12 months time. Until then you should use KDE3 or Gnome, both of which are mature software.

I was told earlier not use kde 4, that is why I switched to kde 3. The kde 4 was an accident the install cd didnt make it clear that it wasnt stable.

Current Status.

KDE3
openSuse 11

Can see the windows partition and all files in it
Can connect to network (Workgroup)
Can see and access Windows Computers
cannot See any windows files

Can you please post the contents of the Samba configurauion file, /etc/samba/smb.conf. I want to look for domain controllers, workgroup, name resolution.
Please also post the output from this command in a console:

rpm -qa | egrep 'konqueror|samba|dolphin'

I want to look at for software versions.

When you say “cannot See any windows files”, how are you looking?

Please post the output from this command: smbtree -b -N
Unless the response is from too many computers in which case paste from some XP computers.