You are not logged in.

#1 2008-02-23 21:57:52

rob1101
Member
Registered: 2008-02-23
Posts: 28

need help configuring my NIC

I installed all of the packages during the initial installation. i am having trouble getting Arch to detect my NIC and connect to the internet. when i try "hwdetect --net" i get

MODULES=( 8139too mii slhc)

im not sure what to do and i have looked the the installation and beginners guide. i was never good with networking stuff anyway. thx in advance.;)

Offline

#2 2008-02-23 22:53:39

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: need help configuring my NIC

rob1101 wrote:

am having trouble getting Arch to detect my NIC and connect to the internet. when i try "hwdetect --net" i get

MODULES=( 8139too mii slhc)

I'm not finding the package 'slhc'.  Please post the modules line of your rc.conf.

Offline

#3 2008-02-23 23:48:15

rob1101
Member
Registered: 2008-02-23
Posts: 28

Re: need help configuring my NIC

MODULES=(8139cp 8139too mii slhc ac97_bus snd-mixer-oss snd-pcm-oss snd-page-alage-alloc snd-pcm snd-timer snd snd-ac97-codec snd-intel8x0 soundcore)

and my NIC is onboard, my MOBO is a MSI 865PE NEO2

Last edited by rob1101 (2008-02-23 23:51:36)

Offline

#4 2008-02-24 00:15:05

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: need help configuring my NIC

What's the output when you type

hwd -s

?

Offline

#5 2008-02-24 00:42:32

eerok
Member
From: Canada
Registered: 2005-03-20
Posts: 171

Re: need help configuring my NIC

The "MODULES=( 8139too mii slhc)" looks promising if you have a DHL connection.  Someone just needs to give you the magic words to whisper into /etc/rc.conf to get DHL running -- I only use cable, so I don't know them smile

Check the wiki, that should tell you what to do.

Last edited by eerok (2008-02-24 00:48:08)


noobus in perpetuus

Offline

#6 2008-02-24 01:26:45

rob1101
Member
Registered: 2008-02-23
Posts: 28

Re: need help configuring my NIC

[root@Arch ~]# hwd -s
-bash: hwd: command not found

Offline

#7 2008-02-24 01:35:44

xaw
Member
From: Chapel Hill
Registered: 2007-08-09
Posts: 177

Re: need help configuring my NIC

Perhaps the r8169 module is what you are looking for? My laptop supposedly has a RealTek 8139 Ethernet Adapter but uses the r8169 module instead of the 8139 family of modules (8139, 8139cp, or 8139too)

[root@localhost ~]# modprobe r8169

See if that module gets your Ethernet working.


The water never asked for a channel, and the channel never asked for water.

Offline

#8 2008-02-24 01:49:06

rob1101
Member
Registered: 2008-02-23
Posts: 28

Re: need help configuring my NIC

nope that didn't get it sad

Offline

#9 2008-02-24 03:43:00

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: need help configuring my NIC

I guess I was trying to find out more information about your hardware to see if 8139too is the right module.  Type

lspci

and look for the words Ethernet and/or Network.  What does it say?

How do you want to connect?  Do you want to connect wirelessly, through ethernet or via modem?  Has this machine been able to connect with any other operating system?  Have you read the wiki page on networkinghttp://wiki.archlinux.org/index.php/Network?

Offline

#10 2008-02-24 05:10:14

rob1101
Member
Registered: 2008-02-23
Posts: 28

Re: need help configuring my NIC

02:0b.0 Ethernet controller: Realtek Semiconductor Co. , Ltd. RTL -8139/8139C/8139

and i did read the documentation i did not know what module i needed.

EDIT: I forgot to add that this PC connects through ethernet and it still connects on windows and it also connected with Debian and Ubuntu no problem

Last edited by rob1101 (2008-02-24 05:24:14)

Offline

#11 2008-02-24 10:51:59

rasat
Forum Fellow
From: Finland
Registered: 2002-12-27
Posts: 2,296
Website

Re: need help configuring my NIC

rob1101 wrote:
[root@Arch ~]# hwd -s
-bash: hwd: command not found

hwd is not installed.
# pacman -S hwd


Markku

Offline

#12 2008-02-24 11:30:43

alex_anthony
Member
From: UK
Registered: 2007-09-25
Posts: 344

Re: need help configuring my NIC

If it´s working on debian and ubuntu, you could use lsmod to find which modules they load for it.

Last edited by alex_anthony (2008-02-24 11:30:58)

Offline

#13 2008-02-24 16:07:49

rob1101
Member
Registered: 2008-02-23
Posts: 28

