You are not logged in.

#1 2010-12-09 21:34:39

Ceiling Fan Man
Member
Registered: 2010-12-08
Posts: 12

[SOLVED] Can Not Get Network Functional - eth0 and wlan0, neither work

So I have followed both the beginner's guide and the Configuring Network guide linked from the beginner's guide, and have not had any luck getting my network functional on my laptop. Currently, I don't care whether it's wireless or wired, as long as I can get it working I'd be happy. I've not had any issues installing Arch to my desktop (Though I am new to Arch, moving from Ubuntu with a little Fedora experience), but my laptop has been a nightmare. As an example of my issues thus far, here's a link to my first post about installation problems:
https://bbs.archlinux.org/viewtopic.php?id=109798

I searched the forums and found this topic from last month that fits my problem very well, though it held no solution for me:
https://bbs.archlinux.org/viewtopic.php?id=108860

I'm going to quote the user's post from the link above as it summarizes what I've tried almost exactly:

tpho2500 wrote:

#1
Chose Set up network for Netinstall
Selected DHCP and let it retrieve the IP address -> Failed
Did CD/DVD install instead

#2
-Did CD/DVD install instead

-Everything installed

-Pinged google.com to check if Internet is working -> host not found

-Changed host name to my desired name and added it to /etc/rc.conf

-Tried "hwdetect --show-net" but command "hwdetect" was not found

-Googled it and found out that I needed to install something from the repositories to use that command, but I could not use the repositories because my internet was not working -> Gave up

-Made sure my r.conf looked like this
eth0="dhcp"
INTERFACES=(eth0)
ROUTES=(!gateway)

-Restarted my networking by doing
# /etc/rc.d/network restart
It succeeded in stopping it but failed starting it

#3
-Tried using the "Wireless Setup" Arch Wiki but I need access to pacman to actually use it.
-Posted a thread in Noob Section

Now in the first step, which I have bolded, is different. I used the net install over eth0, chose DHCP, and it configured, connected, and installed just fine. When prompted later in the install at the configure portion, I accepted to have the network settings added to rc.conf for me. Only thing I changed in the config files was my hostname.

The underlined step I did not do, since I did that during install.
I've tried reinstalling a couple times with fresh partitions, no change.

Last edited by Ceiling Fan Man (2011-01-19 01:36:56)

Offline

#2 2010-12-09 22:00:58

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Can Not Get Network Functional - eth0 and wlan0, neither work

Post the output of

ifconfig -a
lspci -v | grep -A9 net

Post your rc.conf in full.

Last edited by karol (2010-12-09 22:03:57)

Offline

#3 2010-12-09 22:15:23

Ceiling Fan Man
Member
Registered: 2010-12-08
Posts: 12

Re: [SOLVED] Can Not Get Network Functional - eth0 and wlan0, neither work

karol wrote:

Post the output of

ifconfig -a
lspci -v | grep -A9 net

Post your rc.conf in full.

... I would have a lot easier time with that if I had a network connection. sad

But I can get the rc.conf witha flash drive easy enough. Will edit in a moment.

Edit: Here's the rc.conf:

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
#   in the hardware clock being left untouched (useful for virtualization)
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.UTF-8"
HARDWARECLOCK="localtime"
TIMEZONE="America/Chicago"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=()

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="SYSTEM76"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
# 
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#

#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(eth0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
 
# Setting this to "yes" will skip network shutdown.
# This is required if your root device is on NFS.
NETWORK_PERSIST="no"

# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng network netfs crond)

What do you need to know from the ifconfig? I'm not excited about the prospect of typing the entire output on a second computer.

Last edited by Ceiling Fan Man (2010-12-09 22:20:19)

Offline

#4 2010-12-09 22:25:37

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Can Not Get Network Functional - eth0 and wlan0, neither work

ifconfig -a > ifconfig.txt
lspci -v | grep -A9 net > lspci.txt

Now copy and paste those files.

Edit: About that host name change: https://wiki.archlinux.org/index.php/Beginners'_Guide#.2Fetc.2Fhosts

Last edited by karol (2010-12-09 22:33:46)

Offline

#5 2010-12-09 22:59:12

Ceiling Fan Man
Member
Registered: 2010-12-08
Posts: 12

Re: [SOLVED] Can Not Get Network Functional - eth0 and wlan0, neither work

I never thought of doing that, I had just learned about it a few days ago, too. Ingenious. Okay, here's ifconfig:

eth0      Link encap:Ethernet  HWaddr 00:90:F5:91:25:56  
          inet addr:192.168.0.239  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  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:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:40 Base address:0x6000 

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)

wlan0     Link encap:Ethernet  HWaddr 00:22:FA:5B:86:6E  
          UP BROADCAST MULTICAST  MTU:1500  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:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

And here's lspci:

