Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

zaidgs

troubleshooting [newbie needs help]

This topic is 5302 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

by now, i have my redhat linux 9 instalation up and running, but few problems arised, and i have few questions. (1) my sound card is not detected. my windows98 installation claims that the sound card is: Crystal PnP when i use sound card detection under linux, it says no sound card detected. (2) i managed to setup my home network under GNOME, but not KDE. the server is windows XP, surely i installed this samba thing. when i type: smb:/hostname/ under the default browser in GNOME (nautilus), a screen asking for username and password appear, i just put any username, and null password, i find my shared directories, and enter them and can see my files. but under KDE using the default browser (konqueror), when i type: smb:/hostname/ first no screen asks about username or password, (well, my windows98 doesnt ask too) i see shared directories, but when i enter them they are empty, 0 files, and 0 folders !!! [resolved] (3) guess this one is most important to me: ok, i made a winborad compatable chess engine (i use ms vc++), could anyone give me a step by step procedure to get it running under xboard ?! first where is the c++ compiler i cannot see it. in the programming menu i only see emacs, and memory profiler !! i am sure i installed c++, c, python, fortran, and many other development langages, how can i get to them. so please, describe how to find the c++ development kit, how to load files into it, and how to compile and link them. [resolved] (4) i once read that you can browse the files in the vfat (fat32?) partitions under linux, that would be very usefull, to be able to view the txt, pdf, gif files on my windows partition. how can i do that ?!?! (5) and now its time for: internet. i want to connect my linux to internet, the simple problem i only have winmodems, i have three possible solutions: A. buy a real modem: the easiest, but lets forget this option for now. B. connect through the XP server, and use internet connection sharing.... well, how can i do that?! [resolved] C. get my winmodem working on linux, guess i heard that its possible to get winmodems working under linux. also: how can i do that?! [not resolved] it would be better that i know how to do both B and C. (6) back to file sharing: how can i let my MS Windows see my shared files under linux. i mean how can i specify that i want a linux folder to be shared on my home network. PS: it would be better to specify what packages i need installed to do certain stuff, who knows, maybe i didnt install it. any reply will be greatly apreciated. [edited by - zaidgs on May 10, 2004 5:17:36 PM]

Share this post


Link to post
Share on other sites
Advertisement
(1) Your best bet is probably to install alsa-lib (you can probably find RH specific info on this on the internet, have you tried searching for info on using your sound card with linux?)

(2) I don''t know, but you can always use nautilus in kde until you can find the solution

(3) You can compile from the command line using gcc, or there are IDEs like kdevelop and anjuta, and I think there''s a linux version of dev-c++ but I''m not sure

(4) I don''t know what Red Hat does automatically for you, but assuming it doesn''t do anything, you can type the following as root:

mkdir /mnt/hda1 (replace hda1 with whatever your windows partition is called, or you might like to call it /mnt/win or /mnt/windows)

then,

