PDA

View Full Version : hmm... ethernet not working, i bet this has never happened beffore... LOL


hhhhhx
March 29th, 2008, 03:01 AM
i have haveing trouble with arch, i cannot connect to the internet, mind you this is my first time. I am sure there is some answer right under my nose, but i cannot find it.

But what my question really is, is what do i need to know before i can attempted to solver my problem. right now i know nothing about my internet connection, mainly because i did not set it up. So can you tell me what i need to know to be able to get it up and running in arch.


thanks
xhhux

Barrucadu
March 29th, 2008, 05:53 AM
Does your computer use a static IP or DHCP?

mips
March 29th, 2008, 06:07 AM
http://wiki.archlinux.org/index.php/Configuring_network

fwojciec
March 29th, 2008, 09:11 AM
But what my question really is, is what do i need to know before i can attempted to solver my problem. right now i know nothing about my internet connection, mainly because i did not set it up. So can you tell me what i need to know to be able to get it up and running in arch.

The output of ifconfig is going to give you basic information about network interfaces that are recognized on your system and how they are currently configured, as well as some generic statistics of use. This would be the first thing I'd check if I had any network problems -- this will, at least, tell you if your network card is recognized and if the appropriate kernel module is loaded.

If you need some assistance I'd suggest posting the relevant (networking) section from rc.conf here as well.

hhhhhx
March 29th, 2008, 10:35 PM
here is the info that i have gathered so far.

results of ifconfig (from ubuntu not the arch shell)
eth0 Link encap:Ethernet HWaddr 00:04:4B:14:A5:C9
inet addr:192.168.1.105 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::204:4bff:fe14:a5c9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6797 errors:0 dropped:0 overruns:0 frame:0
TX packets:5093 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6148176 (5.8 MB) TX bytes:701848 (685.3 KB)
Interrupt:17 Base address:0xa000

eth1 Link encap:Ethernet HWaddr 00:04:4B:14:A5:CB
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:18 Base address:0xc000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
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)


/etc/rc.conf
HOSTNAME="lucy"
#
# 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
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
INTERFACES=(lo 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)
#
# 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-profiles
#/etc/hosts
#
# /etc/hosts: static lookup table for host names
#

#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 hostname@domain hostname

# End of file/etc/resolv.conf
# Generated by dhcpcd for interface eth0
search socal.rr.com
nameserver 66.75.160.63
nameserver 66.75.160.64.

thanks for all of your help, i know how difficult it can be to deal with a noob

MisfitI38
March 29th, 2008, 11:14 PM
Since it looks like you're using static IP, remove the '!' in front of ROUTES= in rc.conf and add 'lucy' to the end of the 127.0.0.1 line in /etc/hosts.