On 27/01/2019 1:44 p.m., Edgar Pettijohn wrote:
On Sun, Jan 27, 2019 at 09:34:54PM +0100, Mikkel C. Simonsen wrote:
Den 27-01-2019 kl. 19:45 skrev trondd:
On Sun, January 27, 2019 12:44 pm, Edgar Pettijohn wrote:
I'm trying to replace my dieing soekris box with an apu2 dmesg below.
However, I can't seem to get em0 to connect to my isp. It will work
when connecting to the soekris box though. So I don't think its the
interface that is the problem. But everything I try seems to rule out
eachother as the problem, leaving me in a viscious cycle.
I'm going to try disabling pf and after that current. If you have
any other suggestions please send them.
Thanks,
edgar
Does your ISP whitelist by MAC address?
My ISP locks the connection to a certain MAC for a number of hours. Tech
support can probably delete the old lease.
Best regards,
Mikkel
I don't think this is the case. I was able to connect directly to my laptop and
get a lease immediately. Its odd... With base dhclient it goes something like:
em0.... no link
em0......... got link
and then nothing.
I installed isc-dhcp-client and it actually goes through the steps of the whole
DHCPDISCOVER...etc,etc. Unfortunantly it still ends with me not having a
connection.
I doubt it will do anything, but I'm going to try updating the bios. Sort of
like
checking the oil when the problem is a flat tire, but who knows.
Thanks,
edgar
Hi,
I just upgraded my APU2 yesterday and have no problems with my dhcp. I
have a cable internet connection through my ISP.
Do you have a /etc/dhclient.conf file? I do not.
Perhaps try killing dhclient, then run it in debugging mode in the
foreground.
/sbin/dhclient -i em0 -d -v
See what happens.
My /etc/hostname.em0 just has "dhcp" in it.
Here's some information from my system:
OpenBSD 6.4 (GENERIC.MP) #364: Thu Oct 11 13:30:23 MDT 2018
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4261072896 (4063MB)
avail mem = 4122664960 (3931MB)
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdffb7020 (7 entries)
bios0: vendor coreboot version "88a4f96" date 03/07/2016
bios0: PC Engines apu2
em0 at pci1 dev 0 function 0 "Intel I210" rev 0x03: msi, address
00:0d:b9:44:62:7c
pcengine# ifconfig em0
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:0d:b9:44:62:7c
index 1 priority 0 llprio 3
groups: egress
media: Ethernet autoselect (1000baseT full-duplex,master)
status: active
inet a.b.c.d netmask 0xffffffc0 broadcast a.b.c.something
You might also try running tcpdump while the dhcp is going on and watch
the packet trace. At a minimum, you could post the packet trace here
for imput.
tcpdump -i em0
Cheers,
Steve W.