Just installed debain testing and iv'e got some problems
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Just installed debain testing and iv'e got some problems
I'm fairly new to Linux and i've just installed debian testing, but i've got a few problems.
I need to edit my /etc/resolv.conf, so i open it in gedit as root and change it (not sure if this is the correct / easiest way to do it) but after about 5 mins, it will change back to what it was before.
I'm trying to mount my Windows ntfs partition so i use
Code:
mount /dev/hda1 /mnt/win
It works but only root has read permissions. So i used
Code:
chmod o+r win
but it doesn't seem to do anything.
When i try to change my screen resolution the highest it will let me go is 800x600. Is there any way to get it to 1024x768? My graphics card is a ATI Radeon 9200SE so i chose "ati" when the istaller asked what display drivers to use.
Re: Just installed debain testing and iv'e got some problems
Welcome to LQ.org Zadatak!
Quote:
I need to edit my /etc/resolv.conf, so i open it in gedit as root and change it (not sure if this is the correct / easiest way to do it) but after about 5 mins, it will change back to what it was before.
What are you trying to do? /etc/resolv.conf holds your nameservers. If you connect through a DHCP server, it should be overwritten by the DHCP server.
Quote:
I'm trying to mount my Windows ntfs partition so i use
Code:
mount /dev/hda1 /mnt/win
It works but only root has read permissions. So i used
Code:
chmod o+r win
but it doesn't seem to do anything.
You won't be able to do that. Writing to a NTFS partition is, AFAIK, a 2.6.x kernel feature only and with unstable support. Reading, as you already know, is not a problem, but writing to a NTFS may cause some loss of data. If you need to write to a NTFS partition, you will need to re-compile your kernel in order to add NTFS support. The very best way, however, is to create a FAT32 partition so both Linux and Windows can read/write without a hassle.
Quote:
When i try to change my screen resolution the highest it will let me go is 800x600. Is there any way to get it to 1024x768? My graphics card is a ATI Radeon 9200SE so i chose "ati" when the istaller asked what display drivers to use.
You will need to edit your /etc/X11/xorg.conf or /etc/X11/XF86Conf depending if you use xorg or xfree.
Regards!
Last edited by Mega Man X; 04-09-2005 at 10:01 PM.
What are you trying to do? /etc/resolv.conf holds your nameservers. If you connect through a DHCP server, it should be overwritten by the DHCP server.
I'm on a LAN where the gateway is a Windows XP box with ICS (don't ask), but the DNS doesn't seem to work properly with it. In Windows under TCP/IP properties i have "Obtain an IP address automaticly" and "Use the following DNS server addresses" and i have the address beneath. Would i have to use a static IP in Linux? If so, how?
Quote:
You won't be able to do that. Writing to a NTFS partition is, AFAIK, a 2.6.x kernel feature only and with unstable support. Reading, as you already know, is not a problem, but writing to a NTFS may cause some loss of data. If you need to write to a NTFS partition, you will need to re-compile your kernel in order to add NTFS support. The very best way, however, is to create a FAT32 partition so both Linux and Windows can read/write without a hassle.
I know Linux can't write to NTFS partitions, the problem is i don't know how to give my normal user read permissions. When i use "chmod o+r win" (that would give others read permission wouldn't it?) it says "chmod:changing permissions of 'win': Read-only file system"
Quote:
You will need to edit your /etc/X11/xorg.conf or /etc/X11/XF86Conf depending if you use xorg or xfree.
I know Linux can't write to NTFS partitions, the problem is i don't know how to give my normal user read permissions. When i use "chmod o+r win" (that would give others read permission wouldn't it?) it says "chmod:changing permissions of 'win': Read-only file system"
actually that gives owner read permission... a+r is the flag I think you're looking for...
To modify permissions on an NTFS file system you'll have to change the mount options in /etc/fstab, since AFAIK chmod and friends don't work on NTFS (and they certainly don't work with FAT32 since the filesystem lacks the concept of permissions).
In your /etc/fstab entry for the filesystem add umask=000 to the options the filesystem is mounted with, and then remount. WARNING! This gives all users on your Linux system complete access to the NTFS filesystem. Look into the user and umask options in man mount for more info about this.
Originally posted by btmiller
In your /etc/fstab entry for the filesystem add umask=000 to the options the filesystem is mounted with, and then remount. WARNING! This gives all users on your Linux system complete access to the NTFS filesystem. Look into the user and umask options in man mount for more info about this.
Thanks, that worked.
EDIT: I fixed the other problem by changing some stuff in /etc/dhclient.conf. Thanks for your help everyone.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.