View previous topic :: View next topic |
Author |
Message |
m1shake n00b
Joined: 08 Jan 2022 Posts: 17
|
Posted: Sat Oct 08, 2022 1:25 am Post subject: Slow and not inicialzing with System Internet |
|
|
HI!
I got my new fresh install running everything fine.
But some issues with the internet.
Im using the DHCPCD but when i reboot my computer it doesnt work out-of-the-box, i need to run doas dhcpcd enp3s0 to run and my connection is slow alot, not usual to my internet, i tested it on another computer and still good.
The daemon off dhcpcd is already add at rc-service.
like 80mb/s normal and i got only 8mb/s.
I would like some help to solve it!
I dont use Wireless.
I didnt rn the net-setup at installation, maybe that is the problem.
Last edited by m1shake on Wed Oct 12, 2022 1:08 am; edited 1 time in total |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5353 Location: Bavaria
|
Posted: Sat Oct 08, 2022 9:55 am Post subject: |
|
|
m1shake,
if your ethernet is VERY slow (you might edit your post ) this can have many reasons:
1. Check your cable (change with another which is proofed to be okay).
2. Check your dmesg for errors of your ethernet (some ethernet modules needs firmware; you will see it here)
3. Maybe a problem with your switch. What happens if you set a static ip address instead using dhcp ?
4. If nothing helps - maybe you have a hardware problem with this port ... |
|
Back to top |
|
|
m1shake n00b
Joined: 08 Jan 2022 Posts: 17
|
Posted: Sat Oct 08, 2022 10:57 am Post subject: |
|
|
pietinger wrote: | m1shake,
if your ethernet is VERY slow (you might edit your post ) this can have many reasons:
1. Check your cable (change with another which is proofed to be okay).
2. Check your dmesg for errors of your ethernet (some ethernet modules needs firmware; you will see it here)
3. Maybe a problem with your switch. What happens if you set a static ip address instead using dhcp ?
4. If nothing helps - maybe you have a hardware problem with this port ... |
It works well with another system or distro, im sure the problem is the config.
Idk how to set a static ip, how i do that?
I would like to try, thanks for the help. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5353 Location: Bavaria
|
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5353 Location: Bavaria
|
Posted: Mon Oct 10, 2022 12:09 pm Post subject: |
|
|
m1shake,
I would try these settings:
Code: | config_enp3s0="192.168.0.2/24"
routes_enp3s0="default via 192.168.0.1" |
|
|
Back to top |
|
|
m1shake n00b
Joined: 08 Jan 2022 Posts: 17
|
Posted: Mon Oct 10, 2022 12:29 pm Post subject: |
|
|
pietinger wrote: | m1shake,
I would try these settings:
Code: | config_enp3s0="192.168.0.2/24"
routes_enp3s0="default via 192.168.0.1" |
|
It works!
Maybe any from the kernel? Im running the gentoo bin kernel.
Last edited by m1shake on Mon Oct 10, 2022 1:12 pm; edited 2 times in total |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5353 Location: Bavaria
|
Posted: Mon Oct 10, 2022 1:09 pm Post subject: |
|
|
m1shake wrote: | Maybe any from the kernel? Im running the gentoo bin kernel. |
If you run our bin kernel you should be fine ... EXCEPT ... IF your ethernet module needs firmware, you MUST install it:
Code: | # emerge -vD linux-firmware |
(just look into your "dmesg" and look if you find some messages like described here: https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration#Driver_needs_Firmware )
If your ethernet module doesnt need some firmware, it could be also:
a) bad cable
b) bad switch / bad switch port (try another port)
c) bad ethernet card in your computer
d) mismatch with MTU sizes in your network
If you have experience with a sniffer you could try to install wireshark and have a look into your network. As your speed has factor 10 slower I think it is a problem with recognizing type of ethernet standard (100 mb/s instead 1 gb/s). |
|
Back to top |
|
|
m1shake n00b
Joined: 08 Jan 2022 Posts: 17
|
Posted: Mon Oct 10, 2022 1:14 pm Post subject: |
|
|
pietinger wrote: | m1shake wrote: | Maybe any from the kernel? Im running the gentoo bin kernel. |
If you run our bin kernel you should be fine ... EXCEPT ... IF your ethernet module needs firmware, you MUST install it:
Code: | # emerge -vD linux-firmware |
(just look into your "dmesg" and look if you find some messages like described here: https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/Manual_kernel_configuration#Driver_needs_Firmware )
If your ethernet module doesnt need some firmware, it could be also:
a) bad cable
b) bad switch / bad switch port (try another port)
c) bad ethernet card in your computer
d) mismatch with MTU sizes in your network
If you have experience with a sniffer you could try to install wireshark and have a look into your network. As your speed has factor 10 slower I think it is a problem with recognizing type of ethernet standard (100 mb/s instead 1 gb/s). |
I already have linux-firmware installed.
But i updated the link to /etc/conf.d/net and everything works fine.
Probably the error was the recognizing of the internet standard, thanks for the help! |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5353 Location: Bavaria
|
Posted: Mon Oct 10, 2022 1:16 pm Post subject: |
|
|
m1shake wrote: | Probably the error was the recognizing of the internet standard, thanks for the help! |
You are very welcome, m1shake !
Have fun with Gentoo !
(Please add a [Solved] into the title of your first post) |
|
Back to top |
|
|
|