You are not logged in.

#1 2008-02-16 02:35:07

Specter11b
Member
Registered: 2008-02-16
Posts: 9

help configuring network card

I have been using ubuntu for a while, and recently got a hold of an older PC.  Deciding Ubuntu was too resource intensive, and always being interested in Arch, I decided to install it, since I had nothing to lose.  I installed Arch, but can not configure the network.  I threw an old ethernet card into it, and the link light is on.  I have comcast, and it's hooked up through a router.  Everything else, including my laptop and xbox, are connecting fine.  I tried a few things from the arch linux beginner's guide, and the official arch linux install guide.  Can anyone help me set up the ethernet card so I have internet, I would really like to get this working.
Thanks

Rob

Offline

#2 2008-02-16 02:48:07

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: help configuring network card

Post your rc.conf file


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#3 2008-02-16 03:15:33

Specter11b
Member
Registered: 2008-02-16
Posts: 9

Re: help configuring network card

When I type /etc/rc.conf, it tells me permission is denied.  I really feel like a newbie, but how do I give myself permission?

Offline

#4 2008-02-16 03:46:01

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: help configuring network card

Type "cat /etc/rc.conf" instead.  That should work as a regular user.  We don't need to see the whole file, just the network related stuff.  Look for the following lines: MODULES=(...), eth0=..., INTERFACES=(...), gateway=..., ROUTES=(...) and DAEMONS=(...).

Other bits of info would also be helpful.  Check for error messages in /var/log/everything.log (you will have to be root to see that one).  Include the output of the command "lspci -v" so we know what hardware you have.

Offline

#5 2008-02-16 13:03:17

Specter11b
Member
Registered: 2008-02-16
Posts: 9

Re: help configuring network card

HOSTNAME= "myhost"


lo="lo 127.0.0.1"
eth0="dhcp
INTERFACES=(lo eth0)

gateway
ROUTES=(!gateway)

That's all the stuff under networking in /etc/rc.conf

Last edited by Specter11b (2008-02-16 13:03:52)

Offline

#6 2008-02-16 13:08:39

Specter11b
Member
Registered: 2008-02-16
Posts: 9

Re: help configuring network card

lspc -v for ethernet controller is

Accton Technology Corporation SMC2-1211TX (rev 10)
Subsystem: Accon Technology Corporation EN-1207D Fast Ethernet Adapter
Flags: bus master, medium devsel, latency 64, IRQ 9
I/O ports at d800 [size=256]
Memory at ffcffc00 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 1

Offline

#7 2008-02-16 17:39:50

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: help configuring network card

Hi there,

After a little googling, my suggestion would be to check your /etc/rc.conf and see if the 8139too module is in the MODULES=( ) section.  Sometimes you have to add them manually for some reason.


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#8 2008-02-17 12:50:23

Specter11b
Member
Registered: 2008-02-16
Posts: 9

Re: help configuring network card

8139too is there.  I don't know if this helps, but when I try ping -c www.google.com, I get the message 'bad number of packets to transmit.'

Offline

#9 2008-02-17 16:26:37

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: help configuring network card

Hi there,

Apparently your ping command doesn't really mean much as I just tried that out with my working wireless network and I get the same message.

I'm definitely not an expert at using the ping command but when I just type in "ping www.google.com" it keeps on pinging until I hit ctrl+c to exit.  Very inelegant but it worked.

Just for the heck of it try ifconfig and post any output.

Last edited by bgc1954 (2008-02-17 16:37:26)


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#10 2008-02-17 17:04:05

gorn
Member
Registered: 2008-02-01
Posts: 56

Re: help configuring network card

As bgc said, ping www.google.com is proper usage. Or to use -c (which is count, not continuous) it's:

ping -c 3 www.google.com

Offline

#11 2008-02-17 18:43:02

Specter11b
Member
Registered: 2008-02-16
Posts: 9

Re: help configuring network card

Well, I tried resetting the router and modem, and it''s all working.  Thanks for the help, and sorry on the typo with the ping command.

Offline

Board footer

Powered by FluxBB