You are not logged in.

#1 2004-09-17 21:27:53

gaah
Member
From: Sweden
Registered: 2003-09-12
Posts: 124

Installing nic

Hey! I can't understand how to get my network card working... Do I need drivers from somewhere or are there some standard drivers I can use within arch?

If I run the installation cd and chose ftp it finds my card, but when installed from the cd (base) I don't seem to get anything of it working!?

I really need help! :-)

Offline

#2 2004-09-17 21:40:17

cs25x
Member
Registered: 2004-05-04
Posts: 150

Re: Installing nic

You need to know what module your nic uses, e.g. via-rhine, or natsemi, or 8139too for via mb, national semiconductor and realtek chips.
Then edit /etc/rc.conf, go to MODULES and

#
MODULES=( ohci_hcd sd_mod usb-storage !usbserial !ide-scsi via-rhine 

you see I have my via nic loaded at boot time I also have a natsemi chip but that is not being used right now.
Then follow your nose and enable eth0 and the network daemon. Reboot, it should all be there.

Problems ?

ifconfig

or

route -n

will show you what is what, and their man pages will tell you how to use them.

ping some absolute address, like 152.2.210.81 ( ftp.ibiblio.org )  to check your connection, and then try to ping ftp.ibiblio.org to check your nameserver. Or, just ping a name you know, and ping an absolute address if it does not work.


--(*(cs25x--));

Offline

#3 2004-09-17 22:13:41

gaah
Member
From: Sweden
Registered: 2003-09-12
Posts: 124

Re: Installing nic

how do I find out which module to load? I have a dlink card, should be dfe 530 I think! I looked at the homepage but couldn't find what to use! And are all those you said standard in arch or do I need to download them?

Offline

#4 2004-09-17 23:37:16

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Installing nic

all free modules are shipped with arch kernel
you can search for module on google
www.google.com/linux

here is a wiki guide for you
http://wiki.archlinux.org/index.php/Sta … and%20DHCP


arch + gentoo + initng + python = enlisy

Offline

#5 2004-09-18 00:08:23

gaah
Member
From: Sweden
Registered: 2003-09-12
Posts: 124

Re: Installing nic

I think it's the via-rhine module I need! I also found this driver I could compile with the same name or something, so I thing I overwrote the mod I need!? where to get it and where should I put it?

also, is there a way to reload like rc.conf with new settings so I don't have to reboot all the time?

Offline

#6 2004-09-18 00:20:36

steveed
Member
From: State College, PA USA
Registered: 2004-07-25
Posts: 25

Re: Installing nic

why don't you just reload whatever you need such as "/etc/rc.d/network restart" or start or stop depending on what you want to do. Just go into /etc/rc.d and you can see the different services, just restart or start them individually. If it is the via-rhine then just "modprobe via-rhine"
-Steve

Offline

#7 2004-09-18 00:30:16

gaah
Member
From: Sweden
Registered: 2003-09-12
Posts: 124

Re: Installing nic

"modprobe via-rhine" gives me "module not found"

Offline

#8 2004-09-18 00:38:23

steveed
Member
From: State College, PA USA
Registered: 2004-07-25
Posts: 25

Re: Installing nic

could you post the output of "lspci" and "uname -r"

Offline

#9 2004-09-18 00:46:09

HaloGray
Member
Registered: 2004-09-01
Posts: 24

Re: Installing nic

steveed wrote:

why don't you just reload whatever you need such as "/etc/rc.d/network restart" or start or stop depending on what you want to do.
-Steve

How would I alias /etc/rc.d/network to just network?  So I could type "network restart" at a terminal instead of the long path?


Help.

Offline

#10 2004-09-18 00:56:08

steveed
Member
From: State College, PA USA
Registered: 2004-07-25
Posts: 25

Re: Installing nic

No you need to do "/etc/rc.d/network restart"

Offline

#11 2004-09-18 01:02:24

HaloGray
Member
Registered: 2004-09-01
Posts: 24

Re: Installing nic

I know, but isn't there a way of aliasing paths and such?  For example, typing startx isn't recognized until you install x server, and after it's installed startx will point to the correct path and run the script.  What needs to be edited for me to type network from anywhere and have it point to /etc/rc.d/network?


Help.

Offline

#12 2004-09-18 01:26:09

gaah
Member
From: Sweden
Registered: 2003-09-12
Posts: 124

Re: Installing nic

lspci

00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 02)
00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 02)
00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:0e.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 08)
00:0e.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 08)
00:10.0 Ethernet controller: VIA Technologies, Inc. VT6105 [Rhine-III] (rev 86)
01:00.0 VGA compatible controller: ATI Technologies Inc 3D Rage Pro AGP 1X/2X (rev 5c)