Re: need help configuring my NIC

rasat wrote:
rob1101 wrote:
[root@Arch ~]# hwd -s
-bash: hwd: command not found

hwd is not installed.
# pacman -S hwd

warning: current locale is invalid; using default "C" local error: 'hwd': not found in sync db

Offline

#14 2008-02-24 16:38:28

rob1101
Member
Registered: 2008-02-23
Posts: 28

Re: need help configuring my NIC

ok i booted up on an ubuntu live cd and did lsmod (yes the internet works on the live cd)

ubuntu@ubuntu:~$ sudo /sbin/lsmod
Module                  Size  Used by
ipv6                  273892  10 
radeon                125472  2 
drm                    83348  3 radeon
af_packet              24840  2 
rfcomm                 42136  2 
l2cap                  26240  11 rfcomm
bluetooth              57060  4 rfcomm,l2cap
ppdev                  10244  0 
lp                     12580  0 
speedstep_lib           6404  0 
cpufreq_userspace       5280  0 
cpufreq_stats           7232  0 
cpufreq_powersave       2688  0 
cpufreq_ondemand        9612  0 
freq_table              5792  2 cpufreq_stats,cpufreq_ondemand
cpufreq_conservative     8072  0 
video                  18060  0 
sbs                    19592  0 
container               5504  0 
button                  8976  0 
dock                   10656  0 
ac                      6148  0 
snd_intel8x0           34972  1 
snd_ac97_codec        100644  1 snd_intel8x0
ac97_bus                3200  1 snd_ac97_codec
snd_pcm_oss            44672  0 
snd_mixer_oss          17664  1 snd_pcm_oss
snd_pcm                80388  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
ati_remote2             9984  0 
snd_seq_dummy           4740  0 
snd_seq_oss            33152  0 
snd_seq_midi            9600  0 
snd_rawmidi            25728  1 snd_seq_midi
lirc_atiusb            19360  0 
snd_seq_midi_event      8448  2 snd_seq_oss,snd_seq_midi
lirc_dev               15860  1 lirc_atiusb
snd_seq                53232  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              24324  2 snd_pcm,snd_seq
snd_seq_device          9228  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
parport_pc             37412  1 
snd                    54660  12 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
iTCO_wdt               11940  0 
parport                37448  3 ppdev,lp,parport_pc
pcspkr                  4224  0 
soundcore               8800  1 snd
iTCO_vendor_support     4868  1 iTCO_wdt
psmouse                39952  0 
snd_page_alloc         11400  2 snd_intel8x0,snd_pcm
serio_raw               8068  0 
intel_agp              25620  1 
agpgart                35016  2 drm,intel_agp
shpchp                 34580  0 
pci_hotplug            32704  1 shpchp
evdev                  11136  3 
battery                11012  0 
squashfs               48132  1 
loop                   19076  2 
unionfs                77096  1 
nls_cp437               6784  1 
isofs                  36412  2 
ext3                  133896  0 
jbd                    60456  1 ext3
mbcache                 9732  1 ext3
usbhid                 29536  0 
hid                    28928  1 usbhid
sg                     36764  0 
sr_mod                 17828  2 
cdrom                  37536  1 sr_mod
sd_mod                 30336  2 
8139too                27776  0 
ata_piix               17540  3 
8139cp                 25088  0 
mii                     6528  2 8139too,8139cp
ohci_hcd               22916  0 
ata_generic             8452  0 
libata                125168  2 ata_piix,ata_generic
scsi_mod              147084  4 sg,sr_mod,sd_mod,libata
ehci_hcd               36492  0 
floppy                 60004  0 
uhci_hcd               26640  0 
usbcore               138632  7 ati_remote2,lirc_atiusb,usbhid,ohci_hcd,ehci_hcd,uhci_hcd
thermal                14344  0 
processor              32072  1 thermal
fan                     5764  0 
fuse                   47124  1 
apparmor               40728  0 
commoncap               8320  1 apparmor

not sure wich one it is

EDIT: It looks like ubuntu uses the same modules as Arch does like 8139too 8139cp mii why doesn't arch work?

Last edited by rob1101 (2008-02-24 16:44:59)

Offline

#15 2008-02-24 18:07:11

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: need help configuring my NIC

rob1101 wrote:
warning: current locale is invalid; using default "C" local error: 'hwd': not found in sync db

OK.  You need to set your locale.  Follow the instructions here:  http://wiki.archlinux.org/index.php/Loc … ry_locales.

In Arch, the user (you) is in charge of the system.  Nothing happens that you don't explicitly set up.  That's the upside.  The downside is that few things, other than hardware detection, "just work."

