Solved [Solved] Networking failing at install

Hello all,

After crashing my Arch Linux install and a failed adventure with PC-BSD, wiping my whole disk in the process, I decided to try take the plunge with FreeBSD 10.0. However, I run into a peculiar issue during and after installation. There is no networking on the system (DHCP fails, I have no idea how to set up static IP with my router without crashing my whole network). The network card is recognized as 'Realtek 8168/8111 B/C/CP/D/DP/E/F/G'. I did find this forum post, but I have no idea if this is what I am looking for. Especially since my network card is actually recognized and has worked under various Linux distros and Windows.

Does anyone have an idea where to start looking to solve this problem?

Thanks in advance,
Runical
 
Re: Networking failing at install

Please show the output of
pciconf -lv | grep -i -B1 -A3 realtek
ifconfig re0
and
grep re0 /etc/rc.conf

With 10-STABLE, the only Realtek I was using seems to have a delay or bounce when started, and is not ready in time for the firewall.
 
Re: Networking failing at install

Sorry for the late reply. I did not have access to the system over the weekend.

As asked:

Code:
$  pciconf -lv | grep -i -B1 -A3 realtek
re0@pci0:4:0:0: class=0x020000 card=0xe0001458 chip=0x816810ec rev=0x01 hdr=0x00
    vendor     = 'Realtek Semiconductor Co., Ltd.'
    device     = 'RTL8111/8168B PCI Express Gigabit Ethernet controller'
    class      = network
    subclass   = ethernet

Code:
$  ifconfig re0
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
        ether 00:1a:4d:9c:c0:bb
        inet 192.168.0.100 netmask 0xffffff00 broadcast 192.168.0.255 
        inet6 fe80::21a:4dff:fe9c:c0bb%re0 prefixlen 64 scopeid 0x1 
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active

Code:
$  grep re0 /etc/rc.conf
ifconfig_re0="DHCP"
ifconfig_re0="inet 192.168.0.100 netmask 255.255.255.0"

Seeing this, the solution is pretty obvious. As can be seen in rc.conf, there are 2 networking tools defined. (I tried setting up the network manually during installation). Deleting this solved the issue and now I can ping http://www.example.com. Seems that it was a PEBKAC error. Thanks for the help.

Runical
 
Back
Top