uname -r

2.4.25

Offline

#13 2004-09-18 01:51:37

steveed
Member
From: State College, PA USA
Registered: 2004-07-25
Posts: 25

Re: Installing nic

HaloGray wrote:

I know, but isn't there a way of aliasing paths and such?  For example, typing startx isn't recognized until you install x server, and after it's installed startx will point to the correct path and run the script.  What needs to be edited for me to type network from anywhere and have it point to /etc/rc.d/network?

It is possible, but I don't really think it is recomended. But for example you could do a "ln -s /etc/rc.d/network /sbin/" and then as root you could use it. I  do not think it is necessary and I wouldn't do it since it isn't something you are going to have to be restarting all the time.

Offline

#14 2004-09-18 02:04:00

steveed
Member
From: State College, PA USA
Registered: 2004-07-25
Posts: 25

Re: Installing nic

gaah -

I have read a bit that says with kernel 2.4 acpi sometimes conflicts with the via-rhine, so you could disable it in your grub and reboot.  I think "acpi=off" on the kernel line. Though since it can't find the module it might be a whole different problem, have you went into /lib/modules/2.4.25/kernel/drivers/net/ and looked for the right driver. If you load the file from there you just type the first part of the module nothing after the dot  I would install kernel 2.6 since it states that it can't find the module there might be an issue with your install, or maybe arch doesn't include that with the 2.4 kernel since the 2.6 is the default, not sure about that so I could be completely wrong.  The 2.6 should be on the cd.

If you have some way to IM i could probably help you out a bit better, or maybe even the people on irc at irc.freenode.net #archlinux

Offline

#15 2004-09-18 02:25:23

cs25x
Member
Registered: 2004-05-04
Posts: 150

Re: Installing nic

you have to be root to do these things.
Your nic is definately via-rhine, as you can see from that lspci.
I never liked the 2.4 kernels, beware of 2.6.8 if you decide to try 2.6 ,2.6.7 is ok.
On the 2.6 kernel, you also load mii and crc32, but modprobe should take care of that.
However the via-rhine should be there, are you certain you typed it correcly?
Just a thought, do a lsmod to see what modules you have loaded, Are there any?
If there are then your via thing should be there.


--(*(cs25x--));

Offline

#16 2004-09-18 02:25:28

gaah
Member
From: Sweden
Registered: 2003-09-12
Posts: 124

Re: Installing nic

I have icq: 19667889? I'd appreciate the help if you have time aso!

I had to install the 2.4 kernel since the 2.6 didn't work for some reason! I have no idea why! I thought to upgrade the kernel as soon as I got the internet connection working!

at this site:
http://support.dlink.com/faq/view.asp?p … 20Adapters
I found some chip sets for dlink, and I found a version of the tulip in some dir on my arch computer! allong with a via-rhine something ending with .backup
I compiled some driver from d-link aswell, and I think it compiled successful at least! but didn't work! and I can't seem to find the driver it compiled... really weird! and maybe it overwrote my original file!? and the backup isn't any good since I compiled it many times...

Is the original file to be found on the arch site somewhere? or do I need to start all over?

Offline

#17 2004-09-18 05:39:54

cs25x
Member
Registered: 2004-05-04
Posts: 150

Re: Installing nic

try modprobe via_rhine

The entry in rc.conf is via-rhine, the module is name via_rhine in 2.6 & likely so in 2.4

at this stage you should run updatedb too, then you can use

locate rhine | grep lib

  or just plain locate. that gets over the problem of navigating thru /lib/modules


--(*(cs25x--));

Offline

#18 2004-09-18 05:48:50

cs25x
Member
Registered: 2004-05-04
Posts: 150

Re: Installing nic

mmmmmmmmmmmmm

it looks like you found out  the module name is  via_rhine

If you reinstall the kertnel it should get you back to base.

dont forget to do the hard drive mount thing but do not write any new file systems.

Then it might tell you to install a boot loader too. However the kernel is the important thing.


--(*(cs25x--));

Offline

#19 2004-09-18 13:24:47

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: Installing nic

I don't know if the module has changed name but on my laptop running arch stock 2.6.7 kernel its name is "via-rhine" ..


arch + gentoo + initng + python = enlisy

Offline

#20 2004-09-20 23:11:44

gaah
Member
From: Sweden
Registered: 2003-09-12
Posts: 124

Re: Installing nic

thank you for all help! I upgraded the kernel and loaded the via-rhine and it worked! I have no idea how I could mess it up so bad at first! :-)

Offline

Board footer

Powered by FluxBB