Can't copy files from CD to hd. Says i don't have permission?
Ok, I'm completely new to Linux, but I'm liking it so far. I used UNIX for a couple of semesters in college, but I've forgotten pretty much everything. I finally figured out why i can't connect to the internet. I guess it has something to do with the fact that I've got a winmodem (Conexant HSF 56k). I downloaded the driver for Debian(hope it's right for Ubuntu?) from Linuxant and copied it to CD, so I can put into Ubuntu. But I can't copy the files from CD to hd because of permissions. And I can't change permissions because of ownership. I have opened a root terminal and read a tutuorial on changing permissions and ownership, but I still can't copy the driver to the hd. I guess I'm not changing the right folders, but I don'know which one to change. I did ls -la and and I see quite a few directiries. I changed permission to .nautilus and Desktop, buti I didn't really want to mess with anything else. The ".." directory is the only one that says "root" and "staff", instead of my username. But all the permissions for it are drwxrwxr-x. Thank you for any help you can give me, I'm really looking forward to getting this thing setup.
|
Any cheap external serial port modem will perform much better and save you a ton of headaches in your trying to install closed source winmodules. I tossed my winmodem in the trash before I even started to try to install Linux, myself.
1. Did you mount the CD? 2. If so, did you mount it as root or user? 3. What command did you use to copy from CD to HD and where did you try to copy it to? Or, are you trying to do everything with a GUI (hides error messages)? 4. Can you post your /etc/fstab file? Hopefully, something here will help. Basic system administration To change to the full root account (system administrator), if you are running X, open an x terminal and use these commands from your user account. Note the change in the prompt. You can do the same from a virtual terminal as well, but you can't open an x terminal to do so. Code:
[fancy@tinwhistle fancy]$ su - Some guides to common tasks asked about here. # Compiling/installing kernel modules You will need to have installed: 1. The developmental packages (compiler) 2. The kernel-source code that matches your running kernel 3. The module source or install code Check out your system and look under the hood and see if you installed the stuff you need to do the job. Open an x terminal and type in this sequence of commands to see what kernel we are running and see if you have the kernel source installed: Code:
[fancy@tinwhistle fancy]$ su - Code:
[root@tinwhistle root]# cd /usr/src If you don't see something similiar to this (but in color), you will need to install the kernel source. NOTE: I noticed that Red Hat didn't make the symbolic link /usr/src/linux that all of the INSTALL files that I have read mentioned that I need. I may as well make one now to save editing the files in the source code every time I need to compile anything concerning the kernel. So, I'll make that link just now: Code:
[root@tinwhistle src]# ln -s linux-2.4.20-28.7 linux Next, did I install the compiler? Code:
[root@tinwhistle src]# gcc -v If you don't have those two things installed, you have to install them first off your install CD. If they are installed, download the source and happy compiling. :tisk: Make sure you carefully read the README and INSTALL files after extracting and before compiling/installing. :study: # Modem and connection troubleshooting WinModems and Linux Modem HOWTO Modem NHFs Linmodems.org Conexant/Rockwell modem HOWTO The Unofficial PCTel Linux Driver page I finaly got my PcTel hsp56 mr modem to work PcTel PCT789 Compilation in Fedora Core 1 Linux driver for Winmodems with Lucent Apollo (ISA) and Mars (PCI) chipsets Lucent AMR modem listed as an Intel AC'97 - Smart Link Modems The kppp Handbook Dial-up Networking Configuration Using KDE's Kppp Troubleshooting ISP Connection Problems |
Thank you for replying so quickly. I made a mistake earlier the permissions for ".." were "drwxrwsr-x". I don't know what the "s" is? I didn't see that in the tutorial. I am trying to do it all in the GUI, i'm not too good with commands yet. my fstab says:
# /etc/fstab: static file system information. # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 /dev/hda1 / ext3 defaults, errors=remount - ro 0 1 /dev/hdc /media/cdrom0 udf, iso9660 ro,user,noauto 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0 I've got XP on another partition, but i haven't had any problems with it. I had to download the drivers in XP and save it to a cd. An error message came up that said it couldn't mount the drive, but then the files showed up in another window. I tried to move thim with the floppy A: first, but that had the same error message, and no files showed up. It said that it didn't know the format and none was specified, something like that, i should have written it down. i'm not sure how to mount a drive, or really what it means. Thank you for replying so quickly. |
You wasted a CD-R.
If you have NTFS support, you can mount your Windows XP partition and copy them from there. My /etc/fstab file for a sample: Code:
# Duron 950 Fedora Core 1 uilleann /etc/fstab file I can't seem to make my drives work like I want # Managing drives LNAG - Accessing my drives Rute - Device Mounting - Automatic Mounts: fstab Some commands that may be handy: What's this bash command stuff? # Bash shell commands Command Reference NHF O'Reilly Directory of Linux Commands # Handy bash commands I might use or ask a newbie to use: # Find CPU specifications cat /proc/cpuinfo # Find running kernel version uname -r # What modules are loaded cat /proc/modules /sbin/lsmod # What compiler version do I have installed gcc -v gcc --version # What is the running kernel and compiler installed cat /proc/version # Find X server version X -showconfig # What pci cards are installed and what irq/port is used cat /proc/pci # What kernel modules are loaded lsmod # Memory and swap information cat /proc/meminfo free An article: Tips for Optimizing Linux Memory # How are the hard drives partitioned fdisk -l # How much free/used drive space df -h # What drives are mounted mount # How much used drive space in a directory du -sh /path/to/directory # Show disk usage by current directory and all subdirectories du | less # What is the distribution cat /etc/.product cat /etc/.issue cat /etc/issue cat /etc/issue.net sysinfo # For finding or locating files find locate (updatedb needs to be run first) which whereis # Use dmesg to view the kernel ring buffer (error messages) dmesg | less # Watch error messages as they happen (sysklog needed) as root, tail -f /var/log/messages (shows last 10 lines, use a number in front of f for more lines) # What processes are running ps -A # Find a process by name ps -ef | grep -i <plain text> For example, XCDroast ps -ef xcdroast # See current environment list, or pipe to file env | more env > environmentvariablelist.txt # Show current userid and assigned groups id # See all command aliases for the current user alias # See rpms installed on current system rpmquery --all | less rpmquery --all > <filename> rpmquery --all | grep -i <plaintext> Autospec for tarballs RPM tools # What directory am I using pwd # Get ls colors in less ls --color=always | less -R Look at man <command> or info <command> for the flags I used and for other options you can use for bash commands. |
Thank you very much, I've been doing a ton of reading. These links are just what i needed. I found a hsf driver and installed it, so I'm on the net with linux now. And I've learned how to do this in the future, so it won't take nearly as long. I also mounted the XP partition and I can now copy directly from it if I need to, which is helpful because I don't think it is going to be getting booted very often now. I do have one question though, I am connecting to the net using wvdial. Do you have any recommendations as to a better way to do this? It's not all that important I guess as long as it works, but it would be handy if maybe i had a gui version on the desktop. Again thank you very much for your help, I'm having much more fun now.
|
I haven't tried Ubuntu, so I don't have a clue as to what window manager/desktop environment you are using. Is it KDE?
In most or all distros DE, you should find a gui front end in the networking area in your menu. Try out their clicky-things to set up the modem up/down gui and it may work as advertised now. First, I suggest copying /etc/wvdial.conf and /etc/resolv.conf to something like /etc/works.wvdial.conf and /etc/works.resolv.conf just in case the gui scripts won't work and you can't figure it out. Then you can re-name them and use the root x terminal again until you can figure it out. With the proper links (symbolic link /dev/modem points to the actual modem device) and things you have done, I would think kppp (KDE) would be able to detect the proper settings. I still think wvdial is easiest to set up and Gnome uses that. Gnome has an internet connection wizard that configures wvdial. |
Back to the main question of the thread:
BTW, you may have a usermount utility to mount CDs and other drives (if /etc/fstab is set up correctly) as a user. Try clicking on the menu icon, select run and type usermount. If the mounting tool comes up, it is installed and you can put a launcher for it on your panel. I forgot the answer to the very first question I had answered on a Linux help bbs! :rolleyes: |
All times are GMT -5. The time now is 04:58 AM. |