06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
    Subsystem: CLEVO/KAPOK Computer Device 0806
    Flags: bus master, fast devsel, latency 0, IRQ 40
    I/O ports at 4000 [size=256]
    Memory at f4200000 (64-bit, non-prefetchable) [size=4K]
    Memory at f4000000 (64-bit, prefetchable) [size=64K]
    [virtual] Expansion ROM at f4020000 [disabled] [size=128K]
    Capabilities: [40] Power Management version 3
    Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
    Capabilities: [70] Express Endpoint, MSI 01

Now I notice that in eth0 I actually have an inet address now... That has never been there before on my laptop, and was not there earlier when I ran ifconfig. It has just been sitting there idle, except for viewing a few files and mounting file systems. But I have an inet address now on eth0  .... And "ping -c 3 www.google.com" still returns unknown host.

Edit: Yes, I changed the host name during the install and it automatically updated my /etc/hosts file. I did check to confirm.

Last edited by Ceiling Fan Man (2010-12-09 23:01:09)

Offline

#6 2010-12-09 23:00:48

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: [SOLVED] Can Not Get Network Functional - eth0 and wlan0, neither work

dhcpcd eth0

Offline

#7 2010-12-09 23:02:08

Ceiling Fan Man
Member
Registered: 2010-12-08
Posts: 12

Re: [SOLVED] Can Not Get Network Functional - eth0 and wlan0, neither work

skunktrader wrote:
dhcpcd eth0

That returns "eth0: waiting for carrier" then eventually "timed out."

Offline

#8 2010-12-09 23:02:47

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Can Not Get Network Functional - eth0 and wlan0, neither work

About that host name change: https://wiki.archlinux.org/index.php/Beginners'_Guide#.2Fetc.2Fhosts

Edit: OK, just saw your edited post, nwm.

Last edited by karol (2010-12-09 23:03:36)

Offline

#9 2010-12-09 23:16:00

SoleSoul
Member
From: Israel
Registered: 2009-06-29
Posts: 319

Re: [SOLVED] Can Not Get Network Functional - eth0 and wlan0, neither work

Ceiling Fan Man wrote:
skunktrader wrote:
dhcpcd eth0

That returns "eth0: waiting for carrier" then eventually "timed out."

When you connect the Ethernet cable, do you see the flashing green and orange link lights?

Offline

#10 2010-12-09 23:20:16

Ceiling Fan Man
Member
Registered: 2010-12-08
Posts: 12

Re: [SOLVED] Can Not Get Network Functional - eth0 and wlan0, neither work

SoleSoul wrote:
Ceiling Fan Man wrote:
skunktrader wrote:
dhcpcd eth0

That returns "eth0: waiting for carrier" then eventually "timed out."

When you connect the Ethernet cable, do you see the flashing green and orange link lights?

On the router, yes. The laptop itself has no such lights.
Also, in case someone was thinking it, a bad port/cable isn't the issue since:
1) Network install worked
2) Network worked in Ubuntu before I wiped it
3) Network worked in Windows 7

EDIT: I need to go to bed and then to work, so I'll return to this tomorrow. Thanks for everyone's help thus far.

Last edited by Ceiling Fan Man (2010-12-10 00:09:58)

Offline

#11 2011-01-19 01:49:23

Ceiling Fan Man
Member
Registered: 2010-12-08
Posts: 12

Re: [SOLVED] Can Not Get Network Functional - eth0 and wlan0, neither work

So, I'm only necroing my topic here in case that some time in the future, Google may point someone here that can be helped by my following update.

Since after my last post I had no more responses, I kind of gave up and put Fedora on my laptop. Eventually, after using it, and ultimately getting tired of it, on my laptop, I decided to put Ubuntu back on it. But it wouldn't take Ubuntu. Tried and older 10.04 (Instead of 10.04.1 that I had just made) disc that I knew worked already, and it also didn't work. Wouldn't take Fedora either. Kept getting strange errors in random points during the installations, details of which I can not reliably and accurately transcribe here, but  Ithought, "Must be a faulty HDD." Ran Seagate diagnostics on it, passed every test beautifully. Wrote zeroes to the drive, redid the partition table, same errors.

The point I'm gradually gettign to here, is I eventually mentioned it one of my buddies in the IT field, and he said, "Try resetting the BIOS to default. It doesn't have to make sense, just do it."
So I did, and then set all the BIOS settings back exactly the way I had them before, so it *shouldn't* have made a difference. But the laptop took Ubuntu just fine. Curiously, I reinstalled Arch, and now its networking capability is runnin perfectly smooth. Apparently it was a BIOS issue, which like my buddy said, doesn't have to make sense.

I'm a happy camper now. Only computer not running Arch in my house is my file server, which is a very old machine and Arch doesn't get along with the VGA at all... Not even a legible CLI ...So it's running an old Ubuntu Server... Which is totally irrelevant. Sorry, I tend to drift off topic in the evenings. smile Hopefully, this topic may help someone else in the future.

Offline

Board footer

Powered by FluxBB