mount /dev/hda1 /mnt/hda1 (again replacing hda1 as necessary (note that 2 don''t have to match, so you might have /dev/hda1 and /mnt/windows)

If you want access to these files as a non-root user, then either add -o uid= after mount, or add the following to /etc/fstab:

/dev/hda1 /mnt/win auto noauto,user 0 0

auto is the filesystem type, noauto stops it from being mounted at startup, user allows you to mount it without root privelages, and 0 0 means something too

This means you can type

mount /mnt/win

as any user to mount the partition (and "umount /mnt/win" to unmount)

(note - I''m assuming windows isn''t on ntfs since your using win98, if you have any ntfs partitions you''ll need to recompile your kernel to access them since RH is odd )

(5) linmodems.org

(6) To my knowledge windows (explorer) won''t even acknowledge the existence your linux partitions, but you can create a fat partition in order to share files between linux and windows

Share this post


Link to post
Share on other sites
quote:

(3) guess this one is most important to me:
ok, i made a winborad compatable chess engine
(i use ms vc++),
could anyone give me a step by step procedure
to get it running under xboard ?!
first where is the c++ compiler i cannot see it.
in the programming menu i only see emacs, and memory profiler !!
i am sure i installed c++, c, python, fortran, and many other
development langages, how can i get to them.
so please, describe how to find the c++ development kit,
how to load files into it, and how to compile and link
them.



You installed a c++ but maybe not an IDE. Is KDevelop in the menu?

quote:

(4) i once read that you can browse the files in the
vfat (fat32?) partitions under linux,
that would be very usefull, to be able to view
the txt, pdf, gif files on my windows partition.
how can i do that ?!?!



In konqueror (I never really used gnome) check in /disks/whateverpartitionwindowsison/ to see if it''s already mounted, otherwise I think you have to right click and select mount. Theres also a KDE mount watcher program around somewhere.

quote:

(5) and now its time for: internet.
i want to connect my linux to internet,
the simple problem i only have winmodems,
i have three possible solutions:
A. buy a real modem: the easiest, but lets forget this
option for now.
B. connect through the XP server, and use internet
connection sharing....
well, how can i do that?!
C. get my winmodem working on linux, guess i heard
that its possible to get winmodems working under linux.
also: how can i do that?!



I''m not sure if theres a connection wizard in teh stock standard KDE but if there is use that and see if the driver for your modem is found. Otherwise check www.winmodems.org! Buying a real modem would be better, I''m using a winmodem too and I have to put up with a very tense moment every time I connect to see if the computyer freezes.

Share this post


Link to post
Share on other sites
thanks metal leper and flukus for your help.

(3) c++:
true. i only installed the command line,
not the IDE, now i have k-develop on my menu, :D
i am trying to kick my way through.

(4) windows partitions:
for mounting my fat partition, i added to
fstab this line:
/dev/hda1 /mnt/win auto owner 0 0

so i wanted it to have full control over it.
but i get access denied when attemption to write.

ami i doing it the wrong way, or linux itself,
can only get read-only access over fat partitions ?!?!

(5) internet:
the scanModem utility couldnt idenify my modem!!
my modem is US Robotics -- Sponster Winmodem.
anyone know how to make connection sharing ?!?!

(6) file sharing:
metal leper u mis-understood me, i am talking about
sharing across network, not mounting linux partitions.



[edited by - zaidgs on May 9, 2004 9:46:09 AM]

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
quote:
Original post by zaidgs
(5) internet:
the scanModem utility couldnt idenify my modem!!
my modem is US Robotics -- Sponster Winmodem.
anyone know how to make connection sharing ?!?!



Go to your XP box. Open Control Panel -> Network Connections. Right click the interface going to the internet, Properties. IIRC there''s a checkbox on the rightmost tab of that dialog to share the connection. Check it. You might need to reboot for it to take effect. You''ll also need to go to the properties page for the connection to your internal network, and make sure that it''s using a static IP address.

Now, on your RH box, run whatever network setup utility Red Hat provides, and make sure you can ping your windows box. Then, open up /etc/sysconfig/network, and add a line that says
<code>GATEWAY=[ip of XP box]</code>

Then, open /etc/resolv.conf, and add
<code>nameserver [ip of XP box]</code>
to the end. Then see if you can ping google.com (for example).

If your name resolution doesn''t work properly, then try the following: go to your XP box, and open the properties page for the internet connection. Open the properties for the TCP/IP protocol, and note the IP addresses of your primary and secondary DNS. Then, put those IP addresses into /etc/resolv.conf:
<code>
nameserver [Primary DNS]
nameserver [Secondary DNS]
</code>

Disclaimer: I don''t run RH, but /etc/resolv.conf should be universal, and in my brief spell with FC1, /etc/sysconfig/network was the config file for the GATEWAY line. Also, there might be a RH setup tool to do this for you, but I don''t know of it.

Share this post


Link to post
Share on other sites
quote:
Original post by zaidgs

for mounting my fat partition, i added to
fstab this line:
/dev/hda1 /mnt/win auto owner 0 0

so i wanted it to have full control over it.
but i get access denied when attemption to write.

ami i doing it the wrong way, or linux itself,
can only get read-only access over fat partitions ?!?!

Just a quick thought: Are you sure that the Windows partition is a FAT partition at all? If you have a Windows version from the NT series (i.e. NT, 2k, XP), it may be NTFS, and NTFS write support is still considered experimental in Linux (it should work, but there''s always a chance that it''ll ruin the entire NTFS partition), so it''s disabled by default (and I for one like to keep it disabled).

Share this post


Link to post
Share on other sites
no, i am sure its fat32 on my windows 98.

i am good in computer after all,
its just that i am new to linux.

Share this post


Link to post
Share on other sites
Change the line in /etc/fstab to the one in my original post [1] (get rid of noauto if you want it to be mounted after booting)

Now type "mount /mnt/win" as a normal user, and you that user (and root) should be able to read/write to it (I assume so anyway - I''ve never used a non-ntfs windows partition with linux)

Failing that, you should have full access to the drive as root anyway, although this isn''t ideal, so if doing what i said doesn''t work, post any output you get when using the mount command (usually there isn''t any but, for example, if you mount a cd-rom it should tell you that it''s mounting it read only (unless you explicitly tell it to mount read only anyway))


[1] /dev/hda1 /mnt/win auto noauto,user 0 0

Share this post


Link to post
Share on other sites
i check my thread just before going to bed,
so i am gonna try what metal leper is saying
tommorow, just when i wake up :S
(am really tired now :$ )

btw, i noticed today that when i go to
the hardware browser, in the Unknown category,
it says two intersting things:
Crystal Codec (talking about my sound card)
USR Winmodem (talking about the modem)

and even in the sound card category,
there are few Crystal somethings.

so in my hardware browser, it somehow idenified the
sound card and modem, but refused to use them,
is this a good sign, bad one, or just irrelevent ?!?!

i think its somehow like it knows they are there,
and what type they are, but dont have a driver for them.


btw, cheese, i downloaded AMSN, and signed in to chat
from my linux installation. that wouldnt have been
posible without your little, still useful hints.



[edited by - zaidgs on May 9, 2004 6:58:40 PM]

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!