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
Old 8th May 2018
bsd007's Avatar
bsd007 bsd007 is offline
Always learning
 
Join Date: Sep 2014
Posts: 216
Default

Quote:
Originally Posted by johnR View Post
It looks like it's finding the card. What does ifconfig show?
My cable ISP has given me a static IP configuration

IP:172.16.197.XXX
S/M:255.255.255.0
DG:172.16.197.1
DNS:8.8.8.8

I have setup the above configuration during the installation but when I do

ifconfig I see no ip address assigned to re0. IIRC that is my interface name.

Note: I am connected directly without a router.
__________________
OpenBSD 6.4
Intel(R) Core(TM) i3-6100 CPU
Ram 4GB
Intel HD Graphics
Reply With Quote
Old 8th May 2018
johnR johnR is offline
Port Guard
 
Join Date: Nov 2017
Posts: 21
Default

Don't know if it's any help, but here's what ifconfig shows on my 6.2 desktop, which has a similar ethernet interface (RTL8168C/8111C) and static IP:
Code:
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	lladdr xx:xx:xx:xx:xx:xx
	index 1 priority 0 llprio 3
	groups: egress
	media: Ethernet autoselect (100baseTX full-duplex,rxpause,txpause)
	status: active
	inet 192.168.x.x netmask 0xffffff00 broadcast 192.168.x.255
Reply With Quote
Old 8th May 2018
shep shep is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,152
Default

Could you need to authenticate?
http://forums.dlink.com/index.php?topic=60582.0
Reply With Quote
Old 8th May 2018
bsd007's Avatar
bsd007 bsd007 is offline
Always learning
 
Join Date: Sep 2014
Posts: 216
Default

Quote:
Originally Posted by shep View Post
Could you need to authenticate?
http://forums.dlink.com/index.php?topic=60582.0
That link is not loading. I am not using a router. Its a "direct" Ethernet connection.
__________________
OpenBSD 6.4
Intel(R) Core(TM) i3-6100 CPU
Ram 4GB
Intel HD Graphics
Reply With Quote
Old 8th May 2018
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,293
Default

Just as you did with dmesg(8), please post the output of ifconfig(8) here.
Reply With Quote
Old 8th May 2018
bsd007's Avatar
bsd007 bsd007 is offline
Always learning
 
Join Date: Sep 2014
Posts: 216
Default

Quote:
Originally Posted by jggimi View Post
Just as you did with dmesg(8), please post the output of ifconfig(8) here.
I tried the same method but the fat32 partition refused to mount so attaching a photo.
Attached Images
File Type: jpeg ip.jpeg (601.3 KB, 16 views)
__________________
OpenBSD 6.4
Intel(R) Core(TM) i3-6100 CPU
Ram 4GB
Intel HD Graphics
Reply With Quote
Old 8th May 2018
shep shep is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,152
Default

Another thought, if your ISP supports a dhcp connection you can cross-check the gateway and DNS mask. If you get a dhcp connection, the values will be in the ifconfig output.
Reply With Quote
Old 8th May 2018
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,293
Default

The state shows "no carrier" - which is a report from the PHY indicating a disconnected Ethernet cable.

Your PHY is an RTL8251, using the rgephy(4) driver. This is a supported hardware component, and has been used successfully with OpenBSD by other users, including gkbsd.
Reply With Quote
Old 8th May 2018
johnR johnR is offline
Port Guard
 
Join Date: Nov 2017
Posts: 21
Default

Quote:
ifconfig I see no ip address assigned to re0
Your screen photo of ifconfig output shows the IP address, but as jggimi pointed out there is no carrier detected.
Reply With Quote
Old 8th May 2018
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,293
Default

And, while I'm here, I notice the IP address assigned is an RFC 1918 private address. This address is not on the Internet. A NAT router must be deployed to communicate with the Internet when using that address.
Reply With Quote
Old 8th May 2018
bsd007's Avatar
bsd007 bsd007 is offline
Always learning
 
Join Date: Sep 2014
Posts: 216
Default

My ISP offers static IP only.

There is a router its just not in my residence
__________________
OpenBSD 6.4
Intel(R) Core(TM) i3-6100 CPU
Ram 4GB
Intel HD Graphics
Reply With Quote
Old 9th May 2018
bsd007's Avatar
bsd007 bsd007 is offline
Always learning
 
Join Date: Sep 2014
Posts: 216
Default

I have used this PC as a pfsense box for about a month. Do you think that has damaged the NIC somehow ?

I know this is a difficult question to answer. Just checking.
__________________
OpenBSD 6.4
Intel(R) Core(TM) i3-6100 CPU
Ram 4GB
Intel HD Graphics
Reply With Quote
Old 9th May 2018
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,293
Default

The most likely cause is a bad RJ45 cable connector on one or the other cable-end. They fail.

The second most likely cause is a disconnected cable.

The third most likely cause is a broken cable.

