You are not logged in.

#1 2009-07-11 20:08:18

det
Wiki Maintainer
Registered: 2009-07-11
Posts: 39

[Solved] No network after booting from setup

The network works fine on the setup. But after rebooting no command works (dhcpcd eth0 and so on).

- using dhcp
- been having problems with ubuntu network due the setup, but after the installation it works
- using pc, not laptop (wired network)

Last edited by det (2009-10-13 16:05:43)

Offline

#2 2009-07-11 20:09:35

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: [Solved] No network after booting from setup

1) Is your module loaded for your network card?
2) Does it show up with ifconfig -a
3) Why would you use dhcpcd with a static address?


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#3 2009-07-11 20:11:33

det
Wiki Maintainer
Registered: 2009-07-11
Posts: 39

Re: [Solved] No network after booting from setup

1) don't know, how can I find out?
2) yes
3) sorry, I miswrote

edit: when using "dhpcd eth0", it just times out ..

Last edited by det (2009-07-11 20:14:37)

Offline

#4 2009-07-11 20:14:15

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: [Solved] No network after booting from setup

So, just to be clear, eth0 shows up with a ifconfig -a correct?


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#5 2009-07-11 20:15:00

det
Wiki Maintainer
Registered: 2009-07-11
Posts: 39

Re: [Solved] No network after booting from setup

Heh, yes smile.

Offline

#6 2009-07-11 20:21:54

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: [Solved] No network after booting from setup

So then, this doesn't work?

 ifconfig eth0 192.168.99.14 netmask 255.255.255.0 up

Obviously substituting your settings.


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#7 2009-07-11 20:29:06

det
Wiki Maintainer
Registered: 2009-07-11
Posts: 39

Re: [Solved] No network after booting from setup

I am using dhcp. It worked before so I don't think static IP will work.

Last edited by det (2009-09-30 12:38:34)

Offline

#8 2009-07-11 20:31:18

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: [Solved] No network after booting from setup

Oh, whoops I didn't reread your first post.  Sorry.

What do you get with a

 dhcpcd -d eth0

#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#9 2009-07-11 20:41:21

det
Wiki Maintainer
Registered: 2009-07-11
Posts: 39

Re: [Solved] No network after booting from setup

.. dhpcd -d eth0
eth0: dhpcd 4.0.10 starting
eth0: hardware address = 00:24:1d:18:cf:3d
eth0: executing '/usr/lib/dhpcd/dhcpcd-run-hooks', reason PREINIT
eth0: waiting for carrier
eth0: timed out
eth0: executing '/usr/lib/dhpcd/dhcpcd-run-hooks', reason FAIL

btw. after reinstalling from cd source, network doesn't fail on startup anymore and it just says [DONE] on the boot log thing. However it still doesn't work.

- if it helps, I am using router

Last edited by det (2009-07-11 20:45:44)

Offline

#10 2009-07-11 20:47:16

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: [Solved] No network after booting from setup

Well, there could be a few reasons for a time-out.  First I would probably try

dhcpcd -t 60 eth0

which will double the timeout length to see if either your card or the router is being finicky.  Beyond that all I can guess is that either something is b0rked in your dhcpcd or the module for your card.


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#11 2009-07-11 20:49:18

det
Wiki Maintainer
Registered: 2009-07-11
Posts: 39

Re: [Solved] No network after booting from setup

Yeah well, that didn't work either sad.

But why does the network work straightly from the cd (every time) but not even once after the installation?

Edit: I tested with my laptop and the network works perfectly

Edit 2: With the same pc Ubuntu can still use network. Maybe this is some driver thingy?

Last edited by det (2009-07-11 20:55:46)

Offline

#12 2009-07-11 21:28:32

rusty99
Member
Registered: 2009-03-18
Posts: 253

Re: [Solved] No network after booting from setup

Any difference between your /etc/rc.conf, /etc/hosts and /etc/resolv.conf on your machines? (bar ip address ofc).

Offline

#13 2009-10-13 16:05:28

det
Wiki Maintainer
Registered: 2009-07-11
Posts: 39

Re: [Solved] No network after booting from setup

The problem was indeed the network card's driver. The kernel 2.6.31 has the module for that by default so no need to download the driver separately.

Offline

Board footer

Powered by FluxBB