LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 08-21-2001, 03:57 PM   #1
Werelock
LQ Newbie
 
Registered: Aug 2001
Posts: 2

Rep: Reputation: 0
Question Multiple multiple questions


Alright, I've got a dualboot Win98/Redhat setup going. I'm a 3rd year (sorta.. ) college student majoring in computer science, yet I have not clue how to do anything under Linux or Unix (which is relevant to some of my questions).

I got Linux for multiple reasons, one being that I'm taking Intro to Operating Systems which is taught on the campus Unix mainframe. I'm hoping that I can use Linux to do most of my programming for the class, as I live 15 minutes from school and would like to just run up there for the final night's debugging and testing.

So, in Winbloze I use VisualC 6, which I purchased. What do I use under Redhat, how do I get it, etc? I figured out emacs (sorta), and cc/gcc, but couldn't get my first program to even compile. I'm sure it has to do with the includes, but I can't find the right directory to run from to begin with. Any help?

Part of the problem is I can't get my Diamond Supramax PCI 56k modem to work at all, so I have to reboot into Winbloze to get online and ask for help. Any help for getting that working?

Another question is how do I access my Windows partition? 2 simple reasons: one, I could, if necessary, save html help stuff from online and then access it from Linux to walk through whatever ; and 2, I want to get to my mp3 collection. Which leads to asking what player I need and where do I get it? From what little I've read here and there, this has something to do with a mount and/or lilo (??). Any help?

Basically, any and all help is greatly appreciated, and make it as detailed as possible as I'll probably end up printing this and having to work through it on my own.

Thanks!

-Jason
 
Old 08-21-2001, 04:42 PM   #2
d3funct
Member
 
Registered: Jun 2001
Location: Centralia, WA
Posts: 274

Rep: Reputation: 31
Your programming questions would probably be better answered in the programming forum. As far as accessing your Windoze partition and your modem goes...my question for you is, have you re-compiled your kernel since your first install? If not you will have to do that so that you can give the kernel the ability to read DOS/VFAT filesystems, and the driver for your modem is probably not compiled into your kernel, or you'll have to check out the hardware compatability list to see if your modem is supported. Also check here to learn how to compile your kernel. Hope this helps.
 
Old 08-21-2001, 04:43 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
ok.. the programming, no clue.. you might want to ask that separately in the programming forum for a quicker response...

now for the modem.. do you know if its a winmodem or not? if it is.. goto www.linmodems.org for a list of modems that work under linux and a list that don't work. chances are though, if it is... then most likely there is a slim chance it won't.
if that is the case, i suggest getting a cheap hardware modem, one that you can set the irq and com ports manually on the board with jumpers... i would say 99% of the time those will work... or get an external modem, those almost always work... all in all if your dying to get online in linux.

to access your windows partitions, you can mount them with the mount command...
actually post or send me your fstab and i can tell you how to mount your windows drives.. you can add them to your fstab file in /etc to mount automatically upon bootup so you don't have to mount whenever you need access to them..
MP3 players... you might want to check out or search online.. there are many out there... i tend to use apollo player.... forgot the webaddress.. you can search http://sourceforge.net or www.linuxapps.com for some leads on that.

Let me know.. or email me if you want... link below under my profile.
 
Old 08-21-2001, 04:45 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Quote:
Originally posted by d3funct
my question for you is, have you re-compiled your kernel since your first install? If not you will have to do that so that you can give the kernel the ability to read DOS/VFAT filesystems, and the driver for your modem is probably not compiled into your kernel, or you'll have to check out
I never recompiled my kernel and i can read from my win98 parition with no changes from a redhat install.... hmmmmmm....
 
Old 08-21-2001, 04:50 PM   #5
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
1. Yes, gcc is the compiler you're after. Documentation can be found here.

2. You can mount the Windows partition by creating a directory for it under /mnt, and then issuing the mount command. Here are the specifics.
 
Old 08-21-2001, 04:51 PM   #6
weblion
Member
 
Registered: Jun 2001
Location: Antarctica.
Distribution: Slackware
Posts: 78

Rep: Reputation: 15
To mount your windows harddrive at startup (assuming that it is on the first partition), you need to create a directory for it and add a line to the file /etc/fstab. I use jstar as the text editor on mine, your's might be different (you might use vi or vim or emacs).
You can use
mkdir /windows
to make a directory windows.

To fstab, you would add the line:
/dev/hda2 /windows /vfat defaults 1 0
or if that doesn't work
/dev/hda1 /windows /vfat defaults 1 0
or if it still doesn't work (hda1 or hda2 can be used)
/dev/hda1 /windows /fat defaults 1 0

Tell me what happens

EDIT: ARG! I type too slow. 4 people answerd before I posted mine! They might help you better though

Last edited by weblion; 08-21-2001 at 04:54 PM.
 
Old 08-21-2001, 05:52 PM   #7
d3funct
Member
 
Registered: Jun 2001
Location: Centralia, WA
Posts: 274

Rep: Reputation: 31
Trickykid,

That is strange, when I upgraded from 7.0 to 7.1 I had to re-compile my kernel to read DOS/WIN partitions, but I wasn't using dual-boot. I had a windows box and a seperate Linux box. hmmm...
 
Old 08-21-2001, 06:01 PM   #8
Werelock
LQ Newbie
 
Registered: Aug 2001
Posts: 2

Original Poster
Rep: Reputation: 0
LOL. I didn't expect this many fast responses, and I don't have time to answer all of you or try any of this. I can say it's not a software modem. I'll check all your links later for compatibility and what not. (program is due in the morning and I've still got other homework to do :\ )

I did get my program to work from the included development package (KDevelop 1.4? something close to that). What I have to have is a way to run it from the terminal as my professor wants - at least for program 1 - just a printout using the script command.

So, I use cc filename. No problems, makes an a.out file. start the script, no problem. Type a.out and it says command not found!! Yet if I run it under KDevelop (same directory and all) it runs just fine.. what's up with the a.out file and how do I run it under Linux?

I'll try to repost my programming questions to the programming board later on, but thanks everyone!

-Jason
 
Old 08-22-2001, 12:55 PM   #9
weblion
Member
 
Registered: Jun 2001
Location: Antarctica.
Distribution: Slackware
Posts: 78

Rep: Reputation: 15
to run it from a command line you might have to type ./ before it. Or if that doesn't work, you might have to change it to an executable, one way is doing
Code:
chmod 755 <filename>
then executing it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Red Hat 7.3 and multiple gateways on multiple interfaces bluefmc Linux - Networking 2 11-19-2004 06:01 PM
Multiple questions :/ gazza Slackware 11 07-15-2004 10:17 PM
Need an advice for: Multiple Disks&Multiple Penguins and a XP :) thesappho Linux - Newbie 1 12-15-2003 04:13 PM
Multiple Apache Sites, on Multiple IP's, on Same Box?? RickyJ Linux - General 1 06-19-2003 11:55 AM
Multiple Apache Sites, on Multiple IP's, on Same Box?? RickyJ Linux - Software 0 06-19-2003 10:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration