Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Nov 2016 12:15:15 -0500
From:      laszlo <george@vagner.com>
Cc:        freebsd-questions@freebsd.org
Subject:   USB network cards and DHCP
Message-ID:  <09a08e97-036e-4a0b-11c6-910042504b54@vagner.com>
In-Reply-To: <alpine.BSF.2.20.1611120736450.34378@wonkity.com>
References:  <CAHXmVrrGE8yTrw-serynWYbGFTEZR%2BATB56DCG93j64Cr6SGEQ@mail.gmail.com> <alpine.BSF.2.20.1611120736450.34378@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
i have been trying use a USB network card for my satellite connection 
but if i turn off the sat modem and turn it back on the USB card does 
not get a IP address. If i mark the interface down and then back up it 
does get an ip address or if i reboot it does get an ip address.

i regularly turn off the modem to save bandwidth (its on a timer).

i tried swapping the USB card with the permanent one as to which one 
goes to the satellite modem but the system exhibits the same behavior as 
long as there is a USB network card plugged in.

the only way i can reliably get an IP as to have both network cards 
permanent cards and not USB.

right now i am using a mini-pci-e network card and the internal built in 
realtek one and everything works fine
but leaves no room for my access point card.

i have tried all sorts of cards on different platforms IE 10.3, 11.0, 
12.0 on both rasberry pi, rasberry pi2, i386 and x64 and the all exhibit 
the same behavior-- if that USB card is plugged in then i cannot get an 
ip after losing the connection and regaining it.

the lease file shows the IP as 0.0.0.0

i think it has to do with the order that the network is initialized, i 
think the network is attempted to try and initialize before the USB card 
comes back alive.

maybe someone else has seen this before?

just grasping at straws here.

George




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?09a08e97-036e-4a0b-11c6-910042504b54>