The fourth most likely cause is a damaged PHY at either end of the connection.
Reply With Quote
Old 9th May 2018
bsd007's Avatar
bsd007 bsd007 is offline
Always learning
 
Join Date: Sep 2014
Posts: 216
Default

Quote:
Originally Posted by jggimi View Post
The most likely cause is a bad RJ45 cable connector on one or the other cable-end. They fail.

The second most likely cause is a disconnected cable.

The third most likely cause is a broken cable.

The fourth most likely cause is a damaged PHY at either end of the connection.
Okay but Ubuntu is detecting and using the network without any issues.

What is PHY ?

This is the ifconfig from Ubuntu

Code:
$ ifconfig 
enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.16.197.126  netmask 255.255.255.0  broadcast 172.16.197.255
        inet6 fe80::a4ab:c902:f5cd:e648  prefixlen 64  scopeid 0x20<link>
        ether 60:45:cb:87:53:a5  txqueuelen 1000  (Ethernet)
        RX packets 32170  bytes 5263469 (5.2 MB)
        RX errors 0  dropped 23417  overruns 0  frame 0
        TX packets 5771  bytes 1439316 (1.4 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
Code:
$ ping -c3 google.com
PING google.com (172.217.166.174) 56(84) bytes of data.
64 bytes from bom07s20-in-f14.1e100.net (172.217.166.174): icmp_seq=1 ttl=54 time=42.9 ms
64 bytes from bom07s20-in-f14.1e100.net (172.217.166.174): icmp_seq=2 ttl=54 time=41.9 ms
64 bytes from bom07s20-in-f14.1e100.net (172.217.166.174): icmp_seq=3 ttl=54 time=42.6 ms

--- google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 41.984/42.527/42.909/0.460 ms
__________________
OpenBSD 6.4
Intel(R) Core(TM) i3-6100 CPU
Ram 4GB
Intel HD Graphics

Last edited by bsd007; 9th May 2018 at 12:38 PM.
Reply With Quote
Old 9th May 2018
johnR johnR is offline
Port Guard
 
Join Date: Nov 2017
Posts: 21
Default

Quote:
Originally Posted by bsd007 View Post
What is PHY ?
Here's what Google told me:
https://en.wikipedia.org/wiki/PHY_(chip)

Last edited by johnR; 9th May 2018 at 12:53 PM. Reason: Removed redundant question
Reply With Quote
Old 9th May 2018
bsd007's Avatar
bsd007 bsd007 is offline
Always learning
 
Join Date: Sep 2014
Posts: 216
Default

I think the PHY is damaged to a certain extent. Running pfsense was really a bad idea.
__________________
OpenBSD 6.4
Intel(R) Core(TM) i3-6100 CPU
Ram 4GB
Intel HD Graphics
Reply With Quote
Old 9th May 2018
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,293
Default

Software is unlikely to damage a PHY.

pfSense is a router OS based on FreeBSD.

As a Linux kernel is able to make the PHY function, but OpenBSD is not able to do so, then this indicates an OpenBSD software issue.
Reply With Quote
Old 9th May 2018
bsd007's Avatar
bsd007 bsd007 is offline
Always learning
 
Join Date: Sep 2014
Posts: 216
Default

Quote:
Originally Posted by jggimi View Post
Software is unlikely to damage a PHY.

pfSense is a router OS based on FreeBSD.

As a Linux kernel is able to make the PHY function, but OpenBSD is not able to do so, then this indicates an OpenBSD software issue.
I really want to use OpenBSD. Its really disappointing that I cant.
__________________
OpenBSD 6.4
Intel(R) Core(TM) i3-6100 CPU
Ram 4GB
Intel HD Graphics
Reply With Quote
Old 9th May 2018
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,293
Default

You could, if you were inclined to do so, report this problem to the OpenBSD Project.
Reply With Quote
Old 9th May 2018
bsd007's Avatar
bsd007 bsd007 is offline
Always learning
 
Join Date: Sep 2014
Posts: 216
Default

Quote:
Originally Posted by jggimi View Post
You could, if you were inclined to do so, report this problem to the OpenBSD Project.
I will just wait for the next release and download it when it gets released. Try it and see if there is any improvement.
__________________
OpenBSD 6.4
Intel(R) Core(TM) i3-6100 CPU
Ram 4GB
Intel HD Graphics
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
Video card instead of sound card ripe OpenBSD General 12 2nd May 2013 04:02 PM
Mouse:X (not-working) and tty-Console (working), in 8.0 ykt FreeBSD General 1 22nd December 2009 12:26 PM
atheros wireless card not working guitarscn FreeBSD General 0 26th August 2009 05:50 PM
my radeon hd card is no longer working iacbsd OpenBSD General 8 17th July 2009 10:14 AM
HOWTO: Working Intel Graphics Card Setup vermaden FreeBSD Installation and Upgrading 2 3rd July 2009 07:59 PM


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


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