DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 30th August 2011
BinarySpike BinarySpike is offline
New User
 
Join Date: Aug 2011
Posts: 7
Default How do I troubleshoot an internal interface

I'm new to BSD. I have an OpenBSD box acting as a firewall and dhcp server connected to a Linksys N-wireless router configured as an access point/switch.

About once a day the internal interface (nfe0) will seem to drop and my internet will go down. I cannot ping the firewall but from the OpenBSD machine I can ping the router and broadcast. The strange thing is, the latency is +5000ms. If I perform a "ifconfig nfe0 down & ifconfig nfe0 up" the connection will restore itself and all is fine.

I checked everything in /var/log/ but could not find anything timestamp'd near when the problem occurred. I've tried disabling pf and the problem persists. I'm thinking that I have a bad cable or port that is causing the connection to drop to 10/half but I don't know how to check that, or if that would even cause high latency!

So my real question is, how can I effectively troubleshoot my internal interface?

Thanks,
Nathan
Reply With Quote
  #2   (View Single Post)  
Old 31st August 2011
BinarySpike BinarySpike is offline
New User
 
Join Date: Aug 2011
Posts: 7
Default

I just got back from work and my internal network has been down and a ping of my router reports "Host is down" instead of the +5000ms response. I did an ifconfig -A and my nfe0 (internal interface) reports 100/Full duplex.

/var/log/messages
Code:
Aug 30 18:45:35 triforce dhclient[12186]: routehandler: interface down
"dmesg | grep nfe0"
Code:
# dmesg | grep nfe0
nfe0 at pci0 dev 7 function 0 "NVIDIA MCP61 LAN" rev 0xa2: apic 2 int 10 (irq 10), address 00:1e:90:3e:ad:95
rlphy0 at nfe0 phy 1: RTL8201L 10/100 PHY, rev. 1
nfe0 at pci0 dev 7 function 0 "NVIDIA MCP61 LAN" rev 0xa2: apic 2 int 10 (irq 10), address 00:1e:90:3e:ad:95
rlphy0 at nfe0 phy 1: RTL8201L 10/100 PHY, rev. 1
Again, an "ifconfig nfe0 down & ifconfig nfe0 up" solved the problem. I'm stumped.
Reply With Quote
  #3   (View Single Post)  
Old 31st August 2011
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

The problem you're experiencing tends to show up from time to time with certain drivers and/or buggy chipset revisions, the exact cause of your problem is unknown and there is very little we can do to help you here.

It might be a good idea to install another card and see if that helps, alternatively, try replacing the cable.

You should send a bug report, right now, the gnats system is down, so try sending an email to bugs@ or contact the authors mentioned in the man page.
Reply With Quote
  #4   (View Single Post)  
Old 1st September 2011
BinarySpike BinarySpike is offline
New User
 
Join Date: Aug 2011
Posts: 7
Default

Quote:
Originally Posted by BSDfan666 View Post
The problem you're experiencing tends to show up from time to time with certain drivers and/or buggy chipset revisions, the exact cause of your problem is unknown and there is very little we can do to help you here.

It might be a good idea to install another card and see if that helps, alternatively, try replacing the cable.

You should send a bug report, right now, the gnats system is down, so try sending an email to bugs@ or contact the authors mentioned in the man page.
I do need a couple other things from newegg...

Thanks man! I'll look for a new/better card and see about submitting a bug report!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Internal Laptop Speakers divadgnol67 OpenBSD General 11 7th September 2010 07:02 PM
500 Internal Server Error. Mr-Biscuit Off-Topic 12 12th May 2010 10:23 PM
Redirect Internal Network to Internal Website plexter OpenBSD Security 12 12th February 2009 08:00 PM
NIC with internal cable; how to remove? TerryP Off-Topic 9 14th July 2008 06:33 AM
2 external NIC + 1 internal NIC AlexV FreeBSD General 7 4th June 2008 08:18 AM


All times are GMT. The time now is 12:31 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick