#### Archived

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

# troubleshooting [newbie needs help]

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

## Recommended Posts

##### Share on other sites
(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 on other sites
quote:

(3) guess this one is most important to me:
(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 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.

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 on other sites
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>

<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 on other sites
wow, internet worked with connection sharing :D

##### 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.

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 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 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 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 ok, forget most of my questions, and lets just consider how i can specify that i want a file\folder to be shared on my home network. btw, metal leper, it didnt work, but the root can do read\write, while others cannot, well, if needed it i will log in as root. EDIT: to get one thing straight, when i used "owner" instead of "user" in the permissions, did i give more permissions to the ordinary users, or the other way round ?!?! [edited by - zaidgs on May 10, 2004 5:09:33 PM] #### Share this post ##### Link to post ##### Share on other sites I don''t have any experience with networking, but about the other thing.. I think owner should mean only root can mount it, user (or try users, though that''s not what I have in my fstab which works ok) should let other people mount it (_maybe_ the user needs to be in the "users" group - type groups to see) Make sure that you type "mount /mnt/win" (or probably mount /dev/hda1 will work too) if you want to mount it when you aren''t root, specifying the device and the mount point won''t work unless you are root (but if there''s an entry in fstab you should be able to mount it by just specifying the mount point - if root can''t mount it by specifying just the mount point something is probably wrong with fstab, if normal users can''t then it''s less worrying, but still odd) Failing that, mount it as root using: mount -o uid= /dev/hda1 /mnt/win In theory you should be able to specify uid= (or gid= in fstab, but I never had much luck with that) #### Share this post ##### Link to post ##### Share on other sites thanks metal leper, i finally got it right. weird, i had some big trouble, so i had to re-install, after that, i did it the right way without any problems. thanks for explaining the permissions thing, seems i got it the wrong way: i thought if i write "owner", other users will get same rights as an owner :S if someone could help with the problem i had to re-install for (well, for next time, its now OK) aparently after i installed a component, it took almost all space in the partition. then when i log in, it logs me out saying no disk space in /tmp. i tried to restart, sadly i couldnt even get to the log in screen !!! when its at the linux command-line prompt, it automatically runs the GUI for login screen, but it gets killed automatically (probably because no disk space, then the system keeps running it, and it keeps getting killed :S so i couldnt get to the command-line. (well, even if i could, i dont know how to do anything) #### Share this post ##### Link to post ##### Share on other sites You need to boot up to a different runlevel. If your using grub, you need to specify the command line (press ''e'' while in grub) and put in ''single'' at the end.* This will drop you into the command line only mode. From there you should be able to loog in can find out what the problem is. I''m sure someone will provide a linky that teaches you the command line. * Note: This is what I type. I''m not sure its the same for your distro. #### Share this post ##### Link to post ##### Share on other sites guess our dixtros work the same !!! i once tried to press 'e' in grub, but didnt know what to do !!! i also tried booting from cd into rescue mode, but i didnt know what to do. by the way, i noticed today some strange behavior!! i entered a terminal shell, type su and the password, got into /mnt directory, and made a folder called network-c then typed: mount //hostname/c /mnt/network-c it asked for password, and i gave it (this password is to log on the network, but my network dont require a password, so *any* password works here) then when i entered /mnt/network-c i found my shared files there !!! following this success, i tried to add: //hostname/c /mnt/network-c auto noauto,user 0 0 to the fstab, then restarted. to my surprise it say: special device does not exist !!! i enter a terminal and typed the mount command it worked !! then unmounted it, and tried to mount it from the KDE, it didnt work!! i think that most of the explanation for this is in that when normally mounting a device it doesnt ask for a password, but when mounting a network folder it does !! any insight ?!?! EDIT: now talking about my windows XP seeing the linux files over the network, i think i should have mentioned that when i right click a folder under kde, under 'local network sharing' tab, this error message is given: error running 'filesharelist', check if installed and in$PATH or /usr/sbin.
so i thought it might be smart to make a new empty file called
filesharelist in /usr/sbin , but that didnt work.
anyone with better ideas ?!?!

[edited by - zaidgs on May 11, 2004 3:15:02 PM]

• 9
• 47
• 11
• 17
• 11