Upgrading to newer versions of GhostBSD base on 13-STABLE

News and Announcements related to GhostBSD
ltning
Posts: 4
Joined: Sun May 02, 2021 4:15 pm
Has thanked: 0
Been thanked: 0

Re: Upgrading to newer versions of GhostBSD base on 13-STABLE

Post by ltning »

Hi,
I upgraded my desktop, and so far there are three problems:
- The network does not come up automatically; I have to click the network manager and "Enable" the wired interface for the DHCP client to start
- I cannot PING any hostname that resolves with an IPv6 address; I do _not_ have IPv6 on the interface, but it gives me "ping: UDP connect: No route to host". 12-STABLE did not have this issue.
- SVG icons in menus etc. do not work, and I cannot select an SVG file as icon for an application (it only lists PNG files in the dialog)

I realise it's early and risky to move to 13, but I could not wait. :)

Thanks for your efforts,
Eirik @ Modirum

grahamperrin
Posts: 58
Joined: Sun Sep 04, 2016 6:06 am
Has thanked: 25 times
Been thanked: 1 time

re(4), networkmgr, DHCP

Post by grahamperrin »

ltning wrote:
Sun May 02, 2021 4:18 pm
- The network does not come up automatically; I have to click the network manager and "Enable" the wired interface for the DHCP client to start
What's the network hardware?

Wired: DHCP: not gaining an address · Issue #56 · ghostbsd/networkmgr

aschiebe
Posts: 17
Joined: Sat Mar 14, 2020 4:04 pm
Has thanked: 2 times
Been thanked: 4 times

Re: Upgrading to newer versions of GhostBSD base on 13-STABLE

Post by aschiebe »

for the ping issue, just enter "ping -4 host", the options ping -4 and ping -6 are new to FreeBSD 13, for details just enter man ping.
Hope it helps with this one issue.
Arnold

User avatar
ericbsd
Developer
Posts: 1747
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 62 times
Been thanked: 122 times

Re: Upgrading to newer versions of GhostBSD base on 13-STABLE

Post by ericbsd »

ltning wrote:
Sun May 02, 2021 4:18 pm
Hi,
I upgraded my desktop, and so far, there are three problems:
- The network does not come up automatically; I have to click the network manager and "Enable" the wired interface for the DHCP client to start
- I cannot PING any hostname that resolves with an IPv6 address; I do _not_ have IPv6 on the interface, but it gives me "ping: UDP connect: No route to host". 12-STABLE did not have this issue.
- SVG icons in menus etc. do not work, and I cannot select an SVG file as an icon for an application (it only lists PNG files in the dialog)

I realize it's early and risky to move to 13, but I could not wait. :)

Thanks for your efforts,
Eirik @ Modirum
@ltning What is your driver? Can you give me the output of ifconfig?

In 13.0, for some reason some times ping default to IPv6. Use ping -4 to ping with IPv4.

For the icon, look at https://forums.ghostbsd.org/viewtopic.php?p=9420#p9420. It might help you to fix the issue.

ltning
Posts: 4
Joined: Sun May 02, 2021 4:15 pm
Has thanked: 0
Been thanked: 0

Re: re(4), networkmgr, DHCP

Post by ltning »

grahamperrin wrote:
Sun May 02, 2021 8:27 pm
What's the network hardware?
Wired: DHCP: not gaining an address · Issue #56 · ghostbsd/networkmgr
Realtek (re) interface. I have not tried uninstalling networkmgr.

ltning
Posts: 4
Joined: Sun May 02, 2021 4:15 pm
Has thanked: 0
Been thanked: 0

Re: Upgrading to newer versions of GhostBSD base on 13-STABLE

Post by ltning »

ericbsd wrote:
Mon May 03, 2021 6:44 am
@ltning What is your driver? Can you give me the output of ifconfig?
Realtek interface - this is after hitting 'enable' in network manager:

Code: Select all

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:01:2e:95:66:e7
	inet 192.168.3.156 netmask 0xffffff00 broadcast 192.168.3.255
	media: Ethernet autoselect (1000baseT <full-duplex>)
	status: active
	nd6 options=2b<PERFORMNUD,ACCEPT_RTADV,IFDISABLED,AUTO_LINKLOCAL>
ericbsd wrote:
Mon May 03, 2021 6:44 am
In 13.0, for some reason some times ping default to IPv6. Use ping -4 to ping with IPv4.
Yeah but I have another 13-laptop and I don't have this problem. It also does not have IPv6 configured, so I don't understand why ping on GhostBSD is trying to use IPv6 at all.
ericbsd wrote:
Mon May 03, 2021 6:44 am
For the icon, look at https://forums.ghostbsd.org/viewtopic.php?p=9420#p9420. It might help you to fix the issue.
Thanks, I'll be trying this soon.

/Eirik

User avatar
ericbsd
Developer
Posts: 1747
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 62 times
Been thanked: 122 times

Re: Upgrading to newer versions of GhostBSD base on 13-STABLE

Post by ericbsd »

I was able to reproduce it on my laptop with em0. I will try to have a fix in by tonight or tomorrow.

grahamperrin
Posts: 58
Joined: Sun Sep 04, 2016 6:06 am
Has thanked: 25 times
Been thanked: 1 time

PkgBase

Post by grahamperrin »

This method of upgrading uses PkgBase, yes? (Wonderful …)

Postscript: I see it as comparable but not the same. GhostBSD using a set of packages that is broader than just base 👍
Last edited by grahamperrin on Fri May 07, 2021 3:32 am, edited 1 time in total.

User avatar
ericbsd
Developer
Posts: 1747
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 62 times
Been thanked: 122 times

Re: re(4), networkmgr, DHCP

Post by ericbsd »

ltning wrote:
Mon May 03, 2021 12:55 pm
grahamperrin wrote:
Sun May 02, 2021 8:27 pm
What's the network hardware?
Wired: DHCP: not gaining an address · Issue #56 · ghostbsd/networkmgr
Realtek (re) interface. I have not tried uninstalling networkmgr.
I have tested the update this morning everything looks to work fine now.

I have pushed the update, and after the update, dhcpcd should start fine.

@ltning Just one thing you will need to do to avoid the problems is to remove dhcpcd from boot services.

Code: Select all

sudo rc-update delete dhcpcd boot
Devd will take care of dhcpcd.

ltning
Posts: 4
Joined: Sun May 02, 2021 4:15 pm
Has thanked: 0
Been thanked: 0

Re: Upgrading to newer versions of GhostBSD base on 13-STABLE

Post by ltning »

Thank you, I can confirm that the network is now operational immediately after boot.

Icons and such are also working; though I cannot tell if it was due to my pkg install -f of the packages mentioned elsewhere in this thread, or the slew of updates that came through the updater today.

13 for the win! Thanks again!

/Eirik

Post Reply