[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bridging with firestarter and dhcp3-server.



I'm attempting to bridge wlan0 with eth0.  I've done this successfully
in the past with firestarter and dhcp3-server.  However I'm running into
some issues trying to set this up now.

What I have done in the past is set eth0 static, and enabled internet
connection sharing in firestarter.  Which ends up with the following
configuration files.

cat /etc/network/interfaces

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0

iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0

auto eth0

$ cat /etc/dhcp3/dhcpd.conf
# DHCP configuration generated by Firestarter
ddns-update-style interim;
ignore client-updates;

subnet 192.168.0.0 netmask 255.255.255.0 {
        option routers 192.168.0.1;
        option subnet-mask 255.255.255.0;
        option domain-name-servers 10.0.1.1;
        option ip-forwarding off;
        range dynamic-bootp 192.168.0.100 192.168.0.254;
        default-lease-time 21600;
        max-lease-time 43200;
}

After a restart of networking, firestarter, and dhcp3-server all was
well.  This has worked on 3 separate instances.

However, now after restarting all services and attempting to request an
address on eth0 from another machine it fails with "No working leases in persistent database - sleeping." I can see the interface eth0 here on the laptop and while requesting the address the lights are not flashing like they usually would which leads me to believe the bridge/dhcp server isn't working.

I'm a bit lost where to start, I've looked through the logs for any failurs, errors etc.

# grep error /var/log/messages

Mar 21 13:38:16 t61 kernel: [51443.770985] firestarter[13057]: segfault at 65726952 ip b72b1452 sp b6965300 error 6 in libglib-2.0.so.0.1600.6[b725b000+b4000] Mar 21 13:53:12 t61 kernel: [52343.228568] firestarter[18697]: segfault at 65726952 ip b739c452 sp b5dc0300 error 6 in libglib-2.0.so.0.1600.6[b7346000+b4000] Mar 21 14:07:56 t61 kernel: [ 764.930775] firestarter[7807]: segfault at 117808 ip b71b0ebc sp b5dff17c error 4 in libc-2.7.so[b7142000+155000] Mar 21 15:21:03 t61 kernel: [ 3080.508699] firestarter[11594]: segfault at 6e657651 ip b71cdf61 sp bfe6fc04 error 4 in libc-2.7.so[b715f000+155000]

I have no idea about segfaults. I've never encountered one that I was aware of. I have since restarted everything again after finding these in the logs to see if it would be reproduced, but they were not.

Daryl


Reply to: