| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 75256 | 2006-12-22 03:55:00 | LINUX (very) newbie question | Tony (4941) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 508706 | 2006-12-22 10:47:00 | i've got mine setup and here's a vague vague description from my memory: i have the same username and password on my linux and xp machines i setup some sort of 'samba' useraccount that contained my linux machine's username and..um.. smb.conf here's mine if you need it [global] workgroup = workgroupname server string = linuxcomputername interfaces = lo eth0 bind interfaces only = Yes security = user log level = 0 log file = /var/log/samba3/log.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=16384 IPTOS_LOWDELAY read raw = yes write raw = yes dead time = 15 [XP Share] path = /mnt/xp comment = xp share read only = no public = yes browseable = yes i myself can't remember what each of these suppose to mean ..not all of them anywayz you probably have to look up some sites if you want answers i just end up with this config when i read through all these sites and trial and error the configurations wrote this up when i was using gentoo just copied it to kubuntu and it pretty much worked..so..yea hope this helps |
heni72847 (1166) | ||
| 508707 | 2006-12-22 20:49:00 | If you don't want passworded access; make sure you have security = share instead of security = userin your smb.conf Incidentally, this is my full smb.conf (including local (to linux) shared printer) #======================= Global Settings ===================================== [global] workgroup = workgroup-name server string = server-name hosts allow = ip.allowed.xxx. 127. printcap name = cups printing = cups cups options = raw log file = /var/log/samba/%m.log max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = no winbind uid = 16777216-33554431 winbind gid = 16777216-33554431 guest ok = yes [homes] comment = Home Directories browseable = no read only = no [printers] printable = yes printer name = stylus use client driver = yes path = /home/printer [netshare] path = /home/media-share read only = no [doc-share] path = /home/docs-share/ read only = no case sensitive = no msdfs proxy = no I have set permissions on the various folders locally (for example doc-share, all computers can add, delete,edit files. media-share, all computers can access, copy, but only the linux machine can edit) |
Myth (110) | ||
| 508708 | 2006-12-24 23:48:00 | You had it, Johnd - once I added a samba user I got into the ubuntu box from the winxp box after entering the username and password. So.... next question. How do I get access to the NTFS partitions on the ubuntu box from the WINXP box? From the WIN XP beast all I can see at the moment is folders for "homes" and "tony" (My username). I presume I have to set some permissions etc., but I can't see how to do that. On the ubuntu box, I can see the NTFS partitions, but can't access them there either. |
Tony (4941) | ||
| 508709 | 2006-12-25 20:33:00 | You need to have ntfs support on your linux box. Im not totally familiar with ubuntu but you might need to modprobe the filesystem drivers, or you might need to do a kernel recompile? I was under the impression that you could just mount the filesystem in Ubuntu... Once you've done that, just add a share in your smb.conf My setups similar to Tazz with Security = share set. See here: http://nzlinuxfaq.orcon.net.nz/ |
Chilling_Silence (9) | ||
| 508710 | 2006-12-25 21:01:00 | Not sure on the latest versions but I had Ubuntu 6.1 set up with a seperate fat 32 partition and kept any files I wanted to access from XP or ubuntu in there. Also used Open office in both systems and had a macro to save any updated files to both the home folder and the common folder. |
kjaada (253) | ||
| 508711 | 2006-12-26 08:56:00 | You need to have ntfs support on your linux box. Im not totally familiar with ubuntu but you might need to modprobe the filesystem drivers, or you might need to do a kernel recompile? I was under the impression that you could just mount the filesystem in Ubuntu... Once you've done that, just add a share in your smb.confI have to do what where now? See the comment at the end of my original post.:) :confused: |
Tony (4941) | ||
| 508712 | 2006-12-26 10:25:00 | run this from the command line: cat /proc/partitions From here, it'll tell you the linux device "references" for your HDD. All hardware has a reference in the linux filesystem in /dev such as: /dev/hda1 = first partition on first hdd in your PC /dev/hdb3 = third partition on 2nd hdd in your PC /dev/dsp = your soundcard So what the above command you're running tells you is your HDD partition references in Linux (Which you might already know / have guessed by reading this post) From there you need to become root (Administrator) by running: su - *enter root password* Dont forget that (almost) everything in linux is case-sensitive ;) Now, if it doesnt give you a password error then you've successfully escalated your privaleges within that terminal window to that of the root (Super) user. Now you need to make a folder for you to access your HDD partition from, by typing: mkdir /mnt/windows Now, you need to 'mount' it to the rest of your filesystem so the contents all show up by running: mount /dev/hda1 /mnt/windows replace the /dev/hda1 with whatever came up when you ran 'cat /proc/partitions' (its probably hda1) If it gives off an error or you get stuck, just post back and we'll get you sorted Cheers Chill. |
Chilling_Silence (9) | ||
| 1 2 | |||||