Jump to content
IGNORED

GentooPlayer


Recommended Posts

13 minutes ago, bodiebill said:

 

With the previous installation (systemd) I do have internet, but with the new one apparently not.

ping google.com gives:

ping: www.google.com: Temporary failure in name resolution

 

and ifconfig gives:
eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.207  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::92e2:baff:fe44:9c6  prefixlen 64  scopeid 0x20<link>
        ether 90:e2:ba:44:09:c6  txqueuelen 1000  (Ethernet)
        RX packets 112  bytes 11495 (11.2 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 73  bytes 13948 (13.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

I don't think it solves the host.

you can check what's in the file 

/etc/resolv.conf

there should be a router

type

 

nameserver 192.168.1.1

 

the file should be written by dhcp at startup

Link to comment
6 minutes ago, antonellocaroli said:

I don't think it solves the host.

you can check what's in the file 

/etc/resolv.conf

there should be a router

type

 

nameserver 192.168.1.1

 

/etc/resolv.conf contains (only):
nameserver 192.168.1.254

which is the gateway.

The PC is pingable, but no internet.

 

audio system

 

Link to comment
5 minutes ago, bodiebill said:

 

yes, and the router does list the GP PC:

GentooPlayer-64    90:E2:BA:44:09:C6    192.168.1.207    Ethernet(1000Mbps)    N/A    *** STATIC IP ADDRESS **

 

you gave a fixed ip through the router to the previous installation?

you don't have the dhcp active on your router?

you should delete it...or update it

Link to comment
15 minutes ago, antonellocaroli said:

you gave a fixed ip through the router to the previous installation?

you don't have the dhcp active on your router?

you should delete it...or update it

 

I used the ipstatic command. So the router is not allocating, but the GP PC is demanding a static ip address.

The router DHCP seems to be working well.

How do I set a dynamic ip address?

Or maybe I should try reinstalling and fixing it to another static ip address (not .207)?

 

audio system

 

Link to comment
1 minute ago, bodiebill said:

 

I used the ipstatic command. So the router is not allocating, but the GP PC is demanding a static ip address.

The router DHCP seems to be working well.

How do I set a dynamic ip address?

Or maybe I should try reinstalling and fixing it to another static ip address (not .207)?

 

show me the content of 
/etc/conf.d/net

Link to comment
19 minutes ago, antonellocaroli said:

try changing the netmask to 255.255.0.0

and restart

 

when doing that I get

ln: failed to create symbolic link '/etc/init.d/net.eth1': File exists
 * rc-update: net.eth1 already installed in runlevel `default'; skipping
 * Caching service dependencies ...                                                                           [ ok ]
 * Unmounting network filesystems ...                                                                         [ ok ]
 * Bringing down interface eth1
RTNETLINK answers: No such file or directory
Error talking to the kernel
 * Bringing up interface eth1
 *   You are using a bash array for config_eth1.
 *   This feature will be removed in the future.
 *   Please see net.example for the correct format for config_eth1.
 *   192.168.1.207 ...                                                                                        [ ok ]
 *   You are using a bash array for routes_eth1.
 *   This feature will be removed in the future.
 *   Please see net.example for the correct format for routes_eth1.
 *   Adding routes
 *     default gw 192.168.1.254 ...                                                                           [ ok ]
 * rc-update: service `dhcpcd' is not in the runlevel `default'

 

and when I reboot still no internet.

Shall I try a new install and avoid the previous ip address .207 ?

 

Maybe I should add that I am using an Intel X520-DA1 fiber network card. Under the GP systemd version it works well and has another name (not eth1). 

 

audio system

 

Link to comment
1 hour ago, antonellocaroli said:

you have to switch off and on again what is between the network cards and the router and also the router

This did not help.

I used BalenaEtcher to make a new stick and reinstalled.

Now I do have internet, but I am still using a dynamic ip address.

If I set a static ip address, how do I get back to dynamic if needed?

 

audio system

 

Link to comment
5 minutes ago, bodiebill said:

This did not help, so I use BalenaEtcher to make a new stick and reinstalled.

I do have internet now, but still using a dynamic ip address. If I set a static ip address, how do I get back to dynamic if needed?

 

if the network is named eth1

 

rc-update del net.eth1 default

 

rc-update add dhcpcd default

 

reboot

 

 

Link to comment
Just now, antonellocaroli said:

show me ifconfig when in dhcp

eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 0c:c4:7a:c1:f4:31  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0xdc100000-dc17ffff  

eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.20  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::ea72:8f76:a660:bf5  prefixlen 64  scopeid 0x20<link>
        ether 90:e2:ba:44:09:c6  txqueuelen 1000  (Ethernet)
        RX packets 1767  bytes 162048 (158.2 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1309  bytes 187165 (182.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth2: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 0c:c4:7a:c1:f4:30  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16  memory 0xdc300000-dc320000  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 36  bytes 2280 (2.2 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 36  bytes 2280 (2.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

audio system

 

Link to comment
7 minutes ago, bodiebill said:

eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 0c:c4:7a:c1:f4:31  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0xdc100000-dc17ffff  

eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.20  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::ea72:8f76:a660:bf5  prefixlen 64  scopeid 0x20<link>
        ether 90:e2:ba:44:09:c6  txqueuelen 1000  (Ethernet)
        RX packets 1767  bytes 162048 (158.2 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1309  bytes 187165 (182.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth2: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 0c:c4:7a:c1:f4:30  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16  memory 0xdc300000-dc320000  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 36  bytes 2280 (2.2 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 36  bytes 2280 (2.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

have you tried to set gatewey and dns 192.168.1.255 as default and not 254?

Link to comment
24 minutes ago, antonellocaroli said:

have you tried to set gatewey and dns 192.168.1.255 as default and not 254?

 

Fyi, here is the result of ifconfig on the systemd version:

enp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.207  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::92e2:baff:fe44:9c6  prefixlen 64  scopeid 0x20<link>
        ether 90:e2:ba:44:09:c6  txqueuelen 1000  (Ethernet)
        RX packets 194  bytes 16337 (15.9 KiB)
        RX errors 0  dropped 60  overruns 0  frame 0
        TX packets 125  bytes 18563 (18.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

I compared the sound between the openRC and systemd versions and in my case the systemd version clearly sounds better. It is no doubt less strident, more mellifluous.

Is it just the system or could it be the different usb sticks? One (for systemd) is a sturdy and fast SLC stick which needs only 20 seconds to copy to RAM, the other (for openRC) an average stick which needs over 5 minutes to copy to RAM.

I guess it is not the sticks as I play from RAM...

 

I may try what you propose above (192.168.1.255) later, just out of curiosity.

 

Thanks again for your patience and prompt replies, Filippo, much appreciated!

 

audio system

 

Link to comment

Unfortunately with UEFI images I have problems...
GPT practically keeps the information of the pen from which I make the images, when you go to copy it, with some usb from errors ...

like:

 

GPT PMBR size mismatch (60751871 != 60063743) will be corrected by write.
The primary GPT table is corrupt, but the backup appears OK, so that will be used.
------

 

the only way I could solve it was by doing this:

copy the image

check with fdisk -l if it signals an error and keep the GUID in mind

 

ex:
PT PMBR size mismatch (60751871 != 60063743) will be corrected by write.
The primary GPT table is corrupt, but the backup appears OK, so that will be used.

Disk /dev/sdg: 28,7 GiB, 30752636928 bytes, 60063744 sectors
Disk model: Ultra USB 3.0   
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 4A23B2B5-DA40-485D-8CAE-28B6AA808EAC

Dispositivo  Start     Fine  Settori  Size Tipo
/dev/sdg1     2048     6143     4096    2M BIOS boot
/dev/sdg2     6144   536575   530432  259M EFI System
/dev/sdg3   536576 15671295 15134720  7,2G Linux filesystem
------------------------

 

then use gdisk

gdisk /dev/sdx

ex: gdisk /dev/sdb etc.

use "v" to analyze the disk and then follow the suggestions

ex:

 

gdisk /dev/sdg
GPT fdisk (gdisk) version 1.0.3

Warning! Disk size is smaller than the main header indicates! Loading
secondary header from the last sector of the disk! You should use 'v' to
verify disk integrity, and perhaps options on the experts' menu to repair
the disk.
Warning! Main and backup partition tables differ! Use the 'c' and 'e' options
on the recovery & transformation menu to examine the two tables.

Warning! One or more CRCs don't match. You should repair the disk!

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: damaged

****************************************************************************
Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.
****************************************************************************

Command (? for help): v

Caution: The CRC for the backup partition table is invalid. This table may
be corrupt. This program will automatically create a new backup partition
table when you save your partitions.

Problem: main GPT header's backup LBA pointer (60751871) doesn't
match the backup GPT header's current LBA pointer (60063743).
The 'e' option on the experts' menu may fix this problem.

Problem: main GPT header's last usable LBA pointer (60751838) doesn't
match the backup GPT header's last usable LBA pointer (60063710)
The 'e' option on the experts' menu can probably fix this problem.

Problem: main header's disk GUID (DEAD7D93-B3BB-4ABE-864A-541270826CFA) doesn't
match the backup GPT header's disk GUID (4A23B2B5-DA40-485D-8CAE-28B6AA808EAC)
You should use the 'b' or 'd' option on the recovery & transformation menu to
select one or the other header.

Problem: Disk is too small to hold all the data!
(Disk size is 60063744 sectors, needs to be 60751872 sectors.)
The 'e' option on the experts' menu may fix this problem.

Problem: GPT claims the disk is larger than it is! (Claimed last usable
sector is 60751838, but backup header is at
60751871 and disk size is 60063744 sectors.
The 'e' option on the experts' menu will probably fix this problem

Partition(s) in the protective MBR are too big for the disk! Creating a
fresh protective or hybrid MBR is recommended.

Identified 7 problems!

Command (? for help): x

Expert command (? for help): e
Relocating backup data structures to the end of the disk

Expert command (? for help): r

Recovery/transformation command (? for help): d

Recovery/transformation command (? for help): w

Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N): Y
OK; writing new GUID partition table (GPT) to /dev/sdg.
The operation has completed successfully.

then use Gparted to resize the partition of root or booted system as in pdf guide on first page...


if someone knows how to create images of systems with GPT partition table without having these incovenients can also tell me....

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...