Show Posts
|
|
Pages: 1 2 [3] 4 5
|
|
31
|
Assistance / Pardus for beginners / Re: Sharing files between computers
|
on: October 31, 2008, 19:06:38 PM
|
I'm not sure about ntfs, I'll try tomorrow... Today I tried sharing my whole / folder, which works well, but the /mnt folder is empty, so it doesn't follow other partitions automatically. I'll try to mount the others separately, maybe it will work. For the quick how-to: 1. Make sure the nfs daemon is running on both computers (activate in tasma-system). 2. On the server computer, edit /etc/exports and add the line: / client_computer_name(rw,sync)(make sure to change client_computer_name to the name of the computer that shall be allowed to mount the server's / If you only want to share one folder, make the line something like: /home client_computer_name(rw,sync)3. reboot (not sure if necessary) 4. Create a folder on the client computer where the other computer's fs shall be mounted (let's assume it's /server_name) 5. Open a console and become root ( su root) 6. Type mount server_computer_name:/ /server_name -o sync,hard,intr(make sure to replace server_computer_name by the server's name, or you can also use the server's IP) If only mounting a folder, use mount server_computer_name:/home /server_name -o sync,hard,intr7. Now you can access the other computer's fs in /server_name as if it was local The options sync, hard and intr should be used to avoid file corruption because of network connection failures. It's quicker without sync, but not recommanded! You can automount on the client by adding a line to fstab but this will cause problems if the other computer is not available (boot process stops and hangs). So do not use on mobile computers like laptops. All this I learned from: http://nfs.sourceforge.net/nfs-howto/ and especially from http://nfs.sourceforge.net/nfs-howto/ar01s03.html
I hope that helps for now....
|
|
|
|
|
32
|
Assistance / Pardus for beginners / Re: Sharing files between computers
|
on: October 29, 2008, 23:14:18 PM
|
When you use "share entire homes", ALL directories and files of Pardus are readable.
This is exactly what I intended. Being able to access ALL files from my desktop with my laptop, even windows partitions and mounted CDs. But Samba seems to be broken in Pardus (see other thread). So I found a better solution: NFS. NFS allows mounting the filesystem of another computer as if it was local. If anybody is interested, I can post a How-to.
|
|
|
|
|
33
|
Assistance / Pardus for beginners / Re: Sharing files between computers
|
on: October 26, 2008, 19:37:16 PM
|
|
I think I log in as my normal user (frisil). That's what my Superkaramba desktop applet shows. Normally it shows "users logged in: frisil frisil" (why two times, BTW?). When I connect to samba from the laptop, it shows frisil 4 times.
|
|
|
|
|
35
|
Assistance / Pardus for beginners / bug in tasma? samba users lost!
|
on: October 26, 2008, 02:35:36 AM
|
|
I'm still trying to configure samba. When I use the samba module in Tasma (as root), I can add samba users and assign passwords. However, if I exit the module and load it again, these settings seem to be lost and the users list is empty again. Does anyone know what this is about?
|
|
|
|
|
36
|
Assistance / Pardus for beginners / Re: strange USB problem - I'm clueless - any ideas?
|
on: October 25, 2008, 22:04:09 PM
|
|
Thanks for your reply, Lisa!
But I will most certainly not wipe my internal harddrive with 4 OSs on it with zeroes, it would be too much work reinstalling everything. My workaround for now is to hook up the external drive to my laptop and access the laptop from my desktop via samba, complicated, but this way I can copy data from and to the drive. I think I will buy a new desktop computer in the near future anyway, as mine is already over 5 years old and rather slow (so no compiz for me).
I just want to know what is wrong with this thing, as I have no explanation for it...
|
|
|
|
|
37
|
Assistance / Pardus for beginners / Re: Sharing files between computers
|
on: October 25, 2008, 17:10:25 PM
|
And at this moment I don't know what your id is on "the other computer". This is all about id and properties of a file (Linux security).
I know about Linux security (right management of files), but I don't know what Samba wants from me... It doesn't accept the id and password from the other computer, although it is the same on both machines.
|
|
|
|
|
38
|
Assistance / Pardus for beginners / Re: Sharing files between computers
|
on: October 25, 2008, 15:14:10 PM
|
|
I can access all folders and files that belong to root and are readable for every user. I even created a new test folder called /usr/share/sambatest, if I copy files there (as root) the other computer can access and copy them, but only if they are readable for all. What I lack is just the following: I want to be able to access my home folder with my laptop without having to copy/move/change permissions of the files first. Both computers use the same user with same user id and same password. So it should be possible somehow. But when I click on my home folder on the other computer, a window pops up asking for a username and password. My username and password does not work.
|
|
|
|
|
39
|
Assistance / Pardus for beginners / Re: Sharing files between computers
|
on: October 25, 2008, 01:58:14 AM
|
|
Thanks for the links with samba: I chose "share entire homes" and now I can access the complete directory structure of the other computer with smb://computer_name
Only one problem: When I want to go to the personal user folders in home, I am asked for a username and password. Entering the username and pasword of the folder's owner does not work, nor does root and rootpassword. What do I enter here? How do I set up this password protection (or disable it?)
|
|
|
|
|
40
|
Assistance / Pardus for beginners / Re: strange USB problem - I'm clueless - any ideas?
|
on: October 25, 2008, 00:22:27 AM
|
|
The problem does not happen with USB-sticks, I just copied 8 GB from my mp3 stick and it worked. Then I tried my harddrive again - no subfolders again, but only on the 2nd partition?!? The harddrive is a western digital 1 TB sata drive and has 3 partitions (all ext3). Only the 2nd partition seems to be problematic, but only with this computer. Really strange is: 4 weeks ago I bought a harddrive from Maxtor, also 1 TB sata external. On this drive, I created 2 ext2 partitions and formated them with reiserfs. I set up an encrypted second partition by using:
cryptsetup luksFormat /dev/sda2 luksformat -t reiserfs /dev/sda2
I didn't have pardus then, so I did it with Sidux Erebos, it worked fine (at first)
I mounted the partition by using:
pmount /dev/sda2 secret
and accessed files at /media/secret
and unmounted:
pumount /dev/sda2
This worked for about a week, then the problem first happened. After entering the parapharse, the drive was mounted, but there were no subfolders. On my laptop, it worked all the time. I think the problem started when I wanted to open the 1st partition (not encrypted) with Mepis 6.5, also on my desktop computer. It didn't automount and pmount told be about a bad superblock. I booted back into Sidux and it worked, but Mepis refused to mount the first partition from now on. Then the problem with missing subfolders started, both with sidux and mepis. I installed a third os, Pardus, but it couldn't access the encrypted partition at all (encryption routines missing, I wanted to compile and install later). Then I accidently knocked the hard drive from my computer, the case shattered and it didn't work anymore. A week later, I bought a new drive, western digital. As I was suspicious about the encrypted partition and the errors it caused on my old Mepis, I didn't create an encrypted partition this time, just 3 normal ext3 partitions. I heard about encfs and encrypted folders and wanted to try that later. First I just used my new harddrive to backup some important data unencrypted. But call it haunting, curse, geomantic echo or whatever (just kidding) - my computer seems to remember the problems with the old harddrive and its encrypted partition, because it's back with any partition 2 on any external harddrive! I am really clueless what that could be! Any ideas now after I gave more details? Or are you just as puzzled as me???
|
|
|
|
|
42
|
Assistance / Pardus for beginners / strange USB problem - I'm clueless - any ideas?
|
on: October 24, 2008, 12:38:52 PM
|
|
Since about two weeks my desktop computer shows strange behaviour with usb-harddrives. It seems to mount them correctly, but sometimes only the first layer of a folder is displayed in konqueror. If I go to a sub-folder, it seems to be empty. But it is not, on my laptop everything works correctly.
When my desktop displays folders correctly after mount (happens sometimes) and I start copying folders and files from the USB-drive to my internal harddrive, copying process stops after some time and I get an error message that the file I'm trying to copy does not exist.
When I copy to my external drive, I get a "cannot write" error after some time. It seems the computer somehow loses the connection to the USB drive.
This happens with all external drives and it's not Pardus specific, it happens with all three Linux distributions on this computer. Any idea what could be wrong? I have tried the onboard USB-plugs and a card with four additional usb-plugs, both show the same problem. I've never encountered anything like this before and I think something is wrong with my computer (hardware related?). Any ideas what it could be?
|
|
|
|
|
43
|
Assistance / Pardus for beginners / Sharing files between computers
|
on: October 24, 2008, 12:26:47 PM
|
|
My laptop and desktop both use Pardus 2008 now and are both connected to the same network switch. But I don't know how to access the files of the other computer. Both have homes for the same user, and I want to access both folders with both computers. Any easy way to do this?
|
|
|
|
|
44
|
Assistance / Pardus for beginners / Re: How to FORCE DMA onto cd/dvd-drives?
|
on: October 21, 2008, 19:43:43 PM
|
|
I tried editing modprobe.conf.dist in /etc/modprobe.d to add another (ubuntu) fix I found
## Turn on DMA for DVD ############################ alias ata_generic off alias pata_atiixp on
but my system doesn't react to that. lsmod still shows:
pata_ali 14852 14 sata_uli 11268 0 pata_acpi 11136 0 ata_generic 12036 0 libata 150240 4 pata_ali,sata_uli,pata_acpi,ata_generic scsi_mod 145268 4 sg,sd_mod,sr_mod,libata dock 14352 1 libata
Do I have to change the initramfs? How do I do this? Do the changes have to be put somewhere else (initramfs creation file?) ? Please help someone, I'm desparate...
|
|
|
|
|
45
|
Assistance / Pardus for beginners / Re: How to FORCE DMA onto cd/dvd-drives?
|
on: October 21, 2008, 18:54:06 PM
|
|
Sorry, this doesn't really help. I added the lines
#added by user blacklist ata_generic
at the end of /etc/modprobe.d/blacklist-compat file but it doesn't help, when I reboot, it's still there!
I tried modprobe -r ata_generic and then it's gone. However, this does not help, because the dmesg shows the same output as before and drives stay slow.
Where are kernel modules loaded at startup? mabe if I take out scsi_mod my system would be back to what it used to be with older Linux versions?
My older sidux ran the following modules and DMA worked fine:
Module Size Used by ext3 135560 1 jbd 62888 1 ext3 ppdev 10500 0 lp 13832 0 video 19472 0 output 4992 1 video ac 6532 0 battery 13192 0 powernow_k8 16064 0 cpufreq_powersave 2816 0 cpufreq_stats 7360 0 cpufreq_ondemand 9740 1 cpufreq_conservative 8200 0 freq_table 5792 3 powernow_k8,cpufreq_stats,cpufreq_ondemand ipv6 275108 10 af_packet 25096 2 nls_iso8859_1 5248 2 nls_cp437 6912 2 vfat 14976 2 fat 54428 1 vfat nls_utf8 3200 3 ntfs 227392 3 fuse 47252 1 nvidia 7106084 24 snd_intel8x0 34972 2 psmouse 40976 0 evdev 13184 4 parport_pc 41700 1 parport 38088 3 ppdev,lp,parport_pc serio_raw 8196 0 snd_ac97_codec 100516 1 snd_intel8x0 ac97_bus 3456 1 snd_ac97_codec snd_pcm_oss 43008 0 snd_mixer_oss 17920 1 snd_pcm_oss snd_pcm 80772 4 snd_intel8x0,snd_ac97_codec,snd_pcm_oss analog 13216 0 gameport 16904 1 analog pcspkr 4224 0 snd_timer 24580 2 snd_pcm usblp 15488 0 button 9360 0 snd 55812 8 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer i2c_ali1535 8068 0 k8temp 6656 0 soundcore 9312 1 snd snd_page_alloc 11528 2 snd_intel8x0,snd_pcm i2c_ali15x3 8964 0 i2c_ali1563 8580 0 i2c_core 26240 4 nvidia,i2c_ali1535,i2c_ali15x3,i2c_ali1563 shpchp 34708 0 pci_hotplug 32416 1 shpchp usbhid 44928 0 ff_memless 7048 1 usbhid reiserfs 258436 4 dm_mirror 25344 0 dm_snapshot 19880 0 dm_mod 59712 2 dm_mirror,dm_snapshot ide_cd 40608 0 cdrom 37536 1 ide_cd ide_disk 18432 12 uhci_hcd 26636 0 ohci_hcd 23556 0 floppy 59364 0 ehci_hcd 36364 0 8139too 28288 0 mii 6656 1 8139too sata_uli 8580 0 usbcore 137352 6 usblp,usbhid,uhci_hcd,ohci_hcd,ehci_hcd alim15x3 12684 0 [permanent] ide_core 126232 3 ide_cd,ide_disk,alim15x3 ata_generic 8708 0 libata 125236 2 sata_uli,ata_generic thermal 16412 0 processor 35208 2 powernow_k8,thermal fan 6020 0
As you an see, ata-generic is there but no scsi_mod!
Pardus on the other hand uses (after modprobe -r ata_generic):
Module Size Used by ipv6 245992 10 firmware_class 13056 0 af_packet 25088 0 powernow_k8 17668 0 cpufreq_powersave 5760 0 cpufreq_userspace 8196 0 nls_utf8 6016 2 nls_cp857 8704 2 vfat 16128 2 fat 50336 1 vfat reiserfs 210228 6 fuse 48924 6 snd_intel8x0 35868 2 snd_ac97_codec 97568 1 snd_intel8x0 ppdev 12548 0 ac97_bus 5888 1 snd_ac97_codec snd_seq_dummy 7812 0 parport_pc 39484 1 snd_seq_oss 34332 0 snd_seq_midi_event 11008 1 snd_seq_oss ns558 8576 0 snd_seq 51496 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event rtc_cmos 14112 0 lp 14924 0 parport 37972 3 ppdev,parport_pc,lp rtc_core 22940 1 rtc_cmos snd_seq_device 11788 3 snd_seq_dummy,snd_seq_oss,snd_seq rtc_lib 6912 1 rtc_core snd_pcm_oss 41376 0 gameport 18060 2 ns558 nvidia 7099200 24 k8temp 9344 0 8139too 28672 0 snd_mixer_oss 19200 1 snd_pcm_oss snd_pcm 73476 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss snd_timer 25608 2 snd_seq,snd_pcm hwmon 7196 1 k8temp i2c_ali1535 10756 0 usblp 17536 0 usbhid 44900 0 8139cp 25472 0 thermal 22940 0 snd 57528 14 snd_intel8x0,snd_ac97_codec,snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer processor 43948 2 powernow_k8,thermal hid 39500 1 usbhid ali_agp 10624 0 mii 9344 2 8139too,8139cp i2c_ali15x3 11396 0 button 12176 0 i2c_ali1563 11140 0 shpchp 33940 0 soundcore 11336 1 snd ff_memless 9352 1 usbhid amd64_agp 15748 1 i2c_core 26516 4 nvidia,i2c_ali1535,i2c_ali15x3,i2c_ali1563 snd_page_alloc 13960 2 snd_intel8x0,snd_pcm pci_hotplug 30884 1 shpchp agpgart 36020 3 nvidia,ali_agp,amd64_agp sg 37044 0 ext3 128008 1 jbd 47636 1 ext3 mbcache 12420 1 ext3 sd_mod 29976 15 sr_mod 19624 1 cdrom 35740 1 sr_mod ohci_hcd 25604 0 pata_ali 14852 14 sata_uli 11268 0 uhci_hcd 26640 0 pata_acpi 11136 0 libata 150240 3 pata_ali,sata_uli,pata_acpi scsi_mod 145268 4 sg,sd_mod,sr_mod,libata dock 14352 1 libata ehci_hcd 37132 0 usbcore 136396 6 usblp,usbhid,ohci_hcd,uhci_hcd,ehci_hcd
Can I change Pardus to run the same modules Sidux used to run somehow?
|
|
|
|
|
|