You are not logged in.

#1 2012-03-11 18:14:35

lgeek
Member
From: Europe, Portugal
Registered: 2012-03-09
Posts: 70

[SOLVED]Can't get ip after boot

After the boot, I can't get a local ip address, I have two interfaces: eth0 e eth1. I use the eth1, PCI card.
To get an IP i have to do ifconfig eth1 up and rc.d restart wicd.
My modules are: !snd_pcsp !pcspkr
My daemons at boot are: dbus hwclock syslog-ng acpid @alsa !network netfs crond wicd dhcpcd sensors @firestarter vboxdrv noip
Output of lspci -v for eth1
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
    Subsystem: Realtek Semiconductor Co., Ltd. RTL8169/8110 Family PCI Gigabit Ethernet NIC
    Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
    I/O ports at e800 [size=256]
    Memory at febffc00 (32-bit, non-prefetchable) [size=256]
    Expansion ROM at febc0000 [disabled] [size=128K]
    Capabilities: <access denied>
    Kernel driver in use: r8169

Last edited by lgeek (2012-03-11 20:21:27)

Offline

#2 2012-03-11 18:19:09

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

Re: [SOLVED]Can't get ip after boot

A bit OT, but the current rc.conf doesn't support blacklisting modules so '!snd_pcsp !pcspkr' sin't doing anything.


How did you set these interfaces up? Maybe they got mixed up on boot https://wiki.archlinux.org/index.php/Co … vice_Names

Last edited by karol (2012-03-11 18:19:50)

Offline

#3 2012-03-11 18:27:53

lgeek
Member
From: Europe, Portugal
Registered: 2012-03-09
Posts: 70

Re: [SOLVED]Can't get ip after boot

Thanks, sure the documentation of Arch Linux is the best.
I will try change the name interfaces by the mac address.

Offline

#4 2012-03-11 18:34:44

lgeek
Member
From: Europe, Portugal
Registered: 2012-03-09
Posts: 70

Re: [SOLVED]Can't get ip after boot

It worked thanks.
And you can see from my rc.conf I have firestarter as a daemon, but when I do rc.d status firestarter, firestarter is stopped.
Can I fix this?

Last edited by lgeek (2012-03-11 22:20:35)

Offline

#5 2012-03-11 19:22:07

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED]Can't get ip after boot

Firestarter is just a frontend for iptables; so have you added iptables to the daemon list as well?


Burninate!

Offline

#6 2012-03-11 19:32:22

lgeek
Member
From: Europe, Portugal
Registered: 2012-03-09
Posts: 70

Re: [SOLVED]Can't get ip after boot

Not I didn't. Doesn't firestarter load iptables? I tried to load iptables but says that rules are missing...
If I put rules on firestarter, doesn't get effect without iptables on daemon?

Offline

Board footer

Powered by FluxBB