• Welcome Visitor! Please take a few seconds and Register for our forum. Even if you don't want to post, you can still 'Like' and react to posts.

The Linux Thread


I don't want to encourage you to work on it if you need a break (I know how that goes) but if you get a chance could you post a pic of the output of "ping google.com" ?
 
I don't want to encourage you to work on it if you need a break (I know how that goes) but if you get a chance could you post a pic of the output of "ping google.com" ?
20240922_160842.jpg
 
Yep, as I suspected, your system is either defaulting to IPv6 or doesn't even have IPv4 support enabled.
By any chance did the setup routine offer you a choice where you may have disabled ipv4? I'm out of the house on my phone right now but it's easy enough to switch to ipv4 if for some reason it's not enabled
 
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1

Those 3 commands should temporarily disable ipv6 for testing your ipv4 config
 
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1

Those 3 commands should temporarily disable ipv6 for testing your ipv4 config
Ok. I'm back. Those commands didn't work quite right, especially the "all" part. So I ran the command individually for each device - bond0, enp1s0, enp2s0, lo and default. Still no ip4 addresses showing when I run ifconfig. Using grep I can look at parameters for a device. (Found this command online when looking for help on system command) so, when I look at ipv4 parameters, I see at least 2 things that may be wrong.

1. .accept_local is turned off (0 value)
2. .route_localnet is turned off

Frankly, very few of these parameters mean much to me.
 
Also, is there a way to get it for 1 page at a time when I type a command like sysctl -a and it has more lines of info that my screen can show? Very irritating to not be able to see the upper part of the list.
 
What does your /etc/network/interfaces file look like?
 
Also, is there a way to get it for 1 page at a time when I type a command like ifconfig and it has more lines of info that my screen can show? Very irritating to not be able to see the upper part of the list.
Yes, add “ | more” to the end of the command, for example “ifconfig | more”

that vertical line is the pipe symbol, hopefully it’s obvious where that is on your keyboard layout
 
Yes, add “ | more” to the end of the command, for example “ifconfig | more”

that vertical line is the pipe symbol, hopefully it’s obvious where that is on your keyboard layout
Oh. That's better
 
Actually if you pipe it through “less” you can scroll up and down 😄

ifconfig | less
Ok. Ifconfig doesn't really need it. But very handy for sysctl -a
 
Wonder if I should just do the whole installation all over again from the beginning. Maybe there were questions I should have answered differently.
 
Ok. Ifconfig doesn't really need it. But very handy for sysctl -a
less also works well when you just want to take a quick glance at a long file, such as
less /etc/network/interfaces
 
Wonder if I should just do the whole installation all over again from the beginning. Maybe there were questions I should have answered differently.
Depends on how deep you’re in and how much time you have invested. The one thing about Linux is that everything is fixable. Almost everything anyway.
My thing is that as far as learning goes, I would probably want to start with the simplest possible setup. Nothing wrong with what you’ve done so far though. Counterpoint, given what you’ve learned already, if you were to buzz through the install again itll probably make even more sense.
 
Normally, on a vanilla installation of Ubuntu, one Ethernet port will be configured to auto and when you wire it into the router it’ll just work. No configuration necessary on your part. IPv4 should really always be there as default, that’s why I scratch my head a bit.
 

Sponsored Ad


Sponsored Ad

TRS Events

Member & Vendor Upgrades

For a small yearly donation, you can support this forum and receive a 'Supporting Member' banner, or become a 'Supporting Vendor' and promote your products here. Click the banner to find out how.

Recently Featured

Want to see your truck here? Share your photos and details in the forum.

Ranger Adventure Video

TRS Merchandise

Follow TRS On Instagram

TRS Sponsors


Sponsored Ad


Sponsored Ad


Amazon Deals

Sponsored Ad

Back
Top