Forum › Forums › New users › New Users and General Questions › [solved]Every time I boot/reboot I have to re-enable ethernet connection
- This topic has 17 replies, 4 voices, and was last updated Aug 26-3:07 pm by Xecure.
-
AuthorPosts
-
July 26, 2021 at 3:41 pm #63638Member
CyberGhost
Hi every time I boot/reboot I have to re-enable the ethernet connection. I have tried posing with my system info and repo info but every time I do that it flags my post as spam. Not sure what I’m doing wrong. Any ideas about why I’m having to re-enable the ethernet connection? I’ll try to make another post below this one with my system info. Thanks
- This topic was modified 1 year, 9 months ago by anticapitalista. Reason: edited title to solved as requested
July 26, 2021 at 3:43 pm #63639Member
CyberGhost
::System info:
`Host: antixworkmachine Kernel: 4.9.235-antix.1-486-smp i686 bits: 32
compiler: gcc v: 8.3.0 Desktop: IceWM 2.6.0 dm: SLiM 1.3.6
Distro: antiX-19.3_386-full Manolis Glezos 15 October 2020
base: Debian GNU/Linux 10 (buster)
Machine:
Type: Laptop System: Hewlett-Packard
product: HP Pavilion dv1000 (PR425UA#ABA) v: Rev 1 serial: <filter>
Chassis: Quanta type: 10 serial: <filter>
Mobo: Quanta model: 09B8 v: 34.20 serial: <filter> BIOS: Hewlett-Packard
v: F.12 date: 11/08/2004
Battery:
ID-1: BAT0 charge: 49.3 Wh condition: 49.3/88.8 Wh (55%) volts: 12.6/14.8
model: Hewlett-Packard JM-12 type: Li-ion serial: <filter>
status: Charging
Memory:
RAM: total: 967.6 MiB used: 495.0 MiB (51.2%)
RAM Report:
permissions: Unable to run dmidecode. Root privileges required.
CPU:
Topology: Single Core model: Intel Pentium M bits: 32 type: MCP
arch: M Dothan rev: 6 L2 cache: 2048 KiB bogomips: 1994
Speed: 1000 MHz min/max: 600/1600 MHz Core speed (MHz): 1: 1000
Flags: acpi apic bts clflush cmov cx8 de dts est fpu fxsr mca mce mmx msr
mtrr pbe pge pse sep ss sse sse2 tm tm2 tsc vme
Graphics:
Device-1: Intel 82852/855GM Integrated Graphics vendor: Hewlett-Packard
driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:3582
Display: x11 server: X.Org 1.20.4 driver: intel
unloaded: fbdev,modesetting,vesa resolution: 1280×768~60Hz
OpenGL: renderer: Mesa DRI Intel 852GM/855GM x86/MMX/SSE2
v: 1.3 Mesa 18.3.6 direct render: Yes
Audio:
Device-1: Intel 82801DB/DBL/DBM AC97 Audio vendor: Hewlett-Packard
driver: snd_intel8x0 v: kernel bus ID: 00:1f.5 chip ID: 8086:24c5
Sound Server: ALSA v: k4.9.235-antix.1-486-smp
Network:
Device-1: Realtek RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
vendor: Hewlett-Packard driver: 8139too v: 0.9.28 port: 3000
bus ID: 02:00.0 chip ID: 10ec:8139
IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
IP v4: <filter> type: dynamic scope: global broadcast: <filter>
IP v6: <filter> type: dynamic mngtmpaddr scope: global
IP v6: <filter> scope: link
Device-2: Intel PRO/Wireless 2200BG [Calexico2] Network
vendor: Hewlett-Packard driver: ipw2200 v: 1.2.2kmprq port: 3000
bus ID: 02:06.0 chip ID: 8086:4220
IF: eth1 state: down mac: <filter>
WAN IP: <filter>
Drives:
Local Storage: total: 149.05 GiB used: 4.29 GiB (2.9%)
ID-1: /dev/sda vendor: Hitachi model: HTS541616J9AT00 size: 149.05 GiB
speed: <unknown> serial: <filter> rev: A70H scheme: MBR
Optical-1: /dev/sr0 vendor: PIONEER model: DVD-RW DVR-K14 rev: 1.14
dev-links: cdrom,cdrw,dvd,dvdrw
Features: speed: 24 multisession: yes audio: yes dvd: yes
rw: cd-r,cd-rw,dvd-r state: running
RAID:
Message: No RAID data was found.
Partition:
ID-1: / size: 143.71 GiB used: 4.29 GiB (3.0%) fs: ext4 dev: /dev/sda1
label: rootantiX19 uuid: bcb76786-db48-47e6-941e-d64e36d55b3b
ID-2: swap-1 size: 2.00 GiB used: 2.2 MiB (0.1%) fs: swap dev: /dev/sda2
label: swapantiX uuid: 514ea29d-134a-4b3b-89f5-c3810bb41dc5
Unmounted:
Message: No unmounted partitions found.
USB:
Hub: 1-0:1 info: Full speed (or root) Hub ports: 6 rev: 2.0
speed: 480 Mb/s chip ID: 1d6b:0002
Hub: 2-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1 speed: 12 Mb/s
chip ID: 1d6b:0001
Device-1: 2-2:6 info: Pixart Imaging Optical Mouse type: Mouse
driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 1.5 Mb/s
chip ID: 093a:2510
Hub: 3-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1 speed: 12 Mb/s
chip ID: 1d6b:0001
Hub: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 1.1 speed: 12 Mb/s
chip ID: 1d6b:0001
Sensors:
System Temperatures: cpu: 65.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 138 Uptime: 48m Init: SysVinit v: 2.93 runlevel: 5 default: 5
Compilers: gcc: 8.3.0 alt: 8 Shell: bash v: 5.0.3 running in: roxterm
inxi: 3.0.36
`- This reply was modified 1 year, 9 months ago by CyberGhost.
July 26, 2021 at 3:45 pm #63641Member
CyberGhost
::Repos:
Active apt repos in: /etc/apt/sources.list.d/antix.list
1: deb http://mirrors.rit.edu/mxlinux/mx-packages/antix/buster/ buster main nonfree nosystemd
Active apt repos in: /etc/apt/sources.list.d/buster-backports.list
1: deb http://deb.debian.org/debian buster-backports main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://ftp.us.debian.org/debian/ buster-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://ftp.us.debian.org/debian/ buster main contrib non-free
2: deb http://security.debian.org/ buster/updates main contrib non-free
No active apt repos in: /etc/apt/sources.list.d/onion.list
No active apt repos in: /etc/apt/sources.list.d/various.list
`July 26, 2021 at 3:46 pm #63642Member
CyberGhost
July 26, 2021 at 3:58 pm #63643Member
CyberGhost
::Also based on my system info, can someone please tell me what kernel I need to upgrade to? When I go to PC information and select full info, it says that my kernel is vulnerable to meltdown. Not sure about spectre or the CVE-2019-8912, Zombieload, “SACK Panic”. Thanks
July 26, 2021 at 4:16 pm #63644Member
marcelocripe
::Hello CyberGhost,
Try using Menu > Applications > antiX > antiX WiFi Switch, click the Ceni button to change your network manager program. Configure your internet connection by navigating with the arrow keys or directional keys and the Tab key to access the options. The Enter key confirms each configuration step.
I hope it works with Ceni.
marcelocripe
(Original text in Brazilian Portuguese)———-
Olá CyberGhost,
Tente utilizar o Menu > Aplicações > antiX > Selecionador de Programa Wi-Fi (antiX WiFi Switch), clique no botão Ceni para alterar o seu programa gerenciador de rede. Configure a sua conexão com a internet navegando com as teclas direcionais e a tecla Tab para acessar as opções. A tecla Enter confirma cada etapa de configuração.
Eu espero que funcione com o Ceni.
marcelocripe
(Texto original em Português do Brasil)July 26, 2021 at 4:37 pm #63650Member
CyberGhost
::Marcelocripe, I have already done that many times and I’m not using the wireless. My connection is hardwired via ethernet cable. Like every time I go to update via the terminal, it gives me connection errors and then I have to go reset the ethernet connection via ceni and then it works. I have to do that every time I boot up or reboot.
- This reply was modified 1 year, 9 months ago by CyberGhost.
July 26, 2021 at 5:29 pm #63652Member
marcelocripe
::Are you by any chance getting the error message in the terminal similar to this?
“The following signatures were invalid: EXPKEYSIG”
If this is the problem, the thread https://www.antixforum.com/forums/topic/expkeysig-error/ created by anticapitalist will help you solve the problem. On a fresh installation of antiX 19.3 full (before the release of the new antiX 19.4 ISO), when I tried to upgrade via the terminal, I observed this error, only after I fixed this problem (following the tutorial in the thread) that the connection remained set after restarting the computer.
———-
Por acaso você está recebendo a mensagem de erro no terminal semelhante a esta?
“As seguintes assinaturas eram inválidas: EXPKEYSIG”
Se for este o problema, o tópico https://www.antixforum.com/forums/topic/expkeysig-error/ criado pelo anticapitalista irá te ajudar a resolver o problema. Em uma instalação nova do antiX 19.3 full (antes do lançamento da nova ISO antiX 19.4), quando eu tentei atualizar através do terminal, eu observei este erro, só depois que eu corrigi este problema (seguindo o tutorial do tópico) que a conexão permaneceu configurada após reiniciar o computador.
July 26, 2021 at 6:26 pm #63656Member
Xecure
::If I understand correctly, you have it configured to NOT start connman at bootime and let ceni manage both eth0 and eth1 instead. Are both configured by ceni or are you just using one?
Could you share the content of /etc/network/interfaces? eth0 and or eth1 should be set to “auto”, and not hot-plug. Is that correct?When you boot, before you try to recover ethernet connection, what are the symptoms? No connection at all or the connection is made (eth0/1 show up in conky) but internet doesn’t work?
What is the output at boot-time of
sudo ifquery --list- This reply was modified 1 year, 9 months ago by Xecure.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.July 26, 2021 at 9:35 pm #63675Member
CyberGhost
::Ok when I boot up my computer I already have the ethernet cable plugged in and this is what it says when I run sudo apt update:
$ sudo apt update
[sudo] password for antixgeek:
Err:1 http://deb.debian.org/debian buster-backports InRelease
Could not resolve ‘deb.debian.org’
Err:2 http://security.debian.org buster/updates InRelease
Could not resolve ‘security.debian.org’
Err:3 http://ftp.us.debian.org/debian buster-updates InRelease
Could not resolve ‘ftp.us.debian.org’
Err:4 http://ftp.us.debian.org/debian buster InRelease
Could not resolve ‘ftp.us.debian.org’
Err:5 http://mirrors.rit.edu/mxlinux/mx-packages/antix/buster buster InRelease
Could not resolve ‘mirrors.rit.edu’
Reading package lists… Done
Building dependency tree
Reading state information… Done
All packages are up to date.
W: Failed to fetch http://mirrors.rit.edu/mxlinux/mx-packages/antix/buster/dists/buster/InRelease Could not resolve ‘mirrors.rit.edu’
W: Failed to fetch http://deb.debian.org/debian/dists/buster-backports/InRelease Could not resolve ‘deb.debian.org’
W: Failed to fetch http://ftp.us.debian.org/debian/dists/buster-updates/InRelease Could not resolve ‘ftp.us.debian.org’
W: Failed to fetch http://ftp.us.debian.org/debian/dists/buster/InRelease Could not resolve ‘ftp.us.debian.org’
W: Failed to fetch http://security.debian.org/dists/buster/updates/InRelease Could not resolve ‘security.debian.org’
W: Some index files failed to download. They have been ignored, or old ones used instead.Also when I run ceni to reconfigure the network to make it work again both the wireless and ethernet are displayed. Under my conky it shows as being connected too. I will include a screenshot of that. The eth0 is the one I have to reconfigure every time. I will have to reboot to show the output of this command you suggested: sudo ifquery –list Be back soon
Attachments:
July 26, 2021 at 9:45 pm #63677Member
CyberGhost
::this is the output of that command at initial boot time:
$ sudo ifquery –list
lo- This reply was modified 1 year, 9 months ago by CyberGhost.
July 27, 2021 at 6:36 am #63716Member
Xecure
::OK. Disable connman from startup
sudo update-rc.d connman remove
Make sure that resolvconf and networking are starting at boot timesudo update-rc.d resolvconf defaults sudo update-rc.d networking defaultsNow, open /etc/network/interfaces and make sure that eht0 is set to auto
sudo geany /etc/network/interfaces
Example:auto eth0 iface eth0 inet dhcpReboot.
Let me know how it goes.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.July 27, 2021 at 4:19 pm #63753Member
CyberGhost
::Ok I ran those commands as suggested. The sudo update-rc.d connman remove, sudo update-rc.d resolvconf defaults, and sudo update-rc.d networking defaults. This is the output of this command: sudo geany /etc/network/interfaces
#——————————————————————————
# /etc/network/interfaces
#
# interfaces(5) file used by ifup(8) and ifdown(8)
# Used by ceni but not by connman
#——————————————————————————auto lo
iface lo inet loopbackallow-hotplug eth0
iface eth0 inet dhcp``What line do I need to edit if any? Also. after doing all of that and rebooting, I still get the same errors and still have to reconfigure eth0. So I must need to edit the /etc/network/interfaces. I’m just not sure which line or text I need to edit.
- This reply was modified 1 year, 9 months ago by CyberGhost.
July 27, 2021 at 4:48 pm #63759Member
Xecure
::allow-hotplug eth0
change allow-hotplug for auto, so it looks like this:
#—————————————————————————— # /etc/network/interfaces # # interfaces(5) file used by ifup(8) and ifdown(8) # Used by ceni but not by connman #—————————————————————————— auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcpBut before restarting, edit as root /etc/default/networking and add these two lines at the end of the file:
WAIT_ONLINE_TIMEOUT=10 IFUP_TIMEOUT=10Try rebooting. It shouldn’t take too long, as we are trying to limit the timeout to 10 seconds.
Recently (in the last year or two), we have seen that some times the allow-hotplug option didn’t work at boot, needing to restart the networking service, but when using the auto option, it brings a lot of lag at boot. I suspect there is something wrong with dhcp, or the ifup/ifdown hooks are taking too long to finish.
The migration to connman is necessary at this stage (for me), as we are having problems figuring out why all this is happening. At least I am not knowledgeable enough to figure this out myself.
Let us know if switching the allow-hotplug to “auto” has helped at all.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.July 27, 2021 at 5:01 pm #63762Member
CyberGhost
::Ok I did everything you suggested and then rebooted. Its working fine now! Thank you so much! I would mark this as solved but my original post doesn’t have the option anymore. If an admin sees this please mark it as solved thanks!
- This reply was modified 1 year, 9 months ago by CyberGhost.
-
AuthorPosts
- You must be logged in to reply to this topic.
