You are not logged in.
Hello Folks
Im trying now since 2 days to get a connection. And yes I also asked the board search, more than once.
Heres my problem
ping google.com
unknown host google.com
ping myrouter
Network is unreachable
ping 127.0.0.1
WORKS
I put in my gateway adress in the rc.conf already and set up the dhpc thing.
I think he just cant load my networkcard module and i dont know what i need.
btw hwdetect isnt working
*EDIT1*
# ifconfig eth0
gives
UP BROADCAST MULTICAST ...
shouldent there be RUNNING MULTICAST??
and
route -n
Destination Gateway Genmask Flags Metric Ref Use Iface
Last edited by 34Hyperion (2009-11-06 15:15:24)
Offline
These lines are in your /etc/rc.conf?
eth0="dhcp"
INTERFACES=(eth0)
Also try
dhcpcd eth0
What is the FULL output of
ifconfig -a
Thanks!
Last edited by otisranson (2009-11-06 15:23:05)
Offline
Could you post the whole output of ifconfig eth0?
For me it does say "UP BROADCAST RUNNING MULTICAST".
Good ideas do not need lots of lies told about them in order to gain public acceptance.
Offline
As I see you have no routes defined (amongs others I guess). Try setting DHCP as otisranson pointed. Don't forget to add network to DAEMONS list. Also check cabling.
If the problem remain, please post the /etc/rc.conf file and FULL output of command:
ifconfig -a
Last edited by robertp (2009-11-06 15:28:17)
Offline
ifconfig eth0
Link encap:Ethernet HWaddr 00:17:31:37:CE:6A
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errsors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
colisions:0 txqueulen:1000
RX bytes:0 (0.0 b) TX bytes :0 (0.0 b)
thanx so far ... really fast
EDIT:
cablink is okay, checked t and it worked with SUSE only a few hours ago
Last edited by 34Hyperion (2009-11-06 15:36:51)
Offline
Sorry for the question, whats an otisransion point
Offline
Sorry for the question, whats an otisransion point
He's talking about my previous post.
Try these steps:
$ /etc/rc.d/network start
$ dhcpcd eth0
$ ifconfig eth0
Now, check that you have this in your /etc/rc.conf file:
$ cat /etc/rc.conf
At the bottom your should see something like this:
DAEMONS=( ... network ... )
Make sure the network is defined in the daemons list.
Last edited by otisranson (2009-11-06 15:58:48)
Offline
# nano /etc/rc.conf
LOCALE="de-DE:utf8
HARDWARECLOCK="localtime"
TIMEZONE="Europe/Berlin"
KEYMAP="de-LATIN1-nodeadkeys"
CONSOLEFONT="lat0_08"
CONSOLEMAP=
USECOLOR="yes"
#HARDWARE
MOD-AUTOLOAD="yes"
MODULES=()
USELVM="no"
#NETWORKING
HOSTNAME="archlinux
lo="lo 127.0.0.1"
eth1="dhcp"
eth0="dhcp"
INTERFACES=(lo eth0)
DAEMONS
DAEMONS=(@syslog-ng @netork !ntfs @crond)
Offline
Oh Kay.
Its your name, sorry, didn't recognize it. i thought its an phrase:rolleyes:
Last edited by 34Hyperion (2009-11-06 16:10:26)
Offline
Ha, yea. Ok
.
.
.
.
#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(eth0)
.
.
.
.
# -----------------------------------------------------------------------
# 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 netfs crond hal network sshd )
You don't need "lo" in the INTERFACES line. Remove it.
Also remove the "@" from the daemons. Then reboot.
Last edited by otisranson (2009-11-06 16:11:02)
Offline
Starting network timedout
dhcpd eth0:
waiting for carrier...timedout
Last edited by 34Hyperion (2009-11-06 16:12:15)
Offline
Its already network. It was only a typo.
Offline
dhcp doesn't work for you. Try (as root):
% dhcpcd --debug --debug eth0
and paste the output here.
Last edited by grey (2009-11-06 16:23:42)
Good ideas do not need lots of lies told about them in order to gain public acceptance.
Offline
I had to give up on dhcpcd - replaced it with dhclient which worked instantly
Offline
I connect to a router. But what is pppoe (i tried it ... timed out)
Offline
# dhcpcd --debug -debug eth0
executing '/usr/lib/dhcpcd/dhcpcd-run-hooks', reason PREINIT
executing '/usr/lib/dhcpcd/dhcpcd-run-hooks', reason NOCARRIER
waiting for carrier
...
timed out
Offline
I tried around a bit and i think the problem is my network card. Furthermore the module, I don't know which module i should use.
Offline
That is the behavior I am getting when the ethernet cable is unplugged.
So your initial idea that the driver for your networkcard isn't loaded looks pretty good now. Are there any error messages under /var/log? Also, which network card do you have?
Good ideas do not need lots of lies told about them in order to gain public acceptance.
Offline
No error messages so far.
I think i have a Realtek Card(, but I'm not sure.)
Offline
# dhcpcd eth1
version 5.1.1 starting
broadcasting for a lease
offered 192.168.178.27 from 192.168.178.1
acknowledged the ones above
checked for 192.168.178.27
leased 192.168.178 for 864000 seconds
AND
# ifconfig eth1
...
UP BROADCAST RUNNING MULTICAST
RX packets:4 errors:0 ... (all 0)
TX packets:7
RX bytes 1300 (1.2Kb's) TX bytes 986 (986.0 b's)
Its working on eth1 now
I try a reboot now
Last edited by 34Hyperion (2009-11-06 17:51:47)
Offline
No error messages so far.
I think i have a Realtek Card(, but I'm not sure.)
# lspci | grep Ethernet
04:07.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
That will tell you.
You might want to look at this to help you. Arch Wiki
Offline
After I had rebooted I lost the connection.
It was workng after I tried this:
Ha, yea. Ok
Code:
.
.
.
.
#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(eth0).
.
.
.# -----------------------------------------------------------------------
# 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 netfs crond hal network sshd )
You don't need "lo" in the INTERFACES line. Remove it.Also remove the "@" from the daemons. Then reboot.
But now i have the same as before.
Offline
Yehaaa, I got it now.
Thanks a lot guys.
Now I have only a little problem left.
If I want a Internet connection I have to type in dhcpcd eth0. What can I do to get it automatically?
You eally saved my day
P.S. should I write what exactly I had done. perhaps for people who have the same problem???
Last edited by 34Hyperion (2009-11-06 18:20:26)
Offline