Do you have a router?  What's it's address?  Are you using dhcp?

Post the following lines from your rc.conf:  HOSTS=, eth0=, INTERFACES=, gateway=, ROUTES=.

What's in /etc/hosts?

Offline

#16 2008-02-24 18:13:08

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: need help configuring my NIC

What's the out put of

ifconfig -a

?

Offline

#17 2008-02-24 19:04:32

rob1101
Member
Registered: 2008-02-23
Posts: 28

Re: need help configuring my NIC

ok i updated my locale but now i get

[root@Arch ~]# pacman -S hwd
error: 'hwd' not found in sync db

Yes i have a router it is 2WIRE857 2701HG-B. I have no idea what its address is but i do need to know. Im not sure if im using dhcp.

this is all thats in the Networking section of rc.conf (excluding comments)

HOSTNAME="Arch"

lo="lo 127.0.01"
eth0=" 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
INTERFACES=(lo eth0)

gateway="default gw 192.168.0.1"
ROUTERS=(!gateway)

/etc/hosts

<ip-address>    <hostname.domain.org>    <hostname>
127.0.01                      localhost.localdomain              localhost

Last edited by rob1101 (2008-02-24 19:08:15)

Offline

#18 2008-02-24 19:44:32

rob1101
Member
Registered: 2008-02-23
Posts: 28

Re: need help configuring my NIC

here is the ifconfig -a

eth0      Link encap:Ethernet  HWaddr 00:11:09:25:FD:04  
          inet addr:192.168.0.2  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1315 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:83731 (81.7 Kb)  TX bytes:0 (0.0 b)
          Interrupt:19 Base address:0xad00 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

Offline

#19 2008-02-24 19:57:02

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: need help configuring my NIC

rob1101 wrote:

ok i updated my locale but now i get

[root@Arch ~]# pacman -S hwd
error: 'hwd' not found in sync db

Yeah, I know.  But if your locale is not set correctly, you can't do much.

Yes i have a router it is 2WIRE857 2701HG-B. I have no idea what its address is but i do need to know. Im not sure if im using dhcp.

You're probably using dhcp, then.  Do you have it installed (pacman -Q dhcp)?  Back up your rc.conf, then change the eth0 line to "dhcp".  I use a linksys router; it's address is 192.168.1.1, so I changed the gateway line to use that.  That's why I was wondering.  Your router might very well use the default address.

My hostname from rc.conf is "arch".  Here is my /etc/hosts:

127.0.0.1    arch.workgroup    arch

Change the eth0 line and add your hostname to the hosts file.  Then

ping 192.168.0.1

Btw, you can access Arch from within your ubuntu cd.  Follow the instructions here:  http://wiki.archlinux.org/index.php/Ins … nux_Volume.

Offline

#20 2008-02-24 19:57:32

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,152

Re: need help configuring my NIC

This line is wrong  :   ROUTERS=(!gateway)


change it to :

ROUTES=(gateway)

(you are currently using a fixed ip-address and for those the exclamation mark must be removed) .

If that doesn't work, change to dhcp as suggested above . just make sure you use ROUTES

Last edited by Lone_Wolf (2008-02-24 20:00:28)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#21 2008-02-24 20:35:37

rob1101
Member
Registered: 2008-02-23
Posts: 28

Re: need help configuring my NIC

ok so this is what i changed in my /etc/rc.conf file

eth0="dchp"
ROUTES=(gateway)

and the only thing i changed in my /etc/hosts file was my hostname which is also arch.

and when i try to ping 192.168.0.1  get a "Destination Host Unreachable error"

i hate networking sad

Offline

#22 2008-02-24 20:52:02

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: need help configuring my NIC

rob1101 wrote:

the only thing i changed in my /etc/hosts file was my hostname which is also arch.

Yes, but the hostname in your rc.conf is Arch.  Try that and see what happens.

Offline

#23 2008-02-24 21:02:05

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,152

Re: need help configuring my NIC

Change rc.conf to this :

eth0="dchp"
ROUTES=(!gateway)

NOTE THE EXCLAMATION MARK

reboot and post the output of ifconfig .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#24 2008-02-27 00:57:54

rob1101
Member
Registered: 2008-02-23
Posts: 28

Re: need help configuring my NIC

i changed it in both places to "arch" instead of "Arch" and here is my ifconfig

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

Offline

#25 2008-02-27 01:19:12

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: need help configuring my NIC

That's too bad.  I was hoping that you hadn't posted because your problem was fixed.

Would you please post the DAEMONS= line from your rc.conf?

Offline

Board footer

Powered by FluxBB