You are not logged in.

#1 2003-11-26 10:31:34

kirkl_uk
Member
Registered: 2003-11-22
Posts: 41

I'm still screwed...

I can't seem to do much at the moment with Linux. I have installed the full version of the OS, and logged into it using the root. I have already asked for help on this forum but as I really don't have a clue about Linux, I can't use the help I'm being given. I have a few queries:

I get "an eth0: unknown interface" error (plus others) when trying to start the network. I've been told it might be because my network card is not installed. I have a Realtek card. What do I need to do to configure it properly?

When I mount a CD, I can access it, but I can't seem to eject it once it has been mounted. Any ideas?

How do I mount a floppy drive?

Thank you in advance,
Kirk

Offline

#2 2003-11-26 11:07:33

andy
Member
From: Germany
Registered: 2002-10-11
Posts: 374

Re: I'm still screwed...

kirkl_uk wrote:

I get "an eth0: unknown interface" error (plus others) when trying to start the network. I've been told it might be because my network card is not installed. I have a Realtek card. What do I need to do to configure it properly?

eth0 is the first ethernet device.
But, you first need to either load the module for it (in Windows terminology, that would be the driver), or associate the module with the interface. I prefer the latter. You do this by editing
/etc/modules.conf
and insert a line

alias eth0 8139too

See also Section 3.1.6 of http://www.archlinux.org/docs/archdoc_us.html
After you have modified /etc/modules.conf do a depmod -a to tell the system about the change (this also happens during boot), or, to load the module instantly, do a modprobe 8139too. After that, you can start your network with /etc/rc.d/network start
To learn more about how ethernet works on Linux, check out  http://www.tldp.org/HOWTO/Ethernet-HOWTO.html
The Howtos are great documents to learn about Linux. Especially in AL since AL does not do a lot of own configuration and own tools, so most of the generic explanations in the Howtos hold true.

kirkl_uk wrote:

When I mount a CD, I can access it, but I can't seem to eject it once it has been mounted. Any ideas?

That is correct behaviour. You first have to umount a CD before you can eject it. A proper OS does not allow the user to rip out the media of a filesystem that the OS wants to access.

kirkl_uk wrote:

How do I mount a floppy drive?

The easiest would be to install mtools. Then you have commands like mdir mcopy etc. which allow you to access DOS formated floppies.

If you need to mount floppies explicitly, this works just like CD's and simply try

mount /dev/floppy/0 /mnt/fl

Warning : don't forget to umount the floppy before ejecting it. Otherwise your filesystem on the floppy will be corrupt ! Unfortunately, the OS has no means to lock the flopy drive like it can with the CD-Rom drive.

Lastly, not trying to be offensive, but still check out :
http://bbs.archlinux.org/viewtopic.php?t=1815
and do browse http://www.tldp.org/ You will enjoy Linux much more if you are going through the documentation yourself - that's how we all learned it. The (in)famous RTFM is really not as rude as it may seem, it really is helpful - I speak from experience and am glad I heard RTFM in my early years more than I would have liked.

Offline

#3 2003-11-26 11:08:02

farphel
Forum Fellow
From: New Hampshire - USA
Registered: 2003-09-18
Posts: 250
Website

Re: I'm still screwed...

Welcome to Linux!  When you're first starting out, you'll need to be prepared to do a lot of reading and googling to get your system up and running to the point where you don't _need_ to do anymore configuration.  An excellent resource is http://www.tldp.org.  I hope you find the patience to stick with it.  Once you've given it a worthwhile run, you'll never switch back.

Ok, down to business:  When you boot up and log in as root try the following to get your network up and running:

modprobe 8139too
/usr/sbin/dhcpcd -t 10 eth0

This is a quick hack to see if you can get your network interface up with DHCP.  If that works, you can edit your /etc/rc.conf to do the two commands above automatically when you boot.  Of course, this assumes that you configure your network with DHCP.

Next, to eject your cd, you need to issue the 'umount' command.  Another invaluable resource in Linux is the 'man pages'.  At your prompt, type 'man umount' to get information about how to use the command.  Same thing with 'man mount'.

Regarding your floppy, if it is a windows-formatted floppy, you could try 'mount /mnt/fl'.  If that doesn't work, try the long way with 'mount -t vfat /dev/floppy/0 /mnt/fl'.  Again, to eject your floppy, make sure you 'umount /mnt/fl' first before physically ejecting it.

Good luck.  And if you keep the questions coming, we'll keep trying to give the answers wink

Cheers,
farphel


Follow the link below, sign up, and accept one promotional offer.  If I can get five suckers (err... friends) to do this, I'll get a free iPod.  Then you too can try to get a free iPod. Thanks! http://www.freeiPods.com/?r=11363142

Offline

#4 2003-11-26 11:11:19

farphel
Forum Fellow
From: New Hampshire - USA
Registered: 2003-09-18
Posts: 250
Website

Re: I'm still screwed...

andy wrote:

...almost the same stuff I did...

That's a riot!  If I'd have only waited another five seonds... wink


Follow the link below, sign up, and accept one promotional offer.  If I can get five suckers (err... friends) to do this, I'll get a free iPod.  Then you too can try to get a free iPod. Thanks! http://www.freeiPods.com/?r=11363142

Offline

#5 2003-11-26 11:20:15

andy
Member
From: Germany
Registered: 2002-10-11
Posts: 374

Re: I'm still screwed...

farphel wrote:

That's a riot!  If I'd have only waited another five seonds... wink

big_smile I thought the same

But actually, directed at kirkl_uk, you can see that the two of us decided to use two slightly different ways to load the drivers for the network card. As I said, "I prefer the latter". farphel preferred the explicit loading. Hopefully, with reading all the docs, you can see, how  the two methods relate  ;-)

Offline

Board footer

Powered by FluxBB